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

The docs for `Py_mod_gil` said "See `PYTHON_GIL` and `-X gil ` for more detail," but neither of those gave any detail about loading extensions in a free-threaded build. - Replace...

docs
skip issue
awaiting review
skip news
topic-free-threading
needs backport to 3.13

Issue: https://github.com/python/cpython/issues/121313 * Issue: gh-121313

awaiting review

Complete fix for Issue #90437 with cherry-picked commits from @riqts and @merwok This commit builds upon the previous work done by @riqts to address Issue #90437. It includes cherry-picked commits...

docs
awaiting merge
skip news
3.12
3.13

This flag was added as an escape hatch in bpo-47245 and backported to Python 3.10. The flag broke at some point between its addition and now. As there is currently...

awaiting review

Add `__fspath__()` methods to `tempfile.NamedTemporaryFile` and `TemporaryDirectory`. * Issue: gh-87646 ---- 📚 Documentation preview 📚: https://cpython-previews--114765.org.readthedocs.build/

type-feature
awaiting merge

I felt this is a trivial change and did not need an issue. This is an issue as some people have github repositories with spaces in name and has cpython...

awaiting review

# Performance Improvement Using `enumerate(...)` in `for` loops are slow and there are at least +250 `enumerate`'s in CPython Let's take for example this `for` loop with `enumerate`: https://github.com/python/cpython/blob/5f660e8e2ca3acfb89ccbdd990f072149b6baa6a/Lib/genericpath.py#L116-L118 If...

type-feature

# Bug report ### Bug description: Discussion: https://discuss.python.org/t/subprocess-use-vfork-escape-hatch-broken-fix-or-remove/56915 This flag was added as an escape hatch in gh-91401 and backported to Python 3.10. The flag broke at some point between...

type-bug

# Bug report ### Bug description: The `decimal.Decimal` class allows for underscores around numbers. ```pycon >>> Decimal("_1_") # 1 with wings Decimal('1') >>> Decimal("____0____.____0____") # Totoro's 0 Decimal('0.0') ``` This...

type-bug