Skip to content

Run sphinx-lint on Misc/NEWS.d/next/ #108212

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 21, 2023
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ repos:
hooks:
- id: sphinx-lint
args: [--enable=default-role]
files: ^Doc/
files: ^Doc/|^Misc/NEWS.d/next/
types: [rst]
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Check for `linux/limits.h` before including it in `Modules/posixmodule.c`.
Check for ``linux/limits.h`` before including it in ``Modules/posixmodule.c``.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
:opcode:`LOAD_CLOSURE` is now a pseudo-op.
:opcode:`LOAD_CLOSURE` is now a pseudo-op.
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
Specialize :opcode:`LOAD_ATTR` for non-descriptors on the class. Adds
:opcode:`LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES` and :opcode
`LOAD_ATTR_NONDESCRIPTOR_NO_DICT`.
:opcode:`LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES` and :opcode:`LOAD_ATTR_NONDESCRIPTOR_NO_DICT`.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Isolate :mod:`!_decimal` (apply :pep:`687`). Patch by Charlie Zhao.
Isolate :mod:`!_decimal` (apply :pep:`687`). Patch by Charlie Zhao.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Fix potential unaligned memory access on C APIs involving returned sequences
of `char *` pointers within the :mod:`grp` and :mod:`socket` modules. These
of ``char *`` pointers within the :mod:`grp` and :mod:`socket` modules. These
were revealed using a ``-fsaniziter=alignment`` build on ARM macOS. Patch by
Christopher Chavez.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Ensure `gettext(msg)` retrieve translations even if a plural form exists. In
other words: `gettext(msg) == ngettext(msg, '', 1)`.
Ensure ``gettext(msg)`` retrieve translations even if a plural form exists. In
other words: ``gettext(msg) == ngettext(msg, '', 1)``.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Added `asyncio.taskgroups.__all__` to `asyncio.__all__` for export in star imports.
Added ``asyncio.taskgroups.__all__`` to ``asyncio.__all__`` for export in star imports.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Fix crash when calling ``repr`` with a manually constructed SignalDict object.
Patch by Charlie Zhao.
Patch by Charlie Zhao.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Fixed several bugs in zipfile.Path, including: in ``Path.match`, Windows
Fixed several bugs in zipfile.Path, including: in :meth:`zipfile.Path.match`, Windows
separators are no longer honored (and never were meant to be); Fixed
``name``/``suffix``/``suffixes``/``stem`` operations when no filename is
present and the Path is not at the root of the zipfile; Reworked glob for
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Remove import of :mod:``pprint`` from :mod:``sysconfig``.
Remove import of :mod:`pprint` from :mod:`sysconfig`.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Shelves opened with :func:`shelve.open` have a much faster :meth:`clear`
method. Patch by James Cave.
method. Patch by James Cave.
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Fix `doctest.DocTestFinder.find` in presence of class names with special characters. Patch by Gertjan van Zwieten.
Fix :meth:`doctest.DocTestFinder.find` in presence of class names with special
characters. Patch by Gertjan van Zwieten.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Harmonized the pure Python version of OrderedDict with the C version. Now,
both versions set up their internal state in `__new__`. Formerly, the pure
Python version did the set up in `__init__`.
Harmonized the pure Python version of :class:`~collections.OrderedDict` with the C version. Now,
both versions set up their internal state in ``__new__``. Formerly, the pure
Python version did the set up in ``__init__``.