summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Issue #22560, asyncio doc: ProactorEventLoop now supports SSL!Victor Stinner2015-01-131-2/+4
| |
* | 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-1314-13/+14
|\ \ | |/
| * fix instances of consecutive articles (closes #23221)Benjamin Peterson2015-01-1314-13/+14
| | | | | | | | Patch by Karan Goel.
* | Issue #23209, #23225: selectors.BaseSelector.get_key() now raises aVictor Stinner2015-01-133-4/+15
|\ \ | |/ | | | | | | | | 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-133-0/+10
| | | | | | | | | | 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-125-0/+34
| | | | | | | | 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-115-7/+142
| | | | | | | | default case of ``ensure_ascii=True``. Patch by Naoki Inada.
* | Issue #22952: improve multiprocessing doc introduction and defer notes until ↵Antoine Pitrou2015-01-111-32/+54
|\ \ | |/ | | | | | | | | appropriate. Patch by Davin Potts.
| * Issue #22952: improve multiprocessing doc introduction and defer notes until ↵Antoine Pitrou2015-01-111-32/+54
| | | | | | | | | | | | appropriate. Patch by Davin Potts.
* | Issue #21092: Merge from 3.4.Mark Dickinson2015-01-114-13/+13
|\ \ | |/
| * Issue #21902: Replace incorrect 'hyperbolic arc sine' (etc.) with 'inverse ↵Mark Dickinson2015-01-113-10/+10
| | | | | | | | hyperbolic sine' (etc.). Remove meaningless reference to radians.
* | Issue #23185: add math.inf and math.nan constants.Mark Dickinson2015-01-115-1/+69
| |
* | 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 (#23210)Benjamin Peterson2015-01-091-1/+1
|\ \ | |/
| * remove buzzword (closes #23210)Benjamin Peterson2015-01-091-1/+1
| |
* | Issue #23212: merge from 3.4Ned Deily2015-01-092-10/+12
|\ \ | |/
| * Issue #23212: 3.4-specific OS X installer updatesNed Deily2015-01-092-45/+3
| |
| * Issue #23212: Update OS X installer build OpenSSL to 1.0.1k.Ned Deily2015-01-092-10/+12
| | | | | | | | (currently only used for builds with <= 10.5 deployment targets)
* | (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-0911-2347/+2440
| | | | | | | | | | | | | | | | | | 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 doc)Victor Stinner2015-01-092-6/+7
|\ \ | |/
| * asyncio: SelectSelector is limited to 512 sockets on WindowsVictor Stinner2015-01-091-1/+2
| |
| * asyncio doc: fix section of event loop examplesVictor Stinner2015-01-091-5/+5
| |
* | Issue #22038: pyatomic.h now uses stdatomic.h or GCC built-in functions forVictor Stinner2015-01-096-3/+193
| | | | | | | | | | atomic memory access if available. Patch written by Vitor de Lima and Gustavo Temple.
* | 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.
* | Merge 3.4 (asyncio doc)Victor Stinner2015-01-092-0/+24
|\ \ | |/
| * asyncio doc: list limitations to run subprocesses from different threadsVictor Stinner2015-01-092-0/+24
| |
* | 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
| |