Skip to content
Permalink
Branch: master
Commits on Jan 29, 2020
  1. bpo-39460: Fix test_zipfile.test_add_file_after_2107() (GH-18247)

    vstinner committed Jan 29, 2020
    XFS filesystem is limited to 32-bit timestamp, but the utimensat()
    syscall doesn't fail. Moreover, there is a VFS bug which returns
    a cached timestamp which is different than the value on disk.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1795576
    https://bugs.python.org/issue39460#msg360952
  2. bpo-39153: Clarify C API *SetItem refcounting semantics (GH-18220)

    nanjekyejoannah and blurb-it committed Jan 29, 2020
    Some of the *SetItem methods in the C API steal a reference to the
    given value. This annotates the better behaved ones to assure the
    reader that these are not the ones with the inconsistent behaviour.
    
    * 📜🤖 Added by blurb_it.
    
    * make docs consistent with signature
    
    Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
  3. bpo-36051: Drop GIL during large bytes.join() (GH-17757)

    bmerry committed Jan 29, 2020
    Improve multi-threaded performance by dropping the GIL in the fast path
    of bytes.join. To avoid increasing overhead for small joins, it is only
    done if the output size exceeds a threshold.
  4. bpo-39401: Avoid unsafe DLL load on Windows 7 and earlier (GH-18231)

    zooba committed Jan 29, 2020
    As Windows 7 is not supported by Python 3.9, we just replace the dynamic load with a static import. Backports will have a different fix to ensure they continue to behave the same.
Commits on Jan 28, 2020
  1. bpo-39459: include missing test files in windows installer

    DinoV committed Jan 28, 2020
    Adds missing test files to Windows installer to wrap up bpo-39459
  2. bpo-38960: DTrace build fix for FreeBSD. (GH-17451)

    dcarlier-afilias authored and encukou committed Jan 28, 2020
    DTrace build fix for FreeBSD.
    
    - allowing passing an extra flag as it need to define the arch size.
    - casting some probe's arguments.
  3. bpo-36350: inspect: Replace OrderedDict with dict. (GH-12412)

    remilapeyre authored and methane committed Jan 28, 2020
  4. bpo-39439: Fix multiprocessing spawn path in a venv on Windows (GH-18158

    ameily authored and zooba committed Jan 28, 2020
    )
  5. bpo-39287: Doc: Add UTF-8 mode section in using/windows. (GH-17935)

    methane and aeros committed Jan 28, 2020
    Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
  6. bpo-39393: Misleading error message on dependent DLL resolution failu…

    ZackerySpytz authored and zooba committed Jan 28, 2020
    …re (GH-18093)
  7. bpo-38883: Don't use POSIX `$HOME` in `pathlib.Path.home/expanduser` …

    lazka authored and zooba committed Jan 28, 2020
    …on Windows (GH-17961)
    
    In bpo-36264 os.path.expanduser was changed to ignore HOME on Windows.
    
    Path.expanduser/home still honored HOME despite being documented as behaving the same
    as os.path.expanduser. This makes them also ignore HOME so that both implementations
    behave the same way again.
  8. bpo-38644: Pass tstate in ceval.c (GH-18222)

    vstinner committed Jan 28, 2020
    Pass explicitly the Python thread state (tstate) in ceval.c.
  9. bpo-36018: Minor fixes to the NormalDist() examples and recipes. (GH-…

    rhettinger committed Jan 28, 2020
    …18226)
    
    * Change the source for the SAT data to a primary source.
    * Fix typo in the standard deviation
    * Clarify that the binomial probabalities are just for the Python room.
