Skip to content
Permalink
master

Commits on Oct 13, 2020

  1. bpo-41995: Fix null ptr deref in tracemalloc_copy_trace() (GH-22660)

    Fix a null pointer dereference in tracemalloc_copy_trace()
    of _tracemalloc.
    Yunlongs committed Oct 13, 2020

Commits on Oct 12, 2020

  1. bpo-40422: Move _Py_*_SUPPRESS_IPH bits into _Py_closerange (GH-22672)

    This suppression is no longer needed in os_closerange_impl, as it just
    invokes the internal _Py_closerange implementation. On the other hand,
    consumers of _Py_closerange may not have any other reason to suppress
    invalid parameter issues, so narrow the scope to here.
    kevans91 committed Oct 12, 2020
  2. Fix typo in "Context manager types" section in typing.rst (GH-22676)

    Fix typo in the "Context manager types" section in `typing.rst`.
    
    Automerge-Triggered-By: @gvanrossum
    gousaiyang committed Oct 12, 2020
  3. bpo-42015: Reorder dereferencing calls in meth_dealloc, to make sure …

    …m_self is kept alive long enough (GH-22670)
    YannickJadoul committed Oct 12, 2020
  4. Delete PyGen_Send (#22663)

    vladima committed Oct 12, 2020
  5. [doc] Fix typo in the graphlib docs (GH-22661)

    Automerge-Triggered-By: @pablogsal
    linchiwei123 committed Oct 12, 2020

Commits on Oct 11, 2020

  1. bpo-41739: Fix test_logging.test_race_between_set_target_and_flush() (G…

    …H-22655)
    
    The test now waits until all threads complete to avoid leaking
    running threads.
    
    Also, use regular threads rather than daemon threads.
    vstinner committed Oct 11, 2020
  2. bpo-41971: Fix test failure in test.test_tools.test_c_analyzer when m…

    …utating global state (GH-22652)
    pablogsal committed Oct 11, 2020
  3. bpo-40423: Optimization: use close_range(2) if available (GH-22651)

    close_range(2) should be preferred at all times if it's available, otherwise we'll use closefrom(2) if available with a fallback to fdwalk(3) or plain old loop over fd range in order of most efficient to least.
    
    [note that this version does check for ENOSYS, but currently ignores all other errors]
    
    Automerge-Triggered-By: @pablogsal
    kevans91 committed Oct 11, 2020
  4. bpo-40422: create a common _Py_closerange API (GH-19754)

    Such an API can be used both for os.closerange and subprocess. For the latter, this yields potential improvement for platforms that have fdwalk but wouldn't have used it there. This will prove even more beneficial later for platforms that have close_range(2), as the new API will prefer that over all else if it's available.
    
    The new API is structured to look more like close_range(2), closing from [start, end] rather than the [low, high) of os.closerange().
    
    Automerge-Triggered-By: @gpshead
    kevans91 committed Oct 11, 2020
  5. Fix .. code-block :: directives in decimal.rst (GH-22571)

    asottile committed Oct 11, 2020
  6. Fix typo in listobject.h (GH-22588)

    chilaxan committed Oct 11, 2020
  7. Fix typo (GH-22582)

    /af/of/s
    
    Automerge-Triggered-By: @Mariatta
    st0le committed Oct 11, 2020
  8. bpo-41993: Fix possible issues in remove_module() (GH-22631)

    * PyMapping_HasKey() is not safe because it silences all exceptions and can return incorrect result.
    * Informative exceptions from PyMapping_DelItem() are overridden with RuntimeError and
      the original exception raised before calling remove_module() is lost.
    * There is a race condition between PyMapping_HasKey() and PyMapping_DelItem().
    serhiy-storchaka committed Oct 11, 2020
  9. bpo-42002: Clean up initialization of the sys module. (GH-22642)

    Makes the code clearer and make errors handling more correct.
    serhiy-storchaka committed Oct 11, 2020
  10. Fix typo in typing.rst (GH-22625)

    abdnh committed Oct 11, 2020

Commits on Oct 10, 2020

  1. bpo-41991: Remove _PyObject_HasAttrId (GH-22629)

    It can silence arbitrary exceptions.
    serhiy-storchaka committed Oct 10, 2020
  2. bpo-42000: Cleanup the AST related C-code (GH-22641)

    - Use the proper asdl sequence when creating empty arguments
    - Remove reduntant casts (thanks to new typed asdl_sequences)
    - Remove MarshalPrototypeVisitor and some utilities from asdl generator
    - Fix the header of `Python/ast.c` (kept from pgen times)
    
    Automerge-Triggered-By: @pablogsal
    isidentical committed Oct 10, 2020
  3. bpo-41986: Add Py_FileSystemDefaultEncodeErrors and Py_UTF8Mode back …

    …to limited API (GH-22621)
    serhiy-storchaka committed Oct 10, 2020
  4. Fix incorrect parameter name (GH-22613)

    Automerge-Triggered-By: @Mariatta
    xyb committed Oct 10, 2020
  5. bpo-41756: Add PyIter_Send function (#22443)

    vladima committed Oct 10, 2020

Commits on Oct 9, 2020

  1. bpo-41985: Add _PyLong_FileDescriptor_Converter and AC converter for …

    …"fildes". (GH-22620)
    serhiy-storchaka committed Oct 9, 2020
  2. bpo-39481: Fix duplicate SimpleQueue type in test_genericalias.py (GH…

    …-22619)
    
    There are two different `SimpleQueue` types imported (from `multiprocessing.queues` and `queue`) in `Lib/test/test_genericalias.py`, the second one shadowing the first one, making the first one not actually tested. Fix by using different names.
    
    Automerge-Triggered-By: @gvanrossum
    gousaiyang committed Oct 9, 2020
  3. bpo-41974: Remove complex.__float__, complex.__floordiv__, etc (GH-22593

    )
    
    Remove complex special methods __int__, __float__, __floordiv__,
    __mod__, __divmod__, __rfloordiv__, __rmod__ and __rdivmod__
    which always raised a TypeError.
    serhiy-storchaka committed Oct 9, 2020
  4. bpo-41979: Accept star-unpacking on with-item targets (GH-22611)

    Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
    isidentical and pablogsal committed Oct 9, 2020
  5. Updated README for python 3.10 (GH-22605)

    Updated python version and link to the release schedule
    Nishit-Dua committed Oct 9, 2020

Commits on Oct 8, 2020

  1. bpo-41976: Fix the fallback to gcc of ctypes.util.find_library when u…

    …sing gcc>9 (GH-22598)
    pablogsal committed Oct 8, 2020
  2. bpo-41306: Allow scale value to not be rounded (GH-21715)

    This fixes the test failure with Tk 6.8.10 which is caused by changes to how Tk rounds the `from`, `to` and `tickinterval` arguments. This PR uses `noconv` if the patchlevel is greater than or equal to 8.6.10 (credit to Serhiy for this idea as it is much simpler than what I previously proposed).
    
    Going into more detail for those who want it, the Tk change was made in [commit 591f68c](tcltk/tk@591f68c) and means that the arguments listed above are rounded relative to the value of `from`. However, when rounding the `from` argument ([line 623](https://github.com/tcltk/tk/blob/591f68cb382525b72664c6fecaab87742b6cc87a/generic/tkScale.c#L623)), it is rounded relative to itself (i.e. rounding `0`) and therefore the assigned value for `from` is always what is given (no matter what values of `from` and `resolution`).
    
    Automerge-Triggered-By: @pablogsal
    E-Paine committed Oct 8, 2020
Older
You can’t perform that action at this time.