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

* Issue: gh-122767 ---- 📚 Documentation preview 📚: https://cpython-previews--122848.org.readthedocs.build/

docs
awaiting merge
skip news
needs backport to 3.12
needs backport to 3.13

# Bug report ### Bug description: 8 years ago, @ambv add dtrace support in CPython in https://github.com/python/cpython/commit/a785c87d6eacbed81543a8afe3cb098fabb9610a For now, after check the code, I think the point following below is...

type-bug

# Bug report ### Bug description: Setting [Warning](https://docs.python.org/3/library/exceptions.html#Warning) to `category` argument of [warnings.filterwarnings()](https://docs.python.org/3/library/warnings.html#warnings.filterwarnings) works, then setting the `str` type value `"Hello World"` to `category` argument of `warnings.filterwarnings()` gets the error...

type-bug
stdlib
3.12
3.13
3.14

# Bug report ### Bug description: With [warnings.simplefilter("module")](https://docs.python.org/3/library/warnings.html#warnings.simplefilter) and [warnings.warn()](https://docs.python.org/3/library/warnings.html#warnings.warn), I ran `main.py` which runs `file1.py`(module) and `file2.py`(module) as shown below: *Memos: - [The doc](https://docs.python.org/3/library/warnings.html#the-warnings-filter) says `"module" print the first...

docs
easy

This PR implements the foundational work necessary for making the specializing interpreter thread-safe in free-threaded builds and enables specialization for `BINARY_OP` as an end-to-end example. To enable future incremental work,...

awaiting merge
skip news
topic-free-threading

# Bug report Our abstract interpreter should have a case for `_BINARY_OP_INPLACE_ADD_UNICODE`, since this "special" instruction includes a store to a fast local. This can mean that the local being...

type-bug
interpreter-core
3.13
3.14
topic-JIT

Adds a flag to check if the helper is active, interrupting it instead of opening a new instance if so This is to stop F1 from opening multiple instances of...

awaiting review

On the main python documentation page: https://docs.python.org/3.14/ there is a link to [Contributing to Docs](https://devguide.python.org/docquality/#helping-with-documentation) which links to "https://devguide.python.org/docquality/#helping-with-documentation" which redirects to "https://devguide.python.org/documentation/help-documenting/index.html#helping-with-documentation". I think the link should directly link...

docs

This PR fixes an issue in the Makefile.pre.in of Cpython. Specifically, previously, any modifications of files like Objects/mimalloc/alloc-override.c would not trigger a rebuild of Objects/obmalloc.o. The PR fixes this by...

awaiting review
skip news
needs backport to 3.12
needs backport to 3.13

## Description I believe I've found a performance regression for large loops in Python 3.12 vs. 3.11. This effect is more pronounced when the value being stored is non-constant –...

performance
interpreter-core
3.12