Skip to content
Permalink
Branch: 3.7
Commits on Jan 19, 2020
  1. bpo-38400 Don't check for NULL linked list pointers in _PyObject_IsFr…

    miss-islington and pablogsal committed Jan 19, 2020
    …eed (GH-16630)
    
    Some objects like Py_None are not initialized with conventional means
    that prepare the circular linked list pointers, leaving them unlinked
    from the rest of the objects. For those objects, NULL pointers does
    not mean that they are freed, so we need to skip the check in those
    cases.
    (cherry picked from commit 36e33c3)
    
    Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
  2. bpo-35561: Supress valgrind false alarm on epoll_ctl(event) (GH-18060)

    miss-islington and ZackerySpytz committed Jan 19, 2020
    Update Misc/valgrind-python.supp to suppress the false alarm.
    (cherry picked from commit d8ef644)
    
    Co-authored-by: Zackery Spytz <zspytz@gmail.com>
  3. Fix typo from base to based (GH-18055)

    miss-islington and micha2718l committed Jan 19, 2020
    (cherry picked from commit 558f078)
    
    Co-authored-by: Michael Haas <micha2718l@gmail.com>
Commits on Jan 17, 2020
  1. Fix Lock.locked() to remove extra bold highlighting (GH-18042) (#18044)

    2 people authored and warsaw committed Jan 17, 2020
    (cherry picked from commit ef8844f)
    
    Co-authored-by: Grant Jenks <grant.jenks@gmail.com>
    
    Co-authored-by: Grant Jenks <grant.jenks@gmail.com>
Commits on Jan 16, 2020
  1. bpo-39348: Fix code highlight for the SOCK_NONBLOCK example (GH-18018)

    miss-islington and oz123 committed Jan 16, 2020
    The previous double colon was wrongly place directly after Therefore.
    Which produced a block without syntax highlighting. This fixes it
    by separating the double colon from the text. As a result, sphinx now
    properly highlights the python code.
    
    https://bugs.python.org/issue39348
    (cherry picked from commit fad8b56)
    
    Co-authored-by: Oz N Tiram <oz.tiram@noris.de>
Commits on Jan 15, 2020
  1. [3.7] Fix typo in multiprocessing.pool.AsyncResult.successful doc. (G…

    miss-islington committed Jan 15, 2020
    …H-17932) (GH-18016)
    
    Since 3.7 `successful` raises a `ValueError` as explained in the next text block from the documentation:
    
    _Changed in version 3.7: If the result is not ready, ValueError is raised instead of AssertionError._
    
    No issue associated with this PR.
    Should be backported in 3.7 and 3.8.
    (cherry picked from commit dc0284e)
    
    
    Co-authored-by: Antoine <43954001+awecx@users.noreply.github.com>
    
    Automerge-Triggered-By: @pitrou
Commits on Jan 14, 2020
  1. Fix documentation in code.py (GH-17988)

    miss-islington and kylepollina committed Jan 14, 2020
    (cherry picked from commit b4cdb3f)
    
    Co-authored-by: Kyle Pollina <kylepollina@protonmail.com>
Commits on Jan 13, 2020
  1. bpo-39310: Update sys.float_info documentation (GH-17982)

    miss-islington and vstinner committed Jan 13, 2020
    Specify that sys.float_info.min is only the minimum normalized float.
    (cherry picked from commit 9362f85)
    
    Co-authored-by: Victor Stinner <vstinner@python.org>
Commits on Jan 12, 2020
  1. [3.7] bpo-16575: Disabled checks for union types being passed by valu…

    vsajip committed Jan 12, 2020
    …e. (GH-17960) (GH-17970)
    
    Although the underlying libffi issue remains open, adding these
    checks have caused problems in third-party projects which are in
    widespread use. See the issue for examples.
    
    The corresponding tests have also been skipped.
    (cherry picked from commit c12440c)
  2. bpo-3530: Add advice on when to correctly use fix_missing_locations i…

    miss-islington and isidentical committed Jan 12, 2020
    …n the AST docs (GH-17172)
    
    Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
    (cherry picked from commit 6680f4a)
    
    Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com>
  3. bpo-38293: Allow shallow and deep copying of property objects (GH-16438)

    miss-islington and GudniNatan committed Jan 12, 2020
    Copying property objects results in a TypeError. Steps to reproduce:
    
    ```
    >>> import copy
    >>> obj = property()
    >>> copy.copy(obj)
    ````
    
    This affects both shallow and deep copying.
    My idea for a fix is to add property objects to the list of "atomic" objects in the copy module.
    These already include types like functions and type objects.
    
    I also added property objects to the unit tests test_copy_atomic and test_deepcopy_atomic. This is my first PR, and it's highly likely I've made some mistake, so please be kind :)
    
    https://bugs.python.org/issue38293
    (cherry picked from commit 9f3fc6c)
    
    Co-authored-by: Guðni Natan Gunnarsson <1493259+GudniNatan@users.noreply.github.com>
Commits on Jan 10, 2020
  1. [3.7] Add test cases for dataclasses. (GH-17909) (GH-17920)

    miss-islington committed Jan 10, 2020
    * Add test cases for dataclasses.
    
    * Add test for repr output of field.
    * Add test for ValueError to be raised when both default and default_factory are passed.
    (cherry picked from commit eef1b02)
    
    
    Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
    
    Automerge-Triggered-By: @ericvsmith
Commits on Jan 8, 2020
  1. bpo-39242: Updated the Gmane domain into news.gmane.io (GH-17903)

    miss-islington and corona10 committed Jan 8, 2020
    (cherry picked from commit 2e6a8ef)
    
    Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
Commits on Jan 7, 2020
  1. bpo-38871: Fix lib2to3 for filter-based statements that contain lambda (

    miss-islington and corona10 committed Jan 7, 2020
    GH-17780)
    
    Correctly parenthesize filter-based statements that contain lambda
    expressions in lib2to3.
    (cherry picked from commit b821173)
    
    Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
  2. bpo-39198: Ensure logging global lock is released on exception in isE…

    miss-islington authored and vsajip committed Jan 7, 2020
    …nabledFor (GH-17689) (GH-17898)
    
    (cherry picked from commit 950c679)
  3. bpo-38623: Doc: Add section for site module CLI. (GH-17858)

    miss-islington and methane committed Jan 7, 2020
    (cherry picked from commit ca94677)
    
    Co-authored-by: Inada Naoki <songofacandy@gmail.com>
  4. Doc: Change Python 2 status to EOL. (GH-17885)

    miss-islington and methane committed Jan 7, 2020
    (cherry picked from commit f4800b8)
    
    Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Commits on Jan 6, 2020
  1. bpo-39041: Fix coverage upload command for GitHub Actions (GH-17873)

    miss-islington and zooba committed Jan 6, 2020
    https://bugs.python.org/issue39041
    
    Automerge-Triggered-By: @zooba
    (cherry picked from commit b1ce22d)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
  2. bpo-39041: Add GitHub Actions support (GH-17594)

    miss-islington and zooba committed Jan 6, 2020
    (cherry picked from commit a76ba36)
    
    Co-authored-by: Steve Dower <steve.dower@python.org>
  3. Minor formatting improvements and fixes to idle.rst (GH-17165)

    miss-islington and taleinat committed Jan 6, 2020
    (cherry picked from commit d6c08db)
    
    Co-authored-by: Tal Einat <taleinat+github@gmail.com>
Commits on Jan 5, 2020
  1. Fix the parameter list of object. _rpow_ (GH-GH-16477)

    miss-islington and hongweipeng committed Jan 5, 2020
    (cherry picked from commit abc0c4f)
    
    Co-authored-by: HongWeipeng <961365124@qq.com>
  2. Replace links in howto/pyporting.rst with sphinx references (GH-17781)

    miss-islington and hoefling committed Jan 5, 2020
    Signed-off-by: Oleg Höfling <oleg.hoefling@gmail.com>
    (cherry picked from commit e6ae90d)
    
    Co-authored-by: Oleg Höfling <hoefling@users.noreply.github.com>
  3. bpo-39152: add missing ttk.Scale.configure return value (GH-17815)

    miss-islington and terryjreedy committed Jan 5, 2020
    tkinter.ttk.Scale().configure([name]) now returns a configuration tuple for name
    or a list thereof for all options. Based on patch Giovanni Lombardo.
    (cherry picked from commit 5ea7bb2)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
  4. bpo-39056: Fix handling invalid warning category in the -W option. (G…

    miss-islington and serhiy-storchaka committed Jan 5, 2020
    …H-17618)
    
    No longer import the re module if it is not needed.
    (cherry picked from commit 41ec17e)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
  5. bpo-39055: Reject a trailing \n in base64.b64decode() with validate=T…

    miss-islington and serhiy-storchaka committed Jan 5, 2020
    …rue. (GH-17616)
    
    (cherry picked from commit b19c0d7)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
  6. bpo-39057: Fix urllib.request.proxy_bypass_environment(). (GH-17619)

    miss-islington and serhiy-storchaka committed Jan 5, 2020
    Ignore leading dots and no longer ignore a trailing newline.
    (cherry picked from commit 6a265f0)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Commits on Jan 4, 2020
  1. [3.7] bpo-39191: Don't spawn a task before failing (GH-17796) (#17821)

    asvetlov committed Jan 4, 2020
    (cherry picked from commit 3a5de51)
    
    Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Commits on Jan 3, 2020
  1. Update copyright year in macOS installer license copy (GH-17806)

    miss-islington and ned-deily committed Jan 3, 2020
    (cherry picked from commit 32f1443)
    
    Co-authored-by: Ned Deily <nad@python.org>
  2. [3.7] Bring Python into the next decade. (GH-17801). (GH-17803)

    benjaminp authored and ned-deily committed Jan 3, 2020
    (cherry picked from commit 946b29e)
    
    Co-authored-by: Benjamin Peterson <benjamin@python.org>
Commits on Jan 1, 2020
  1. bpo-39183: Fix formatting in library/ensurepip (GH-17787)

    miss-islington and rffontenelle committed Jan 1, 2020
    Remove extra space to fix formatting and avoid from splitting text in to strings.
    
    https://bugs.python.org/issue39183
    (cherry picked from commit 149175c)
    
    Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
  2. bpo-39142: Avoid converting namedtuple instances to ConvertingTuple. (G…

    miss-islington authored and vsajip committed Jan 1, 2020
    …H-17773) (GH-17786)
    
    (cherry picked from commit 46abfc1)
Commits on Dec 31, 2019
  1. Fix idlelib README typo. (GH-17770)

    miss-islington and terryjreedy committed Dec 31, 2019
    (cherry picked from commit ba82ee8)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
  2. [3.7] bpo-38588: Fix possible crashes in dict and list when calling P… (

    2 people authored and pablogsal committed Dec 31, 2019
    GH-17765)
    
    * [3.7] bpo-38588: Fix possible crashes in dict and list when calling PyObject_RichCompareBool (GH-17734)
    
    Take strong references before calling PyObject_RichCompareBool to protect against the case
    where the object dies during the call..
    (cherry picked from commit 2d5bf56)
    
    Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
    
    * methane's suggestion
    
    methane's suggestion
    
    Co-Authored-By: Inada Naoki <songofacandy@gmail.com>
    
    Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Commits on Dec 30, 2019
  1. bpo-34118: memoryview, range, and tuple are classes (GH-17761)

    miss-islington and terryjreedy committed Dec 30, 2019
    Tag memoryview, range, and tuple as classes, the same as list, etcetera, in
    the library manual built-in functions list.
    (cherry picked from commit ee9ff05)
    
    Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
  2. [3.7] bpo-38610: Fix possible crashes in several list methods (GH-17022

    pablogsal and ZackerySpytz committed Dec 30, 2019
    …) (GH-17759)
    
    Hold strong references to list elements while calling PyObject_RichCompareBool()..
    (cherry picked from commit d9e561d)
    
    Co-authored-by: Zackery Spytz <zspytz@gmail.com>
    
    Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Older
You can’t perform that action at this time.