summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* bpo-41011: venv -- add more variables to pyvenv.cfg (GH-30382)andrei kulakov2022-01-072-1/+61
|
* bpo-46263: Fix second location that needs MALLOC_CONF on FreeBSD (GH-30440)Christian Heimes2022-01-061-1/+5
| | | Automerge-Triggered-By: GH:tiran
* bpo-46208: Fix normalization of relative paths in ↵neonene2022-01-062-0/+26
| | | | _Py_normpath()/os.path.normpath (GH-30362)
* bpo-46263: Do not ever expect "use_frozen_modules" to be -1. (gh-30438)Eric Snow2022-01-061-2/+0
| | | | | 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-061-2/+7
| | | | | (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-065-425/+509
| | | | * Add a RESUME instruction to handle "call" events.
* Reflect 'context' arg in 'AbstractEventLoop.call_*()' methods (GH-30427)Andrew Svetlov2022-01-061-4/+4
|
* bpo-46031: add POP_JUMP_IF_NOT_NONE and POP_JUMP_IF_NONE (GH-30019)penguin_wwy2022-01-062-3/+4
|
* bpo-46266: Add calendar day of week constants to __all__ (GH-30412)Nikita Sobolev2022-01-052-3/+4
|
* bpo-46269: [Enum] remove special-casing of `__new__` in `EnumType.__dir__` ↵Nikita Sobolev2022-01-051-4/+0
| | | | (GH-30421)
* bpo-46257: Convert statistics._ss() to a single pass algorithm (GH-30403)Raymond Hettinger2022-01-051-57/+43
|
* 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-051-2/+2
|
* bpo-46262: [Enum] test error path in `Flag._missing_` (GH-30408)Nikita Sobolev2022-01-051-0/+26
| | | | | | 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-042-2/+2
|
* bpo-20369: concurrent.futures.wait() now deduplicates futures given a… ↵Kumar Aditya2022-01-042-6/+15
| | | | | | | | | (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-46240: Correct the error for unclosed parentheses when the tokenizer is ↵Pablo Galindo Salgado2022-01-042-1/+4
| | | | not finished (GH-30378)
* bpo-46202: Remove opcode POP_EXCEPT_AND_RERAISE (GH-30302)Irit Katriel2022-01-044-52/+64
| | | | | | * bpo-46202: remove opcode POP_EXCEPT_AND_RERAISE * do not assume that an exception group is truthy
* bpo-46239: improve error message when importing `asyncio.windows_events` ↵Nikita Sobolev2022-01-041-0/+5
| | | | (GH-30353)
* bpo-46238: reuse `_winapi` constants in `asyncio.windows_events` (GH-30352)Nikita Sobolev2022-01-041-3/+3
|
* bpo-46233: Minor speedup for bigint squaring (GH-30345)Tim Peters2022-01-041-0/+11
| | | | | | | 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-46110: Restore commit e9898bf153d26059261ffef11f7643ae991e2a4cPablo Galindo Salgado2022-01-031-0/+8
| | | This restores commit e9898bf153d26059261ffef11f7643ae991e2a4c .
* bpo-44092: Don't reset statements/cursors before rollback (GH-26026)Erlend Egeberg Aasland2022-01-032-28/+39
| | | 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-031-8/+0
| | | | | 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-46219, 46221: simplify except* implementation following exc_info ↵Irit Katriel2022-01-022-1/+30
| | | | 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-021-1/+2
|
* bpo-46218: Change long_pow() to sliding window algorithm (GH-30319)Tim Peters2022-01-021-0/+22
| | | | | | | | | | | * 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-45615: Add missing test for printing traceback for non-exception. Fix ↵Irit Katriel2022-01-022-1/+21
| | | | traceback.py (GH-30091)
* bpo-46118: Move importlib.resources to its own package. (#30176)Jason R. Coombs2021-12-3112-368/+408
| | | | | * 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-311-12/+0
|
* bpo-45853: Fix misspelling and unused import in pathlib (GH-30292)andrei kulakov2021-12-301-3/+3
|
* bpo-43424: Deprecate `webbrowser.MacOSXOSAScript._name` attribute (GH-30241)Nikita Sobolev2021-12-302-7/+21
|
* bpo-46055: Speed up binary shifting operators (GH-30044)Xinhang Xu2021-12-271-2/+61
| | | Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* 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-261-2/+5
| | | | Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* bpo-22815: Print unexpected successes in summary in TextTestResult (GH-30138)Serhiy Storchaka2021-12-262-8/+38
|
* bpo-23819: Fix asyncio tests on python optimized mode (GH-30195)Kumar Aditya2021-12-264-4/+8
|
* bpo-46032: Check types in singledispatch's register() at declaration time ↵Serhiy Storchaka2021-12-252-5/+84
| | | | | | | | | (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-46150: ensure `fakeuser` does not exist in ↵Nikita Sobolev2021-12-241-5/+13
| | | | | `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
|
* bpo-46107: ExceptionGroup.subgroup()/split() should copy __note__ to the ↵Irit Katriel2021-12-211-1/+3
| | | | parts (GH-30159)
* bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser ↵Pablo Galindo Salgado2021-12-201-0/+8
| | | | | (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.
* bpo-46129: Rewrite asyncio.locks tests with IsolatedAsyncioTestCase (GH-30198)Andrew Svetlov2021-12-192-261/+212
| | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* bpo-42413: Replace `concurrent.futures.TimeoutError` and ↵Kumar Aditya2021-12-192-5/+2
| | | | | `asyncio.TimeoutError` with builtin `TimeoutError` (GH-30197) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-46125: Refactor tests to test traversable API directly. Includes changes ↵Jason R. Coombs2021-12-1910-213/+152
| | | | from importlib_resources 5.4.0. (GH-30189)
* bpo-37578: glob.glob -- added include_hidden parameter (GH-30153)andrei kulakov2021-12-182-21/+53
| | | Automerge-Triggered-By: GH:asvetlov
* bpo-46099: Fix pthread_getcpuclockid test on Solaris (GH-30140)Jakub Kulík2021-12-181-5/+6
| | | Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-46114: Fix OpenSSL version check for 3.0.1 (GH-30170)Christian Heimes2021-12-171-1/+5
|