Skip to content
Permalink
Branch: master
Commits on Jan 27, 2020
  1. Ignore NEWS snippets in code coverage stats (GH-18194)

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

    corona10 authored and pablogsal committed Jan 27, 2020
    …shes (GH-18181)
  3. 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
  4. 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+
  5. 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)
  6. 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.
  7. 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
    )
  3. bpo-15243: Document __prepare__ as classmethod (GH-17124)

    alclarks authored and berkerpeksag committed Jan 25, 2020
  4. bpo-38932: Mock fully resets child objects on reset_mock(). (GH-17409)

    vegarsti authored and cjw296 committed Jan 25, 2020
  5. Update 3.8.rst (GH-18173)

    fireattack authored and csabella committed Jan 25, 2020
    Fixed the name of the contributor (@selik).
  6. Post 3.9.0a3

    ambv committed Jan 25, 2020
  7. Merge tag 'v3.9.0a3'

    ambv committed Jan 25, 2020
    Python 3.9.0a3
  8. bpo-37955: correct mock.patch docs with respect to the returned type (G…

    phsilva authored and cjw296 committed Jan 25, 2020
  9. bpo-39082: Allow AsyncMock to correctly patch static/class methods (G…

    mkokotovich authored and cjw296 committed Jan 25, 2020
  10. bpo-39388: IDLE: Fix bug when cancelling out of configdialog (GH-18068)

    csabella and terryjreedy committed Jan 25, 2020
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Commits on Jan 24, 2020
  1. Python 3.9.0a3

    ambv committed Jan 24, 2020
  2. bpo-39430: Fix race condition in lazy imports in tarfile. (GH-18161)

    serhiy-storchaka authored and ethanfurman committed Jan 24, 2020
    Use `from ... import ...` to ensure module is fully loaded before accessing its attributes.
  3. bpo-38631: Avoid Py_FatalError() in GC collect() (GH-18164)

    vstinner committed Jan 24, 2020
    collect() should not get an exception, but it does, logging the
    exception is enough. Override sys.unraisablehook to decide how to
    handle unraisable exceptions.
    
    Py_FatalError() should be avoided whenever possible.
  4. bpo-39390 shutil: fix argument types for ignore callback (GH-18122)

    mbarkhau authored and giampaolo committed Jan 24, 2020
  5. bpo-38473: Handle autospecced functions and methods used with attach_…

    tirkarthi authored and cjw296 committed Jan 24, 2020
    …mock (GH-16784)
  6. bpo-39395: putenv() and unsetenv() always available (GH-18135)

    vstinner committed Jan 24, 2020
    The os.putenv() and os.unsetenv() functions are now always available.
    
    On non-Windows platforms, Python now requires setenv() and unsetenv()
    functions to build.
    
    Remove putenv_dict from posixmodule.c: it's not longer needed.
  7. bpo-39413: Implement os.unsetenv() on Windows (GH-18163)

    vstinner committed Jan 24, 2020
    The os.unsetenv() function is now also available on Windows.
  8. bpo-39361: Document the removal of PyTypeObject.tp_print (GH-18125)

    ammaraskar authored and vstinner committed Jan 24, 2020
  9. bpo-39426: Fix outdated default and highest protocols in docs (GH-18154)

    mdickinson authored and miss-islington committed Jan 24, 2020
    Some portions of the pickle documentation hadn't been updated for the pickle protocol changes in Python 3.8 (new protocol 5, default protocol 4). This PR fixes those docs.
    
    
    https://bugs.python.org/issue39426
  10. bpo-39429: Add a new "Python Development Mode" doc page (GH-18132)

    vstinner committed Jan 24, 2020
  11. Fix `mock.patch.dict` to be stopped with `mock.patch.stopall` (#17606)

    mariocj89 authored and cjw296 committed Jan 24, 2020
    As the function was not registering in the active patches, the mocks
    started by `mock.patch.dict` were not being stopped when
    `mock.patch.stopall` was being called.
  12. bpo-24928: Add test case for patch.dict using OrderedDict (GH -11437)

    eamanu authored and cjw296 committed Jan 24, 2020
    * add test for path.dict using OrderedDict
    
    Co-authored-by: Yu Tomita nekobon@users.noreply.github.com
Commits on Jan 23, 2020
  1. bpo-17005: Minor improvements to the documentation of TopologicalSort…

    pablogsal committed Jan 23, 2020
    …er (GH-18155)
  2. bpo-39431: Also mention nonlocal in assignment quirk (GH-17375)

    shanavas786 authored and terryjreedy committed Jan 23, 2020
  3. bpo-17005: Add a class to perform topological sorting to the standard…

    pablogsal and tim-one committed Jan 23, 2020
    … library (GH-11583)
    
    Co-Authored-By: Tim Peters <tim.peters@gmail.com>
  4. bpo-39421: Fix posible crash in heapq with custom comparison operators (

    pablogsal committed Jan 23, 2020
    GH-18118)
    
    * bpo-39421: Fix posible crash in heapq with custom comparison operators
    
    * fixup! bpo-39421: Fix posible crash in heapq with custom comparison operators
    
    * fixup! fixup! bpo-39421: Fix posible crash in heapq with custom comparison operators
Older
You can’t perform that action at this time.