cpython icon indicating copy to clipboard operation
cpython copied to clipboard

The Python programming language

Results 1387 cpython issues
Sort by recently updated
recently updated
newest added

* 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

docs
awaiting review
skip news

# 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"...

type-bug
docs
topic-email

# 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...

awaiting review

# 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...

type-feature
interpreter-core
topic-free-threading

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...

performance

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

tests
docs
awaiting changes

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...

docs
awaiting changes
skip news

...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)...

awaiting merge