Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-115119: Fall back to bundled libmpdec if system libmpdec is not found ↵ | Erlend E. Aasland | 2024-05-20 | 3 | -12/+28 |
| | | | | (#119196) | ||||
* | typing docs: Fix formatting issue (#119210) | David Foster | 2024-05-20 | 1 | -1/+1 |
| | |||||
* | gh-119185: Fix typo in `_pyrepl.pager`: `tempfilepager` should be ↵ | Thanos | 2024-05-20 | 1 | -1/+1 |
| | | | | | | | `tempfile_pager` (#118881) Fix typo in `_pyrepl.pager`: `tempfilepager` should be `tempfile_pager` The name with no underscore doesn't exist. | ||||
* | gh-103134: Update multiprocessing.managers.ListProxy and DictProxy (GH-103133) | Roy Hyunjin Han | 2024-05-20 | 3 | -10/+60 |
| | |||||
* | gh-118928: Remove unneeded sqlite3 NEWS entry (#119208) | Erlend E. Aasland | 2024-05-20 | 1 | -2/+0 |
| | | | The regression in d8e0e0091 was never part of an official release. | ||||
* | gh-118928: sqlite3: correctly bail if sequences of params are used with ↵ | Erlend E. Aasland | 2024-05-20 | 2 | -0/+3 |
| | | | | named placeholders (#119197) | ||||
* | Enable some stricter mypy settings on `Lib/_pyrepl` (#119077) | Alex Waygood | 2024-05-20 | 1 | -4/+1 |
| | |||||
* | gh-119121: Fix and test `async.staggered.staggered_race` (#119173) | Nikita Sobolev | 2024-05-20 | 3 | -2/+100 |
| | |||||
* | IDLE: fix url in config.py comment (#119198) | Terry Jan Reedy | 2024-05-20 | 1 | -1/+1 |
| | |||||
* | gh-119105: difflib: improve recursion for degenerate cases (#119131) | pulkin | 2024-05-19 | 2 | -5/+20 |
| | | | | | | | | | Code from https://github.com/pulkin, in PR https://github.com/python/cpython/pull/119131 Greatly speeds `Differ` when there are many identically scoring pairs, by splitting the recursion near the inputs' midpoints instead of degenerating (as now) into just peeling off the first two lines. Co-authored-by: Tim Peters <tim.peters@gmail.com> | ||||
* | GH-119113: Raise `TypeError` from `pathlib.PurePath.with_suffix(None)` (#119124) | Barney Gale | 2024-05-19 | 3 | -7/+9 |
| | | | Restore behaviour from 3.12 when `path.with_suffix(None)` is called. | ||||
* | GH-118447: Fix FreeBSD test failures. (#119170) | Barney Gale | 2024-05-19 | 1 | -0/+1 |
| | | | | Apparently only macOS requires read permission to call `readlink()` on a symlink. | ||||
* | GH-119146: Don't run JIT CI on unrelated changes (GH-119147) | Savannah Ostrowski | 2024-05-19 | 1 | -0/+6 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | marshal docs: Remove reference to "Sun" (#119161) | Jelle Zijlstra | 2024-05-19 | 1 | -1/+1 |
| | | | | | Nobody has been using a Sun machine for a long time. When I saw this sentence in a lightning talk just now, I thought it was talking about sending Python code on a spacecraft. | ||||
* | Try to repair oddball test bots timing out in test_int (#119166) | Tim Peters | 2024-05-19 | 1 | -0/+8 |
| | | | Various test bots (outside the ones GH normally runs) are timing out during test_int after ecd8664 (asymptotically faster str->int). Best guess is that they don't build the C _decimal module. So require that module in the most likely tests to time out then. Flying mostly blind, though! | ||||
* | gh-118750: Asymptotically faster `int(string)` (#118751) | Tim Peters | 2024-05-19 | 3 | -33/+479 |
| | | | | | | | | | | | | | | | Asymptotically faster (O(n log n)) str->int for very large strings, leveraging the faster multiplication scheme in the C-coded `_decimal` when available. This is used instead of the current Karatsuba-limited method starting at 2 million digits. Lots of opportunity remains for fine-tuning. Good targets include changing BYTELIM, and possibly changing the internal output base (from 256 to a higher number of bytes). Doing this was substantial work, and many of the new lines are actually comments giving correctness proofs. The obvious approaches sticking to integers were too slow to be useful, so this is doing variable-precision decimal floating-point arithmetic. Much faster, but worst-possible rounding errors have to be wholly accounted for, using as little precision as possible. Special thanks to Serhiy Storchaka for asking many good questions in his code reviews! Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: sstandre <43125375+sstandre@users.noreply.github.com> Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com> Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com> | ||||
* | GH-118447: Fix handling of unreadable symlinks in `os.path.realpath()` (#118489) | Barney Gale | 2024-05-18 | 3 | -13/+32 |
| | | | Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com> | ||||
* | gh-119050: Add type hints to libregrtest/results.py (#119144) | Victor Stinner | 2024-05-18 | 1 | -6/+6 |
| | | | Sort also 'omitted' in TestResults.display_result(). | ||||
* | gh-119132: Update sys.version to identify free-threaded or not. (gh-119134) | Donghee Na | 2024-05-18 | 3 | -11/+24 |
| | |||||
* | docs: make mimalloc license text literal (#119046) | Rafael Fontenelle | 2024-05-18 | 1 | -21/+21 |
| | |||||
* | gh-119132: Log sys._is_gil_enabled() in test.pythoninfo (#119140) | Victor Stinner | 2024-05-18 | 1 | -3/+7 |
| | |||||
* | gh-119078: Clarify venv tutorial (GH-119129) | Nice Zombies | 2024-05-18 | 1 | -4/+4 |
| | |||||
* | Minor improvements to the docs for itertools.tee() (gh-119135) | Raymond Hettinger | 2024-05-18 | 1 | -10/+11 |
| | |||||
* | gh-119049: Defer `import warnings` in `pathlib._local` (#119111) | Kirill Podoprigora | 2024-05-17 | 1 | -1/+1 |
| | |||||
* | gh-112066: Fix versionadded in PyDict_SetDefaultRef docs (#118696) | Lysandros Nikolaou | 2024-05-17 | 1 | -0/+1 |
| | |||||
* | Fix typos in documentation (#119092) | Xie Yanbo | 2024-05-17 | 10 | -15/+15 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | Improve `pyrepl` type-annotation coverage (#119081) | Alex Waygood | 2024-05-17 | 6 | -14/+31 |
| | |||||
* | gh-119049: Fix incorrect display of warning which is constructed by C API ↵ | Kirill Podoprigora | 2024-05-16 | 4 | -4/+57 |
| | | | | | | | (GH-119063) The source line was not displayed if the warnings module had not yet been imported. | ||||
* | GH-118943: Fix a race condition when generating jit_stencils.h (GH-118957) | Brandt Bucher | 2024-05-16 | 2 | -7/+15 |
| | |||||
* | Explain how to install LLVM on Fedora (GH-118983) | Miro Hrončok | 2024-05-16 | 1 | -0/+6 |
| | | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | ||||
* | gh-108267: Fix object.__setattr__ regression in dataclasses docs (#119082) | Shantanu | 2024-05-16 | 1 | -1/+2 |
| | |||||
* | Add Tkinter tests for different events (GH-118778) | Serhiy Storchaka | 2024-05-16 | 1 | -0/+278 |
| | |||||
* | gh-119064: Use os_helper.FakePath instead of pathlib.Path in tests (GH-119065) | Serhiy Storchaka | 2024-05-16 | 19 | -127/+115 |
| | |||||
* | Fix typos in test_buffer.py and update numpy issue links (#118963) | Wulian233 | 2024-05-16 | 1 | -6/+6 |
| | |||||
* | Use literal syntax in origin property (#119029) | Rafael Fontenelle | 2024-05-16 | 1 | -1/+1 |
| | |||||
* | Docs: fix typos in documentation (gh-118941) | Xie Yanbo | 2024-05-15 | 9 | -15/+15 |
| | |||||
* | gh-119009: Add gettext target (#119006) | Rafael Fontenelle | 2024-05-15 | 2 | -0/+8 |
| | |||||
* | gh-118760: Fix errors in calling Tkinter bindings on Windows (GH-118782) | Serhiy Storchaka | 2024-05-15 | 2 | -0/+4 |
| | | | | For unknown reasons some arguments for Tkinter binding can be created as a 1-tuple containing a Tcl_Obj when wantobjects is 2. | ||||
* | Remove references to private symbols from zipimport module docstring (GH-119015) | Thomas Grainger | 2024-05-15 | 1 | -3/+1 |
| | |||||
* | gh-118486: Simplify test_win32_mkdir_700 to check the exact ACL (GH-119056) | Steve Dower | 2024-05-15 | 2 | -16/+9 |
| | |||||
* | 3.13 What's New: Add PEP 702 (#118922) | Jelle Zijlstra | 2024-05-15 | 1 | -0/+3 |
| | | | | | I honestly forgot this slipped into 3.13, but I think it's worth highlighting more, as it is a PEP-sized change that makes the type system significantly more powerful. @Yhg1s I think it's also worth mentioning in your release announcements. | ||||
* | GH-74033: Drop deprecated `pathlib.Path` keyword arguments (#118793) | Barney Gale | 2024-05-14 | 4 | -9/+5 |
| | | | | Remove support for supplying keyword arguments to `pathlib.Path()`. This has been deprecated since Python 3.12. | ||||
* | GH-101357: Suppress `OSError` from `pathlib.Path.exists()` and `is_*()` ↵ | Barney Gale | 2024-05-14 | 5 | -125/+92 |
| | | | | | | | | (#118243) Suppress all `OSError` exceptions from `pathlib.Path.exists()` and `is_*()` rather than a selection of more common errors as we do presently. Also adjust the implementations to call `os.path.exists()` etc, which are much faster on Windows thanks to GH-101196. | ||||
* | gh-118928: sqlite3: disallow sequences of params with named placeholders ↵ | Erlend E. Aasland | 2024-05-14 | 4 | -8/+10 |
| | | | | | | | | (#118929) Follow-up of gh-101693. The previous DeprecationWarning is replaced with raising sqlite3.ProgrammingError. Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | ||||
* | Misc improvements to the itertools docs (gh-119040) | Raymond Hettinger | 2024-05-14 | 1 | -35/+26 |
| | |||||
* | typing tests: remove some unnecessary uses of `exec()` (#119005) | Alex Waygood | 2024-05-14 | 1 | -19/+9 |
| | |||||
* | Add yet few cases for urlparse/urlunparse roundtrip tests (GH-119031) | Serhiy Storchaka | 2024-05-14 | 1 | -0/+17 |
| | | | Add yet few cases for urlparse/urlunparse tests | ||||
* | gh-67693: Fix urlunparse() and urlunsplit() for URIs with path starting with ↵ | Serhiy Storchaka | 2024-05-14 | 3 | -4/+70 |
| | | | | multiple slashes and no authority (GH-113563) | ||||
* | GH-118836: Fix JIT build error when SHT_NOTE section is present (GH-119000) | Michał Górny | 2024-05-13 | 2 | -0/+3 |
| | |||||
* | gh-118998: Handle errors correctly in `tmtotuple` in `timemodule` (#118999) | Nikita Sobolev | 2024-05-13 | 1 | -10/+17 |
| |