Skip to content
Permalink
main

Commits on May 13, 2021

  1. bpo-39906: Document new follow_symlinks argument to pathlib.Path.stat…

    …() and chmod() in 3.10 whatsnew. (GH-26089)
    barneygale committed May 13, 2021
  2. bpo-44114: Fix dictkeys_reversed and dictvalues_reversed function sig…

    …natures (GH-26062)
    
    These are passed and called as PyCFunction, however they are defined here without the (ignored) args parameter.
    
    This works fine in some C compilers, but fails in webassembly or anything else that has strict function pointer call type checking.
    joemarshall committed May 13, 2021
  3. bpo-44098: Drop ParamSpec from most __parameters__ in typing gene…

    …rics (GH-26013)
    
    Added two new attributes to ``_GenericAlias``: 
    * ``_typevar_types``, a single type or tuple of types indicating what types are treated as a ``TypeVar``. Used for ``isinstance`` checks.
    * ``_paramspec_tvars ``, a boolean flag which guards special behavior for dealing with ``ParamSpec``. Setting it to ``True`` means this  class deals with ``ParamSpec``.
    
    Automerge-Triggered-By: GH:gvanrossum
    Fidget-Spinner committed May 13, 2021
  4. bpo-44113: Fix compiler warning in PySys_AddWarnOption() (GH-26084)

    Ignore Py_DEPRECATED() warning on purpose.
    vstinner committed May 13, 2021
  5. bpo-44030: Fix formatting error in exceptions docs (GH-25929)

    miguendes committed May 13, 2021

Commits on May 12, 2021

  1. bpo-44113: Deprecate old functions to config Python init (GH-26060)

    Deprecate the following functions to configure the Python
    initialization:
    
    * PySys_AddWarnOption()
    * PySys_AddWarnOptionUnicode()
    * PySys_AddXOption()
    * PySys_HasWarnOptions()
    * Py_SetPath()
    * Py_SetProgramName()
    * Py_SetPythonHome()
    * Py_SetStandardStreamEncoding()
    * _Py_SetProgramFullPath()
    
    Use the new PyConfig API of the Python Initialization Configuration
    instead (PEP 587).
    vstinner committed May 12, 2021
  2. bpo-40645: Fix ref leaks in _hashopenssl (GH-26079)

    erlend-aasland committed May 12, 2021
  3. bpo-44116: Add GC support to _csv heap types (GH-26074)

    erlend-aasland committed May 12, 2021
  4. bpo-44117: Add C API section to What's New in Python 3.11 (GH-26071)

    Add also references to PyFrame_BlockPop() removal.
    vstinner committed May 12, 2021
  5. bpo-40645: Fix reference leak in the _hashopenssl extension (GH-26072)

    The `PyModule_AddObjectRef` function doesn't steal a reference, so an extra `Py_DECREF` is needed.
    
    Automerge-Triggered-By: GH:tiran
    encukou committed May 12, 2021
  6. bpo-38908: Fix issue when non runtime_protocol failed to raise TypeEr…

    …ror (#26067)
    uriyyo committed May 12, 2021
  7. Use get_binascii_state instead of PyModule_GetState (GH-26069)

    corona10 committed May 12, 2021
  8. bpo-44089: Allow subclassing of csv.Error (GH-26008)

    * fix subclass error
    
    * Update 2021-05-09-22-52-34.bpo-44089.IoANsN.rst
    Fidget-Spinner committed May 12, 2021
  9. bpo-25479: add unit test for __subclasshook__ in test_abc.py (GH-24034)

    Co-authored-by: Szymon Trapp
    karlcow committed May 12, 2021
  10. Remove PyTryblock struct (GH-26059)

    markshannon committed May 12, 2021
  11. bpo-40640: doc -- add missing ... in example of Continue (#26055)

    Co-authored-by: Chas Belov <59780179+ChasBelov@users.noreply.github.com>
    iritkatriel and ChasBelov committed May 12, 2021
  12. bpo-44002: Switch to lru_cache in urllib.parse. (GH-25798)

    Switch to lru_cache in urllib.parse.
    
    urllib.parse now uses functool.lru_cache for its internal URL splitting and
    quoting caches instead of rolling its own like its the 90s.
    
    The undocumented internal Quoted class API is now deprecated
    as it had no reason to be public and no existing OSS users were found.
    
    The clear_cache() API remains undocumented but gets an explicit test as it
    is used in a few projects' (twisted, gevent) tests as well as our own regrtest.
    gpshead committed May 12, 2021

Commits on May 11, 2021

  1. bpo-44061: Fix pkgutil.iter_modules regression when passed a pathlib.…

    …Path object (GH-25964)
    miguendes committed May 11, 2021
  2. bpo-28528: Fix pdb.checkline() attribute error when 'curframe' is Non…

    …e. (#25438)
    
    
    Co-authored-by: Thomas Kluyver <takowl@gmail.com>
    erlend-aasland and takluyver committed May 11, 2021
  3. Correct the changelog entry for the syntax error message for multipl…

    …e exception types (GH-26038)
    graingert committed May 11, 2021
  4. Fix import of HTTPError (GH-22304)

    Import HTTPError from urllib.error instead of urllib.request.
    srittau committed May 11, 2021
  5. bpo-10548: expectedFailure does not apply to fixtures (#23201)

    iritkatriel committed May 11, 2021
  6. bpo-23750: Document os-system, subprocess. Patch by Martin Panter. (G…

    …H-26016)
    
    * Document os-system, subprocess Patch
    
    * Update Doc/library/os.rst
    
    Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
    
    Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
    uniocto and Fidget-Spinner committed May 11, 2021
  7. bpo-25821: Fix inaccuracy in threading.enumerate/is_alive documentati…

    …on (#23192)
    iritkatriel committed May 11, 2021
  8. bpo-43795: PEP 652 user documentation (GH-25668)

    - Reformat the C API and ABI Versioning page (and extend/clarify a bit)
    - Rewrite the stable ABI docs into a general text on C API Compatibility
    - Add a list of Limited API contents, and notes for the individual items. 
    - Replace `Include/README.rst` with a link to a devguide page with the same info
    encukou committed May 11, 2021
  9. Doc: http.server: directory is not a class attribute, but an argument. (

    GH-26017)
    
    * Doc: http.server: directory is not a class attribute, but an argument.
    JulienPalard committed May 11, 2021

Commits on May 10, 2021

  1. bpo-44074: let patchcheck infer the base branch name (GH-25991)

    leoll2 committed May 10, 2021
  2. Prevent access outside buffer (GH-26012)

    sweeneyde committed May 10, 2021
Older