[issue42137] Prefer using __spec__ over module_repr() for ModuleType.__repr__
Brett Cannon
report at bugs.python.org
Wed Mar 24 11:27:04 EDT 2021
Brett Cannon <brett at python.org> added the comment:
New changeset 9cb31d671646a5ff0901f79d2d61022621447190 by Brett Cannon in branch 'master':
bpo-42137: have ModuleType.__repr__ prefer __spec__ over module_repr() (GH-24953)
https://github.com/python/cpython/commit/9cb31d671646a5ff0901f79d2d61022621447190
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42137>
_______________________________________
More information about the Python-bugs-list
mailing list