You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Previously given something like:
l = mitogen.core.Latch()
l.put(1)
l.put(2)
s = mitogen.select.Select([l], oneshot=False)
assert 1 == s.get(block=False)
assert 2 == s.get(block=False)
The second call would throw TimeoutError, because Select.add() only
queued the receiver/latch once if it was non-empty, rather than once for
each item as should happen.
|
6 years ago | |
|---|---|---|
| .ci | 6 years ago | |
| .github | 7 years ago | |
| ansible_mitogen | 6 years ago | |
| docs | 6 years ago | |
| examples | 6 years ago | |
| mitogen | 6 years ago | |
| scripts | 6 years ago | |
| tests | 6 years ago | |
| .gitignore | 7 years ago | |
| .lgtm.yml | 8 years ago | |
| .travis.yml | 6 years ago | |
| LICENSE | 7 years ago | |
| MANIFEST.in | 7 years ago | |
| README.md | 7 years ago | |
| dev_requirements.txt | 7 years ago | |
| preamble_size.py | 7 years ago | |
| run_tests | 7 years ago | |
| setup.cfg | 8 years ago | |
| setup.py | 7 years ago | |
| tox.ini | 7 years ago | |
