Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-32410: Make SendfileNotAvailableError exception public (#5243) | Andrew Svetlov | 2018-01-19 | 3 | -16/+19 | |
| | ||||||
* | bpo-32410: Implement loop.sock_sendfile() (#4976) | Andrew Svetlov | 2018-01-16 | 3 | -0/+167 | |
| | ||||||
* | bpo-32418: Postfix, raise NotImplementdError and close resources in tests ↵ | Andrew Svetlov | 2017-12-30 | 1 | -3/+3 | |
| | | | | (#5052) | |||||
* | bpo-32418: Add get_loop() method on Server, AbstractServer classes (#4997) | Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) | 2017-12-30 | 2 | -0/+7 | |
| | | | | | | * Add abstract get_loop() method to Server, AbstractServer classes. * Add test cases for get_loop() method in Server, AbstractServer classes * Add documentation for get_loop() method | |||||
* | bpo-23749: Implement loop.start_tls() (#5039) | Yury Selivanov | 2017-12-30 | 4 | -1/+59 | |
| | ||||||
* | bpo-26133: Fix typos (#5010) | Andrew Svetlov | 2017-12-26 | 1 | -2/+2 | |
| | | | | | | * Fix typos * Change warning text * Add test | |||||
* | bpo-31721: Allow Future._log_traceback to only be set to False (#5009) | Yury Selivanov | 2017-12-25 | 1 | -6/+16 | |
| | ||||||
* | bpo-32363: Disable Task.set_exception() and Task.set_result() (#4923) | Yury Selivanov | 2017-12-25 | 2 | -10/+21 | |
| | ||||||
* | bpo-26133: Clear signals list on interpreter finalizing (#5002) | Andrew Svetlov | 2017-12-24 | 1 | -4/+7 | |
| | ||||||
* | bpo-32415: Add asyncio.Task.get_loop() and Future.get_loop() (#4992) | Yury Selivanov | 2017-12-23 | 3 | -25/+36 | |
| | ||||||
* | bpo-26133: Dont unsubscribe signals in UNIX even loop on interpreter ↵ | Andrew Svetlov | 2017-12-21 | 1 | -2/+8 | |
| | | | | shutdown (#4956) | |||||
* | bpo-29970: Make ssh_handshake_timeout None by default (#4939) | Andrew Svetlov | 2017-12-20 | 5 | -16/+41 | |
| | | | | | * Make ssh_handshake_timeout None by default. * Raise ValueError if ssl_handshake_timeout is used without ssl. * Raise ValueError if ssl_handshake_timeout is not positive. | |||||
* | bpo-29970: Add timeout for SSL handshake in asyncio | Neil Aspinall | 2017-12-19 | 7 | -68/+138 | |
| | | | | 10 seconds by default. | |||||
* | bpo-29711: Fix stop_serving in proactor loop kill all listening servers (#431) | Julien Duponchelle | 2017-12-19 | 1 | -1/+3 | |
| | ||||||
* | bpo-32355: Optimize asyncio.gather() (#4913) | Yury Selivanov | 2017-12-19 | 2 | -47/+67 | |
| | ||||||
* | bpo-32357: Optimize asyncio.iscoroutine() for non-native coroutines (#4915) | Yury Selivanov | 2017-12-19 | 1 | -5/+16 | |
| | ||||||
* | bpo-27456: Simplify sock type checks (#4922) | Yury Selivanov | 2017-12-19 | 3 | -29/+9 | |
| | | | | Recent sock.type fix (see bug 32331) makes sock.type checks simpler in asyncio. | |||||
* | bpo-32356: idempotent pause_/resume_reading; new is_reading method. (#4914) | Yury Selivanov | 2017-12-18 | 4 | -16/+24 | |
| | ||||||
* | bpo-32351: Use fastpath in asyncio.sleep if delay<0 (#4908) | Andrew Svetlov | 2017-12-17 | 1 | -1/+1 | |
| | | | | | | * Use fastpath in asyncio.sleep if delay<0 * Add NEWS entry | |||||
* | bpo-32250: Implement asyncio.current_task() and asyncio.all_tasks() (#4799) | Andrew Svetlov | 2017-12-16 | 1 | -14/+87 | |
| | ||||||
* | bpo-27456: Ensure TCP_NODELAY is set on linux (#4231) | Yury Selivanov | 2017-12-16 | 3 | -24/+25 | |
| | ||||||
* | bpo-32311: Implement asyncio.create_task() shortcut (#4848) | Andrew Svetlov | 2017-12-15 | 7 | -89/+112 | |
| | | | | | * Implement functionality * Add documentation | |||||
* | bpo-32327: Convert asyncio functions documented as coroutines to coroutines. ↵ | Yury Selivanov | 2017-12-15 | 3 | -76/+59 | |
| | | | | (#4872) | |||||
* | bpo-32314: Implement asyncio.run() (#4852) | Yury Selivanov | 2017-12-14 | 2 | -0/+50 | |
| | ||||||
* | bpo-32296: Implement asyncio.get_event_loop and _get_running_loop in C. (#4827) | Yury Selivanov | 2017-12-13 | 1 | -0/+27 | |
| | | | | | | | | asyncio.get_event_loop(), and, subsequently asyncio._get_running_loop() are one of the most frequently executed functions in asyncio. They also can't be sped up by third-party event loops like uvloop. When implemented in C they become 4x faster. | |||||
* | Fix couple typos (#4839) | Andrew Svetlov | 2017-12-13 | 1 | -1/+1 | |
| | ||||||
* | bpo-32258: Replace 'yield from' to 'await' in asyncio docs (#4779) | Andrew Svetlov | 2017-12-11 | 3 | -10/+19 | |
| | | | | | | * Replace 'yield from' to 'await' in asyncio docs * Fix docstrings | |||||
* | Add asyncio.get_running_loop() function. (#4782) | Yury Selivanov | 2017-12-11 | 1 | -1/+13 | |
| | ||||||
* | bpo-32273: Move asyncio.test_utils to test.test_asyncio (#4785) | Yury Selivanov | 2017-12-11 | 1 | -502/+0 | |
| | ||||||
* | bpo-32272: Remove asyncio.async() function. (#4784) | Yury Selivanov | 2017-12-11 | 1 | -21/+1 | |
| | ||||||
* | bpo-32262: Fix f-string (#4787) | Yury Selivanov | 2017-12-11 | 1 | -1/+1 | |
| | ||||||
* | bpo-32262: Fix codestyle; use f-strings formatting where necessary. (#4775) | Yury Selivanov | 2017-12-10 | 22 | -342/+325 | |
| | ||||||
* | bpo-32253: Deprecate with statement and bare await for asyncio locks (GH-4764) | Andrew Svetlov | 2017-12-09 | 1 | -0/+7 | |
| | | | | | * Add test for 'with (yield from lock)' * Deprecate with statement for asyncio locks * Document the deprecation | |||||
* | bpo-32193: Convert asyncio to async/await usage (#4753) | Andrew Svetlov | 2017-12-08 | 12 | -320/+259 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Convert asyncio/tasks.py to async/await * Convert asyncio/queues.py to async/await * Convert asyncio/test_utils.py to async/await * Convert asyncio/base_subprocess.py to async/await * Convert asyncio/subprocess.py to async/await * Convert asyncio/streams.py to async/await * Fix comments * Convert asyncio/locks.py to async/await * Convert asyncio.sleep to async def * Add a comment * Add missing news * Convert stubs from AbstrctEventLoop to async functions * Convert subprocess_shell/subprocess_exec * Convert connect_read_pipe/connect_write_pip to async/await syntax * Convert create_datagram_endpoint * Convert create_unix_server/create_unix_connection * Get rid of old style coroutines in unix_events.py * Convert selector_events.py to async/await * Convert wait_closed and create_connection * Drop redundant line * Convert base_events.py * Code cleanup * Drop redundant comments * Fix indentation * Add explicit tests for compatibility between old and new coroutines * Convert windows event loop to use async/await * Fix double awaiting of async function * Convert asyncio/locks.py * Improve docstring * Convert tests to async/await * Convert more tests * Convert more tests * Convert more tests * Convert tests * Improve test | |||||
* | 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) |