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 methane
Recipients Anthony Sottile, Eric Wieser, eric.snow, methane, ncoghlan, wolma
Date 2020-01-20.08:23:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579508614.59.0.042357511897.issue29258@roundup.psfhosted.org>
In-reply-to
Content
> PEP420 makes __init__.py files optional

This is almost wrong.  PEP 420 added a new way for "namespace pacakge."
PEP 420 doesn't make empty __init__.py file in regular package.

(See https://dev.to/methane/don-t-omit-init-py-3hga)

Then, should pkgutil.walk_packages walk into all directories (e.g.  node_modules) ?  I don't think so.
History
Date User Action Args
2020-01-20 08:23:34methanesetrecipients: + methane, ncoghlan, eric.snow, wolma, Anthony Sottile, Eric Wieser
2020-01-20 08:23:34methanesetmessageid: <1579508614.59.0.042357511897.issue29258@roundup.psfhosted.org>
2020-01-20 08:23:34methanelinkissue29258 messages
2020-01-20 08:23:34methanecreate