cpython
cpython copied to clipboard
The Python programming language
Issue to collect all PRs for the implementation of PEP-799 ### Linked PRs * gh-138142 * gh-138389 * gh-139216 * gh-140156 * gh-141813 * gh-141897 * gh-141900 * gh-141912 *...
Added extra handling for error messages with punctuation to avoid double punctuations and eliminated code duplication * Issue: gh-137716
# Bug report ### Bug description: This terminates properly: ```python from multiprocessing import Queue Queue().put(b"0" * 65514) print("end") ``` while this prints 'end' and is then stuck: ```python from multiprocessing...
# Feature or enhancement A number of `join` methods, such as on Process, expose a timeout option. This allows for "let child process compute, but in case of it crashing...
The unknown-8bit trick was designed to deal with unknown bytes in an ASCII message, and it works fine for that. However, I also tried to extend it to handle bytes...
# Feature or enhancement ### Proposal: Currently in CPython `threading.RLock` is a factory function that returns a new `RLock` instance. It either returns an instance of `_CRLock`, if it's defined,...
* Issue: gh-142776
### What happened? In `zip_longest_next`, each entry is read from `lz->ittuple` then `PyIter_Next` runs, but a crafted iterator reenters `zip_longest_next`, trips the cleanup path for the same slot, and decrements...
The "[Extending and embedding](https://docs.python.org/3/extending/index.html)" section of the docs starts with a "tutorial", which is now outdated (it uses soft-deprecated API), but it also doesn't quite work as a tutorial (in...
# Crash report ### What happened? I was testing some AI code with ollama and stumbled across a really weird crash. The fact that it happens during an IndexError and...