cpython
cpython copied to clipboard
The Python programming language
* Issue: gh-142766
# Bug report ### Bug description: Since Python 3.12, `generator.close()` and `generator.gi_frame.clear()` do not clear the generator's frame, if the generator is in the `FRAME_CREATED` state. The following passes on...
* Issue: gh-142784
# What this PR does When commands is invoked without an argument, pdb now finds and uses the last available (non-deleted) breakpoint instead of blindly using the last breakpoint number...
I'm opening this to start a discussion on what we want the structure of such documentation to be, as well as how to balance detail with succinctness. Feedback very welcome!...
Runs `select.select` in a background thread when `add_reader`/writer are called. Thread is terminated when the event loop is destroyed. Solves a major problem with the default event loop lacking these...
# Bug report ### Bug description: According to the [documentation](https://docs.python.org/3/library/pdb.html#pdbcommand-commands): > With no bpnumber argument, commands refers to the last breakpoint set. I think the intended meaning should be the...
Before this change: ``` OSError: Cannot open process memory map file '/proc/-1/maps' for PID -1 section search: No such file or directory During handling of the above exception, another exception...
This ensures that `PyABIInfo_VAR` can be declared as documented. (See `test_modsupport.py` for tests of the functionality.) * Issue: gh-142225
# Crash report ### What happened? After updating my extension library from Python 3.11 to 3.14, I had a strage segmentation fault raised by my tests. The analysis of this...