Skip to content
Permalink
3.9

Commits on Jul 24, 2020

  1. bpo-32528: Document the change in inheritance of asyncio.CancelledErr…

    …or (GH-21474)
    
    GH-msg373510
    
    [bpo-32528]()/GH-13528 changed `asyncio.CancelledError` such that it no longer inherits from `concurrent.futures.CancelledError`. As this affects existing code, specifically when catching the latter instead of the former in exception handling, it should be documented in the "What's new in 3.8?" document.
    
    Automerge-Triggered-By: @1st1
    (cherry picked from commit 2a51818)
    
    Co-authored-by: JustAnotherArchivist <JustAnotherArchivist@users.noreply.github.com>
    miss-islington and JustAnotherArchivist committed Jul 24, 2020

Commits on Jul 23, 2020

  1. bpo-41317: Remove reader on cancellation in asyncio.loop.sock_accept() (

    GH-21595)
    
    (cherry picked from commit 0dd98c2)
    
    Co-authored-by: Alex Grönholm <alex.gronholm@nextday.fi>
    miss-islington and agronholm committed Jul 23, 2020
  2. bpo-41366: Fix clang warning for sign conversion (GH-21592)

    (cherry picked from commit 680254a)
    
    Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
    miss-islington and henryiii committed Jul 23, 2020
  3. bpo-4630: Fix errors in Lib/idlelib/NEWS.txt (GH-21594)

    Also one in news log.
    (cherry picked from commit 592527f)
    
    Co-authored-by: Zackery Spytz <zspytz@gmail.com>
    miss-islington and ZackerySpytz committed Jul 23, 2020

Commits on Jul 22, 2020

  1. bpo-41364: Reduce import overhead of uuid module (GH-21586)

    (cherry picked from commit bf2f76e)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
    miss-islington and zooba committed Jul 22, 2020

Commits on Jul 21, 2020

  1. bpo-40741: Update Windows build to include SQLite 3.32.3 (GH-21570)

    (cherry picked from commit 84761c3)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
    miss-islington and zooba committed Jul 21, 2020

Commits on Jul 20, 2020

  1. Post 3.9.0b5

    ambv committed Jul 20, 2020
  2. Python 3.9.0b5

    ambv committed Jul 20, 2020
  3. Doc: fix import of asdl.py when called from outside Doc/. (GH-21529) (#…

    …21567)
    
    (cherry picked from commit 7f03445)
    
    Co-authored-by: Julien Palard <julien@palard.fr>
    miss-islington and JulienPalard committed Jul 20, 2020
  4. bpo-41336: Fix the error handling in zoneinfo_new_instance() (GH-21546)

    Do not call PyObject_CallMethod() with a live exception (like
    KeyboardInterrupt).
    (cherry picked from commit eca2549)
    
    Co-authored-by: Zackery Spytz <zspytz@gmail.com>
    miss-islington and ZackerySpytz committed Jul 20, 2020
  5. Simple Documentation fix: Missing link to return type class. (GH-21291)

    Just a simple documentation fix: apply_async and map_async return a "multiprocessing.pool.AsyncResult Object", not a "result object".
    (cherry picked from commit f9bf015)
    
    Co-authored-by: Volker-Weissmann <39418860+Volker-Weissmann@users.noreply.github.com>
    miss-islington and Volker-Weissmann committed Jul 20, 2020
  6. bpo-37703: improve asyncio.gather documentation regarding cancellation (

    GH-15312)
    
    These changes updates the doc to comprehensively mention the behaviour of gather.cancel()
    
    Automerge-Triggered-By: @asvetlov
    (cherry picked from commit d42528a)
    
    Co-authored-by: Vinay Sharma <vinay04sharma@icloud.com>
    miss-islington and vinay0410 committed Jul 20, 2020
  7. bpo-40741: Update macOS installer to use SQLite 3.32.3 (GH-20979)

    (cherry picked from commit 7cf1cb3)
    
    Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
    miss-islington and erlend-aasland committed Jul 20, 2020

