Skip to content
Permalink
master

Commits on Jan 2, 2021

  1. bpo-42772: Step argument ignored when stop is None. (GH-24018)

    rhettinger committed Jan 2, 2021
  2. bpo-42789: Don't skip curses tests on non-tty. (GH-24009)

    If __stdout__ is not attached to terminal, try to use __stderr__
    if it is attached to terminal, or open the terminal device, or
    use regular file as terminal, but some functions will be untested
    in the latter case.
    serhiy-storchaka committed Jan 2, 2021
  3. bpo-40077: Convert arraymodule to use heap types and establish module…

    … state (GH-23124)
    erlend-aasland committed Jan 2, 2021
  4. bpo-42195: Disallow isinstance/issubclass for subclasses of generical…

    …iases in Union (GH-24059)
    
    Previously this didn't raise an error. Now it will:
    ```python
    from collections.abc import Callable
    isinstance(int, list | Callable[..., str])
    ```
    Also added tests in Union since there were previously none for stuff like ``isinstance(list, list | list[int])`` either.
    
    Backport to 3.9 not required.
    
    Automerge-Triggered-By: GH:gvanrossum
    Fidget-Spinner committed Jan 2, 2021
  5. bpo-41559: Documentation for PEP 612 (GH-24000)

    Fidget-Spinner committed Jan 2, 2021

Commits on Jan 1, 2021

  1. bpo-42756: Configure LMTP Unix-domain socket to use global default ti…

    …meout when timeout not provided (GH-23969)
    rrhodes committed Jan 1, 2021
  2. Bring Python into the new year. (GH-24036)

    corona10 committed Jan 1, 2021
  3. bpo-42781: Document the mechanics of cached_property from a user view…

    …point (GH-24031)
    rhettinger committed Jan 1, 2021

