Martin Fischer
771813968a
Fix broken link in CONTRIBUTING.md ( #7282 )
...
The section was moved in 3ba35f3552 .
2022-02-19 03:50:20 -08:00
Alex Waygood
3446a40fb5
Add asyncio.transports.__all__ ( #7281 )
2022-02-18 19:25:33 -08:00
Alex Waygood
d9e7673273
Add asyncio.tasks.__all__ ( #7280 )
2022-02-18 19:15:09 -08:00
Alex Waygood
309b6f2b52
Add `asyncio.windows_utils.__all__ ( #7278 )
2022-02-18 19:06:01 -08:00
Alex Waygood
e3e3db6fe5
Add asyncio.threads.__all__ ( #7277 )
2022-02-18 18:45:58 -08:00
Alex Waygood
a9f80c64b9
Add asyncio.subprocess.__all__ ( #7276 )
2022-02-18 18:45:52 -08:00
Alex Waygood
1f2c21d9e9
Add asyncio.staggered.__all__ ( #7274 )
2022-02-18 18:37:18 -08:00
Alex Waygood
6672e57e75
Add asyncio.runners.__all__ ( #7273 )
...
Nice and simple, this one.
2022-02-18 18:37:09 -08:00
Alex Waygood
d690238d8b
Add asyncio.queues.__all__ ( #7272 )
2022-02-18 18:30:20 -08:00
Alex Waygood
8d63713200
Add asyncio.protocols.__all__ ( #7271 )
2022-02-18 18:30:06 -08:00
Alex Waygood
7dbd29174c
Add asyncio.proactor_events.__all__ ( #7270 )
2022-02-18 18:26:31 -08:00
Alex Waygood
29ac4cccc5
Add asyncio.locks.__all__ ( #7269 )
2022-02-18 18:26:25 -08:00
Alex Waygood
5729a239ae
Add asyncio.futures.__all__ ( #7268 )
2022-02-18 18:16:09 -08:00
Alex Waygood
b228c8d29e
Add asyncio.events.__all__ ( #7266 )
2022-02-18 17:50:28 -08:00
Alex Waygood
8fd630051d
Add asyncio.exceptions.__all__ ( #7267 )
2022-02-18 17:45:21 -08:00
Alex Waygood
9fb9a197b5
Add asyncio.base_events.__all__ ( #7264 )
2022-02-18 17:36:41 -08:00
Alex Waygood
ee4ee8bb0f
Add asyncio.coroutines.__all__ ( #7265 )
2022-02-18 17:36:29 -08:00
Alex Waygood
ad6982e4b8
Add argparse.__all__ ( #7263 )
2022-02-18 17:35:27 -08:00
Jukka Lehtosalo
04100b9cec
Improve signature of overlaps in ipaddress ( #7260 )
...
The `overlaps` method returns False if the version is different:
```
import ipaddress as i
v4=i.IPv4Network('10.0.0.0/8')
v6=i.IPv6Network('2001:db8::2000/124')
print(v6.overlaps(v4)) # False
```
2022-02-18 07:36:07 -08:00
Nikita Sobolev
2ada15c4e4
Use Literal type in msvcrt ( #7257 )
2022-02-18 01:27:28 -08:00
Guido van Rossum
644d5540bc
Tweaks to the TaskGroup API ( #7255 )
...
* Remove TaskGroup name arg and get_name() method
(We removed those from the implementation.)
* Add optional name arg to create_task()
See https://github.com/python/cpython/pull/31398
2022-02-17 21:32:37 -08:00
Nikita Sobolev
90bdda8fd9
Remove _NNTPBase from nntplib ( #7251 )
2022-02-18 00:52:38 +02:00
J Rob Gant
99aedf4724
Tag.attrs is a dict, instead of an immutable Mapping ( #7253 )
2022-02-18 00:46:49 +02:00
Sebastian Rittau
ae39348d7a
Annotate Session.execute() and Result ( #7252 )
...
* Annotate return type of Session.execute()
* Annotate Result return types
* Remove sub-class overrides with identical signatures
2022-02-17 09:27:55 -08:00
Alex Waygood
1f6c691322
Add missing dunder overrides in array, tracemalloc and unittest.mock ( #7248 )
2022-02-17 13:22:33 +01:00
Spencer Brown
5c309e5fe4
Add missing tagOrId parameter to tkinter.Canvas.coords() ( #6920 ) ( #7246 )
2022-02-17 11:45:31 +02:00
Sebastian Rittau
e3742686b1
Update to redis 4.1.4 ( #7247 )
...
Closes : #7245
2022-02-17 01:33:33 -08:00
Sebastian Rittau
4a0dabda1b
Various SQLalchemy type improvements ( #7238 )
...
* Make ColumnOperators and ColumnElement generic
* Overload Session.query() return type
* Annotate ColumnOperators methods
2022-02-16 19:03:48 -08:00
Rogdham
63c20e3ce7
xml: use SupportsRead/SupportsWrite instead of IO ( #7241 )
2022-02-16 19:02:30 -08:00
Alex Waygood
1091521f60
stdlib: Add several missing __(deep)copy__ methods ( #7242 )
2022-02-16 18:57:41 -08:00
Alex Waygood
d869f2e5a3
Improve ipaddress dunders ( #7244 )
2022-02-16 18:55:39 -08:00
Guido van Rossum
35bddd289f
Add asyncio.taskgroups and new Task methods ( #7240 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2022-02-17 00:32:20 +02:00
Alex Waygood
5a8b9dafb3
Fix various py310 stubtest errors ( #7239 )
2022-02-16 11:47:49 -08:00
Alex Waygood
fef3a71459
poplib.POP3_SSL.stls unconditionally raises an exception (#7191 )
...
Source code here: 0ae4019179/Lib/poplib.py (L460)
We have to keep the method in the stub, as it's overriding a method in the superclass that doesn't unconditionally raise.
2022-02-16 07:02:00 -08:00
Alex Waygood
a599af5c74
Make pydoc.Doc an abstract class ( #7200 )
2022-02-16 07:01:48 -08:00
Alex Waygood
28a760cd2c
Improve pyclbr.pyi ( #7229 )
2022-02-16 07:01:27 -08:00
Sebastian Rittau
44bcf5eed0
Various SQLalchemy fixes and improvements ( #7237 )
2022-02-16 06:46:11 -08:00
Alex Waygood
fbc279e3f5
stdlib: Add many missing dunder overrides ( #7231 )
2022-02-16 06:25:47 -08:00
Mateusz Nowak
409beea616
tkinter.simpledialog.ask* functions can return None ( #7219 )
2022-02-16 12:48:04 +02:00
Nikita Sobolev
1903038adb
Backport ossaudiodev availability to @python2 ( #7236 )
2022-02-16 11:22:51 +01:00
Nikita Sobolev
09395dd747
Add --disallow-untyped-decorators to mypy_test ( #7235 )
2022-02-16 01:47:52 -08:00
Alex Waygood
1341a34525
Remove unused allowlist entries in babel and requests ( #7233 )
2022-02-15 16:26:13 -08:00
Alex Waygood
3567aaa93f
Fix positional-only differences in sqlite3 ( #7222 )
2022-02-15 13:01:26 -08:00
Alex Waygood
5e8a2a9364
Fix various pos-only stubtest complaints previously allowlisted ( #7228 )
2022-02-15 17:51:34 +01:00
Alex Waygood
1317fa7af9
Fix positional-only differences in threading.local ( #7227 )
...
Last one of these, I think.
2022-02-15 07:16:20 -08:00
Alex Waygood
4ab5033e5b
Make mailbox.MailDir abstract ( #7201 )
2022-02-15 06:47:17 -08:00
Alex Waygood
96b06adf2c
Add missing descriptor methods in dataclasses and functools ( #7203 )
2022-02-15 06:45:49 -08:00
Shantanu
feb20fc20a
urllib.request: loosen data type ( #7211 )
...
Fixes #7208
This is what urllib.request claims to support over here:
ad4e8d2b87/Lib/urllib/request.py (L1276)
There is additional validation logic (e.g. strs don't work), but a lot
of what determines what works is over here:
ad4e8d2b87/Lib/http/client.py (L1039)
2022-02-15 06:44:28 -08:00
Alex Waygood
e976ee1988
Improve traceback.FrameSummary ( #7210 )
2022-02-15 06:43:11 -08:00
Alex Waygood
5e7909d9b3
Fix positional-only differences in types ( #7220 )
2022-02-15 06:27:09 -08:00