Author rhettinger
Recipients barry, rhettinger
Date 2017-09-26.02:39:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506393588.79.0.168204074265.issue31580@psf.upfronthosting.co.za>
In-reply-to
Content
ISTM, the whole point is to compile in advance.  When I worked during high frequency trading, that was essential to news trading where you *really* didn't want to pay the compilation cost at the time the regex was used.  This proposal takes away the user's only control over when the regex is compiled. 

FWIW, if a user doesn't explicitly invoke re.compile() and instead uses a straight call to re.search(pattern, s), then the pattern is compiled on first-use and cached for future use.  In other words, we already have a simple and clear way to auto-compile on first use.  I recommend against taking away the only option to specify otherwise.
History
Date User Action Args
2017-09-26 02:39:48rhettingersetrecipients: + rhettinger, barry
2017-09-26 02:39:48rhettingersetmessageid: <1506393588.79.0.168204074265.issue31580@psf.upfronthosting.co.za>
2017-09-26 02:39:48rhettingerlinkissue31580 messages
2017-09-26 02:39:48rhettingercreate