Skip to content
Permalink
Branch: 3.7
Commits on Jun 28, 2020
  1. Post release updates

    ned-deily committed Jun 28, 2020
Commits on Jun 27, 2020
  1. 3.7.8

    ned-deily committed Jun 27, 2020
Commits on Jun 25, 2020
  1. BPO-41100: Support macOS 11 when building (GH-21113) (GH-21155)

    miss-islington and ronaldoussoren committed Jun 25, 2020
    (cherry picked from commit 8ea6353)
    
    Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
  2. [3.7] bpo-41009: fix requires_OS_version() class decorator (GH-20942) (

    tiran committed Jun 25, 2020
    …GH-20949)
    
    Signed-off-by: Christian Heimes <christian@python.org>
    
    Automerge-Triggered-By: @tiran.
    (cherry picked from commit bb6ec14)
    
    Co-authored-by: Christian Heimes <christian@python.org>
  3. Update macOS installer reader for 3.7.8

    ned-deily committed Jun 25, 2020
  4. Fix macOS installer build typos

    ned-deily committed Jun 25, 2020
Commits on Jun 18, 2020
  1. Post release update

    ned-deily committed Jun 18, 2020
Commits on Jun 17, 2020
  1. 3.7.8rc1

    ned-deily committed Jun 17, 2020
  2. bpo-39580: add check for CLI installation on macOS

    ned-deily committed Jun 17, 2020
    Adds a simple check for whether or not the package is being installed in the GUI or using installer on the command line. This addresses an issue where CLI-based software management tools (such as Munki) unexpectedly open Finder windows into a GUI session during installation runs.
  3. Update the macOS installer build scripts

    ned-deily committed Jun 17, 2020
    Change includes to fix building with Python 3.x and to
    build correctly on newer macOS systems with SIP.
Commits on Jun 15, 2020
  1. bpo-38488: Upgrade bundled versions of pip & setuptools (GH-20491) (G…

    miss-islington and ned-deily committed Jun 15, 2020
    …H-20900)
    
    Co-authored-by: Xavier Fernandez <xav.fernandez@gmail.com>
    (cherry picked from commit e63cc2f)
    
    Co-authored-by: Ned Deily <nad@python.org>
  2. bpo-40448: ensurepip: Do not use cache (GH-19812)

    miss-islington and kkonopko committed Jun 15, 2020
    ensurepip optionally installs or upgrades 'pip' and 'setuptools' using
    the version of those modules bundled with Python.  The internal PIP
    installation routine by default temporarily uses its cache, if it
    exists.  This is undesirable as Python builds and installations may be
    independent of the user running the build, whilst PIP cache location
    is dependent on the user's environment and outside of the build
    environment.
    
    At the same time, there's no value in using the cache while installing
    bundled modules.
    
    This change disables PIP caching when used in ensurepip.
    (cherry picked from commit 4a3a682)
    
    Co-authored-by: Krzysztof Konopko <kkonopko@users.noreply.github.com>
  3. [3.7] bpo-34226: fix cgi.parse_multipart without content_length (GH-8530

    miss-islington committed Jun 15, 2020
    ) (GH-20892)
    
    In Python 3.7 the behavior of parse_multipart changed requiring CONTENT-LENGTH
    header, this fix remove this header as required and fix FieldStorage
    read_lines_to_outerboundary, by not using limit when it's negative,
    since by default it's -1 if not content-length and keeps substracting what
    was read from the file object.
    
    Also added a test case for this problem.
    (cherry picked from commit d8cf351)
    
    
    Co-authored-by: roger <rogerduran@gmail.com>
    
    Automerge-Triggered-By: @ned-deily
Commits on Jun 13, 2020
  1. [3.7] bpo-37674: Tweak imp module deprecation note in the docs (GH-20480

    miss-islington committed Jun 13, 2020
    ) (GH-20861)
    
    (cherry picked from commit dea3223)
    
    
    Co-authored-by: Zackery Spytz <zspytz@gmail.com>
    
    Automerge-Triggered-By: @brettcannon
Commits on Jun 12, 2020
  1. bpo-40164: Update Windows OpenSSL to 1.1.1g (GH-20834)

    zooba and srinivasreddy committed Jun 12, 2020
    Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్  రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>
  2. bpo-40964: disable remote IMAP tests (GH-20836)

    tiran authored and ned-deily committed Jun 12, 2020
    Remote host cyrus.andrew.cmu.edu is blocking incoming connections and is
    causing test suite to fail.
    
    Signed-off-by: Christian Heimes <christian@python.org>
Commits on Jun 11, 2020
  1. bpo-40025: Require _generate_next_value_ to be defined before members (

    miss-islington committed Jun 11, 2020
    …GH-19762)
    
    require `_generate_next_value_` to be defined before members
    (cherry picked from commit d9a43e2)
  2. bpo-29620: iterate over a copy of sys.modules (GH-4800) (GH-20817)

    miss-islington and kernc committed Jun 11, 2020
    unittest.TestCase.assertWarns no longer raises a RuntimeException
    when accessing a module's ``__warningregistry__`` causes importation of a new
    module, or when a new module is imported in another thread.
    (cherry picked from commit 46398fb)
    
    Co-authored-by: kernc <kerncece@gmail.com>
