Victor Stinner
8dffc456d7
Update asyncio from the Tulip project
...
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
2014-01-25 15:32:06 +01:00
Victor Stinner
5e42354263
Fix ResourceWarning in test_asyncio.test_windows_events:
...
close the write end of the socket pair
2014-01-11 00:16:50 +01:00
Victor Stinner
24bd028092
Issue #19952 : test_asyncio: relax timings of Windows events, buildbots are
...
sometimes busy
2013-12-13 02:45:18 +01:00
Victor Stinner
e3010fd740
Relax timing on test_asyncio for busy (slow) Windows buildbots
...
http://buildbot.python.org/all/builders/AMD64%20Windows%20Server%202008%20%5BSB%5D%203.x/builds/1649/steps/test/logs/stdio
======================================================================
FAIL: test_wait_for_handle (test.test_asyncio.test_windows_events.ProactorTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "E:\home\cpython\buildslave\x64\3.x.snakebite-win2k8r2sp1-amd64\build\lib\test\test_asyncio\test_windows_events.py", line 112, in test_wait_for_handle
self.assertTrue(0.18 < elapsed < 0.22, elapsed)
AssertionError: False is not true : 0.25
2013-11-18 11:05:22 +01:00
Guido van Rossum
a8d630a6e6
asyncio: Various style nits.
2013-11-01 14:20:55 -07:00
Guido van Rossum
90fb914b4b
asyncio: Make the IOCP proactor support "waitable" handles (Richard Oudkerk).
2013-10-30 14:44:05 -07:00
Antoine Pitrou
cb1fe98f76
Make various asyncio test files individually runnable
2013-10-20 21:02:53 +02:00
Guido van Rossum
27b7c7ebf1
Initial checkin of asyncio package (== Tulip, == PEP 3156).
2013-10-17 13:40:50 -07:00