Stephen Morton
11ec1a10fd
Improve the SyntaxError constructor; add SyntaxError.print_file_and_line ( #13141 )
2024-11-27 22:21:48 +00:00
Stephen Morton
696e631330
remove broad allowlist entry ( #13139 )
2024-11-27 12:44:04 -08:00
Stephen Morton
4ce28d2539
add encodings.ascii and encodings.latin_1 ( #13113 )
2024-11-26 21:01:33 -08:00
Stephen Morton
c53442c30d
add encodings.raw_unicode_escape and encodings.unicode_escape ( #13114 )
2024-11-26 20:45:48 -08:00
Stephen Morton
3d00ca80f1
add byte-to-byte encodings submodules ( #13120 )
2024-11-26 20:34:39 -08:00
Stephen Morton
3f9c6d5845
Add a batch of encodings submodules ( #13112 )
...
Also align encodings.utf_8 so the stub file is formatted the same
as these others that match
2024-11-26 20:24:29 -08:00
Stephen Morton
8d7436b3ef
add encodings.utf_16 and encodings.utf_32 ( #13121 )
2024-11-26 20:03:53 -08:00
Stephen Morton
900e5c5b1b
Add encodings.mbcs and encodings.oem ( #13122 )
2024-11-26 20:02:49 -08:00
Stephen Morton
720946c9d2
add the remaining encodings submodules ( #13123 )
2024-11-26 20:00:19 -08:00
Stephen Morton
ceec43659c
add _json.encode_basestring ( #13131 )
2024-11-26 19:57:51 -08:00
Stephen Morton
6cbcecd01c
Add a few missing things from _thread ( #13132 )
2024-11-26 19:57:01 -08:00
Brian Schubert
693add9512
Update return type of Generator.close in 3.13 ( #13127 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2024-11-26 13:32:07 -08:00
Konstantin Baikov
02533d13ea
Remove obsolete OptExcInfo from sys ( #13117 )
2024-11-26 09:10:56 +01:00
Stephen Morton
410081e820
fix the length of platform.uname_result ( #13068 )
...
It should be a 6-tuple, once processor is added. This makes sure mypy understands that.
Fixes https://github.com/python/typeshed/issues/13064
2024-11-25 11:53:25 -08:00
Konstantin Baikov
b815bfaf3c
Fix tkinter ImageSpec #11721 ( #13049 )
2024-11-25 20:45:58 +02:00
Stephen Morton
0521fce9f9
Avoid using _typeshed.StrEnum ( #13062 )
2024-11-25 18:35:32 +01:00
Brian Schubert
b15c302227
Update configparser.SectionProxy.get* to return T | None when fallback is not specified ( #12936 )
2024-11-25 18:34:29 +01:00
Stephen Morton
4944f1b12c
add sqlite3.dump ( #13085 )
2024-11-25 18:14:45 +01:00
Alex Waygood
764d71739b
Remove unused allowlist entry ( #13107 )
2024-11-25 16:53:14 +00:00
Brian Schubert
03114380b7
Add overload w.r.t. fallback parameter to configparser.SectionProxy.get ( #12935 )
2024-11-25 17:02:41 +01:00
Stephen Morton
d14133b3a6
add the undocumented ctypes.macholib module ( #13086 )
2024-11-25 16:59:59 +01:00
Stephen Morton
927302347f
add another batch of encoding submodules ( #13088 )
2024-11-25 07:31:06 -08:00
Stephen Morton
0a541ad47f
add multi-byte encodings submodules ( #13093 )
2024-11-25 12:14:59 +01:00
Tomas R.
fadb539f12
Add gettext.c2py ( #13078 )
...
Add a stub for gettext.c2py
2024-11-25 00:36:22 -08:00
Stephen Morton
37eba41407
Add a bunch of encodings submodules ( #13087 )
...
each file in this set is the exact same
2024-11-24 07:56:36 -08:00
Stephen Morton
4059f3edb9
add json.scanner module ( #13084 )
2024-11-24 07:54:45 -08:00
Stephen Morton
f9475acbe0
clean up ipaddress allowlist entries ( #13079 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2024-11-24 07:54:12 -08:00
Stephen Morton
8a485331c9
address some multiprocessing allowlist entries ( #13080 )
2024-11-23 16:37:22 -08:00
Stephen Morton
9614cc2d88
Fix some CAPI annotations ( #13081 )
2024-11-24 00:00:49 +00:00
Stephen Morton
7ab6620c0f
fix argument for ctypes.string_at and ctypes.wstring_at ( #13075 )
2024-11-23 05:11:17 -08:00
Stephen Morton
982fb8358b
__reversed__ on dict views (#13073 )
...
KeysView doesn't have __reversed__, but dict_keys does. When this
was added to typeshed, we didn't have dict_keys as a separate type.
2024-11-23 05:09:37 -08:00
Stephen Morton
ba9116c684
mark sys.UnraisableHookArgs as type_check_only ( #13077 )
...
mark sys.UnraisableHookArgs as type_check_only
2024-11-23 11:16:45 +00:00
Stephen Morton
ff75709586
remove duplicate allowlist entry ( #13076 )
...
tkinter.Text.count is in both common.txt and py313.txt
2024-11-23 11:03:54 +00:00
Stephen Morton
b5ce9c5069
remove duplicate allowlist entry ( #13074 )
...
asyncio.base_events.BaseEventLoop.subprocess_exec is in both
common.txt and py310.txt for some reason
2024-11-22 22:26:08 -08:00
Stephen Morton
05b969f975
add missing _ctypes functions ( #13067 )
2024-11-22 16:07:12 +01:00
Stephen Morton
1af850d2b0
remove _posixsubprocess.cloexec_pipe ( #13066 )
...
removed from cpython in 2013...
daf455554b
2024-11-21 19:53:37 -08:00
Stephen Morton
bb0e1e2c16
_csv.Reader and _csv.Writer ( #13057 )
2024-11-21 11:13:53 +01:00
Stephen Morton
d84476ca57
add os.__all__ ( #13052 )
2024-11-21 10:56:21 +01:00
Stephen Morton
32f48a5eae
add several NamedTuple base classes ( #12987 )
2024-11-21 10:52:31 +01:00
Stephen Morton
0fb3a092c7
Miscellaneous type_check_only annotations ( #13058 )
2024-11-21 08:41:38 +00:00
Stephen Morton
fd6f10c8d1
cpython -> CPython ( #13050 )
2024-11-20 19:51:30 +01:00
Stephen Morton
308a09f056
Clean up/rework socket constants and add __all__ ( #13044 )
2024-11-20 14:05:11 +01:00
Stephen Morton
be624e5124
add email.__all__ ( #13047 )
2024-11-20 13:57:41 +01:00
Stephen Morton
971f0c64c6
Add xml.__all__, remove import not existing at runtime ( #13048 )
2024-11-20 13:56:44 +01:00
Rebecca Chen
921c65304e
Annotate TypedDict as _SpecialForm rather than object. ( #12985 )
...
* Annotate TypedDict as _SpecialForm rather than object.
Let's see if this works...
* Get typing_extensions.TypedDict as well, try to fix tests.
* Import typing_extensions.TypedDict, delete _SpecialForm.__getitem__.
* Back out deletion of _SpecialForm.__getitem__.
2024-11-19 22:50:42 -08:00
Avasam
4addb8dd0b
setuptools & distutils: more accurate spawn method ( #13036 )
2024-11-19 03:50:38 -08:00
Stephen Morton
3c869a3165
add zipfile._path.__all__ ( #13040 )
2024-11-19 03:49:17 -08:00
Stephen Morton
5903805b91
add email._policybase.__all__ ( #13041 )
...
add email._policybase.__all__
2024-11-19 03:48:55 -08:00
Stephen Morton
9eb54bc710
add importlib.resources.abc.__all__ ( #13039 )
2024-11-19 05:53:43 +01:00
Stephen Morton
6647ae9bc7
improvements for hidden types in the sys module ( #13031 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2024-11-18 22:55:03 +00:00