Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | bpo-43424: Deprecate `webbrowser.MacOSXOSAScript._name` attribute (GH-30241) | Nikita Sobolev | 2021-12-30 | 4 | -7/+27 | |
| | ||||||
* | closes docs: remove references to Py_USING_MEMORY_DEBUGGER (GH-30284) | Carlos Damazio | 2021-12-29 | 1 | -6/+3 | |
| | ||||||
* | bpo-46185: Fix wrong version ref. in macOS installer ReadMe (GH-30278) | Erlend Egeberg Aasland | 2021-12-29 | 1 | -1/+1 | |
| | ||||||
* | bpo-46176: mmap module adding MAP_STACK constant. (GH-30252) | David CARLIER | 2021-12-29 | 3 | -0/+10 | |
| | ||||||
* | bpo-46090: Allow PyThreadState.datastack_* members to be NULL (GH-30234) | Brandt Bucher | 2021-12-28 | 2 | -25/+24 | |
| | ||||||
* | bpo-37295: Speed up math.comb(n, k) for 0 <= k <= n <= 67 (GH-30275) | Mark Dickinson | 2021-12-28 | 2 | -0/+90 | |
| | ||||||
* | bpo-45189: Drop the "list_frozen" command from _test_embed. (GH-30273) | Dong-hee Na | 2021-12-28 | 2 | -32/+5 | |
| | ||||||
* | bpo-46055: Speed up binary shifting operators (GH-30044) | Xinhang Xu | 2021-12-27 | 4 | -3/+80 | |
| | | | Co-authored-by: Mark Dickinson <dickinsm@gmail.com> | |||||
* | bpo-46055: Streamline inner loop for right shifts (#30243) | Mark Dickinson | 2021-12-27 | 1 | -7/+8 | |
| | ||||||
* | bpo-45496: Allow flexibility in winfo_rgb tests (GH-30185) | E-Paine | 2021-12-26 | 1 | -2/+9 | |
| | ||||||
* | bpo-43413: Revert changes in set.__init__ (GH-28403) | Serhiy Storchaka | 2021-12-26 | 4 | -6/+8 | |
| | | | | Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> | |||||
* | bpo-22815: Print unexpected successes in summary in TextTestResult (GH-30138) | Serhiy Storchaka | 2021-12-26 | 3 | -8/+40 | |
| | ||||||
* | bpo-23819: Fix asyncio tests on python optimized mode (GH-30195) | Kumar Aditya | 2021-12-26 | 5 | -4/+9 | |
| | ||||||
* | Fix typo in io.rst (GH-30218) | David Gilbertson | 2021-12-26 | 1 | -1/+1 | |
| | ||||||
* | doc: fix a typo in unittest.mock.rst (GH-30227) | Joe | 2021-12-26 | 1 | -1/+1 | |
| | ||||||
* | docs: Fix typos and use anchor for internal link (GH-30236) | Rafael Fontenelle | 2021-12-26 | 1 | -9/+9 | |
| | ||||||
* | Remove a NEWS entry for bpo-45878 (GH-30259) | Serhiy Storchaka | 2021-12-26 | 1 | -10/+0 | |
| | | | The docs linter complains about it, and in general news entries for such changes are not required. | |||||
* | bpo-46032: Check types in singledispatch's register() at declaration time ↵ | Serhiy Storchaka | 2021-12-25 | 3 | -5/+89 | |
| | | | | | | | | | (GH-30050) The registry() method of functools.singledispatch() functions checks now the first argument or the first parameter annotation and raises a TypeError if it is not supported. Previously unsupported "types" were ignored (e.g. typing.List[int]) or caused an error at calling time (e.g. list[int]). | |||||
* | bpo-46120: State that `|` is preferred over `Union` (GH-30222) | Nikita Sobolev | 2021-12-24 | 2 | -1/+2 | |
| | | | | Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Guido van Rossum <gvanrossum@gmail.com> | |||||
* | bpo-46150: ensure `fakeuser` does not exist in ↵ | Nikita Sobolev | 2021-12-24 | 2 | -5/+15 | |
| | | | | | `PosixPathTest.test_expanduser` (GH-30240) Ensure `fakeuser` does not exist in `PosixPathTest.test_expanduser` | |||||
* | Allow test_pathlib to pass on systems where fakeuser exists. (GH-30244) | Gregory P. Smith | 2021-12-24 | 1 | -1/+1 | |
| | ||||||
* | typos (#30239) | Kumar Aditya | 2021-12-23 | 1 | -3/+3 | |
| | ||||||
* | bpo-46157: fix typo in docs (GH-30237) | Kumar Aditya | 2021-12-23 | 6 | -14/+14 | |
| | ||||||
* | bpo-46140: take more Py_buffer arguments as const * (GH-30217) | David Hewitt | 2021-12-22 | 7 | -22/+23 | |
| | ||||||
* | bpo-46106: Update OpenSSL to 1.1.1m (GH-30211) | Kumar Aditya | 2021-12-22 | 9 | -75/+17 | |
| | | | Co-authored-by: Ned Deily <nad@python.org> | |||||
* | bpo-46107: ExceptionGroup.subgroup()/split() should copy __note__ to the ↵ | Irit Katriel | 2021-12-21 | 3 | -1/+9 | |
| | | | | parts (GH-30159) | |||||
* | Update potentially confusing note for mean. (GH-30174) | Mark Dickinson | 2021-12-21 | 1 | -4/+5 | |
| | ||||||
* | bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser ↵ | Pablo Galindo Salgado | 2021-12-20 | 5 | -3197/+4602 | |
| | | | | | (GH-30177) Co-authored-by: Batuhan Taskaya <isidentical@gmail.com> | |||||
* | bpo-23819: Get rid of assert statements in test_asyncio (GH-30212) | Serhiy Storchaka | 2021-12-20 | 10 | -63/+102 | |
| | | | | | | To keep checks even if run tests with optimized Python. Either use special assertion methods like assertEqual() or raise an AssertionError explicitly. |