[issue33277] Deprecate __loader__, __package__, __file__, and __cached__ on modules

Irit Katriel report at bugs.python.org
Wed Aug 4 14:07:41 EDT 2021


Irit Katriel <iritkatriel at gmail.com> added the comment:

> We didn't make it stronger since we can't get rid of any of these attributes until Python 2.7 compatibility is no longer a concern.

Maybe this can be revisited now.

----------
nosy: +iritkatriel
versions: +Python 3.11 -Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33277>
_______________________________________


More information about the Python-bugs-list mailing list