Skip to content
Permalink
Branch: 3.7
Commits on May 1, 2020
  1. [3.7] bpo-39435: Fix docs for pickle.loads (GH-18160). (GH-19844)

    pitrou committed May 1, 2020
    (cherry picked from commit 289842a)
    
    Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
    
    Automerge-Triggered-By: @pitrou
Commits on Apr 30, 2020
  1. bpo-40443: Remove unused imports in idlelib (GH-19801)

    miss-islington and vstinner committed Apr 30, 2020
    (cherry picked from commit 6900f16)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
Commits on Apr 29, 2020
  1. bpo-40436: Fix code parsing gdb version (GH-19792)

    miss-islington and vstinner committed Apr 29, 2020
    test_gdb and test.pythoninfo now check gdb command exit code.
    (cherry picked from commit ec9bea4)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
  2. [3.8] bpo-40431: Fix syntax typo in turtledemo (GH-19777) (GH-19784)

    miss-islington and aeros committed Apr 29, 2020
    [3.8] bpo-40431: Fix syntax typo in turtledemo (GH-19777)
    
    * Addresses a syntax typo that mistakenly used a undefined string prefix due to a missing space.
    
    (cherry picked from commit 49f70db)
    
    Co-authored-by: Miro Hrončok <miro@hroncok.cz>
    (cherry picked from commit cc011b5)
    
    Co-authored-by: Kyle Stanley <aeros167@gmail.com>
Commits on Apr 27, 2020
  1. bpo-40348: Fix typos in the programming FAQ (GH-19729)

    miss-islington and ZackerySpytz committed Apr 27, 2020
    (cherry picked from commit caf1aad)
    
    Co-authored-by: Zackery Spytz <zspytz@gmail.com>
  2. [3.7] bpo-38387: Formally document PyDoc_STRVAR and PyDoc_STR macros (G…

    zware and bsolomon1124 committed Apr 27, 2020
    …H-16607) (GH-19728)
    
    Adds a short description of `PyDoc_STRVAR` and `PyDoc_STR` to "Useful macros" section of C-API docs.
    
    Currently, there is [one lone mention](https://docs.python.org/3/c-api/module.html?highlight=pydoc_strvarGH-c.PyModuleDef) in the C-API reference, despite the fact that `PyDoc_STRVAR` is ubiquitous to `Modules/`.
    
    Additionally, this properly uses `c:macro` within `Doc/c-api/module.rst` to link..
    (cherry picked from commit b54e46c)
    
    Co-authored-by: Brad Solomon <brad.solomon.1124@gmail.com>
Commits on Apr 23, 2020
  1. [3.7] bpo-38546: Backport multiprocessing tests fixes from master (GH…

    vstinner and miss-islington committed Apr 23, 2020
    …-19689)
    
    * bpo-37421: multiprocessing tests call _run_finalizers() (GH-14527)
    
    multiprocessing tests now call explicitly _run_finalizers() to remove
    immediately temporary directories created by
    multiprocessing.util.get_temp_dir().
    (cherry picked from commit 039fb49)
    
    Co-authored-by: Victor Stinner <vstinner@redhat.com>
    (cherry picked from commit 632cb36)
    
    * bpo-37421: multiprocessing tests now stop ForkServer (GH-14601)
    
    multiprocessing tests now stop the ForkServer instance if it's
    running: close the "alive" file descriptor to ask the server to stop
    and then remove its UNIX address.
    (cherry picked from commit 8fbeb14)
    
    Co-authored-by: Victor Stinner <vstinner@redhat.com>
    (cherry picked from commit 229f6e8)
    
    * bpo-38546: multiprocessing tests stop the resource tracker (GH-17641) (GH-17647)
    
    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.
    
    (cherry picked from commit 9707e8e)
    (cherry picked from commit 35acb35)
    
    * Remove NEWS about resource tracker
    
    Python 3.7 multiprocessing does not have resource tracker.
    
    Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
  2. bpo-39932: Fix multiprocessing test_heap() (GH-19690)

    vstinner committed Apr 23, 2020
    bpo-32759, bpo-39932: Fix multiprocessing test_heap():
    a new Heap object is now created for each test run.
    
    Partial backport of commit e4679cd
    by Antoine Pitrou.
  3. [3.7] gdbinit: Use proper define syntax (GH-19557) (GH-19678)

    The-Compiler committed Apr 23, 2020
    Using `def` rather than `define` results in:
    
        Ambiguous command "def pu": define, define-prefix.
    
    Automerge-Triggered-By: @csabella.
    (cherry picked from commit 1221135)
    
    Co-authored-by: Florian Bruhin <me@the-compiler.org>
Commits on Apr 22, 2020
  1. bpo-38360: macOS: support alternate form of -isysroot flag (GH-16480)

    miss-islington and jmroot committed Apr 22, 2020
    It is possible to use either '-isysroot /some/path' (with a space) or
    '-isysroot/some/path' (no space in between). Support both forms in
    places where special handling of -isysroot is done, rather than just
    the first form.
    Co-authored-by: Ned Deily <nad@python.org>
    (cherry picked from commit b310700)
    
    Co-authored-by: Joshua Root <jmr@macports.org>
  2. bpo-40138: Fix Windows os.waitpid() for large exit code (GH-19654)

    miss-islington and vstinner committed Apr 22, 2020
    Fix the Windows implementation of os.waitpid() for exit code
    larger than "INT_MAX >> 8". The exit status is now interpreted as an
    unsigned number.
    (cherry picked from commit b073509)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
  3. bpo-38439: Add 256px IDLE icon (GH-17473)

    miss-islington and hroncok committed Apr 22, 2020
    Icon author: Andrew Clover, bpo-1490384
    (cherry picked from commit 3a69f3c)
    
    Co-authored-by: Miro Hrončok <miro@hroncok.cz>
  4. bpo-40164: Update macOS installer builds to use OpenSSL 1.1.1g. (GH-1…

    miss-islington and ned-deily committed Apr 22, 2020
    …9642) (GH-19644)
    
    (cherry picked from commit 783a673)
    
    Co-authored-by: Ned Deily <nad@python.org>
Commits on Apr 20, 2020
  1. bpo-39942:Fix failure in `TypeVar` when missing `__name__` (GH-19616)

    miss-islington and hongweipeng committed Apr 20, 2020
    https://bugs.python.org/issue39942
    (cherry picked from commit a25a04f)
    
    Co-authored-by: HongWeipeng <hongweichen8888@sina.com>
  2. Fix typo in Lib/tracepack.py (GH-19605)

    miss-islington and wudenggang committed Apr 20, 2020
    Typo fix: "emites" -> "emit".
    (cherry picked from commit df8913f)
    
    Co-authored-by: Galden <wudenggang0@163.com>
Commits on Apr 19, 2020
  1. bpo-39285: Clarify example for PurePath.match (GH-19458)

    miss-islington and timlo committed Apr 19, 2020
    Fixes Issue39285
    
    The example incorrectly returned True for match.
    
    Furthermore the example is ambiguous in its usage of PureWindowsPath.
    Windows is case-insensitve, however the underlying match functionality
    utilizes fnmatch.fnmatchcase.
    
    Automerge-Triggered-By: @pitrou
    (cherry picked from commit c12375a)
    
    Co-authored-by: Tim Lo <timlo@users.noreply.github.com>
Commits on Apr 18, 2020
  1. bpo-27635: Fix pickle documentation about `__new__` not being called. (

    miss-islington and furkanonder committed Apr 18, 2020
    …GH-19269)
    
    Automerge-Triggered-By: @pitrou
    (cherry picked from commit 482259d)
    
    Co-authored-by: Furkan Önder <furkantahaonder@gmail.com>
  2. [3.7] bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364)…

    serhiy-storchaka committed Apr 18, 2020
    … (GH-19584)
    
    Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
    (cherry picked from commit 12446e6)
  3. Fix two typos in multiprocessing (GH-19571) (GH-19579)

    miss-islington and wudenggang committed Apr 18, 2020
    (cherry picked from commit c606624)
    
    Co-authored-by: Galden <wudenggang0@163.com>
    
    Co-authored-by: Galden <wudenggang0@163.com>
