Sebastian Rittau
e406b399f9
[docs] TypeVarTuple default is keyword-only ( #119215 )
2024-05-20 15:31:45 +00:00
David Foster
72d07dd30b
typing docs: Fix formatting issue ( #119210 )
2024-05-20 14:32:51 +00:00
Jelle Zijlstra
697465ff88
marshal docs: Remove reference to "Sun" ( #119161 )
...
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.
2024-05-18 22:15:14 -04:00
Rafael Fontenelle
691429702f
docs: make mimalloc license text literal ( #119046 )
2024-05-18 12:22:54 -04:00
Nice Zombies
0f5e8bed63
gh-119078: Clarify venv tutorial (GH-119129)
2024-05-18 12:44:02 +01:00
Raymond Hettinger
81c3130c51
Minor improvements to the docs for itertools.tee() (gh-119135)
2024-05-18 01:32:34 -05:00
Lysandros Nikolaou
447edb6e98
gh-112066: Fix versionadded in PyDict_SetDefaultRef docs ( #118696 )
2024-05-17 12:10:21 -04:00
Shantanu
17cba55786
gh-108267: Fix object.__setattr__ regression in dataclasses docs ( #119082 )
2024-05-16 09:39:37 -04:00
Rafael Fontenelle
66b73e9724
Use literal syntax in origin property ( #119029 )
2024-05-15 22:13:47 -07:00
Rafael Fontenelle
fb0cf7d140
gh-119009: Add gettext target ( #119006 )
2024-05-15 12:13:52 -06:00
Jelle Zijlstra
ee13797dec
3.13 What's New: Add PEP 702 ( #118922 )
...
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.
2024-05-14 22:39:12 -04:00
Barney Gale
7d8725ac6f
GH-74033: Drop deprecated `pathlib.Path` keyword arguments ( #118793 )
...
Remove support for supplying keyword arguments to `pathlib.Path()`. This
has been deprecated since Python 3.12.
2024-05-14 20:14:07 +00:00
Barney Gale
fbe6a0988f
GH-101357: Suppress `OSError` from `pathlib.Path.exists()` and `is_*()` ( #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.
2024-05-14 17:53:15 +00:00
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