Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-46269: [Enum] remove special-casing of `__new__` in `EnumType.__dir__` ↵ | Nikita Sobolev | 2022-01-05 | 2 | -4/+1 | |
| | | | | (GH-30421) | |||||
* | bpo-46257: Convert statistics._ss() to a single pass algorithm (GH-30403) | Raymond Hettinger | 2022-01-05 | 2 | -57/+47 | |
| | ||||||
* | bpo-46236: Fix PyFunction_GetAnnotations() returned tuple. (GH-30409) | Inada Naoki | 2022-01-05 | 2 | -22/+34 | |
| | | | Automerge-Triggered-By: GH:pablogsal | |||||
* | bpo-43137: Revert "webbrowser: Don't run gvfs-open on GNOME" (GH-30417) | Simon McVittie | 2022-01-05 | 1 | -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 Bucher | 2022-01-05 | 4 | -17/+16 | |
| | ||||||
* | bpo-46263: Don't use MULTIARCH on FreeBSD (#30410) | Christian Heimes | 2022-01-05 | 3 | -7/+24 | |
| | ||||||
* | bpo-46262: [Enum] test error path in `Flag._missing_` (GH-30408) | Nikita Sobolev | 2022-01-05 | 2 | -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 Bucher | 2022-01-04 | 10 | -47/+20 | |
| | ||||||
* | Fix missing "," in the documentation of Executor Objects (GH-30404) | Philipp Claßen | 2022-01-04 | 1 | -1/+1 | |
| | ||||||
* | bpo-45609: More specialization stats for STORE_SUBSCR (GH-30193) | Dennis Sweeney | 2022-01-04 | 2 | -5/+70 | |
| | ||||||
* | bpo-20369: concurrent.futures.wait() now deduplicates futures given a… ↵ | Kumar Aditya | 2022-01-04 | 4 | -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 Kemenade | 2022-01-04 | 1 | -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 Salgado | 2022-01-04 | 1 | -2/+2 | |
| | | | | docs (GH-30341) | |||||
* | bpo-46240: Correct the error for unclosed parentheses when the tokenizer is ↵ | Pablo Galindo Salgado | 2022-01-04 | 4 | -2/+9 | |
| | | | | not finished (GH-30378) | |||||
* | bpo-46202: Remove opcode POP_EXCEPT_AND_RERAISE (GH-30302) | Irit Katriel | 2022-01-04 | 11 | -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 Aasland | 2022-01-04 | 1 | -5/+4 | |
| | ||||||
* | Update old-style strings to f-strings (GH-30384) | David Gilbertson | 2022-01-04 | 1 | -4/+4 | |
| | | | Let me know if this sort of change is unwanted... | |||||
* | bpo-46239: improve error message when importing `asyncio.windows_events` ↵ | Nikita Sobolev | 2022-01-04 | 2 | -0/+7 | |
| | | | | (GH-30353) | |||||
* | bpo-46238: reuse `_winapi` constants in `asyncio.windows_events` (GH-30352) | Nikita Sobolev | 2022-01-04 | 2 | -3/+4 | |
| | ||||||
* | bpo-46233: Minor speedup for bigint squaring (GH-30345) | Tim Peters | 2022-01-04 | 2 | -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 Aasland | 2022-01-03 | 2 | -20/+0 | |
| | | | Automerge-Triggered-By: GH:pablogsal | |||||
* | bpo-34538: Remove Exception subclassing from tutorial (GH-30361) | Hugo van Kemenade | 2022-01-03 | 1 | -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 Hettinger | 2022-01-03 | 1 | -3/+5 | |
| | ||||||
* | bpo-34931: [doc] clarify behavior of os.path.splitext() on paths with ↵ | Irit Katriel | 2022-01-03 | 1 | -1/+6 | |
| | | | | multiple leading periods (GH-30347) | |||||
* | bpo-46110: Restore commit e9898bf153d26059261ffef11f7643ae991e2a4c | Pablo Galindo Salgado | 2022-01-03 | 5 | -3197/+4602 | |
| | | | This restores commit e9898bf153d26059261ffef11f7643ae991e2a4c . | |||||
* | bpo-44092: Don't reset statements/cursors before rollback (GH-26026) | Erlend Egeberg Aasland | 2022-01-03 | 5 | -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 Salgado | 2022-01-03 | 5 | -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 CARLIER | 2022-01-03 | 3 | -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 Deily | 2022-01-03 | 3 | -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 Sobolev | 2022-01-02 | 1 | -12/+0 | |
| | | | Automerge-Triggered-By: GH:Mariatta | |||||
* | bpo-46219, 46221: simplify except* implementation following exc_info ↵ | Irit Katriel | 2022-01-02 | 9 | -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 Lovelace | 2022-01-02 | 2 | -2/+4 | |
| | ||||||
* | Update copyright year to 2022. (GH-30335) | Benjamin Peterson | 2022-01-02 | 9 | -10/+10 | |
| | | | Automerge-Triggered-By: GH:benjaminp | |||||
* | bpo-46218: Change long_pow() to sliding window algorithm (GH-30319) | Tim Peters | 2022-01-02 | 3 | -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 Sobolev | 2022-01-02 | 2 | -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 Kemenade | 2022-01-02 | 1 | -1/+1 | |
| | ||||||
* | bpo-45615: Add missing test for printing traceback for non-exception. Fix ↵ | Irit Katriel | 2022-01-02 | 4 | -7/+28 | |
| | | | | traceback.py (GH-30091) | |||||
* | bpo-46095: Improve SeqIter documentation. (GH-30316) | Raymond Hettinger | 2022-01-01 | 2 | -21/+10 | |
| | ||||||
* | bpo-46079: Replace external link that is down for maintenance. (GH-30315) | Raymond Hettinger | 2022-01-01 | 1 | -6/+6 | |
| | ||||||
* | bpo-37295: More direct computation of power-of-two factor in math.comb ↵ | Mark Dickinson | 2021-12-31 | 1 | -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 Pipping | 2021-12-31 | 3 | -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. Coombs | 2021-12-31 | 1 | -1/+1 | |
| | ||||||
* | bpo-46109: Separate out files relating to importlib.resources (GH-30160) | Jason R. Coombs | 2021-12-31 | 5 | -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. Coombs | 2021-12-31 | 13 | -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 Kemenade | 2021-12-31 | 5 | -23/+8 | |
| | ||||||
* | bpo-46178: remove unusued `.travis.yml` file (#30257) | Nikita Sobolev | 2021-12-30 | 1 | -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 Sobolev | 2021-12-30 | 2 | -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 Sobolev | 2021-12-30 | 1 | -2/+0 | |
| | ||||||
* | bpo-45853: Fix misspelling and unused import in pathlib (GH-30292) | andrei kulakov | 2021-12-30 | 1 | -3/+3 | |
| | ||||||
* | bpo-46085: Fix iterator cache mechanism of OrderedDict. (GH-30290) | Dong-hee Na | 2021-12-30 | 2 | -3/+6 | |
| |