Skip to content
Permalink
master

Commits on Aug 17, 2020

  1. bpo-41568: Fix refleaks in zoneinfo subclasses (GH-21907)

    * Fix refleak in C module __init_subclass__
    
    This was leaking a reference to the weak cache dictionary for every
    ZoneInfo subclass created.
    
    * Fix refleak in ZoneInfo subclass's clear_cache
    
    The previous version of the code accidentally cleared the global
    ZONEINFO_STRONG_CACHE variable (and inducing `ZoneInfo` to create a new
    strong cache) on calls to a subclass's `clear_cache()`. This would not
    affect guaranteed behavior, but it's still not the right thing to do
    (and it caused reference leaks).
    pganssle committed Aug 17, 2020
  2. bpo-1635741: Explict GC collect after PyInterpreterState_Clear() (GH-…

    …21902)
    
    Fix a reference cycle by triggering an explicit GC collection
    after calling PyInterpreterState_Clear().
    shihai1991 committed Aug 17, 2020
  3. bpo-40782: Change asyncio.AbstractEventLoop.run_in_executor to be a m…

    …ethod not a coroutine (GH-21852)
    
    asyncio.AbstractEventLoop.run_in_executor should be a method that returns an asyncio Future, not an async method.
    This matches the concrete implementations, and the documentation better.
    jamesba committed Aug 17, 2020
  4. Fix typo in message from assert statement (GH-21283)

    The error message was missing space between the action "acquire" and "_wait_semaphore" which is an attribute for instances of Condition.
    aboddie committed Aug 17, 2020
  5. bpo-40204: Fix duplicated productionlist names in the doc (GH-21900)

    Sphinx 3 disallows having more than one productionlist markup with
    the same name. Simply remove names in this case, since names are not
    shown anyway. For example, fix the Sphinx 3 warning:
    
    Doc/reference/introduction.rst:96: duplicate token description
    of *:name, other instance in reference/expressions
    vstinner committed Aug 17, 2020
  6. bpo-41521: Rename blacklist parameter to not_exported (GH-21824)

    Rename "blacklist" parameter of test.support.check__all__() to
    "not_exported".
    vstinner committed Aug 17, 2020

