465b057 | Zachary Ware | 17 January 2015, 14:50:42 UTC | Closes #23256: Avoid a crash in test_ctypes Only happened with oddly capitalized debug executables on Windows. Patch by Claudiu Popa. | 17 January 2015, 14:50:42 UTC |
bd34162 | Benjamin Peterson | 17 January 2015, 01:43:55 UTC | capitialize "HttpOnly" and "Secure" as they appear in the standard and other impls (closes #23250) Patch by Jon Dufresne. | 17 January 2015, 01:43:55 UTC |
f716d8b | Victor Stinner | 15 January 2015, 21:52:59 UTC | Issue #22685: Fix test_pause_reading() of asyncio/test_subprocess Override the connect_read_pipe() method of the loop to mock immediatly pause_reading() and resume_reading() methods. The test failed randomly on FreeBSD 9 buildbot and on Windows using trollius. | 15 January 2015, 21:52:59 UTC |
406204c | Victor Stinner | 15 January 2015, 20:50:19 UTC | Backout changeset 6ab2575bc12b StreamWriter: close() now clears the reference to the transport StreamWriter now raises an exception if it is closed: write(), writelines(), write_eof(), can_write_eof(), get_extra_info(), drain(). | 15 January 2015, 20:50:19 UTC |
cbd3bd5 | Steve Dower | 15 January 2015, 17:16:38 UTC | Closes #23160: Respect the environment variable SVNROOT in external-common.bat (patch by anselm.kruis) | 15 January 2015, 17:16:38 UTC |
922bc2c | Victor Stinner | 15 January 2015, 15:29:10 UTC | Closes #23219: cancelling asyncio.wait_for() now cancels the task | 15 January 2015, 15:29:10 UTC |
ab8848b | Victor Stinner | 15 January 2015, 13:24:55 UTC | asyncio: Close transports in tests * Use test_utils.run_briefly() to execute pending calls to really close transports * sslproto: mock also _SSLPipe.shutdown(), it's need to close the transport * pipe test: the test doesn't close explicitly the PipeHandle, so ignore the warning instead * test_popen: use the context manager ("with p:") to explicitly close pipes | 15 January 2015, 13:24:55 UTC |
4bf22e0 | Victor Stinner | 15 January 2015, 13:24:22 UTC | asyncio: Close the transport on subprocess creation failure | 15 January 2015, 13:24:22 UTC |
fcd58de | Victor Stinner | 15 January 2015, 12:40:27 UTC | asyncio: Fix _ProactorBasePipeTransport.close() Set the _read_fut attribute to None after cancelling it. This change should fix a race condition with _ProactorWritePipeTransport._pipe_closed(). | 15 January 2015, 12:40:27 UTC |
79c93ba | Victor Stinner | 15 January 2015, 12:32:28 UTC | asyncio: Fix _ProactorBasePipeTransport.__repr__() Check if the _sock attribute is None to check if the transport is closed. | 15 January 2015, 12:32:28 UTC |
02392c9 | Victor Stinner | 15 January 2015, 12:18:32 UTC | Issue #23243: Close explicitly transports in asyncio tests | 15 January 2015, 12:18:32 UTC |
33cb039 | Victor Stinner | 15 January 2015, 12:17:34 UTC | Issue #23243: Close explicitly event loops in asyncio tests | 15 January 2015, 12:17:34 UTC |
41ed958 | Victor Stinner | 15 January 2015, 12:16:50 UTC | Issue #23243: Fix asyncio._UnixWritePipeTransport.close() Do nothing if the transport is already closed. Before it was not possible to close the transport twice. | 15 January 2015, 12:16:50 UTC |
7e222f4 | Victor Stinner | 15 January 2015, 12:16:27 UTC | SSLProtocol: set the _transport attribute in the constructor | 15 January 2015, 12:16:27 UTC |
791009b | Victor Stinner | 15 January 2015, 12:16:02 UTC | Issue #23242: asyncio.SubprocessStreamProtocol now closes the subprocess transport at subprocess exit. Clear also its reference to the transport. | 15 January 2015, 12:16:02 UTC |
72bdefb | Victor Stinner | 15 January 2015, 08:44:13 UTC | Issue #22560: Fix typo: call -> call_soon | 15 January 2015, 08:44:13 UTC |
042dad7 | Victor Stinner | 15 January 2015, 08:41:48 UTC | Issue #22560: Fix SSLProtocol._on_handshake_complete() Don't call immediatly self._process_write_backlog() but schedule the call using call_soon(). _on_handshake_complete() can be called indirectly from _process_write_backlog(), and _process_write_backlog() is not reentrant. | 15 January 2015, 08:41:48 UTC |
e7a3571 | Victor Stinner | 15 January 2015, 08:33:50 UTC | StreamWriter: close() now clears the reference to the transport StreamWriter now raises an exception if it is closed: write(), writelines(), write_eof(), can_write_eof(), get_extra_info(), drain(). | 15 January 2015, 08:33:50 UTC |
caa12da | Georg Brandl | 15 January 2015, 07:16:01 UTC | Closes #23244: fix typo. Thanks Mayank Tripathi for the patch. | 15 January 2015, 07:16:01 UTC |
8a12329 | Ethan Furman | 15 January 2015, 06:31:50 UTC | Issue22997: minor doc update; thanks to Simoen Visser | 15 January 2015, 06:31:50 UTC |
2f825af | Ethan Furman | 15 January 2015, 06:25:27 UTC | Issue22988: clarify yield and exception blocks | 15 January 2015, 06:25:27 UTC |
845d33c | Ethan Furman | 15 January 2015, 05:56:49 UTC | Issue20467: clarify __init__'s role | 15 January 2015, 05:56:49 UTC |
119479f | Ethan Furman | 15 January 2015, 05:56:10 UTC | Issue20467: clarify __init__'s role | 15 January 2015, 05:56:10 UTC |
562b7cb | Benjamin Peterson | 15 January 2015, 04:56:35 UTC | fix parsing reST with code or code-block directives (closes #23063) Patch by Marc Abramowitz. | 15 January 2015, 04:56:35 UTC |
29ad011 | Victor Stinner | 14 January 2015, 23:04:21 UTC | asyncio: sync with Tulip * PipeHandle now uses None instead of -1 for a closed handle * Sort imports in windows_utils. * Fix test_events on Python older than 3.5. Skip SSL tests on the ProactorEventLoop if ssl.MemoryIO is missing * Fix BaseEventLoop._create_connection_transport(). Close the transport if the creation of the transport (if the waiter) gets an exception. * _ProactorBasePipeTransport now sets _sock to None when the transport is closed. * Fix BaseSubprocessTransport.close(). Ignore pipes for which the protocol is not set yet (still equal to None). * TestLoop.close() now calls the close() method of the parent class (BaseEventLoop). * Cleanup BaseSelectorEventLoop: create the protocol on a separated line for readability and ease debugging. * Fix BaseSubprocessTransport._kill_wait(). Set the _returncode attribute, so close() doesn't try to terminate the process. * Tests: explicitly close event loops and transports * UNIX pipe transports: add closed/closing in repr(). Add "closed" or "closing" state in the __repr__() method of _UnixReadPipeTransport and _UnixWritePipeTransport classes. | 14 January 2015, 23:04:21 UTC |
b92626d | Victor Stinner | 14 January 2015, 16:13:28 UTC | Issue #23197: On SSL handshake failure on matching hostname, check if the waiter is cancelled before setting its exception. | 14 January 2015, 16:13:28 UTC |
177e9f0 | Victor Stinner | 14 January 2015, 15:56:20 UTC | Issue #23197, asyncio: On SSL handshake failure, check if the waiter is cancelled before setting its exception. * Add unit tests for this case. * Cleanup also sslproto.py | 14 January 2015, 15:56:20 UTC |
f651a60 | Victor Stinner | 14 January 2015, 01:10:33 UTC | Python issue #23173: sync with Tulip * If an exception is raised during the creation of a subprocess, kill the subprocess (close pipes, kill and read the return status). Log an error in such case. * Fix SubprocessStreamProtocol.connection_made() to handle cancelled waiter. Add unit test cancelling subprocess methods. | 14 January 2015, 01:10:33 UTC |
c2c12e4 | Victor Stinner | 13 January 2015, 23:53:37 UTC | Issue #23198: Reactor asyncio.StreamReader - Add a new _wakeup_waiter() method - Replace _create_waiter() method with a _wait_for_data() coroutine function - Use the value None instead of True or False to wake up the waiter | 13 January 2015, 23:53:37 UTC |
231b404 | Victor Stinner | 13 January 2015, 23:19:09 UTC | Issue #22560: New SSL implementation based on ssl.MemoryBIO The new SSL implementation is based on the new ssl.MemoryBIO which is only available on Python 3.5. On Python 3.4 and older, the legacy SSL implementation (using SSL_write, SSL_read, etc.) is used. The proactor event loop only supports the new implementation. The new asyncio.sslproto module adds _SSLPipe, SSLProtocol and _SSLProtocolTransport classes. _SSLPipe allows to "wrap" or "unwrap" a socket (switch between cleartext and SSL/TLS). Patch written by Antoine Pitrou. sslproto.py is based on gruvi/ssl.py of the gruvi project written by Geert Jansen. This change adds SSL support to ProactorEventLoop on Python 3.5 and newer! It becomes also possible to implement STARTTTLS: switch a cleartext socket to SSL. | 13 January 2015, 23:19:09 UTC |
9036e49 | Victor Stinner | 13 January 2015, 15:13:06 UTC | Tulip issue 184: Fix test_pipe() on Windows Pass explicitly the event loop to StreamReaderProtocol. | 13 January 2015, 15:13:06 UTC |
b86a968 | Victor Stinner | 13 January 2015, 15:11:19 UTC | Issue #22922: Fix ProactorEventLoop.close() Close the IocpProactor before closing the event loop. IocpProactor.close() can call loop.call_soon(), which is forbidden when the event loop is closed. | 13 January 2015, 15:11:19 UTC |
82f34ad | Benjamin Peterson | 13 January 2015, 14:17:24 UTC | fix instances of consecutive articles (closes #23221) Patch by Karan Goel. | 13 January 2015, 14:17:24 UTC |
38dc250 | Victor Stinner | 13 January 2015, 08:58:33 UTC | Issue #23209, #23225: selectors.BaseSelector.close() now clears its internal reference to the selector mapping to break a reference cycle. Initial patch written by Martin Richard. | 13 January 2015, 08:58:33 UTC |
d9fe22c | Donald Stufft | 11 January 2015, 20:51:11 UTC | Update setuptools to 11.3.1 | 11 January 2015, 20:51:11 UTC |
73dd030 | Antoine Pitrou | 11 January 2015, 14:05:29 UTC | Issue #22952: improve multiprocessing doc introduction and defer notes until appropriate. Patch by Davin Potts. | 11 January 2015, 14:05:29 UTC |
dfe0b23 | Mark Dickinson | 11 January 2015, 13:08:05 UTC | Issue #21902: Replace incorrect 'hyperbolic arc sine' (etc.) with 'inverse hyperbolic sine' (etc.). Remove meaningless reference to radians. | 11 January 2015, 13:08:05 UTC |
bcf8554 | Benjamin Peterson | 09 January 2015, 22:40:23 UTC | remove buzzword (closes #23210) | 09 January 2015, 22:40:23 UTC |
54362ca | Ned Deily | 09 January 2015, 21:30:11 UTC | Issue #23212: 3.4-specific OS X installer updates | 09 January 2015, 21:30:11 UTC |
97ad46b | Ned Deily | 09 January 2015, 21:29:54 UTC | Issue #23212: Update OS X installer build OpenSSL to 1.0.1k. (currently only used for builds with <= 10.5 deployment targets) | 09 January 2015, 21:29:54 UTC |
686fe6e | Victor Stinner | 09 January 2015, 20:56:28 UTC | Issue #23209: Revert change on selectors, test_selectors failed. | 09 January 2015, 20:56:28 UTC |
587feb1 | Victor Stinner | 09 January 2015, 20:34:27 UTC | Issue #23209: Break some reference cycles in asyncio. Patch written by Martin Richard. | 09 January 2015, 20:34:27 UTC |
70db9e4 | Victor Stinner | 09 January 2015, 20:32:05 UTC | asyncio: sync with Tulip * Tulip issue 184: FlowControlMixin constructor now get the event loop if the loop parameter is not set. Add unit tests to ensure that constructor of StreamReader and StreamReaderProtocol classes get the event loop. * Remove outdated TODO/XXX | 09 January 2015, 20:32:05 UTC |
7eb1031 | Victor Stinner | 09 January 2015, 14:59:44 UTC | asyncio: SelectSelector is limited to 512 sockets on Windows | 09 January 2015, 14:59:44 UTC |
a092a61 | Victor Stinner | 09 January 2015, 14:58:41 UTC | asyncio doc: fix section of event loop examples | 09 January 2015, 14:58:41 UTC |
3531d90 | Victor Stinner | 09 January 2015, 00:42:52 UTC | asyncio: sync with Tulip * Document why set_result() calls are safe * Cleanup gather(). Use public methods instead of hacks to consume the exception of a future. * sock_connect(): pass directly the fd to _sock_connect_done instead of the socket. | 09 January 2015, 00:42:52 UTC |
399c59d | Victor Stinner | 09 January 2015, 00:32:02 UTC | asyncio doc: list limitations to run subprocesses from different threads | 09 January 2015, 00:32:02 UTC |
15cc678 | Victor Stinner | 08 January 2015, 23:09:10 UTC | asyncio: Truncate to 80 columns | 08 January 2015, 23:09:10 UTC |
8d9c145 | Victor Stinner | 08 January 2015, 11:06:36 UTC | asyncio: _make_ssl_transport: make the waiter parameter optional | 08 January 2015, 11:06:36 UTC |
84d64a9 | Terry Jan Reedy | 08 January 2015, 04:48:46 UTC | Issue #23184: delete unused idlelib file. | 08 January 2015, 04:48:46 UTC |
283f1aa | Berker Peksag | 07 January 2015, 19:15:02 UTC | Issue #20487: Clarify meaning of "side effect" in the magic mock documentation. Patch by A.M. Kuchling. | 07 January 2015, 19:15:02 UTC |
b9fdb7a | Nick Coghlan | 06 January 2015, 14:22:00 UTC | Issue 19548: update codecs module documentation - clarified the distinction between text encodings and other codecs - clarified relationship with builtin open and the io module - consolidated documentation of error handlers into one section - clarified type constraints of some behaviours - added tests for some of the new statements in the docs | 06 January 2015, 14:22:00 UTC |
fcfed19 | Victor Stinner | 06 January 2015, 12:54:58 UTC | Issue #21356: Make ssl.RAND_egd() optional to support LibreSSL. The availability of the function is checked during the compilation. Patch written by Bernard Spil. | 06 January 2015, 12:54:58 UTC |
9d01717 | Victor Stinner | 06 January 2015, 11:21:26 UTC | Issue #20896, #22935: The ssl.get_server_certificate() function now uses the ssl.PROTOCOL_SSLv23 protocol by default, not ssl.PROTOCOL_SSLv3, for maximum compatibility and support platforms where ssl.PROTOCOL_SSLv3 support is disabled. | 06 January 2015, 11:21:26 UTC |
5819cfa | Zachary Ware | 06 January 2015, 06:40:43 UTC | Cosmetic fixes to the 'Develop with asyncio' page | 06 January 2015, 06:40:43 UTC |
0603d30 | Raymond Hettinger | 06 January 2015, 05:52:10 UTC | Issue #23132: Mitigate regression in speed and clarity in functools.total_ordering. | 06 January 2015, 05:52:10 UTC |
212994e | Victor Stinner | 06 January 2015, 00:22:45 UTC | Issue #23140, asyncio: Simplify the unit test | 06 January 2015, 00:22:45 UTC |
c447ba0 | Victor Stinner | 06 January 2015, 00:13:49 UTC | Issue #23140, asyncio: Fix cancellation of Process.wait(). Check the state of the waiter future before setting its result. | 06 January 2015, 00:13:49 UTC |
8c1a4a2 | Victor Stinner | 06 January 2015, 00:03:58 UTC | Issue #23046: Expose the BaseEventLoop class in the asyncio namespace | 06 January 2015, 00:03:58 UTC |
63b5558 | Benjamin Peterson | 05 January 2015, 20:38:46 UTC | emphasize that cffi is better than extension modules for portability | 05 January 2015, 20:38:46 UTC |
1418320 | Ned Deily | 05 January 2015, 09:02:30 UTC | Issue #22165: Skip test_undecodable_filename on OS X prior to 10.5. 10.4 systems do not allow creation of files with such filenames. | 05 January 2015, 09:02:30 UTC |
d91082c | Berker Peksag | 05 January 2015, 07:19:40 UTC | Issue #18644: Fix a ResourceWarning in formatter.test(). Patch by Vajrasky Kok. | 05 January 2015, 07:19:40 UTC |
b461000 | Benjamin Peterson | 04 January 2015, 22:29:48 UTC | the current marshal version is 4 (closes #23167) Patch by Dmitry Kazakov. | 04 January 2015, 22:29:48 UTC |
10ecaa2 | Benjamin Peterson | 04 January 2015, 22:05:39 UTC | merge 3.3 (closes #23165) | 04 January 2015, 22:05:39 UTC |
72c2a0f | Benjamin Peterson | 04 January 2015, 22:03:59 UTC | merge 3.2 (closes #23165) | 04 January 2015, 22:03:59 UTC |
f18bf6f | Benjamin Peterson | 04 January 2015, 22:03:17 UTC | add some overflow checks before multiplying (closes #23165) | 04 January 2015, 22:03:17 UTC |
5719ef1 | Gregory P. Smith | 04 January 2015, 08:36:04 UTC | fix issue23157 - time_hashlib hadn't been ported to Python 3. | 04 January 2015, 08:36:04 UTC |
b8f35ff | Donald Stufft | 03 January 2015, 10:20:23 UTC | Upgrade the bundled pip to 6.0.6 and the bundled setuptools to 11.0 | 03 January 2015, 10:20:23 UTC |
4592497 | Ned Deily | 03 January 2015, 08:45:55 UTC | Add missing URL link to Modernize docs. | 03 January 2015, 08:45:55 UTC |
4705235 | Ned Deily | 01 January 2015, 00:30:26 UTC | Update copyright dates in OS X installer. | 01 January 2015, 00:30:26 UTC |
a453749 | Benjamin Peterson | 01 January 2015, 00:11:22 UTC | merge 3.3 | 01 January 2015, 00:11:22 UTC |
7919acb | Benjamin Peterson | 01 January 2015, 00:10:13 UTC | merge 3.2 | 01 January 2015, 00:10:13 UTC |
47e782a | Benjamin Peterson | 01 January 2015, 00:09:36 UTC | update for copyright for 2015 | 01 January 2015, 00:09:36 UTC |
bab69bf | Benjamin Peterson | 30 December 2014, 21:17:03 UTC | update docs for #23111 | 30 December 2014, 21:17:03 UTC |
36fe792 | Benjamin Peterson | 30 December 2014, 21:15:43 UTC | make PROTOCOL_SSLv23 the default protocol version for ftplib (closes #23111) | 30 December 2014, 21:15:43 UTC |
3cd1af5 | Benjamin Peterson | 30 December 2014, 16:09:17 UTC | merge 3.3 (#23130) | 30 December 2014, 16:09:17 UTC |
9582b33 | Benjamin Peterson | 30 December 2014, 16:08:52 UTC | merge 3.2 (#23130) | 30 December 2014, 16:08:52 UTC |
44e4b98 | Benjamin Peterson | 30 December 2014, 16:08:16 UTC | delete old ftpmirror script, which now has security bugs (closes #23130) | 30 December 2014, 16:08:16 UTC |
5feeeba | Benjamin Peterson | 29 December 2014, 04:14:15 UTC | use a proper m-dash | 29 December 2014, 04:14:15 UTC |
a1a1409 | Berker Peksag | 28 December 2014, 16:48:33 UTC | Issue #23125: Update nose project page link. Reported by Damien Marié. | 28 December 2014, 16:48:33 UTC |
956de69 | Victor Stinner | 26 December 2014, 20:07:52 UTC | Issue #22926: In debug mode, call_soon(), call_at() and call_later() methods of asyncio.BaseEventLoop now use the identifier of the current thread to ensure that they are called from the thread running the event loop. Before, the get_event_loop() method was used to check the thread, and no exception was raised when the thread had no event loop. Now the methods always raise an exception in debug mode when called from the wrong thread. It should help to notice misusage of the API. | 26 December 2014, 20:07:52 UTC |
d7ff5a5 | Victor Stinner | 26 December 2014, 20:16:42 UTC | asyncio: sync with Tulip * Fix pyflakes warnings: remove unused imports and variables * asyncio.test_support now uses test.support and test.script_helper if available | 26 December 2014, 20:16:42 UTC |
fe02e39 | Victor Stinner | 21 December 2014, 00:16:38 UTC | Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(), instead of reading /dev/urandom, to get pseudo-random bytes. | 21 December 2014, 00:16:38 UTC |
94cb7a2 | Benjamin Peterson | 26 December 2014, 16:53:43 UTC | fix behavior of trailing slash redirection when a query string is involved (closes #23112) | 26 December 2014, 16:53:43 UTC |
8c4e112 | R David Murray | 25 December 2014, 02:23:18 UTC | #23040: Clarify treatment of encoding and errors when component is bytes. Patch by Wojtek Ruszczewski. | 25 December 2014, 02:23:18 UTC |
a54f075 | Benjamin Peterson | 24 December 2014, 22:07:02 UTC | update correct French examples (#23109) | 24 December 2014, 22:07:02 UTC |
643eb44 | Benjamin Peterson | 24 December 2014, 19:58:05 UTC | improve incorrect French (#23109) Following suggestions from Clément. | 24 December 2014, 19:58:05 UTC |
b33bb89 | Benjamin Peterson | 24 December 2014, 16:49:11 UTC | doucment that Py_SetPath copies its argument (closes #23110) | 24 December 2014, 16:49:11 UTC |
c8d94ba | Donald Stufft | 23 December 2014, 14:18:38 UTC | Upgrade pip to 6.0.2 and setuptools to 8.2.1 | 23 December 2014, 14:18:38 UTC |
952ec98 | Victor Stinner | 22 December 2014, 21:09:50 UTC | asyncio doc: update also Queue docstrings | 22 December 2014, 21:09:50 UTC |
4f9b773 | Victor Stinner | 22 December 2014, 21:07:06 UTC | asyncio doc: Fix doc of get and put methods of Queue | 22 December 2014, 21:07:06 UTC |
10e76b6 | Benjamin Peterson | 22 December 2014, 02:51:50 UTC | allow more operations to work on detached streams (closes #23093) Patch by Martin Panter. | 22 December 2014, 02:51:50 UTC |
fe3dc37 | Serhiy Storchaka | 20 December 2014, 18:57:15 UTC | Issue #19104: pprint now produces evaluable output for wrapped strings. | 20 December 2014, 18:57:15 UTC |
f65d1d3 | Serhiy Storchaka | 20 December 2014, 16:53:01 UTC | Issue #23071: "namereplace_errors" was added only in 3.5. | 20 December 2014, 16:53:01 UTC |
de3ee5b | Serhiy Storchaka | 20 December 2014, 15:42:38 UTC | Issue #23071: Added missing names to codecs.__all__. Patch by Martin Panter. | 20 December 2014, 15:42:38 UTC |
a62b96b | Barry Warsaw | 19 December 2014, 16:21:35 UTC | Fix typo. | 19 December 2014, 16:21:35 UTC |
904c481 | Barry Warsaw | 19 December 2014, 16:20:00 UTC | Fix typo. | 19 December 2014, 16:20:00 UTC |
4d825b4 | Victor Stinner | 19 December 2014, 16:10:44 UTC | asyncio: IocpProactor.wait_for_handle() test now also checks the result of the future | 19 December 2014, 16:10:44 UTC |
1b9763d | Victor Stinner | 18 December 2014, 22:47:27 UTC | asyncio: sync with Tulip * Fix a race condition in BaseSubprocessTransport._try_finish(). If the process exited before the _post_init() method was called, scheduling the call to _call_connection_lost() with call_soon() is wrong: connection_made() must be called before connection_lost(). Reuse the BaseSubprocessTransport._call() method to schedule the call to _call_connection_lost() to ensure that connection_made() and connection_lost() are called in the correct order. * Add repr(PipeHandle) * Fix typo | 18 December 2014, 22:47:27 UTC |
dc7765d | Victor Stinner | 18 December 2014, 11:29:53 UTC | asyncio: sync with Tulip | 18 December 2014, 11:29:53 UTC |