cpython
cpython copied to clipboard
The Python programming language
* 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 *...
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...
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...
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...
* Issue: gh-115538
# 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....
`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...
# 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...
# 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...
https://bugs.python.org/issue24612