cpython
cpython copied to clipboard
The Python programming language
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...
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...
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...
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...
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...
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`...
# 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...
# 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...
* Issue: gh-99183
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....