cpython
cpython copied to clipboard
The Python programming language
* Issue: gh-91058
# Feature or enhancement To allow under Linux the execution of a script written under Windows, importing modules, some of which have the .pyw file extension, it would be useful...
…eateSocket (GH-98319) Co-authored-by: C.A.M. Gerlach (cherry picked from commit f6b1e4048dc353aecfbfbae07de8212900632098) * Issue: gh-98307
This PR fixes the last few things from the PEP 646 implementation checklist at https://github.com/python/cpython/issues/87390#issuecomment-1104419757. Specifically: * Fix a weird hack we used for star-unpacking in `test_genericalias.py` before the star-unpacking...
# Feature or enhancement The goal of this feature is to allow the JSON serializer in stdlib to serialize non-finite values (NaN, Inf, -Inf) according to the [JSON specification](https://datatracker.ietf.org/doc/html/rfc8259). Going...
BPO | [38836](https://bugs.python.org/issue38836) --- | :--- Nosy | @JulienPalard, @MaT1g3R, @iritkatriel *Note: these values reflect the state of the issue at the time it was migrated and might not reflect...
macOS may raise `OSError` of `EPROTOTYPE` when writing to a socket that is in the middle of closing down. See also http://erickt.github.io/blog/2014/11/19/adventures-in-debugging-a-potential-osx-kernel-bug/ This PR updates the test case `test_sendfile_fallback_close_peer_in_the_middle_of_receiving` to...
## Problem The documentation on [asyncio.Task.cancel](https://docs.python.org/3/library/asyncio-task.html#asyncio.Task.cancel) says > This arranges for a CancelledError exception to be thrown into the wrapped coroutine on the next cycle of the event loop. >...
Add Python implementations of certain longobject.c functions. These use asymptotically faster algorithms that can be used for operations on integers with many digits. In those cases, the performance overhead of...
BPO | [42347](https://bugs.python.org/issue42347) --- | :--- Nosy | @asvetlov, @1st1, @sersorrel *Note: these values reflect the state of the issue at the time it was migrated and might not reflect...