summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-46269: [Enum] remove special-casing of `__new__` in `EnumType.__dir__` ↵Nikita Sobolev2022-01-052-4/+1
| | | | (GH-30421)
* bpo-46257: Convert statistics._ss() to a single pass algorithm (GH-30403)Raymond Hettinger2022-01-052-57/+47
|
* bpo-46236: Fix PyFunction_GetAnnotations() returned tuple. (GH-30409)Inada Naoki2022-01-052-22/+34
| | | Automerge-Triggered-By: GH:pablogsal
* bpo-43137: Revert "webbrowser: Don't run gvfs-open on GNOME" (GH-30417)Simon McVittie2022-01-051-0/+4
| | | | | | | | gvfs-open was deprecated in 2015 and removed in 2018, but its replacement, gio(1), is not available in Ubuntu 16.04, which is apparently still supported by CPython upstream even though it is considered to be EOL by Ubuntu developers. Signed-off-by: Simon McVittie <smcv@debian.org>
* bpo-45256: Don't track the exact depth of each `InterpreterFrame` (GH-30372)Brandt Bucher2022-01-054-17/+16
|
* bpo-46263: Don't use MULTIARCH on FreeBSD (#30410)Christian Heimes2022-01-053-7/+24
|
* bpo-46262: [Enum] test error path in `Flag._missing_` (GH-30408)Nikita Sobolev2022-01-052-0/+27
| | | | | | add tests that exercise the `_missing_` error path for `Flag` and `IntFlag` Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
* bpo-46009: Remove GEN_START (GH-30367)Brandt Bucher2022-01-0410-47/+20
|
* Fix missing "," in the documentation of Executor Objects (GH-30404)Philipp Claßen2022-01-041-1/+1
|
* bpo-45609: More specialization stats for STORE_SUBSCR (GH-30193)Dennis Sweeney2022-01-042-5/+70
|
* bpo-20369: concurrent.futures.wait() now deduplicates futures given a… ↵Kumar Aditya2022-01-044-7/+18
| | | | | | | | | (GH-30168) * bpo-20369: concurrent.futures.wait() now deduplicates futures given as arg. * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* bpo-33252: Document that ResourceWarning is ignored by default (GH-30358)Hugo van Kemenade2022-01-041-1/+1
| | | | | | | | | `ResourceWarning` is ignored by default. Document this behaviour, for consistency with others in this table such as `DeprecationWarning`. Documentation PR can skip NEWS file. Automerge-Triggered-By: GH:iritkatriel
* bpo-46231: Remove invalid_* rules preceded by more tokens from the grammar ↵Pablo Galindo Salgado2022-01-041-2/+2
| | | | docs (GH-30341)
* bpo-46240: Correct the error for unclosed parentheses when the tokenizer is ↵Pablo Galindo Salgado2022-01-044-2/+9
| | | | not finished (GH-30378)
* bpo-46202: Remove opcode POP_EXCEPT_AND_RERAISE (GH-30302)Irit Katriel2022-01-0411-146/+138
| | | | | | * bpo-46202: remove opcode POP_EXCEPT_AND_RERAISE * do not assume that an exception group is truthy
* bpo-44092: Move What's New entry to where it belongs (GH-30381)Erlend Egeberg Aasland2022-01-041-5/+4
|
* Update old-style strings to f-strings (GH-30384)David Gilbertson2022-01-041-4/+4
| | | Let me know if this sort of change is unwanted...
* bpo-46239: improve error message when importing `asyncio.windows_events` ↵Nikita Sobolev2022-01-042-0/+7
| | | | (GH-30353)
* bpo-46238: reuse `_winapi` constants in `asyncio.windows_events` (GH-30352)Nikita Sobolev2022-01-042-3/+4
|
* bpo-46233: Minor speedup for bigint squaring (GH-30345)Tim Peters2022-01-042-5/+30
| | | | | | | x_mul()'s squaring code can do some redundant and/or useless work at the end of each digit pass. A more careful analysis of worst-case carries at various digit positions allows making that code leaner.
* bpo-44092: Remove unused member `reset` from `sqlite3.Cursor` (GH-30377)Erlend Egeberg Aasland2022-01-032-20/+0
| | | Automerge-Triggered-By: GH:pablogsal
* bpo-34538: Remove Exception subclassing from tutorial (GH-30361)Hugo van Kemenade2022-01-031-35/+1
| | | | | | | Remove the bit about subclassing exceptions. Documentation PR can skip the NEWS label. Automerge-Triggered-By: GH:iritkatriel
* Add doctest and improve readability for move_to_end() example. (#30370)Raymond Hettinger2022-01-031-3/+5
|
* bpo-34931: [doc] clarify behavior of os.path.splitext() on paths with ↵Irit Katriel2022-01-031-1/+6
| | | | multiple leading periods (GH-30347)
* bpo-46110: Restore commit e9898bf153d26059261ffef11f7643ae991e2a4cPablo Galindo Salgado2022-01-035-3197/+4602
| | | This restores commit e9898bf153d26059261ffef11f7643ae991e2a4c .
* bpo-44092: Don't reset statements/cursors before rollback (GH-26026)Erlend Egeberg Aasland2022-01-035-52/+47
| | | In SQLite versions pre 3.7.11, pending statements would block a rollback. This is no longer the case, so remove the workaround.
* Revert "bpo-46110: Add a recursion check to avoid stack overflow in the PEG ↵Pablo Galindo Salgado2022-01-035-4602/+3197
| | | | | parser (GH-30177)" (GH-30363) This reverts commit e9898bf153d26059261ffef11f7643ae991e2a4c temporarily as we want to confirm if this commit is the cause of a slowdown at startup time.
* bpo-46222: posixmodule sendfile FreeBSD's constants updates. (GH-30327)David CARLIER2022-01-033-0/+14
| | | | | | | * posixodule sendfile FreeBSD's constants updates. * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* bpo-40477: macOS Python Launcher app fixes for recent macOS releases (GH-30348)Ned Deily2022-01-033-2/+8
| | | | | | | | This change solves two problems encountered by users of the macOS Python Launcher app on recent macOS releases (10.14+): - The launcher app was no longer able to launch the macOS Terminal.app to run a script. - Even if Terminal.app was already launched, the launcher app was unable to send an Apple Event to Terminal.app to open and run Python with the desired .py file.
* bpo-46229: remove `CODE_OF_CONDUCT.md` to use org default (GH-30342)Nikita Sobolev2022-01-021-12/+0
| | | Automerge-Triggered-By: GH:Mariatta
* bpo-46219, 46221: simplify except* implementation following exc_info ↵Irit Katriel2022-01-029-149/+179
| | | | changes. Move helpers to exceptions.c. Do not assume that exception groups are truthy. (GH-30289)
* argparse docs: prog default is the basename of argv[0] (GH-30298)Jade Lovelace2022-01-022-2/+4
|
* Update copyright year to 2022. (GH-30335)Benjamin Peterson2022-01-029-10/+10
| | | Automerge-Triggered-By: GH:benjaminp
* bpo-46218: Change long_pow() to sliding window algorithm (GH-30319)Tim Peters2022-01-023-30/+106
| | | | | | | | | | | * bpo-46218: Change long_pow() to sliding window algorithm The primary motivation is to eliminate long_pow's reliance on that the number of bits in a long "digit" is a multiple of 5. Now it no longer cares how many bits are in a digit. But the sliding window approach also allows cutting the precomputed table of small powers in half, which reduces initialization overhead enough that the approach pays off for smaller exponents too. Depending on exponent bit patterns, a sliding window may also be able to save some bigint multiplies (sometimes when at least 5 consecutive exponent bits are 0, regardless of their starting bit position modulo 5). Note: boosting the window width to 6 didn't work well overall. It give marginal speed improvements for huge exponents, but the increased overhead (the small-power table needs twice as many entries) made it a loss for smaller exponents. Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
* bpo-46196: document method cmd.Cmd.columnize (#30303)Nikita Sobolev2022-01-022-0/+8
| | | The method is already written and tested, now it's officially public.
* bpo-45903: Fix typo in What's New: Signature.from_builtin is removed (GH-29813)Hugo van Kemenade2022-01-021-1/+1
|
* bpo-45615: Add missing test for printing traceback for non-exception. Fix ↵Irit Katriel2022-01-024-7/+28
| | | | traceback.py (GH-30091)
* bpo-46095: Improve SeqIter documentation. (GH-30316)Raymond Hettinger2022-01-012-21/+10
|
* bpo-46079: Replace external link that is down for maintenance. (GH-30315)Raymond Hettinger2022-01-011-6/+6
|
* bpo-37295: More direct computation of power-of-two factor in math.comb ↵Mark Dickinson2021-12-311-7/+25
| | | | | (GH-30313) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-45321: Add missing error codes to module `xml.parsers.expat.errors` ↵Sebastian Pipping2021-12-313-49/+126
| | | | | | | | | (GH-30188) The idea is to ensure that module `xml.parsers.expat.errors` contains all known error codes and messages, even when CPython is compiled or run with an outdated version of libexpat. https://bugs.python.org/issue45321
* bpo-46118: Make sure importlib.resources is included. (GH-30311)Jason R. Coombs2021-12-311-1/+1
|
* bpo-46109: Separate out files relating to importlib.resources (GH-30160)Jason R. Coombs2021-12-315-573/+586
| | | | | | | | | * Separate out files relating to importlib.resources * Update Introduction to direct readers to the submodule documentation. * Create separate file for abcs relating to resources. * Move abc docs back to where they were.
* bpo-46118: Move importlib.resources to its own package. (#30176)Jason R. Coombs2021-12-3113-368/+409
| | | | | * bpo-46118: Move importlib.resources to its own package. * Expand compatibility shims with documentation and explicit imports.
* bpo-46178: Remove/rename redundant Travis CI code (#30309)Hugo van Kemenade2021-12-315-23/+8
|
* bpo-46178: remove unusued `.travis.yml` file (#30257)Nikita Sobolev2021-12-301-169/+0
| | | | | * bpo-46178: remove unusued `.travis.yml` file * Delete 2021-12-26-12-35-41.bpo-46178.Aw1TZg.rst
* bpo-46184: remove `netlify.toml` (#30272)Nikita Sobolev2021-12-302-5/+0
| | | | | | | | | | | * bpo-46184: remove `netlify.toml` * Delete runtime.txt * Delete requirements.txt * Revert "Delete requirements.txt" This reverts commit 9aa4f0631f9d206ed7fddf37b43a24ec4e90fa7c.
* Delete `FUNDING.yml`, since there's an organisation default (#30294)Nikita Sobolev2021-12-301-2/+0
|
* bpo-45853: Fix misspelling and unused import in pathlib (GH-30292)andrei kulakov2021-12-301-3/+3
|
* bpo-46085: Fix iterator cache mechanism of OrderedDict. (GH-30290)Dong-hee Na2021-12-302-3/+6
|