Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Nov 21, 2022

  1. gh-99659: Use correct exceptions in sqlite3 bigmem tests (#99660)

    The tests in question were added in 0eec627 by Serhiy. Apparently,
    sqlite3 changed exceptions raised in those cases in the mean time but
    the tests never ran because they require a high `-M` setting in the
    test runner.
    ambv committed Nov 21, 2022

Commits on Oct 4, 2022

  1. gh-97008: Add a Python implementation of AttributeError and NameError…

    … suggestions (#97022)
    
    Relevant tests moved from test_exceptions to test_traceback to be able to
    compare both implementations.
    
    Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
    ambv and cfbolz committed Oct 4, 2022

Commits on Oct 1, 2022

  1. gh-90908: Document asyncio.Task.cancelling() and asyncio.Task.uncance…

    …l() (#95253)
    
    Co-authored-by: Thomas Grainger <tagrain@gmail.com>
    ambv and graingert committed Oct 1, 2022

Commits on Aug 12, 2022

  1. gh-90300: [docs] Add whatsnew entry for new --help output (GH-95856) (G…

    …H-95928)
    
    Co-authored-by: Éric <merwok@netwok.org>
    ambv and merwok committed Aug 12, 2022

Commits on Aug 4, 2022

  1. gh-91323: Revert "Allow overriding a future compliance check in async…

    …io.Task (GH-32197)" (GH-95442)
    
    This reverts commit d4bb38f.
    ambv committed Aug 4, 2022

Commits on May 3, 2022

  1. gh-89452: Prefer gdbm-compat over ndbm (#92208)

    This makes macOS gdbm provided by Homebrew not segfault through correct
    selection of the linked library (-lgdbm_compat) *AND* the correct ndbm-style
    header (gdbm-ndbm.h instead of the invalid ndbm.h).
    ambv committed May 3, 2022

Commits on Apr 10, 2022

Commits on Oct 20, 2021

  1. bpo-45464: [doc] Explain that subclassing multiple exceptions is frag…

    …ile (GH-29094)
    
    Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
    ambv and pablogsal committed Oct 20, 2021

Commits on Sep 29, 2021

  1. [typo] Fix threading.Barrier comment that used confusing punctuation (G…

    …H-28623)
    
    Removed extra comma in comment that indicates state of a `Barrier` as it was confusing and breaking the flow while reading.
    
    Co-authored-by: Priyank <5903604+cpriyank@users.noreply.github.com>
    ambv and cpriyank committed Sep 29, 2021

Commits on Sep 10, 2021

Commits on Aug 30, 2021

  1. bpo-45007: Update multissl to openssl 1.1.1l as well (GH-28044)

    This was missed while upgrading CI.
    ambv committed Aug 30, 2021

Commits on Aug 18, 2021

  1. bpo-44852: Support filtering over warnings without a set message (GH-…

    …27793)
    
    Additional improvements:
    
    - messages which were compiled regular expressions aren't unpacked back into
      strings for unmatched warnings;
    
    - removed unnecessary "if tokens:" check (there's one before the for loop);
    
    - took `endswith` calculation out of the for loop.
    ambv committed Aug 18, 2021

Commits on Aug 16, 2021

Commits on Aug 13, 2021

  1. bpo-26228: [doc] Adapt PTY documentation updates from GH-4167 (GH-27754)

    Co-authored-by: Cornelius Diekmann <c.diekmann@googlemail.com>
    ambv and diekmann committed Aug 13, 2021

Commits on Aug 6, 2021

  1. bpo-44756: [docs] revert automated virtual environment creation on `m…

    …ake html` (GH-27635)
    
    It turned out to be disruptive for downstream distributors.
    ambv committed Aug 6, 2021

Commits on Jul 22, 2021

  1. bpo-44708: Only re-run test methods that match names of previously fa…

    …iling test methods (GH-27287)
    
    * Move to a static argparse.Namespace subclass
    * Roughly annotate runtest.py
    * Refactor libregrtest to use lossless test result objects
    * Only re-run test methods that match names of previously failing test methods
    * Adopt tests to cover test method name matching
    
    Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
    ambv and pablogsal committed Jul 22, 2021

Commits on Jul 15, 2021

  1. bpo-44647: Fix test_httpservers failing on Unicode characters in os.e…

    …nviron on Windows (GH-27161)
    
    GH-23638 introduced a new test for Accept: headers in CGI HTTP servers. This test serializes all of os.environ on the server side. For non-UTF8 locales this can fail for some Unicode characters found in environment variables. This change fixes the HTTP_ACCEPT test.
    ambv committed Jul 15, 2021
  2. bpo-42073: allow classmethod to wrap other classmethod-like descripto…

    …rs (#27115)
    
    Patch by Erik Welch.
    
    bpo-19072 (#8405) allows `classmethod` to wrap other descriptors, but this does
    not work when the wrapped descriptor mimics classmethod.  The current PR fixes
    this.
    
    In Python 3.8 and before, one could create a callable descriptor such that this
    works as expected (see Lib/test/test_decorators.py for examples):
    ```python
    class A:
        @myclassmethod
        def f1(cls):
            return cls
    
        @classmethod
        @myclassmethod
        def f2(cls):
            return cls
    ```
    In Python 3.8 and before, `A.f2()` return `A`. Currently in Python 3.9, it
    returns `type(A)`.  This PR make `A.f2()` return `A` again.
    
    As of #8405, classmethod calls `obj.__get__(type)` if `obj` has `__get__`.
    This allows one to chain `@classmethod` and `@property` together.  When
    using classmethod-like descriptors, it's the second argument to `__get__`--the
    owner or the type--that is important, but this argument is currently missing.
    Since it is None, the "owner" argument is assumed to be the type of the first
    argument, which, in this case, is wrong (we want `A`, not `type(A)`).
    
    This PR updates classmethod to call `obj.__get__(type, type)` if `obj` has
    `__get__`.
    
    Co-authored-by: Erik Welch <erik.n.welch@gmail.com>
    ambv and eriknw committed Jul 15, 2021

Commits on Mar 31, 2021

  1. Document GH-24624

    ambv committed Mar 31, 2021

Commits on May 19, 2020

Commits on Apr 28, 2020

  1. Post 3.9.0a6

    ambv committed Apr 28, 2020
Older