summaryrefslogtreecommitdiff
path: root/asyncio/locks.py
Commit message (Collapse)AuthorAgeFilesLines
* Python issue #22369: Change "context manager protocol" to "context ↵Victor Stinner2014-09-171-2/+2
| | | | | | management protocol". Patch written by Serhiy Storchaka <storchaka@gmail.com>.
* Accept optional lock object in Condition ctor (#198)Andrew Svetlov2014-07-261-3/+6
|
* Move coroutine code in the new module asyncio.coroutinesVictor Stinner2014-06-291-6/+6
|
* Fix whitespace.Guido van Rossum2014-01-251-1/+1
|
* Locks refactor: use a separate context manager; remove Semaphore._locked.Guido van Rossum2014-01-251-22/+60
|
* Don't special-case GeneratorExit in Condition.wait().Guido van Rossum2014-01-071-6/+1
| | | | | | | | | | | | I can't remember why I added that code, there are no tests for it, and it causes a spurious "Exception ignored in <generator object ...>" error message if code like this is interrupted during the wait(): @coroutine def gen(): with (yield from cond): while <test>: yield from cond.wait()
* Shorten lines.Guido van Rossum2013-12-191-2/+2
|
* Upstream tweaks to locks docs.Guido van Rossum2013-12-021-4/+4
|
* Add BoundedSemaphore to export list in locks.__all__.Guido van Rossum2013-11-241-1/+1
|
* Change bounded semaphore into a subclass, like threading.[Bounded]Semaphore.Guido van Rossum2013-11-231-17/+19
|
* Allow and correctly implement Semaphore(0).Guido van Rossum2013-11-211-2/+2
|
* Locks improvements by Arnaud Faure: better repr(), change Condition structure.Guido van Rossum2013-11-031-24/+54
|
* Rename tulip package to asyncio.Guido van Rossum2013-10-141-0/+401