Guido van Rossum added the comment: I'm no expert on pydoc, but I don't think it should be a reason to keep these two names in __all__; __all__ is there primarily to guide "import *" and it's clear that "from typing import *" overwriting a previously-imported re or io module is a bad idea.
But maybe pydoc just needs to learn to look for another variable in addition to __all__? Maybe __alldoc__? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26234> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com