Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Doc/c-api/arg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ the minimal value for the corresponding signed integer type of the same size.
``D`` (:class:`complex`) [Py_complex]
Convert a Python complex number to a C :c:type:`Py_complex` structure.

.. deprecated:: next
.. deprecated:: 3.15

For unsigned integer formats ``B``, ``H``, ``I``, ``k`` and ``K``,
:exc:`DeprecationWarning` is emitted when the value is larger than
Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/bytes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ PyBytesWriter
The :c:type:`PyBytesWriter` API can be used to create a Python :class:`bytes`
object.

.. versionadded:: next
.. versionadded:: 3.15

.. c:type:: PyBytesWriter

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/complex.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Complex Number Objects

The complex number value, using the C :c:type:`Py_complex` representation.

.. deprecated-removed:: next 3.20
.. deprecated-removed:: 3.15 3.20
Use :c:func:`PyComplex_AsCComplex` and
:c:func:`PyComplex_FromCComplex` to convert a
Python complex number to/from the C :c:type:`Py_complex`
Expand Down
4 changes: 2 additions & 2 deletions Doc/c-api/object.rst
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ Object Protocol
This case can arise from forgetting ``NULL`` checks and would delete the
attribute.

.. versionchanged:: next
.. versionchanged:: 3.15
Must not be called with NULL value if an exception is set.


Expand All @@ -226,7 +226,7 @@ Object Protocol
For more details, see :c:func:`PyUnicode_InternFromString`, which may be
used internally to create a key object.

.. versionchanged:: next
.. versionchanged:: 3.15
Must not be called with NULL value if an exception is set.


Expand Down
8 changes: 4 additions & 4 deletions Doc/c-api/stable.rst
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ third-party distributors.
ABI Checking
============

.. versionadded:: next
.. versionadded:: 3.15

Python includes a rudimentary check for ABI compatibility.

Expand Down Expand Up @@ -249,7 +249,7 @@ The full API is described below for advanced use cases.
may lead to crashes.
In particular, it is not safe to examine the raised exception.

.. versionadded:: next
.. versionadded:: 3.15

.. c:macro:: PyABIInfo_VAR(NAME)

Expand All @@ -266,7 +266,7 @@ The full API is described below for advanced use cases.
PyABIInfo_DEFAULT_ABI_VERSION
}

.. versionadded:: next
.. versionadded:: 3.15

.. c:type:: PyABIInfo

Expand Down Expand Up @@ -352,7 +352,7 @@ The full API is described below for advanced use cases.
values of macros such as :c:macro:`Py_LIMITED_API`,
:c:macro:`PY_VERSION_HEX` and :c:macro:`Py_GIL_DISABLED`.

.. versionadded:: next
.. versionadded:: 3.15


.. _limited-api-list:
Expand Down
8 changes: 4 additions & 4 deletions Doc/c-api/sys.rst
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ accessible to C code. They all work with the current interpreter thread's
If the non-existing object should not be treated as a failure, you can use
:c:func:`PySys_GetOptionalAttr` instead.

.. versionadded:: next
.. versionadded:: 3.15

.. c:function:: PyObject *PySys_GetAttrString(const char *name)

Expand All @@ -279,7 +279,7 @@ accessible to C code. They all work with the current interpreter thread's
If the non-existing object should not be treated as a failure, you can use
:c:func:`PySys_GetOptionalAttrString` instead.

.. versionadded:: next
.. versionadded:: 3.15

.. c:function:: int PySys_GetOptionalAttr(PyObject *name, PyObject **result)

Expand All @@ -293,15 +293,15 @@ accessible to C code. They all work with the current interpreter thread's
* Set an exception, set *\*result* to ``NULL``, and return ``-1``,
if an error occurred.

.. versionadded:: next
.. versionadded:: 3.15

.. c:function:: int PySys_GetOptionalAttrString(const char *name, PyObject **result)

This is the same as :c:func:`PySys_GetOptionalAttr`, but *name* is
specified as a :c:expr:`const char*` UTF-8 encoded bytes string,
rather than a :c:expr:`PyObject*`.

.. versionadded:: next
.. versionadded:: 3.15

.. c:function:: PyObject *PySys_GetObject(const char *name)

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/tuple.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Tuple Objects
On success, return a new reference.
On error, set an exception and return ``NULL``.

.. versionadded:: next
.. versionadded:: 3.15


.. c:function:: PyObject* PyTuple_Pack(Py_ssize_t n, ...)
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/_thread.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ This module defines the following constants and functions:
.. versionchanged:: 3.13
Added support for GNU/kFreeBSD.

.. versionchanged:: next
.. versionchanged:: 3.15
Added support for Solaris.


