Commit Graph
31 Commits
Author SHA1 Message Date
Guo Ci 90d855985b [enum] Add Flag._numeric_repr_ (#15061) 2025-12-21 19:06:04 +01:00
Guo Ci 67c0ee5193 [ctypes] update ctypes.CField (#15052) 2025-12-20 23:39:57 +01:00
Guo Ci 75e2639052 [stdlib][socket] import constants from the _socket module (#15127) 2025-12-11 22:50:12 +01:00
Guo Ci f1359a6c84 [stdlib] memoryview updates for version 3.14 (#15102) 2025-12-11 12:40:25 +01:00
Guo Ci 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 Ci 1df82ed1bf [ctypes] Add _layout_ attribute for ctypes.Structure (#15091) 2025-12-01 16:33:02 +01:00
Guo Ci 148b8e631d [typing] Add NewType.__name__ attribute (#15092) 2025-11-28 23:12:15 +01:00
Guo Ci 1218f18d89 [zipfile] Add _for_archive method for zipfile.ZipInfo (#15077) 2025-11-24 23:29:31 +01:00
Guo Ci aa70a2fe18 [xml.etree] Add _setroot method to xml.etree.ElementTree.ElementTree (#15078) 2025-11-24 23:15:26 +01:00
Guo Ci 281be89d67 [stdlib] Add interrupt method for multiprocessing.Process (#15064) 2025-11-24 17:50:35 +01:00
Guo Ci 050ec19526 [stdlib] add multiprocessing.synchronize.SemLock.locked (#15065) 2025-11-24 17:39:19 +01:00
Guo Ci bc805f6bad [multiprocessing] Update BaseListProxy, multiprocessing.managers.list (#15070) 2025-11-24 17:30:50 +01:00
Guo Ci c42613e4c4 [stdlib] Add method_calls attribute to NonCallableMock class (#15076) 2025-11-24 16:51:05 +01:00
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 Ci ba99abaf21 [stdlib] Correct IllegalMonthError, IllegalWeekdayError type stubs (#15050) 2025-11-18 19:46:39 +00:00
Guo Ci ebce8d766b [stdlib] Add overloads for sys.intern function for LiteralString inputs (#15034) 2025-11-15 21:44:51 +01:00
Guo Ci 1ef6a70bc1 [stdlib][sys] Change return types to use Literal/LiteralString (#15032) 2025-11-15 17:59:04 +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
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
Guo Ci f7ff48e6cb sys.monitoring: Add/correct missing items (#14991) 2025-11-07 17:14:58 +01:00
Guo Ci 37dceef034 Add locale.localize (#14970) 2025-11-03 19:01:04 +01:00
Guo Ci 1d548aa889 Add show_flag_values in enum module. (#14928) 2025-10-29 12:17:48 -04:00
Guo CiandAlex Waygood 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 CiandAlex Waygood 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 CiandAlex Waygood 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