main
Commits on May 24, 2022
-
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.
Commits on May 23, 2022
-
Doc: No need to use rst syntax in code comments. (GH-93102)
And it raises `make suspicious` false positives.
-
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>
-
gh-93118: [Enum] fix error message (GH-93138)
Include member names in error message.
-
gh-83245: Raise BadZipFile instead of ValueError when reading a corru…
…pt ZIP file (GH-32291) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
-
-
gh-93010: InvalidHeaderError used but nonexistent (#93015)
* fix issue 93010 Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
-
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.
-
gh-93103: Deprecate global configuration variable (#93104)
Deprecate global configuration variables, like Py_IgnoreEnvironmentFlag, in the documentation: the Py_InitializeFromConfig() API should be instead.
-
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.
-
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.
-
gh-91061: also accept pathlib.Path for winsound.PlaySound (#91489)
Fixes #91061 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
-
binascii docs: strict_mode parameter is keyword-only (#93055)
See 35b98e3 Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Commits on May 22, 2022
Commits on May 21, 2022
-
Clean up the sqlite3 tests (GH-93056)
Remove helper managed_connect(). Use memory_database() or contextlib.closing() + addCleanup(unlink) instead.
-
Improve tests for opening Sqlite by URI (GH-93047)
* Test with with escaped non-ascii characters * Test read-only open of existing DB.
-
gh-93044: No longer convert the database argument of sqlite3.connect(…
…) to bytes (GH-93046) Just pass it to the factory as is.
-
-
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).
Commits on May 20, 2022
-
-
-
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.