Commits on Jul 19, 2020

  1. bpo-41205: Document Decimal power 0 to the 0 (GH-21386)

    Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
    (cherry picked from commit 10e4664)
    
    Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్  రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>
    miss-islington and srinivasreddy committed Jul 19, 2020

Commits on Jul 18, 2020

  1. bpo-41295: Reimplement the Carlo Verre "hackcheck" (GH-21528)

    Walk down the MRO backwards to find the type that originally defined the final `tp_setattro`, then make sure we are not jumping over intermediate C-level bases with the Python-level call.
    
    Automerge-Triggered-By: @gvanrossum
    (cherry picked from commit c53b310)
    
    Co-authored-by: scoder <stefan_ml@behnel.de>
    miss-islington and scoder committed Jul 18, 2020
  2. bpo-39603: Prevent header injection in http methods (GH-18485)

    reject control chars in http method in http.client.putrequest to prevent http header injection
    (cherry picked from commit 8ca8a2e)
    
    Co-authored-by: AMIR <31338382+amiremohamadi@users.noreply.github.com>
    miss-islington and amiremohamadi committed Jul 18, 2020
  3. bpo-41325: Add version note for args and kwargs property in call obje…

    …ct (GH-21525)
    
    (cherry picked from commit 9b01c59)
    
    Co-authored-by: Jordan Speicher <uSpike@users.noreply.github.com>
    miss-islington and uSpike committed Jul 18, 2020

Commits on Jul 17, 2020

  1. bpo-41024: doc: Explicitly mention use of 'enum.Enum' as a valid cont…

    …ainer for '… (GH-20964) (GH-21527)
    miss-islington committed Jul 17, 2020
  2. bpo-41304: Update NEWS to include CVE-2020-15801 reference (GH-21521)

    (cherry picked from commit 164b04c)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
    miss-islington and zooba committed Jul 17, 2020

Commits on Jul 16, 2020

  1. bpo-41300: IDLE - save files with non-ascii chars (GH-21512)

    Fix regression released in 3.9.0b4 and 3.8.4.
    (cherry picked from commit 38d3864)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    miss-islington and terryjreedy committed Jul 16, 2020
  2. Fix trivial typo in the PEG string parser (GH-21508)

    (cherry picked from commit 0275e04)
    
    Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
    miss-islington and ericvsmith committed Jul 16, 2020
  3. Fix possibly-unitialized warning in string_parser.c. (GH-21503)

    GCC says
    ```
    ../cpython/Parser/string_parser.c: In function ‘fstring_find_expr’:
    ../cpython/Parser/string_parser.c:404:93: warning: ‘cols’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      404 |     p2->starting_col_offset = p->tok->first_lineno == p->tok->lineno ? t->col_offset + cols : cols;
          |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
    ../cpython/Parser/string_parser.c:384:16: note: ‘cols’ was declared here
      384 |     int lines, cols;
          |                ^~~~
    ../cpython/Parser/string_parser.c:403:45: warning: ‘lines’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      403 |     p2->starting_lineno = t->lineno + lines - 1;
          |                           ~~~~~~~~~~~~~~~~~~^~~
    ../cpython/Parser/string_parser.c:384:9: note: ‘lines’ was declared here
      384 |     int lines, cols;
          |         ^~~~~
    ```
    
    and, indeed, if `PyBytes_AsString` somehow fails, lines & cols will not be initialized.
    (cherry picked from commit 2ad7e9c)
    
    Co-authored-by: Benjamin Peterson <benjamin@python.org>
    miss-islington and benjaminp committed Jul 16, 2020
  4. Remove unnecessary spaces in code blocks in urllib.parse.rst (GH-21500)

    This should also fix the syntax highlighting for these code blocks
    
    Automerge-Triggered-By: @csabella
    (cherry picked from commit 5e5c0f9)
    
    Co-authored-by: Christopher Yeh <chrisyeh96@users.noreply.github.com>
    miss-islington and chrisyeh96 committed Jul 16, 2020

