Skip to content

Commit 15b216f

Browse files
committed
Python 3.15.0a6
1 parent 936d60d commit 15b216f

File tree

122 files changed

+1543
-446
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+1543
-446
lines changed

Doc/library/base64.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ POST request.
105105

106106
For more information about the strict base64 check, see :func:`binascii.a2b_base64`
107107

108-
.. versionchanged:: next
108+
.. versionchanged:: 3.15
109109
Added the *ignorechars* parameter.
110110

111-
.. deprecated:: next
111+
.. deprecated:: 3.15
112112
Accepting the ``+`` and ``/`` characters with an alternative alphabet
113113
is now deprecated.
114114

@@ -142,7 +142,7 @@ POST request.
142142
``/`` in the standard Base64 alphabet, and return the decoded
143143
:class:`bytes`.
144144

145-
.. deprecated:: next
145+
.. deprecated:: 3.15
146146
Accepting the ``+`` and ``/`` characters is now deprecated.
147147

148148

Doc/library/binascii.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ The :mod:`!binascii` module defines the following functions:
7575
.. versionchanged:: 3.11
7676
Added the *strict_mode* parameter.
7777

78-
.. versionchanged:: next
78+
.. versionchanged:: 3.15
7979
Added the *ignorechars* parameter.
8080

8181

@@ -122,7 +122,7 @@ The :mod:`!binascii` module defines the following functions:
122122

123123
Invalid Ascii85 data will raise :exc:`binascii.Error`.
124124

125-
.. versionadded:: next
125+
.. versionadded:: 3.15
126126

127127

128128
.. function:: b2a_ascii85(data, /, *, foldspaces=False, wrapcol=0, pad=False, adobe=False)
@@ -145,7 +145,7 @@ The :mod:`!binascii` module defines the following functions:
145145
*adobe* controls whether the encoded byte sequence is framed with ``<~``
146146
and ``~>``, which is used by the Adobe implementation.
147147

148-
.. versionadded:: next
148+
.. versionadded:: 3.15
149149

150150

151151
.. function:: a2b_base85(string, /)
@@ -160,7 +160,7 @@ The :mod:`!binascii` module defines the following functions:
160160

161161
Invalid Base85 data will raise :exc:`binascii.Error`.
162162

163-
.. versionadded:: next
163+
.. versionadded:: 3.15
164164

165165

166166
.. function:: b2a_base85(data, /, *, pad=False)
@@ -171,7 +171,7 @@ The :mod:`!binascii` module defines the following functions:
171171
If *pad* is true, the input is padded with ``b'\0'`` so its length is a
172172
multiple of 4 bytes before encoding.
173173

174-
.. versionadded:: next
174+
.. versionadded:: 3.15
175175

176176

177177
.. function:: a2b_z85(string, /)
@@ -188,7 +188,7 @@ The :mod:`!binascii` module defines the following functions:
188188

189189
Invalid Z85 data will raise :exc:`binascii.Error`.
190190

191-
.. versionadded:: next
191+
.. versionadded:: 3.15
192192

193193

194194
.. function:: b2a_z85(data, /, *, pad=False)
@@ -201,7 +201,7 @@ The :mod:`!binascii` module defines the following functions:
201201

202202
See `Z85 specification <https://rfc.zeromq.org/spec/32/>`_ for more information.
203203

204-
.. versionadded:: next
204+
.. versionadded:: 3.15
205205

206206

207207
.. function:: a2b_qp(data, header=False)

Doc/library/contextlib.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ Functions and classes provided:
564564
Raises :exc:`TypeError` instead of :exc:`AttributeError` if *cm*
565565
is not a context manager.
566566

567-
.. versionchanged:: next
567+
.. versionchanged:: 3.15
568568
Added support for arbitrary descriptors :meth:`!__enter__` and
569569
:meth:`!__exit__`.
570570

@@ -586,7 +586,7 @@ Functions and classes provided:
586586
The passed in object is returned from the function, allowing this
587587
method to be used as a function decorator.
588588

589-
.. versionchanged:: next
589+
.. versionchanged:: 3.15
590590
Added support for arbitrary descriptors :meth:`!__exit__`.
591591

592592
.. method:: callback(callback, /, *args, **kwds)
@@ -646,15 +646,15 @@ Functions and classes provided:
646646
Raises :exc:`TypeError` instead of :exc:`AttributeError` if *cm*
647647
is not an asynchronous context manager.
648648

649-
.. versionchanged:: next
649+
.. versionchanged:: 3.15
650650
Added support for arbitrary descriptors :meth:`!__aenter__` and :meth:`!__aexit__`.
651651

652652
.. method:: push_async_exit(exit)
653653

