You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
importlib.metadata Entrypoint has a broken _asdict #89056
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2021-12-17.01:06:03.591>created_at=<Date2021-08-11.21:33:03.545>labels= ['type-bug', 'library', '3.11']
title='importlib.metadata Entrypoint has a broken _asdict'updated_at=<Date2021-12-17.01:06:03.590>user='https://github.com/RonnyPfannschmidt'
The change as implemented for importlib_metadata involves refactorings that can't be backported, so the fix will only go into Python 3.11. I'll consider backporting a more selective fix for this issue if it's important, but I suspect there may not be, given that Ronny has reported that he's already migrated to a solution accessing by attribute.
Activity
RonnyPfannschmidt commentedon Aug 11, 2021
due to
the default namedtuple asdict method is broken
instead of returning the fields, recursive objects are returned as
jaraco commentedon Aug 12, 2021
I'll probably fix the issue in importlib_metadata first (python/importlib_metadata#337).
jaraco commentedon Dec 16, 2021
The change as implemented for importlib_metadata involves refactorings that can't be backported, so the fix will only go into Python 3.11. I'll consider backporting a more selective fix for this issue if it's important, but I suspect there may not be, given that Ronny has reported that he's already migrated to a solution accessing by attribute.
jaraco commentedon Dec 16, 2021
New changeset 04deaee by Jason R. Coombs in branch 'main':
bpo-44893: Implement EntryPoint as simple class with attributes. (GH-30150)
04deaee
jaraco commentedon Dec 17, 2021
Expect the fix in 3.11a3.