Skip to content
Permalink
main

Commits on Jul 24, 2021

  1. bpo-44676: Serialize the union type using only public API (GH-27323)

    Remove also the _from_args() constructor.
    serhiy-storchaka committed Jul 24, 2021
  2. bpo-44676: Fix reference leaks in union_reduce (GH-27332)

    Automerge-Triggered-By: GH:pablogsal
    pablogsal committed Jul 24, 2021
  3. bpo-44731: Simplify the union type implementation (GH-27318)

    Remove direct support of typing types in the C code because they are already supported by defining methods __or__ and __ror__ in the Python code.
    serhiy-storchaka committed Jul 24, 2021
  4. bpo-44717: improve AttributeError on circular imports of submodules (G…

    …H-27299)
    
    Signed-off-by: Filipe Laíns <lains@riseup.net>
    
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    FFY00 and ambv committed Jul 24, 2021
  5. bpo-44353: Expand NewType tests for complex __qualname__. (#27311)

    Make NewType pickleable by name.
    serhiy-storchaka committed Jul 24, 2021

Commits on Jul 23, 2021

  1. Fix a deprecation warning in typing tests (#27312)

    The test was accessing typing.{io,re}.__all__, which triggered the
    warning. This check isn't necessary anymore, since the objects from
    typing.{io,re}.__all__ are in typing.__all__ as well, since Python 3.10.
    srittau committed Jul 23, 2021
  2. bpo-42747: Remove Py_TPFLAGS_HAVE_AM_SEND and make Py_TPFLAGS_HAVE_VE…

    …RSION_TAG no-op (GH-27260)
    
    * Remove code that checks Py_TPFLAGS_HAVE_VERSION_TAG
        
        The field is always present in the type struct, as explained
        in the added comment.
    
    * Remove Py_TPFLAGS_HAVE_AM_SEND
        
        The flag is not needed, and since it was added in 3.10 it can be removed now.
    encukou committed Jul 23, 2021
  3. Improve consistency of colorsys.rgb_to_hsv (GH-27277)

    Cache repeated difference to make code easier to read and consistent with colorsys.rgb_to_hls.
    seb-hub committed Jul 23, 2021
  4. bpo-29298: Fix crash with required subparsers without dest (GH-3680)

    Automerge-Triggered-By: GH:encukou
    asottile committed Jul 23, 2021

Commits on Jul 22, 2021

  1. bpo-44713: [doc fix]: typo in subprocess.rst (GH-27297)

    This fixes a small typo. The code fragment should not be quoted. Thank you
    @merwok for the feedback.
    jdevries3133 committed Jul 22, 2021
  2. bpo-44353: Implement typing.NewType __call__ method in C (#27262)

    Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
    Co-authored-by: Denis Laxalde <denis@laxalde.org>
    3 people committed Jul 22, 2021
  3. bpo-44708: Only re-run test methods that match names of previously fa…

    …iling test methods (GH-27287)
    
    * Move to a static argparse.Namespace subclass
    * Roughly annotate runtest.py
    * Refactor libregrtest to use lossless test result objects
    * Only re-run test methods that match names of previously failing test methods
    * Adopt tests to cover test method name matching
    
    Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
    ambv and pablogsal committed Jul 22, 2021
  4. bpo-44651: delete entry of "coercion" in Doc/glossary.rst (GH-27226)

    bpo 44651: delete entry of "coercion".
    StevenHsuYL committed Jul 22, 2021
Older