cpython
cpython copied to clipboard
The Python programming language
BPO | [45201](https://bugs.python.org/issue45201) --- | :--- Nosy | @vstinner *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current...
# Feature or enhancement ### Proposal: Can we avoid the relative include? They tend to produce problems further down the road. _Originally posted by @erlend-aasland in https://github.com/python/cpython/pull/120894#discussion_r1658402167_ There are few...
This adds a `_pending_tasks` set to `BaseEventLoop`. On `Task` creation, a (strong) reference to the task is added to this set in `_register_task`. When a task completes, the respective reference...
When I define methods `('__or__', '__and__', '__xor__', '__ror__', '__rand__', '__rxor__', '__invert__')` directly in the class inheriting from `enum.Flag`, these methods are "added" (mro) to the members, however, if the method...
Add *preserve_metadata* keyword-only argument to `pathlib.Path.copy()`, defaulting to false. When set to true, we copy timestamps, permissions, extended attributes and flags where available, like `shutil.copystat()`. The argument has no effect...
* Issue: gh-120254 ---- 📚 Documentation preview 📚: https://cpython-previews--120255.org.readthedocs.build/
# Bug report ### Bug description: It is my understanding that a little while ago RETURN_CONST was added as a new instruction https://github.com/python/cpython/issues/101632 It is to replace cases where LOAD_CONST...
# Feature or enhancement Some builtin functions accept None as a special value in addition to values that should have the specified type. For example `start` and `stop` indices in...
### What happened? ### Version Python 3.14.0a0 (remotes/origin/HEAD-dirty:bd473aa598, Jul 1 2024, 16:59:13) [GCC 9.4.0] patch from PR https://github.com/python/cpython/pull/120297 if not patched, can still trigger uaf build with asan ``` patch...