cpython
cpython copied to clipboard
The Python programming language
# Crash report ### What happened? Minimal reproducer: ``` class i: if[super for()in e]:d
cc @mdickinson * Issue: gh-101575
# Bug report ### Bug description: 1. Open `./python.exe` 2. `import sys; code = sys._getframe(1).f_code` 3. Type `code.co_` and hit tab 4. This: ### CPython versions tested on: CPython main...
The docs for `os.splice` misses the `flags` argument but it is documented in `posixmodule.c`: https://github.com/python/cpython/blob/64ab9f7d5c7cbe5ef997c7d841151e0e71e7f582/Modules/posixmodule.c#L11565-L11566 Ref: https://github.com/python/typeshed/pull/10771 ---- :books: Documentation preview :books:: https://cpython-previews--109847.org.readthedocs.build/
If the interpreter shows a warning, the new repl prompt cursor moves after the warning. * Issue: gh-119205
# Bug report ### Bug description: I have a machine where there was a leftover setuptools-57.4.0.dist-info directory after package removal. `/lib/python3.10/site-packages/setuptools-57.4.0.dist-info` --> this directory is empty And newer setuptools `/lib/python3.10/site-packages/setuptools-65.5.1-py3.10.egg-info/`...
Fixes #109176. * Issue: gh-109176
# Bug report ### Bug description: ```python from functools import update_wrapper def my_type(*args): pass t = update_wrapper(my_type, type) ``` This works on Python ≤ 3.11, and I think this is...
# Bug report ### Bug description: I left a few TODOs in the compiler code from its early development. They are no longer relevant. For example, they comment on issues...