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

# Bug report A clear and concise description of what the bug is. Include a minimal, reproducible example (https://stackoverflow.com/help/minimal-reproducible-example), if possible. Repo: ``` class MyConfig(dict): def __getattr__(self, x): return self[x]...

type-bug

Consider this as a fix proposal :) Thanks a lot to @MojoVampire for the idea. * Issue: gh-99184

awaiting review

Argument Clinic `str_converter` generate such code when `encoding` is set (see function `test_str_converter_encoding` in file Lib/test/clinic.test): ```c /* -- snip -- */ if (!_PyArg_ParseStack(args, nargs, "esesetes#et#:test_str_converter_encoding", "idna", &a, "idna", &b,...

type-bug
expert-argument-clinic

A draft implementation of Argument Clinic functional test. The test do: - Add a module with AC-declared functions, each function corresponds to one type of function signatures - Setup a...

tests
awaiting changes

This could be backported to Python 3.11 * Issue: gh-96461

docs
awaiting review
skip news

# Documentation The current documentation says that CACHE and SWAP acts on the *i*th element of the stack but it is nowhere mentioned if the stack is indexed from 0...

docs

https://github.com/python/cpython/issues/99087

docs
skip issue
awaiting merge
skip news
pending

It looks like Unitest.mock.MagicMock raises a StopIteration when repeated calls to the mock are made and an iterable is exhausted. After Python 3.7+, due to PEP 479, this raises a...

when i run `chroot compile /home/abuild/rpmbuild/BUILD/Python-3.9.9/build/debug/python -m test.regrtest test_mailbox -wW` output: ```python Traceback (most recent call last): File "/home/abuild/rpmbuild/BUILD/Python-3.9.9/Lib/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/home/abuild/rpmbuild/BUILD/Python-3.9.9/Lib/runpy.py", line...

type-bug
pending

I will check other `patch.*` types for similar problems in the next issues / PRs. Issue: gh-98086

awaiting merge