Skip to content

Commit c1f2b72

Browse files
committed
Merge remote-tracking branch 'upstream/main' into pep773
2 parents b200efd + e2fae95 commit c1f2b72

33 files changed

+2067
-715
lines changed

.github/CODEOWNERS

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ peps/pep-0289.rst @rhettinger
149149
peps/pep-0290.rst @rhettinger
150150
# peps/pep-0291.rst
151151
peps/pep-0292.rst @warsaw
152-
peps/pep-0293.rst @doerwalter
152+
# peps/pep-0293.rst
153153
# peps/pep-0294.rst
154154
# peps/pep-0295.rst
155155
# peps/pep-0296.rst
@@ -262,16 +262,16 @@ peps/pep-0404.rst @warsaw
262262
# peps/pep-0405.rst
263263
peps/pep-0406.rst @ncoghlan
264264
peps/pep-0407.rst @pitrou @birkenfeld @warsaw
265-
peps/pep-0408.rst @ncoghlan @eliben
265+
peps/pep-0408.rst @ncoghlan
266266
peps/pep-0409.rst @ethanfurman
267267
peps/pep-0410.rst @vstinner
268-
peps/pep-0411.rst @ncoghlan @eliben
268+
peps/pep-0411.rst @ncoghlan
269269
peps/pep-0412.rst @markshannon
270270
peps/pep-0413.rst @ncoghlan
271271
peps/pep-0414.rst @mitsuhiko @ncoghlan
272272
peps/pep-0415.rst @benjaminp
273273
peps/pep-0416.rst @vstinner
274-
peps/pep-0417.rst @voidspace
274+
# peps/pep-0417.rst
275275
peps/pep-0418.rst @vstinner
276276
peps/pep-0418/ @vstinner
277277
# peps/pep-0419.rst
@@ -292,7 +292,7 @@ peps/pep-0432.rst @ncoghlan @vstinner @ericsnowcurrently
292292
peps/pep-0433.rst @vstinner
293293
peps/pep-0433/ @vstinner
294294
peps/pep-0434.rst @terryjreedy
295-
peps/pep-0435.rst @warsaw @eliben @ethanfurman
295+
peps/pep-0435.rst @warsaw @ethanfurman
296296
peps/pep-0436.rst @larryhastings
297297
# peps/pep-0437.rst
298298
# peps/pep-0438.rst
@@ -650,8 +650,10 @@ peps/pep-0768.rst @pablogsal
650650
peps/pep-0769.rst @facundobatista
651651
peps/pep-0770.rst @sethmlarson @brettcannon
652652
peps/pep-0771.rst @pradyunsg
653+
peps/pep-0772.rst @warsaw @pradyunsg
653654
peps/pep-0773.rst @zooba
654655
peps/pep-0774.rst @savannahostrowski
656+
peps/pep-0775.rst @encukou
655657
# ...
656658
peps/pep-0777.rst @warsaw
657659
# ...

pep_sphinx_extensions/pep_processor/parsing/pep_banner_directive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from docutils.parsers import rst
77

88
PYPA_SPEC_BASE_URL = "https://packaging.python.org/en/latest/specifications/"
9-
TYPING_SPEC_BASE_URL = "https://typing.readthedocs.io/en/latest/spec/"
9+
TYPING_SPEC_BASE_URL = "https://typing.python.org/en/latest/spec/"
1010

1111

1212
class PEPBanner(rst.Directive):
@@ -113,7 +113,7 @@ class CanonicalTypingSpecBanner(PEPBanner):
113113
admonition_pre_text = admonition_pre_template
114114
admonition_post_text = (
115115
"See the `typing specification update process "
116-
"<https://typing.readthedocs.io/en/latest/spec/meta.html>`__ "
116+
"<https://typing.python.org/en/latest/spec/meta.html>`__ "
117117
"for how to propose changes to the typing spec."
118118
)
119119
css_classes = ["canonical-typing-spec", "sticky-banner"]

peps/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"py3.14": ("https://docs.python.org/3.14/", None),
7676
"python": ("https://docs.python.org/3/", None),
7777
"trio": ("https://trio.readthedocs.io/en/latest/", None),
78-
"typing": ("https://typing.readthedocs.io/en/latest/", None),
78+
"typing": ("https://typing.python.org/en/latest/", None),
7979
}
8080
intersphinx_disabled_reftypes = []
8181

