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

Linked to #93911. For `__getattr__`, we specialize as per normal as long as the specialized bytecode can succeed without raising `AttributeError`. For `__getattribute__`, a specialized instruction is created to inline...

awaiting merge

(cherry picked from commit 9d515997f943b7b510268448f372dabcbf957858) Co-authored-by: Kumar Aditya * Issue: gh-95736

type-bug
awaiting review
DO-NOT-MERGE

PEP 3147 (https://peps.pythondiscord.com/pep-3147/) makes mention of "continue to support source-less distributions" by using legacy pyc file placements when no py file is adjacent. Blurb here: https://peps.pythondiscord.com/pep-3147/#case-4-legacy-pyc-files-and-source-less-imports What is not clear...

* Issue: gh-95813

awaiting core review
skip news

# Bug report During build RPM for python3.11rc1 I've found tracebacks for tests from test suite `test_multiprocessing_forkserver.py`, `test_multiprocessing_fork.py`, and `test_multiprocessing_spawn.py` : ``` [root@xxx test]# python3.11 test_multiprocessing_forkserver.py ............s..................................................s...............................s.s.s.....s...s...........ss.....s......................................................................................................................................Traceback (most recent call...

type-bug
tests
expert-multiprocessing

## Environment ``` $ python --version Python 3.8.10 $ uname -a Linux 4.4.0-19041-Microsoft #1237-Microsoft Sat Sep 11 14:32:00 PST 2021 x86_64 x86_64 x86_64 GNU/Linux ``` ## Description It seems that...

docs

Using [the Diátaxis language of tutorials](https://diataxis.fr/tutorials/#the-language-of-tutorials) as a guideline. * Issue: gh-95271

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

In the documentation (specifically, in the ["Coroutines and Tasks" page](https://docs.python.org/3/library/asyncio-task.html)), I am having trouble understanding what happens when `asyncio.create_task` is called. I have read the headings [Coroutines](https://docs.python.org/3/library/asyncio-task.html#coroutines) and [Creating tasks](https://docs.python.org/3/library/asyncio-task.html#creating-tasks),...

docs
expert-asyncio

Currently `Py_TPFLAGS_MANAGED_DICT` is an internal-only flag, in fact setting in third-party code is likely to lead to a crash. We would like to expose it, and a weakref equivalent `Py_TPFLAGS_MANAGED_WEAKREFS`...

type-feature
performance
interpreter-core
3.12