summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Closes #23234: Refactor subprocessVictor Stinner2015-01-141-34/+24
| | | | Use new OSError exceptions, factorize stdin.write() code.
* Merge 3.4 (asyncio)Victor Stinner2015-01-144-7/+65
|\
| * Issue #23197, asyncio: On SSL handshake failure, check if the waiter isVictor Stinner2015-01-144-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 Hettinger2015-01-141-16/+17
| | | | | | | | mapping to module level.
* | Merge 3.4 (asyncio)Victor Stinner2015-01-143-27/+102
|\ \ | |/
| * Python issue #23173: sync with TulipVictor Stinner2015-01-143-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 Stinner2015-01-131-25/+22
|\ \ | |/
| * Issue #23198: Reactor asyncio.StreamReaderVictor Stinner2015-01-131-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 Stinner2015-01-136-38/+747
|\ \ | |/
| * Issue #22560: New SSL implementation based on ssl.MemoryBIOVictor Stinner2015-01-136-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 Stinner2015-01-132-2/+9
|\ \ | |/
| * Tulip issue 184: Fix test_pipe() on WindowsVictor Stinner2015-01-131-1/+2
| | | | | | | | Pass explicitly the event loop to StreamReaderProtocol.
| * Issue #22922: Fix ProactorEventLoop.close()Victor Stinner2015-01-131-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 Peterson2015-01-135-5/+5
|\ \ | |/
| * fix instances of consecutive articles (closes #23221)Benjamin Peterson2015-01-135-5/+5
| | | | | | | | Patch by Karan Goel.
* | Issue #23209, #23225: selectors.BaseSelector.get_key() now raises aVictor Stinner2015-01-132-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 internalVictor Stinner2015-01-132-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 Pitrou2015-01-122-0/+18
| | | | | | | | Contributed by Victor Salgado and Mayank Tripathi.
* | Merged 3.4 into defaultDonald Stufft2015-01-112-1/+1
|\ \ | |/
| * Update setuptools to 11.3.1Donald Stufft2015-01-112-1/+1
| |
* | remove extra definite articleBenjamin Peterson2015-01-111-2/+2
| |
* | Issue #23206: Make ``json.dumps(..., ensure_ascii=False)`` as fast as the ↵Antoine Pitrou2015-01-112-4/+8
| | | | | | | | default case of ``ensure_ascii=True``. Patch by Naoki Inada.
* | Issue #23185: add math.inf and math.nan constants.Mark Dickinson2015-01-111-0/+11
| |
* | Removed duplicated dict entries.Serhiy Storchaka2015-01-111-1/+0
| |
* | Issue #19776: Fix test_pathlib.test_expanduser()Victor Stinner2015-01-101-1/+1
| | | | | | | | Skip users with an empty home directory.
* | (Merge 3.4) Issue #23209: Revert change on selectors, test_selectors failed.Victor Stinner2015-01-091-1/+0
|\ \ | |/
| * Issue #23209: Revert change on selectors, test_selectors failed.Victor Stinner2015-01-091-1/+0
| |
* | Merge 3.4 (asyncio, selectors)Victor Stinner2015-01-093-1/+3
|\ \ | |/
| * Issue #23209: Break some reference cycles in asyncio. Patch written by MartinVictor Stinner2015-01-093-1/+3
| | | | | | | | Richard.
* | Merge 3.4 (asyncio)Victor Stinner2015-01-096-11/+29
|\ \ | |/
| * asyncio: sync with TulipVictor Stinner2015-01-096-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 whenBrett Cannon2015-01-097-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 Stinner2015-01-093-7/+16
|\ \ | |/
| * asyncio: sync with TulipVictor Stinner2015-01-093-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 charactersVictor Stinner2015-01-081-1/+2
| |
* | Merge 3.4 (asyncio)Victor Stinner2015-01-0812-33/+60
|\ \ | |/
| * asyncio: Truncate to 80 columnsVictor Stinner2015-01-0812-33/+60
| |
* | Merge 3.4 (asyncio)Victor Stinner2015-01-082-3/+3
|\ \ | |/
| * asyncio: _make_ssl_transport: make the waiter parameter optionalVictor Stinner2015-01-082-3/+3
| |
* | Merge with 3.4Terry Jan Reedy2015-01-081-31/+0
|\ \ | |/
| * Issue #23184: delete unused idlelib file.Terry Jan Reedy2015-01-081-31/+0
| |
* | enable cert validation in testBenjamin Peterson2015-01-081-1/+4
| |
* | trying againBenjamin Peterson2015-01-081-2/+2
| |
* | reorder cipher prefsBenjamin Peterson2015-01-081-1/+1
| |
* | drop 256Benjamin Peterson2015-01-081-2/+2
| |
* | try using AES256Benjamin Peterson2015-01-081-3/+3
| |
* | fix assertions after ciphers were changedBenjamin Peterson2015-01-071-2/+1
| |
* | rc4 is a long time favoriteBenjamin Peterson2015-01-071-2/+2
| |
* | everyone should support AES ciphersBenjamin Peterson2015-01-071-3/+4
| |
* | include some more ciphersBenjamin Peterson2015-01-071-3/+3
| |