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
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='https://github.com/jaraco'closed_at=<Date2021-05-27.01:12:30.519>created_at=<Date2020-09-24.20:30:47.380>labels= ['3.8', 'type-bug', 'library']
title='FastPath.zip_children can give duplicate results on Python 3.8'updated_at=<Date2021-05-27.01:12:30.519>user='https://github.com/jaraco'
When upgrading to Python 3.8.2, we noticed two issues in
importlib.metadata which are not present in importlib_metadata.
FastPath.zip_children() is very slow for large zips. Python 3.8.3
> already has a fix for this
> ([bug]{.ul},
> [changelog]{.ul}),
> which includes merging in importlib_metadata 1.5.0.
FastPath.zip_children() can give duplicate results, causing
> duplicate results in entry_points(). This issue was reported in
> importlib_metadata in March
> ([link]{.ul})
> and fixed in importlib_metadata 1.5.2
> ([changelog]{.ul}).
In June, importlib_metadata 1.6.1 (including the fix for \#2) was merged
into Python
([bug]{.ul}, [PR]{.ul})
and backported to 3.9
([PR]{.ul}).
However, the backport for Python 3.8 was **not** merged
([PR]{.ul}).
Jason said:
Of course this can\'t backport to 3.8; importlib.resources.files
doesn\'t exist there. No problem. Bug fixes will need to be backported
specially if needed.
As far as I can tell, no version of importlib_metadata newer than 1.5.0
has ever been merged into Python 3.8, and so bug \#2 is still present
(tested in 3.8.6rc1). This seems like it falls under the \"bug fixes if
needed\" category. We just need to fix the duplicate entries, as
reported in importlib_metadata. This should be trivial. The diff in
python 3.9 is [here]{.ul}.
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:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: