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

# Documentation The ctypes docs say that the message of the `ArgumentError` for the presented example should be as follows: In fact, it looks like this: ``` >>> strchr =...

docs

Reproduction depends on the quoting. ## QUOTE_ALL ```python import csv data = [1, 1j] with open('example.csv', 'w') as f: writer = csv.writer(f, quoting=csv.QUOTE_ALL) writer.writerow(data) with open('example.csv') as f: contents =...

type-bug

BPO | [46897](https://bugs.python.org/issue46897) --- | :--- Nosy | @carljm, @DinoV, @itamaro, @mpage *Note: these values reflect the state of the issue at the time it was migrated and might not...

type-feature
expert-C-API
3.12

This PR fixes the exception message in `ctypes` docs. Closes #99266. ```python >>> strchr = libc.strchr >>> strchr.restype = c_char_p >>> strchr.argtypes = [c_char_p, c_char] >>> >>> strchr(b"abcdef", b"def") Traceback...

docs
awaiting review
skip news

Note: The `--debug` mode (break run with original exception for seamless external post-mortem handling - e.g. for IDEs, interactive, super-runners ...) was originally inspired by #23900 . Some test code...

awaiting review

Per #92613 , for the following functionality deprecated by PEP 594 (PEP-594) but not formally implemented due to an oversight: * Low-level interfaces `binascii.a2b_uu` and `binascii.b2a_uu` for decoding and encoding...

docs
awaiting review
stdlib
expert-email

As referred to in #92611 , PEP 594 (PEP-594) [states](https://peps.python.org/pep-0594/#uu-and-the-uu-encoding) that the `uuencode`/`decode`-related functions in the `binascii` module, as well as the `uu` codec will be deprecated in Python 3.11...

docs
stdlib
expert-email

BPO | [25035](https://bugs.python.org/issue25035) --- | :--- Nosy | @bitdancer *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current...

type-feature
docs
3.11
easy
3.10
3.7
3.12

* Issue: gh-99257

awaiting core review
interpreter-core
release-blocker
type-crash
needs backport to 3.11