Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Closes #23234: Refactor subprocess | Victor Stinner | 2015-01-14 | 1 | -34/+24 |
| | | | | Use new OSError exceptions, factorize stdin.write() code. | ||||
* | Merge 3.4 (asyncio) | Victor Stinner | 2015-01-14 | 4 | -7/+65 |
|\ | |||||
| * | Issue #23197, asyncio: On SSL handshake failure, check if the waiter is | Victor Stinner | 2015-01-14 | 4 | -7/+65 |
| | | | | | | | | | | | | | | cancelled before setting its exception. * Add unit tests for this case. * Cleanup also sslproto.py | ||||
* | | No need to rebuild a constant dictionary on every call. Move convert ↵ | Raymond Hettinger | 2015-01-14 | 1 | -16/+17 |
| | | | | | | | | mapping to module level. | ||||
* | | Merge 3.4 (asyncio) | Victor Stinner | 2015-01-14 | 3 | -27/+102 |
|\ \ | |/ | |||||
| * | Python issue #23173: sync with Tulip | Victor Stinner | 2015-01-14 | 3 | -27/+102 |
| | | | | | | | | | | | | | | | | * 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. | ||||
* | | Merge 3.4 (asyncio) | Victor Stinner | 2015-01-13 | 1 | -25/+22 |
|\ \ | |/ | |||||
| * | Issue #23198: Reactor asyncio.StreamReader | Victor Stinner | 2015-01-13 | 1 | -25/+22 |
| | | | | | | | | | | | | - 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 | ||||
* | | Merge 3.4 (asyncio: new SSL implementation) | Victor Stinner | 2015-01-13 | 6 | -38/+747 |
|\ \ | |/ | |||||
| * | Issue #22560: New SSL implementation based on ssl.MemoryBIO | Victor Stinner | 2015-01-13 | 6 | -38/+747 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge 3.4 (asyncio) | Victor Stinner | 2015-01-13 | 2 | -2/+9 |
|\ \ | |/ | |||||
| * | Tulip issue 184: Fix test_pipe() on Windows | Victor Stinner | 2015-01-13 | 1 | -1/+2 |
| | | | | | | | | Pass explicitly the event loop to StreamReaderProtocol. | ||||
| * | Issue #22922: Fix ProactorEventLoop.close() | Victor Stinner | 2015-01-13 | 1 | -1/+7 |
| | | | | | | | | | | Close the IocpProactor before closing the event loop. IocpProactor.close() can call loop.call_soon(), which is forbidden when the event loop is closed. | ||||
* | | merge 3.4 (#23221) | Benjamin Peterson | 2015-01-13 | 5 | -5/+5 |
|\ \ | |/ | |||||
| * | fix instances of consecutive articles (closes #23221) | Benjamin Peterson | 2015-01-13 | 5 | -5/+5 |
| | | | | | | | | Patch by Karan Goel. | ||||
* | | Issue #23209, #23225: selectors.BaseSelector.get_key() now raises a | Victor Stinner | 2015-01-13 | 2 | -4/+10 |
|\ \ | |/ | | | | | | | | | RuntimeError if the selector is closed. And selectors.BaseSelector.close() now clears its internal reference to the selector mapping to break a reference cycle. Initial patch written by Martin Richard. | ||||
| * | Issue #23209, #23225: selectors.BaseSelector.close() now clears its internal | Victor Stinner | 2015-01-13 | 2 | -0/+6 |
| | | | | | | | | | | reference to the selector mapping to break a reference cycle. Initial patch written by Martin Richard. | ||||
* | | Issue #19777: Provide a home() classmethod on Path objects. | Antoine Pitrou | 2015-01-12 | 2 | -0/+18 |
| | | | | | | | | Contributed by Victor Salgado and Mayank Tripathi. | ||||
* | | Merged 3.4 into default | Donald Stufft | 2015-01-11 | 2 | -1/+1 |
|\ \ | |/ | |||||
| * | Update setuptools to 11.3.1 | Donald Stufft | 2015-01-11 | 2 | -1/+1 |
| | | |||||
* | | remove extra definite article | Benjamin Peterson | 2015-01-11 | 1 | -2/+2 |
| | | |||||
* | | Issue #23206: Make ``json.dumps(..., ensure_ascii=False)`` as fast as the ↵ | Antoine Pitrou | 2015-01-11 | 2 | -4/+8 |
| | | | | | | | | default case of ``ensure_ascii=True``. Patch by Naoki Inada. | ||||
* | | Issue #23185: add math.inf and math.nan constants. | Mark Dickinson | 2015-01-11 | 1 | -0/+11 |
| | | |||||
* | | Removed duplicated dict entries. | Serhiy Storchaka | 2015-01-11 | 1 | -1/+0 |
| | | |||||
* | | Issue #19776: Fix test_pathlib.test_expanduser() | Victor Stinner | 2015-01-10 | 1 | -1/+1 |
| | | | | | | | | Skip users with an empty home directory. | ||||
* | | (Merge 3.4) Issue #23209: Revert change on selectors, test_selectors failed. | Victor Stinner | 2015-01-09 | 1 | -1/+0 |
|\ \ | |/ | |||||
| * | Issue #23209: Revert change on selectors, test_selectors failed. | Victor Stinner | 2015-01-09 | 1 | -1/+0 |
| | | |||||
* | | Merge 3.4 (asyncio, selectors) | Victor Stinner | 2015-01-09 | 3 | -1/+3 |
|\ \ | |/ | |||||
| * | Issue #23209: Break some reference cycles in asyncio. Patch written by Martin | Victor Stinner | 2015-01-09 | 3 | -1/+3 |
| | | | | | | | | Richard. | ||||
* | | Merge 3.4 (asyncio) | Victor Stinner | 2015-01-09 | 6 | -11/+29 |
|\ \ | |/ | |||||
| * | asyncio: sync with Tulip | Victor Stinner | 2015-01-09 | 6 | -11/+29 |
| | | | | | | | | | | | | | | * 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 | ||||
* | | Issue #23014: Make importlib.abc.Loader.create_module() required when | Brett Cannon | 2015-01-09 | 7 | -6/+36 |
| | | | | | | | | | | | | | | | | | | importlib.abc.Loader.exec_module() is also defined. Before this change, create_module() was optional **and** could return None to trigger default semantics. This change now reduces the options for choosing default semantics to one and in the most backporting-friendly way (define create_module() to return None). | ||||
* | | Merge 3.4 (asyncio) | Victor Stinner | 2015-01-09 | 3 | -7/+16 |
|\ \ | |/ | |||||
| * | asyncio: sync with Tulip | Victor Stinner | 2015-01-09 | 3 | -7/+16 |
| | | | | | | | | | | | | | | | | * 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. | ||||
* | | selectors: truncate to 80 characters | Victor Stinner | 2015-01-08 | 1 | -1/+2 |
| | | |||||
* | | Merge 3.4 (asyncio) | Victor Stinner | 2015-01-08 | 12 | -33/+60 |
|\ \ | |/ | |||||
| * | asyncio: Truncate to 80 columns | Victor Stinner | 2015-01-08 | 12 | -33/+60 |
| | | |||||
* | | Merge 3.4 (asyncio) | Victor Stinner | 2015-01-08 | 2 | -3/+3 |
|\ \ | |/ | |||||
| * | asyncio: _make_ssl_transport: make the waiter parameter optional | Victor Stinner | 2015-01-08 | 2 | -3/+3 |
| | | |||||
* | | Merge with 3.4 | Terry Jan Reedy | 2015-01-08 | 1 | -31/+0 |
|\ \ | |/ | |||||
| * | Issue #23184: delete unused idlelib file. | Terry Jan Reedy | 2015-01-08 | 1 | -31/+0 |
| | | |||||
* | | enable cert validation in test | Benjamin Peterson | 2015-01-08 | 1 | -1/+4 |
| | | |||||
* | | trying again | Benjamin Peterson | 2015-01-08 | 1 | -2/+2 |
| | | |||||
* | | reorder cipher prefs | Benjamin Peterson | 2015-01-08 | 1 | -1/+1 |
| | | |||||
* | | drop 256 | Benjamin Peterson | 2015-01-08 | 1 | -2/+2 |
| | | |||||
* | | try using AES256 | Benjamin Peterson | 2015-01-08 | 1 | -3/+3 |
| | | |||||
* | | fix assertions after ciphers were changed | Benjamin Peterson | 2015-01-07 | 1 | -2/+1 |
| | | |||||
* | | rc4 is a long time favorite | Benjamin Peterson | 2015-01-07 | 1 | -2/+2 |
| | | |||||
* | | everyone should support AES ciphers | Benjamin Peterson | 2015-01-07 | 1 | -3/+4 |
| | | |||||
* | | include some more ciphers | Benjamin Peterson | 2015-01-07 | 1 | -3/+3 |
| | |