Expand Down
2 changes: 1 addition & 1 deletion Doc/library/ast.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2507,7 +2507,7 @@ and classes for traversing abstract syntax trees:
.. versionchanged:: 3.13
Added the *show_empty* option.

.. versionchanged:: next
.. versionchanged:: 3.15
Omit optional ``Load()`` values by default.


Expand Down
4 changes: 2 additions & 2 deletions Doc/library/calendar.rst
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ The :mod:`calendar` module exports the following data attributes:
in the standalone form if the locale provides one. Else it is equivalent
to :data:`month_name`.

.. versionadded:: next
.. versionadded:: 3.15


.. data:: standalone_month_abbr
Expand All @@ -542,7 +542,7 @@ The :mod:`calendar` module exports the following data attributes:
locale in the standalone form if the locale provides one. Else it is
equivalent to :data:`month_abbr`.

.. versionadded:: next
.. versionadded:: 3.15


.. data:: JANUARY
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/codecs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The full details for each codec can also be looked up directly:
.. versionchanged:: 3.9
Any characters except ASCII letters and digits and a dot are converted to underscore.

.. versionchanged:: next
.. versionchanged:: 3.15
No characters are converted to underscore anymore.
Spaces are converted to hyphens.

Expand Down
2 changes: 1 addition & 1 deletion Doc/library/collections.rst
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ or subtracting from an empty counter.
.. versionadded:: 3.3
Added support for unary plus, unary minus, and in-place multiset operations.

.. versionadded:: next
.. versionadded:: 3.15
Added support for the symmetric difference multiset operation, ``c ^ d``.

.. note::
Expand Down
8 changes: 4 additions & 4 deletions Doc/library/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ Other constructors, all class methods:
:c:func:`localtime` function. Raise :exc:`OSError` instead of
:exc:`ValueError` on :c:func:`localtime` failure.

.. versionchanged:: next
.. versionchanged:: 3.15
Accepts any real number as *timestamp*, not only integer or float.


Expand Down Expand Up @@ -1023,7 +1023,7 @@ Other constructors, all class methods:
.. versionchanged:: 3.6
:meth:`fromtimestamp` may return instances with :attr:`.fold` set to 1.

.. versionchanged:: next
.. versionchanged:: 3.15
Accepts any real number as *timestamp*, not only integer or float.


Expand Down Expand Up @@ -1067,7 +1067,7 @@ Other constructors, all class methods:

Use :meth:`datetime.fromtimestamp` with :const:`UTC` instead.

.. versionchanged:: next
.. versionchanged:: 3.15
Accepts any real number as *timestamp*, not only integer or float.


Expand Down Expand Up @@ -2641,7 +2641,7 @@ differences between platforms in handling of unsupported format specifiers.
.. versionadded:: 3.12
``%:z`` was added for :meth:`~.datetime.strftime`

.. versionadded:: next
.. versionadded:: 3.15
``%:z`` was added for :meth:`~.datetime.strptime`

Technical Detail
Expand Down
4 changes: 2 additions & 2 deletions Doc/library/dbm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ or any other SQLite browser, including the SQLite CLI.
While reorganizing, as much as two times the size of the original database is required
in free disk space. However, be aware that this factor changes for each :mod:`dbm` submodule.

.. versionadded:: next
.. versionadded:: 3.15


:mod:`dbm.gnu` --- GNU database manager
Expand Down Expand Up @@ -519,7 +519,7 @@ The :mod:`!dbm.dumb` module defines the following:
While reorganizing, no additional free disk space is required. However, be aware
that this factor changes for each :mod:`dbm` submodule.

.. versionadded:: next
.. versionadded:: 3.15

.. method:: dumbdbm.sync()

Expand Down
2 changes: 1 addition & 1 deletion Doc/library/difflib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ diffs. For comparing directories and files, see also, the :mod:`filecmp` module.

See :ref:`difflib-interface` for a more detailed example.

.. versionchanged:: next
.. versionchanged:: 3.15
Added the *color* parameter.


Expand Down
6 changes: 3 additions & 3 deletions Doc/library/doctest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ from text files and modules with doctests:
The global ``__file__`` is added to the globals provided to doctests loaded
from a text file using :func:`DocFileSuite`.

.. versionchanged:: next
.. versionchanged:: 3.15
Run each example as a :ref:`subtest <subtests>`.


Expand Down Expand Up @@ -1164,7 +1164,7 @@ from text files and modules with doctests:
:func:`DocTestSuite` returns an empty :class:`unittest.TestSuite` if *module*
contains no docstrings instead of raising :exc:`ValueError`.

.. versionchanged:: next
.. versionchanged:: 3.15
Run each example as a :ref:`subtest <subtests>`.

