Brett Cannon added the comment:

Yeah, which is why it will take a transition to get people to start mucking 
with __spec__ instead of the module attributes for their 
legitimate/questionable needs (although the whole `__name__ == '__main__'` 
idiom means __name__ will never go away while __path__, __package__, 
__loader__, __file__, and __cached__ could all slowly go away).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21762>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to