Skip to content
Permalink
3.8

Commits on Dec 21, 2020

  1. Post 3.8.7

    ambv committed Dec 21, 2020
  2. Merge tag 'v3.8.7' into 3.8

    Python 3.8.7
    ambv committed Dec 21, 2020
  3. Update macOS installer ReadMe for 3.8.7 and Big Sur (GH-23882)

    ned-deily committed Dec 21, 2020
  4. Python 3.8.7

    ambv committed Dec 21, 2020
  5. Fix typo in docstring (GH-23515)

    (cherry picked from commit 711381d)
    
    Co-authored-by: Fernando Toledo <42938011+fernandohtr@users.noreply.github.com>
    miss-islington and fernandohtr committed Dec 21, 2020

Commits on Dec 20, 2020

  1. bpo-42669: Document that `except` rejects nested tuples (GH-23822) (G…

    …H-23871)
    
    In Python 2, it was possible to use `except` with a nested tuple, and occasionally natural.  For example, `zope.formlib.interfaces.InputErrors` is a tuple of several exception classes, and one might reasonably think to do something like this:
    
        try:
            self.getInputValue()
            return True
        except (InputErrors, SomethingElse):
            return False
    
    As of Python 3.0, this raises `TypeError: catching classes that do not inherit from BaseException is not allowed` instead: one must instead either break it up into multiple `except` clauses or flatten the tuple.  However, the reference documentation was never updated to match this new restriction.  Make it clear that the definition is no longer recursive.
    
    Automerge-Triggered-By: GH:ericvsmith
    (cherry picked from commit c95f8bc)
    
    Co-authored-by: Colin Watson <cjwatson@debian.org>
    
    Co-authored-by: Colin Watson <cjwatson@debian.org>
    miss-islington and cjwatson committed Dec 20, 2020
  2. bpo-42604: always set EXT_SUFFIX=${SOABI}${SHLIB_SUFFIX} when using c…

    …onfigure (GH-23708)
    
    Now all platforms use a value for the "EXT_SUFFIX" build variable derived
    from SOABI (for instance in FreeBSD, "EXT_SUFFIX" is now ".cpython-310d.so"
    instead of ".so"). Previously only Linux, Mac and VxWorks were using a value
    for "EXT_SUFFIX" that included "SOABI".
    
    Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
    (cherry picked from commit a44ce6c)
    
    Co-authored-by: Matti Picus <matti.picus@gmail.com>
    miss-islington and mattip committed Dec 20, 2020
    1
  3. bpo-41724: Explain when the conversion is not possible with detect_ty…

    …pes enabled (GH-23855) (GH-23863)
    
    * Explain when the conversion is not possible with detect_types enabled
    (cherry picked from commit 09a36cd)
    
    Co-authored-by: sblondon <sblondon@users.noreply.github.com>
    miss-islington and sblondon committed Dec 20, 2020

Commits on Dec 19, 2020

  1. [3.8] bpo-42630: Improve error reporting in Tkinter for absent defaul…

    …t root (GH-23781) (GH-23854)
    
    * Tkinter functions and constructors which need a default root window
      raise now RuntimeError with descriptive message instead of obscure
      AttributeError or NameError if it is not created yet or cannot
      be created automatically.
    
    * Add tests for all functions which use default root window.
    
    * Fix import in the pynche script.
    
    (cherry picked from commit 3d569fd)
    serhiy-storchaka committed Dec 19, 2020

