cpython icon indicating copy to clipboard operation
cpython copied to clipboard

The Python programming language

Results 1387 cpython issues
Sort by recently updated
recently updated
newest added

This is a prototype implementation of PEP 667. All the examples given in PEP 667 passed. The code only serves as a prototype, the proxy object is not even tracked...

# Bug report I've constructed a sneaky way to break the `remove_globals()` optimization, by executing a code object in two different globals dicts. (Credit goes to @brandtbucher who [started](https://github.com/python/cpython/issues/117045#issuecomment-2008283808) the...

type-bug
interpreter-core
3.13

Currently we have the `_JUMP_TO_TOP` uop which jumps to the *second* uop in the tier 2 trace, as the first is reserved for `_START_EXECUTOR`. Since this is a bit of...

performance
interpreter-core
3.13

The tier 2 optimizer fails whenever it cannot optimize the entire trace, which results in a large number of repeated attempts to optimize the same code. While we should add...

type-bug
performance
interpreter-core

I am now working on [PEP 738](https://peps.python.org/pep-0738/), which proposes adding Android as a Tier 3 supported platform for Python 3.13. I'll use this page to track all the issues related...

type-feature
OS-android

BPO | [32210](https://bugs.python.org/issue32210) --- | :--- Nosy | @vstinner, @xdegaye, @moreati Dependencies | bpo-26855: android: add platform.android_ver() *Note: these values reflect the state of the issue at the time it...

type-feature
build
3.7 (EOL)
OS-android

gh-118961: random.choices undefined behavior when some weights are not finite or negative

awaiting review

Adding new, but unsued, `_dec_str_to_int_inner()`, + discussion. * Issue: gh-118750

awaiting merge

# Feature or enhancement ### Problem In current [doc of random module](https://docs.python.org/3.14/library/random.html), it is mentioned that > Weights are assumed to be non-negative and finite. But what will happen if...

type-feature

# Feature or enhancement ### Proposal: I hope this issue will complete `_datetime` isolation. My concerns (and answers) * `Py_MOD_PER_INTERPRETER_GIL_SUPPORTED` should be applied in sync with `_zoninfo`? * **YES**: Possible....

type-feature
extension-modules
topic-subinterpreters