Commits on Jul 15, 2020

  1. bpo-41304: Ensure python3x._pth is loaded on Windows (GH-21495)

    (cherry picked from commit 936a660)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
    miss-islington and zooba committed Jul 15, 2020
  2. bpo-40150: Fix mismatched argument in RegisterWaitForSingleObject() c…

    …all (GH-19686)
    
    (cherry picked from commit af4eda4)
    
    Co-authored-by: Zackery Spytz <zspytz@gmail.com>
    miss-islington and ZackerySpytz committed Jul 15, 2020
  3. Fix -Wstring-prototypes warnings in _zoneinfo.c. (GH-21478)

    (cherry picked from commit 0108b2a)
    
    Co-authored-by: Benjamin Peterson <benjamin@python.org>
    miss-islington and benjaminp committed Jul 15, 2020
  4. Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477)

    (cherry picked from commit ea62a4b)
    
    Co-authored-by: Benjamin Peterson <benjamin@python.org>
    miss-islington and benjaminp committed Jul 15, 2020
  5. bpo-41302: Fix build with system libmpdec (GH-21481)

    Move definition of UNUSED from modified headers of libmpdec to
    _decimal.c itself. This makes the vendored source closer to the
    standalone library and fixes build with --with-system-libmpdec.
    
    Tested to build fine with either system libmpdec or the vendored one.
    (cherry picked from commit 015efdb)
    
    Co-authored-by: Felix Yan <felixonmars@archlinux.org>
    miss-islington and felixonmars committed Jul 15, 2020
  6. [3.9] bpo-39017: Avoid infinite loop in the tarfile module (GH-21454) (

    …GH-21482)
    
    Avoid infinite loop when reading specially crafted TAR files using the tarfile module
    (CVE-2019-20907).
    (cherry picked from commit 5a8d121)
    
    
    Co-authored-by: Rishi <rishi_devan@mail.com>
    
    Automerge-Triggered-By: @encukou
    miss-islington committed Jul 15, 2020

Commits on Jul 14, 2020

  1. Fix repeated words in Classes tutorial (GH-21455)

    The phrase "At any time during execution," was repeated twice.
    
    Automerge-Triggered-By: @Mariatta
    (cherry picked from commit 4f28f75)
    
    Co-authored-by: Paul McMillan <paul@mcmillan.ws>
    miss-islington and PaulMcMillan committed Jul 14, 2020

Commits on Jul 13, 2020

  1. bpo-41288: Fix a crash in unpickling invalid NEWOBJ_EX. (GH-21458)

    Automerge-Triggered-By: @tiran
    (cherry picked from commit 4f309ab)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    miss-islington and serhiy-storchaka committed Jul 13, 2020

Commits on Jul 11, 2020

  1. bpo-41228: Fix /a/are/ in monthcalendar() descripton (GH-21372)

    (cherry picked from commit 344dce3)
    
    Co-authored-by: Nima Dini <nima.dini@gmail.com>
    miss-islington and nimadini committed Jul 11, 2020

Commits on Jul 10, 2020

  1. Fix typo in docs: 'created by th' -> 'created by the' (GH-21384)

    (cherry picked from commit 6fc732a)
    
    Co-authored-by: marload <rladhkstn8@gmail.com>
    miss-islington and marload committed Jul 10, 2020
  2. bpo-41175: Guard against a NULL pointer dereference within bytearrayo…

    …bject (GH-21240)
    
    The issue is triggered by the bytearray() + bytearray() operation.
    
    Detected by GCC 10 static analysis tool.
    (cherry picked from commit 61fc23c)
    
    Co-authored-by: stratakis <cstratak@redhat.com>
    miss-islington and stratakis committed Jul 10, 2020

Commits on Jul 9, 2020

  1. bpo-37765: Add keywords to IDLE tab completions (GH-15138)

    Keywords are present in the main module tab completion lists generated by rlcompleter, which is used by REPLs on *nix. Add all keywords to IDLE's main module name list except those already added from builtins (True, False, and None) . This list may also be used by Show Completions on the Edit menu, and its hot key.
    
    Rewrite Completions doc.
    
    Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
    (cherry picked from commit bce2eb4)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
    miss-islington and terryjreedy committed Jul 9, 2020
Older
You can’t perform that action at this time.