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 I found a bug that seems to be code corruption. While working on an example project with ~70 threads, I occasionally (once every hour or so) get...

type-bug
topic-free-threading

---- 📚 Documentation preview 📚: https://cpython-previews--121379.org.readthedocs.build/

docs
awaiting review
skip news

Add PyLong_Export() and PyLong_Import() functions and PyLong_LAYOUT structure. * Issue: gh-102471 ---- 📚 Documentation preview 📚: https://cpython-previews--121339.org.readthedocs.build/

awaiting core review

# Documentation The `dis` module docs for `BUILD_LIST` (and `BUILD_SET` and `BUILD_TUPLE`) say that the `count` argument must be > 0: https://github.com/python/cpython/blob/17d5b9df10f53ae3c09c8b22f27d25d9e83b4b7e/Doc/library/dis.rst?plain=1#L1081-L1098 But the code `[]` generates the instruction `BUILD_LIST...

docs

# Bug report ### Bug description: ```python3 def f(x): def g(): print([x for x in range(10)]) def h(): print(x) return h print(x) return g f(1)()() ``` The above had always...

type-bug
3.12
3.13
3.14

# Bug report ### Bug description: If you return two generators (one from a generator function and one a generator expression) from a function and use `getsource` on each, you...

type-bug
stdlib

BPO | [14905](https://bugs.python.org/issue14905) --- | :--- Nosy | @warsaw, @gpshead, @pjeby, @ronaldoussoren, @ncoghlan, @ericvsmith, @ericsnowcurrently, @serhiy-storchaka, @phmc Files | [zipimport-issue14905.patch](https://bugs.python.org/file26302/zipimport-issue14905.patch "Uploaded as text/plain at 2012-07-07.14:47:49 by jerub")[zipimport-issue14905-2.patch](https://bugs.python.org/file26894/zipimport-issue14905-2.patch "Uploaded as text/plain...

type-feature
stdlib
topic-importlib
3.14

# Bug report ### Bug description: When on the filesystem packages like discord.py (``pip install discord.py``) works just fine (``from discord.ext.commands import Bot``). However, when you use the same code...

type-bug

This patch is based on https://github.com/python/cpython/issues/119004#issuecomment-2108272841 but some bits needed to be added here and there. * Issue: gh-119004 ---- 📚 Documentation preview 📚: https://cpython-previews--121329.org.readthedocs.build/

awaiting review
DO-NOT-MERGE