summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_queues.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #28613: Fix get_event_loop() to return the current loopYury Selivanov2016-11-041-0/+1
| | | | when called from coroutines or callbacks.
* Issue #25233: Rewrite the guts of Queue to be more understandable and correct.Guido van Rossum2015-09-281-7/+48
|
* Issue #23812: Fix getter-cancellation with many pending getters code pathYury Selivanov2015-08-061-1/+36
|
* Issue #23812: Fix asyncio.Queue.get() to avoid loosing items on cancellation.Yury Selivanov2015-08-051-1/+60
| | | | Patch by Gustavo J. A. M. Carneiro.
* Fix asyncio issue 235: Queue subclass bug caused by JoinableQueue merge.Guido van Rossum2015-04-201-5/+19
|
* asyncio, Tulip issue 220: Merge JoinableQueue with Queue.Victor Stinner2015-02-171-5/+5
| | | | | | | | | | | | | | Merge JoinableQueue with Queue. To more closely match the standard Queue, asyncio.Queue has "join" and "task_done". JoinableQueue is deleted. Docstring for Queue.join shouldn't mention threads. Restore JoinableQueue as a deprecated alias for Queue. To more closely match the standard Queue, asyncio.Queue has "join" and "task_done". JoinableQueue remains as a deprecated alias for Queue to avoid needlessly breaking too much code that depended on it. Patch written by A. Jesse Jiryu Davis <jesse@mongodb.com>.
* Issue #21163, asyncio: Fix some "Task was destroyed but it is pending!" logs ↵Victor Stinner2014-06-251-10/+17
| | | | in tests
* asyncio: Refactor tests: add a base TestCase classVictor Stinner2014-06-171-22/+10
|
* Issue #21723: asyncio.Queue: support any type of number (ex: float) for theVictor Stinner2014-06-171-0/+15
| | | | maximum size. Patch written by Vajrasky Kok.
* asyncio: Replace "unittest.mock" with "mock" in unit testsVictor Stinner2014-02-261-2/+2
| | | | | Use "from unittest import mock". It should simplify my work to merge new tests in Trollius, because Trollius uses "mock" backport for Python 2.
* asyncio: Rename {Empty,Full} to {QueueEmpty,QueueFull} and no longer get ↵Guido van Rossum2014-01-261-2/+2
| | | | them from queue.py.
* Update asyncio from the Tulip projectVictor Stinner2014-01-251-85/+81
| | | | | | | | | | | | | | | | Major changes: - StreamReader.readexactly() now raises an IncompleteReadError if the end of stream is reached before we received enough bytes, instead of returning less bytes than requested. - Unit tests use the main asyncio module instead of submodules like events - _UnixWritePipeTransport now also supports character devices, as _UnixReadPipeTransport. Patch written by Jonathan Slenders. - Export more symbols: BaseEventLoop, BaseProactorEventLoop, BaseSelectorEventLoop, Queue and Queue sublasses, Empty, Full
* Initial checkin of asyncio package (== Tulip, == PEP 3156).Guido van Rossum2013-10-171-0/+470