Skip to content
Permalink
3.9

Commits on Jun 9, 2021

  1. bpo-40468: Split IDLE settings General tab (GH-26621)

    Replace it with Windows tab for Shell and Editor options
    and Shell/Ed for options exclusive to one of them.
    
    Create room for more options and make dialog shorter,
    to better fit small windows.
    (cherry picked from commit 275d5f7)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    miss-islington and terryjreedy committed Jun 9, 2021
  2. bpo-40468: Factor out class ExtPage in idlelib.configdialog (GH-26618)

    (cherry picked from commit 5571cab)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    miss-islington and terryjreedy committed Jun 9, 2021

Commits on Jun 8, 2021

  1. bpo-40468: Move IDLE helplist settings to extensions page of dialog. (G…

    …H-26593)
    
    These are the settings that extend the help menu.  Moving them shortens the dialog and will help with it being too tall for small screens.
    (cherry picked from commit ab36b9f)
    miss-islington committed Jun 8, 2021
  2. [3.9] bpo-11105: reduce the recursion limit for tests. (GH-26605)

    (cherry picked from commit e58d762)
    
    Co-authored-by: Batuhan Taskaya <batuhan@python.org>
    isidentical committed Jun 8, 2021

Commits on Jun 7, 2021

  1. [3.9] bpo-44322: Document more SyntaxError details. (GH-26562)

    1. SyntaxError args have a tuple of other attributes.
    2. Attributes are adjusted for errors in f-string field expressions.
    3. Compile() can raise SyntaxErrors.
    
    (cherry picked from commit 67dfa6f)
    terryjreedy committed Jun 7, 2021

Commits on Jun 6, 2021

  1. bpo-44320: Fix markup for W3C C14N test suite (GH-26556)

    (cherry picked from commit 71be461)
    
    Co-authored-by: NAKAMURA Osamu <osamu0329nakamura@users.noreply.github.com>
    miss-islington and osamu0329nakamura committed Jun 6, 2021

Commits on Jun 4, 2021

  1. bpo-38323: Skip SubprocessMultiLoopWatcherTest as they can hang the t…

    …est suite (GH-26542)
    
    (cherry picked from commit f171877)
    
    Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
    miss-islington and pablogsal committed Jun 4, 2021
  2. bpo-44279: revert 'exceptions are raised' back to 'exceptions occur' (G…

    …H-26492) (GH-26539)
    
    (cherry picked from commit dda9ecb)
    
    Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
    miss-islington and iritkatriel committed Jun 4, 2021

Commits on Jun 3, 2021

  1. [3.9] bpo-11105: Do not crash when compiling recursive ASTs (GH-20594) (

    GH-26522)
    
    When compiling an AST object with a direct / indirect reference
    cycles, on the conversion phase because of exceeding amount of
    calls, a segfault was raised. This patch adds recursion guards to
    places for preventing user inputs to not to crash AST but instead
    raise a RecursionError..
    (cherry picked from commit f349124)
    
    Co-authored-by: Batuhan Taskaya <batuhan@python.org>
    isidentical committed Jun 3, 2021
  2. [3.9] bpo-43776: Remove list call from args in Popen repr (GH-25338) (G…

    …H-26510)
    
    Removes the `list` call in the Popen `repr`.
    
    Current implementation:
    
    For cmd = `python --version`,  with `shell=True`.
    
    ```bash
    <Popen: returncode: None args: ['p', 'y', 't', 'h', 'o', 'n', ' ', '-', '-',...>
    ```
    
    For `shell=False` and args=`['python', '--version']`, the output is correct:
    
    ```bash
    <Popen: returncode: None args: ['python', '--version']>
    ```
    
    With the new changes the `repr`  yields:
    
    For cmd = `python --version`,  with `shell=True`:
    
    ```bash
    <Popen: returncode: None args: 'python --version'>
    ```
    
    For `shell=False` and args=`['python', '--version']`, the output:
    
    ```bash
    <Popen: returncode: None args: ['python', '--version']>
    ```
    
    Automerge-Triggered-By: GH:gpshead.
    (cherry picked from commit db0c5b7)
    
    Co-authored-by: M. Kocher <michael.kocher@me.com>
    
    Co-authored-by: M. Kocher <michael.kocher@me.com>
    gpshead and mpkocher committed Jun 3, 2021
  3. bpo-44022: Improve the regression test. (GH-26503)

    It wasn't actually detecting the regression due to the
    assertion being too lenient.
    (cherry picked from commit e60ab84)
    
    Co-authored-by: Gregory P. Smith <greg@krypto.org>
    miss-islington and gpshead committed Jun 3, 2021
  4. [3.9] bpo-43568: Relax distutils MACOSX_DEPLOYMENT_TARGET check (GH-2…

    …5827) (GH-26001)
    
    Only complain if the config target is >= 10.3 and the current target is
    < 10.3. The check was originally added to ensure that incompatible
    LDSHARED flags are not used, because '-undefined dynamic_lookup' is
    used when building for 10.3 and later, and is not supported on older OS
    versions. Apart from that, there should be no problem in general
    with using an older target. In particular, this allows targeting macOS
    11.0 when Python was built for a newer minor version like 11.3.
    
    (manually cherry picked from part of commit 8703178)
    jmroot committed Jun 3, 2021

