Mirror of mitogen
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.
 
 
 
Go to file
David Wilson ecc570cbda select: make Select.add() handle multiple buffered items.
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 Disable Azure pipelines build for docs-master too. 5 years ago
.github issue #574: fix ISSUE_TEMPLATE link 6 years ago
ansible_mitogen [linear2] merge fallout: re-enable _send_module_forwards(). 5 years ago
docs core: remove dead Router.on_shutdown() and Router "shutdown" signal 5 years ago
examples docs: break out install_app.py and fix API use. 5 years ago
mitogen select: make Select.add() handle multiple buffered items. 5 years ago
scripts remove unused imports flagged by lgtm 5 years ago
tests select: make Select.add() handle multiple buffered items. 5 years ago
.gitignore Add tests/ansible/.*.pid to gitignore (for ansible_mitogen/process.py) 5 years ago
.lgtm.yml compat: ignore LGTM checks on third party 7 years ago
.travis.yml issue #603: Revert "ci: update to Ansible 2.8.3" 5 years ago
LICENSE Update copyright year everywhere. 6 years ago
MANIFEST.in setup.py: include LICENSE; closes #538. 6 years ago
README.md Update README link 6 years ago
dev_requirements.txt Split dev_requirements.txt up according to test mode. 6 years ago
preamble_size.py [stream-refactor] repair preamble_size.py again 5 years ago
run_tests Allow independant control of coverage erase and reporting 6 years ago
setup.cfg Ignore another annoying flake8 message. 7 years ago
setup.py Update copyright year everywhere. 6 years ago
tox.ini Aggregate code coverage data across tox all runs 6 years ago

README.md