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

* Added a condition to take wraps into consideration when autospeccing objects * Added test cases to test wraps of a class, a class instance and a function type *...

awaiting review

BPO | [32354](https://bugs.python.org/issue32354) --- | :--- Nosy | @vstinner, @ezio-melotti, @ideasman42 *Note: these values reflect the state of the issue at the time it was migrated and might not reflect...

topic-unicode

Part of the PEP 730 work to add iOS support. Adds an iOS usage guide (including documentation of how to add iOS to your own Xcode project), and flags modules...

docs
awaiting merge

I propose adding `PyType_GetModuleByDef()` to the limited C API version 3.13. The function was added to Python 3.9, the function is now well tested. We could add it way earlier...

type-feature
topic-C-API

# Feature or enhancement ### Proposal: The `importlib.resources` functions `{open,read}_{text,binary}`, `path`, `is_resource` and `contents`, deprecated in 3.11 and removed in 3.13 alphas, are, anecdotally, missed by quite a few users....

type-feature
topic-importlib

`python -m test -uall test_os` ``` test test_os failed -- Traceback (most recent call last): File "f:\dev\3x\Lib\test\test_os.py", line 2229, in test_fdopen self.check_bool(os.fdopen, encoding="utf-8") ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "f:\dev\3x\Lib\test\test_os.py", line 2224, in check_bool...

tests
OS-windows

# Bug report ### Bug description: ```python with open("testfile", "r+") as my_file: text = my_file.write("========") print(my_file.readline()) ``` Instead of writing to the beginning of the file, the program writes to...

type-bug
topic-IO

# Bug report During migrating our package from `pkg_resources` to using `importlib.metadata` I encountered some weirdness when it comes to using `importlib.metadata.Distribution` objects. Specifically, it seems to lack a custom...

type-feature
stdlib
topic-importlib

https://bugs.python.org/issue24612

awaiting merge