[issue26120] pydoc: move __future__ imports out of the DATA block
Serhiy Storchaka
report at bugs.python.org
Sat Mar 26 15:59:17 EDT 2022
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
I am positive about this idea, but we must also think about the possible negative consequences. For example, the future annotations will be included in the star-import by default and can override some global names. The fact that some names not visible in the module help can override global names can be confusing.
I think it should be discussed with a wider auditory.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue26120>
_______________________________________
More information about the Python-bugs-list
mailing list