Andrew Svetlov
98afaa4c76
Fix loop.remove_reader() and loop.remove_writer() return types ( #7042 )
2022-01-26 14:52:15 +01:00
Vlad Starostin
fab2a47f9b
Use stricter transport types in asyncio subprocess methods ( #7026 )
...
Co-authored-by: Vlad Starostin <vladstar@yandex-team.ru >
2022-01-25 11:07:36 +01:00
Vlad Starostin
e558fedf76
Use more precise return types in asyncio methods ( #6937 )
2022-01-17 19:56:48 +02:00
Alex Waygood
4e046163b5
Delete many redundant method redefinitions ( #6877 )
2022-01-09 11:21:03 -08:00
Nikita Sobolev
5103f23de3
Fixes asyncio.events definition ( #6811 )
2022-01-07 19:25:12 +02:00
Alex Waygood
8d5d2520ac
Use PEP 585 syntax wherever possible ( #6717 )
2021-12-28 11:31:43 +01:00
Kyle Altendorf
12dd8d9718
AbstractEventLoop.run_in_executor() returns Future ( #6187 )
...
https://docs.python.org/3.10/library/asyncio-eventloop.html#asyncio.loop.run_in_executor
> This method returns a asyncio.Future object.
2021-10-22 10:50:42 -07:00
Akuli
994b69ef8f
Use lowercase tuple where possible ( #6170 )
2021-10-14 17:18:19 -07:00
Oleg Höfling
64f481189f
drop ellipsis assignments from module vars, classvars and instance attrs ( #5914 )
...
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com >
2021-08-11 19:26:58 +02:00
Akuli
ce11072dbe
Big diff: use lower-case list and dict ( #5888 )
2021-08-08 09:26:35 -07:00
Akuli
ee487304d7
Big diff: Use new "|" union syntax ( #5872 )
2021-08-08 11:05:21 +02:00
Akuli
42247feefb
use Self in async context managers ( #5724 )
2021-07-06 08:47:49 +02:00
Sebastian Rittau
7e1b8384a0
Return concrete server from abstract event loop ( #5566 )
...
https://docs.python.org/3/library/asyncio-eventloop.html?highlight=abstracteventloop#creating-network-servers
documents the methods as returning a concrete server object.
2021-06-03 07:03:45 -07:00
Sebastian Rittau
ca256b85b9
asyncio.Server.socket fixes ( #5538 )
...
* Move socket from AbstractServer to Server.
* Fix Server.socket type on Python 3.7+.
* Use Iterable instead of list for socket argument.
Closes : #5535
2021-05-27 16:14:36 +02:00
Jelle Zijlstra
38dfb57adf
Improve asyncio.subprocess stubs ( #5327 )
2021-05-02 21:50:29 -07:00
Thomas Cellerier
e5336e2358
loop.remove_signal_handler returns a bool ( #5253 )
2021-04-26 16:10:04 +02:00
hatal175
88a8d0ccbc
Explaining/Fixing asyncio allowlist exceptions ( #5132 )
2021-03-23 17:14:30 -07:00
Ivan Levkivskyi
16ae4c6120
Re-organize directory structure ( #4971 )
...
See discussion in #2491
Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com >
2021-01-27 12:00:39 +00:00