R. David Murray added the comment:
I agree that this is inconsistent. It might be quite tricky to fix, though,
unless we special case file.endswith('__init__.py'), which feels like a hack.
But maybe it is appropriate.
----------
nosy: +r.david.murray
versions: +Python 3.6
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue27578>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com