Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected behavior of reversed(trange(...)) #1588

Open
5 of 6 tasks
Boltzmachine opened this issue Jun 5, 2024 · 0 comments
Open
5 of 6 tasks

Unexpected behavior of reversed(trange(...)) #1588

Boltzmachine opened this issue Jun 5, 2024 · 0 comments

Comments

@Boltzmachine
Copy link

Boltzmachine commented Jun 5, 2024

  • I have marked all applicable categories:
    • exception-raising bug
    • visual output bug
  • I have visited the [source website], and in particular
    read the [known issues]
  • I have searched through the [issue tracker] for duplicates
  • I have mentioned version numbers, operating system and
    environment, where applicable:

version: 4.63.0

from tqdm import trange
next(reversed(trange(10)))

One will expect this line yields 9. However, 0 is returned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant