37 Commits
Author SHA1 Message Date
Guo CiandGitHub da6e5e9d8a Replace int | SupportsIndex with SupportsIndex (#15389) 2026-02-09 16:38:28 +01:00
Guo CiandGitHub ae6f49adc9 [stdlib/enum] add enum.bin (#15388)
docs: https://docs.python.org/dev/library/enum.html#enum.bin
source: https://github.com/python/cpython/blob/3.11/Lib/enum.py#L132-L154
2026-02-07 19:16:36 -08:00
Guo CiandGitHub e872935317 [tarfile] TarFile.errorlevel can't be None (#15214) 2026-01-15 12:38:36 +01:00
Guo CiandGitHub a68aa254d9 [tarfile] Fix pax_headers type annotation in tarfile.pyi (#15215) 2026-01-06 18:22:22 +01:00
Guo CiandGitHub 6b01bd4b54 [sys.monitoring] Change return type of set_local_events to None (#15216) 2026-01-06 17:55:49 +01:00
Guo CiandGitHub 831b6a402a [sys.monitoring] Change ignored Callable return type to object (#15217) 2026-01-06 17:54:30 +01:00
Guo CiandGitHub 90d855985b [enum] Add Flag._numeric_repr_ (#15061) 2025-12-21 19:06:04 +01:00
Guo CiandGitHub 67c0ee5193 [ctypes] update ctypes.CField (#15052) 2025-12-20 23:39:57 +01:00
Guo CiandGitHub 75e2639052 [stdlib][socket] import constants from the _socket module (#15127) 2025-12-11 22:50:12 +01:00
Guo CiandGitHub f1359a6c84 [stdlib] memoryview updates for version 3.14 (#15102) 2025-12-11 12:40:25 +01:00
Guo CiandGitHub a06e16eae2 [stdlib] Update fromhex method bytes and bytesarray (#15103)
docs:
https://docs.python.org/dev/library/stdtypes.html#bytes.fromhex
https://docs.python.org/dev/library/stdtypes.html#bytearray.fromhex
2025-12-04 11:59:52 -08:00
Guo CiandGitHub 1df82ed1bf [ctypes] Add _layout_ attribute for ctypes.Structure (#15091) 2025-12-01 16:33:02 +01:00
Guo CiandGitHub 148b8e631d [typing] Add NewType.__name__ attribute (#15092) 2025-11-28 23:12:15 +01:00
Guo CiandGitHub 1218f18d89 [zipfile] Add _for_archive method for zipfile.ZipInfo (#15077) 2025-11-24 23:29:31 +01:00
Guo CiandGitHub aa70a2fe18 [xml.etree] Add _setroot method to xml.etree.ElementTree.ElementTree (#15078) 2025-11-24 23:15:26 +01:00
Guo CiandGitHub 281be89d67 [stdlib] Add interrupt method for multiprocessing.Process (#15064) 2025-11-24 17:50:35 +01:00
Guo CiandGitHub 050ec19526 [stdlib] add multiprocessing.synchronize.SemLock.locked (#15065) 2025-11-24 17:39:19 +01:00
Guo CiandGitHub bc805f6bad [multiprocessing] Update BaseListProxy, multiprocessing.managers.list (#15070) 2025-11-24 17:30:50 +01:00
Guo CiandGitHub c42613e4c4 [stdlib] Add method_calls attribute to NonCallableMock class (#15076) 2025-11-24 16:51:05 +01:00
Guo CiGitHubpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>Alex Waygood
8c7256c8fd [stdlib] Add locked method to threading.Condition (#15075)
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>
2025-11-23 18:28:59 +00:00
Guo CiandGitHub ba99abaf21 [stdlib] Correct IllegalMonthError, IllegalWeekdayError type stubs (#15050) 2025-11-18 19:46:39 +00:00
Guo CiandGitHub ebce8d766b [stdlib] Add overloads for sys.intern function for LiteralString inputs (#15034) 2025-11-15 21:44:51 +01:00
Guo CiandGitHub 1ef6a70bc1 [stdlib][sys] Change return types to use Literal/LiteralString (#15032) 2025-11-15 17:59:04 +01:00
Guo CiandGitHub 684c0a6007 [stdlib] add importlib.util._incompatible_extension_module_restrictions (#15013) 2025-11-14 22:22:41 +01:00
Guo CiandGitHub ead68af433 [stdlib] Add HAS_PHA (#15016) 2025-11-14 21:52:29 +01:00
Guo CiandGitHub 0244ef7748 [stdlib][os] Change some str types to LiteralString (#15018) 2025-11-14 21:42:26 +01:00
Guo CiandGitHub 9309968211 [stdlib] Add __interactivehook__ to sys module (#15024) 2025-11-14 21:39:34 +01:00
Guo CiandGitHub 70fee29cc2 [stdlib][threading] Add threading.__excepthook__ (#15023) 2025-11-14 21:39:18 +01:00
Guo CiandGitHub 904ea9ec02 Add utf8_enabled attribute to IMAP4 class (#15006) 2025-11-09 21:16:47 +00:00
Guo CiandGitHub b96b61efad Add blocksize attribute to HTTPConnection class (#15005) 2025-11-09 21:01:50 +00:00
Guo CiandGitHub f7ff48e6cb sys.monitoring: Add/correct missing items (#14991) 2025-11-07 17:14:58 +01:00
Guo CiandGitHub 37dceef034 Add locale.localize (#14970) 2025-11-03 19:01:04 +01:00
Guo CiandGitHub 1d548aa889 Add show_flag_values in enum module. (#14928) 2025-10-29 12:17:48 -04:00
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
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
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 CiandGitHub 1bfd069f6d add os.reload_environ (#14938) 2025-10-29 10:15:37 -04:00