summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio
Commit message (Collapse)AuthorAgeFilesLines
* asyncio: Clean up formatting.Guido van Rossum2013-12-191-1/+3
|
* Close #19967: Thanks to the PEP 442, asyncio.Future can use a destructor inVictor Stinner2013-12-191-0/+2
| | | | | Python 3.4 to log "uncatched" exceptions, instead of the dedicated _TracebackLogger class.
* Shorten lines.Guido van Rossum2013-12-191-1/+2
|
* Skip some tests that require server name indication (SNI)Christian Heimes2013-12-151-0/+6
|
* Issue #19952: test_asyncio: relax timings of Windows events, buildbots areVictor Stinner2013-12-131-2/+2
| | | | sometimes busy
* Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-081-1/+1
|
* copy 'n paste typo (thx Antoine)Christian Heimes2013-12-061-5/+5
|
* Skip new SSL tests with IocpEventLoopChristian Heimes2013-12-061-0/+9
|
* asyncio: Add Task.current_task() class method.Guido van Rossum2013-12-061-0/+36
|
* Issue #19509: Finish implementation of check_hostnameChristian Heimes2013-12-057-46/+305
| | | | The new asyncio package now supports the new feature and comes with additional tests for SSL.
* asyncio: Write flow control for proactor event loop.Guido van Rossum2013-12-041-7/+7
|
* asyncio: Improve default writelines().Guido van Rossum2013-12-031-2/+8
|
* asyncio: Change write buffer use to avoid O(N**2). Make write()/sendto() ↵Guido van Rossum2013-11-271-47/+156
| | | | accept bytearray/memoryview too. Change some asserts with proper exceptions.
* asyncio: Fix get_event_loop() to call set_event_loop() when setting the ↵Guido van Rossum2013-11-271-0/+16
| | | | loop. By Anthony Baire.
* asyncio: Hopeful fix for issue 19765.Guido van Rossum2013-11-251-0/+1
|
* asyncio: Change mock pipe to mock socket. Hope to fix issue 19750.Guido van Rossum2013-11-251-1/+1
|
* asyncio: Change bounded semaphore into a subclass, like ↵Guido van Rossum2013-11-231-1/+1
| | | | threading.[Bounded]Semaphore.
* asyncio: Use socketpair() from test_utils in tests (Saúl Ibarra Corretgé).Guido van Rossum2013-11-231-1/+1
|
* Relax timing even more, hopefully again fixes issue 19579.Guido van Rossum2013-11-231-1/+1
|
* asyncio: Pass cancellation from wrapping Future to wrapped Future. By Saúl ↵Guido van Rossum2013-11-221-0/+18
| | | | Ibarra Corretgé (mostly).
* asyncio: Make Semaphore(0) work properly.Guido van Rossum2013-11-211-0/+4
|
* asyncio: Add streams.start_server(), by Gustavo Carneiro.Guido van Rossum2013-11-191-0/+66
|
* Relax timing on test_asyncio for busy (slow) Windows buildbotsVictor Stinner2013-11-181-1/+1
| | | | | | | | | | | | 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
* Skip test_asyncio if concurrent.futures can't be imported. Hopeful fix for ↵Guido van Rossum2013-11-181-5/+5
| | | | issue 19645.
* asyncio: Replace connection_refused() with error_received().Guido van Rossum2013-11-163-13/+26
|
* asyncio: Longer timeout in Windows test_popen. Fixes issue 19598.Guido van Rossum2013-11-151-1/+2
|
* asyncio: Refactor waitpid mocks. Patch by Anthony Baire.Guido van Rossum2013-11-151-249/+186
|
* Issue #19589: Use specific asserts in asyncio tests.Serhiy Storchaka2013-11-143-10/+12
|
* asyncio: Avoid ResourceWarning. Fix issue 19580 by Vajrasky Kok.Guido van Rossum2013-11-141-4/+18
|
* asyncio: Relax timing requirement. Fixes issue 19579.Guido van Rossum2013-11-141-2/+2
|
* asyncio: Fix from Anthony Baire for CPython issue 19566 (replaces earlier fix).Guido van Rossum2013-11-132-14/+19
|
* Remove redundant test_selectors.py from test_asyncio.Guido van Rossum2013-11-072-150/+0
|
* asyncio: Add close() back to Unix selector event loop, to remove all signal ↵Guido van Rossum2013-11-071-0/+16
| | | | handlers. Should fix buildbot issues.
* asyncio: Refactor SIGCHLD handling. By Anthony Baire.Guido van Rossum2013-11-042-130/+901
|
* asyncio: Locks improvements by Arnaud Faure: better repr(), change Conditio\Guido van Rossum2013-11-041-1/+70
| | | | n structure.
* Relax test for process return code on Windows.Richard Oudkerk2013-11-021-2/+2
|
* asyncio: Slight rearrangement of tests for server_hostname=...Guido van Rossum2013-11-011-3/+4
|
* asyncio: Better-looking errors when ssl module cannot be imported. In part ↵Guido van Rossum2013-11-011-0/+20
| | | | by Arnaud Faure.
* asyncio: Various style nits.Guido van Rossum2013-11-013-12/+21
|
* asyncio: Document EventLoop.close().Guido van Rossum2013-11-011-0/+2
|
* asyncio: Refactor ssl transport ready loop (Nikolay Kim).Guido van Rossum2013-11-011-51/+83
|
* asyncio: Add server_hostname as create_connection() argument, with secure ↵Guido van Rossum2013-11-011-0/+54
| | | | default.
* asyncio: Pause accepting whenever accept() returns certain errors. Fixes ↵Guido van Rossum2013-11-011-2/+11
| | | | asyncio issue #78.
* asyncio: Add support for running subprocesses on Windows with the IOCP event ↵Guido van Rossum2013-10-302-40/+71
| | | | loop (Richard Oudkerk).
* asyncio: Make the IOCP proactor support "waitable" handles (Richard Oudkerk).Guido van Rossum2013-10-301-0/+40
|
* Fix asyncio issue #19293 (hangs on AIX).Guido van Rossum2013-10-221-8/+4
|
* Unsilence several asyncio AIX tests that no longer hang, and silence a new hang.Guido van Rossum2013-10-221-12/+3
|
* Switch subprocess stdin to a socketpair, attempting to fix issue #19293 (AIX ↵Guido van Rossum2013-10-221-0/+7
| | | | hang).
* Avoid test_asyncio hang on AIX.Guido van Rossum2013-10-221-0/+3
|
* asyncio: be more lenient if we don't understand status returned by waitpid().Guido van Rossum2013-10-211-1/+1
| | | | | This should have no effect, it's a "shouldn't happe" case. Also tidied up some comments.