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

The loop consuming optional and positional arguments in ArgumentParser._parse_known_args() rescans option_string_indices on every iteration of the loop in order to compute the next option index: ```py next_option_string_index = min([ index...

performance
awaiting core review

Implemented the patchfile from BPO 28309 Fixes #72496 As also noted in the issue thread, I noticed no performance improvements on my machine so someone else may want to verify...

type-feature
performance
awaiting review

Check to see if `base_executable` exists. If it does not, attempt to use known alternative names of the python binary to find an executable in the path specified by `home`....

awaiting merge

# Bug report Python `venv` on POSIX environments creates a bin directory with: - `python` - `python{VERSION_MAJOR}` - `python(VERSION_MAJOR}.{VERSION_MINOR}` When executing `python` out of a venv made with the `--copies`...

type-bug

# Feature or enhancement Remove the bundled setuptools so that `ensurepip` and `python -m venv` only installs pip. # Context The `setup.py install` command of `setuptools` is deprecated. However, in...

type-feature
3.12

# Bug report In python 3.10+, shutil.make_archive() makes empty archive file and does not raise any error even when root_dir does not exists. In python -3.9, FileNotFoundError is raised with...

type-bug
stdlib
3.11
3.10
3.9
3.12

Measured performance impact [might be positive](https://gist.github.com/markshannon/181ac95ce5b543ba5cafd43677829266) but is too close to noise to be meaningful. * Issue: gh-98522

awaiting core review

Last changed in 2008 (528576031d9655ca8004260a2bf2c783f77d1da1). I also changed "growing collection" to "constantly growing collection" since it makes more sense to me with the much larger number.

docs
skip issue
awaiting core review
skip news

The simple method cache in typeobject.c uses the `tp_version_tag` field and the `Py_TPFLAGS_VALID_VERSION_TAG` bit in the `tp_flags` field to track changes on the type that might invalidate the cache. Unfortunately...

type-crash

JIT compilers may need to invalidate compiled code when a function is modified (e.g. if its code object is modified). This adds the ability to set a callback that, when...

awaiting review