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

Add a `Path.rmtree()` method that removes an entire directory tree, like `shutil.rmtree()`. The signature of the optional *on_error* argument matches the `Path.walk()` argument of the same name, but differs from...

awaiting core review
topic-pathlib

# Bug report ### Bug description: reproduction: ```sh #!/bin/sh mkdir -p src rm -fr src/__pycache__ rm -fr __pycache__ echo 'from src.test import f' > main.py echo 'print(f())' >> main.py echo...

type-bug

# Documentation The documentation for python3.12 says: #This is for class zipimporter() load_module(fullname) Load the module specified by fullname. fullname must be the fully qualified (dotted) module name. Returns the...

docs
topic-importlib

# Documentation With named tuples and dataclasses [now implementing `__replace__`](https://github.com/python/cpython/pull/108752), it would be good to have some clearer documentation on this somewhere. Type-checkers will likely have to implement support as...

docs

# Bug report ### Bug description: I need to implement layered context running python code, so I choose `ChainMap`. But Python needs every `globals` passed to `exec` to be a...

type-bug
interpreter-core

# Bug report ### Bug description: I'm seeing this on a Dell laptop running XUbuntu 22.04 and MacBook Pro M1 running MacOS 14.5. In both cases, Python was built on...

type-bug
topic-repl

# Bug report ### Bug description: There are some slightly incorrect docstrings in `_interpchannels`: - `send` enforces kwargs after `obj`, and has a timeout kwarg. - `send_buffer` enforces kwargs after...

type-bug

As I already had implementation I though PR might be helpful for others to see and evaluate. From all the different extensions of `functools.partial` I think this one is the...

awaiting core review

* Issue: gh-121333 ---- 📚 Documentation preview 📚: https://cpython-previews--121335.org.readthedocs.build/

docs
awaiting merge
skip news