Erlend E. Aasland
d8e0e00919
gh-118928: sqlite3: disallow sequences of params with named placeholders ( #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>
2024-05-14 16:10:55 +00:00
Raymond Hettinger
7a97ee570f
Misc improvements to the itertools docs (gh-119040)
2024-05-14 10:18:19 -05:00
Nikita Sobolev
b04c497f18
gh-119010: Adds docs about `__type_params__` to `functools.update_wrapper` ( #119012 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-05-13 20:01:05 +00:00
Nikita Sobolev
b4ca389281
Improve the `rmtree` doc for `dir_fd` param addition in 3.11 ( #118964 )
2024-05-13 05:04:14 -06:00
pochmann3
a705c1e449
Itertools docs: fix parameter names and indentation in Python equivalents (gh-118977)
2024-05-12 16:11:38 -05:00
Nice Zombies
7e894c2f38
Docs: Fix SOURCE_URI ( #118945 )
2024-05-11 05:47:45 -06:00
Hugo van Kemenade
a019347947
gh-118924: Remove `sqlite3.version` and `sqlite3.version_info` ( #118925 )
2024-05-10 20:42:34 +00:00
Barney Gale
f772d0d08a
GH-78707: Drop deprecated `pathlib.PurePath.[is_]relative_to()` arguments ( #118780 )
...
Remove support for supplying additional positional arguments to
`PurePath.relative_to()` and `is_relative_to()`. This has been deprecated
since Python 3.12.
2024-05-10 15:53:46 +00:00
Adam Dangoor
c444362c6e
Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst` (GH-118098)
...
Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst`.
2024-05-10 14:30:42 +00:00
Inada Naoki
7ac933e260
gh-118689: Doc: fix ePub build ( #118690 )
2024-05-10 19:24:02 +09:00
Dobatymo
e85e8deaf3
gh-118209: Add Windows structured exception handling to mmap module (GH-118213)
2024-05-10 10:47:30 +01:00
Xie Yanbo
17a2cc199d
Docs: fix typos in documentation (GH-118815)
2024-05-10 09:11:50 +01:00
Jelle Zijlstra
68fbc00dc8
gh-118851: Default ctx arguments to AST constructors to Load() ( #118854 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-05-09 15:30:14 -07:00
Jelle Zijlstra
35b5eaa176
gh-118767: Improve tests and docs for bool(NotImplemented) ( #118813 )
2024-05-09 13:52:08 +00:00
Nikita Sobolev
da090f1658
gh-118805: Remove type, choices, metavar params of `BooleanOptionalAction` ( #118806 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-05-09 11:46:45 +00:00
Hugo van Kemenade
c68acb1384
gh-118798: Remove deprecated isdst parameter from `email.utils.localtime` ( #118799 )
2024-05-09 03:17:02 -06:00
Raymond Hettinger
e8cbcf4955
GH-101588: Remove deprecated pickle/copy/deepcopy from itertools (gh-118816)
2024-05-09 03:31:47 -05:00
Nikita Sobolev
2f4db5a04d
gh-118803: Remove `ByteString` from `typing` and `collections.abc` ( #118804 )
2024-05-09 00:37:55 +01: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
3c079a0203
gh-118767: Make bool(NotImplemented) raise TypeError ( #118775 )
2024-05-08 11:12:00 -07:00
Jelle Zijlstra
6d419db10c
Fix file extensions for 3.14 Whats New ( #118770 )
2024-05-08 16:40:40 +00:00
Steve Dower
66f8bb76a1
gh-118486: Update docs for CVE-2024-4030 reference (GH-118737)
2024-05-08 15:52:39 +00: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
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
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
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
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
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
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
Sam Gross
60bd111844
Docs: add whatsnew for free-threading ( #118679 )
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2024-05-06 21:48:28 -04:00
Jelle Zijlstra
e0422198fb
gh-117486: Improve behavior for user-defined AST subclasses ( #118212 )
...
Now, such classes will no longer require changes in Python 3.13 in the normal case.
The test suite for robotframework passes with no DeprecationWarnings under this PR.
I also added a new DeprecationWarning for the case where `_field_types` exists
but is incomplete, since that seems likely to indicate a user mistake.
2024-05-06 15:57:27 -07:00
Jelle Zijlstra
8419f01673
gh-118647: Add defaults to typing.Generator and typing.AsyncGenerator ( #118648 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2024-05-06 22:35:06 +00:00
Erlend E. Aasland
325a1da18d
gh-115119: Default to --with-system-libmpdec=yes ( #118539 )
...
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
2024-05-06 21:16:08 +02:00
Petr Viktorin
417dd3aca7
gh-116322: Rename PyModule_ExperimentalSetGIL to PyUnstable_Module_SetGIL (GH-118645)
2024-05-06 18:59:36 +02:00
Kerim Kabirov
3ed3bc379a
GH-115577 Clarify netloc term usage in urllib.parse docs (GH-117632)
2024-05-06 18:55:22 +02:00
Serhiy Storchaka
709ca90a00
gh-118271: Support more options for reading/writing images in Tkinter (GH-118273)
...
* Add PhotoImage.read() to read an image from a file.
* Add PhotoImage.data() to get the image data.
* Add background and grayscale parameters to PhotoImage.write().
2024-05-06 15:06:06 +00:00
Xie Yanbo
fc50f1bdba
Fix typo in Doc/library/asyncio-task.rst (GH-118627)
2024-05-06 08:00:31 -07:00
Serhiy Storchaka
1b639a04ca
gh-118225: Support more options for copying images in Tkinter (GH-118228)
...
* Add the PhotoImage method copy_replace() to copy a region
from one image to other image, possibly with pixel zooming and/or
subsampling.
* Add from_coords parameter to PhotoImage methods copy(), zoom() and subsample().
* Add zoom and subsample parameters to PhotoImage method copy().
2024-05-06 17:33:15 +03:00
Serhiy Storchaka
d6fa1d4bee
gh-66543: Add mimetypes.guess_file_type() (GH-117258)
2024-05-06 15:50:52 +03:00
Alyssa Coghlan
757fd3e010
gh-74929: locals() documentation update for PEP 667 ( #118265 )
...
Documentation wording taken from the
withdrawn PEP 558 (which had switched to the
Python level semantics proposed in PEP 667 prior
to its withdrawal).
2024-05-06 20:06:07 +10:00