Walter Dörwald <wal...@livinglogic.de> added the comment: Shadowing the real modules `re` and `io` by
from typing import * would indeed be bad, but that argument IMHO doesn't hold for the types `IO`, `TextIO` and `BinaryIO`, yet they are not listed in `typing.__all__`. Is there a reason for that? And if not, could `IO`, `TextIO` and `BinaryIO` be added to `typing.__all__`? ---------- nosy: +doerwalter _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38352> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com