654654
Similar to :meth:`ExitStack.push` but expects either an asynchronous context manager
655655
or a coroutine function.
656656

657-
.. versionchanged:: next
657+
.. versionchanged:: 3.15
658658
Added support for arbitrary descriptors :meth:`!__aexit__`.
659659

660660
.. method:: push_async_callback(callback, /, *args, **kwds)

Doc/library/inspect.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ attributes (see :ref:`import-mod-attrs` for module attributes):
360360

361361
Add ``f_generator`` attribute to frames.
362362

363-
.. versionchanged:: next
363+
.. versionchanged:: 3.15
364364

365365
Add ``gi_state`` attribute to generators, ``cr_state`` attribute to
366366
coroutines, and ``ag_state`` attribute to async generators.

Doc/library/multiprocessing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@ Miscellaneous
12571257

12581258
.. versionadded:: 3.4
12591259

1260-
.. versionchanged:: next
1260+
.. versionchanged:: 3.15
12611261
Added the *on_error* parameter.
12621262

12631263
.. function:: set_start_method(method, force=False)

Doc/library/os.path.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ the :mod:`glob` module.)
120120
.. versionchanged:: 3.6
121121
Accepts a :term:`path-like object`.
122122

123-
.. deprecated:: next
123+
.. deprecated:: 3.15
124124
Deprecated in favor of :func:`os.path.commonpath` for path prefixes.
125125
The :func:`os.path.commonprefix` function is being deprecated due to
126126
having a misleading name and module. The function is not safe to use for

Doc/library/symtable.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ Examining Symbol Tables
184184

185185
Return a tuple containing names of :term:`cell variables <closure variable>` in this table.
186186

187-
.. versionadded:: next
187+
.. versionadded:: 3.15
188188

189189

190190
.. class:: Class
@@ -301,7 +301,7 @@ Examining Symbol Tables
301301

302302
Return ``True`` if the symbol is referenced but not assigned in a nested block.
303303

304-
.. versionadded:: next
304+
.. versionadded:: 3.15
305305

306306
.. method:: is_free_class()
307307

Doc/library/tomllib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ support writing TOML.
1818
.. versionadded:: 3.11
1919
The module was added with support for TOML 1.0.0.
2020

21-
.. versionchanged:: next
21+
.. versionchanged:: 3.15
2222
Added TOML 1.1.0 support.
2323
See the :ref:`What's New <whatsnew315-tomllib-1-1-0>` for details.
2424

Doc/library/urllib.parse.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ or on combining URL components into a URL string.
217217
.. versionchanged:: 3.12
218218
Leading WHATWG C0 control and space characters are stripped from the URL.
219219

220-
.. versionchanged:: next
220+
.. versionchanged:: 3.15
221221
Added the *missing_as_none* parameter.
222222

223223
.. _WHATWG spec: https://url.spec.whatwg.org/#concept-basic-url-parser
@@ -333,7 +333,7 @@ or on combining URL components into a URL string.
333333
By default, *keep_empty* is true if *parts* is the result of the
334334
:func:`urlsplit` call with ``missing_as_none=True``.
335335

336-
.. versionchanged:: next
336+
.. versionchanged:: 3.15
337337
Added the *keep_empty* parameter.
338338

339339

@@ -371,7 +371,7 @@ or on combining URL components into a URL string.
371371
By default, *keep_empty* is true if *parts* is the result of the
372372
:func:`urlparse` call with ``missing_as_none=True``.
373373

374-
.. versionchanged:: next
374+
.. versionchanged:: 3.15
375375
Added the *keep_empty* parameter.
376376

377377

@@ -444,7 +444,7 @@ or on combining URL components into a URL string.
444444
.. versionchanged:: 3.2
445445
Result is a structured object rather than a simple 2-tuple.
446446

447-
.. versionchanged:: next
447+
.. versionchanged:: 3.15
448448
Added the *missing_as_none* parameter.
449449

450450
.. function:: unwrap(url)

Doc/reference/expressions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ See also :pep:`530`.
323323
asynchronous functions. Outer comprehensions implicitly become
324324
asynchronous.
325325

326-
.. versionchanged:: next
326+
.. versionchanged:: 3.15
327327
Unpacking with the ``*`` operator is now allowed in the expression.
328328

329329

@@ -455,7 +455,7 @@ prevails.
455455
the key. Starting with 3.8, the key is evaluated before the value, as
456456
proposed by :pep:`572`.
457457

458-
.. versionchanged:: next
458+
.. versionchanged:: 3.15
459459
Unpacking with the ``**`` operator is now allowed in dictionary comprehensions.
460460

461461
.. _genexpr:

0 commit comments

Comments
 (0)