Under the covers, :func:`DocTestSuite` creates a :class:`unittest.TestSuite` out
Expand Down Expand Up @@ -1564,7 +1564,7 @@ DocTestRunner objects
containing *example*. *out* is the output function that was passed to
:meth:`DocTestRunner.run`.

.. versionadded:: next
.. versionadded:: 3.15


.. method:: report_start(out, test, example)
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ The following exceptions are the exceptions that are usually raised.

:meth:`threading.Thread.join` can now raise this exception.

.. versionchanged:: next
.. versionchanged:: 3.15

This exception may be raised when acquiring :meth:`threading.Lock`
or :meth:`threading.RLock`.
Expand Down
4 changes: 2 additions & 2 deletions Doc/library/fcntl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ The module defines the following functions:
Add support of arbitrary :term:`bytes-like objects <bytes-like object>`,
not only :class:`bytes`.

.. versionchanged:: next
.. versionchanged:: 3.15
The size of bytes-like objects is no longer limited to 1024 bytes.


Expand Down Expand Up @@ -187,7 +187,7 @@ The module defines the following functions:
The GIL is always released during a system call.
System calls failing with EINTR are automatically retried.

.. versionchanged:: next
.. versionchanged:: 3.15
The size of not mutated bytes-like objects is no longer
limited to 1024 bytes.

Expand Down
6 changes: 3 additions & 3 deletions Doc/library/gzip.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The module defines the following items:
.. versionchanged:: 3.6
Accepts a :term:`path-like object`.

.. versionchanged:: next
.. versionchanged:: 3.15
The default compression level was reduced to 6 (down from 9).
It is the default level used by most compression tools and a better
tradeoff between speed and performance.
Expand Down Expand Up @@ -186,7 +186,7 @@ The module defines the following items:
Remove the ``filename`` attribute, use the :attr:`~GzipFile.name`
attribute instead.

.. versionchanged:: next
.. versionchanged:: 3.15
The default compression level was reduced to 6 (down from 9).
It is the default level used by most compression tools and a better
tradeoff between speed and performance.
Expand Down Expand Up @@ -216,7 +216,7 @@ The module defines the following items:
The *mtime* parameter now defaults to 0 for reproducible output.
For the previous behaviour of using the current time,
pass ``None`` to *mtime*.
.. versionchanged:: next
.. versionchanged:: 3.15
The default compression level was reduced to 6 (down from 9).
It is the default level used by most compression tools and a better
tradeoff between speed and performance.
Expand Down
6 changes: 3 additions & 3 deletions Doc/library/http.client.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ The module provides the following classes:
.. versionchanged:: 3.7
*blocksize* parameter was added.

.. versionchanged:: next
.. versionchanged:: 3.15
*max_response_headers* parameter was added.


Expand Down Expand Up @@ -114,7 +114,7 @@ The module provides the following classes:
The deprecated *key_file*, *cert_file* and *check_hostname* parameters
have been removed.

.. versionchanged:: next
.. versionchanged:: 3.15
*max_response_headers* parameter was added.


Expand Down Expand Up @@ -429,7 +429,7 @@ HTTPConnection Objects
The maximum number of allowed response headers to help prevent denial-of-service
attacks. By default, the maximum number of allowed headers is set to 100.

.. versionadded:: next
.. versionadded:: 3.15


As an alternative to using the :meth:`~HTTPConnection.request` method described above, you can
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/http.cookies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ in a cookie name (as :attr:`~Morsel.key`).
.. versionchanged:: 3.3
Allowed '``:``' as a valid cookie name character.

.. versionchanged:: next
.. versionchanged:: 3.15
Allowed '``"``' as a valid cookie value character.

.. note::
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/imaplib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ An :class:`IMAP4` instance has the following methods:
the password. Will only work if the server ``CAPABILITY`` response includes the
phrase ``AUTH=CRAM-MD5``.

.. versionchanged:: next
.. versionchanged:: 3.15
An :exc:`IMAP4.error` is raised if MD5 support is not available.


Expand Down
4 changes: 2 additions & 2 deletions Doc/library/locale.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The :mod:`locale` module defines the following exception and functions:
specified in the :envvar:`LANG` environment variable). If the locale is not
changed thereafter, using multithreading should not cause problems.

.. versionchanged:: next
.. versionchanged:: 3.15
Support language codes with ``@``-modifiers.


Expand Down Expand Up @@ -374,7 +374,7 @@ The :mod:`locale` module defines the following exception and functions:
determined.
The "C" locale is represented as ``(None, None)``.

.. versionchanged:: next
.. versionchanged:: 3.15
``@``-modifier are no longer silently removed, but included in
the language code.

Expand Down
Loading
Loading