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

When specializing `LOAD_ATTR_SLOT`, we don't check whether the given member descriptor is valid for the type we got it from. Here is a problematic example, where one class "borrows" a...

interpreter-core
release-blocker
3.11
type-crash
3.12

BPO | [22737](https://bugs.python.org/issue22737) --- | :--- Nosy | @brianquinlan, @vstinner *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the...

type-feature
expert-asyncio
stdlib

BPO | [24131](https://bugs.python.org/issue24131) --- | :--- Nosy | @ambv *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current...

type-feature
stdlib
easy

BPO | [24466](https://bugs.python.org/issue24466) --- | :--- *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.* Show more...

type-feature
docs
3.11
easy
3.10
3.9

This PR changes `asyncio.wait_for` to use `asyncio.timeout` as its underlying implementation. It simplifies the code and makes it easy to understand the cancellation semantics as both `asyncio.timeout` and `asyncio.wait_for` behaves...

type-feature
expert-asyncio
awaiting merge

These slots are marked "should be treated as read-only" in the table at the start of the document. That doesn't say anything about setting them in the static struct. `tp_bases`...

docs
awaiting core review
skip news

# Bug report As indicated in the title, `ast.increment_lineno()` does not seem to increment the `lineno` attributes in the `Module`'s list of `TypeIgnore` objects, with the result that the type...

type-bug

# Bug report When using `./configure` it let me file a bug report ``` ./configure  ✔ │ 23:31:36  checking build system type... x86_64-apple-darwin21.4.0 checking host system type... x86_64-apple-darwin21.4.0...

type-bug
OS-mac

* Issue: gh-99183

docs
awaiting core review
skip news
needs backport to 3.10
needs backport to 3.11

In https://github.com/python/cpython/pull/97921#issuecomment-1269131226 @hugovk noticed that [Sphinx has deprecated some of the `.. index::` entry types](https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#index-generating-markup): > module, keyword, operator, object, exception, statement, builtin > These all create two index entries....

type-bug
docs
sprint
3.11
easy
3.10
3.12