Commits on Apr 17, 2020
  1. bpo-38492: Remove pythonw.exe dependency on the Microsoft C++ runtime (

    miss-islington and zooba committed Apr 17, 2020
    …GH-16824)
    
    (cherry picked from commit 7aebbd1)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
  2. bpo-40287: Fix SpooledTemporaryFile.seek() return value (GH-19540)

    miss-islington and methane committed Apr 17, 2020
    It has not returned the file position after the seek.
    (cherry picked from commit 485e715)
    
    Co-authored-by: Inada Naoki <songofacandy@gmail.com>
  3. Fix parameter names in assertIn() docs (GH-18829)

    miss-islington and Cito committed Apr 17, 2020
    The names "member" and "container" for the arguments are also used in the module and shown with the help() function, and are immediately understandable in this context, contrary to "first" and "second".
    (cherry picked from commit a388bbd)
    
    Co-authored-by: Christoph Zwerschke <cito@online.de>
Commits on Apr 16, 2020
  1. bpo-39793: use the same domain on make_msgid tests (GH-18698) (GH-19555)

    miss-islington and isidentical committed Apr 16, 2020
    (cherry picked from commit 5565c30)
    
    Co-authored-by: Batuhan Taşkaya <batuhanosmantaskaya@gmail.com>
Commits on Apr 14, 2020
  1. Update libregrtest from master (GH-19517)

    vstinner and zooba committed Apr 14, 2020
    * bpo-36670: regrtest bug fixes (GH-16537)
    
    * Fix TestWorkerProcess.__repr__(): start_time is only valid
      if _popen is not None.
    * Fix _kill(): don't set _killed to True if _popen is None.
    * _run_process(): only set _killed to False after calling
      run_test_in_subprocess().
    
    (cherry picked from commit 2ea71a0)
    
    * [3.8] Update libregrtest from master (GH-19516)
    
    * bpo-37531: regrtest now catchs ProcessLookupError (GH-16827)
    
    Fix a warning on a race condition on TestWorkerProcess.kill(): ignore
    silently ProcessLookupError rather than logging an useless warning.
    
    (cherry picked from commit a661392)
    
    * bpo-38502: regrtest uses process groups if available (GH-16829)
    
    test.regrtest now uses process groups in the multiprocessing mode
    (-jN command line option) if process groups are available: if
    os.setsid() and os.killpg() functions are available.
    
    (cherry picked from commit ecb035c)
    
    * bpo-37957: Allow regrtest to receive a file with test (and subtests) to ignore (GH-16989)
    
    When building Python in some uncommon platforms there are some known tests that will fail. Right now, the test suite has the ability to ignore entire tests using the -x option and to receive a filter file using the --matchfile filter. The problem with the --matchfile option is that it receives a file with patterns to accept and when you want to ignore a couple of tests and subtests, is too cumbersome to lists ALL tests that are not the ones that you want to accept and he problem with -x is that is not easy to ignore just a subtests that fail and the whole test needs to be ignored.
    
    For these reasons, add a new option to allow to ignore a list of test and subtests for these situations.
    
    (cherry picked from commit e0cd8aa)
    
    * regrtest: log timeout at startup (GH-19514)
    
    Reduce also worker timeout.
    
    (cherry picked from commit 4cf65a6)
    
    Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
    (cherry picked from commit 67b8a1f)
    
    * bpo-36842: Fix reference leak in tests by running out-of-proc (GH-13556)
    
    (cherry picked from commit 9ddc416)
    
    * Backport libregrtest changes from master
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
  2. bpo-32033: Fix test_pwd failures on Android (GH-19502)

    miss-islington and ZackerySpytz committed Apr 14, 2020
    (cherry picked from commit 96515e9)
    
    Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Commits on Apr 13, 2020
  1. [3.7] Improved documentation for `BUILD_CONST_KEY_MAP` (GH-19454) (GH…

    miss-islington committed Apr 13, 2020
    …-19496)
    
    (cherry picked from commit 85dd6bb)
    
    
    Co-authored-by: laike9m <laike9m@users.noreply.github.com>
    
    Automerge-Triggered-By: @zhangyangyu
