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 ezio.melotti
Recipients barry, ezio.melotti, r.david.murray, rhettinger, scoder, serhiy.storchaka
Date 2017-09-26.19:52:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506455537.43.0.0314980162574.issue31580@psf.upfronthosting.co.za>
In-reply-to
Content
What about adding a lazy_compile() function?  It will leave the current behavior unchanged, it's explicit, and it's easier to use cross version (if importing re.lazy_compile fails, use re.compile).

FWIW I'm -1 on changing re.compile, -1 on adding re.IMMEDIATE, -0.5 on adding re.DEFERRED (not sure this option belongs among the re flag), +1 on adding a compile-time optimization.
History
Date User Action Args
2017-09-26 19:52:17ezio.melottisetrecipients: + ezio.melotti, barry, rhettinger, scoder, r.david.murray, serhiy.storchaka
2017-09-26 19:52:17ezio.melottisetmessageid: <1506455537.43.0.0314980162574.issue31580@psf.upfronthosting.co.za>
2017-09-26 19:52:17ezio.melottilinkissue31580 messages
2017-09-26 19:52:17ezio.melotticreate