Skip to content

Commit 401bfc6

Browse files
committed
Python 3.14.0a3
1 parent b9a492b commit 401bfc6

File tree

120 files changed

+1200
-279
lines changed

Some content is hidden

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

120 files changed

+1200
-279
lines changed

Doc/c-api/long.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
657657
Export API
658658
^^^^^^^^^^
659659
660-
.. versionadded:: next
660+
.. versionadded:: 3.14
661661
662662
.. c:struct:: PyLongLayout
663663
@@ -769,7 +769,7 @@ PyLongWriter API
769769
770770
The :c:type:`PyLongWriter` API can be used to import an integer.
771771
772-
.. versionadded:: next
772+
.. versionadded:: 3.14
773773
774774
.. c:struct:: PyLongWriter
775775

Doc/library/ctypes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1964,7 +1964,7 @@ Utility functions
19641964

19651965
.. availability:: Windows
19661966

1967-
.. versionadded:: next
1967+
.. versionadded:: 3.14
19681968

19691969

19701970
.. function:: cast(obj, type)
@@ -2825,4 +2825,4 @@ Exceptions
28252825

28262826
.. availability:: Windows
28272827

2828-
.. versionadded:: next
2828+
.. versionadded:: 3.14

Doc/library/errno.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ defined by the module. The specific list of defined symbols is available as
617617

618618
Memory page has hardware error.
619619

620-
.. versionadded:: next
620+
.. versionadded:: 3.14
621621

622622

623623
.. data:: EALREADY

Doc/library/select.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ Edge and Level Trigger Polling (epoll) Objects
324324
:const:`EPOLLEXCLUSIVE` was added. It's only supported by Linux Kernel 4.5
325325
or later.
326326

327-
.. versionadded:: next
327+
.. versionadded:: 3.14
328328
:const:`EPOLLWAKEUP` was added. It's only supported by Linux Kernel 3.5
329329
or later.
330330

Doc/library/stdtypes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4153,7 +4153,7 @@ copying.
41534153

41544154
Count the number of occurrences of *value*.
41554155

4156-
.. versionadded:: next
4156+
.. versionadded:: 3.14
41574157

41584158
.. method:: index(value, start=0, stop=sys.maxsize, /)
41594159

@@ -4162,7 +4162,7 @@ copying.
41624162

41634163
Raises a :exc:`ValueError` if *value* cannot be found.
41644164

4165-
.. versionadded:: next
4165+
.. versionadded:: 3.14
41664166

41674167
There are also several readonly attributes available:
41684168

Include/patchlevel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
#define PY_MINOR_VERSION 14
2121
#define PY_MICRO_VERSION 0
2222
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
23-
#define PY_RELEASE_SERIAL 2
23+
#define PY_RELEASE_SERIAL 3
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.14.0a2+"
26+
#define PY_VERSION "3.14.0a3"
2727
/*--end constants--*/
2828

2929
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

Lib/pydoc_data/topics.py

Lines changed: 37 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Autogenerated by Sphinx on Tue Nov 19 16:52:22 2024
2+
# Autogenerated by Sphinx on Tue Dec 17 11:49:52 2024
33
# as part of the release process.
44
topics = {'assert': 'The "assert" statement\n'
55
'**********************\n'
@@ -1312,15 +1312,19 @@
13121312
'The arguments must either both be numbers, or one argument must be '
13131313
'an\n'
13141314
'integer and the other must be a sequence. In the former case, the\n'
1315-
'numbers are converted to a common type and then multiplied '
1316-
'together.\n'
1317-
'In the latter case, sequence repetition is performed; a negative\n'
1318-
'repetition factor yields an empty sequence.\n'
1315+
'numbers are converted to a common real type and then multiplied\n'
1316+
'together. In the latter case, sequence repetition is performed; '
1317+
'a\n'
1318+
'negative repetition factor yields an empty sequence.\n'
13191319
'\n'
13201320
'This operation can be customized using the special "__mul__()" '
13211321
'and\n'
13221322
'"__rmul__()" methods.\n'
13231323
'\n'
1324+
'Changed in version 3.14: If only one operand is a complex number, '
1325+
'the\n'
1326+
'other operand is converted to a floating-point number.\n'
1327+
'\n'
13241328
'The "@" (at) operator is intended to be used for matrix\n'
13251329
'multiplication. No builtin Python types implement this operator.\n'
13261330
'\n'
@@ -1391,21 +1395,30 @@
13911395
'arguments must either both be numbers or both be sequences of the '
13921396
'same\n'
13931397
'type. In the former case, the numbers are converted to a common '
1394-
'type\n'
1395-
'and then added together. In the latter case, the sequences are\n'
1398+
'real\n'
1399+
'type and then added together. In the latter case, the sequences '
1400+
'are\n'
13961401
'concatenated.\n'
13971402
'\n'
13981403
'This operation can be customized using the special "__add__()" '
13991404
'and\n'
14001405
'"__radd__()" methods.\n'
14011406
'\n'
1407+
'Changed in version 3.14: If only one operand is a complex number, '
1408+
'the\n'
1409+
'other operand is converted to a floating-point number.\n'
1410+
'\n'
14021411
'The "-" (subtraction) operator yields the difference of its '
14031412
'arguments.\n'
1404-
'The numeric arguments are first converted to a common type.\n'
1413+
'The numeric arguments are first converted to a common real type.\n'
14051414
'\n'
14061415
'This operation can be customized using the special "__sub__()" '
14071416
'and\n'
1408-
'"__rsub__()" methods.\n',
1417+
'"__rsub__()" methods.\n'
1418+
'\n'
1419+
'Changed in version 3.14: If only one operand is a complex number, '
1420+
'the\n'
1421+
'other operand is converted to a floating-point number.\n',
14091422
'bitwise': 'Binary bitwise operations\n'
14101423
'*************************\n'
14111424
'\n'
@@ -4561,18 +4574,18 @@
45614574
'\n'
45624575
'When a description of an arithmetic operator below uses the '
45634576
'phrase\n'
4564-
'“the numeric arguments are converted to a common type”, this '
4565-
'means\n'
4566-
'that the operator implementation for built-in types works as '
4577+
'“the numeric arguments are converted to a common real type”, '
4578+
'this\n'
4579+
'means that the operator implementation for built-in types '
4580+
'works as\n'
45674581
'follows:\n'
45684582
'\n'
4569-
'* If either argument is a complex number, the other is '
4570-
'converted to\n'
4571-
' complex;\n'
4583+
'* If both arguments are complex numbers, no conversion is '
4584+
'performed;\n'
45724585
'\n'
4573-
'* otherwise, if either argument is a floating-point number, '
4574-
'the other\n'
4575-
' is converted to floating point;\n'
4586+
'* if either argument is a complex or a floating-point number, '
4587+
'the\n'
4588+
' other is converted to a floating-point number;\n'
45764589
'\n'
45774590
'* otherwise, both must be integers and no conversion is '
45784591
'necessary.\n'
@@ -7144,8 +7157,12 @@
71447157
'trailing zeros are not removed from the result.\n'
71457158
'\n'
71467159
'The "\',\'" option signals the use of a comma for a '
7147-
'thousands separator.\n'
7148-
'For a locale aware separator, use the "\'n\'" integer '
7160+
'thousands separator\n'
7161+
'for floating-point presentation types and for integer '
7162+
'presentation\n'
7163+
'type "\'d\'". For other presentation types, this option is '
7164+
'an error. For\n'
7165+
'a locale aware separator, use the "\'n\'" integer '
71497166
'presentation type\n'
71507167
'instead.\n'
71517168
'\n'

0 commit comments

Comments
 (0)