cpython
cpython copied to clipboard
The Python programming language
The main check is in the last line of the change: ```py ... and ret != self.history[-1] ... ``` But we also need to deduplicate when copying from `transient_history`, i.e....
Python test runner no longer runs tests using TTY (ex: test_ioctl) in a process group (using setsid()). Previously, tests using TTY were skipped. * Issue: gh-119273
Python test runner "regrtest" uses process groups to be able to kill child processes of worker processes. Tests are run in subprocesses to run them in parallel and to catch...
* Issue: gh-111201
This adds a balancing "import.complete" audit event matching the existing "import" audit event, which allows the audit system to be used to observe programatically the same import timing information that...
Fixes #118692. * Issue: gh-118692 ---- 📚 Documentation preview 📚: https://cpython-previews--119216.org.readthedocs.build/
# Bug report ### Bug description: After successfully running ./configure --enable-optimizations on Ubuntu 23.10 ``` ~/Downloads/Python-3.13.0b1$ make Running code to generate profile data (this can take a while): # First,...
This PR eliminates some unnecessary calls to `_GUARD_TYPE_VERSION` in the tier 2 interpreter, closing #119258. It does it by symbolically tracking the version of the type of each object and...
ref: #110383 ref: https://mail.python.org/archives/list/[email protected]/thread/3VGLA6Q6QDYB7XIAHFIRAVW4TQSEAZGA/ * Issue: gh-110383 ---- 📚 Documentation preview 📚: https://cpython-previews--119150.org.readthedocs.build/
# Bug report ### Bug description: --gpg-options is defined as follows: ```python gpg_options=dict( metavar=_("options"), action=SplitOptionsAction, help="Verbatim gpg options. May be supplied multiple times.", default=dflt(config.gpg_options), ), ``` This does not work...