Commits on Jan 27, 2020
  1. bpo-39392: Turtle overlap fill depends on OS (#18223)

    terryjreedy committed Jan 27, 2020
    Whether or not overlap regions for self-intersecting polygons
    or multiple shapes are filled depends on the operating system graphics,
    typeof overlap, and number of overlaps.
  2. bpo-38631: Avoid Py_FatalError() in PyCode_New() (GH-18215)

    vstinner committed Jan 27, 2020
    intern_strings() now raises a SystemError, rather than calling
    Py_FatalError().
    
    intern_string_constants() now reports exceptions to the caller,
    rather than ignoring silently exceptions.
  3. bpo-38631: Avoid Py_FatalError() in _PyCodecRegistry_Init() (GH-18217)

    vstinner committed Jan 27, 2020
    _PyCodecRegistry_Init() now reports exceptions to the caller,
    rather than calling Py_FatalError().
  4. bpo-30780: Add IDLE configdialog tests (#3592)

    csabella and terryjreedy committed Jan 27, 2020
    Expose dialog buttons to test code and complete their test coverage.
    Complete test coverage for highlights and keys tabs.
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
  5. Add test.test_import.data.unwritable package to makefile (#18211)

    DinoV committed Jan 27, 2020
  6. bpo-38631: Avoid Py_FatalError() in _memory_release() (GH-18214)

    vstinner committed Jan 27, 2020
    If the export count is negative, _memory_release() now raises a
    SystemError and returns -1, rather than calling Py_FatalError()
    which aborts the process.
  7. bpo-38631: Avoid Py_FatalError() in PyModule_Create2() (GH-18212)

    vstinner committed Jan 27, 2020
    If PyModule_Create2() is called when the Python import machinery is
    not initialized, it now raises a SystemError and returns NULL,
    instead of calling Py_FatalError() which aborts the process.
    
    The caller must be prepared to handle NULL anyway.
  8. bpo-39459: test.pythoninfo logs effective uid/gid (GH-18203)

    vstinner committed Jan 27, 2020
    Fix also umask formatting: use octal prefix.
  9. bpo-39453: Add testcase for bpo-39453 (GH-18202)

    corona10 authored and miss-islington committed Jan 27, 2020
    https://bugs.python.org/issue39453
    
    
    
    Automerge-Triggered-By: @pablogsal
    
    Automerge-Triggered-By: @pablogsal
  10. Ignore NEWS snippets in code coverage stats (GH-18194)

    ncoghlan committed Jan 27, 2020
  11. bpo-39453: Make list.__contains__ hold strong references to avoid cra…

    corona10 authored and pablogsal committed Jan 27, 2020
    …shes (GH-18181)
  12. Clarify and fix assertions that mocks have not been awaited (GH-18196)

    cjw296 committed Jan 27, 2020
    - The gc.collect is needed for other implementations, such as pypy
    - Using context managers over multiple lines will only catch the warning from the first line in the context!
    - remove a skip for a test that no longer fails on pypy
  13. Use relative imports in mock and its tests to help backporting (GH-18197

    cjw296 committed Jan 27, 2020
    )
    
    * asyncio.run only available in 3.8+
    
    * iscoroutinefunction has important bungfixes in 3.8
    
    * IsolatedAsyncioTestCase only available in 3.8+
  14. Fix so that test.test_distutils can be executed by unittest and not j…

    abadger authored and csabella committed Jan 27, 2020
    …ust regrtest (GH-13480)
  15. bpo-39320: Handle unpacking of **values in compiler (GH-18141)

    markshannon committed Jan 27, 2020
    * Add DICT_UPDATE and DICT_MERGE bytecodes. Use them for ** unpacking.
    
    * Remove BUILD_MAP_UNPACK and BUILD_MAP_UNPACK_WITH_CALL, as they are now unused.
    
    * Update magic number for ** unpacking opcodes.
    
    * Update dis.rst to incorporate new bytecodes.
    
    * Add blurb entry.
  16. bpo-25597: Ensure wraps' return value is used for magic methods in Ma…

    tirkarthi authored and cjw296 committed Jan 27, 2020
    …gicMock (#16029)
Commits on Jan 26, 2020
  1. bpo-36018: Add another example for NormalDist() (#18191)

    rhettinger committed Jan 26, 2020
  2. Fix linecache.py add lazycache to __all__ and use dict.clear to clear…

    ganziqim authored and csabella committed Jan 26, 2020
    … the cache (GH-4641)
Commits on Jan 25, 2020
  1. bpo-39374: Updated sorting documentation (GH-18177)

    brandfilt authored and rhettinger committed Jan 25, 2020
  2. bpo-36654: Add examples for using tokenize module programmically (#12947

    Windsooon authored and berkerpeksag committed Jan 25, 2020
    )
Older
You can’t perform that action at this time.