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 Apr 23, 2023

  1. gh-101688: Implement types.get_original_bases (#101827)

    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    Gobot1234 and AlexWaygood committed Apr 23, 2023
  2. gh-103716: Add test support requires fork in simple_subprocess (gh-10…

    …3717)
    
    add requires fork as test case depends on this
    itsankitkp committed Apr 23, 2023
  3. GH-103699: Add __orig_bases__ to various typing classes (#103698)

    Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    3 people committed Apr 23, 2023
  4. gh-81403: Fix for CacheFTPHandler in urllib (#13951)

    bpo-37222: Fix for CacheFTPHandler in urllib
    
    A call to FTP.ntransfercmd must be followed by FTP.voidresp to clear
    the "end transfer" message. Without this, the client and server get
    out of sync, which will result in an error if the FTP instance is
    reused to open a second URL. This scenario occurs for even the most
    basic usage of CacheFTPHandler.
    
    Reverts the patch merged as a resolution to bpo-16270 and adds a test
    case for the CacheFTPHandler in test_urllib2net.py.
    
    Co-authored-by: Senthil Kumaran <senthil@python.org>
    hemberger and orsenthil committed Apr 23, 2023

Commits on Apr 22, 2023

  1. gh-68654: Clarify subdirectories used by pkgutil.extend_path (#103701)

    Clarify sub directories used by pkgutil.extend_path in the docs and the docstring
    san-juan1667 committed Apr 22, 2023
  2. Revert "Avoid error lexing multiprocessing docs code block on Pygment…

    …s 2.15.0" (#103616)
    
    This reverts commit ace51dc.
    hugovk committed Apr 22, 2023
  3. gh-84436: Implement Immortal Objects (gh-19474)

    This is the implementation of PEP683
    
    Motivation:
    
    The PR introduces the ability to immortalize instances in CPython which bypasses reference counting. Tagging objects as immortal allows up to skip certain operations when we know that the object will be around for the entire execution of the runtime.
    
    Note that this by itself will bring a performance regression to the runtime due to the extra reference count checks. However, this brings the ability of having truly immutable objects that are useful in other contexts such as immutable data sharing between sub-interpreters.
    eduardo-elizondo committed Apr 22, 2023
  4. gh-83791: Raise TypeError for len(memoryview_0d) (#18463)

    Changes the behaviour of `len` on a zero-dimensional `memoryview` to raise `TypeError`. Previously, `len` would return `1`.
    eric-wieser committed Apr 22, 2023
  5. GH-103484: Fix broken links reported by linkcheck (#103608)

    * Doc: Fix broken links reported by linkcheck
    
    * Apply suggestions from code review
    
    - Remove extra diff line in faq/library.rst (merwok)
    - Use HTTPS to link Unicode 15.0.0 to solve a redirect (hugovk)
    - Use wayback machine link for openssl 1.1.0 instead of linking 1.1.1, "as this text mentions a feature from 1.1.0" (hugovk)
    
    Co-authored-by: Éric <merwok@netwok.org>
    Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
    
    * Doc: Make mark-up code as literal
    
    * Doc: Alphabetize items in linkcheck_ignore
    
    Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
    
    * Doc: Improve comment in sphinx conf
    
    Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Éric <merwok@netwok.org>
    Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
    Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
    4 people committed Apr 22, 2023
  6. gh-103559: Update bundled pip version to 23.1.1 (gh-103560)

    * Update bundled pip version to 23.1
    * Update to pip 23.1.1
    pfmoore committed Apr 22, 2023
  7. gh-103556: [inspect.Signature] disallow pos-or-kw params without defa…

    …ult after pos-only with default (#103557)
    sobolevn committed Apr 22, 2023
  8. Minor improvements to the functools docs (#103672)

    * Use an f-string for improved readability
    
    * Put version notes in chronological order
    rhettinger committed Apr 22, 2023

Commits on Apr 21, 2023

  1. gh-103082: Fix shifted field initialization in instrumentation.c (G…

    …H-103561)
    
    Fix shifted field initialization in instrumentation.c
    arhadthedev committed Apr 21, 2023
  2. gh-99352: Respect http.client.HTTPConnection.debuglevel in `urllib.…

    …request.AbstractHTTPHandler` (#99353)
    
    * bugfix: let the HTTP- and HTTPSHandlers respect the value of http.client.HTTPConnection.debuglevel
    
    * add tests
    
    * add news
    
    * ReSTify NEWS and reword a bit.
    
    * Address Review Comments.
    
    * Use mock.patch.object instead of settting the module level value.
    * Used test values to assert the debuglevel.
    
    ---------
    
    Co-authored-by: Gregory P. Smith <greg@krypto.org>
    Co-authored-by: Senthil Kumaran <senthil@python.org>
    3 people committed Apr 21, 2023

Commits on Apr 20, 2023

  1. gh-98641: Document difference between task group and gather (#103644)

    The purpose of the comments is to rule out the implication that asyncio.TaskGroup is a drop-in replacement / better alternative to asyncio.gather().
    why-not-try-calmer committed Apr 20, 2023

Commits on Apr 19, 2023

  1. gh-98040: Move the Single-Phase Init Tests Out of test_imp (gh-102561)

    I recently added some tests to test_imp, but @warsaw is removing that file in gh-98573. The tests are worth keeping so here I'm moving them to test_import.
    ericsnowcurrently committed Apr 19, 2023
  2. gh-102856: Initial implementation of PEP 701 (#102855)

    Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
    Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
    Co-authored-by: Marta Gómez Macías <mgmacias@google.com>
    Co-authored-by: sunmy2019 <59365878+sunmy2019@users.noreply.github.com>
    5 people committed Apr 19, 2023
  3. gh-102778: IDLE - make sys.last_exc available in Shell after traceback (

    #103314)
    
    ---------
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    iritkatriel committed Apr 19, 2023
Older