This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jaraco
Recipients Anthony Sottile, domdfcoding, jaraco, miss-islington
Date 2021-05-29.09:51:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1622281881.77.0.40958173216.issue44246@roundup.psfhosted.org>
In-reply-to
Content
> The standard library has clear rules regarding how previously working interfaces should be deprecated, and this changeset is violating those. At no point was documented that relying on the list/dict trait of the existing interface is not part of the interface.

Thanks Gábor for chiming in.

A minor correction, the "dict" trait was documented, and compatibility is retained for that trait.

It's only the "list" trait of the less-commonly-used "Distribution.entry_points" that's a concern here, and I've yet to see an example of it being an actual concern. I've already offered to add compatibility if a compelling use case is presented.

> I don't think the importlib libraries are special enough to warrant exclusion from this rule (as opposed let's say the zoneinfo).

The docs do explicitly call out that the module is provisional. https://docs.python.org/3/library/importlib.metadata.html

Still, I believe it's best for this module to honor the stdlib practices as best as possible, and I believe the indicated change does that.
History
Date User Action Args
2021-05-29 09:51:21jaracosetrecipients: + jaraco, Anthony Sottile, miss-islington, domdfcoding
2021-05-29 09:51:21jaracosetmessageid: <1622281881.77.0.40958173216.issue44246@roundup.psfhosted.org>
2021-05-29 09:51:21jaracolinkissue44246 messages
2021-05-29 09:51:21jaracocreate