Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge Tulip into Trollius | Victor Stinner | 2014-07-29 | 1 | -1/+4 |
|\ | |||||
| * | test_locks: close the temporary event loop and check the condition lock | Victor Stinner | 2014-07-29 | 1 | -1/+4 |
| | | |||||
* | | Merge Tulip into Trollius | Victor Stinner | 2014-07-29 | 1 | -79/+86 |
|\ \ | |/ |/| | |||||
| * | Merge Tulip into Trollius | Victor Stinner | 2014-06-27 | 1 | -79/+86 |
| |\ | |||||
| | * | Merge with Tulip | Victor Stinner | 2014-06-18 | 1 | -44/+16 |
| | |\ | |||||
| | * | | Replace asyncio with trollius | Victor Stinner | 2014-05-20 | 1 | -4/+4 |
| | | | | |||||
| | * | | replace 'yield' with 'yield From' | Victor Stinner | 2014-02-26 | 1 | -1/+1 |
| | | | | |||||
| | * | | Use "yield From(...)" syntax; set version to 0.2 | Victor Stinner | 2014-02-25 | 1 | -40/+40 |
| | | | | |||||
| | * | | Merge Tulip into Trollius | Victor Stinner | 2014-02-20 | 1 | -90/+97 |
| | |\ \ | |||||
| | | * \ | Merge with Tulip | Victor Stinner | 2014-01-27 | 1 | -87/+94 |
| | | |\ \ | | |/ / / | | | | | | | | | | | Add time_monotonic.time_monotonic_resolution | ||||
| | | * | | On Python 3.3+, use unittest.mock instead of mock | Victor Stinner | 2014-01-10 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Fix warnings (unclosed socket) in test_events: run the loop a little bit longer | Victor Stinner | 2014-01-09 | 1 | -32/+16 |
| | | | | | |||||
| | | * | | Fixed required loop iterations in test_locks. | schlamar | 2014-01-08 | 1 | -13/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On tulip, calling `acquire` on lock objects does not give up control to the event loop if the lock is currently released because it exits the coroutine directly with `return`. On trollius, we always give up control to the loop because `return` is not available. So to process the `raise Return` statements correctly we need one additional event loop iteration for every return in a coroutine to achieve the same results as in tulip. The calling order in `EventTests.test_wait` is slightly different than in tulip ([1, 2, 3] vs. [3, 1, 2]) due to this behavior. | ||||
| | | * | | Experimental Python 3.2 support | Victor Stinner | 2014-01-08 | 1 | -4/+4 |
| | | | | | |||||
| | | * | | Some fixes for test_locks. | schlamar | 2014-01-07 | 1 | -15/+23 |
| | | | | | |||||
| | | * | | Reimplement missing unittest.TestCase methods | Victor Stinner | 2014-01-07 | 1 | -4/+4 |
| | | | | | |||||
| | | * | | export executor errors and constants in asyncio.futures and asyncio.tasks to | Victor Stinner | 2014-01-06 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | help compatibility with Tulip. | ||||
| | | * | | Implement a synchrounous executor when concurrent.futures is missing | Victor Stinner | 2014-01-05 | 1 | -4/+4 |
| | | | | | |||||
| | | * | | Copy asyncio tests from previous tulip_py2 project | Victor Stinner | 2014-01-03 | 1 | -64/+70 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Replace unittest.mock with mock * Replace "yield from future" with "yield future" and "return value" with "raise Return(value)" in coroutines, the new "yield from" (PEP 380) was introduced in Python 3.3 * Classes inherit explicitly from object to use new-style class * Replace nonlocal keyword with an non_local dictionary * transport.write() raises a TypeError on u'unicode', not on 'str' * Remove useless "yield from []" in coroutine (incompatible with Python 2) | ||||
* | | | | | Accept optional lock object in Condition ctor (#198) | Andrew Svetlov | 2014-07-26 | 1 | -0/+12 |
|/ / / / | |||||
* | | | | Python issue 21163: Fix some "Task was destroyed but it is pending!" logs in ↵ | Victor Stinner | 2014-06-25 | 1 | -0/+1 |
| |_|/ |/| | | | | | | | | tests | ||||
* | | | Refactor tests: add a base TestCase class | Victor Stinner | 2014-06-18 | 1 | -48/+20 |
| | | | |||||
* | | | Replace "unittest.mock" with "mock" in unit tests | Victor Stinner | 2014-02-26 | 1 | -10/+10 |
|/ / | | | | | | | | | Use "from unittest import mock". It should simplify my work to merge new tests in Trollius, because Trollius uses "mock" backport for Python 2. | ||||
* | | Locks refactor: use a separate context manager; remove Semaphore._locked. | Guido van Rossum | 2014-01-25 | 1 | -0/+35 |
| | | |||||
* | | Unit tests use the main asyncio module instead of submodules like events | Victor Stinner | 2014-01-24 | 1 | -123/+120 |
|/ | |||||
* | Change bounded semaphore into a subclass, like threading.[Bounded]Semaphore. | Guido van Rossum | 2013-11-23 | 1 | -1/+1 |
| | |||||
* | Allow and correctly implement Semaphore(0). | Guido van Rossum | 2013-11-21 | 1 | -0/+4 |
| | |||||
* | Locks improvements by Arnaud Faure: better repr(), change Condition structure. | Guido van Rossum | 2013-11-03 | 1 | -1/+70 |
| | |||||
* | Rename tests from foo_test.py to test_foo.py, to match stdlib preference. | Guido van Rossum | 2013-10-14 | 1 | -0/+765 |