Author PJB3005
Recipients PJB3005, docs@python, ezio.melotti, mrabarnett, r.david.murray
Date 2017-09-06.22:43:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I suppose it may be an implementation detail, though I wouldn't be amazed that had enum existed when re was written it'd have been used instead of constant integers at the time. Though I do suppose exposing it fully would add two ways to get the flags which I can see how it would be considered bad.

It's still useful for type checking though, and while I did make a PR to add it to typeshed, that still leaves it in an iffy state and I probably would not be the last person to be confused by it initially.
Date User Action Args
2017-09-06 22:43:21PJB3005setrecipients: + PJB3005, ezio.melotti, mrabarnett, r.david.murray, docs@python
2017-09-06 22:43:21PJB3005setmessageid: <>
2017-09-06 22:43:21PJB3005linkissue31369 messages
2017-09-06 22:43:21PJB3005create