Commit Graph

35 Commits

Author SHA1 Message Date
Guo Ci 9309968211 [stdlib] Add __interactivehook__ to sys module (#15024) 2025-11-14 21:39:34 +01:00
Guo Ci f7ff48e6cb sys.monitoring: Add/correct missing items (#14991) 2025-11-07 17:14:58 +01: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
Peter Bierma 3c5531d492 Add type stub for sys._is_immortal (#14931) 2025-10-28 13:19:43 +01:00
Semyon Moroz 5e0d6ee95e [stdlib] Copy-edit deprecation messages (#14614)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2025-08-21 12:12:00 +01:00
Semyon Moroz 9bb8c4f1f9 [stdlib] Add missing Final (#14613) 2025-08-21 12:18:20 +02:00
Semyon Moroz 1e537d6216 [sys] Add missing sys.flags (#14572) 2025-08-13 12:47:37 +02:00
Brian Schubert 622df68c1c Add @type_check_only to stub-only private classes in stdlib (#14512) 2025-08-03 10:13:16 +02:00
Semyon Moroz 78faddc7f9 [sys] Deprecate _enablelegacywindowsfsencoding (#14495) 2025-07-30 06:35:29 +02:00
Max Muoto 3f0dce5abe Update sys.monitoring for 3.14 (#14288) 2025-07-16 14:22:12 +02:00
Anthony Sottile e940f85509 add sys._getframemodulename (#14371)
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
2025-07-05 23:08:56 +03:00
Max Muoto b98b6c376b Add _clear_type_cache 3.13 deprecation (#14302) 2025-06-19 07:04:51 -07:00
Max Muoto 0ba818e2b5 Update sys for 3.14 (#14086) 2025-05-16 19:17:20 -07:00
Sebastian Rittau 45c0e52b30 Remove obsolete mentions of Python 3.8 (#13842) 2025-04-16 11:43:31 +02:00
Peter Bierma 23488363ce Add stub for sys._is_interned (#13778) 2025-04-02 14:15:39 -07:00
Joren Hammudoglu 0a3d8d2696 Drop Python 3.8 support in os and sys (#13764) 2025-04-02 08:50:06 +02:00
Tomas R. 85ce495603 Add sys._clear_internal_caches (#13411) 2025-01-19 15:01:08 +01:00
David Peter 614e9499f1 Annotate sys.platform as LiteralString (#13378) 2025-01-09 18:58:44 +01:00
Peter Bierma 1244636a01 Add stub for sys._is_gil_enabled() (#13358) 2025-01-02 12:28:32 -08:00
Stephen Morton f3dfc90741 sys.tracebacklimit can be set to None (#13173) 2024-12-03 13:16:45 +01:00
Konstantin Baikov 02533d13ea Remove obsolete OptExcInfo from sys (#13117) 2024-11-26 09:10:56 +01: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 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
sobolevn d029c30a16 Add _only_immortal to sys.getunicodeinternedsize (#12248)
Source: https://github.com/python/cpython/blob/3.13/Python/sysmodule.c#L2007-L2026
2024-07-01 23:31:06 +01:00
Sebastian Rittau 0a95341735 Marked the std streams as possibly be None (#11826) 2024-05-21 08:22:29 +02:00
Shantanu 5d580629be sys: fix pos-only args (#11978) 2024-05-18 22:14:44 -04:00
Anderson Bravalheri b42e3b2e89 Use protocols instead of importlib.abc.Loader/MetaPathFinder/PathEntryFinder (#11890) 2024-05-12 11:58:33 +02:00
Shantanu 470a13ab09 Use PEP 570 syntax in stdlib (#11250) 2024-03-09 14:50:16 -08:00
Ran Benita a4f81a67a0 sys: add last_exc on Python>=3.12 (#11378)
https://docs.python.org/3/library/sys.html#sys.last_exc
2024-02-07 20:37:48 +00:00
Sebastian Rittau 53a8193d64 Update typing_extensions imports in stdlib (#11244)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2024-01-05 08:15:19 -08:00
Sebastian Rittau 23604858a6 Remove Python 3.7 branches (#11238) 2024-01-05 11:39:39 +01:00
Jelle Zijlstra 3229b36644 stdlib: More pos-only parameters to Protocols (#10987) 2023-11-06 23:45:12 +01:00
Alex Waygood 77bccbe1f1 sys.monitoring.restart_events() is no longer undocumented (#10938)
Following https://github.com/python/cpython/commit/3f84a19e6291db682fc9a570e7612e80e2ffbbb5
2023-10-27 17:14:54 +01:00
Pavel Karateev 838dd3a5ba Add sys.monitoring from Python 3.12 (#10890)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-10-16 13:50:06 +01:00