Commits on Apr 12, 2020
  1. [3.7] bpo-31758: Prevent crashes when using an uninitialized _element…

    miss-islington committed Apr 12, 2020
    …tree.XMLParser object (GH-3997) (GH-19487)
    
    (cherry picked from commit 402e1cd)
  2. [3.7] bpo-40126: Fix reverting multiple patches in unittest.mock. (GH…

    serhiy-storchaka committed Apr 12, 2020
    …-19351) (GH-19484)
    
    Patcher's __exit__() is now never called if its __enter__() is failed.
    Returning true from __exit__() silences now the exception.
    (cherry picked from commit 4b222c9)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Commits on Apr 11, 2020
  1. bpo-38501: Add a warning section to multiprocessing.Pool docs about r…

    miss-islington and pablogsal committed Apr 11, 2020
    …esource managing (GH-19466)
    
    (cherry picked from commit 7ec43a7)
    
    Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Commits on Apr 9, 2020
  1. bpo-40204: Pin Sphinx version to 1.8.2 in Doc/Makefile (GH-19442) (GH…

    vstinner committed Apr 9, 2020
    …-19443)
    
    (cherry picked from commit 37a257c)
Commits on Apr 8, 2020
  1. Remove extraneous ')' in abstract.h (GH-19146)

    miss-islington and Marethyu12 committed Apr 8, 2020
    (cherry picked from commit ac2cfe6)
    
    Co-authored-by: Jimmy Yang <codingExpert123@gmail.com>
Commits on Apr 7, 2020
  1. bpo-40089: Fix threading._after_fork() (GH-19191) (GH-19193)

    miss-islington and vstinner committed Apr 7, 2020
    If fork was not called by a thread spawned by threading.Thread,
    threading._after_fork() now creates a _MainThread instance for
    _main_thread, instead of a _DummyThread instance.
    (cherry picked from commit d8ff44c)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
Commits on Apr 6, 2020
  1. bpo-40196: Fix a bug in the symtable when reporting inspecting global…

    miss-islington and pablogsal committed Apr 6, 2020
    … variables (GH-19391)
    
    (cherry picked from commit 799d7d6)
    
    Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Commits on Apr 5, 2020
  1. Fix misinformation about NaN != NaN comparison (GH-19357) (GH-19384)

    miss-islington and mdickinson committed Apr 5, 2020
    (cherry picked from commit 810f68f)
    
    Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
Commits on Apr 4, 2020
  1. bpo-40164: Update Windows to OpenSSL 1.1.1f (GH-19359)

    zooba committed Apr 4, 2020
Older
You can’t perform that action at this time.