Commits on Dec 18, 2020

  1. [3.8] bpo-17140: Document multiprocessing's ThreadPool (GH-23812) (GH…

    …-23835)
    
    Up until now, the `multiprocessing.pool.ThreadPool` class has gone
    undocumented, despite being a public class in multiprocessing that is
    included in `multiprocessing.pool.__all__`.
    (cherry picked from commit 84ebcf2)
    
    
    Co-authored-by: Matt Wozniski <mwozniski@bloomberg.net>
    miss-islington and godlygeek committed Dec 18, 2020
  2. bpo-41891: ensure asyncio.wait_for waits for task completion (GH-22461)

    (cherry picked from commit 17ef431)
    
    Co-authored-by: Richard Kojedzinszky <rkojedzinszky@users.noreply.github.com>
    miss-islington and rkojedzinszky committed Dec 18, 2020
  3. bpo-39096: Format specification documentation fixes for numeric types (

    …GH-23575)
    
    (cherry picked from commit 886b2e5)
    
    Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
    miss-islington and mdickinson committed Dec 18, 2020

Commits on Dec 17, 2020

  1. bpo-26564: fix obsolete comment in traceback.c (GH-23819)

    (cherry picked from commit 40125ab)
    
    Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
    miss-islington and iritkatriel committed Dec 17, 2020
  2. bpo-42613: Fix freeze.py config directory (GH-23792)

    Fix freeze.py tool to use the prope config and library directories.
    (cherry picked from commit 1c653f1)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    miss-islington and vstinner committed Dec 17, 2020
  3. bpo-42375: subprocess DragonFlyBSD build update. (GH-23320) (GH-23389)

    Same as FreeBSD, file descriptors in /dev/fd id from 0 to 63.
    (cherry picked from commit 13b865f)
    
    Co-authored-by: David CARLIER <devnexen@gmail.com>
    
    Co-authored-by: David CARLIER <devnexen@gmail.com>
    miss-islington and devnexen committed Dec 17, 2020
  4. bpo-41804: Enhance test_epoll.test_control_and_wait() (GH-23795) (GH-…

    …23814)
    
    Use shorter timeout and replace send() with sendall().
    (cherry picked from commit 79782fe)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    miss-islington and vstinner committed Dec 17, 2020

Commits on Dec 16, 2020

  1. bpo-38323: Add guard clauses in MultiLoopChildWatcher. (GH-22756)

    This is a trivial refactor in preparation for a fix for bpo-38323.
    (cherry picked from commit 66d3b58)
    
    Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com>
    miss-islington and cjerdonek committed Dec 16, 2020
  2. bpo-39101: Fixes BaseException hang in IsolatedAsyncioTestCase. (GH-2…

    …2654)
    
    (cherry picked from commit 8374d2e)
    
    Co-authored-by: Lisa Roach <lisaroach14@gmail.com>
    miss-islington and lisroach committed Dec 16, 2020
  3. bpo-42644: Validate values in logging.disable() (GH-23786)

    * bpo-42644: Validate values in logging.disable()
    
    Technically make the value of manager a property that checks and convert
    values assigned to it properly. This has the side effect of making
    `logging.disable` also accept strings representing the various level of
    warnings.
    
    We want to validate the type of the disable attribute at assignment
    time, as it is later compared to other levels when emitting warnings and
    would generate a `TypeError: '>=' not supported between ....` in a
    different part of the code base, which can make it difficult to track
    down.
    
    When assigned an incorrect value; it will raise a TypeError when the
    wrong type, or ValueError if an invalid str.
    
    Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
    (cherry picked from commit b32d8b4)
    
    Co-authored-by: Matthias Bussonnier <bussonniermatthias@gmail.com>
    miss-islington and Carreau committed Dec 16, 2020
  4. [3.8] bpo-39416: change word case to not imply ABC (GH-22867) (GH-22869)

    follow-up to bpo-39416
    
    Co-authored-by: kpinc <kop@karlpinc.com>
    miss-islington and kpinc committed Dec 16, 2020
  5. Update idlelib/help.html to current Sphinx output (GH-22833)

    idle.rst is unchanged
    (cherry picked from commit a460d45)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    miss-islington and terryjreedy committed Dec 16, 2020

Commits on Dec 15, 2020

  1. bpo-40219: Lowered ttk LabeledScale dummy (GH-21467)

    (cherry picked from commit b9ced83)
    
    Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
    miss-islington and E-Paine committed Dec 15, 2020
  2. bpo-33610: Edit idlelib.codecontext (GH-23773)

    Add sentence to module docstring and import tkinter items.
    (cherry picked from commit 6f79e60)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    miss-islington and terryjreedy committed Dec 15, 2020

