Skip to content
Permalink
main

Commits on Jan 8, 2022

  1. bpo-46306: simplify CodeType attribute access in doctest.py (GH-3…

    …0481)
    
    Assume co_firstlineno always exists on types.CodeType objects.
    
    Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
    sobolevn and kumaraditya303 committed Jan 8, 2022
  2. bpo-46301: [Enum] test uncomparable values in _convert_ (GH-30472)

    add tests that cover different types, and same non-comparable types
    sobolevn committed Jan 8, 2022
  3. bpo-46235: Do all ref-counting at once during list/tuple multiplicati…

    …on (GH-30346)
    
    When multiplying lists and tuples by `n`, increment each element's refcount, by `n`, just once.
    
    Saves `n-1` increments per element, and allows for a leaner & faster copying loop.
    
    Code by  sweeneyde (Dennis Sweeney).
    sweeneyde committed Jan 8, 2022

Commits on Jan 7, 2022

  1. bpo-46296: [Enum] add a test for missing value recovery (GH-30458)

    In `__set_name__` there is a check for the `_value_` attribute and an attempt to add it if missing; this adds a test to cover the case for simple enums with a custom `__new__` method.
    sobolevn committed Jan 7, 2022
  2. bpo-46289: Make conversion of FormattedValue not optional on ASDL (GH…

    …-30467)
    
    Automerge-Triggered-By: GH:isidentical
    isidentical committed Jan 7, 2022
  3. bpo-28546: [doc] Clarify setting pdb breakpoints (GH-30360)

    Co-authored-by: Ian Kelling <ian@iankelling.org>
    hugovk and ian-kelling committed Jan 7, 2022
  4. bpo-46216: remove spurious link to os.system() from os.time() documen…

    …tation (GH-30326)
    
    Automerge-Triggered-By: GH:iritkatriel
    iritkatriel committed Jan 7, 2022
  5. bpo-46070: Fix asyncio initialisation guard (GH-30423)

    If init flag is set, exit successfully immediately.
    If not, only set the flag after successful initialization.
    erlend-aasland committed Jan 7, 2022
Older