Commit Graph

6262 Commits

Author SHA1 Message Date
Guo Ci 1ef6a70bc1 [stdlib][sys] Change return types to use Literal/LiteralString (#15032) 2025-11-15 17:59:04 +01:00
Semyon Moroz 1dad9a5857 [compression] Add Protocol _Decompressor (#14885) 2025-11-14 22:23:15 +01:00
Guo Ci 684c0a6007 [stdlib] add importlib.util._incompatible_extension_module_restrictions (#15013) 2025-11-14 22:22:41 +01:00
Guo Ci ead68af433 [stdlib] Add HAS_PHA (#15016) 2025-11-14 21:52:29 +01:00
Guo Ci 0244ef7748 [stdlib][os] Change some str types to LiteralString (#15018) 2025-11-14 21:42:26 +01:00
Guo Ci 9309968211 [stdlib] Add __interactivehook__ to sys module (#15024) 2025-11-14 21:39:34 +01:00
Guo Ci 70fee29cc2 [stdlib][threading] Add threading.__excepthook__ (#15023) 2025-11-14 21:39:18 +01:00
Gabe R. c453da93bf Add TypeVars for the Iterators in select.select (#15022) 2025-11-14 21:26:19 +01:00
Semyon Moroz 0c0bad8831 [unittest] Improve annotations of three_way_cmp (#15003) 2025-11-14 17:02:11 +01:00
Guo Ci 904ea9ec02 Add utf8_enabled attribute to IMAP4 class (#15006) 2025-11-09 21:16:47 +00:00
Guo Ci b96b61efad Add blocksize attribute to HTTPConnection class (#15005) 2025-11-09 21:01:50 +00:00
Ravencentric 5aea29705b make stat.FILE_ATTRIBUTE_* available on all platforms (#14866) 2025-11-08 17:43:53 +01:00
Guo Ci f7ff48e6cb sys.monitoring: Add/correct missing items (#14991) 2025-11-07 17:14:58 +01:00
Sebastian Rittau 07b69ab9e9 [uuid] Replace properties with Final fields (#14968) 2025-11-05 14:04:00 +01:00
Michael H 29f78ddcd1 Amend annotation for asyncio.Protocol.__slots__ (#14980) 2025-11-04 17:13:12 -05:00
Semyon Moroz 546dd282c3 [html.parser] Add scripting param for later patch releases (#14979) 2025-11-04 17:37:43 +01:00
Guo Ci 37dceef034 Add locale.localize (#14970) 2025-11-03 19:01:04 +01:00
Sebastian Rittau ce3094cc5e Remove typing._promote (#14958)
Part of #7580
2025-11-03 00:27:19 -08:00
Shantanu f5d7efa8bf Use consistent definition of NotImplementedType (#14971) 2025-11-03 08:51:14 +01:00
Semyon Moroz 5dd19592d3 [parser] Add default values (#14967) 2025-11-02 15:04:16 +01:00
Randolf Scholz 7fde97036f Move NotImplementedType to types.pyi (#14966) 2025-11-02 15:00:52 +01:00
AN Long 4e38fa4a82 Allow None for sub_key in winreg (#14963) 2025-11-01 18:56:31 +01:00
Sebastian Rittau be34e9201d Change type.__dict__ to a proper attribute (#14951) 2025-11-01 03:00:14 +01:00
Doug Hoskisson c72a3e97a3 Don't require IO for redirect_stdout (#14905) 2025-10-30 21:43:29 +01:00
Stan Ulbrych 947ec497ec Remove zlib.ZLIBNG_VERSION Windows requirement (#14947) 2025-10-30 12:49:57 +01:00
Guo Ci 1d548aa889 Add show_flag_values in enum module. (#14928) 2025-10-29 12:17:48 -04:00
Guo Ci 543f7f2384 Add type stub for sys.getandroidapilevel (#14936)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2025-10-29 10:55:10 -04:00
Guo Ci de2a42713a Add type stub for sys._current_exceptions (#14937)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2025-10-29 10:38:22 -04:00
Guo Ci eb746bea3f In sysconfig module, add _get_preferred_schemes (#14934)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2025-10-29 10:35:59 -04:00
Guo Ci 1bfd069f6d add os.reload_environ (#14938) 2025-10-29 10:15:37 -04:00
Peter Bierma 3c5531d492 Add type stub for sys._is_immortal (#14931) 2025-10-28 13:19:43 +01:00
Semyon Moroz ee5f0348f2 [turtle] Use bool for add params (#14898) 2025-10-21 13:09:56 +02:00
Maxime Arthaud 4c4f999717 Add explicit definition for __repr__ and __str__ in BaseException (#14900) 2025-10-20 14:17:08 +01:00
Semyon Moroz 11e7d904b9 [cmath] Rename positional-only param in log (#14897) 2025-10-19 17:31:11 +02:00
Alex Waygood 11c7821a79 Fix stdlib stubtest flakes (#14886) 2025-10-15 18:42:05 +01:00
Sebastian Rittau d119712705 Fix daily stubtest error: Add find_distributions() to stubtest allowlist (#14879) 2025-10-15 17:41:39 +02:00
Semyon Moroz d6f4a0f710 [turtle] Use Literal for string params (#14874) 2025-10-14 20:33:25 +02:00
Semyon Moroz 25f3f74ad3 [tkinter] Remove _TextIndex alias (#14792) 2025-10-12 21:32:54 +03:00
Semyon Moroz 560f6ddd32 [html.parser] Fix stubtest for later patch releases (#14861) 2025-10-10 18:23:39 +02:00
Sebastian Rittau 2ed2765d8d [CI] Remove @disjoint_base hacks (#14854) 2025-10-08 21:36:59 +02:00
Sebastian Rittau 3ee1e5b893 Add Pdb.rlcompleter added in Python 3.13.8 (#14852) 2025-10-08 11:46:11 -07:00
Sebastian Rittau cbc0fd70ed _csv: argument fixes (#14851) 2025-10-08 11:45:42 -07:00
Thanos be7e7c5e2b Restrict filename parameter of compile() (and other stdlib functions wrapping compile()) to take bytes, not Buffer. (#14847) 2025-10-08 16:32:16 +02:00
Matthew Mckee 12e7d4e9cf Use Element[Any] instead of Element in ElementTree (#14198) 2025-10-08 14:35:12 +02:00
Joren Hammudoglu 3542650a05 Covariant key type for MappingProxyType (#13940) 2025-10-08 13:43:54 +02:00
Avasam cffeff0b61 Update comments for operator.itemgetter.__call__ generic following mypy 1.11 fix (#13489) 2025-10-08 10:51:14 +02:00
Carl Meyer fe11cc058c TypeAliasType.__type_params__ can return forms from typing_extensions (#14848) 2025-10-07 16:45:48 +01:00
GastonAQS e057b9f97f Add broad definition for c_bool constructor (#14841) 2025-10-07 14:56:11 +02:00
sobolevn dfaf10db5c importlib.resources.contents is deprecated (#14835) 2025-10-07 11:28:16 +02:00
Carl Meyer f1f3c12801 TypeAliasType type_params accepts typing_extensions.TypeVar also (#14840) 2025-10-06 21:57:15 +01:00