From 8e4df58d37beb23fb17fb40f1d63d08cec569b7d Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Thu, 4 Aug 2022 11:53:29 +0300 Subject: [PATCH 1/5] PEP 550: Remove orphaned references --- pep-0550.rst | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pep-0550.rst b/pep-0550.rst index 0332900737f..742cfc057cf 100644 --- a/pep-0550.rst +++ b/pep-0550.rst @@ -1701,8 +1701,6 @@ References .. [3] https://github.com/numpy/numpy/issues/9444 -.. [4] http://bugs.python.org/issue31179 - .. [5] https://en.wikipedia.org/wiki/Hash_array_mapped_trie .. [6] http://blog.higher-order.net/2010/08/16/assoc-and-clojures-persistenthashmap-part-ii.html @@ -1715,16 +1713,6 @@ References .. [10] https://gist.github.com/1st1/dbe27f2e14c30cce6f0b5fddfc8c437e -.. [11] https://github.com/1st1/cpython/tree/pep550 - -.. [13] https://github.com/MagicStack/uvloop/blob/master/examples/bench/echoserver.py - -.. [14] https://github.com/MagicStack/pgbench - -.. [15] https://github.com/python/performance - -.. [16] https://gist.github.com/1st1/6b7a614643f91ead3edf37c4451a6b4c - .. [17] https://mail.python.org/pipermail/python-ideas/2017-August/046752.html .. [18] https://mail.python.org/pipermail/python-ideas/2017-August/046772.html From a7d8464fc37ff1b805c56f8334cec4419f381081 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Thu, 4 Aug 2022 12:03:15 +0300 Subject: [PATCH 2/5] PEP 550: Remove redundant emacs metadata --- pep-0550.rst | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pep-0550.rst b/pep-0550.rst index 742cfc057cf..9ba5c040e81 100644 --- a/pep-0550.rst +++ b/pep-0550.rst @@ -1752,13 +1752,3 @@ Copyright ========= This document has been placed in the public domain. - - -.. - Local Variables: - mode: indented-text - indent-tabs-mode: nil - sentence-end-double-space: t - fill-column: 70 - coding: utf-8 - End: From 375d9e0f3d25ef9e44c0480b9187698adf59a7ff Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Thu, 4 Aug 2022 12:08:32 +0300 Subject: [PATCH 3/5] PEP 550: Use plaintext literal block for ASCII diagram --- pep-0550.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pep-0550.rst b/pep-0550.rst index 9ba5c040e81..43f7e8a1cd0 100644 --- a/pep-0550.rst +++ b/pep-0550.rst @@ -818,7 +818,9 @@ Implementation Execution context is implemented as an immutable linked list of logical contexts, where each logical context is an immutable weak key mapping. A pointer to the currently active execution context is -stored in the OS thread state:: +stored in the OS thread state: + +.. code-block:: text +-----------------+ | | ec From 26f3eb84d1d8f68ae5893c57ab73f255e9dac308 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Thu, 4 Aug 2022 17:33:31 +0300 Subject: [PATCH 4/5] PEP 550: Update links --- pep-0550.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pep-0550.rst b/pep-0550.rst index 43f7e8a1cd0..61c5b86b306 100644 --- a/pep-0550.rst +++ b/pep-0550.rst @@ -1697,15 +1697,15 @@ Version History References ========== -.. [1] https://blog.golang.org/context +.. [1] https://go.dev/blog/context -.. [2] https://msdn.microsoft.com/en-us/library/system.threading.executioncontext.aspx +.. [2] https://docs.microsoft.com/en-us/dotnet/api/system.threading.executioncontext?redirectedfrom=MSDN&view=net-6.0 .. [3] https://github.com/numpy/numpy/issues/9444 .. [5] https://en.wikipedia.org/wiki/Hash_array_mapped_trie -.. [6] http://blog.higher-order.net/2010/08/16/assoc-and-clojures-persistenthashmap-part-ii.html +.. [6] https://blog.higher-order.net/2010/08/16/assoc-and-clojures-persistenthashmap-part-ii.html .. [7] https://github.com/1st1/cpython/tree/hamt @@ -1739,7 +1739,7 @@ References .. [28] https://docs.python.org/3/library/decimal.html#decimal.Context.abs -.. [29] https://curio.readthedocs.io/en/latest/reference.html#task-local-storage +.. [29] https://web.archive.org/web/20170706074739/https://curio.readthedocs.io/en/latest/reference.html#task-local-storage .. [30] https://docs.atlassian.com/aiolocals/latest/usage.html From 7e3b46f44da5028c1e1667c0c59d2e8d036853f5 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Tue, 9 Aug 2022 08:10:54 +0300 Subject: [PATCH 5/5] PEP 550: Clean up link Co-authored-by: CAM Gerlach --- pep-0550.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pep-0550.rst b/pep-0550.rst index 61c5b86b306..32d0e1496f0 100644 --- a/pep-0550.rst +++ b/pep-0550.rst @@ -1699,7 +1699,7 @@ References .. [1] https://go.dev/blog/context -.. [2] https://docs.microsoft.com/en-us/dotnet/api/system.threading.executioncontext?redirectedfrom=MSDN&view=net-6.0 +.. [2] https://docs.microsoft.com/en-us/dotnet/api/system.threading.executioncontext .. [3] https://github.com/numpy/numpy/issues/9444