Commits on Jun 2, 2021

  1. bpo-44285: getpath.c: Assert that env_file is NULL during an error ch…

    …eck (GH-26486) (GH-26496)
    
    This was flagged by a static analyzer, but the logic of why this is NULL on error is hard to follow for humans as well.
    (cherry picked from commit bdb5690)
    
    Co-authored-by: stratakis <cstratak@redhat.com>
    miss-islington and stratakis committed Jun 2, 2021

Commits on Jun 1, 2021

  1. [3.9] bpo-44279: [doc] reword contextlib.suppress documentation (GH-2…

    …6428) (GH-26481)
    
    (cherry picked from commit 87272b7)
    
    Co-authored-by: MapleCCC <littlelittlemaple@gmail.com>
    iritkatriel and MapleCCC committed Jun 1, 2021

Commits on May 31, 2021

  1. bpo-44263: Fix _decimal and _testcapi GC protocol (GH-26464)

    * _testcapi.heapgctype: implement a traverse function since the type
      is defined with Py_TPFLAGS_HAVE_GC.
    * _decimal: PyDecSignalDictMixin_Type is no longer defined with
      Py_TPFLAGS_HAVE_GC since it has no traverse function.
    (cherry picked from commit 142e5c5)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
    miss-islington and vstinner committed May 31, 2021

Commits on May 29, 2021

  1. bpo-44254: On Mac, remove disfunctional colors from turtledemo buttons (

    GH-26448)
    
    On macOS, tk defers to system setting for button background when in normal state.
    Give turtledemo button text a color that works on either light or dark background.
    (cherry picked from commit af5a324)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    miss-islington and terryjreedy committed May 29, 2021
  2. bpo-44263: Mention PyType_Ready in the gc protocol warning (GH-26445)

    (cherry picked from commit 43cf7c8)
    
    Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
    miss-islington and pablogsal committed May 29, 2021
  3. bpo-44263: Better explain the GC contract for PyType_FromSpecWithBases (

    GH-26442)
    
    (cherry picked from commit 8b55bc3)
    
    Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
    miss-islington and pablogsal committed May 29, 2021
  4. Fix dataclass comment typo _eq__ -> __eq__ (GH-26433) (GH-26437)

    (cherry picked from commit 7e6f237)
    
    Co-authored-by: Sean Grady <vedicmonk@gmail.com>
    
    Co-authored-by: Sean Grady <vedicmonk@gmail.com>
    miss-islington and SeanGrady committed May 29, 2021

Commits on May 28, 2021

  1. bpo-44249: Fix 3 README.rst typos (GH-26385)

    (cherry picked from commit acac6c7)
    
    
    Co-authored-by: Ayush Parikh <ayushparikh332@gmail.com>
    miss-islington and Ayushparikh-code committed May 28, 2021
  2. bpo-41611: IDLE: Catch TclError exceptions in AutoCompleteWindow.winc…

    …onfig_event() (GH-26404)
    
    Since the <Configure> event may occur after the
    completion window is gone, catch potential
    TclError exceptions when accessing acw.
    
    (cherry picked from commit 4e2e5c1)
    miss-islington committed May 28, 2021