peps/pep-0012.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ You can use
656656
to other Sphinx sites,
657657
such as the `Python documentation <https://docs.python.org/>`_
658658
`packaging.python.org <https://packaging.python.org/>`_,
659-
and `typing.readthedocs.io <https://typing.readthedocs.io/>`_,
659+
and `typing.python.org <https://typing.python.org/>`_,
660660
to easily cross-reference pages, sections and Python/C objects.
661661

662662
For example,

peps/pep-0387.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ several releases:
199199
Changelog
200200
=========
201201

202+
* 2025-Jan-27: Updated to prefer a 5-year deprecation period before removal.
202203
* 2023-Nov-14: Added ``@deprecated`` decorator per :pep:`702`.
203204
* 2023-Jul-03: Added the Soft Deprecation section, as discussed in
204205
`<https://discuss.python.org/t/27957>`__.

peps/pep-0508.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Created: 11-Nov-2015
1010
Post-History: 05-Nov-2015, 16-Nov-2015
1111
Resolution: https://mail.python.org/pipermail/distutils-sig/2015-November/027868.html
1212

13+
.. canonical-pypa-spec:: :ref:`packaging:dependency-specifiers`
14+
1315

1416
Abstract
1517
========

peps/pep-0545.rst

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ to attract and motivate new translators and new translations.
2020
Translated documentation will be hosted on python.org. Examples of
2121
two active translation teams:
2222

23-
* http://docs.python.org/fr/: French
24-
* http://docs.python.org/ja/: Japanese
23+
* https://docs.python.org/fr/: French
24+
* https://docs.python.org/ja/: Japanese
2525

26-
http://docs.python.org/en/ will redirect to http://docs.python.org/.
26+
https://docs.python.org/en/ will redirect to https://docs.python.org/.
2727

2828
Sources of translated documentation will be hosted in the Python
2929
organization on GitHub: https://github.com/python/. Contributors will
@@ -77,22 +77,22 @@ Issue tracker
7777

7878
Considering that issues opened about translations may be written in
7979
the translation language, which can be considered noise but at least
80-
is inconsistent, issues should be placed outside `bugs.python.org
81-
<https://bugs.python.org/>`_ (b.p.o).
80+
is inconsistent, issues should not be placed in the `CPython issue tracker
81+
<https://github.com/python/cpython/issues/>`_.
8282

8383
As all translation must have their own GitHub project (see `Repository
8484
for Po Files`_), they must use the associated GitHub issue tracker.
8585

8686
Considering the noise induced by translation issues redacted in any
87-
languages which may beyond every warnings land in b.p.o, triage will
87+
languages which may beyond every warnings land in the issue tracker, triage will
8888
have to be done. Considering that translations already exist and are
89-
not actually a source of noise in b.p.o, an unmanageable amount of
89+
not actually a source of noise in issue tracker, an unmanageable amount of
9090
work is not to be expected. Considering that Xiang Zhang and Victor
9191
Stinner are already triaging, and Julien Palard is willing to help on
92-
this task, noise on b.p.o is not to be expected.
92+
this task, noise on issue tracker is not to be expected.
9393

9494
Also, language team coordinators (see `Language Team`_) should help
95-
with triaging b.p.o by properly indicating, in the language of the
95+
with triaging the issue tracker by properly indicating, in the language of the
9696
issue author if required, the right issue tracker.
9797

9898

@@ -106,10 +106,10 @@ done in one branch to other branches.
106106
.. note::
107107
Translation memories are a kind of database of previously translated
108108
paragraphs, even removed ones. See also `Sphinx Internationalization
109-
<http://www.sphinx-doc.org/en/stable/intl.html>`_.
109+
<https://www.sphinx-doc.org/en/stable/intl.html>`_.
110110

111-
The three currently stable branches that will be translated are [12]_:
112-
2.7, 3.5, and 3.6. The scripts to build the documentation of older
111+
The newest currently stable branch will be translated and translations
112+
can be propagated to other branches. The scripts to build the documentation of older
113113
branches needs to be modified to support translation [12]_, whereas
114114
these branches now only accept security-only fixes.
115115

