This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients PJB3005, docs@python, ezio.melotti, mrabarnett, r.david.murray
Date 2017-09-06.22:24:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504736663.49.0.0144158159457.issue31369@psf.upfronthosting.co.za>
In-reply-to
Content
I think RegexFlag is an implementation detail, but it is true that it isn't prefixed with a _ so putting it in __all__ is not obviously wrong.  However, if we do that we should also document it (currently it is mentioned only in a versionchanged line, which isn't technically documenting it).

I find it curious that static typing is affected by __all___, but I don't really know anything about typing.
History
Date User Action Args
2017-09-06 22:24:23r.david.murraysetrecipients: + r.david.murray, ezio.melotti, mrabarnett, docs@python, PJB3005
2017-09-06 22:24:23r.david.murraysetmessageid: <1504736663.49.0.0144158159457.issue31369@psf.upfronthosting.co.za>
2017-09-06 22:24:23r.david.murraylinkissue31369 messages
2017-09-06 22:24:23r.david.murraycreate