Skip to content

Conversation

AA-Turner
Copy link
Member

@AA-Turner AA-Turner commented Aug 5, 2023

This has been on the to-do list for a while. Diff from current is below, this improves the current RSS file by resolving roles and displaying proper text instead of e.g. :ref:`its corresponding canonical PyPA spec <packaging:direct-url>.

diff --git a/build/peps.rss b/build/peps.rss --- a/build/peps.rss	(revision c71a6b88d553720c93b0a93780721d00831096dc) +++ b/build/peps.rss	(revision 99a78210c14bbd3e8e7a27c89c05dcecd7834ed1) @@ -67,7 +67,7 @@ <item> <title>PEP 713: Callable Modules</title> <link>https://peps.python.org/pep-0713/</link> - <description>Modules are currently not directly callable. Classes can define a __call__ method that makes instance objects callable, but defining a similarly named function in the global module scope has no effect, and that function can only be called by importing or referencing it directly as module.__call__. PEP 562 added support for :meth:`~object.__getattr__` and :meth:`~object.__dir__` for modules, but defining __getattr__ to return a value for __call__ still does not make a module callable.</description> + <description>Modules are currently not directly callable. Classes can define a __call__ method that makes instance objects callable, but defining a similarly named function in the global module scope has no effect, and that function can only be called by importing or referencing it directly as module.__call__. PEP 562 added support for __getattr__() and __dir__() for modules, but defining __getattr__ to return a value for __call__ still does not make a module callable.</description> <author>Amethyst Reese (amethyst at n7.gg)</author> <guid isPermaLink="true">https://peps.python.org/pep-0713/</guid> <pubDate>Thu, 20 Apr 2023 00:00:00 GMT</pubDate> @@ -83,7 +83,7 @@ <item> <title>PEP 710: Recording the provenance of installed packages</title> <link>https://peps.python.org/pep-0710/</link> - <description>This PEP describes a way to record the provenance of installed Python distributions. The record is created by an installer and is available to users in the form of a JSON file provenance_url.json in the .dist-info directory. The mentioned JSON file captures additional metadata to allow recording a URL to a :term:`distribution package` together with the installed distribution hash. This proposal is built on top of PEP 610 following :ref:`its corresponding canonical PyPA spec &lt;packaging:direct-url&gt;` and complements direct_url.json with provenance_url.json for when packages are identified by a name, and optionally a version.</description> + <description>This PEP describes a way to record the provenance of installed Python distributions. The record is created by an installer and is available to users in the form of a JSON file provenance_url.json in the .dist-info directory. The mentioned JSON file captures additional metadata to allow recording a URL to a distribution package together with the installed distribution hash. This proposal is built on top of PEP 610 following its corresponding canonical PyPA spec and complements direct_url.json with provenance_url.json for when packages are identified by a name, and optionally a version.</description> <author>Fridolín Pokorný (fridolin.pokorny at gmail.com)</author> <guid isPermaLink="true">https://peps.python.org/pep-0710/</guid> <pubDate>Mon, 27 Mar 2023 00:00:00 GMT</pubDate>

A


📚 Documentation preview 📚: https://pep-previews--3274.org.readthedocs.build/

@AA-Turner AA-Turner requested a review from a team as a code owner August 5, 2023 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant