summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* bpo-43424: Deprecate `webbrowser.MacOSXOSAScript._name` attribute (GH-30241)Nikita Sobolev2021-12-304-7/+27
|
* closes docs: remove references to Py_USING_MEMORY_DEBUGGER (GH-30284)Carlos Damazio2021-12-291-6/+3
|
* bpo-46185: Fix wrong version ref. in macOS installer ReadMe (GH-30278)Erlend Egeberg Aasland2021-12-291-1/+1
|
* bpo-46176: mmap module adding MAP_STACK constant. (GH-30252)David CARLIER2021-12-293-0/+10
|
* bpo-46090: Allow PyThreadState.datastack_* members to be NULL (GH-30234)Brandt Bucher2021-12-282-25/+24
|
* bpo-37295: Speed up math.comb(n, k) for 0 <= k <= n <= 67 (GH-30275)Mark Dickinson2021-12-282-0/+90
|
* bpo-45189: Drop the "list_frozen" command from _test_embed. (GH-30273)Dong-hee Na2021-12-282-32/+5
|
* bpo-46055: Speed up binary shifting operators (GH-30044)Xinhang Xu2021-12-274-3/+80
| | | Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* bpo-46055: Streamline inner loop for right shifts (#30243)Mark Dickinson2021-12-271-7/+8
|
* bpo-45496: Allow flexibility in winfo_rgb tests (GH-30185)E-Paine2021-12-261-2/+9
|
* bpo-43413: Revert changes in set.__init__ (GH-28403)Serhiy Storchaka2021-12-264-6/+8
| | | | Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* bpo-22815: Print unexpected successes in summary in TextTestResult (GH-30138)Serhiy Storchaka2021-12-263-8/+40
|
* bpo-23819: Fix asyncio tests on python optimized mode (GH-30195)Kumar Aditya2021-12-265-4/+9
|
* Fix typo in io.rst (GH-30218)David Gilbertson2021-12-261-1/+1
|
* doc: fix a typo in unittest.mock.rst (GH-30227)Joe2021-12-261-1/+1
|
* docs: Fix typos and use anchor for internal link (GH-30236)Rafael Fontenelle2021-12-261-9/+9
|
* Remove a NEWS entry for bpo-45878 (GH-30259)Serhiy Storchaka2021-12-261-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 Storchaka2021-12-253-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 Sobolev2021-12-242-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 Sobolev2021-12-242-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. Smith2021-12-241-1/+1
|
* typos (#30239)Kumar Aditya2021-12-231-3/+3
|
* bpo-46157: fix typo in docs (GH-30237)Kumar Aditya2021-12-236-14/+14
|
* bpo-46140: take more Py_buffer arguments as const * (GH-30217)David Hewitt2021-12-227-22/+23
|
* bpo-46106: Update OpenSSL to 1.1.1m (GH-30211)Kumar Aditya2021-12-229-75/+17
| | | Co-authored-by: Ned Deily <nad@python.org>
* bpo-46107: ExceptionGroup.subgroup()/split() should copy __note__ to the ↵Irit Katriel2021-12-213-1/+9
| | | | parts (GH-30159)
* Update potentially confusing note for mean. (GH-30174)Mark Dickinson2021-12-211-4/+5
|
* bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser ↵Pablo Galindo Salgado2021-12-205-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 Storchaka2021-12-2010-63/+102
| | | | | | To keep checks even if run tests with optimized Python. Either use special assertion methods like assertEqual() or raise an AssertionError explicitly.