Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
c88dacb
GH-125413: Move `pathlib.Path.copy()` implementation alongside `Path.…
barneygale Feb 9, 2025
09fe550
gh-129874: improve asyncio tests to use correct internal functions (…
kumaraditya303 Feb 9, 2025
ce0cf7a
gh-129874: improve `test_tasks` in asyncio to use correct internal fu…
kumaraditya303 Feb 9, 2025
f7c7dec
gh-129874: improve test_events to use correct task implementation (#1…
kumaraditya303 Feb 9, 2025
c537301
gh-129892: Doc: Remove unnecessary role directive in graphlib.py (#12…
nikolasavic3 Feb 9, 2025
8f9c6fa
Trigger tail call CI on more files (GH-129906)
Fidget-Spinner Feb 9, 2025
91d9544
gh-126835: Make CFG optimizer skip over NOP's when looking for const …
WolframAlph Feb 9, 2025
cda83ca
gh-129870: Skip test_dump_virtual_tables if SQLite lacks FTS4 support…
erlend-aasland Feb 9, 2025
d05053a
Fix typo in `enum` documentation (#129920)
Viicos Feb 9, 2025
7e6ee50
gh-129603: Don't segfault if sqlite3.Row description is None (#129604)
erlend-aasland Feb 9, 2025
d9bf3c1
gh-68400: Remove outdated 2.7 comment (#129919)
StanFromIreland Feb 10, 2025
2abb6a4
Fix typo in 3.14 `pdb` whatsnew entry (#129886)
Viicos Feb 10, 2025
7246b91
gh-128002: simplify `asyncio.all_tasks` to use `PyList_Extend` instea…
kumaraditya303 Feb 10, 2025
bff4bfe
gh-128002: add fast path for native tasks in `asyncio.all_tasks` (#12…
kumaraditya303 Feb 10, 2025
978211c
gh-126554: correct detection of `gcc` for `TestNullDlsym.test_null_dl…
petermarko Feb 10, 2025
a1a6df2
gh-111178: fix UBSan failures in `Modules/_dbmmodule.c` (#129775)
picnixz Feb 10, 2025
b8f7bdd
gh-129583: update bundled pip to 25.0.1 (#129909)
sbidoul Feb 10, 2025
7c156a6
gh-129143: Fix incorrect documentation for logging.Handler.close(). (…
vsajip Feb 10, 2025
94cd2e0
gh-129289: fix crash when task finalizer is not called in asyncio (#1…
kumaraditya303 Feb 10, 2025
d7672e5
gh-127712: Fix `secure` argument of `logging.handlers.SMTPHandler` (G…
s-hamann Feb 10, 2025
8d9d3e4
gh-46236: Document `PyUnicode_DecodeCodePageStateful` (GH-127934)
Feb 10, 2025
516c70d
Clarify baseline for new interpreter (GH-129972)
Fidget-Spinner Feb 10, 2025
1feaecc
gh-123299: Copyedit "What's New in Python 3.14" (#129970)
hugovk Feb 10, 2025
0dbe543
gh-91132: Update macOS installer to use ncurses 6.5. (#129990)
ned-deily Feb 11, 2025
3a2e7aa
gh-129928: Raise more accurate exception for incorrect sqlite3 UDF cr…
erlend-aasland Feb 11, 2025
3b366a4
gh-129928: Rework sqlite3 error helpers (#129929)
erlend-aasland Feb 11, 2025
12bd15f
gh-129939: Add darkmode support for difflib's comparison pages (#129940)
Wulian233 Feb 11, 2025
1da412e
gh-101100: Docs: Fix some typos in the document (#129988)
Feb 11, 2025
374abde
gh-104400: pygettext: use an AST parser instead of a tokenizer (GH-10…
tomasr8 Feb 11, 2025
247b50d
gh-130004: Revert commit 9e52e55 (GH-130005)
Fidget-Spinner Feb 11, 2025
3b548ad
gh-129980: Include test name in TSAN filename in multiprocess test ru…
colesbury Feb 11, 2025
5cdd6e5
gh-130004: Disable PGO for ceval.c on MSVC for default build (GH-130009)
Fidget-Spinner Feb 11, 2025
3ae9101
Python 3.14.0a5
hugovk Feb 11, 2025
aa81a6f
gh-97850: Update the deprecation warning of `importlib.abc.Loader.loa…
tomasr8 Feb 11, 2025
1c1190a
Post 3.14.0a5
hugovk Feb 11, 2025
53e8e72
Merge branch 'main' of https://github.com/python/cpython
hugovk Feb 11, 2025
00ec781
gh-129244: Only remove the workaround when MSVC has the bugfix (#130011)
mdboom Feb 11, 2025
ed816f1
Remove trailing whitespace in Lib/pydoc_data/topics.py (#130014)
colesbury Feb 11, 2025
f151d27
gh-117657: Enable test_opcache under TSAN (GH-129831)
colesbury Feb 11, 2025
1a8082a
gh-117657: Add test_thread_local_bytecode to TSAN tests (gh-129753)
colesbury Feb 11, 2025
1f233f5
gh-128657: Skip test_get_builtin_constructor when running with --para…
colesbury Feb 11, 2025
a7427f2
gh-129967: Fix race condition in `repr(set)` (gh-129978)
colesbury Feb 11, 2025
06ac157
gh-125746: Delay deprecated `zipimport.zipimporter.load_module` remov…
Wulian233 Feb 11, 2025
b05fa90
gh-128446: Skip Windows CI for Unix build system changes (#128450)
srinivasreddy Feb 12, 2025
555ee43
gh-59149: Setup documentation for IDLE on Linux and add section in Ed…
StanFromIreland Feb 12, 2025
e1b38ea
Update manpage environment variables and command line arguments (#129…
stefanor Feb 12, 2025
469d2e4
gh-129889: Support context manager protocol by contextvars.Token (#12…
asvetlov Feb 12, 2025
3cf68cd
gh-129983: fix data race in compile_template in sre.c (#130015)
tom-pytel Feb 12, 2025
57f45ee
gh-128759: Fix accesses to `tp_version_tag`. (GH-129750)
colesbury Feb 12, 2025
3e222e3
gh-109798: Normalize `_datetime` and `datetime` error messages (#127345)
donbarbos Feb 12, 2025
72f5665
GH-128682: Account for escapes in `DECREF_INPUTS` (GH-129953)
markshannon Feb 12, 2025
11bb08e
GH-129715: Don't project traces that return to an unknown caller (GH-…
brandtbucher Feb 12, 2025
1b27f36
gh-129819: Allow tier2/JIT and tailcall (GH-129820)
Fidget-Spinner Feb 12, 2025
6338530
gh-130050: Fix memory leaks in _testexternalinspection (#130051)
sergey-miryanov Feb 12, 2025
791cdfe
gh-129912: Fix references to `Py_TPFLAGS_MANAGED_DICT` (gh-130044)
isatyamks Feb 12, 2025
e094420
gh-130030: Fix crash on 32-bit Linux with free threading (gh-130043)
colesbury Feb 12, 2025
2dd0188
gh-129693: Suppress `SyntaxWarning` in test_fstring (#129830)
tomasr8 Feb 13, 2025
49b1103
GH-91048: Correct error path in testexternalinspection (#129557)
pablogsal Feb 13, 2025
56eda25
gh-116042: Fix location for SyntaxErrors of invalid escapes in the to…
pablogsal Feb 13, 2025
6fb5138
gh-88535: Improve syntax error for wrongly closed strings (#26633)
pablogsal Feb 13, 2025
f9a7d41
gh-96092: Fix traceback.walk_stack(None) skipping too many frames (#1…
ammaraskar Feb 13, 2025
2a0256f
GH-127432: add cross-build-linux as a required CI job (#129459)
FFY00 Feb 13, 2025
625470a
gh-130025: Correct handling of symlinks during iOS testbed framework …
freakboy3742 Feb 13, 2025
c7a9d06
gh-128002: optimistically remove tasks from linked list when finished…
kumaraditya303 Feb 13, 2025
140e69c
gh-126835: Move const folding of lists & sets from ast_opt.c to flowg…
WolframAlph Feb 13, 2025
1eb3ade
GH-107956: install build-details.json (PEP 739) (#130069)
FFY00 Feb 13, 2025
34c06cc
gh-130048: Reintroduce full LTO as default on Clang (GH-130049)
Fidget-Spinner Feb 13, 2025
c357d69
no-issue: Add free-threading build for TC dispatch (gh-130083)
corona10 Feb 13, 2025
0559339
gh-130019: Fix data race in _PyType_AllocNoTrack (gh-130058)
colesbury Feb 13, 2025
28f5e3d
gh-129984: Mark immortal objects as deferred (#129985)
DinoV Feb 13, 2025
aa28423
Revert "gh-130048: Reintroduce full LTO as default on Clang (GH-13004…
Fidget-Spinner Feb 13, 2025
451f291
gh-128130: Fix unhandled keyboard interrupt data race (gh-129975)
colesbury Feb 13, 2025
07f5e33
Fix a typo in `_localemodule.c` (GH-130085)
johnslavik Feb 13, 2025
05e89c3
GH-115869: Don't JIT zeroed bytes (GH-130023)
brandtbucher Feb 13, 2025
3bd3e09
gh-125331: Allow the parser to activate future imports on the fly (#1…
pablogsal Feb 14, 2025
9d1e668
gh-129911: pygettext: Fix the keyword entry in help output (GH-129914)
tomasr8 Feb 14, 2025
0f20281
gh-107510: gettext: Remove unnecessary tests (GH-127965)
tomasr8 Feb 14, 2025
334589f
gh-126835: Set location for noped out instructions after constant fol…
WolframAlph Feb 14, 2025
fda87c0
CI: Mark the `cross-build-linux` job as skippable (#130113)
ZeroIntensity Feb 14, 2025
6666b38
Correct typo in GH-129623 (#130079)
stefanor Feb 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:
Windows
${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
needs: build-context
if: fromJSON(needs.build-context.outputs.run-tests)
if: fromJSON(needs.build-context.outputs.run-windows-tests)
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -621,6 +621,7 @@ jobs:
- build_wasi
- build_windows
- build_windows_msi
- cross-build-linux
- test_hypothesis
- build_asan
- build_tsan
Expand Down Expand Up @@ -654,10 +655,17 @@ jobs:
build_ubuntu,
build_ubuntu_ssltests,
build_wasi,
build_windows,
build_asan,
build_tsan,
test_hypothesis,
cross-build-linux,
'
|| ''
}}
${{
!fromJSON(needs.build-context.outputs.run-windows-tests)
&& '
build_windows,
'
|| ''
}}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/reusable-context.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ on: # yamllint disable-line rule:truthy
run-tests:
description: Whether to run the regular tests
value: ${{ jobs.compute-changes.outputs.run-tests }} # bool
run-windows-tests:
description: Whether to run the Windows tests
value: ${{ jobs.compute-changes.outputs.run-windows-tests }} # bool
run-windows-msi:
description: Whether to run the MSI installer smoke tests
value: ${{ jobs.compute-changes.outputs.run-windows-msi }} # bool
Expand All @@ -44,6 +47,7 @@ jobs:
run-docs: ${{ steps.changes.outputs.run-docs }}
run-tests: ${{ steps.changes.outputs.run-tests }}
run-windows-msi: ${{ steps.changes.outputs.run-windows-msi }}
run-windows-tests: ${{ steps.changes.outputs.run-windows-tests }}
steps:
- name: Set up Python
uses: actions/setup-python@v5
Expand Down
17 changes: 16 additions & 1 deletion .github/workflows/tail-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ on:
- 'Python/bytecodes.c'
- 'Python/ceval.c'
- 'Python/ceval_macros.h'
- 'Python/generated_cases.c.h'
push:
paths:
- 'Python/bytecodes.c'
- 'Python/ceval.c'
- 'Python/ceval_macros.h'
- 'Python/generated_cases.c.h'
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -39,6 +41,7 @@ jobs:
- aarch64-apple-darwin/clang
- x86_64-unknown-linux-gnu/gcc
- aarch64-unknown-linux-gnu/gcc
- free-threading
llvm:
- 19
include:
Expand All @@ -63,6 +66,9 @@ jobs:
- target: aarch64-unknown-linux-gnu/gcc
architecture: aarch64
runner: ubuntu-22.04-arm
- target: free-threading
architecture: x86_64
runner: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -103,11 +109,20 @@ jobs:
./python.exe -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3

- name: Native Linux (release)
if: runner.os == 'Linux'
if: runner.os == 'Linux' && matrix.target != 'free-threading'
run: |
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
CC=clang-19 ./configure --with-tail-call-interp
make all --jobs 4
./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3

- name: Native Linux with free-threading (release)
if: matrix.target == 'free-threading'
run: |
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" ./llvm.sh ${{ matrix.llvm }}
export PATH="$(llvm-config-${{ matrix.llvm }} --bindir):$PATH"
CC=clang-19 ./configure --with-tail-call-interp --disable-gil
make all --jobs 4
./python -m test --multiprocess 0 --timeout 4500 --verbose2 --verbose3

2 changes: 1 addition & 1 deletion Doc/c-api/bytearray.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Direct API functions
Resize the internal buffer of *bytearray* to *len*.
Failure is a ``-1`` return with an exception set.

.. versionchanged:: next
.. versionchanged:: 3.14
A negative *len* will now result in an exception being set and -1 returned.


Expand Down
8 changes: 4 additions & 4 deletions Doc/c-api/init.rst
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ Process-wide parameters
interpreter will change the contents of this storage.

Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
:c:expr:`wchar_*` string.
:c:expr:`wchar_t*` string.

.. deprecated-removed:: 3.11 3.15

Expand Down Expand Up @@ -852,7 +852,7 @@ Process-wide parameters
directory (``"."``).

Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
:c:expr:`wchar_*` string.
:c:expr:`wchar_t*` string.

See also :c:member:`PyConfig.orig_argv` and :c:member:`PyConfig.argv`
members of the :ref:`Python Initialization Configuration <init-config>`.
Expand Down Expand Up @@ -888,7 +888,7 @@ Process-wide parameters
:option:`-I`.

Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
:c:expr:`wchar_*` string.
:c:expr:`wchar_t*` string.

See also :c:member:`PyConfig.orig_argv` and :c:member:`PyConfig.argv`
members of the :ref:`Python Initialization Configuration <init-config>`.
Expand All @@ -914,7 +914,7 @@ Process-wide parameters
this storage.

Use :c:func:`Py_DecodeLocale` to decode a bytes string to get a
:c:expr:`wchar_*` string.
:c:expr:`wchar_t*` string.

.. deprecated-removed:: 3.11 3.15

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/object.rst
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ Object Protocol
Objects that are immortal in one CPython version are not guaranteed to
be immortal in another.

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

.. c:function:: int PyUnstable_TryIncRef(PyObject *obj)

Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/typeobj.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1830,7 +1830,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
dictionary, so it is may be more efficient to call :c:func:`PyObject_GetAttr`
when accessing an attribute on the object.

It is an error to set both the :c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` bit and
It is an error to set both the :c:macro:`Py_TPFLAGS_MANAGED_DICT` bit and
:c:member:`~PyTypeObject.tp_dictoffset`.

**Inheritance:**
Expand Down
7 changes: 7 additions & 0 deletions Doc/c-api/unicode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1352,6 +1352,13 @@ the user settings on the machine running the codec.
in *consumed*.


.. c:function:: PyObject* PyUnicode_DecodeCodePageStateful(int code_page, const char *str, \
Py_ssize_t size, const char *errors, Py_ssize_t *consumed)

Similar to :c:func:`PyUnicode_DecodeMBCSStateful`, except uses the code page
specified by *code_page*.


.. c:function:: PyObject* PyUnicode_AsMBCSString(PyObject *unicode)

Encode a Unicode object using MBCS and return the result as Python bytes
Expand Down
7 changes: 7 additions & 0 deletions Doc/data/refcounts.dat
Original file line number Diff line number Diff line change
Expand Up @@ -2636,6 +2636,13 @@ PyUnicode_DecodeMBCSStateful:Py_ssize_t:size::
PyUnicode_DecodeMBCSStateful:const char*:errors::
PyUnicode_DecodeMBCSStateful:Py_ssize_t*:consumed::

PyUnicode_DecodeCodePageStateful:PyObject*::+1:
PyUnicode_DecodeCodePageStateful:int:code_page::
PyUnicode_DecodeCodePageStateful:const char*:s::
PyUnicode_DecodeCodePageStateful:Py_ssize_t:size::
PyUnicode_DecodeCodePageStateful:const char*:errors::
PyUnicode_DecodeCodePageStateful:Py_ssize_t*:consumed::

PyUnicode_EncodeCodePage:PyObject*::+1:
PyUnicode_EncodeCodePage:int:code_page::
PyUnicode_EncodeCodePage:PyObject*:unicode:0:
Expand Down
10 changes: 10 additions & 0 deletions Doc/deprecations/pending-removal-in-3.15.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ Pending removal in Python 3.15
* The :option:`!--cgi` flag to the :program:`python -m http.server`
command-line interface has been deprecated since Python 3.13.

* :mod:`importlib`:

* ``load_module()`` method: use ``exec_module()`` instead.

* :class:`locale`:

* The :func:`~locale.getdefaultlocale` function
Expand Down Expand Up @@ -92,3 +96,9 @@ Pending removal in Python 3.15
and :meth:`~wave.Wave_read.getmarkers` methods of
the :class:`~wave.Wave_read` and :class:`~wave.Wave_write` classes
have been deprecated since Python 3.13.

* :mod:`zipimport`:

* :meth:`~zipimport.zipimporter.load_module` has been deprecated since
Python 3.10. Use :meth:`~zipimport.zipimporter.exec_module` instead.
(Contributed by Jiahao Li in :gh:`125746`.)
4 changes: 0 additions & 4 deletions Doc/deprecations/pending-removal-in-future.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ although there is currently no date scheduled for their removal.

* :mod:`importlib`:

* ``load_module()`` method: use ``exec_module()`` instead.
* :func:`~importlib.util.cache_from_source` *debug_override* parameter is
deprecated: use the *optimization* parameter instead.

Expand Down Expand Up @@ -152,6 +151,3 @@ although there is currently no date scheduled for their removal.
:class:`~xml.etree.ElementTree.Element` is deprecated. In a future release it
will always return ``True``. Prefer explicit ``len(elem)`` or
``elem is not None`` tests instead.

* :meth:`zipimport.zipimporter.load_module` is deprecated:
use :meth:`~zipimport.zipimporter.exec_module` instead.
2 changes: 1 addition & 1 deletion Doc/library/asyncio-graph.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ a suspended *future*. These utilities and the underlying machinery
can be used from within a Python program or by external profilers
and debuggers.

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


.. function:: print_call_graph(future=None, /, *, file=None, depth=1, limit=None)
Expand Down
15 changes: 15 additions & 0 deletions Doc/library/contextvars.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,21 @@ Context Variables
the value of the variable to what it was before the corresponding
*set*.

The token supports :ref:`context manager protocol <context-managers>`
to restore the corresponding context variable value at the exit from
:keyword:`with` block::

var = ContextVar('var', default='default value')

with var.set('new value'):
assert var.get() == 'new value'

assert var.get() == 'default value'

.. versionadded:: next

Added support for usage as a context manager.

.. attribute:: Token.var

A read-only property. Points to the :class:`ContextVar` object
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/ctypes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2117,7 +2117,7 @@ Utility functions
executable file. It may be an empty string.

.. availability:: Windows, macOS, iOS, glibc, BSD libc, musl
.. versionadded:: next
.. versionadded:: 3.14

.. function:: FormatError([code])

Expand Down
2 changes: 1 addition & 1 deletion Doc/library/dbm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ The :mod:`!dbm.dumb` module defines the following:
.. method:: dumbdbm.sync()

Synchronize the on-disk directory and data files. This method is called
by the :meth:`Shelve.sync` method.
by the :meth:`shelve.Shelf.sync` method.

.. method:: dumbdbm.close()

Expand Down
2 changes: 1 addition & 1 deletion Doc/library/enum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ Data Types
* the result is a valid *IntFlag*: an *IntFlag* is returned
* the result is not a valid *IntFlag*: the result depends on the :class:`FlagBoundary` setting

The :func:`repr` of unnamed zero-valued flags has changed. It is now:
The :func:`repr` of unnamed zero-valued flags has changed. It is now::

>>> Color(0)
<Color: 0>
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/imaplib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ An :class:`IMAP4` instance has the following methods:
iteration, and public method to remain stable, but should not subclass,
instantiate, compare, or otherwise directly reference the class.

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


.. method:: IMAP4.list([directory[, pattern]])
Expand Down
12 changes: 6 additions & 6 deletions Doc/library/importlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ ABC hierarchy::
:exc:`NotImplementedError`. Functionality provided when
:meth:`exec_module` is available.

.. deprecated:: 3.4
.. deprecated-removed:: 3.4 3.15
The recommended API for loading a module is :meth:`exec_module`
(and :meth:`create_module`). Loaders should implement it instead of
:meth:`load_module`. The import machinery takes care of all the
Expand Down Expand Up @@ -474,7 +474,7 @@ ABC hierarchy::

Implementation of :meth:`Loader.load_module`.

.. deprecated:: 3.4
.. deprecated-removed:: 3.4 3.15
use :meth:`exec_module` instead.


Expand Down Expand Up @@ -521,7 +521,7 @@ ABC hierarchy::

Calls super's ``load_module()``.

.. deprecated:: 3.4
.. deprecated-removed:: 3.4 3.15
Use :meth:`Loader.exec_module` instead.

.. abstractmethod:: get_filename(fullname)
Expand Down Expand Up @@ -610,7 +610,7 @@ ABC hierarchy::

Concrete implementation of :meth:`Loader.load_module`.

.. deprecated:: 3.4
.. deprecated-removed:: 3.4 3.15
Use :meth:`exec_module` instead.

.. method:: get_source(fullname)
Expand Down Expand Up @@ -1020,7 +1020,7 @@ find and load modules.
Concrete implementation of :meth:`importlib.abc.Loader.load_module` where
specifying the name of the module to load is optional.

.. deprecated:: 3.6
.. deprecated-removed:: 3.6 3.15

Use :meth:`importlib.abc.Loader.exec_module` instead.

Expand Down Expand Up @@ -1063,7 +1063,7 @@ find and load modules.
Concrete implementation of :meth:`importlib.abc.Loader.load_module` where
specifying the name of the module to load is optional.

.. deprecated:: 3.6
.. deprecated-removed:: 3.6 3.15

Use :meth:`importlib.abc.Loader.exec_module` instead.

Expand Down
2 changes: 1 addition & 1 deletion Doc/library/inspect.rst
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ attributes (see :ref:`import-mod-attrs` for module attributes):

Add ``__builtins__`` attribute to functions.

.. versionchanged:: next
.. versionchanged:: 3.14

Add ``f_generator`` attribute to frames.

Expand Down
10 changes: 6 additions & 4 deletions Doc/library/logging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -592,10 +592,12 @@ subclasses. However, the :meth:`!__init__` method in subclasses needs to call

.. method:: Handler.close()

Tidy up any resources used by the handler. This version does no output but
removes the handler from an internal list of handlers which is closed when
:func:`shutdown` is called. Subclasses should ensure that this gets called
from overridden :meth:`close` methods.
Tidy up any resources used by the handler. This version does no output
but removes the handler from an internal map of handlers, which is used
for handler lookup by name.

Subclasses should ensure that this gets called from overridden :meth:`close`
methods.


.. method:: Handler.handle(record)
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/os.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,7 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
:meth:`io.BufferedIOBase.readinto`, :meth:`io.BufferedIOBase.read`, or
:meth:`io.TextIOBase.read`

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


.. function:: sendfile(out_fd, in_fd, offset, count)
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/plistlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ This module defines the following functions:

.. function:: dump(value, fp, *, fmt=FMT_XML, sort_keys=True, skipkeys=False, aware_datetime=False)

Write *value* to a plist file. *Fp* should be a writable, binary
Write *value* to a plist file. *fp* should be a writable, binary
file object.

The *fmt* argument specifies the format of the plist file and can be
Expand Down
Loading
Loading