summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-46286: use the new POP_JUMP_IF_NOT_NONE opcode to simplify except* ↵Irit Katriel2022-01-061-6/+2
| | | | | (GH-30439) Automerge-Triggered-By: GH:iritkatriel
* bpo-46208: Fix normalization of relative paths in ↵neonene2022-01-064-9/+43
| | | | _Py_normpath()/os.path.normpath (GH-30362)
* bpo-45292: [PEP-654] exception groups and except* documentation (GH-30158)Irit Katriel2022-01-063-1/+208
|
* bpo-46263: Do not ever expect "use_frozen_modules" to be -1. (gh-30438)Eric Snow2022-01-062-2/+2
| | | | | The condition is no longer valid. This should resolve the buildbot failure on FreeBSD. https://bugs.python.org/issue46263
* bpo-46263: FreeBSD 14.0 jemalloc workaround for junk bytes of freed memory ↵Christian Heimes2022-01-062-2/+9
| | | | | (GH-30434) Automerge-Triggered-By: GH:tiran
* bpo-46278: fix typo introduced in GH-30427 (GH-30430)Kumar Aditya2022-01-061-2/+2
| | | Automerge-Triggered-By: GH:asvetlov
* bpo-45923: Handle call events in bytecode (GH-30364)Mark Shannon2022-01-0613-529/+678
| | | | * Add a RESUME instruction to handle "call" events.
* Reflect 'context' arg in 'AbstractEventLoop.call_*()' methods (GH-30427)Andrew Svetlov2022-01-062-4/+6
|
* bpo-46031: add POP_JUMP_IF_NOT_NONE and POP_JUMP_IF_NONE (GH-30019)penguin_wwy2022-01-069-14/+86
|
* bpo-46006: Revert "bpo-40521: Per-interpreter interned strings (GH-20085)" ↵Victor Stinner2022-01-064-30/+75
| | | | | | | | | | | (GH-30422) This reverts commit ea251806b8dffff11b30d2182af1e589caf88acf. Keep "assert(interned == NULL);" in _PyUnicode_Fini(), but only for the main interpreter. Keep _PyUnicode_ClearInterned() changes avoiding the creation of a temporary Python list object.
* bpo-46266: Add calendar day of week constants to __all__ (GH-30412)Nikita Sobolev2022-01-054-4/+18
|
* 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
|