Nikita Sobolev
64bc0590a6
Remove un-needed __hash__ methods from stdlib ( #8465 )
2022-08-06 14:55:27 +01:00
Nikita Sobolev
a03e8b4949
Revert __eq__ removal ( #8487 )
...
Refs #8483
2022-08-04 23:51:42 +02:00
Nikita Sobolev
a376da87bd
Remove duplicate definitions ( #8483 )
2022-08-04 18:55:18 +02:00
Sam Bull
be0d159df3
asyncio.AbstractEventLoop: Allow Path for create_unix_server() (#8376 )
2022-07-24 15:43:52 +01:00
Alex Waygood
4b504c78e0
Improve asyncio callbacks ( #8192 )
2022-07-18 19:46:38 -07:00
Alex Waygood
edc0ecd857
Remove Python 3.6 branches from typeshed ( #8269 )
2022-07-11 10:55:17 +02:00
Chris Cotter
f7ff6239ff
asyncio task factory can accept Coroutines too ( #8205 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-07-03 18:00:29 +01:00
Jelle Zijlstra
eab82c838a
asyncio: updates for 3.11 ( #7844 )
...
CPython changes:
- 13c10bfb77
- 9523c0d84f
- 9f04ee569c
- d03acd7270
- 195a46d6ff
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com >
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-05-17 18:11:29 -07:00
Alex Waygood
97a74bc1aa
Import from collections.abc wherever possible ( #7635 )
2022-04-18 12:50:37 +02:00
Alex Waygood
740193a8fc
Use TypeAlias where possible for type aliases ( #7630 )
2022-04-15 18:01:00 -07:00
Alex Waygood
da3e69d093
stdlib: Improve a bunch of __(a)exit__ methods ( #7571 )
2022-04-01 08:05:25 +02:00
Alex Grönholm
3a8d121890
Fix type of the "host" parameter in asyncio getaddrinfo() ( #7517 )
2022-03-20 13:17:55 +00:00
Alex Waygood
3ab250eec8
Use PEP 604 syntax wherever possible ( #7493 )
2022-03-16 16:01:33 +01:00
Alex Waygood
b228c8d29e
Add asyncio.events.__all__ ( #7266 )
2022-02-18 17:50:28 -08:00
Alex Waygood
fbc279e3f5
stdlib: Add many missing dunder overrides ( #7231 )
2022-02-16 06:25:47 -08:00
Alex Waygood
66a229b709
stdlib: Add several missing comparison methods ( #7202 )
2022-02-14 11:09:52 -08:00
Alex Waygood
63489c305d
asyncio: make AbstractServer abstract and remove unnecessary metaclass=ABCMeta (#7185 )
2022-02-13 23:34:19 +02:00
Sebastian Rittau
92685d18f7
Update to Python 3.9.10 and 3.10.2 ( #6977 )
2022-02-11 17:37:31 -08:00
Nikita Sobolev
1b99812621
Require coroutines for create_task() ( #6779 )
2022-02-02 13:35:00 +01:00
Shantanu
b88a6f19cd
Upgrade black version ( #7089 )
2022-01-30 16:27:06 -08:00
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