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

A DOS by Quadratic complexity issue is fixed in idlelib. Part of (but does not fix) #134873. * Issue: gh-134873 * Issue: gh-136061

awaiting change review
needs backport to 3.13
needs backport to 3.14

# Bug report ### Bug description: For a multi-dimensional memory view, if the socket sends only part of the memory view, then the view will be truncated to an empty...

type-bug
topic-asyncio
stdlib

# Bug report ### Bug description: This loop can run forever if there's a cycle in the Makefile variable definitions: https://github.com/python/cpython/blob/5334732f9c8a44722e4b339f4bb837b5b0226991/Lib/sysconfig/__main__.py#L79 To reproduce: ```shell make clean echo 'foo=$(foo)' > ./Modules/Setup.local...

type-bug
stdlib
build
topic-sysconfig

Hello! I worked on #134759 and was able to reproduce the `UnboundLocalError` by passing bytes payload directly to `_payload`. I'm not sure can we do it in a "public" way,...

awaiting merge
needs backport to 3.13
needs backport to 3.14

# Bug report ### Bug description: Build fails on macOS with gcc. ``` /opt/local/bin/gcc-mp-14 -c -fno-strict-overflow -Wsign-compare -fno-common -dynamic -DNDEBUG -g -O3 -Wall -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -flto -std=c11...

type-bug
OS-mac
build
pending

# Feature or enhancement ### Proposal: Currently, most methods of the Fraction class subclasses return an instance of the Fraction class. That happens for arithmetic methods as well: ```pycon >>>...

type-feature
stdlib

This undocumented gotcha can cause excessive memory usage when "iterating" over very large directories. This is because iterdir() does entries = list(scandir_it) Fixing (if at all desired) will likel need...

docs
awaiting review
skip news

# Crash report ### What happened? We see segfaults randomly (not frequently enough to get more detailed info) when running integration tests for PySR. The following segfault was seen on...

type-crash
pending

# Bug report ### Bug description: Test Code: ```python from tkinter import * from tkinter.ttk import Notebook mw = Tk() mw.title("Notebook Test") mw.geometry(f"{800}x{800}") main_page_frame = Frame(mw, borderwidth=1, relief='ridge') main_page_frame.pack(side='top', expand=1,...

type-bug
OS-mac
stdlib
topic-tkinter

# Bug report Suprisingly (contrary to its name and being a generator), [`Path.iterdir()`](https://docs.python.org/3.12/library/pathlib.html#pathlib.Path.iterdir) does not stream directory entries: It reads all directory entries into memory before yielding the first entry....

type-bug
stdlib
topic-pathlib