Commits on Aug 16, 2020

  1. Update the comment of termios.c (#21886)

    8vasu committed Aug 16, 2020
  2. bpo-41503: Fix race between setTarget and flush in logging.handlers.M…

    …emoryHandler (GH-21765)
    iritkatriel committed Aug 16, 2020
  3. bpo-41513: Improve speed and accuracy of math.hypot() (GH-21803)

    rhettinger committed Aug 16, 2020

Commits on Aug 15, 2020

  1. bpo-41540: AIX: skip test that is flaky with a default ulimit. (#21890)

    - AIX has extreme over-allocation that is in no relation to the physical
        RAM and swap.
    skrah committed Aug 15, 2020
  2. bpo-31122: ssl.wrap_socket() now raises ssl.SSLEOFError rather than O…

    …SError when peer closes connection during TLS negotiation (GH-18772)
    
    [bpo-31122](): ssl.wrap_socket() now raises ssl.SSLEOFError rather than OSError when peer closes connection during TLS negotiation
    
    Reproducer: http://tiny.cc/f4ztnz (tiny url because some bot keeps renaming b.p.o.-nnn as bpo links)
    dimaqq committed Aug 15, 2020
  3. bpo-40878: xlc cannot handle C99 extern inline. (GH-21887)

    This applies to the default "extc99" mode.  Python does not compile with "stdc99".
    skrah committed Aug 15, 2020

Commits on Aug 14, 2020

  1. Fix typo in typing doc (GH-21879)

    Automerge-Triggered-By: @gvanrossum
    iritkatriel committed Aug 14, 2020
  2. bpo-40204: Fix reference to terms in the doc (GH-21865)

    Sphinx 3 requires to refer to terms with the exact case.
    
    For example, fix the Sphinx 3 warning:
    
    Doc/library/pkgutil.rst:71: WARNING: term Loader not found in case
    sensitive match.made a reference to loader instead.
    vstinner committed Aug 14, 2020
    2
  3. bpo-41025: Fix subclassing for zoneinfo.ZoneInfo (GH-20965)

    Prior to this change, attempting to subclass the C implementation of
    zoneinfo.ZoneInfo gave the following error:
    
        TypeError: unbound method ZoneInfo.__init_subclass__() needs an argument
    
    https://bugs.python.org/issue41025
    pganssle committed Aug 14, 2020
  4. bpo-41410: Fix outdated info in mkstemp docs (GH-21701)

    Automerge-Triggered-By: @ericvsmith
    xrisk committed Aug 14, 2020

Commits on Aug 13, 2020

  1. bpo-41526: Fixed layout of final page of the installer (GH-21871)

    zooba committed Aug 13, 2020
  2. bpo-40204, doc: Fix syntax of C variables (GH-21846)

    For example, fix the following Sphinx 3 errors:
    
    Doc/c-api/buffer.rst:102: WARNING: Error in declarator or parameters
    Invalid C declaration: Expected identifier in nested name. [error at 5]
      void \*obj
      -----^
    
    Doc/c-api/arg.rst:130: WARNING: Unparseable C cross-reference: 'PyObject*'
    Invalid C declaration: Expected end of definition. [error at 8]
      PyObject*
      --------^
    
    The modified documentation is compatible with Sphinx 2 and Sphinx 3.
    vstinner committed Aug 13, 2020
  3. bpo-40204: Add :noindex: in the documentation (GH-21859)

    Add :noindex: to duplicated documentation to fix "duplicate object
    description" errors.
    
    For example, fix this Sphinx 3 issue:
    
    Doc/library/configparser.rst:1146: WARNING: duplicate object
    description of configparser.ConfigParser.optionxform, other instance
    in library/configparser, use :noindex: for one of them
    vstinner committed Aug 13, 2020
  4. bpo-41521: Replace denylist with blocklist is http.cookiejar doc (GH-…

    …21826)
    
    The http.cookiejar module has is_blocked() and blocked_domains()
    methods, so "blocklist" term sounds better than "denylist" in this
    module.
    
    Replace also denylisted with denied in test___all__.
    vstinner committed Aug 13, 2020
  5. bpo-41520: Fix second codeop regression (GH-21848)

    * bpo-41520: Fix second codeop repression
    
    Fix the repression introduced by the initial regression fix.
    terryjreedy committed Aug 13, 2020
  6. bpo-40204: Fix duplicates in the documentation (GH-21857)

    Fix two Sphinx 3 issues:
    
    Doc/c-api/buffer.rst:304: WARNING: Duplicate C declaration, also defined in 'c-api/buffer'.
    Declaration is 'PyBUF_ND'.
    
    Doc/c-api/unicode.rst:1603: WARNING: Duplicate C declaration, also defined in 'c-api/unicode'.
    Declaration is 'PyObject* PyUnicode_Translate(PyObject *str, PyObject *table, const char *errors)'.
    vstinner committed Aug 13, 2020
  7. bpo-40204: Fix Sphinx sytanx in howto/instrumentation.rst (GH-21858)

    Use generic '.. object::' to declare markers, rather than abusing
    '..  c:function::' which fails on Sphinx 3.
    vstinner committed Aug 13, 2020
  8. bpo-1635741: Port _winapi ext to multi-stage init (GH-21371)

    koubaa committed Aug 13, 2020
  9. bpo-41531: Fix compilation of dict literals with more than 0xFFFF ele…

    …ments (GH-21850)
    pablogsal committed Aug 13, 2020

Commits on Aug 12, 2020

  1. bpo-1635741: Clean sysdict and builtins of interpreter at exit (GH-21605

    )
    shihai1991 committed Aug 12, 2020
  2. bpo-40204: Allow pre-Sphinx 3 syntax in the doc (GH-21844)

    Enable Sphinx 3.2 "c_allow_pre_v3" option and disable the
    c_warn_on_allowed_pre_v3 option to make the documentation compatible
    with Sphinx 2 and Sphinx 3.
    vstinner committed Aug 12, 2020
  3. Catch all skip_handler cases (GH-21842)

    skrah committed Aug 12, 2020
  4. bpo-41520: codeop no longer ignores SyntaxWarning (GH-21838)

    vstinner committed Aug 12, 2020

Commits on Aug 11, 2020

  1. Fix typo (GH-21820)

    chrisyeh96 committed Aug 11, 2020
  2. Call randseed() before other imports in deccheck.py (GH-21834)

    skrah committed Aug 11, 2020
  3. bpo-41475: Fix note in "What's new in 3.7" (#21733)

    cool-RR committed Aug 11, 2020
Older
You can’t perform that action at this time.