main
Name already in use
Commits on Oct 23, 2022
Commits on Oct 22, 2022
-
GH-98543: Fix
asyncio.TaskGroupto not keep reference to errors aft……er raising ExceptionGroup (#98544)
Commits on Oct 21, 2022
-
-
gh-51511: Note that codecs.open()'s encoding parameter affects automa…
…tic conversion to binary mode (#94370)
-
-
gh-98298: [Enum] document ReprEnum, global_enum, and show_flag_values (…
…GH-98455) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
-
-
gh-95027: Fix regrtest stdout encoding on Windows (#98492)
On Windows, when the Python test suite is run with the -jN option, the ANSI code page is now used as the encoding for the stdout temporary file, rather than using UTF-8 which can lead to decoding errors.
Commits on Oct 20, 2022
-
gh-97514: Don't use Linux abstract sockets for multiprocessing (#98501)
Linux abstract sockets are insecure as they lack any form of filesystem permissions so their use allows anyone on the system to inject code into the process. This removes the default preference for abstract sockets in multiprocessing introduced in Python 3.9+ via #18866 while fixing #84031. Explicit use of an abstract socket by a user now generates a RuntimeWarning. If we choose to keep this warning, it should be backported to the 3.7 and 3.8 branches.
-
gh-97912: Avoid quadratic behavior when adding LOAD_FAST_CHECK (GH-97952
-
gh-96035: Make urllib.parse.urlparse reject non-numeric ports (#98273)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
-
gh-98421: Clean Up PyObject_Print (GH-98422)
Work on test coverage for `PyObject_Print` made it clear that some lines can't get executed. Simplify the function by excluding the checks for non-string types. Also eliminate creating a temporary bytes object.
-
gh-98360: multiprocessing now spawns children on Windows with correct…
… argv[0] in virtual environments (GH-98462)
-
-
-
Add more tkinter.Canvas tests (GH-98475)
It is a prerequisite for #94473. Add tests for the coords() method and for creation of some Canvas items.
-
gh-95023: Added os.setns and os.unshare functions (#95046)
Added os.setns and os.unshare to easily switch between namespaces on Linux. Co-authored-by: Christian Heimes <christian@python.org> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Victor Stinner <vstinner@python.org>
-
Commits on Oct 19, 2022
-
gh-98257: Make _PyEval_SetTrace() reentrant (#98258)
Make sys.setprofile() and sys.settrace() functions reentrant. They can no long fail with: RuntimeError("Cannot install a trace function while another trace function is being installed"). Make _PyEval_SetTrace() and _PyEval_SetProfile() functions reentrant, rather than detecting and rejecting reentrant calls. Only delete the reference to function arguments once the new function is fully set, when a reentrant call is safe. Call also _PySys_Audit() earlier. -
Doc: Remove title text from internal links (#98409)
Rely on the title of the linked internal page instead of putting the title. Sphinx will render with the title correctly, and this will reduce work for translators