Skip to content
Permalink
main
Switch branches/tags

Commits on May 24, 2022

  1. gh-93033: Use wmemchr in stringlib (GH-93034)

    Generally comparable perf for the "good" case where memchr doesn't
    return any collisions (false matches on lower byte) but clearly faster
    with collisions.
    goldsteinn committed May 24, 2022

Commits on May 23, 2022

  1. Doc: No need to use rst syntax in code comments. (GH-93102)

    And it raises `make suspicious` false positives.
    JulienPalard committed May 23, 2022
  2. gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-9…

    …3066)
    
    Also while there, clarify a few things about why we reduce the hash to 32 bits.
    
    Co-authored-by: Eli Libman <eli@hyro.ai>
    Co-authored-by: Yury Selivanov <yury@edgedb.com>
    Co-authored-by: Łukasz Langa <lukasz@langa.pl>
    3 people committed May 23, 2022
  3. gh-93118: [Enum] fix error message (GH-93138)

    Include member names in error message.
    ethanfurman committed May 23, 2022
  4. gh-83245: Raise BadZipFile instead of ValueError when reading a corru…

    …pt ZIP file (GH-32291)
    
    Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
    dignissimus and serhiy-storchaka committed May 23, 2022
  5. gh-93010: InvalidHeaderError used but nonexistent (#93015)

    * fix issue 93010
    
    Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
    oda-gitso and blurb-it[bot] committed May 23, 2022
  6. gh-93103: Update PyUnicode_DecodeFSDefault() doc (#93105)

    Update documentation of PyUnicode_DecodeFSDefault(),
    PyUnicode_DecodeFSDefaultAndSize() and PyUnicode_EncodeFSDefault():
    they now use the filesystem encoding and error handler of PyConfig,
    Py_FileSystemDefaultEncoding and Py_FileSystemDefaultEncodeErrors
    variables are no longer used.
    vstinner committed May 23, 2022
  7. gh-93103: Deprecate global configuration variable (#93104)

    Deprecate global configuration variables, like
    Py_IgnoreEnvironmentFlag, in the documentation: the
    Py_InitializeFromConfig() API should be instead.
    vstinner committed May 23, 2022
  8. gh-90473: WASI: skip gethostname tests (GH-93092)

    - WASI's ``gethostname()`` is a stub that always fails with OSError
      ``ENOTSUP``
    - skip mailcap ``test`` if subprocess is not available
    - WASI process_time clock does not work.
    tiran committed May 23, 2022
  9. gh-89158: Add some REPL secondary prompt markers (#93073)

    This fixes an issue on tutorial/classes.rst section 9.4 where the example "class Warehouse"
    was truncated when pressing the >>> button to hide the prompts and output.
    Gaasmann committed May 23, 2022
  10. gh-91061: also accept pathlib.Path for winsound.PlaySound (#91489)

    Fixes #91061
    
    Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
    moribellamy and JelleZijlstra committed May 23, 2022
  11. binascii docs: strict_mode parameter is keyword-only (#93055)

    See 35b98e3
    
    Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
    JelleZijlstra and AA-Turner committed May 23, 2022

Commits on May 22, 2022

Commits on May 21, 2022

  1. Clean up the sqlite3 tests (GH-93056)

    Remove helper managed_connect(). Use memory_database() or
    contextlib.closing() + addCleanup(unlink) instead.
    serhiy-storchaka committed May 21, 2022
  2. Improve tests for opening Sqlite by URI (GH-93047)

    * Test with with escaped non-ascii characters
    * Test read-only open of existing DB.
    serhiy-storchaka committed May 21, 2022
  3. gh-93044: No longer convert the database argument of sqlite3.connect(…

    …) to bytes (GH-93046)
    
    Just pass it to the factory as is.
    serhiy-storchaka committed May 21, 2022
  4. gh-71223: Improve rendering of some references in the docs (GH-93041)

    For example, instead of "eval()uated" (link from "eval()")
    show "evaluated" (link from the whole word).
    serhiy-storchaka committed May 21, 2022

Commits on May 20, 2022

  1. gh-92611: Clarify planned removal version in PEP 594-deprecated modul…

    …es (GH-92793)
    
    As discussed in #92611 and #92564 and as a followup to PR #92612 , this 3.11+ only PR uses the proper `deprecated-removed` role for the modules deprecated by PEP 593 (PEP-594) to clearly indicate to users that a removal version is planned and what it is, so they can prepare accordingly or voice any unanticipated impacts.
    
    Related to #92792 ; if we decide to backport that PR, the upgrade to using `deprecated-removed` on those functions can be moved to this one.
    CAM-Gerlach committed May 20, 2022
Older