Author methane
Recipients methane
Date 2017-10-03.11:00:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507028430.84.0.213398074469.issue31671@psf.upfronthosting.co.za>
In-reply-to
Content
flags exposed by re module are IntFlag from Python 3.4.

Since it is passed to underlying sre_parse and sre_compile,
tests in loop (e.g. `flags & SRE_FLAG_IGNORECASE`) calls
IntFlag.__and__ and creates new instance everytime.

It makes re.compile() slower.
History
Date User Action Args
2017-10-03 11:00:30methanesetrecipients: + methane
2017-10-03 11:00:30methanesetmessageid: <1507028430.84.0.213398074469.issue31671@psf.upfronthosting.co.za>
2017-10-03 11:00:30methanelinkissue31671 messages
2017-10-03 11:00:30methanecreate