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

* Support for conversion specifiers o (octal) and X (uppercase hexadecimal). * Support for length modifiers j (intmax_t) and t (ptrdiff_t). * Length modifiers are now applied to all integer...

awaiting merge

# Bug report The fix for https://github.com/python/cpython/issues/87389 prevents servers from handling request paths with multiple leading slashes. For example, one might have a simple server that just reflects the request...

type-bug

The current documentation of `append` shows this example: ``` >>> parser = argparse.ArgumentParser() >>> parser.add_argument('--foo', action='append') >>> parser.parse_args('--foo 1 --foo 2'.split()) Namespace(foo=['1', '2']) ``` Working then with `foo`, which indeed...

docs

# Feature or enhancement Following https://github.com/ericsnowcurrently/multi-core-python/wiki/0-The-Plan we need to convert `_zoneinfo` to use module state. # Pitch Right now there are several global objects: https://github.com/python/cpython/blob/47ab8480e71ab3949a336a94c7fd146b1fce595d/Modules/_zoneinfo.c#L23-L25 and https://github.com/python/cpython/blob/47ab8480e71ab3949a336a94c7fd146b1fce595d/Modules/_zoneinfo.c#L96-L101 And one static...

type-feature
expert-subinterpreters

BPO | [36876](https://bugs.python.org/issue36876) --- | :--- Nosy | @vsajip, @vstinner, @tiran, @phsilva, @ericsnowcurrently, @soltysh, @pablogsal, @sweeneyde PRs | python/cpython#13372python/cpython#13531python/cpython#15760python/cpython#15877python/cpython#16017python/cpython#16058python/cpython#16328python/cpython#16841python/cpython#22841python/cpython#23045python/cpython#23431python/cpython#23918python/cpython#23929python/cpython#31225python/cpython#31239python/cpython#31264 *Note: these values reflect the state of the issue at the...

type-bug
3.8
expert-subinterpreters

On Windows, the path `C:` means "the current directory on the C: drive". But pathlib's `relative_to()` treats it as the immediate parent of `C:\`. This makes sense lexographically, but it's...

type-bug
OS-windows
expert-pathlib

This also gets rid of the duplicated logic. * Issue: gh-98718

awaiting merge

**Documentation** The documentation for 3.11 (https://docs.python.org/3.11/library/dis.html#opcode-MAKE_FUNCTION) related to `MAKE_FUNCTION` seems to be the same for Python 3.10, which would expect 2 elements to be removed from the stack, yet, it...

docs

Users may wish to define subclasses of `pathlib.PurePath` and `Path` to add or modify existing methods. Before this change, attempting to instantiate a subclass raised an exception like: AttributeError: type...

awaiting changes
expert-pathlib