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

The ``_PyFrame_OpAlreadyRan`` function in frameobject.c is not covered by any tests. For details see https://github.com/faster-cpython/ideas/issues/623. ### Linked PRs * gh-119234

interpreter-core

This implements https://peps.python.org/pep-0649/#annotate-and-annotations. In separate PRs I will work on making the compiler synthesize `__annotate__` functions. * Issue: gh-119180

awaiting core review

Issue [102136](https://github.com/python/cpython/issues/102136) pointed out that `-m` is not mentioned in the section that talks about `-i`, when `-i` actually does work when used in conjunction with `-m`. This PR updates...

docs
awaiting review
skip news

# Crash report ### What happened? ```python import typing typing.TypeVar(name="X", bound=type) ``` Triggers a segfault in python 3.12.3 on all platforms. Does not reproduce on 3.11 or below. This bug...

type-crash
topic-argument-clinic
topic-typing

# Documentation This might be an omission in the docs or a bug in `-m`, not certain. [Documentation](https://docs.python.org/3/using/cmdline.html#cmdoption-i) currently states `-i` used before a script of the `-c` switch launches...

docs
topic-repl

* Issue: gh-111389 ---- 📚 Documentation preview 📚: https://cpython-previews--119214.org.readthedocs.build/

awaiting merge

# Bug report ### Bug description: I was experimenting with terminal types: ``` $ export TERM=dumb $ python3 Python 3.13.0b1 (main, May 12 2024, 23:38:03) [GCC 13.2.1 20240316 (Red Hat...

type-bug
3.13
topic-repl

Move CAN_USE_PYREPL variable from _pyrepl.__main__ to _pyrepl and rename it to _CAN_USE_PYREPL. Use the variable in the site module to decide if _pyrepl.write_history_file() can be used. * Issue: gh-119102

awaiting core review
skip news

# Feature or Enhancement: ### Proposal: _Note: I made this issue at the PyCon sprints discussing with @Fidget-Spinner and in collaboration with @dpdani_ The tier 2 optimizer should eliminate type...

type-feature
interpreter-core

# Feature or enhancement ### Proposal: These paths would be considered reserved: - Embedded null - ~Too long file name: `"a" * 256`~ - ~Too long path: `"a/" * 512`~...

type-feature