Commits on Dec 31, 2020

  1. bpo-37193: Remove thread objects which finished process its request (G…

    …H-23127)
    
    This reverts commit aca67da.
    jaraco committed Dec 31, 2020
  2. Fixes a typo in importlib.metadata. (#23921)

    Signed-off-by: Tao He <sighingnow@gmail.com>
    sighingnow committed Dec 31, 2020
  3. bpo-42163, bpo-42189, bpo-42659: Support uname_tuple._replace (for al…

    …l but processor) (#23010)
    
    * Add test capturing missed expectation with uname_result._replace.
    
    * bpo-42163: Override uname_result._make to allow uname_result._replace to work (for everything but 'processor'.
    
    * Replace hard-coded length with one derived from the definition.
    
    * Add test capturing missed expectation with copy/deepcopy on namedtuple (bpo-42189).
    
    * bpo-42189: Exclude processor parameter when constructing uname_result.
    
    * In _make, rely on __new__ to strip processor.
    
    * Add blurb.
    
    * iter is not necessary here.
    
    * Rely on num_fields in __new__
    
    * Add test for slices on uname
    
    * Add test for copy and pickle.
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    
    * import pickle
    
    * Fix equality test after pickling.
    
    * Simply rely on __reduce__ for pickling.
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    jaraco and serhiy-storchaka committed Dec 31, 2020
  4. bpo-42382: In importlib.metadata, `EntryPoint` objects now expose `di…

    …st` (#23758)
    
    * bpo-42382: In importlib.metadata, `EntryPoint` objects now expose a `.dist` object referencing the `Distribution` when constructed from a `Distribution`.
    
    Also, sync importlib_metadata 3.3:
    
    - Add support for package discovery under package normalization rules.
    - The object returned by `metadata()` now has a formally-defined protocol called `PackageMetadata` with declared support for the `.get_all()` method.
    
    * Add blurb
    
    * Remove latent footnote.
    jaraco committed Dec 31, 2020
  5. bpo-42393: Raise OverflowError iso. DeprecationWarning on overflow in…

    … socket.ntohs and socket.htons (GH-23980)
    erlend-aasland committed Dec 31, 2020
  6. bpo-39068: Fix race condition in base64 (GH-17627)

    There was a race condition in base64 in lazy initialization of multiple globals.
    drmonkeysee committed Dec 31, 2020

Commits on Dec 30, 2020

  1. Minor improvements to the convolve() recipe (GH-24012)

    * Minor improvement to speed and space efficiency for the convolve() recipe
    * Don't require convolve's kernel to be a sequence.
    rhettinger committed Dec 30, 2020
  2. bpo-42773: fix tests not being run on pushes (GH-24004)

    There was a typo, we were checking if the "GITHUB_BASE_REF" string
    literal was empty instead of the $GITHUB_BASE_REF value. When
    $GITHUB_BASE_REF is empty, the action that triggered the run was not a
    pull request, so we always run the full test suite.
    
    Signed-off-by: Filipe Laíns <lains@riseup.net>
    FFY00 committed Dec 30, 2020
  3. bpo-27640: Add --disable-test-modules configure option (GH-23886)

    Added --disable-test-modules option to the configure script:
    don't build nor install test modules.
    
    Patch by Xavier de Gaye, Thomas Petazzoni and Peixing Xin.
    
    Co-Authored-By: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Co-Authored-By: Xavier de Gaye <xdegaye@gmail.com>
    3 people committed Dec 30, 2020
  4. bpo-27794: Add `name` attribute to `property` class (GH-23967)

    uriyyo committed Dec 30, 2020
  5. bpo-40137: Fix refleak in _functools_exec() (GH-24006)

    vstinner committed Dec 30, 2020

Commits on Dec 29, 2020

  1. bpo-40052: Fix alignment issue in PyVectorcall_Function() (GH-23999)

    ```
    In file included from /usr/include/python3.8/Python.h:147:
    In file included from /usr/include/python3.8/abstract.h:837:
    /usr/include/python3.8/cpython/abstract.h:91:11: error: cast from 'char *' to 'vectorcallfunc *'
    (aka 'struct _object *(**)(struct _object *, struct _object *const *, unsigned long, struct _object *)')
    increases required alignment from 1 to 8 [-Werror,-Wcast-align]
    
        ptr = (vectorcallfunc*)(((char *)callable) + offset);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    ```
    Co-Authored-By: Andreas Schneider <asn@cryptomilk.org>
    Co-Authored-By: Antoine Pitrou <antoine@python.org>
    encukou committed Dec 29, 2020
  2. bpo-42655: Fix subprocess extra_groups gid conversion (GH-23762)

    kulikjak committed Dec 29, 2020
  3. bpo-42700: Swap descriptions in pyexpat.errors (GH-23876)

    The descriptions of the `codes` and `messages` dictionaries in
    `xml.parsers.expat.errors` were swapped, and this commit swaps them
    back. For example, `codes` maps string descriptions of errors to numeric
    error codes, not the other way around.
    goodmami committed Dec 29, 2020
  4. Fix minor typo in comments in readline.c (GH-23911)

    jerobado committed Dec 29, 2020
  5. Allow / character in username,password fields in _PROXY envvars. (#23973

    )
    orsenthil committed Dec 29, 2020
  6. bpo-41781: Fix typo in internal function name in typing (GH-23957)

    rrhodes committed Dec 29, 2020
  7. Fix typo in NEWS (GH23958)

    ZackerySpytz committed Dec 29, 2020
  8. bpo-42759: Fix equality comparison of Variable and Font in Tkinter (G…

    …H-23968)
    
    Objects which belong to different Tcl interpreters are now always
    different, even if they have the same name.
    serhiy-storchaka committed Dec 29, 2020
  9. bpo-42749: Use dynamic version to test for unsupported bignum in Tk (G…

    …H-23966)
    
    Tk can internally support bignum even if Tkinter is built without
    support of bignum.
    serhiy-storchaka committed Dec 29, 2020
  10. bpo-42770: Fix a typo in the email.headerregistry docs (GH-23982)

    Automerge-Triggered-By: GH:zware
    ZackerySpytz committed Dec 29, 2020
Older
You can’t perform that action at this time.