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 barry, jaraco
Date 2020-09-24.20:30:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Scott J. reports in an e-mail:

When upgrading to Python 3.8.2, we noticed two issues in
importlib.metadata which are not present in importlib_metadata.

1.  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.

2.  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
and backported to 3.9
However, the backport for Python 3.8 was **not** merged
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
Date User Action Args
2020-09-24 20:30:47jaracosetrecipients: + jaraco, barry
2020-09-24 20:30:47jaracosetmessageid: <>
2020-09-24 20:30:47jaracolinkissue41855 messages
2020-09-24 20:30:46jaracocreate