[proxy] web.archive.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

python/cpython

sanjioh

The Wayback Machine - http://web.archive.org/web/20191226013014/https://github.com/python/cpython/commits/master

Permalink

Commits on Dec 25, 2019

  1. Minor C API documentation improvements. (GH-17696)

    The added parentheses around the PyIter_Next assignment suppress the following warning which gcc throws without:
    ```
    warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    ```
    The other change is a typo fix

Commits on Dec 24, 2019

Commits on Dec 23, 2019

Commits on Dec 22, 2019

Commits on Dec 20, 2019

Commits on Dec 19, 2019

Commits on Dec 18, 2019

  1. bpo-39028: Performance enhancement in keyword extraction (GH-17576)

    All keywords should first be checked for pointer identity. Only
    after that failed for all keywords (unlikely) should unicode
    equality be used.
    The original code would call unicode equality on any non-matching
    keyword argument. Meaning calling it often e.g. when a function
    has many kwargs but only the last one is provided.

Commits on Dec 17, 2019

  1. bpo-38546: multiprocessing tests stop the resource tracker (GH-17641)

    Multiprocessing and concurrent.futures tests now stop the resource
    tracker process when tests complete.
    
    Add ResourceTracker._stop() method to
    multiprocessing.resource_tracker.
    
    Add _cleanup_tests() helper function to multiprocessing.util: share
    code between multiprocessing and concurrent.futures tests.
  2. bpo-38858: Small integer per interpreter (GH-17315)

    Each Python subinterpreter now has its own "small integer
    singletons": numbers in [-5; 257] range.
    
    It is no longer possible to change the number of small integers at
    build time by overriding NSMALLNEGINTS and NSMALLPOSINTS macros:
    macros should now be modified manually in pycore_pystate.h header
    file.
    
    For now, continue to share _PyLong_Zero and _PyLong_One singletons
    between all subinterpreters.

Commits on Dec 16, 2019

  1. bpo-38811: Check for presence of os.link method in pathlib (GH-17225)

    Commit 6b5b013 ("bpo-26978: Implement pathlib.Path.link_to (Using
    os.link) (GH-12990)") introduced a new link_to method in pathlib. However,
    this makes pathlib crash when the 'os' module is missing a 'link' method.
    
    Fix this by checking for the presence of the 'link' method on pathlib
    module import, and if it's not present, turn it into a runtime error like
    those emitted when there is no lchmod() or symlink().
    
    Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>

Commits on Dec 15, 2019