Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix asyncio.streams.FlowControlMixin docstring typo. (#4578) | John Chen | 2017-12-01 | 1 | -1/+1 |
| | |||||
* | bpo-32101: Add PYTHONDEVMODE environment variable (#4624) | Victor Stinner | 2017-11-30 | 1 | -5/+3 |
| | | | | | | * bpo-32101: Add sys.flags.dev_mode flag Rename also the "Developer mode" to the "Development mode". * bpo-32101: Add PYTHONDEVMODE environment variable Mention it in the development chapiter. | ||||
* | bpo-32166: Drop Python 3.4 code from asyncio (#4612) | Andrew Svetlov | 2017-11-29 | 2 | -129/+23 |
| | | | | | | | | | | | | | | | | | | | | | | * Drop Python 3.4 code from asyncio * Fix notes * Add missing imports * Restore comment * Resort imports * Drop Python 3.4-3.5 specific code * Drop redunant check * Fix tests * Restore _COROUTINE_TYPES order * Remove useless code | ||||
* | bpo-32154: Remove asyncio.windows_utils.socketpair (#4609) | Victor Stinner | 2017-11-28 | 2 | -55/+1 |
| | |||||
* | bpo-32154: Remove asyncio.selectors (#4605) | Victor Stinner | 2017-11-28 | 5 | -19/+4 |
| | | | | | | | | | | | | * Remove asyncio.selectors and asyncio._overlapped symbols from the namespace of the asyncio module * Replace "from asyncio import selectors" with "import selectors" * Replace "from asyncio import _overlapped" with "import _overlapped" asyncio.selectors was added to support Python 3.3, which doesn't have selectors in its standard library, and Python 3.4 in the same code base. Same rationale for asyncio._overlapped. Python 3.3 reached its end of life, and asyncio is no more maintained as a third party module on PyPI. | ||||
* | asyncio: Remove asyncio/compat.py (#4606) | Victor Stinner | 2017-11-28 | 7 | -60/+37 |
| | | | | | | | | | | The asyncio/compat.py file was written to support Python < 3.5 and Python < 3.5.2. But Python 3.5 doesn't accept bugfixes anymore, only security fixes. There is no more need to backport bugfixes to Python 3.5, and so no need to have a single code base for Python 3.5, 3.6 and 3.7. Say hello (again) to "async" and "await", who became real keywords in Python 3.7 ;-) | ||||
* | asyncio: use directly socket.socketpair() (#4597) | Victor Stinner | 2017-11-28 | 4 | -18/+3 |
| | | | | | Since Python 3.5, socket.socketpair() is also available on Windows, and so can be used directly, rather than using asyncio.windows_utils.socketpair(). | ||||
* | asyncio: Remove unused Future._tb_logger attribute (#4596) | Victor Stinner | 2017-11-27 | 1 | -8/+1 |
| | | | | It was only used on Python 3.3, now only Future._log_traceback is used. | ||||
* | bpo-31245: asyncio: Fix typo, isistance => isinstance (#4594) | Victor Stinner | 2017-11-27 | 1 | -1/+1 |
| | |||||
* | bpo-32066: Support pathlib.Path in create_unix_connection; sock arg should ↵ | Yury Selivanov | 2017-11-20 | 2 | -3/+4 |
| | | | | be optional (#4447) | ||||
* | bpo-32047: -X dev enables asyncio debug mode (#4418) | Victor Stinner | 2017-11-20 | 2 | -13/+20 |
| | | | | The new -X dev command line option now also enables asyncio debug mode. | ||||
* | bpo-32069: Drop legacy SSL transport (#4451) | Andrew Svetlov | 2017-11-18 | 4 | -274/+4 |
| | | | | | | | | | | * Drop legacy SSL transport * Drop unused import * Fix Windows tests * Drop never executed on Python 3.4+ code | ||||
* | bpo-32034: Make IncompleteReadError & LimitOverrunError pickleable #4409 | Yury Selivanov | 2017-11-15 | 1 | -0/+6 |
| | |||||
* | bpo-32015: Asyncio looping during simultaneously socket read/write an… (#4386) | Andrey Egorov | 2017-11-14 | 1 | -19/+18 |
| | | | | | | | | | | | | * bpo-32015: Asyncio cycling during simultaneously socket read/write and reconnection * Tests fix * Tests fix * News add * Add new unit tests | ||||
* | bpo-28369: Enhance transport socket check in add_reader/writer (#4365) | Yury Selivanov | 2017-11-13 | 2 | -1/+16 |
| | |||||
* | bpo-31620: have asyncio/queues not leak memory when you've exceptions during ↵ | Suren Nihalani | 2017-11-07 | 1 | -0/+6 |
| | | | | waiting (#3813) | ||||
* | Fix a typo (#4323) | Barry Warsaw | 2017-11-07 | 1 | -2/+2 |
| | |||||
* | bpo-31970: Reduce performance overhead of asyncio debug mode. (#4314) | Antoine Pitrou | 2017-11-07 | 5 | -5/+36 |
| | | | | * bpo-31970: Reduce performance overhead of asyncio debug mode. | ||||
* | bpo-31960: Fix asyncio.Future documentation for thread (un)safety. (#4319) | Antoine Pitrou | 2017-11-07 | 1 | -1/+3 |
| | |||||
* | Add asyncio.Handle.cancelled() method (#2388) | Marat Sharafutdinov | 2017-11-07 | 1 | -0/+3 |
| | |||||
* | bpo-31245: Asyncio unix socket datagram (#3164) | Quentin Dawans | 2017-10-30 | 2 | -2/+8 |
| | |||||
* | bpo-31819: Add AbstractEventLoop.sock_recv_into() (#4051) | Antoine Pitrou | 2017-10-19 | 4 | -0/+63 |
| | | | | | | | | * bpo-31819: Add AbstractEventLoop.sock_recv_into() * Add NEWS * Add doc | ||||
* | bpo-31632: fix set_protocol() in _SSLProtocolTransport (#3817) (#3817) | jlacoline | 2017-10-19 | 1 | -6/+4 |
| | |||||
* | bpo-31709: Drop support for asynchronous __aiter__. (#3903) | Yury Selivanov | 2017-10-06 | 1 | -17/+9 |
| | |||||
* | bpo-31556: asyncio.wait_for can cancel futures faster with timeout <= 0 (#3703) | Victor K | 2017-10-05 | 1 | -0/+9 |
| | |||||
* | bpo-31346: Use PROTOCOL_TLS_CLIENT/SERVER (#3058) | Christian Heimes | 2017-09-15 | 1 | -1/+1 |
| | | | | | | Replaces PROTOCOL_TLSv* and PROTOCOL_SSLv23 with PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER. Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-31350: Optimize get_event_loop and _get_running_loop (#3347) | jimmylai | 2017-09-06 | 1 | -6/+4 |
| | | | | | | | | | | | | | | | | * call remove_done_callback in finally section * Optimize get_event_loop and _get_running_loop * rename _loop_pid as loop_pid and add blurb news * rename _loop_pid as loop_pid and add blurb news * add back _RunningLoop * Update 2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst * Update 2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst | ||||
* | bpo-31250, test_asyncio: fix dangling threads (#3252) | Victor Stinner | 2017-09-01 | 1 | -1/+8 |
| | | | | | | | * Explicitly call shutdown(wait=True) on executors to wait until all threads complete to prevent side effects between tests. * Fix test_loop_self_reading_exception(): don't mock loop.close(). Previously, the original close() method was called rather than the mock, because how set_event_loop() registered loop.close(). | ||||
* | bpo-30280: Cleanup threads in ayncio tests (#2501) | Victor Stinner | 2017-06-30 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | * bpo-30280: asyncio now cleans up threads asyncio base TestCase now uses threading_setup() and threading_cleanup() of test.support to cleanup threads. * asyncio: Fix TestBaseSelectorEventLoop cleanup bpo-30280: TestBaseSelectorEventLoop of test.test_asyncio.test_selector_events now correctly closes the event loop: cleanup its executor to not leak threads. Don't override the close() method of the event loop, only override the_close_self_pipe() method. | ||||
* | Fix a typo in a comment in coroutines.py (GH-2267) | Johan de Jager | 2017-06-24 | 1 | -1/+1 |
| | | | defiend -> defined | ||||
* | Revert "bpo-29406: asyncio SSL contexts leak sockets after calling close ↵ | Yury Selivanov | 2017-06-11 | 1 | -24/+1 |
| | | | | | with certain servers (#409)" (#2111) This reverts commit a608d2d5a7f1aabe9bcbfc220135c5e126189390. | ||||
* | bpo-30508: Don't log exceptions if Task/Future "cancel()" method called (#2050) | Yury Selivanov | 2017-06-11 | 2 | -0/+2 |
| | |||||
* | bpo-29406: asyncio SSL contexts leak sockets after calling close with ↵ | Nikolay Kim | 2017-06-10 | 1 | -1/+24 |
| | | | | | | | | certain servers (#409) * asyncio SSL contexts leak sockets after calling close with certain servers * cleanup _shutdown_timeout_handle on _fatal_error | ||||
* | Fix TypeError is asyncio/proactor_events (#993) | Jim Fasarakis-Hilliard | 2017-06-10 | 1 | -2/+3 |
| | |||||
* | Break circular references when closing SSLTransport objects (#981) | Michaël Sghaïer | 2017-06-09 | 1 | -4/+6 |
| | |||||
* | Closing transport during handshake process leaks socket (#480) | Nikolay Kim | 2017-06-09 | 1 | -2/+5 |
| | |||||
* | Fix waiter cancellation in asyncio.Lock (#1031) | Mathieu Sornay | 2017-06-09 | 1 | -5/+12 |
| | | | | | | Avoid a deadlock when the waiter who is about to take the lock is cancelled Issue #27585 | ||||
* | call remove_done_callback in finally section (#1688) | jimmylai | 2017-05-23 | 1 | -1/+2 |
| | |||||
* | bpo-30048: asyncio: fix Task.cancel() was ignored. (GH-1097) | INADA Naoki | 2017-05-11 | 1 | -1/+6 |
| | | | | | | | | | | | | when there are no more `await` or `yield (from)` before return in coroutine, cancel was ignored. example: async def coro(): asyncio.Task.current_task().cancel() return 42 ... res = await coro() # should raise CancelledError | ||||
* | bpo-29617: Remove Python 3.3 support from asyncio (GH-232) | INADA Naoki | 2017-04-25 | 12 | -223/+65 |
| | |||||
* | bpo-30144: Import collections ABC from collections.abc rather than ↵ | Serhiy Storchaka | 2017-04-24 | 1 | -1/+2 |
| | | | | collections. (#1263) | ||||
* | bpo-30098: Clarify that run_coroutine_threadsafe expects asyncio.Future ↵ | Charles Renwick | 2017-04-21 | 1 | -1/+2 |
| | | | | (GH-1170) | ||||
* | bpo-29762: More use "raise from None". (#569) | Serhiy Storchaka | 2017-04-05 | 1 | -1/+1 |
| | | | This hides unwanted implementation details from tracebacks. | ||||
* | Fix small exception typos in Lib (#818) | Jim Fasarakis-Hilliard | 2017-03-26 | 1 | -1/+1 |
| | |||||
* | bpo-29742: asyncio get_extra_info() throws exception (#525) | Nikolay Kim | 2017-03-12 | 1 | -1/+3 |
| | |||||
* | asyncio: Optimize _get_running_loop() to call getpid() only when there's a loop | Yury Selivanov | 2017-03-03 | 1 | -2/+3 |
| | |||||
* | asyncio: Fix trailing whitespace/code style | Yury Selivanov | 2017-03-03 | 1 | -2/+2 |
| | |||||
* | bpo-29704: Fix asyncio.SubprocessStreamProtocol closing (#405) | Seth M. Larson | 2017-03-03 | 1 | -2/+15 |
| | |||||
* | bpo-29703: asyncio: Fix creating new event loops in child processes. (#404) | Yury Selivanov | 2017-03-03 | 2 | -2/+11 |
| | |||||
* | Issue #29314: Merge with 3.6 | Mariatta Wijaya | 2017-02-07 | 1 | -1/+2 |
|\ |