Ethan Furman <et...@stoneleaf.us> added the comment:
I see no reason no prefix `RegexFlag` with an `_`. As far as adding it to `__all__` -- I didn't originally because I was trying to mirror the original implementation, but I am not against it. I would defer that decision to those that work on typing. ---------- assignee: docs@python -> components: -Documentation nosy: +gvanrossum, levkivskyi title: re.RegexFlag is not included in __all__ -> re.RegexFlag is not included in __all__, makes type inference less useful _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31369> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com