Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Oct 21, 2022

  1. gh-51511: Note that codecs.open()'s encoding parameter affects automa…

    …tic conversion to binary mode (#94370)
    slateny committed Oct 21, 2022
  2. gh-98298: [Enum] document ReprEnum, global_enum, and show_flag_values (

    …GH-98455)
    
    Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
    ethanfurman and CAM-Gerlach committed Oct 21, 2022
  3. 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.
    vstinner committed Oct 21, 2022

Commits on Oct 20, 2022

  1. 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.
    gpshead committed Oct 20, 2022
  2. gh-97912: Avoid quadratic behavior when adding LOAD_FAST_CHECK (GH-97952

    )
    
    * The compiler analyzes the usage of the first 64 local variables all at once using bit masks.
    
    * Local variables beyond the first 64 are only partially analyzed, achieving linear time.
    sweeneyde committed Oct 20, 2022
  3. gh-96035: Make urllib.parse.urlparse reject non-numeric ports (#98273)

    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    kenballus and JelleZijlstra committed Oct 20, 2022
  4. 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.
    MonadChains committed Oct 20, 2022
  5. gh-98360: multiprocessing now spawns children on Windows with correct…

    … argv[0] in virtual environments (GH-98462)
    zooba committed Oct 20, 2022
  6. 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.
    serhiy-storchaka committed Oct 20, 2022
  7. 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>
    4 people committed Oct 20, 2022

Commits on Oct 19, 2022

  1. 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.
    vstinner committed Oct 19, 2022
  2. 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
    rffontenelle committed Oct 19, 2022
Older