Skip to content
Permalink
Branch: 3.7
Commits on Dec 14, 2019
  1. bpo-39035: travis: Don't use beta group (GH-17604)

    methane committed Dec 14, 2019
  2. [3.7] Fix elif start column offset when there is an else following (G…

    pablogsal and lysnikolaou committed Dec 14, 2019
    …H-17596) (GH-17601)
    
    (cherry picked from commit 5936a4c)
    
    Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
  3. Add PYTHONUTF8 to commandline usage. (GH-17587) (GH-17599)

    methane authored and vstinner committed Dec 14, 2019
    Co-Authored-By: Victor Stinner <vstinner@python.org>
    (cherry picked from commit 95826c7)
Commits on Dec 13, 2019
  1. bpo-36406: Handle namespace packages in doctest (GH-12520) (GH-17592)

    2 people authored and brettcannon committed Dec 13, 2019
    (cherry picked from commit 8289e27)
    
    Co-authored-by: Xtreak <tir.karthi@gmail.com>
  2. [3.7] bpo-39031: Include elif keyword when producing lineno/col-offse…

    pablogsal and lysnikolaou committed Dec 13, 2019
    …t info for if_stmt (GH-17582) (#17584)
    
    When parsing an "elif" node, lineno and col_offset of the node now point to the "elif" keyword and not to its condition, making it consistent with the "if" node.
    
    https://bugs.python.org/issue39031
    
    Automerge-Triggered-By: @pablogsal.
    (cherry picked from commit 025a602)
    
    Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Commits on Dec 11, 2019
  1. Post release updates

    ned-deily committed Dec 11, 2019
  2. 3.7.6rc1

    ned-deily committed Dec 11, 2019
  3. bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR (

    ned-deily and aeros committed Dec 11, 2019
    GH-17311) (GH-17570)
    
    (cherry picked from commit ab513a3)
    
    Co-authored-by: Kyle Stanley <aeros167@gmail.com>
Commits on Dec 10, 2019
  1. bpo-38943: Fix IDLE autocomplete window not always appearing (GH-17416)

    miss-islington and JohnnyNajera committed Dec 10, 2019
    This has happened on some versions of Ubuntu.
    (cherry picked from commit bbc4162)
    
    Co-authored-by: JohnnyNajera <58344607+JohnnyNajera@users.noreply.github.com>
Commits on Dec 9, 2019
  1. bpo-38944: Escape key now closes IDLE completion windows. (GH-17419)

    miss-islington and JohnnyNajera committed Dec 9, 2019
    (cherry picked from commit 232689b)
    
    Co-authored-by: JohnnyNajera <58344607+JohnnyNajera@users.noreply.github.com>
  2. bpo-34776: Fix dataclasses to support __future__ "annotations" mode (G…

    2 people authored and ambv committed Dec 9, 2019
    …H-9518) (#17532)
    
    (cherry picked from commit d219cc4)
    
    Co-authored-by: Yury Selivanov <yury@magic.io>
  3. bpo-39006: Fix asyncio when the ssl module is missing (GH-17524)

    miss-islington and vstinner committed Dec 9, 2019
    Fix asyncio when the ssl module is missing: only check for
    ssl.SSLSocket instance if the ssl module is available.
    (cherry picked from commit 82b4950)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
  4. bpo-38916: Document array.array deprecation (GH-17523)

    miss-islington and vstinner committed Dec 9, 2019
    array.array: Document that tostring() and fromstring() deprecated
    aliases will be removed in Python 3.9.
    (cherry picked from commit 0381ea7)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
  5. bpo-38673: dont switch to ps2 if the line starts with comment or whit…

    2 people authored and ned-deily committed Dec 9, 2019
    …espace (GH-17421) (GH-17522)
    
    https://bugs.python.org/issue38673
    (cherry picked from commit 109fc27)
    
    Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com>
  6. bpo-38547: Fix test_pty if the process is the session leader (GH-17519)

    miss-islington and vstinner committed Dec 9, 2019
    Fix test_pty: if the process is the session leader, closing the
    master file descriptor raises a SIGHUP signal: simply ignore SIGHUP
    when running the tests.
    (cherry picked from commit a1838ec)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
  7. bpo-38669: patch.object now raises a helpful error (GH17511)

    2 people authored and cjw296 committed Dec 9, 2019
    This means a clearer message is now shown when patch.object is called with two string arguments, rather than a class and a string argument.
    (cherry picked from commit cd90a52)
    
    Co-authored-by: Elena Oat <oat.elena@gmail.com>
Commits on Dec 8, 2019
  1. bpo-38979: fix ContextVar "__class_getitem__" method (GH-17497)

    miss-islington and amiremohamadi committed Dec 8, 2019
    now contextvars.ContextVar "__class_getitem__" method returns ContextVar class, not None.
    
    https://bugs.python.org/issue38979
    
    Automerge-Triggered-By: @asvetlov
    (cherry picked from commit 28c9163)
    
    Co-authored-by: AMIR <31338382+amiremohamadi@users.noreply.github.com>
Commits on Dec 7, 2019
  1. [3.7] bpo-38820: OpenSSL 3.0.0 compatibility. (GH-17190) (GH-17500)

    miss-islington committed Dec 7, 2019
    test_openssl_version now accepts version 3.0.0.
    
    getpeercert() no longer returns IPv6 addresses with a trailing new line.
    
    Signed-off-by: Christian Heimes <christian@python.org>
    
    
    https://bugs.python.org/issue38820
    (cherry picked from commit 2b7de66)
    
    
    Co-authored-by: Christian Heimes <christian@python.org>
    
    
    https://bugs.python.org/issue38820
    
    
    
    Automerge-Triggered-By: @tiran
  2. bpo-37404: Raising value error if an SSLSocket is passed to asyncio f…

    miss-islington and idomic committed Dec 7, 2019
    …unctions (GH-16457)
    
    https://bugs.python.org/issue37404
    (cherry picked from commit 892f9e0)
    
    Co-authored-by: idomic <michael.ido@gmail.com>
  3. [3.7] Make repr of C accelerated TaskWakeupMethWrapper the same as of…

    asvetlov committed Dec 7, 2019
    … pure Python version (GH-17484) (GH-17494)
    
    (cherry picked from commit 969ae7a)
    
    Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Commits on Dec 6, 2019
  1. bpo-36820: Break unnecessary cycle in socket.py, codeop.py and dyld.py (

    miss-islington and mariocj89 committed Dec 6, 2019
    GH-13135)
    
    Break cycle generated when saving an exception in socket.py, codeop.py and dyld.py as they keep alive not only the exception but user objects through the ``__traceback__`` attribute.
    
    https://bugs.python.org/issue36820
    
    Automerge-Triggered-By: @pablogsal
    (cherry picked from commit b64334c)
    
    Co-authored-by: Mario Corchero <mcorcherojim@bloomberg.net>
Commits on Dec 4, 2019
  1. bpo-38965: Fix faulthandler._stack_overflow() on GCC 10 (GH-17467)

    miss-islington and vstinner committed Dec 4, 2019
    Use the "volatile" keyword to prevent tail call optimization
    on any compiler, rather than relying on compiler specific pragma.
    (cherry picked from commit 8b78796)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
  2. bpo-33684: json.tool: Use utf-8 for infile and outfile. (GH-17460)

    methane committed Dec 4, 2019
    (cherry picked from commit 808769f)
    
    Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Commits on Dec 3, 2019
  1. bpo-27873: Update docstring for multiprocessing.Pool.map (GH-17436)

    miss-islington and aisk committed Dec 3, 2019
    Update docstring for `multiprocessing.Pool.map` to mention `pool.starmap()`.
    
    Prev PR: #17367  @aeros
    
    https://bugs.python.org/issue27873
    (cherry picked from commit eb48a45)
    
    Co-authored-by: An Long <aisk@users.noreply.github.com>
Commits on Dec 2, 2019
  1. bpo-38945: UU Encoding: Don't let newline in filename corrupt the out…

    miss-islington and stealthcopter committed Dec 2, 2019
    …put format (GH-17418)
    
    (cherry picked from commit a62ad47)
    
    Co-authored-by: Matthew Rollings <1211162+stealthcopter@users.noreply.github.com>
  2. bpo-38815: Accept TLSv3 default in min max test (GH-NNNN) (GH-17437)

    miss-islington and torsava committed Dec 2, 2019
    Make ssl tests less strict and also accept TLSv3 as the default maximum
    version. This change unbreaks test_min_max_version on Fedora 32.
    
    https://bugs.python.org/issue38815
    (cherry picked from commit 34864d1)
    
    Co-authored-by: torsava <torsava@redhat.com>
Commits on Dec 1, 2019
  1. bpo-38449: Add URL delimiters test cases (GH-16729)

    miss-islington and corona10 committed Dec 1, 2019
    * bpo-38449: Add tricky test cases
    
    * bpo-38449: Reflect codereview
    (cherry picked from commit 2fe4c48)
    
    Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
  2. document threading.Lock.locked() (GH-17427)

    miss-islington and idomic committed Dec 1, 2019
    (cherry picked from commit fdafa1d)
    
    Co-authored-by: idomic <michael.ido@gmail.com>
Commits on Nov 28, 2019
  1. bpo-38524: clarify example a bit and improve formatting (GH-17406)

    miss-islington and taleinat committed Nov 28, 2019
    (cherry picked from commit 02519f7)
    
    Co-authored-by: Tal Einat <taleinat+github@gmail.com>
  2. bpo-26730: Fix SpooledTemporaryFile data corruption (GH-17400)

    methane committed Nov 28, 2019
    SpooledTemporaryFile.rollback() might cause data corruption
    when it is in text mode.
    
    Co-Authored-By: Serhiy Storchaka <storchaka@gmail.com>.
    (cherry picked from commit ea9835c)
Commits on Nov 27, 2019
  1. bpo-38524: document implicit and explicit calling of descriptors' __s…

    miss-islington and DahlitzFlorian committed Nov 27, 2019
    …et_name__ (GH-17364)
    
    (cherry picked from commit 1bddf89)
    
    Co-authored-by: Florian Dahlitz <f2dahlitz@freenet.de>
  2. [3.7] bpo-38862: IDLE Strip Trailing Whitespace fixes end newlines (G…

    terryjreedy committed Nov 27, 2019
    …H-17366) (#17379)
    
    Extra newlines are removed at the end of non-shell files. If the file only has newlines after stripping other trailing whitespace, all are removed, as is done by patchcheck.py.
    (cherry picked from commit 6bf644e)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Commits on Nov 26, 2019
  1. bpo-21063: Improve module synopsis for distutils (GH-17363) (#17381)

    2 people authored and brettcannon committed Nov 26, 2019
    (cherry picked from commit f8a6316)
    
    Co-authored-by: Sanchit Khurana <54467174+GeniusLearner@users.noreply.github.com>
  2. Remove use of deprecated `array.fromstring` method (GH-17332)

    miss-islington and dcoles committed Nov 26, 2019
    (cherry picked from commit 386d00c)
    
    Co-authored-by: David Coles <coles.david@gmail.com>
Commits on Nov 22, 2019
  1. bpo-38686: fix HTTP Digest handling in request.py (GH-17045)

    miss-islington and PypeBros committed Nov 22, 2019
    * fix HTTP Digest handling in request.py
    
    There is a bug triggered when server replies to a request with `WWW-Authenticate: Digest` where `qop="auth,auth-int"` rather than mere `qop="auth"`. Having both `auth` and `auth-int` is legitimate according to the `qop-options` rule in §3.2.1 of [[https://www.ietf.org/rfc/rfc2617.txt|RFC 2617]]:
    >      qop-options       = "qop" "=" <"> 1GH-qop-value <">
    >      qop-value         = "auth" | "auth-int" | token
    > **qop-options**: [...] If present, it is a quoted string **of one or more** tokens indicating the "quality of protection" values supported by the server.  The value `"auth"` indicates authentication; the value `"auth-int"` indicates authentication with integrity protection
    
    This is description confirmed by the definition of the [//n//]`GH-`[//m//]//rule// extended-BNF pattern defined in §2.1 of [[https://www.ietf.org/rfc/rfc2616.txt|RFC 2616]] as 'a comma-separated list of //rule// with at least //n// and at most //m// items'.
    
    When this reply is parsed by `get_authorization`, request.py only tests for identity with `'auth'`, failing to recognize it as one of the supported modes the server announced, and claims that `"qop 'auth,auth-int' is not supported"`.
    
    * 📜🤖 Added by blurb_it.
    
    * bpo-38686 review fix: remember why.
    
    * fix trailing space in Lib/urllib/request.py
    
    Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com>
    (cherry picked from commit 14a89c4)
    
    Co-authored-by: PypeBros <PypeBros@users.noreply.github.com>
Older
You can’t perform that action at this time.