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

gh-120384: Fix array-out-of-bounds crash in `list_ass_subscript` (GH-120442) (cherry picked from commit 8334a1b55c93068f5d243852029baa83377ff6c9 in the 3.12 branch) gh-120298: Fix use after free in `list_richcompare`.

Copy of @tacaswell's [message](https://github.com/python/cpython/issues/112026#issuecomment-1813356876): > aio-libs/multidict is also using `_PyArg_Parser` and friends (e.g. https://github.com/aio-libs/multidict/blob/18d981284b9e97b11a4c0cc1e2ad57a21c82f323/multidict/_multidict.c#L452-L456 but there are many) The _PyArg_Parser API is used by Argument Clinic to generate efficient code...

topic-C-API

Co-authored-by: Pradyun Gedam Co-authored-by: blurb-it[bot] Co-authored-by: Hugo van Kemenade Co-authored-by: Alyssa Coghlan Co-authored-by: T. Wouters (cherry picked from commit 4999e0bda091826fcdf303dd439364e1d303a5ce) * Issue: gh-120888

awaiting core review

# Bug report ### Bug description: When the Tier 2 interpreter loop was first merged with the Tier 1 interpreter loop, the MSVC compiler would crash when building for PGO,...

type-bug
performance
OS-windows

# Bug report ### Bug description: In 3.12 and earlier, if user enters `quit`/`exit` commands or does Ctrl-D, `pdb` restarts script with corresponding message and exits only on repeated `quit`/`exit`/Ctrl-D:...

type-bug

Fix: Wrong extract version set in local headers for files located beyond zip64 limit #121171 * Issue: gh-121171

tests
awaiting core review

BPO | [1760357](https://bugs.python.org/issue1760357) --- | :--- Nosy | @warsaw, @bitdancer, @briancurtin, @serhiy-storchaka, @tirkarthi Files | [debug_session.txt](https://bugs.python.org/file8133/debug_session.txt "Uploaded as text/plain at 2007-07-25.14:54:52 by gradha"): Debug session showing negative mtime[ignore_negative_modification_time.txt](https://bugs.python.org/file8134/ignore_negative_modification_time.txt "Uploaded as...

type-bug
stdlib
3.11
3.10
3.9

# Feature or enhancement ### Proposal: When `PyThreadState_Clear()` is called, the thread state could still have an exception set. As a user, it would be helpful to know when that...

type-feature
interpreter-core

# Bug report ### Bug description: pkgutil directly uses zipimport._zip_directory_cache, in this block: ```python def iter_zipimport_modules(importer, prefix=''): dirlist = sorted(zipimport._zip_directory_cache[importer.archive]) ``` since https://github.com/python/cpython/pull/103208 , this is no longer safe, because...

type-bug