summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/locks.py
Commit message (Collapse)AuthorAgeFilesLines
* Also rewrote the guts of asyncio.Semaphore (patch by manipopopo).Guido van Rossum2015-09-291-16/+21
|
* asyncio: sync with githubVictor Stinner2015-07-251-1/+0
| | | | | | | | | * Fix ResourceWarning warnings in test_streams * Return True from StreamReader.eof_received() to fix http://bugs.python.org/issue24539 (but still needs a unittest). Add StreamReader.__repr__() for easy debugging. * remove unused imports * Issue #234: Drop JoinableQueue on Python 3.5+
* asyncio: Add asyncio.compat moduleVictor Stinner2015-07-251-4/+2
| | | | | Move compatibility helpers for the different Python versions to a new asyncio.compat module.
* Sync asyncio code from default branch.Yury Selivanov2015-05-131-55/+53
|
* Issue #23456: Add missing @coroutine decorators in asyncioVictor Stinner2015-03-181-0/+3
|
* Issue #22369: Change "context manager protocol" to "context management ↵Serhiy Storchaka2014-09-101-2/+2
| | | | protocol".
* Accept optional lock object in Condition ctor (tulip issue #198)Andrew Svetlov2014-07-261-3/+6
|
* asyncio: sync with Tulip, add a new asyncio.coroutines moduleVictor Stinner2014-06-281-6/+6
|
* asyncio: Locks refactor: use a separate context manager; remove ↵Guido van Rossum2014-01-261-22/+60
| | | | Semaphore._locked.
* asyncio: Don't special-case GeneratorExit in Condition.wait().Guido van Rossum2014-01-101-6/+1
|
* Shorten lines.Guido van Rossum2013-12-191-2/+2
|
* asyncio: replace our with asynchronous in docstringVictor Stinner2013-12-021-1/+1
|
* asyncio: document locksVictor Stinner2013-12-021-3/+3
|
* asyncio: Add BoundedSemaphore to export list in locks.__all__.Guido van Rossum2013-11-251-1/+1
|
* asyncio: Change bounded semaphore into a subclass, like ↵Guido van Rossum2013-11-231-17/+19
| | | | threading.[Bounded]Semaphore.
* asyncio: Make Semaphore(0) work properly.Guido van Rossum2013-11-211-2/+2
|
* asyncio: Locks improvements by Arnaud Faure: better repr(), change Conditio\Guido van Rossum2013-11-041-24/+54
| | | | n structure.
* Initial checkin of asyncio package (== Tulip, == PEP 3156).Guido van Rossum2013-10-171-0/+401