Commits on Dec 14, 2020

  1. bpo-36541: Add lib2to3 grammar PEP-570 pos-only arg parsing (GH-23759)

    Add positional only args support to lib2to3 pgen2.
    
    This adds 3.8's PEP-570 support to lib2to3's pgen2.  lib2to3, while
    being deprecated is still used by things to parse all versions of Python
    code today.  We need it to support parsing modern 3.8 and 3.9 constructs.
    
    Also add tests for complex *expr and **expr's.
    (cherry picked from commit 42c9f0f)
    
    Co-authored-by: Gregory P. Smith <greg@krypto.org>
    miss-islington and gpshead committed Dec 14, 2020

Commits on Dec 13, 2020

  1. bpo-42598: Fix implicit function declarations in configure (GH-23690) (

    …GH-23757)
    
    This is invalid in C99 and later and is an error with some compilers
    (e.g. clang in Xcode 12), and can thus cause configure checks to
    produce incorrect results.
    (cherry picked from commit 674fa0a)
    
    Co-authored-by: Joshua Root <jmr@macports.org>
    miss-islington and jmroot committed Dec 13, 2020

Commits on Dec 10, 2020

  1. [3.8] [doc] Link to issue regarding logging.disable level param defau…

    …lt value GH-23731
    
    (cherry picked from commit 2a35137)
    
    Co-authored-by: Andre Delfino <adelfino@gmail.com>
    andresdelfino committed Dec 10, 2020

Commits on Dec 9, 2020

  1. bpo-40084: [Enum] dir() includes member attributes (GH-19219) (GH-22853)

    (cherry picked from commit 68526fe)
    
    Co-authored-by: Angelin BOOZ <9497359+lem2clide@users.noreply.github.com>
    miss-islington and lem2clide committed Dec 9, 2020

Commits on Dec 8, 2020

  1. [3.8] [Enum] reformat and add doc strings (GH-23705). (GH-23706)

    * [3.8] [Enum] reformat and add doc strings (GH-23705).
    ethanfurman committed Dec 8, 2020
  2. bpo-41907: [Enum] fix format() behavior for IntFlag (GH-22497) (GH-23704

    )
    
    (cherry picked from commit 37440ee)
    miss-islington committed Dec 8, 2020
  3. [3.8] bpo-41910: move news entry (GH-23698)

    terryjreedy committed Dec 8, 2020
  4. bpo-32381: Fix PyRun_SimpleFileExFlags() encoding (GH-23642) (GH-23692)…

    … (GH-23696)
    
    Fix encoding name when running a ".pyc" file on Windows:
    PyRun_SimpleFileExFlags() now uses the correct encoding to decode the
    filename.
    
    * Add pyrun_file() subfunction.
    * Add pyrun_simple_file() subfunction.
    * PyRun_SimpleFileExFlags() now calls _Py_fopen_obj() rather than
      _Py_fopen().
    
    (cherry picked from commit b6d98c1)
    (cherry picked from commit f0e42ae)
    vstinner committed Dec 8, 2020
  5. Post 3.8.7rc1

    ambv committed Dec 8, 2020
  6. Merge tag 'v3.8.7rc1' into 3.8

    Python 3.8.7rc1
    ambv committed Dec 8, 2020

Commits on Dec 7, 2020

  1. bpo-41889: [Enum] fix multiple-inheritance regression (GH-22487) (GH-…

    …23672)
    
    (cherry picked from commit c266736)
    miss-islington committed Dec 7, 2020
  2. bpo-42574: Use format() instead of f-string in Tools/clinic/clinic.py…

    … to allow using older Python versions (GH-23685)
    pablogsal committed Dec 7, 2020
Older
You can’t perform that action at this time.