Commits on May 27, 2021

  1. bpo-43667: Add news fragment for Solaris changes (GH-26405) (GH-26410)

    (cherry picked from commit 164a4f4)
    
    Co-authored-by: Jakub Kulík <Kulikjak@gmail.com>
    miss-islington and kulikjak committed May 27, 2021
  2. bpo-41611: IDLE: fix freezing on completion on macOS (GH-26400)

    (cherry picked from commit abc4bd5)
    
    Co-authored-by: Tal Einat <532281+taleinat@users.noreply.github.com>
    miss-islington and taleinat committed May 27, 2021

Commits on May 26, 2021

  1. bpo-41147: [doc] contextlib.redirect_stdout() provides the new stream…

    … as context var (GH-21199) (GH-26380)
    
    (cherry picked from commit 46db39d)
    
    Co-authored-by: Peter Law <PeterJCLaw@gmail.com>
    miss-islington and PeterJCLaw committed May 26, 2021

Commits on May 25, 2021

  1. Point to recent link to PyFLTK (GH-26315) (GH-26367)

    (cherry picked from commit ee3d78e)
    
    Co-authored-by: Mark <mark@qtrac.eu>
    
    Co-authored-by: Mark <mark@qtrac.eu>
    miss-islington and mark-summerfield committed May 25, 2021
  2. bpo-20408: Fix memoryview() signature in docs (GH-24431)

    (cherry picked from commit d18e5da)
    
    Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
    miss-islington and felixxm committed May 25, 2021
  3. bpo-43109: Fix --with-lto configure option on macOS (GH-26341) (GH-26343

    )
    
    Allow --with-lto configure option to work with Apple-supplied Xcode or
    Command Line Tools which do not provide llvm-ar.
    (cherry picked from commit 59acfd4)
    
    Co-authored-by: Ned Deily <nad@python.org>
    miss-islington and ned-deily committed May 25, 2021

Commits on May 24, 2021

  1. [3.9] bpo-44195: Use 'TraversableResources' in the docs to match the …

    …implementation. (GH-26317) (GH-26335)
    
    (cherry picked from commit 7148293)
    
    
    Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
    
    Automerge-Triggered-By: GH:jaraco
    miss-islington committed May 24, 2021

Commits on May 22, 2021

  1. bpo-30757: Improve "How to make stand-alone binaries" FAQ (GH-26309) (G…

    …H-26312)
    
    Co-authored-by: denfromufa <denfromufa@users.noreply.github.com>
    Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
    (cherry picked from commit 2a1e669)
    
    Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
    
    Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
    miss-islington and erlend-aasland committed May 22, 2021
  2. [3.9] Remove duplicate words in docs. (GH-26167) (GH-26297)

    (cherry picked from commit b06ed1d)
    felixxm committed May 22, 2021
  3. bpo-8264: Document hasattr and getattr behavior for private attributes (

    GH-23513) (GH-26238)
    
    Clarify ``getattr`` and ``setattr`` requirements for accessing name-mangled attributes
    
    Co-Authored-By: Catalin Iacob <iacobcatalin@gmail.com>
    (cherry picked from commit 2edaf6a)
    
    Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
    miss-islington and Fidget-Spinner committed May 22, 2021

Commits on May 21, 2021

  1. Specify Python Cookbook edition for reference (GH-26301) (#26303)

    (cherry picked from commit 604cd71)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    miss-islington and terryjreedy committed May 21, 2021
  2. bpo-43927: Change 'IOError' to 'OSError' (GH-26289)

    This is the last remaining instance, at least for this chapter, in 3.10 & 3.11.
    (cherry picked from commit 2f47d8d)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    miss-islington and terryjreedy committed May 21, 2021
  3. [doc] Fix indentation in inspect documentation (GH-24846) (GH-26288)

    (cherry picked from commit 642fdfd)
    
    Co-authored-by: Numerlor <25886452+Numerlor@users.noreply.github.com>
    miss-islington and Numerlor committed May 21, 2021
Older