Message275864
| Author |
ethan.furman |
| Recipients |
ethan.furman, gvanrossum, python-dev, rhettinger, serhiy.storchaka |
| Date |
2016年09月11日.21:55:46 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1473630946.84.0.0101328565799.issue28082@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The patch was initially from Serhiy as part of issue23591. So it's safe to say at least one person requested it, and a core dev at that.
I will happily make it two people: as an occasional user of re having the constants be named makes it much easier for me to use; I daresay that is true for other occasional users. IIRC giving names to numbers was one of the motivating factors in having Enum in the first place.
I do agree that RegexFlag is a better name -- I wasn't real happy with Flag but didn't want to miss the cutoff. |
|