Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | GH-101588: Remove deprecated pickle/copy/deepcopy from itertools (gh-118816) | Raymond Hettinger | 2024-05-09 | 4 | -1294/+8 | |
| | ||||||
* | [tests]: Mark ``test_statistics.test_kde_random`` with a ↵ | Kirill Podoprigora | 2024-05-09 | 1 | -0/+1 | |
| | | | | | ``requires_resource('cpu')`` decorator (#118801) Mark test_kde_random with a requires_resource('cpu') decorator | |||||
* | gh-118803: Remove `ByteString` from `typing` and `collections.abc` (#118804) | Nikita Sobolev | 2024-05-08 | 12 | -114/+14 | |
| | ||||||
* | gh-117657: Fix data races when writing / reading `ob_gc_bits` (#118292) | mpage | 2024-05-08 | 4 | -16/+45 | |
| | | | | | Use relaxed atomics when reading / writing to the field. There are still a few places in the GC where we do not use atomics. Those should be safe as the world is stopped. | |||||
* | Fixing a typo in test_cmd_line.py (#118728) | Yutian Li | 2024-05-08 | 1 | -1/+1 | |
| | ||||||
* | Format None, True, False and NotImplemented as literals (GH-118758) | Serhiy Storchaka | 2024-05-08 | 39 | -83/+85 | |
| | ||||||
* | docs: module page titles should not start with a link to themselves (#117099) | Ned Batchelder | 2024-05-08 | 220 | -443/+440 | |
| | ||||||
* | Docs: fix typos in documentation (#118752) | Xie Yanbo | 2024-05-08 | 4 | -4/+4 | |
| | ||||||
* | Run CI on the 3.13 branch (#118779) | Jelle Zijlstra | 2024-05-08 | 1 | -10/+2 | |
| | ||||||
* | gh-118767: Make bool(NotImplemented) raise TypeError (#118775) | Jelle Zijlstra | 2024-05-08 | 6 | -14/+18 | |
| | ||||||
* | gh-118772: Allow TypeVars without a default to follow those with a default ↵ | Jelle Zijlstra | 2024-05-08 | 3 | -10/+34 | |
| | | | | when constructing aliases (#118774) | |||||
* | Fix file extensions for 3.14 Whats New (#118770) | Jelle Zijlstra | 2024-05-08 | 2 | -0/+1 | |
| | ||||||
* | Update Windows library names for the Python version bump (#118766) | Kirill Podoprigora | 2024-05-08 | 2 | -5/+5 | |
| | ||||||
* | gh-118486: Update docs for CVE-2024-4030 reference (GH-118737) | Steve Dower | 2024-05-08 | 2 | -0/+18 | |
| | ||||||
* | Regenerate configure for 3.14, which the release script forgot. (#118765) | T. Wouters | 2024-05-08 | 1 | -12/+12 | |
| | ||||||
* | Python 3.14.0a0 | Thomas Wouters | 2024-05-08 | 7 | -12/+143 | |
| | ||||||
* | Python 3.13.0b1v3.13.0b1 | Thomas Wouters | 2024-05-08 | 162 | -499/+1861 | |
| | ||||||
* | gh-118671: Updated dead ActiveState links (#118730) | trag1c | 2024-05-08 | 12 | -14/+14 | |
| | | | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> | |||||
* | Regen ``Doc/requirements-oldest-sphinx.txt`` (#118736) | Kirill Podoprigora | 2024-05-08 | 1 | -3/+3 | |
| | | | Regen dependencies | |||||
* | gh-118746: Fix crash in frame_getlocals and _PyFrame_GetLocals (#118748) | Tian Gao | 2024-05-08 | 1 | -0/+18 | |
| | | | | We don't know how to create an unoptimized frame with f_locals == NULL, but they are seen in the wild, and this fixes the crash. | |||||
* | gh-118610: Centralize power caching in `_pylong.py` (#118611) | Tim Peters | 2024-05-08 | 2 | -67/+113 | |
| | | | | | A new `compute_powers()` function computes all and only the powers of the base the various base-conversion functions need, as efficiently as reasonably possible (turns out that invoking `**`is needed at most once). This typically gives a few % speedup, but the primary point is to simplify the base-conversion functions, which no longer need their own, ad hoc, and less efficient power-caching schemes. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | |||||
* | Revert to free macOS runners (#118744) | Łukasz Langa | 2024-05-07 | 1 | -2/+2 | |
| | ||||||
* | gh-118734: Fixes Windows build when Use_TIER2 is unspecified (#118735) | Steve Dower | 2024-05-07 | 4 | -3/+5 | |
| | ||||||
* | gh-109975: Make a rough editorial pass over What's New (#118711) | T. Wouters | 2024-05-07 | 1 | -509/+542 | |
| | | | | | | Make a rough editorial pass over Python 3.13's What's New document. Add the release highlights, remove or merge some duplicated entries, and reorder some of the sections (removals should really go before future deprecations). | |||||
* | gh-118518: Check for perf version and not kernel version in ↵ | Pablo Galindo Salgado | 2024-05-07 | 1 | -6/+12 | |
| | | | | test_perf_profiler (#118640) | |||||
* | gh-118729: Temporarily skip `test_multiprocessing_pool_circular_import` ↵ | Sam Gross | 2024-05-07 | 1 | -1/+4 | |
| | | | | | | | (#118732) The `pool_in_threads.py` test file may crash in free-threaded builds, which can lead to the Tsan test hanging. Skip it for now until we fix the underlying issue. | |||||
* | gh-118650: Document `Enum._repr_*` reservation exclusion (GH-118698) | chrysn | 2024-05-07 | 1 | -1/+7 | |
| | ||||||
* | gh-118518: Improve perf docs (#118708) | Pablo Galindo Salgado | 2024-05-07 | 1 | -22/+48 | |
| | ||||||
* | gh-111201: Allow pasted code to contain multiple statements in the REPL ↵ | Pablo Galindo Salgado | 2024-05-07 | 6 | -9/+33 | |
| | | | | | (#118712) Co-authored-by: Łukasz Langa <lukasz@langa.pl> | |||||
* | bpo-115773: Use the right variable name based on the field we are trying ↵ | Abhinav Upadhyay | 2024-05-07 | 1 | -2/+2 | |
| | | | | | read (#118591) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> | |||||
* | gh-118682: Revert forcing str commands, allow class commands in pyrepl (#118709) | Lysandros Nikolaou | 2024-05-07 | 2 | -3/+16 | |
| | ||||||
* | gh-118660: Add second type parameter to (Async)ContextManager (#118681) | Jelle Zijlstra | 2024-05-07 | 4 | -7/+42 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | Remove Python 3.5 hardcoded version in the tutorial appendix (GH-117612) | Kerim Kabirov | 2024-05-07 | 1 | -2/+2 | |
| | ||||||
* | gh-111201: Allow bracketed paste to work (GH-118700) | Pablo Galindo Salgado | 2024-05-07 | 4 | -0/+61 | |
| | ||||||
* | Remove several unused imports in `_pyrepl` (#118668) | Nikita Sobolev | 2024-05-07 | 2 | -3/+0 | |
| | ||||||
* | gh-66410: Do not stringify arguments of Tkinter callback (GH-98592) | Serhiy Storchaka | 2024-05-07 | 7 | -25/+60 | |
| | | | | | | | | | Callbacks registered in the tkinter module now take arguments as various Python objects (int, float, bytes, tuple), not just str. To restore the previous behavior set tkinter module global wantobject to 1 before creating the Tk object or call the wantobject() method of the Tk object with argument 1. Calling it with argument 2 restores the current default behavior. | |||||
* | gh-118090: Improve error message for empty type param brackets (GH-118091) | Nikita Sobolev | 2024-05-07 | 4 | -800/+1016 | |
| | ||||||
* | gh-118518: Rename `PYTHONPERFJITSUPPORT` and `-X perfjit` with underscores ↵ | Hugo van Kemenade | 2024-05-07 | 8 | -20/+20 | |
| | | | | (#118693) | |||||
* | gh-118310: Fix documentation for `enum.Enum.__new__` (GH-118311) | Momo Eissenhauer | 2024-05-07 | 1 | -5/+7 | |
| | | | | | | | The provided example was incorrect: - The example enum was missing the `int` mixin as implied by the context - The value of `int('1a', 16)` was incorrectly given as 17 (should be 26) | |||||
* | gh-109653: What's new: Note improved import times for several stdlib modules ↵ | Alex Waygood | 2024-05-07 | 1 | -0/+9 | |
| | | | | in Python 3.13 (#118697) | |||||
* | gh-118418: Deprecate failing to pass a value to the *type_params* parameter ↵ | Alex Waygood | 2024-05-07 | 3 | -11/+61 | |
| | | | | of some private `typing` APIs (#118695) | |||||
* | gh-118119: Re-use `sep` in `posixpath.expanduser()` (GH-118120) | Nice Zombies | 2024-05-07 | 1 | -5/+2 | |
| | ||||||
* | gh-118650: Exclude `_repr_*` methods from Enum's _sunder_ reservation ↵ | chrysn | 2024-05-07 | 2 | -1/+6 | |
| | | | | (GH-118651) | |||||
* | gh-109975: Update 'What's New in Python 3.13' for beta (#118694) | Hugo van Kemenade | 2024-05-07 | 6 | -14/+11 | |
| | ||||||
* | Fix several typos in documentation (GH-118625) | Xie Yanbo | 2024-05-07 | 3 | -4/+4 | |
| | ||||||
* | gh-118314: Fix padding edge case in binascii.a2b_base64 strict mode (GH-118320) | Youfu Zhang | 2024-05-07 | 3 | -0/+23 | |
| | | | | | | | Fix an edge case in `binascii.a2b_base64` strict mode, where excessive padding was not detected when no padding is necessary. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com> | |||||
* | gh-117657: Use clang 18 in TSAN builds (GH-118533) | mpage | 2024-05-07 | 1 | -1/+8 | |
| | | | | | Use clang 18 in TSAN builds We were using clang 14 which is a couple of years old. | |||||
* | Fix typo inaccuracy in _bootstrap_external.py (GH-118619) | wim glenn | 2024-05-07 | 1 | -1/+1 | |
| | ||||||
* | gh-62090: Simplify argparse usage formatting (GH-105039) | Ali Hamdan | 2024-05-07 | 3 | -72/+164 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rationale ========= argparse performs a complex formatting of the usage for argument grouping and for line wrapping to fit the terminal width. This formatting has been a constant source of bugs for at least 10 years (see linked issues below) where defensive assertion errors are triggered or brackets and paranthesis are not properly handeled. Problem ======= The current implementation of argparse usage formatting relies on regular expressions to group arguments usage only to separate them again later with another set of regular expressions. This is a complex and error prone approach that caused all the issues linked below. Special casing certain argument formats has not solved the problem. The following are some of the most common issues: - empty `metavar` - mutually exclusive groups with `SUPPRESS`ed arguments - metavars with whitespace - metavars with brackets or paranthesis Solution ======== The following two comments summarize the solution: - https://github.com/python/cpython/issues/82091#issuecomment-1093832187 - https://github.com/python/cpython/issues/77048#issuecomment-1093776995 Mainly, the solution is to rewrite the usage formatting to avoid the group-then-separate approach. Instead, the usage parts are kept separate and only joined together at the end. This allows for a much simpler implementation that is easier to understand and maintain. It avoids the regular expressions approach and fixes the corresponding issues. This closes the following GitHub issues: - #62090 - #62549 - #77048 - #82091 - #89743 - #96310 - #98666 These PRs become obsolete: - #15372 - #96311 | |||||
* | gh-118107: Fix zipimporter ZIP64 handling. (GH-118108) | John Sirois | 2024-05-07 | 7 | -3/+128 | |
| | | | | | | | | | | | | Add missing import to code that handles too large files and offsets. Use list, not tuple, for a mutable sequence. Add tests to prevent similar mistakes. --------- Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org> Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> |