Max Muoto
f190a1f213
Remove ParamSpec for SupportsReplace ( #12410 )
2024-09-14 11:42:30 +02:00
Max Muoto
eaeb56ffcf
Add missing winapi constants for 3.13 ( #12657 )
2024-09-14 11:39:22 +02:00
Max Muoto
9e787769c6
Remove _msi in 3.13 ( #12659 )
2024-09-14 11:20:49 +02:00
Max Muoto
53d4877071
Move __replace__ issues out of triage ( #12656 )
2024-09-13 22:39:34 -07:00
Sebastian Rittau
a29d6710a5
Move platform-specific allowlist entries ( #12644 )
2024-09-12 11:04:07 +02:00
Sebastian Rittau
c7c430857e
stdlib updates for latest Python patch releases ( #12638 )
2024-09-11 17:58:24 +02:00
Max Muoto
089953ed84
Fix doctest for 3.13 ( #12625 )
2024-09-08 12:38:13 +02:00
Adam Dangoor
61ed105cdb
Mark _TemporaryFileWrapper argument as positional-only ( #12624 )
...
The following code errors at runtime:
```python
import tempfile
with tempfile.NamedTemporaryFile() as f:
f.write(s=b"")
```
```
TypeError: BufferedRandom.write() takes no keyword arguments
```
2024-09-07 02:33:02 -07:00
Avasam
0784bf6bee
distutils: add missing generated attributes ( #12467 )
2024-09-06 15:07:44 -07:00
Sebastian Rittau
cc45a6e9ba
Move BufferedIOBase.raw to sub-classes ( #12571 )
2024-09-06 15:03:08 -07:00
Sebastian Rittau
6441408aaa
Use TypedDict for return type of localeconv() ( #12600 )
...
Mark constants as Final in _locale.pyi
2024-09-05 02:13:41 +02:00
Avasam
89e0b691db
Enable more Ruff PYI rules with autofixes ( #12557 )
2024-09-04 19:50:07 -04:00
Tomas R
6b1566d81c
Fix signature of CodecInfo.decode ( #12610 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2024-09-01 20:28:13 +03:00
Vito De Tullio
4507d26ef2
curses: mark keypad yes parameter as positional only ( #12605 )
...
matches the runtime check: "TypeError: window.keypad() takes no keyword arguments"
2024-09-01 20:20:31 +03:00
Avasam
f87041e118
distutils: expose Command.dry_run + make 0|1 attrs bool ( #12607 )
2024-08-30 18:32:54 +02:00
Peter Bierma
1a59cc28ba
Add complex arithmetic types to ctypes ( #12480 )
2024-08-29 17:27:37 +02:00
Max Muoto
63db21eaa0
Add __replace__ for AST and AST subclasses ( #12486 )
2024-08-29 17:25:54 +02:00
Max Muoto
ad6eed0777
Add _thread.start_joinable_thread and _thread.lock for 3.13 ( #12588 )
2024-08-29 17:20:02 +02:00
Max Muoto
70e9748f18
Fix _thread.interrupt_main for 3.10+ ( #12586 )
2024-08-29 17:10:17 +02:00
Sebastian Rittau
039c6bcdb1
Use Self for email.message attachments ( #12530 )
...
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Avasam <samuel.06@hotmail.com >
2024-08-29 10:48:32 -04:00
Sebastian Rittau
073b270e55
Update issues numbers for builtins.function ( #12580 )
2024-08-22 19:20:28 +02:00
Avasam
98af3eb9da
Add unittest.runner._WritelnDecorator ( #12407 )
2024-08-22 09:50:31 +02:00
Sebastian Rittau
7865a78de1
socketserver: Use BufferedIOBase instead of BinaryIO ( #12568 )
2024-08-21 19:25:06 -07:00
Avasam
3719f02dbf
Using precise code for pyright: ignore and re-enabling various pyright tests ( #12576 )
2024-08-22 03:34:52 +02:00
Sebastian Rittau
7f38b116a0
Remove redundant overloads from IO ( #12570 )
2024-08-21 15:55:22 +02:00
Kevin Van Brunt
86e74163b9
Fix DatagramRequestHandler.packet type hint. ( #12563 )
2024-08-21 12:53:49 +02:00
Avasam
937270df0c
Forbid extremely long line lengths in non-autogenerated stubs ( #12537 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2024-08-18 16:03:34 -04:00
Peter Bierma
eb8e9ddd91
Add stubs for operator.is_none and operator.is_not_none ( #12535 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2024-08-18 00:09:54 +03:00
Max Muoto
82da1e19a7
Use Final in tkinter ( #12545 )
2024-08-17 22:34:16 +02:00
Max Muoto
9ecd07a669
Use Final for Pre-Defined Hashing Methods in crypt ( #12544 )
2024-08-17 22:15:05 +02:00
Max Muoto
7b9263a7d2
Use Final in _stat module ( #12546 )
2024-08-17 22:14:45 +02:00
Max Muoto
6644250819
Use Final in cmd ( #12543 )
2024-08-17 21:59:49 +02:00
Max Muoto
21f7d012b3
Use Final in json module ( #12542 )
2024-08-17 21:57:56 +02:00
Max Muoto
fe2c401fd5
Use Final in pyexpat module ( #12541 )
2024-08-17 21:57:27 +02:00
Max Muoto
30bbd8640a
Final for distutils constants ( #12454 )
...
Co-authored-by: Avasam <samuel.06@hotmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-17 15:49:35 -04:00
Avasam
45627d18dd
Update incorrect or incomplete constants in distutils ( #12536 )
2024-08-17 20:51:42 +02:00
Andrej
f4d099dd77
fix missing 'at' attribute in zipfile.Path ( #12533 )
2024-08-16 16:29:27 +02:00
Sebastian Rittau
5403e4aaeb
Ignore incompatible changes introduced in Python 3.12.5 ( #12531 )
2024-08-15 22:31:58 +02:00
Max Davidson
311f740889
more precise timezone-aware deprecation message ( #12528 )
2024-08-15 16:32:45 +02:00
Marti Raudsepp
1ace5718de
Fix inferred type of is_dataclass(Any) ( #12517 )
2024-08-14 23:09:11 +02:00
Sam Bull
c03f07abfb
Add urllib.request.getproxies_environment() ( #12524 )
2024-08-13 14:13:03 -07:00
Alyssa Coghlan
bed832da8a
Allow float for TarInfo.mtime ( #12521 )
2024-08-13 10:57:21 +02:00
Avasam
a919d8dfe3
distutils & setuptools: all possible dynamic command method overloads (#12507 )
2024-08-12 13:42:09 +02:00
Max Muoto
dc0b63fd68
Accurate overloads for ZipFile.__init__ ( #12119 )
...
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com >
2024-08-11 16:17:06 -07:00
Max Muoto
b406ba9315
Add _recreate_cm to ContextDecorator and AsyncContextDecorator ( #12479 )
2024-08-10 16:00:52 -07:00
Avasam
9cdedcc130
Add __all__ to distutils.command ( #12508 )
2024-08-11 00:10:41 +03:00
Akuli
c04a752e24
Create overloads for tkinter.Text.count ( #12395 )
2024-08-11 00:08:24 +03:00
Max Muoto
044ad59988
Update email/utils for 3.14 ( #12491 )
2024-08-10 23:57:32 +03:00
Max Muoto
f3b1ee9604
Update argparse.BooleanOptionalAction for 3.14 ( #12489 )
...
Co-authored-by: Akuli <akuviljanen17@gmail.com >
2024-08-10 23:53:05 +03:00
Peter Bierma
ae15dd3158
Restore the deprecated logging.warn() in 3.13 ( #12509 )
2024-08-10 23:52:20 +03:00