Skip to content

Commit 96b2221

Browse files
committed
PEP 583: Fix Sphinx warnings
1 parent 8778a1b commit 96b2221

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

peps/pep-0583.rst

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ implementers.
312312
A happens-before race that's not a sequentially-consistent race
313313
---------------------------------------------------------------
314314

315-
From the POPL paper about the Java memory model [#JMM-popl].
315+
From the POPL paper about the Java memory model [#JMM-popl]_.
316316

317317
Initially, ``x == y == 0``.
318318

@@ -552,7 +552,7 @@ that, and Python may not need those security guarantees anyway.
552552
Restrict reorderings instead of defining happens-before
553553
--------------------------------------------------------
554554

555-
The .NET [#CLR-msdn] and x86 [#x86-model] memory models are based on
555+
The .NET [#CLR-msdn]_ and x86 [#x86-model]_ memory models are based on
556556
defining which reorderings compilers may allow. I think that it's
557557
easier to program to a happens-before model than to reason about all
558558
of the possible reorderings of a program, and it's easier to insert
@@ -784,10 +784,6 @@ References
784784
lots of examples of compiler/processor optimizations and the
785785
strange program behaviors they can produce.
786786
787-
.. [#Cpp0x-memory-model] N2480: A Less Formal Explanation of the
788-
Proposed C++ Concurrency Memory Model, Hans Boehm
789-
(http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2480.html)
790-
791787
.. [#CLR-msdn] Memory Models: Understand the Impact of Low-Lock
792788
Techniques in Multithreaded Apps, Vance Morrison
793789
(http://msdn2.microsoft.com/en-us/magazine/cc163715.aspx)
@@ -804,15 +800,6 @@ References
804800
805801
.. [#slots] __slots__ (http://docs.python.org/ref/slots.html)
806802
807-
.. [#] Alternatives to SC, a thread on the cpp-threads mailing list,
808-
which includes lots of good examples.
809-
(http://www.decadentplace.org.uk/pipermail/cpp-threads/2007-January/001287.html)
810-
811-
.. [#safethread] python-safethread, a patch by Adam Olsen for CPython
812-
that removes the GIL and statically guarantees that all objects
813-
shared between threads are consistently
814-
locked. (http://code.google.com/p/python-safethread/)
815-
816803
817804
Acknowledgements
818805
================

0 commit comments

Comments
 (0)