From d30ca5e0a9da30e2605b224fccc56dc22c13fee7 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sat, 11 Jun 2022 12:23:00 +0300 Subject: [PATCH 1/4] PEP 554: Fix broken nathaniel-asyncio citation by converting to inline link --- pep-0554.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pep-0554.rst b/pep-0554.rst index 5c2af7a0991..3f00bd417e7 100644 --- a/pep-0554.rst +++ b/pep-0554.rst @@ -519,7 +519,7 @@ Introducing an API for a new concurrency model, like happened with asyncio, is an extremely large project that requires a lot of careful consideration. It is not something that can be done a simply as this PEP proposes and likely deserves significant time on PyPI to mature. -(See `Nathaniel's post `_ on python-dev.) +(See `Nathaniel's post `_ on python-dev.) However, this PEP does not propose any new concurrency API. At most it exposes minimal tools (e.g. subinterpreters, channels) which may @@ -1706,7 +1706,7 @@ References .. [cache-line-ping-pong] https://mail.python.org/archives/list/python-dev@python.org/message/3HVRFWHDMWPNR367GXBILZ4JJAUQ2STZ/ -.. [nathaniel-asyncio] +.. _nathaniel-asyncio: https://mail.python.org/archives/list/python-dev@python.org/message/TUEAZNZHVJGGLL4OFD32OW6JJDKM6FAS/ .. [extension-docs] From b64404c3526a14eb33fac824723f5bf8b42861d9 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sat, 11 Jun 2022 12:24:55 +0300 Subject: [PATCH 2/4] PEP 554: Fix broken CSP citation --- pep-0554.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pep-0554.rst b/pep-0554.rst index 3f00bd417e7..af261ccb7b6 100644 --- a/pep-0554.rst +++ b/pep-0554.rst @@ -565,7 +565,7 @@ each with different goals. Most center on correctness and usability. One class of concurrency models focuses on isolated threads of execution that interoperate through some message passing scheme. A -notable example is `Communicating Sequential Processes`_ (CSP) (upon +notable example is Communicating Sequential Processes [CSP]_ (upon which Go's concurrency is roughly based). The isolation inherent to subinterpreters makes them well-suited to this approach. @@ -1640,8 +1640,6 @@ References .. [c-api] https://docs.python.org/3/c-api/init.html#sub-interpreter-support -.. _Communicating Sequential Processes: - .. [CSP] https://en.wikipedia.org/wiki/Communicating_sequential_processes https://github.com/futurecore/python-csp From 03f55f0f26e93b2aa5b2eabcb54afee3e6def18d Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sat, 11 Jun 2022 12:25:48 +0300 Subject: [PATCH 3/4] PEP 554: Fix broken extension-docs citation by converting to inline link --- pep-0554.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pep-0554.rst b/pep-0554.rst index af261ccb7b6..5a14b0ab2d7 100644 --- a/pep-0554.rst +++ b/pep-0554.rst @@ -1014,7 +1014,7 @@ the following: A separate page will be added to the docs for resources to help extension maintainers ensure their modules can be used safely in -subinterpreters, under `Extending Python `_. The page +subinterpreters, under `Extending Python `_. The page will include the following information: * a summary about subinterpreters (similar to the same in the new @@ -1707,7 +1707,7 @@ References .. _nathaniel-asyncio: https://mail.python.org/archives/list/python-dev@python.org/message/TUEAZNZHVJGGLL4OFD32OW6JJDKM6FAS/ -.. [extension-docs] +.. _extension-docs: https://docs.python.org/3/extending/index.html From 57099668df25c9994c1701dc8ce306984096c894 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Mon, 13 Jun 2022 21:14:50 +0300 Subject: [PATCH 4/4] PEP 554: Convert orhpaned references to bullets --- pep-0554.rst | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pep-0554.rst b/pep-0554.rst index 5a14b0ab2d7..f0c7d50d723 100644 --- a/pep-0554.rst +++ b/pep-0554.rst @@ -1672,19 +1672,12 @@ References .. [global-atexit] https://bugs.python.org/issue6531 -.. [mp-conn] - https://docs.python.org/3/library/multiprocessing.html#connection-objects - .. [bug-rate] https://mail.python.org/pipermail/python-ideas/2017-September/047094.html .. [benefits] https://mail.python.org/pipermail/python-ideas/2017-September/047122.html -.. [main-thread] - https://mail.python.org/pipermail/python-ideas/2017-September/047144.html - https://mail.python.org/pipermail/python-dev/2017-September/149566.html - .. [reset_globals] https://mail.python.org/pipermail/python-dev/2017-September/149545.html @@ -1710,6 +1703,12 @@ References .. _extension-docs: https://docs.python.org/3/extending/index.html +* mp-conn + https://docs.python.org/3/library/multiprocessing.html#connection-objects + +* main-thread + https://mail.python.org/pipermail/python-ideas/2017-September/047144.html + https://mail.python.org/pipermail/python-dev/2017-September/149566.html Copyright =========