Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pep-0001.txt
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,7 @@ an API can replace version 1.

The possible paths of the status of PEPs are as follows:

.. rst-class:: invert-in-dark-mode
.. image:: pep-0001-process_flow.png
:alt: PEP process flow diagram

Expand Down
1 change: 1 addition & 0 deletions pep-0458.txt
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ also indicates the types of keys used to sign each role, and which roles are
trusted to sign for files available on PyPI. The next two sections cover the
details of signing repository files and the types of keys used for each role.

.. rst-class:: invert-in-dark-mode
.. image:: pep-0458-1.png

Figure 1: An overview of the role metadata available on PyPI.
Expand Down
1 change: 1 addition & 0 deletions pep-0480.txt
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ projects are signed by an online key. That is, an attacker is able to corrupt
packages in the minimum security model, but not in the maximum model, without
also compromising a developer's key.

.. rst-class:: invert-in-dark-mode
.. image:: pep-0480-1.png

Figure 1: An overview of the metadata layout in the maximum security model.
Expand Down
2 changes: 2 additions & 0 deletions pep-0495.txt
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ smaller after any transition that creates a fold. The values returned
by ``tzname()`` and ``dst()`` may or may not depend on the value of
the ``fold`` attribute depending on the kind of the transition.

.. rst-class:: invert-in-dark-mode
.. image:: pep-0495-fold-2.png
:align: center
:width: 60%
Expand All @@ -409,6 +410,7 @@ local time that falls in a gap, the rules in effect before the
transition should be used if ``fold=0``. Otherwise, the rules in
effect after the transition should be used.

.. rst-class:: invert-in-dark-mode
.. image:: pep-0495-gap.png
:align: center
:width: 60%
Expand Down
1 change: 1 addition & 0 deletions pep-0525.txt
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ reference implementation introduces three new objects:
methods). Essentially, they control how asynchronous generators are
iterated:

.. rst-class:: invert-in-dark-mode
.. image:: pep-0525-1.png
:align: center
:width: 80%
Expand Down
1 change: 1 addition & 0 deletions pep-0532.txt
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@ The following diagram illustrates the core concepts behind the circuit
breaking protocol (although it glosses over the technical detail of looking
up the special methods via the type rather than the instance):

.. rst-class:: invert-in-dark-mode
.. image:: pep-0532/circuit-breaking-protocol.svg
:alt: diagram of circuit breaking protocol applied to ternary expression

Expand Down
2 changes: 2 additions & 0 deletions pep-0550.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1565,6 +1565,7 @@ coroutine.
Appendix: HAMT Performance Analysis
===================================

.. rst-class:: invert-in-dark-mode
.. figure:: pep-0550-hamt_vs_dict-v2.png
:align: center
:width: 100%
Expand All @@ -1578,6 +1579,7 @@ The above chart demonstrates that:

* ``dict.copy()`` becomes very slow around 100 items.

.. rst-class:: invert-in-dark-mode
.. figure:: pep-0550-lookup_hamt.png
:align: center
:width: 100%
Expand Down
2 changes: 2 additions & 0 deletions pep-0603.rst
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ fairly detailed description of the algorithm as well.
Performance
-----------

.. rst-class:: invert-in-dark-mode
.. figure:: pep-0603-hamt_vs_dict.png
:align: center
:width: 100%
Expand All @@ -309,6 +310,7 @@ The above chart demonstrates that:
* ``dict.copy()`` becomes less efficient when using around
100-200 items.

.. rst-class:: invert-in-dark-mode
.. figure:: pep-0603-lookup_hamt.png
:align: center
:width: 100%
Expand Down
1 change: 1 addition & 0 deletions pep-3147.txt
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ Flow chart

Here is a flow chart describing how modules are loaded:

.. rst-class:: invert-in-dark-mode
.. image:: pep-3147-1.png
:scale: 75

Expand Down
4 changes: 4 additions & 0 deletions pep_sphinx_extensions/pep_theme/static/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@
--colour-inline-code: #333;
--colour-warning: #900;
}

.invert-in-dark-mode {
filter: invert(1);
}