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 Feb 20, 2023

  1. gh-101907: Stop using _Py_OPCODE and _Py_OPARG macros (GH-101912)

    * gh-101907: Removes use of non-standard C++ extension from Include/cpython/code.h
    
    * Make cases_generator correct on Windows
    zooba committed Feb 20, 2023
  2. gh-101819: Adapt _io types to heap types, batch 1 (GH-101949)

    Adapt StringIO, TextIOWrapper, FileIO, Buffered*, and BytesIO types.
    
    Automerge-Triggered-By: GH:erlend-aasland
    erlend-aasland committed Feb 20, 2023
  3. gh-101981: Build macOS as recommended by the devguide (GH-102070)

    Automerge-Triggered-By: GH:erlend-aasland
    erlend-aasland committed Feb 20, 2023
  4. gh-97786: Fix compiler warnings in pytime.c (#101826)

    Fixes compiler warnings in pytime.c.
    mdickinson committed Feb 20, 2023

Commits on Feb 19, 2023

  1. gh-101578: Amend PyErr_{Set,Get}RaisedException docs (#101962)

    Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
    erlend-aasland and CAM-Gerlach committed Feb 19, 2023
  2. gh-85417: Clarify behaviour on branch cuts in cmath module (#102046)

    This PR updates the cmath module documentation to reflect the reality that Python is almost always (and as far as I can tell, that "almost" can be omitted) running on a machine whose C double supports signed zeros.
    
    * Removes misleading references to functions being continuous from above / below / the left / the right at branch cuts
    * Expands the note on branch cuts at the top of the module documentation to explain the double-sided sign-of-zero-based behaviour
    mdickinson committed Feb 19, 2023
  3. Add missing 'is' to cmath.log() docstring (#102049)

    Fix missing 'is' in cmath.log() docstring
    OTheDev committed Feb 19, 2023
  4. gh-100210: Correct the comment link for unescaping HTML (#100212)

    gh-100210: correct the comment link for unescaping HTML
    jcamiel committed Feb 19, 2023

Commits on Feb 17, 2023

  1. gh-101992: update plistlib examples to be runnable (#101994)

    * gh-101992: update plistlib examples to be runnable
    
    * Update Doc/library/plistlib.rst
    
    ---------
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    dtrodrigues and terryjreedy committed Feb 17, 2023
  2. gh-100809: Fix handling of drive-relative paths in pathlib.Path.absol…

    …ute() (GH-100812)
    
    Resolving the drive independently uses the OS API, which ensures it starts from the current directory on that drive.
    barneygale committed Feb 17, 2023
  3. gh-101360: Fix anchor matching in pathlib.PureWindowsPath.match() (GH…

    …-101363)
    
    Use `fnmatch` to match path and pattern anchors, just as we do for other
    path parts. This allows patterns such as `'*:/Users/*'` to be matched.
    barneygale committed Feb 17, 2023
  4. Docs: fix typos in PyFunction_WatchCallback docs and in 3.12 NEWS (GH…

    …-101980)
    
    - possitibility => possibility
    - disaallowed => disallowed
    yeojin-dev committed Feb 17, 2023
  5. gh-101758: Fix Refleak-Related Failures in test_singlephase_variants (g…

    …h-101969)
    
    gh-101891 is causing failures under `$> ./python -m test test_imp -R 3:3`.  Furthermore, with that fixed, "test_singlephase_variants" is leaking references.  This change addresses the first part, but skips the leaking tests until we can follow up with a fix.
    
    #101758
    ericsnowcurrently committed Feb 17, 2023

Commits on Feb 16, 2023

  1. gh-101758: Add _PyState_AddModule() Back for the Stable ABI (gh-101956)

    We're adding the function back, only for the stable ABI symbol and not as any form of API. I had removed it yesterday.
    
    This undocumented "private" function was added with the implementation for PEP 3121 (3.0, 2007) for internal use and later moved out of the limited API (3.6, 2016) and then into the internal API (3.9, 2019). I removed it completely yesterday, including from the stable ABI manifest (where it was added because the symbol happened to be exported). It's unlikely that anyone is using _PyState_AddModule(), especially any stable ABI extensions built against 3.2-3.5, but we're playing it safe.
    
    #101758
    ericsnowcurrently committed Feb 16, 2023
  2. GH-96764: rewrite asyncio.wait_for to use asyncio.timeout (#98518)

    Changes `asyncio.wait_for` to use `asyncio.timeout` as its underlying implementation.
    kumaraditya303 committed Feb 16, 2023
  3. gh-93573: Replace wrong example domains in configparser doc (GH-93574)

    * Replace bitbucket.org domain by forge.example
    * Update example to python.org
    * Use explicitly invalid domain
    
    topsecret.server.com domain is not controled by PSF. It's replaced by invalid topsecret.server.example domain. It follows RFC 2606, which advise .example as TLD for documentation.
    sblondon committed Feb 16, 2023
  4. gh-101881: Support (non-)blocking read/write functions on Windows pip…

    …es (GH-101882)
    
    * fileutils: handle non-blocking pipe IO on Windows
    
    Handle erroring operations on non-blocking pipes by reading the _doserrno code.
    Limit writes on non-blocking pipes that are too large.
    
    * Support blocking functions on Windows
    
    Use the GetNamedPipeHandleState and SetNamedPipeHandleState Win32 API functions to add support for os.get_blocking and os.set_blocking.
    RayyanAnsari committed Feb 16, 2023
Older