Commits on Jun 10, 2020
  1. [3.7] bpo-40895: Update weakref documentation to remove old warnings (G…

    pitrou committed Jun 10, 2020
    …H-20687) (GH-20793)
    
    The doccumentation at https://docs.python.org/3.10/library/weakref.html cautions that the `WeakKeyDictionary` and `WeakValueDictionary` are susceptible to the problem of dictionary mutation during iteration.
    
    These notes present the user with a problem that has no easy solution.
    
    I dug into the implementation and found that fortunately, Antoine Pitrou already addressed this challenge (10 years ago!) by introducing an `_IterationGuard` context manager to the implementation, which delays mutation while an iteration is in progress.
    
    I asked for confirmation and @pitrou agreed that these notes could be removed:
    c1baa60.
    (cherry picked from commit 1642c0e)
    
    Co-authored-by: Daniel Fortunov <asqui@users.noreply.github.com>
    
    Automerge-Triggered-By: @pitrou
Commits on Jun 9, 2020
  1. Add quotes to code to be a string

    miss-islington committed Jun 9, 2020
Commits on Jun 8, 2020
  1. [3.7] Revert bpo-39576: Prevent memory error for overly optimistic pr…

    skrah committed Jun 8, 2020
    …ecisions (GH-20748)
    
    This reverts commit c6f9554.
  2. [3.7] Revert bpo-39576: docs: set context for decimal arbitrary preci…

    skrah committed Jun 8, 2020
    …sion arithmetic (GH-20746)
    
    This reverts commit 00e4587.
  3. [3.7] Revert bpo-39576: Clarify the word size for the 32-bit build. (G…

    skrah committed Jun 8, 2020
    …H-20744)
    
    This reverts commit 24c570b.
  4. bpo-40861: Enable optimizations when building liblzma (GH-20724)

    miss-islington and zooba committed Jun 8, 2020
    (cherry picked from commit 3a3a30c)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
  5. bpo-22021: Update root_dir and base_dir documentation in shutil (GH-1…

    miss-islington and lysnikolaou committed Jun 8, 2020
    …0367)
    
    Also added an example in shutil in order to make more clear how they are to be used.
    
    Initially reported by Weinan Li on bpo.
    (cherry picked from commit 7633371)
    
    Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
  6. bpo-40741: Update macOS installer to use SQLite 3.32.2. (GH-20705)

    miss-islington and ned-deily committed Jun 8, 2020
    (cherry picked from commit 37eed5a)
    
    Co-authored-by: Ned Deily <nad@python.org>
Commits on Jun 5, 2020
  1. [3.8] bpo-40807: Backport test_codeop change [GH-19670]

    miss-islington and terryjreedy committed Jun 5, 2020
    A tiny sliver of a 3.9 PEG parser patch needed to backport the test added by GH-20486.
    (cherry picked from commit a5d6aba)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Commits on Jun 4, 2020
  1. Fix spacing in docs for tarfile (GH-20629)

    miss-islington and HarshaLaxman committed Jun 4, 2020
    Before
    ```
    content.txt is 42 bytes in size and isa regular file.
    folder is 420 bytes in size and isa directory.
    magic is 4200 bytes in size and issomething else.
    ```
    
    After:
    ```
    content.txt is 42 bytes in size and is a regular file.
    folder is 420 bytes in size and is a directory.
    magic is 4200 bytes in size and is something else.
    ```
    
    Automerge-Triggered-By: @orsenthil
    (cherry picked from commit 7a28019)
    
    Co-authored-by: Harsha Laxman <HarshaLaxman@users.noreply.github.com>
Commits on Jun 3, 2020
  1. bpo-40767: Allow pure Wayland to get default XDG web browser (GH-20382)

    miss-islington and jtheoof committed Jun 3, 2020
    Would be nice to backport to python 3.7+. I don't think it's worth the hassle to backport this all the way down to 3.10. But I'll let the maintainers decide.
    
    This is hard to test because the test setup already includes this [environment variable](https://github.com/python/cpython/blob/master/Lib/test/pythoninfo.pyGH-L292)
    
    Let me know if something doesn't match the PR guidelines. This is my first PR in the python source code.
    (cherry picked from commit c822efe)
    
    Co-authored-by: Jeremy Attali <jeremy.attali@gmail.com>
Commits on Jun 1, 2020
  1. Ensure correct version of Sphinx is used for Windows builds (GH-20582)

    miss-islington and zooba committed Jun 1, 2020
    (cherry picked from commit fe5dd78)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
  2. bpo-40831: Remove an incorrect statement in the Windows docs (GH-20570)

    miss-islington and ZackerySpytz committed Jun 1, 2020
    (cherry picked from commit c896666)
    
    Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Older
You can’t perform that action at this time.