cpython
cpython copied to clipboard
The Python programming language
BPO | [42297](https://bugs.python.org/issue42297) --- | :--- Nosy | @rhettinger, @TurboTurtle, @bobblanchett *Note: these values reflect the state of the issue at the time it was migrated and might not reflect...
Fix a crash caused by immortal interned strings being shared between sub-interpreters that use basic single-phase init. In that case, the string can be used by an interpreter that outlives...
Fix a crash caused by immortal interned strings being shared between sub-interpreters that use basic single-phase init. In that case, the string can be used by an interpreter that outlives...
The usage parameter of argparse.ArgumentParser no longer affects the default value of the prog parameter in subparsers. Previously the full custom usage of the main parser was used as the...
As we scale up our use of `except*` and `ExceptionGroups`, we've noticed that `isinstance()` checks get noticeably more clumsy: ```python # often the isinstance is implicit due to an except-statement...
This is the simplest implementation I could think of. Another alternative I had in mind was to specialize the code for leaf exceptions but this would need to move around...
# Bug report ### Bug description: Python's new REPL seems to eat exit codes and instead return 1: ``` ¶ python Python 3.13.0 (main, Oct 19 2024, 04:14:02) [GCC 12.2.0]...
The internals documentation is scattered in markdown files in the codebase, as well as parts which are in the dev guide. We would like to have it in one place,...
It would be useful to be able to detect: 1) the platform as 32-bit vs 64-bit vs ARM64. 2) the windows api partition - multiple partitions can be true at...
Fix #98894 * Issue: gh-98894