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.
ecc570cbda
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. |
5 years ago | |
---|---|---|
.ci | 5 years ago | |
.github | 6 years ago | |
ansible_mitogen | 5 years ago | |
docs | 5 years ago | |
examples | 5 years ago | |
mitogen | 5 years ago | |
scripts | 5 years ago | |
tests | 5 years ago | |
.gitignore | 5 years ago | |
.lgtm.yml | 7 years ago | |
.travis.yml | 5 years ago | |
LICENSE | 6 years ago | |
MANIFEST.in | 6 years ago | |
README.md | 6 years ago | |
dev_requirements.txt | 6 years ago | |
preamble_size.py | 5 years ago | |
run_tests | 6 years ago | |
setup.cfg | 7 years ago | |
setup.py | 6 years ago | |
tox.ini | 6 years ago |