Skip to content

Conversation

@graingert
Copy link
Contributor

No description provided.

@graingert graingert changed the title entry_points no longer returns a sequence keyed by group remove references to deprecated sequence keyed by group interface Mar 10, 2022

The ``entry_points()`` function returns an ``EntryPoints`` object,
a sequence of all ``EntryPoint`` objects with ``names`` and ``groups``
a collection of all ``EntryPoint`` objects with ``names`` and ``groups``
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the sequence interface is deprecated:

DeprecationWarning: Accessing entry points by index is deprecated. Cast to tuple if needed.

@jaraco
Copy link
Member

jaraco commented Mar 12, 2022

This is great. The terminology was imprecise, and Collection is the right type. Thanks for proposing.

@jaraco jaraco merged commit a6b4e2e into python:main Mar 13, 2022
@graingert graingert deleted the patch-1 branch March 13, 2022 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants