Skip to content

Commit a2a0afd

Browse files
authored
PEP 554: Fix citation references (#2644)
* PEP 554: Fix broken nathaniel-asyncio citation by converting to inline link * PEP 554: Fix broken CSP citation * PEP 554: Fix broken extension-docs citation by converting to inline link * PEP 554: Convert orhpaned references to bullets
1 parent 41e1468 commit a2a0afd

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

pep-0554.rst

+11-14
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ Introducing an API for a new concurrency model, like happened with
519519
asyncio, is an extremely large project that requires a lot of careful
520520
consideration. It is not something that can be done a simply as this
521521
PEP proposes and likely deserves significant time on PyPI to mature.
522-
(See `Nathaniel's post <nathaniel-asyncio>`_ on python-dev.)
522+
(See `Nathaniel's post <nathaniel-asyncio_>`_ on python-dev.)
523523

524524
However, this PEP does not propose any new concurrency API. At most
525525
it exposes minimal tools (e.g. subinterpreters, channels) which may
@@ -565,7 +565,7 @@ each with different goals. Most center on correctness and usability.
565565

566566
One class of concurrency models focuses on isolated threads of
567567
execution that interoperate through some message passing scheme. A
568-
notable example is `Communicating Sequential Processes`_ (CSP) (upon
568+
notable example is Communicating Sequential Processes [CSP]_ (upon
569569
which Go's concurrency is roughly based). The isolation inherent to
570570
subinterpreters makes them well-suited to this approach.
571571

@@ -1014,7 +1014,7 @@ the following:
10141014

10151015
A separate page will be added to the docs for resources to help
10161016
extension maintainers ensure their modules can be used safely in
1017-
subinterpreters, under `Extending Python <extension-docs>`_. The page
1017+
subinterpreters, under `Extending Python <extension-docs_>`_. The page
10181018
will include the following information:
10191019

10201020
* a summary about subinterpreters (similar to the same in the new
@@ -1640,8 +1640,6 @@ References
16401640
.. [c-api]
16411641
https://docs.python.org/3/c-api/init.html#sub-interpreter-support
16421642
1643-
.. _Communicating Sequential Processes:
1644-
16451643
.. [CSP]
16461644
https://en.wikipedia.org/wiki/Communicating_sequential_processes
16471645
https://github.com/futurecore/python-csp
@@ -1674,19 +1672,12 @@ References
16741672
.. [global-atexit]
16751673
https://bugs.python.org/issue6531
16761674
1677-
.. [mp-conn]
1678-
https://docs.python.org/3/library/multiprocessing.html#connection-objects
1679-
16801675
.. [bug-rate]
16811676
https://mail.python.org/pipermail/python-ideas/2017-September/047094.html
16821677
16831678
.. [benefits]
16841679
https://mail.python.org/pipermail/python-ideas/2017-September/047122.html
16851680
1686-
.. [main-thread]
1687-
https://mail.python.org/pipermail/python-ideas/2017-September/047144.html
1688-
https://mail.python.org/pipermail/python-dev/2017-September/149566.html
1689-
16901681
.. [reset_globals]
16911682
https://mail.python.org/pipermail/python-dev/2017-September/149545.html
16921683
@@ -1706,12 +1697,18 @@ References
17061697
.. [cache-line-ping-pong]
17071698
https://mail.python.org/archives/list/[email protected]/message/3HVRFWHDMWPNR367GXBILZ4JJAUQ2STZ/
17081699
1709-
.. [nathaniel-asyncio]
1700+
.. _nathaniel-asyncio:
17101701
https://mail.python.org/archives/list/[email protected]/message/TUEAZNZHVJGGLL4OFD32OW6JJDKM6FAS/
17111702

1712-
.. [extension-docs]
1703+
.. _extension-docs:
17131704
https://docs.python.org/3/extending/index.html
17141705

1706+
* mp-conn
1707+
https://docs.python.org/3/library/multiprocessing.html#connection-objects
1708+
1709+
* main-thread
1710+
https://mail.python.org/pipermail/python-ideas/2017-September/047144.html
1711+
https://mail.python.org/pipermail/python-dev/2017-September/149566.html
17151712

17161713
Copyright
17171714
=========

0 commit comments

Comments
 (0)