cpython
cpython copied to clipboard
The Python programming language
As part of this, we also move `PyConfig._isolated_interpreter` to a new `_PyInterpreterConfig` struct and split it up into more granular settings. We also change some of the private API names...
BPO | [32604](https://bugs.python.org/issue32604) --- | :--- Nosy | @ncoghlan, @abalkin, @pitrou, @vstinner, @pmp-p, @ericsnowcurrently, @zware, @zooba, @applio, @emilyemorehouse, @pablogsal, @miss-islington, @nanjekyejoannah PRs | python/cpython#1748python/cpython#5436python/cpython#5437python/cpython#5507python/cpython#5509python/cpython#5516python/cpython#5624python/cpython#5709python/cpython#5710python/cpython#5778python/cpython#5783python/cpython#6813python/cpython#6914python/cpython#6937python/cpython#7251python/cpython#7288python/cpython#7330python/cpython#19768python/cpython#19770python/cpython#19829python/cpython#20089python/cpython#18817python/cpython#19985python/cpython#20465python/cpython#20600python/cpython#20611python/cpython#20777python/cpython#20926 *Note: these values reflect the state...
# Feature or enhancement ### Proposal: ## Problem description In more recent versions of Python, for uncaught `NameError`s and `AttributeErrors`, the system tries to suggest names that might have been...
# Feature or enhancement ### Proposal: Convert `freeblocks` to a single pointer, and chain the free blocks through the `rightlink` (or the `leftlink` for small-endian). ### Justification: When the deque...
This issue tracks incorporating updates from importlib_metadata into CPython for Python 3.13, including: ### Linked PRs * gh-117092 * gh-117094
# Feature or enhancement ### Proposal: Reduce the allocation size of `od_fast_nodes_size` from `1
Tracks not only the code object, but the globals and number of defaults when issuing function version numbers. Fixes #117051 * Issue: gh-117086
_Originally posted by @erlend-aasland in https://github.com/python/cpython/pull/105792#discussion_r1230584709_ > It would be nice if we had a "decorator role" that used the Python function/method markup, but instead of adding trailing parens, added...
See discussion starting here: https://github.com/faster-cpython/ideas/issues/631#issuecomment-1995191531 Basically, we see no real perf improvement for having the two switches inside the same function, and we have some indication that on Windows the...
closes #116022 Based on the original issue the new `repr()` has: - limited depth: nodes which are to deep are represented as `Node(...)` - compressed list/tuple fields (e.g. `body`): more...