cpython
cpython copied to clipboard
The Python programming language
* Issue #109945 Co-authored-by: Martin Schmatz This change makes it possible to allow multiple groups to be specified in a colon separated string. See issues for more detail The implementation...
In order to get[ GH-118970](https://github.com/python/cpython/pull/118970) from @uatach merged quickly, I updated the PR with some formatting changes suggested by @encukou ---- 📚 Documentation preview 📚: https://cpython-previews--119230.org.readthedocs.build/ * Issue: gh-110383
# Bug report I have been trying to replicate the examples listed here: https://docs.python.org/3/library/email.examples.html For some reason the one about "creating an HTML message with an alternative plain text version"...
# gh-119189: Fix the fraction module so that __rpow__ works on arbitrary classes. ``` The fraction module implicitly casted float if __rpow__ was implemented in your class when raising a...
# Feature or enhancement ### Proposal: Right now, most uses of `PySequence_Fast` are invalid in a nogil context when it is passed an existing `list`; `PySequence_FAST_ITEMS` returns a reference to...
Handle errors from `os.scandir()` and `ScandirIterator` similarly, which lets us loop over directory entries with `for`. In top-down mode, call `os.path.join()` at most once per iteration. ```shell $ ./python -m...
Pressing the Left arrow after the completions are shown moves the cursor three positions to the left. It turns out `reader.pos2xy` uses `reader.screen` and `reader.screeninfo` to compute the position in...
* Issue: gh-60712 Co-Authored-By: @vadmium
Fixes issue: #103066 The issue mentioned that the `site.py` documentation didn't have a list of objects it adds to builtins. I found this list exists somewhere else in the documentation...
...as opposed to storing it in PyRuntime. Storing it in PyRuntime is fundametally wrong, as its state contains references to Python objects. Those objects (tuples and strings) can (and will)...