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

Fix double-free bug mentioned at https://github.com/python/cpython/issues/99240, by moving memory clean up out of "exit" label. * Issue: gh-99240

type-bug
awaiting merge
expert-argument-clinic

As originally reported in #75729 and confirmed to still be reproducible on the latest Python 3.12, the various `os.spawn*` tests are broken on Windows if the current working directory contains...

tests
OS-windows
awaiting merge
needs backport to 3.10
needs backport to 3.11

In GH-94329 the `MAX_ALLOWED_STACK_SIZE` check in the compiler (added in 3.10.0) was reverted, because it was discovered that a large sequence unpacking could use more than the allowed stack size....

tests
awaiting review
skip news

In 3.11 we asserted that we didn't use too much stack, but that failed https://github.com/python/cpython/issues/94329 If we can guarantee that no code object uses more than a certain number of...

performance
3.12

This gets us one step closer to skipping the quickening step entirely for new code objects... with this change, quickening only involves inserting superinstructions and initializing warmup counters. We do...

performance
awaiting merge
interpreter-core

BPO | [46541](https://bugs.python.org/issue46541) --- | :--- Nosy | @vstinner, @tiran, @ericsnowcurrently, @serhiy-storchaka, @corona10, @erlend-aasland, @kumaraditya303, @notarealdeveloper PRs | python/cpython#30928python/cpython#30941python/cpython#31261python/cpython#31344python/cpython#31346python/cpython#31351python/cpython#31358python/cpython#31363python/cpython#31364python/cpython#31372python/cpython#31375python/cpython#31376python/cpython#30310python/cpython#31468python/cpython#31475python/cpython#31599python/cpython#31608python/cpython#31609python/cpython#31683python/cpython#32063 *Note: these values reflect the state of the issue at the...

interpreter-core
3.12

(cherry picked from commit b9dedfe61dce2997e3e6be318d8c50b0c19c9394) Co-authored-by: Kamil Turek * Issue: gh-92119

type-bug
awaiting merge

* Issue: gh-98233

awaiting merge
DO-NOT-MERGE
expert-typing

This makes a couple related changes to inspect.signature's behaviour when parsing a signature from `__text_signature__`. First, `inspect.signature` is documented as only raising ValueError or TypeError. However, in some cases, we...

awaiting review
needs backport to 3.10
needs backport to 3.11

There was an unnecessary quadratic loop in idna decoding. This restores the behavior to linear. (cherry picked from commit d315722564927c7202dd6e111dc79eaf14240b0d) (cherry picked from commit a6f6c3a3d6f2b580f2d87885c9b8a9350ad7bf15) Co-authored-by: Miss Islington (bot) Co-authored-by:...

type-bug
type-security
awaiting merge
release-blocker