cpython
cpython copied to clipboard
The Python programming language
# Feature or enhancement ### Proposal: I came across some seemingly redundant `fstat()` and `lseek()` calls when working on a tool that scanned a directory of lots of small YAML...
build: https://buildbot.python.org/all/#/builders/1379/builds/625 ``` gcc -c -fno-strict-overflow -fstack-protector-strong -Wtrampolines -Wsign-compare -DNDEBUG -g -O3 -Wall -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I./Include/internal/mimalloc -I. -I./Include -DPy_BUILD_CORE -o Python/perf_trampoline.o Python/perf_trampoline.c gcc -c...
* Issue: gh-112068
This is a variant of #121187, but with suffix instead of prefix. `i?` instead of `?i`. * Issue: gh-112068
This PR mainly introduces GC changes to the free threading GC to support deferred reference counting in the future. To get this to work, new stack references *must* immediately live...
# Feature or enhancement ### Proposal: There are different ways for processes to communicate in Python, one of which, on Unix-based systems, is pipes. While analyzing the performance behavior of...
# Feature or enhancement ### Proposal: Currently there is only a slow way (i.e. ``PyNumber_Negative()``) to invert the sign of a big integer. Direct manipulation of the sign value is...
The C-API has built up over 30 years, in a haphazard way. So, it is no surprise that it is a bit of a mess. What makes it worse is...
# Bug report ### Bug description: Consider the following snippet ```python @dc.dataclass class A: a: int @property def b(self) -> int: return 1 @dc.dataclass class B(A): b: int = dc.field(default_factory=lambda:...
First commit mostly taken from #26827, second - some simple extension of this. @serhiy-storchaka * Issue: gh-111673