Skip to content
Permalink
3.9

Commits on Jan 26, 2021

  1. [3.9] bpo-41841: Prepare IDLE NEWS for 3.9.2 (#GH-4343)

    terryjreedy committed Jan 26, 2021
  2. [3.9] bpo-42383: pdb: do not fail to restart the target if the curren…

    …t directory changed (GH-23412) (#24322)
    hexagonrecursion committed Jan 26, 2021

Commits on Jan 25, 2021

  1. bpo-43013: Fix old tkinter module names in idlelib (GH-24326)

    Lowercase 'tkColorChooser', 'tkFileDialog', 'tkSimpleDialog', and
    'tkMessageBox' and remove 'tk'.  Just lowercase 'tkFont' as 'font'
    is already used.  Adjust import.
    (cherry picked from commit 879986d)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    miss-islington and terryjreedy committed Jan 25, 2021
  2. [3.9] bpo-33289: Return RGB triplet of ints instead of floats from tk…

    …inter.colorchooser (GH-6578). (GH-24318)
    
    (cherry picked from commit 6713e86)
    
    Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
    serhiy-storchaka and csabella committed Jan 25, 2021

Commits on Jan 24, 2021

  1. bpo-43013: Update idlelib code to 3.x (GH-24315)

    Remove 9 remaining '(object)' occurrences in class headers in idlelib
    and 25 '()' occurrences in idlelib.idle_test class headers.
    (cherry picked from commit 8dfe156)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    miss-islington and terryjreedy committed Jan 24, 2021

Commits on Jan 23, 2021

  1. closes bpo-43011: Fix DeprecationWarnings in test_ctypes (GH-24305)

    (cherry picked from commit f7fa64f)
    
    Co-authored-by: Zackery Spytz <zspytz@gmail.com>
    miss-islington and ZackerySpytz committed Jan 23, 2021

Commits on Jan 22, 2021

  1. bpo-40304: Correct type(name, bases, dict) doc (GH-19553)

    Co-authored-by: Éric Araujo <merwok@netwok.org>
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    Co-authored-by: Tal Einat <532281+taleinat@users.noreply.github.com>
    (cherry picked from commit 644d528)
    
    Co-authored-by: Борис Верховский <boris.verk@gmail.com>
    miss-islington and verhovsky committed Jan 22, 2021

Commits on Jan 21, 2021

  1. bpo-42780: Fix set_inheritable() for O_PATH file descriptors on Linux (

    …GH-24172) (GH-24278)
    
    (cherry picked from commit 7dc71c4)
    cptpcrd committed Jan 21, 2021

Commits on Jan 20, 2021

  1. bpo-42005: profile and cProfile catch BrokenPipeError (GH-22643)

    (cherry picked from commit 3554fa4)
    
    Co-authored-by: Zhiming Wang <i@zhimingwang.org>
    miss-islington and zmwangx committed Jan 20, 2021
  2. bpo-41995: Handle allocation failure in _tracemalloc and _zoneinfo (G…

    …H-22635)
    
    (cherry picked from commit f1ff800)
    
    Co-authored-by: Yunlongs <lylgood@foxmail.com>
    miss-islington and Yunlongs committed Jan 20, 2021

Commits on Jan 18, 2021

  1. closes bpo-42938: Replace snprintf with Python unicode formatting in …

    …ctypes param reprs. (GH-24247)
    
    (cherry picked from commit 916610e)
    
    Co-authored-by: Benjamin Peterson <benjamin@python.org>
    
    Co-authored-by: Benjamin Peterson <benjamin@python.org>
    miss-islington and benjaminp committed Jan 18, 2021

Commits on Jan 16, 2021

  1. [3.9] bpo-42163, bpo-42189, bpo-42659: Support uname_tuple._replace (…

    …for all but processor) (GH-23010) (#24232)
    
    * Add test capturing missed expectation with uname_result._replace.
    
    * bpo-42163: Override uname_result._make to allow uname_result._replace to work (for everything but 'processor'.
    
    * Replace hard-coded length with one derived from the definition.
    
    * Add test capturing missed expectation with copy/deepcopy on namedtuple (bpo-42189).
    
    * bpo-42189: Exclude processor parameter when constructing uname_result.
    
    * In _make, rely on __new__ to strip processor.
    
    * Add blurb.
    
    * iter is not necessary here.
    
    * Rely on num_fields in __new__
    
    * Add test for slices on uname
    
    * Add test for copy and pickle.
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    
    * import pickle
    
    * Fix equality test after pickling.
    
    * Simply rely on __reduce__ for pickling.
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    (cherry picked from commit a6fd0f4)
    
    Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
    jaraco committed Jan 16, 2021

Commits on Jan 15, 2021

Commits on Jan 14, 2021

  1. Docs: Remove stray semicolon in init.rst (GH-23974)

    Removed stray semicolon which was causing the docs to render weirdly (it's the function right under the one [here](https://docs.python.org/3/c-api/init.htmlGH-c._PyInterpreterState_GetEvalFrameFunc)).
    (cherry picked from commit 9712358)
    
    Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
    miss-islington and Fidget-Spinner committed Jan 14, 2021

Commits on Jan 10, 2021

  1. bpo-33065: Fix problem debugging user classes with __repr__ method (G…

    …H-24183)
    
    If __repr__ uses instance attributes, as normal, and one steps
    through the __init__ method, debugger may try to get repr before
    the instance attributes exist.  reprlib.repr handles the error.
    (cherry picked from commit 81f87bb)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    miss-islington and terryjreedy committed Jan 10, 2021

Commits on Jan 7, 2021

  1. [3.9] bpo-42851: [Enum] remove brittle __init_subclass__ support (GH-…

    …24154) (GH-24155)
    
    Solution to support calls to `__init_subclass__` with members defined is too brittle and breaks with certain mixins..
    (cherry picked from commit a581a86)
    ethanfurman committed Jan 7, 2021
  2. [3.9] bpo-42811: Update importlib.utils.resolve_name() docs to use __…

    …spec__.parent (GH-24100) (GH-24149)
    
    This is a backport of 
    #24100
    
    Automerge-Triggered-By: GH:brettcannon
    Fongeme committed Jan 7, 2021

Commits on Jan 6, 2021

  1. bpo-38413: Remove outdated section about multithreading in sqlite3 (G…

    …H-23159)
    
    (cherry picked from commit f9949f8)
    greatvovan committed Jan 6, 2021
  2. bpo-42528: Improve the docs of most Py*_Check{,Exact} API calls (GH-2…

    …3602) (GH-24139)
    
    I think that none of these API calls can fail, but only few of them are
    documented as such. Add the sentence "This function always succeeds" (which is
    the same already used e.g. by PyNumber_Check) to all of them.
    (cherry picked from commit 315fc52)
    
    Co-authored-by: Antonio Cuni <anto.cuni@gmail.com>
    
    Co-authored-by: Antonio Cuni <anto.cuni@gmail.com>
    miss-islington and antocuni committed Jan 6, 2021
  3. bpo-14014: Clarify StreamWriter.reset() documentation (GH-13716)

    (cherry picked from commit 1a9f51e)
    
    Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
    miss-islington and berkerpeksag committed Jan 6, 2021
  4. bpo-42584: Update Windows installer to use SQLite 3.34.0 (GH-23675)

    Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
    zooba and erlend-aasland committed Jan 6, 2021

Commits on Jan 5, 2021

  1. bpo-41837: Updated Windows installer to include OpenSSL 1.1.1i (GH-24125

    )
    zooba committed Jan 5, 2021
  2. [3.9] bpo-42584: Update macOS installer to use SQLite 3.34.0 (GH-23674)…

    … (GH-24130)
    
    (cherry picked from commit c94ee13)
    
    Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
    
    Automerge-Triggered-By: GH:ned-deily
    erlend-aasland committed Jan 5, 2021
  3. [3.9] bpo-40052: Fix alignment issue in PyVectorcall_Function() (GH-2…

    …3999) (GH-24005)
    
    ```
    In file included from /usr/include/python3.8/Python.h:147:
    In file included from /usr/include/python3.8/abstract.h:837:
    /usr/include/python3.8/cpython/abstract.h:91:11: error: cast from 'char *' to 'vectorcallfunc *'
    (aka 'struct _object *(**)(struct _object *, struct _object *const *, unsigned long, struct _object *)')
    increases required alignment from 1 to 8 [-Werror,-Wcast-align]
    
        ptr = (vectorcallfunc*)(((char *)callable) + offset);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    ```
    Co-authored-by: Petr Viktorin <encukou@gmail.com>
    Co-Authored-By: Andreas Schneider <asn@cryptomilk.org>
    Co-Authored-By: Antoine Pitrou <antoine@python.org>
    (cherry picked from commit 056c082)
    miss-islington committed Jan 5, 2021
  4. [3.9] bpo-42681: Fix test_curses failures related to color pairs (GH-…

    …24089) (GH-24113)
    
    On ncurses 6.1 pair numbers are limited by SHORT_MAX-1.
    
    Improve error reporting and tests for color functions.
    (cherry picked from commit 59f9b4e)
    serhiy-storchaka committed Jan 5, 2021
  5. [3.9] bpo-32631: IDLE: Enable zzdummy example extension module (GH-14491

    )
    
    Make menu items work with formatter, add docstrings, add 100% tests.
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    (cherry picked from commit e40e2a2)
    
    Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
    terryjreedy and csabella committed Jan 5, 2021
  6. Fix broken NEWS markup (GH-24110)

    (cherry picked from commit cde988e)
    
    Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
    miss-islington and brandtbucher committed Jan 5, 2021

Commits on Jan 4, 2021

  1. bpo-40810: Fix CheckTraceCallbackContent for SQLite pre 3.7.15 (GH-20530

    )
    
    Ref. [SQLite 3.7.15 changelog](https://sqlite.org/changes.htmlGH-version_3_7_15):
    _"Avoid invoking the sqlite3_trace() callback multiple times when a statement is automatically reprepared due to SQLITE_SCHEMA errors."_
    (cherry picked from commit f7f0ed5)
    
    Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
    miss-islington and erlend-aasland committed Jan 4, 2021
  2. Do not remove x bit from published directories (GH-24101)

    (cherry picked from commit af4cd16)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
    miss-islington and zooba committed Jan 4, 2021
  3. Revert "[3.9] [doc] Fix erroneous backslashes in signatures and names (

    …GH-23658)" (GH-24092)
    
    This partially reverts commit
    e89993c, which was removing
    backslashes in documentations compiled with Sphinx < 3, used for
    Python 3.8 and 3.9 docs.
    JulienPalard committed Jan 4, 2021
  4. bpo-42692: fix __builtin_available check on older compilers (GH-23873) (

    GH-24090)
    
    A compiler that doesn't define `__has_builtin` will error out when it is
    used on the same line as the check for it.
    
    Automerge-Triggered-By: GH:ronaldoussoren
    (cherry picked from commit df21f50)
    
    Co-authored-by: Joshua Root <jmr@macports.org>
    miss-islington and jmroot committed Jan 4, 2021
  5. bpo-41837: Update macOS installer build to use OpenSSL 1.1.1i. (GH-24080

    ) (GH-24083)
    
    (cherry picked from commit 14097a2)
    
    Co-authored-by: Ned Deily <nad@python.org>
    miss-islington and ned-deily committed Jan 4, 2021
  6. Update Sphinx version for macOS installer build. (GH-24082) (GH-24087)

    (cherry picked from commit 0f3b96b)
    
    Co-authored-by: Ned Deily <nad@python.org>
    miss-islington and ned-deily committed Jan 4, 2021
Older