cpython
cpython copied to clipboard
The Python programming language
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
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
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...
# 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...
# 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...
* Issue: gh-111389 ---- 📚 Documentation preview 📚: https://cpython-previews--119214.org.readthedocs.build/
# 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...
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
# 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...
# Feature or enhancement ### Proposal: These paths would be considered reserved: - Embedded null - ~Too long file name: `"a" * 256`~ - ~Too long path: `"a/" * 512`~...