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

# Bug report ### Bug description: Hi, I'm working on a Python testing project, and our tool detected the following issue: ```python from token import ISNONTERMINAL, ISTERMINAL ISNONTERMINAL(0.5) ISTERMINAL(0.5) ```...

type-bug
stdlib
topic-parser

In optimized and `-Og` builds, arguments and local variables are frequently unavailable in gdb. This makes `py-bt` fail to print anything useful. Use the `PyThreadState*` pointers `_Py_tss_gilstate` and `Py_tss_tstate` to...

awaiting core review

JIT coverage is still quite variable. For some benchmarks, e.g. richards it is close to 100%. For others, much lower: https://github.com/savannahostrowski/pyperf_bench/blob/main/profiling/jit.svg Note: A fair bit of the time attributed to...

type-feature
interpreter-core
topic-JIT

This adds a specialization for CALL_FUNCTION_EX for Python and non-Python frames. It should be slightly faster on the interpreter, and much faster on the JIT. Previously the JIT could not...

awaiting core review

BPO | [33007](https://bugs.python.org/issue33007) --- | :--- Nosy | @avassalotti, @serhiy-storchaka, @anntzer, @MojoVampire, @ZackerySpytz PRs | python/cpython#21480 *Note: these values reflect the state of the issue at the time it was...

type-bug
stdlib
3.11
3.12
3.13

(cherry picked from commit 6d05e55de0f9c0b07fb14b4d2b9cf9c8eee2042c) Co-authored-by: Bartosz Sławecki

skip issue
awaiting review
skip news

# Description This PR fixes gh-142968 by adding explicit type checks to `token.ISTERMINAL` and `token.ISNONTERMINAL`. Previously, these functions accepted floats (e.g., `0.5`) without error, which was inconsistent with PyPy and...

awaiting review

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

awaiting core review