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

Not sure if you want it to be backported to 3.12 and 3.13, since the corresponding PR (https://github.com/python/cpython/pull/26488) for `tarfile` was not backported. * Issue: gh-122356

awaiting review
stdlib

This PR updates the docs concerning `ctypes._CFuncPtr` (which is exposed) and `_FuncPtr` (which is a dynamic subclass of `_CFuncPtr` created by CDLL objects). Credits to @eryksun (https://github.com/python/cpython/issues/120313#issuecomment-2158049008) * Issue: gh-120313

docs
awaiting core review
skip news

python's main documentation page https://docs.python.org/3.14/ links to [Global module index](https://docs.python.org/3.14/py-modindex.html) that index has two modules referring to PEPs which are not rendered correctly: ![Screenshot 2024-10-23 23 55 11](https://github.com/user-attachments/assets/61ff3f95-f100-4e95-9113-29e3e9efb62e) ![Screenshot 2024-10-23...

docs

# Crash report `_PyJIT_Compile` doesn't consider [the initial (big) trampoline "group"](https://github.com/python/cpython/blob/c35b33bfb7c491dfbdd40195d70dcfc4618265db/Python/jit.c#L473-L475) when collecting the (little) trampolines needed to compile a given trace. This doesn't break anything right now, since we...

interpreter-core
type-crash
3.14
topic-JIT

# Bug report ### Bug description: When parsing back a written email, whitespace seems to be prepended to the header if the header was wrapped upon writing. This is particularly...

type-bug
topic-email
3.12
3.13
3.14

# Bug report ### Bug description: Separate from https://github.com/python/cpython/pull/125691#discussion_r1807910964 https://github.com/user-attachments/assets/5b99fd79-c25c-4ffb-97f3-5a09e8574339 ### CPython versions tested on: CPython main branch ### Operating systems tested on: _No response_

type-bug

# Bug report ### Bug description: To be clear - this issue is just about running the Cython itself (i.e. pure Python code). It is not about compiled extension modules....

type-bug
interpreter-core
3.14

# Feature or enhancement ### Proposal: `functools.reduce` takes `function` (generally a callable) and `iterable`, with an optional `initial` parameter: https://docs.python.org/3/library/functools.html#functools.reduce However, `initial` cannot be passed as a keyword argument, which...

type-feature

Add a `Path.dir_entry` attribute. In any path object generated by `Path.iterdir()`, it stores an `os.DirEntry` object corresponding to the path; in other cases it is `None`. This can be used...

awaiting changes
topic-pathlib