Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-39529: Deprecate creating new event loop in asyncio.get_event_loop() ↵ | Serhiy Storchaka | 2021-04-25 | 1 | -11/+42 |
| | | | | | | (GH-23554) asyncio.get_event_loop() emits now a deprecation warning when it creates a new event loop. In future releases it will became an alias of asyncio.get_running_loop(). | ||||
* | bpo-43723: Fix deprecation error caused by thread.setDaemon() (GH-25361) | Christian Heimes | 2021-04-12 | 1 | -1/+1 |
| | |||||
* | bpo-34215: Clarify IncompleteReadError message when "expected" is None ↵ | Zackery Spytz | 2020-11-28 | 1 | -3/+5 |
| | | | | | (GH-21925) Co-Authored-By: Tyler Bell <mrbell321@gmail.com> | ||||
* | bpo-42392: Remove loop parameter from asyncio.streams (GH-23517) | Yurii Karabas | 2020-11-26 | 1 | -52/+26 |
| | |||||
* | bpo-40275: Avoid importing socket in test.support (GH-19603) | Serhiy Storchaka | 2020-04-25 | 1 | -5/+5 |
| | | | | | | * Move socket related functions from test.support to socket_helper. * Import socket, nntplib and urllib.error lazily in transient_internet(). * Remove importing multiprocess. | ||||
* | bpo-38529: Fix asyncio stream warning (GH-17474) | Andrew Svetlov | 2019-12-07 | 1 | -53/+0 |
| | |||||
* | bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" (#16482) | Yury Selivanov | 2019-09-30 | 1 | -950/+182 |
| | | | See https://bugs.python.org/issue38242 for more details | ||||
* | bpo-36373: Deprecate explicit loop in task and subprocess API (GH-16033) | Andrew Svetlov | 2019-09-12 | 1 | -3/+4 |
| | |||||
* | bpo-38107: Replace direct future and task contructor calls with factories in ↵ | Andrew Svetlov | 2019-09-11 | 1 | -18/+16 |
| | | | | asyncio tests (GH-15928) | ||||
* | bpo-38066: Hide internal Stream methods (GH-15762) | Andrew Svetlov | 2019-09-10 | 1 | -79/+103 |
| | | | | | | feed_eof(), feed_data(), set_exception(), and set_transport() are prefixed with underscore now. https://bugs.python.org/issue38066 | ||||
* | Replace deprecation warning with RuntimeError (GH-14397) | Andrew Svetlov | 2019-06-27 | 1 | -0/+6 |
| | |||||
* | Make asyncio stream sendfile fail on error (was hang) (GH-14025) | Andrew Svetlov | 2019-06-12 | 1 | -5/+8 |
| | |||||
* | bpo-37142: Make asyncio stream tests more robust again (GH-13804) | Andrew Svetlov | 2019-06-04 | 1 | -9/+16 |
| | | | | Make test_stream_server_close() implementation following test_stream_server_abort(). Add explicit timeout for tests that can hang. | ||||
* | Make StreamServer.close() tests more robust (GH-13790) | Andrew Svetlov | 2019-06-04 | 1 | -11/+37 |
| | |||||
* | bpo-37148: Fix asyncio test that check for warning when running the test ↵ | Pablo Galindo | 2019-06-04 | 1 | -0/+4 |
| | | | | suite with huntleaks (GH-13800) | ||||
* | bpo-36889: Merge asyncio streams (GH-13251) | Andrew Svetlov | 2019-05-27 | 1 | -180/+828 |
| | | | https://bugs.python.org/issue36889 | ||||
* | bpo-36921: Deprecate @coroutine for sake of async def (GH-13346) | Andrew Svetlov | 2019-05-16 | 1 | -2/+1 |
| | | | | | | The second attempt. Now deprecate `@coroutine` only, keep `yield from fut` as is. https://bugs.python.org/issue36921 | ||||
* | bpo-36801: Temporarily fix regression in writer.drain() (#13330) | Andrew Svetlov | 2019-05-14 | 1 | -23/+0 |
| | |||||
* | bpo-36916: asyncio: Swallow unhandled write() exception (GH-13313) | Andrew Svetlov | 2019-05-14 | 1 | -0/+3 |
| | |||||
* | bpo-36802: Drop awrite()/aclose(), support await write() and await close() ↵ | Andrew Svetlov | 2019-05-09 | 1 | -12/+30 |
| | | | | instead (#13099) | ||||
* | bpo-36801: Fix waiting in StreamWriter.drain for closing SSL transport ↵ | Andrew Svetlov | 2019-05-07 | 1 | -0/+23 |
| | | | | | (GH-13098) https://bugs.python.org/issue36801 | ||||
* | Forbid creating of stream objects outside of asyncio (#13101) | Andrew Svetlov | 2019-05-07 | 1 | -50/+116 |
| | |||||
* | bpo-35934: Add socket.create_server() utility function (GH-11784) | Giampaolo Rodola | 2019-04-08 | 1 | -8/+3 |
| | |||||
* | bpo-35065: Remove `StreamReaderProtocol._untrack_reader` (#10212) | Vincent Michel | 2018-11-08 | 1 | -0/+23 |
| | | | | | The call to `_untrack_reader` is performed too soon, causing the protocol to forget about the reader before `connection_lost` can run and feed the EOF to the reader. See bpo-35065. | ||||
* | bpo-34728: Fix asyncio tests to run under "-Werror" (GH-9661) | Yury Selivanov | 2018-10-02 | 1 | -1/+1 |
| | |||||
* | bpo-34687: Make asynico use ProactorEventLoop by default (GH-9538) | Victor Stinner | 2018-09-25 | 1 | -1/+2 |
| | |||||
* | bpo-34666: Implement stream.awrite() and stream.aclose() (GH-9274) | Andrew Svetlov | 2018-09-13 | 1 | -0/+22 |
| | |||||
* | bpo-34638: Store a weak reference to stream reader to break strong ↵ | Andrew Svetlov | 2018-09-12 | 1 | -0/+71 |
| | | | | | | | | references loop (GH-9201) Store a weak reference to stream readerfor breaking strong references It breaks the strong reference loop between reader and protocol and allows to detect and close the socket if the stream is deleted (garbage collected) | ||||
* | bpo-33562: Check the global asyncio event loop policy isn't set after any ↵ | Brett Cannon | 2018-06-02 | 1 | -0/+4 |
| | | | | tests (GH-7328) | ||||
* | bpo-32391: Implement StreamWriter.wait_closed() (#5281) | Andrew Svetlov | 2018-01-24 | 1 | -1/+30 |
| | |||||
* | bpo-32273: Move asyncio.test_utils to test.test_asyncio (#4785) | Yury Selivanov | 2017-12-11 | 1 | -1/+1 |
| | |||||
* | bpo-32262: Fix codestyle; use f-strings formatting where necessary. (#4775) | Yury Selivanov | 2017-12-10 | 1 | -4/+5 |
| | |||||
* | bpo-32193: Convert asyncio to async/await usage (#4753) | Andrew Svetlov | 2017-12-08 | 1 | -20/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | bpo-28684: asyncio tests handle PermissionError raised on binding unix ↵ | xdegaye | 2017-11-24 | 1 | -4/+5 |
| | | | | | | | | | sockets (GH-4503) The test.support.skip_unless_bind_unix_socket() decorator is used to skip asyncio tests that fail because the platform lacks a functional bind() function for unix domain sockets (as it is the case for non root users on the recent Android versions that run now SELinux in enforcing mode). | ||||
* | bpo-32034: Make IncompleteReadError & LimitOverrunError pickleable #4409 | Yury Selivanov | 2017-11-15 | 1 | -0/+18 |
| | |||||
* | Issue #28613: Fix get_event_loop() to return the current loop | Yury Selivanov | 2016-11-04 | 1 | -0/+1 |
| | | | | when called from coroutines or callbacks. | ||||
* | Use raw string for regexp | Guido van Rossum | 2016-09-10 | 1 | -1/+1 |
| | |||||
* | Issue #26050: Add asyncio.StreamReader.readuntil() method. | Yury Selivanov | 2016-01-11 | 1 | -1/+127 |
| | | | | Patch by Марк Коренберг. | ||||
* | asyncio/tests: Fix some ResourceWarnings | Yury Selivanov | 2015-12-17 | 1 | -6/+7 |
| | |||||
* | asyncio/tests: Fix deprecation warning | Yury Selivanov | 2015-12-17 | 1 | -1/+1 |
| | |||||
* | asyncio: Sync with github | Yury Selivanov | 2015-12-11 | 1 | -2/+2 |
| | |||||
* | Fix whitespace. | Guido van Rossum | 2015-10-19 | 1 | -1/+1 |
| | |||||
* | Issue #25441: asyncio: Raise error from drain() when socket is closed. | Guido van Rossum | 2015-10-19 | 1 | -0/+43 |
| | |||||
* | Fix StreamReader.__repr__ | Andrew Svetlov | 2015-09-29 | 1 | -0/+42 |
| | |||||
* | asyncio: sync with github | Victor Stinner | 2015-07-25 | 1 | -16/+12 |
| | | | | | | | | | * Fix ResourceWarning warnings in test_streams * Return True from StreamReader.eof_received() to fix http://bugs.python.org/issue24539 (but still needs a unittest). Add StreamReader.__repr__() for easy debugging. * remove unused imports * Issue #234: Drop JoinableQueue on Python 3.5+ | ||||
* | asyncio: sync with github asyncio | Victor Stinner | 2015-07-09 | 1 | -3/+3 |
| | | | | | * queues: get coroutine from asyncio.coroutines, not from asyncio.tasks * tets: replace tulip with asyncio in comments | ||||
* | asyncio: pyflakes, remove unused import | Victor Stinner | 2015-01-21 | 1 | -9/+1 |
| | | | | tests: Remove unused function; inline another function | ||||
* | asyncio: sync with Tulip | Victor Stinner | 2015-01-09 | 1 | -0/+19 |
| | | | | | | | * 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 | ||||
* | asyncio: Truncate to 80 columns | Victor Stinner | 2015-01-08 | 1 | -2/+4 |
| | |||||
* | asyncio: Refactor tests: add a base TestCase class | Victor Stinner | 2014-06-17 | 1 | -2/+3 |
| |