X Tutup
The Wayback Machine - https://web.archive.org/web/20201124221531/https://github.com/python/cpython/commits/master
Skip to content
Permalink
master

Commits on Nov 24, 2020

  1. bpo-40170: Hide impl detail of Py_TRASHCAN_BEGIN macro (GH-23235)

    The Py_TRASHCAN_BEGIN macro no longer accesses PyTypeObject attributes,
    but now can get the condition by calling the new private
    _PyTrash_cond() function which hides implementation details.
    shihai1991 committed Nov 24, 2020
  2. bpo-42392: Remove loop parameter form asyncio locks and Queue (#23420)

    Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
    uriyyo and asvetlov committed Nov 24, 2020
  3. bpo-42212: smelly.py also checks the dynamic library (GH-23423)

    The smelly.py script now also checks the Python dynamic library and
    extension modules, not only the Python static library. Make also the
    script more verbose: explain what it does.
    
    The GitHub Action job now builds Python with the libpython dynamic
    library.
    vstinner committed Nov 24, 2020
  4. bpo-41100: in test_platform, ignore 10.16 (GH-23485)

    ned-deily committed Nov 24, 2020
  5. bpo-41100: minor build installer fixes (GH-23480)

    ned-deily committed Nov 24, 2020

Commits on Nov 23, 2020

  1. Typo (#23482)

    jcea committed Nov 23, 2020
  2. Added support for negative indexes to PurePath.parents (GH-21799)

    This commit also fixes up some of the overlapping documentation changed
    in bpo-35498, which added support for indexing with slices.
    
    Fixes bpo-21041.
    https://bugs.python.org/issue21041
    
    Co-authored-by: Paul Ganssle <p.ganssle@gmail.com>
    Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
    3 people committed Nov 23, 2020
  3. bpo-15450: Allow subclassing of dircmp (GH-23424) (#23424)

    Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com>
    NickCrews and cjerdonek committed Nov 23, 2020
  4. bpo-28850: Fix PrettyPrinter.format overrides ignored for contents of…

    … small containers (GH-22120)
    iritkatriel committed Nov 23, 2020

Commits on Nov 22, 2020

  1. bpo-42328: Fix tkinter.ttk.Style.map(). (GH-23300)

    The function accepts now the representation of the default state as
    empty sequence (as returned by Style.map()).
    The structure of the result is now the same on all platform
    and does not depend on the value of wantobjects.
    serhiy-storchaka committed Nov 22, 2020
  2. bpo-42435: Speed up comparison of bytes and bytearray object (GH--23461)

    * Speed up comparison of bytes objects with non-bytes objects when
      option -b is specified.
    * Speed up comparison of bytarray objects with non-buffer object.
    serhiy-storchaka committed Nov 22, 2020
  3. Doc: fix typo in typing.Type docs (GH-23460)

    belm0 committed Nov 22, 2020
  4. bpo-42391: Clarify documentation of TestCase.assertIs (GH-23348)

    Removing 'evaluate' makes it more consistent with other assertX entries.
    cool-RR committed Nov 22, 2020
  5. bpo-41116: Ensure system supplied libraries are found on macOS 11 (GH…

    …-23301)
    
    On macOS system provided libraries are in a shared library cache
    and not at their usual location. This PR teaches distutils to search
    in the SDK, even if there was no "-sysroot" argument in
    the compiler flags.
    ronaldoussoren committed Nov 22, 2020
  6. bpo-42361: Use Tcl/Tk 8.6.10 when building the installer on recent ma…

    …cOS (GH-23293)
    
    Building on older versions, and in particular macOS 10.9 still use
    Tk 8.6.8 because of build problems on that version of macOS.
    ronaldoussoren committed Nov 22, 2020
  7. bpo-38443: Check that the specified universal architectures work (GH-…

    …22910)
    
    As [bpo-38443]() says the error message from configure when specifying --enable-universalsdk with a set of architectures that is not supported by the compiler is not very helpful.   This PR explicitly checks if the compiler works and bails out if it doesn't.
    ronaldoussoren committed Nov 22, 2020

Commits on Nov 21, 2020

  1. bpo-1635741: Port select module to multiphase init (GH-23409)

    tiran committed Nov 21, 2020
  2. 1
  3. bpo-42412: Fix possible leaks and check arguments in PyType_FromModul…

    …eAndSpec() (GH-23410)
    
    * There were leaks if Py_tp_bases is used more than once or if some call is
      failed before setting tp_bases.
    * There was a crash if the bases argument or the Py_tp_bases slot is not a tuple.
    * The documentation was not accurate.
    serhiy-storchaka committed Nov 21, 2020
  4. bpo-40550: Fix time-of-check/time-of-action issue in subprocess.Popen…

    ….send_signal. (GH-20010)
    
    send_signal() now swallows the exception if the process it thought was still alive winds up not to exist anymore (always a plausible race condition despite the checks).
    
    Co-authored-by: Gregory P. Smith <greg@krypto.org>
    FFY00 and gpshead committed Nov 21, 2020
  5. bpo-40791: Make compare_digest more constant-time. (GH-20444)

    * bpo-40791: Make compare_digest more constant-time.
    
    The existing volatile `left`/`right` pointers guarantee that the reads will all occur, but does not guarantee that they will be _used_. So a compiler can still short-circuit the loop, saving e.g. the overhead of doing the xors and especially the overhead of the data dependency between `result` and the reads. That would change performance depending on where the first unequal byte occurs. This change removes that optimization.
    
    (This is change #1 from https://bugs.python.org/issue40791 .)
    ssbr committed Nov 21, 2020
  6. bpo-42419: Correct 'deprecatations' is What's New 3.9 (GH-23421)

    hiqua committed Nov 21, 2020

Commits on Nov 20, 2020

  1. bpo-36876: [c-analyzer tool] Tighten up the results and output. (GH-2…

    …3431)
    
    We also update the "ignored" file with a temporary list of all known globals.
    ericsnowcurrently committed Nov 20, 2020
  2. bpo-28002: Roundtrip f-strings with ast.unparse better (#19612)

    By attempting to avoid backslashes in f-string expressions.
    We also now proactively raise errors for some backslashes we can't
    avoid while unparsing FormattedValues
    
    Co-authored-by: hauntsaninja <>
    Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
    Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
    hauntsaninja and isidentical committed Nov 20, 2020
Older
You can’t perform that action at this time.
X Tutup