Skip to content
Permalink
3.8

Commits on Dec 4, 2020

  1. bpo-41473: Reenable test_gdb on gdb 9.2 and newer (GH-23637)

    https://bugzilla.redhat.com/show_bug.cgi?id=1866884 is fixed in gdb
    10.1 (failed to reproduce on gdb-10.1-1.fc34.aarch64).
    (cherry picked from commit 0663940)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    miss-islington and vstinner committed Dec 4, 2020

Commits on Dec 3, 2020

  1. bpo-42553: Fix test_asyncio.test_call_later() (GH-23627)

    Fix test_asyncio.test_call_later() race condition: don't measure
    asyncio performance in the call_later() unit test. The test failed
    randomly on the CI.
    (cherry picked from commit 7e5e13d)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    miss-islington and vstinner committed Dec 3, 2020
  2. bpo-42328: Skip some tests with themes vista and xpnative on Windows 7 (

    GH-23612)
    
    (cherry picked from commit f3c3ea9)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    miss-islington and serhiy-storchaka committed Dec 3, 2020

Commits on Dec 1, 2020

  1. bpo-37221: PyCode_New() didn't change in Python 3.8 (GH-23595)

    (cherry picked from commit 1867b46)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    miss-islington and vstinner committed Dec 1, 2020
  2. build(deps): bump actions/cache from v2.1.2 to v2.1.3 (23582)

    Bumps [actions/cache](https://github.com/actions/cache) from v2.1.2 to v2.1.3.
    - [Release notes](https://github.com/actions/cache/releases)
    - [Commits](actions/cache@v2.1.2...0781355)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    (cherry picked from commit a43fea8)
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    miss-islington and dependabot committed Dec 1, 2020
  3. build(deps): bump actions/upload-artifact from v2.2.0 to v2.2.1 (GH-2…

    …3583)
    
    Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.0 to v2.2.1.
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](actions/upload-artifact@v2.2.0...726a6dc)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    (cherry picked from commit 8acd0e0)
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    miss-islington and dependabot committed Dec 1, 2020
  4. Fix bz2 examples markup (GH-23580)

    (cherry picked from commit 80a429e)
    
    Co-authored-by: Andre Delfino <adelfino@gmail.com>
    miss-islington and andresdelfino committed Dec 1, 2020
  5. bpo-42482: remove reference to exc_traceback from TracebackException (G…

    …H-23531)
    
    (cherry picked from commit 427613f)
    
    Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
    miss-islington and iritkatriel committed Dec 1, 2020

Commits on Nov 30, 2020

  1. bpo-42508: Remove bogus idlelib.pyshell.ModifiedInterpreter attribute (

    …GH-23570)
    
    restart_subprocess is a method of self, the pyshell.InteractiveInterpreter instance. The latter does not have an interp attribute redundantly referring to itself. (The PyShell instance does have an interp attribute, referring to the InteractiveInterpreter instance.)
    (cherry picked from commit e41bfd1)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    miss-islington and terryjreedy committed Nov 30, 2020
  2. bpo-42142: Try to fix timeouts in ttk tests (GH-23474)

    Instead of using wait_visibility() which waits event <VisibilityNotify> in dead loop
    use update() which should proceed all queued events.
    (cherry picked from commit 6cc2c41)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    miss-islington and serhiy-storchaka committed Nov 30, 2020
  3. [3.8] bpo-42474: test TracebackException comparison to non-equal inst…

    …ances (GH-23558)
    iritkatriel committed Nov 30, 2020

Commits on Nov 29, 2020

  1. bpo-42406: Fix whichmodule() with multiprocessing (GH-23403)

    * bpo-42406: Fix whichmodule() with multiprocessing
    
    Signed-off-by: Renato L. de F. Cunha <renatoc@br.ibm.com>
    Co-authored-by: Gregory P. Smith <greg@krypto.org>
    (cherry picked from commit 8668431)
    
    Co-authored-by: Renato Cunha <renatocunha@acm.org>
    miss-islington and renatolfc committed Nov 29, 2020
  2. bpo-39096: Improve description of 'e', 'f' and 'g' presentation types (

    …GH-23537) (GH-23551)
    
    * Improve description of 'e', 'f' and 'g' presentation types
    
    * Drop the 'E' from Scientific 'E' notation; remove >= 0 qualifications
    
    * Fix false statement that the alternate form is valid for Decimal
    
    * Nitpick: remove the Harvard/Oxford comma
    
    * Add note that the decimal point is also removed if no digits follow it, except in alternate form
    (cherry picked from commit c642374)
    
    Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
    
    Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
    miss-islington and mdickinson committed Nov 29, 2020

Commits on Nov 28, 2020

  1. Fix multiprocessing markup (GH-23525)

    (cherry picked from commit 4b44472)
    
    Co-authored-by: Andre Delfino <adelfino@gmail.com>
    miss-islington and andresdelfino committed Nov 28, 2020
  2. bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)

    (cherry picked from commit d41ec65)
    
    Co-authored-by: Zackery Spytz <zspytz@gmail.com>
    miss-islington and ZackerySpytz committed Nov 28, 2020
  3. bpo-34215: Clarify IncompleteReadError message when "expected" is None (

    GH-21925) (#23540)
    
    Co-Authored-By: Tyler Bell <mrbell321@gmail.com>
    (cherry picked from commit 8085f74)
    Co-authored-by: Zackery Spytz <zspytz@gmail.com>
    3 people committed Nov 28, 2020

Commits on Nov 27, 2020

  1. bpo-17852: Doc: Fix the tutorial about closing files (GH-23135)

    Co-authored-by: Inada Naoki <songofacandy@gmail.com>
    (cherry picked from commit c8aaf71)
    
    Co-authored-by: Volker-Weissmann <39418860+Volker-Weissmann@users.noreply.github.com>
    miss-islington and Volker-Weissmann committed Nov 27, 2020

Commits on Nov 25, 2020

  1. bpo-12800: tarfile: Restore fix from 011525e (GH-21409)

    Restore fix from 011525e.
    (cherry picked from commit 4fedd71)
    
    Co-authored-by: Julien Palard <julien@palard.fr>
    miss-islington and JulienPalard committed Nov 25, 2020

Commits on Nov 24, 2020

  1. bpo-42370: Check element before making mouse click in ttk tests (GH-2…

    …3491)
    
    (cherry picked from commit b0b4285)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    miss-islington and serhiy-storchaka committed Nov 24, 2020
  2. bpo-42212: Check if generated files are up-to-date in GitHub Actions (G…

    …H-23042)
    
    See https: //github.com/python/core-workflow/issues/380
    
    Signed-off-by: Filipe Laíns <lains@archlinux.org>
    (cherry picked from commit d20b7ed)
    
    Co-authored-by: Filipe Laíns <lains@archlinux.org>
    miss-islington and FFY00 committed Nov 24, 2020

Commits on Nov 23, 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.
    (cherry picked from commit dd844a2)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    miss-islington and serhiy-storchaka committed Nov 23, 2020

Commits on Nov 22, 2020

  1. Doc: fix typo in typing.Type docs (GH-23460)

    (cherry picked from commit 5ef53a8)
    
    Co-authored-by: John Belmonte <john@neggie.net>
    miss-islington and belm0 committed Nov 22, 2020
  2. bpo-42391: Clarify documentation of TestCase.assertIs (GH-23348)

    Removing 'evaluate' makes it more consistent with other assertX entries.
    (cherry picked from commit bd8c22e)
    
    Co-authored-by: Ram Rachum <ram@rachum.com>
    miss-islington and cool-RR committed Nov 22, 2020
  3. bpo-42426: IDLE: Fix reporting offset of the RE error in searchengine (

    …GH-23447)
    
    (cherry picked from commit 453bc1d)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    miss-islington and serhiy-storchaka committed Nov 22, 2020
  4. 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.
    (cherry picked from commit 0f20bd9)
    
    Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
    miss-islington and ronaldoussoren committed Nov 22, 2020

Commits on Nov 21, 2020

  1. Fix wrong availability for signal.SIGCHLD (GH-23285) (#23426)

    I believe this is a mistake. SIGCHLD is only available on Unix systems, not Windows.
    (cherry picked from commit 4c24b08)
    
    Co-authored-by: Zhang Maiyun <myzhang1029@hotmail.com>
    
    Co-authored-by: Zhang Maiyun <myzhang1029@hotmail.com>
    miss-islington and myzhang1029 committed Nov 21, 2020
  2. 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.
    (cherry picked from commit 1db7639)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    miss-islington and serhiy-storchaka committed Nov 21, 2020
  3. 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 GH-1 from https://bugs.python.org/issue40791 .)
    (cherry picked from commit 3172936)
    
    Co-authored-by: Devin Jeanpierre <jeanpierreda@google.com>
    miss-islington and ssbr committed Nov 21, 2020
  4. bpo-42407: Use possessive appostrophe in multiprocessing doc (GH-23400)

    (cherry picked from commit 6edf06b)
    
    Co-authored-by: ArioA <ArioA@users.noreply.github.com>
    miss-islington and ArioA committed Nov 21, 2020

Commits on Nov 20, 2020

  1. bpo-42416: Use inspect.getdoc for IDLE calltips (GH-23416)

    Inspect.getdoc(ob) sometimes gets docstrings when ob.__doc__ is None.
    (cherry picked from commit 7ddbaa7)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    miss-islington and terryjreedy committed Nov 20, 2020

Commits on Nov 18, 2020

  1. [3.8] bpo-38320: Clarify that expectedFailure is satisfied by either …

    …failure or error of the test. (GH-22740) (GH-22782)
    
    (cherry picked from commit fa87482)
    
    
    Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
    miss-islington and iritkatriel committed Nov 18, 2020
  2. bpo-42336: Improve PCbuild batch files (GH-23325)

    zooba committed Nov 18, 2020
  3. bpo-42398: Fix "make regen-all" race condition (GH-23362) (GH-23367)

    Fix a race condition in "make regen-all" when make -jN option is used
    to run jobs in parallel. The clinic.py script now only use atomic
    write to write files. Moveover, generated files are now left
    unchanged if the content does not change, to not change the file
    modification time.
    
    The "make regen-all" command runs "make clinic" and "make
    regen-importlib" targets:
    
    * "make regen-importlib" builds object files (ex: Modules/_weakref.o)
      from source files (ex: Modules/_weakref.c) and clinic files (ex:
      Modules/clinic/_weakref.c.h)
    * "make clinic" always rewrites all clinic files
      (ex: Modules/clinic/_weakref.c.h)
    
    Since there is no dependency between "clinic" and "regen-importlib"
    Makefile targets, these two targets can be run in parallel. Moreover,
    half of clinic.py file writes are not atomic and so there is a race
    condition when "make regen-all" runs jobs in parallel using make -jN
    option (which can be passed in MAKEFLAGS environment variable).
    
    Fix clinic.py to make all file writes atomic:
    
    * Add write_file() function to ensure that all file writes are
      atomic: write into a temporary file and then use os.replace().
    * Moreover, write_file() doesn't recreate or modify the file if the
      content does not change to avoid modifying the file modification
      file.
    * Update test_clinic to verify these assertions with a functional
      test.
    * Remove Clinic.force attribute which was no longer used, whereas
      Clinic.verify remains useful.
    
    (cherry picked from commit 8fba952)
    (cherry picked from commit c53c3f4)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    miss-islington and vstinner committed Nov 18, 2020
  4. bpo-41561: skip test_min_max_version_mismatch (GH-22308)

    skip test_min_max_version_mismatch when TLS 1.0 is not available
    
    Signed-off-by: Christian Heimes <christian@python.org>
    (cherry picked from commit ce04e71)
    
    Co-authored-by: Christian Heimes <christian@python.org>
    miss-islington and tiran committed Nov 18, 2020

Commits on Nov 17, 2020

  1. bpo-41686: Always create the SIGINT event on Windows (GH-23344) (GH-2…

    …3347) (GH-23349)
    
    bpo-41686, bpo-41713: On Windows, the SIGINT event,
    _PyOS_SigintEvent(), is now created even if Python is configured to
    not install signal handlers (PyConfig.install_signal_handlers=0 or
    Py_InitializeEx(0)).
    
    (cherry picked from commit 05a5d69)
    vstinner committed Nov 17, 2020
Older
You can’t perform that action at this time.