-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Exception printed when breaking out of loop #596
Labels
duplicate 🗐
Seen it before
p2-bug-warning ⚠
Visual output bad
synchronisation ⇶
Multi-thread/processing
to-fix ⌛
In progress
Comments
bars need to be closed: from tqdm import trange
with trange(100) as t:
for i in t:
break
Doesn't work: for i in trange(100):
break
|
casperdcl
added
p2-bug-warning ⚠
Visual output bad
duplicate 🗐
Seen it before
synchronisation ⇶
Multi-thread/processing
to-fix ⌛
In progress
labels
Aug 18, 2018
@casperdcl it seems python2 will cycle the tqdm when called like this for _ in trange(10):
pass So, WeakSet should be replaced by Set for python27. |
closing as duplicate of #548 |
casperdcl
added a commit
that referenced
this issue
Oct 15, 2018
- fix `str.isnumeric` #605 - fix `WeakSet` `KeyError` #548, #553, #596 -> #607 - stop `tqdm_notebook` description truncation #582 -> #599 - include `unit_scale` for `rate` #608 - add `auto` -> nowarning `autonotebook` - add better postfix numeric formatting #621 - minor refactoring #609 -> #616 - update documentation - add unit tests - fix py26 CI
casperdcl
added a commit
that referenced
this issue
Oct 15, 2018
- fix `str.isnumeric` #605 - fix `WeakSet` `KeyError` #548, #553, #596 -> #607 - stop `tqdm_notebook` description truncation #582 -> #599 - include `unit_scale` for `rate` #608 - add `auto` -> nowarning `autonotebook` - add better postfix numeric formatting #621 - minor refactoring #609 -> #616 - update documentation - add unit tests - fix py26 CI
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
duplicate 🗐
Seen it before
p2-bug-warning ⚠
Visual output bad
synchronisation ⇶
Multi-thread/processing
to-fix ⌛
In progress
read the known issues
environment, where applicable:
Version:
To reproduce:
output:
The text was updated successfully, but these errors were encountered: