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 PR fixes #121109. Using the test files and test script described in the issue: | filename | mode | time with PR | | --- | --- | ---...

awaiting core review

# Bug report ### Bug description: If a (legacy email API) email.message.Message is assigned an address header that is pre-encoded with RFC 2047, calling as_bytes(policy=default) can generate an invalid address...

type-bug

# Crash report ### What happened? Compiling and linking below program results in a crash when run on aarch64 (macOS, Debian VM or Ubuntu 22 VM in Azure for example):...

type-crash

This removes all instances of backtracking from parsing tarfile headers, specifically `hdrcharset`, PAX, and GNU sparse headers. * Issue: gh-121285

type-security
awaiting merge
needs backport to 3.8
needs backport to 3.9
needs backport to 3.10
needs backport to 3.11
needs backport to 3.12
needs backport to 3.13

zipinfo now supports attribute - extended_mtime fixes: #121021 ---- 📚 Documentation preview 📚: https://cpython-previews--121020.org.readthedocs.build/ * Issue: gh-121021

awaiting core review

Tarfile in the default write mode spends much of its time resolving UIDs into usernames and GIDs into group names. By caching these mappings, a significant speedup can be achieved....

awaiting merge

We now have the ``_Py_SourceLocation`` which captures a 4-int source location range. We can use it in symtable instead of passing 4 ints around everywhere. ### Linked PRs * gh-121353

# Bug report ### Bug description: To reproduce, type `f = """` then paste a giant block of text (I pasted [the text of Frankenstein](https://github.com/asweigart/codebreaker/blob/master/frankenstein.txt)) then press Ctrl+C immediately (while...

type-bug

* Issue: gh-121338

awaiting merge
skip news