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

There was an unnecessary quadratic loop in idna decoding. This restores the behavior to linear. (cherry picked from commit d315722564927c7202dd6e111dc79eaf14240b0d) (cherry picked from commit a6f6c3a3d6f2b580f2d87885c9b8a9350ad7bf15) Co-authored-by: Miss Islington (bot) Co-authored-by:...

type-bug
type-security
awaiting merge
release-blocker

While Argument Clinic generated code is packing varargs to a tuple, the arguments' refcounts are not increased. So all the packed arguments‘ refcounts are decreased 1 improperly when the tuple...

awaiting review

BPO | [20291](https://bugs.python.org/issue20291) --- | :--- Nosy | @rhettinger, @ncoghlan, @vstinner, @larryhastings, @methane, @meadori, @zware, @serhiy-storchaka, @GPHemsley, @isidentical, @Fidget-Spinner, @colorfulappl PRs | python/cpython#18609python/cpython#27211python/cpython#30286python/cpython#32092 *Note: these values reflect the state of...

type-feature
3.7
expert-argument-clinic

# Bug report Originally reported to the security address on September 9. ```python ('xn--016c'+'a'*5000).encode('utf-8').decode('idna') ``` The execution time is not linear in relation to the input string size, which can...

type-bug
type-security
3.11
3.10
3.9
3.8
3.7
3.12

# Bug report After installing Python 3.10 from the Microsoft Store, I tried to install a package and was hit with the following warning: ``` WARNING: The script reCBZ.exe is...

type-bug
OS-windows

This is the bug in python count() function. ```pycon >>> a="I Iove python" >>> b=a.count("") >>> print(b) ``` So normally count function is used to check specific word into the...

docs

Most types with `@abstractmethod` definitions have their methods validated in `test_collections.py`, for example: 1. https://github.com/python/cpython/blame/49f61068f49747164988ffc5a442d2a63874fc17/Lib/test/test_collections.py#L1896-L1897 2. https://github.com/python/cpython/blame/49f61068f49747164988ffc5a442d2a63874fc17/Lib/test/test_collections.py#L928 But, not these three: 1. `Awaitable` 2. `Coroutine` 3. `ByteString` I will add...

tests
stdlib

The global allocators were stored in 3 static global variables: `_PyMem_Raw`, `_PyMem`, and `_PyObject`. State for the "small block" allocator was stored in another 13. That makes a total of...

awaiting core review

BPO | [21109](https://bugs.python.org/issue21109) --- | :--- Nosy | @birkenfeld, @jcea, @gustaebel, @vstinner, @taleinat, @tiran, @benjaminp, @jwilk, @ned-deily, @vadmium, @serhiy-storchaka, @psyker156, @shanxS, @epicfaace, @websurfer5 PRs | python/cpython#15244 Dependencies | bpo-17102: tarfile...

type-security
stdlib
3.9