Hugo van Kemenade
c68acb1384
gh-118798: Remove deprecated isdst parameter from `email.utils.localtime` ( #118799 )
2024-05-09 03:17:02 -06:00
Nikita Sobolev
fa9b9cb113
gh-118033: Fix `__weakref__` not set for generic dataclasses ( #118099 )
2024-05-09 11:36:17 +03:00
Raymond Hettinger
e8cbcf4955
GH-101588: Remove deprecated pickle/copy/deepcopy from itertools (gh-118816)
2024-05-09 03:31:47 -05:00
Kirill Podoprigora
027e6d88fb
[tests]: Mark ``test_statistics.test_kde_random`` with a ``requires_resource('cpu')`` decorator ( #118801 )
...
Mark test_kde_random with a requires_resource('cpu') decorator
2024-05-09 11:16:37 +03:00
Nikita Sobolev
2f4db5a04d
gh-118803: Remove `ByteString` from `typing` and `collections.abc` ( #118804 )
2024-05-09 00:37:55 +01:00
mpage
cb6f75a32c
gh-117657: Fix data races when writing / reading `ob_gc_bits` ( #118292 )
...
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.
2024-05-08 16:03:39 -04:00
Yutian Li
8d84120b41
Fixing a typo in test_cmd_line.py ( #118728 )
2024-05-08 19:58:48 +00:00
Serhiy Storchaka
05c2fe1acd
Format None, True, False and NotImplemented as literals (GH-118758)
2024-05-08 22:35:16 +03:00
Ned Batchelder
bcb435ee8f
docs: module page titles should not start with a link to themselves ( #117099 )
2024-05-08 20:34:40 +01:00
Xie Yanbo
7b0c247f1c
Docs: fix typos in documentation ( #118752 )
2024-05-08 12:20:40 -06:00
Jelle Zijlstra
c68311df85
Run CI on the 3.13 branch ( #118779 )
2024-05-08 18:12:36 +00:00
Jelle Zijlstra
3c079a0203
gh-118767: Make bool(NotImplemented) raise TypeError ( #118775 )
2024-05-08 11:12:00 -07:00
Jelle Zijlstra
aac6b019fe
gh-118772: Allow TypeVars without a default to follow those with a default when constructing aliases ( #118774 )
2024-05-08 09:54:51 -07:00
Jelle Zijlstra
6d419db10c
Fix file extensions for 3.14 Whats New ( #118770 )
2024-05-08 16:40:40 +00:00
Kirill Podoprigora
ed2b0fb044
Update Windows library names for the Python version bump ( #118766 )
2024-05-08 16:00:38 +00:00
Steve Dower
66f8bb76a1
gh-118486: Update docs for CVE-2024-4030 reference (GH-118737)
2024-05-08 15:52:39 +00:00
T. Wouters
891fd12e52
Regenerate configure for 3.14, which the release script forgot. ( #118765 )
2024-05-08 17:29:50 +02:00
Thomas Wouters
7768ff1e41
Python 3.14.0a0
2024-05-08 16:57:05 +02:00
Thomas Wouters
2268289a47
Python 3.13.0b1
2024-05-08 11:21:00 +02:00
trag1c
c4f9823be2
gh-118671: Updated dead ActiveState links ( #118730 )
...
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
2024-05-08 01:06:38 -06:00
Kirill Podoprigora
fcf52d7cee
Regen ``Doc/requirements-oldest-sphinx.txt`` ( #118736 )
...
Regen dependencies
2024-05-08 08:59:17 +03:00
Tian Gao
e7aec8713f
gh-118746: Fix crash in frame_getlocals and _PyFrame_GetLocals ( #118748 )
...
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.
2024-05-07 17:48:05 -07:00
Tim Peters
2f0a338be6
gh-118610: Centralize power caching in `_pylong.py` ( #118611 )
...
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>
2024-05-07 19:09:09 -05:00
Łukasz Langa
2a85bed89d
Revert to free macOS runners ( #118744 )
2024-05-08 01:40:38 +02:00
Steve Dower
460546529b
gh-118734: Fixes Windows build when Use_TIER2 is unspecified ( #118735 )
2024-05-07 23:01:18 +02:00
T. Wouters
f548855061
gh-109975: Make a rough editorial pass over What's New ( #118711 )
...
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).
2024-05-07 23:00:25 +02:00
Pablo Galindo Salgado
37959e25cb
gh-118518: Check for perf version and not kernel version in test_perf_profiler ( #118640 )
2024-05-07 20:41:07 +01:00
Sam Gross
2c19987db5
gh-118729: Temporarily skip `test_multiprocessing_pool_circular_import` ( #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.
2024-05-07 21:27:28 +02:00
chrysn
f58833ebf8
gh-118650: Document `Enum._repr_*` reservation exclusion (GH-118698)
2024-05-07 11:11:18 -07:00
Pablo Galindo Salgado
b9caa0977c
gh-118518: Improve perf docs ( #118708 )
2024-05-07 17:25:15 +01:00
Pablo Galindo Salgado
a94ac56628
gh-111201: Allow pasted code to contain multiple statements in the REPL ( #118712 )
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2024-05-07 16:01:49 +00:00
Abhinav Upadhyay
26bab423fb
bpo-115773: Use the right variable name based on the field we are trying read ( #118591 )
...
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2024-05-07 14:50:41 +00:00
Lysandros Nikolaou
e5413ec783
gh-118682: Revert forcing str commands, allow class commands in pyrepl ( #118709 )
2024-05-07 14:31:56 +00:00
Jelle Zijlstra
71080b8a0f
gh-118660: Add second type parameter to (Async)ContextManager ( #118681 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-05-07 14:16:05 +00:00
Kerim Kabirov
a855f824a2
Remove Python 3.5 hardcoded version in the tutorial appendix (GH-117612)
2024-05-07 15:28:16 +02:00
Pablo Galindo Salgado
7d90b8aadb
gh-111201: Allow bracketed paste to work (GH-118700)
2024-05-07 12:54:56 +00:00
Nikita Sobolev
ad3d877a12
Remove several unused imports in `_pyrepl` ( #118668 )
2024-05-07 13:43:18 +01:00
Serhiy Storchaka
65f5e586a1
gh-66410: Do not stringify arguments of Tkinter callback (GH-98592)
...
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.
2024-05-07 12:07:32 +00:00
Nikita Sobolev
b60d4c0d53
gh-118090: Improve error message for empty type param brackets (GH-118091)
2024-05-07 14:01:06 +02:00
Hugo van Kemenade
04859228aa
gh-118518: Rename `PYTHONPERFJITSUPPORT` and `-X perfjit` with underscores ( #118693 )
2024-05-07 11:47:21 +00:00
Momo Eissenhauer
48e52fe2c9
gh-118310: Fix documentation for `enum.Enum.__new__` (GH-118311)
...
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)
2024-05-07 13:42:18 +02:00
Alex Waygood
44a9f3db2b
gh-109653: What's new: Note improved import times for several stdlib modules in Python 3.13 ( #118697 )
2024-05-07 11:34:19 +00:00
Alex Waygood
0f8a07d158
gh-118418: Deprecate failing to pass a value to the *type_params* parameter of some private `typing` APIs ( #118695 )
2024-05-07 11:12:28 +00:00
Nice Zombies
6f768b71ba
gh-118119: Re-use `sep` in `posixpath.expanduser()` (GH-118120)
2024-05-07 12:50:40 +02:00
chrysn
1e428426c8
gh-118650: Exclude `_repr_*` methods from Enum's _sunder_ reservation (GH-118651)
2024-05-07 12:35:51 +02:00
Hugo van Kemenade
6cf70678e2
gh-109975: Update 'What's New in Python 3.13' for beta ( #118694 )
2024-05-07 12:35:32 +02:00
Xie Yanbo
9762122235
Fix several typos in documentation (GH-118625)
2024-05-07 09:23:06 +00:00
Youfu Zhang
fe47d9bee3
gh-118314: Fix padding edge case in binascii.a2b_base64 strict mode (GH-118320)
...
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>
2024-05-07 11:18:45 +02:00
mpage
3a6ff1b1d9
gh-117657: Use clang 18 in TSAN builds (GH-118533)
...
Use clang 18 in TSAN builds
We were using clang 14 which is a couple of years old.
2024-05-07 11:04:01 +02:00
wim glenn
b7778d5902
Fix typo inaccuracy in _bootstrap_external.py (GH-118619)
2024-05-07 10:52:48 +02:00