@@ -319,6 +319,14 @@ Other tools may be used later like https://pontoon.mozilla.org/
319319
and http://zanata.org/.
320320

321321

322+
python-docs-translations
323+
''''''''''''''''''''''''
324+
325+
The `python-docs-translations GitHub organization <https://github.com/python-docs-translations>`_
326+
is home to several useful translation tools such as the translations
327+
`dashboard <https://github.com/python-docs-translations/dashboard>`_.
328+
329+
322330
Documentation Contribution Agreement
323331
''''''''''''''''''''''''''''''''''''
324332

@@ -363,7 +371,7 @@ Each language team should have one coordinator responsible for:
363371
- Ensure contributors understand and agree with the documentation
364372
contribution agreement.
365373
- Ensure quality (grammar, vocabulary, consistency, filtering spam, ads, …).
366-
- Redirect issues posted on b.p.o to the correct GitHub issue tracker
374+
- Redirect issues posted on issue tracker to the correct GitHub issue tracker
367375
for the language.
368376

369377

@@ -606,10 +614,10 @@ References
606614
(https://git.afpy.org/AFPy/python-docs-fr)
607615
608616
.. [18] French mailing list
609-
(http://lists.afpy.org/mailman/listinfo/traductions)
617+
(https://lists.afpy.org/mailman/listinfo/traductions)
610618
611619
.. [19] Japanese translation
612-
(http://docs.python.jp/3/)
620+
(https://docs.python.jp/3/)
613621
614622
.. [20] Japanese translation on GitHub
615623
(https://github.com/python-doc-ja/python-doc-ja)
@@ -627,10 +635,10 @@ References
627635
(https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language)
628636
629637
.. [25] Документация Python 2.7!
630-
(http://python-lab.ru/documentation/index.html)
638+
(https://python-lab.ru/documentation/index.html)
631639
632640
.. [26] Python-oktató
633-
(http://web.archive.org/web/20170526080729/http://harp.pythonanywhere.com/python_doc/tutorial/index.html)
641+
(https://web.archive.org/web/20170526080729/http://harp.pythonanywhere.com/python_doc/tutorial/index.html)
634642
635643
.. [27] The Python-hu Archives
636644
(https://mail.python.org/pipermail/python-hu/)

peps/pep-0688.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ How to Teach This
349349
=================
350350

351351
We will add notes pointing to ``collections.abc.Buffer`` in appropriate places in the
352-
documentation, such as `typing.readthedocs.io <https://typing.readthedocs.io/en/latest/>`__
352+
documentation, such as `typing.python.org <https://typing.python.org/en/latest/>`__
353353
and the `mypy cheat sheet <https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html>`__.
354354
Type checkers may provide additional pointers in their error messages. For example,
355355
when they encounter a buffer object being passed to a function that

peps/pep-0692.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ This PEP could be linked in the ``typing`` module's documentation. Moreover, a
457457
new section on using ``Unpack`` could be added to the aforementioned docs.
458458
Similar sections could be also added to the
459459
`mypy documentation <https://mypy.readthedocs.io/>`_ and the
460-
`typing RTD documentation <https://typing.readthedocs.io/>`_.
460+
`typing documentation <https://typing.python.org/>`_.
461461

462462
Reference Implementation
463463
========================

peps/pep-0693.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ Actual:
6565
- 3.12.6: Friday, 2024-09-06
6666
- 3.12.7: Tuesday, 2024-10-01
6767
- 3.12.8: Tuesday, 2024-12-03
68+
- 3.12.9: Tuesday, 2025-02-04
6869

6970
Expected:
7071

71-
- 3.12.9: Tuesday, 2025-02-04
7272
- 3.12.10: Tuesday, 2025-04-08
7373

7474
Source-only security fix releases
@@ -81,7 +81,7 @@ Provided irregularly on an as-needed basis until October 2028.
8181

8282
3.12 will receive bugfix updates approximately every 2 months for
8383
approximately 18 months. Some time after the release of 3.13.0 final,
84-
the ninth and final 3.12 bugfix update will be released. After that,
84+
the tenth and final 3.12 bugfix update will be released. After that,
8585
it is expected that security updates (source only) will be released
8686
until 5 years after the release of 3.12.0 final, so until approximately
8787
October 2028.

0 commit comments

Comments
 (0)