Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-41011: venv -- add more variables to pyvenv.cfg (GH-30382) | andrei kulakov | 2022-01-07 | 2 | -1/+61 |
| | |||||
* | bpo-46263: Fix second location that needs MALLOC_CONF on FreeBSD (GH-30440) | Christian Heimes | 2022-01-06 | 1 | -1/+5 |
| | | | Automerge-Triggered-By: GH:tiran | ||||
* | bpo-46208: Fix normalization of relative paths in ↵ | neonene | 2022-01-06 | 2 | -0/+26 |
| | | | | _Py_normpath()/os.path.normpath (GH-30362) | ||||
* | bpo-46263: Do not ever expect "use_frozen_modules" to be -1. (gh-30438) | Eric Snow | 2022-01-06 | 1 | -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 Heimes | 2022-01-06 | 1 | -2/+7 |
| | | | | | (GH-30434) Automerge-Triggered-By: GH:tiran | ||||
* | bpo-46278: fix typo introduced in GH-30427 (GH-30430) | Kumar Aditya | 2022-01-06 | 1 | -2/+2 |
| | | | Automerge-Triggered-By: GH:asvetlov | ||||
* | bpo-45923: Handle call events in bytecode (GH-30364) | Mark Shannon | 2022-01-06 | 5 | -425/+509 |
| | | | | * Add a RESUME instruction to handle "call" events. | ||||
* | Reflect 'context' arg in 'AbstractEventLoop.call_*()' methods (GH-30427) | Andrew Svetlov | 2022-01-06 | 1 | -4/+4 |
| | |||||
* | bpo-46031: add POP_JUMP_IF_NOT_NONE and POP_JUMP_IF_NONE (GH-30019) | penguin_wwy | 2022-01-06 | 2 | -3/+4 |
| | |||||
* | bpo-46266: Add calendar day of week constants to __all__ (GH-30412) | Nikita Sobolev | 2022-01-05 | 2 | -3/+4 |
| | |||||
* | bpo-46269: [Enum] remove special-casing of `__new__` in `EnumType.__dir__` ↵ | Nikita Sobolev | 2022-01-05 | 1 | -4/+0 |
| | | | | (GH-30421) | ||||
* | bpo-46257: Convert statistics._ss() to a single pass algorithm (GH-30403) | Raymond Hettinger | 2022-01-05 | 1 | -57/+43 |
| | |||||
* | 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 | 1 | -2/+2 |
| | |||||
* | bpo-46262: [Enum] test error path in `Flag._missing_` (GH-30408) | Nikita Sobolev | 2022-01-05 | 1 | -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 Bucher | 2022-01-04 | 2 | -2/+2 |
| | |||||
* | bpo-20369: concurrent.futures.wait() now deduplicates futures given a… ↵ | Kumar Aditya | 2022-01-04 | 2 | -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 Salgado | 2022-01-04 | 2 | -1/+4 |
| | | | | not finished (GH-30378) | ||||
* | bpo-46202: Remove opcode POP_EXCEPT_AND_RERAISE (GH-30302) | Irit Katriel | 2022-01-04 | 4 | -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 Sobolev | 2022-01-04 | 1 | -0/+5 |
| | | | | (GH-30353) | ||||
* | bpo-46238: reuse `_winapi` constants in `asyncio.windows_events` (GH-30352) | Nikita Sobolev | 2022-01-04 | 1 | -3/+3 |
| | |||||
* | bpo-46233: Minor speedup for bigint squaring (GH-30345) | Tim Peters | 2022-01-04 | 1 | -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 e9898bf153d26059261ffef11f7643ae991e2a4c | Pablo Galindo Salgado | 2022-01-03 | 1 | -0/+8 |
| | | | This restores commit e9898bf153d26059261ffef11f7643ae991e2a4c . | ||||
* | bpo-44092: Don't reset statements/cursors before rollback (GH-26026) | Erlend Egeberg Aasland | 2022-01-03 | 2 | -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 Salgado | 2022-01-03 | 1 | -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 Katriel | 2022-01-02 | 2 | -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 Lovelace | 2022-01-02 | 1 | -1/+2 |
| | |||||
* | bpo-46218: Change long_pow() to sliding window algorithm (GH-30319) | Tim Peters | 2022-01-02 | 1 | -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 Katriel | 2022-01-02 | 2 | -1/+21 |
| | | | | traceback.py (GH-30091) | ||||
* | bpo-46118: Move importlib.resources to its own package. (#30176) | Jason R. Coombs | 2021-12-31 | 12 | -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 Kemenade | 2021-12-31 | 1 | -12/+0 |
| | |||||
* | bpo-45853: Fix misspelling and unused import in pathlib (GH-30292) | andrei kulakov | 2021-12-30 | 1 | -3/+3 |
| | |||||
* | bpo-43424: Deprecate `webbrowser.MacOSXOSAScript._name` attribute (GH-30241) | Nikita Sobolev | 2021-12-30 | 2 | -7/+21 |
| | |||||
* | bpo-46055: Speed up binary shifting operators (GH-30044) | Xinhang Xu | 2021-12-27 | 1 | -2/+61 |
| | | | Co-authored-by: Mark Dickinson <dickinsm@gmail.com> | ||||
* | 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 | 1 | -2/+5 |
| | | | | 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 | 2 | -8/+38 |
| | |||||
* | bpo-23819: Fix asyncio tests on python optimized mode (GH-30195) | Kumar Aditya | 2021-12-26 | 4 | -4/+8 |
| | |||||
* | bpo-46032: Check types in singledispatch's register() at declaration time ↵ | Serhiy Storchaka | 2021-12-25 | 2 | -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 Sobolev | 2021-12-24 | 1 | -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. Smith | 2021-12-24 | 1 | -1/+1 |
| | |||||
* | bpo-46107: ExceptionGroup.subgroup()/split() should copy __note__ to the ↵ | Irit Katriel | 2021-12-21 | 1 | -1/+3 |
| | | | | parts (GH-30159) | ||||
* | bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser ↵ | Pablo Galindo Salgado | 2021-12-20 | 1 | -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 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. | ||||
* | bpo-46129: Rewrite asyncio.locks tests with IsolatedAsyncioTestCase (GH-30198) | Andrew Svetlov | 2021-12-19 | 2 | -261/+212 |
| | | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | ||||
* | bpo-42413: Replace `concurrent.futures.TimeoutError` and ↵ | Kumar Aditya | 2021-12-19 | 2 | -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. Coombs | 2021-12-19 | 10 | -213/+152 |
| | | | | from importlib_resources 5.4.0. (GH-30189) | ||||
* | bpo-37578: glob.glob -- added include_hidden parameter (GH-30153) | andrei kulakov | 2021-12-18 | 2 | -21/+53 |
| | | | Automerge-Triggered-By: GH:asvetlov | ||||
* | bpo-46099: Fix pthread_getcpuclockid test on Solaris (GH-30140) | Jakub Kulík | 2021-12-18 | 1 | -5/+6 |
| | | | Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> | ||||
* | bpo-46114: Fix OpenSSL version check for 3.0.1 (GH-30170) | Christian Heimes | 2021-12-17 | 1 | -1/+5 |
| |