Skip to content

Commit

Permalink
Python 3.14.0a3
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Dec 17, 2024
1 parent b9a492b commit 401bfc6
Show file tree
Hide file tree
Showing 120 changed files with 1,200 additions and 279 deletions.
4 changes: 2 additions & 2 deletions Doc/c-api/long.rst
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
Export API
^^^^^^^^^^
.. versionadded:: next
.. versionadded:: 3.14
.. c:struct:: PyLongLayout
Expand Down Expand Up @@ -769,7 +769,7 @@ PyLongWriter API
The :c:type:`PyLongWriter` API can be used to import an integer.
.. versionadded:: next
.. versionadded:: 3.14
.. c:struct:: PyLongWriter
Expand Down
4 changes: 2 additions & 2 deletions Doc/library/ctypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1964,7 +1964,7 @@ Utility functions

.. availability:: Windows

.. versionadded:: next
.. versionadded:: 3.14


.. function:: cast(obj, type)
Expand Down Expand Up @@ -2825,4 +2825,4 @@ Exceptions

.. availability:: Windows

.. versionadded:: next
.. versionadded:: 3.14
2 changes: 1 addition & 1 deletion Doc/library/errno.rst
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ defined by the module. The specific list of defined symbols is available as

Memory page has hardware error.

.. versionadded:: next
.. versionadded:: 3.14


.. data:: EALREADY
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/select.rst
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ Edge and Level Trigger Polling (epoll) Objects
:const:`EPOLLEXCLUSIVE` was added. It's only supported by Linux Kernel 4.5
or later.

.. versionadded:: next
.. versionadded:: 3.14
:const:`EPOLLWAKEUP` was added. It's only supported by Linux Kernel 3.5
or later.

Expand Down
4 changes: 2 additions & 2 deletions Doc/library/stdtypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4153,7 +4153,7 @@ copying.

Count the number of occurrences of *value*.

.. versionadded:: next
.. versionadded:: 3.14

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

Expand All @@ -4162,7 +4162,7 @@ copying.

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

.. versionadded:: next
.. versionadded:: 3.14

There are also several readonly attributes available:

Expand Down
4 changes: 2 additions & 2 deletions Include/patchlevel.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
#define PY_MINOR_VERSION 14
#define PY_MICRO_VERSION 0
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
#define PY_RELEASE_SERIAL 2
#define PY_RELEASE_SERIAL 3

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

/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
Expand Down
57 changes: 37 additions & 20 deletions Lib/pydoc_data/topics.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Autogenerated by Sphinx on Tue Nov 19 16:52:22 2024
# Autogenerated by Sphinx on Tue Dec 17 11:49:52 2024
# as part of the release process.
topics = {'assert': 'The "assert" statement\n'
'**********************\n'
Expand Down Expand Up @@ -1312,15 +1312,19 @@
'The arguments must either both be numbers, or one argument must be '
'an\n'
'integer and the other must be a sequence. In the former case, the\n'
'numbers are converted to a common type and then multiplied '
'together.\n'
'In the latter case, sequence repetition is performed; a negative\n'
'repetition factor yields an empty sequence.\n'
'numbers are converted to a common real type and then multiplied\n'
'together. In the latter case, sequence repetition is performed; '
'a\n'
'negative repetition factor yields an empty sequence.\n'
'\n'
'This operation can be customized using the special "__mul__()" '
'and\n'
'"__rmul__()" methods.\n'
'\n'
'Changed in version 3.14: If only one operand is a complex number, '
'the\n'
'other operand is converted to a floating-point number.\n'
'\n'
'The "@" (at) operator is intended to be used for matrix\n'
'multiplication. No builtin Python types implement this operator.\n'
'\n'
Expand Down Expand Up @@ -1391,21 +1395,30 @@
'arguments must either both be numbers or both be sequences of the '
'same\n'
'type. In the former case, the numbers are converted to a common '
'type\n'
'and then added together. In the latter case, the sequences are\n'
'real\n'
'type and then added together. In the latter case, the sequences '
'are\n'
'concatenated.\n'
'\n'
'This operation can be customized using the special "__add__()" '
'and\n'
'"__radd__()" methods.\n'
'\n'
'Changed in version 3.14: If only one operand is a complex number, '
'the\n'
'other operand is converted to a floating-point number.\n'
'\n'
'The "-" (subtraction) operator yields the difference of its '
'arguments.\n'
'The numeric arguments are first converted to a common type.\n'
'The numeric arguments are first converted to a common real type.\n'
'\n'
'This operation can be customized using the special "__sub__()" '
'and\n'
'"__rsub__()" methods.\n',
'"__rsub__()" methods.\n'
'\n'
'Changed in version 3.14: If only one operand is a complex number, '
'the\n'
'other operand is converted to a floating-point number.\n',
'bitwise': 'Binary bitwise operations\n'
'*************************\n'
'\n'
Expand Down Expand Up @@ -4561,18 +4574,18 @@
'\n'
'When a description of an arithmetic operator below uses the '
'phrase\n'
'“the numeric arguments are converted to a common type”, this '
'means\n'
'that the operator implementation for built-in types works as '
'“the numeric arguments are converted to a common real type”, '
'this\n'
'means that the operator implementation for built-in types '
'works as\n'
'follows:\n'
'\n'
'* If either argument is a complex number, the other is '
'converted to\n'
' complex;\n'
'* If both arguments are complex numbers, no conversion is '
'performed;\n'
'\n'
'* otherwise, if either argument is a floating-point number, '
'the other\n'
' is converted to floating point;\n'
'* if either argument is a complex or a floating-point number, '
'the\n'
' other is converted to a floating-point number;\n'
'\n'
'* otherwise, both must be integers and no conversion is '
'necessary.\n'
Expand Down Expand Up @@ -7144,8 +7157,12 @@
'trailing zeros are not removed from the result.\n'
'\n'
'The "\',\'" option signals the use of a comma for a '
'thousands separator.\n'
'For a locale aware separator, use the "\'n\'" integer '
'thousands separator\n'
'for floating-point presentation types and for integer '
'presentation\n'
'type "\'d\'". For other presentation types, this option is '
'an error. For\n'
'a locale aware separator, use the "\'n\'" integer '
'presentation type\n'
'instead.\n'
'\n'
Expand Down
Loading

0 comments on commit 401bfc6

Please sign in to comment.