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 methane
Recipients barry, ezio.melotti, methane, mrabarnett, rhettinger, serhiy.storchaka
Date 2017-10-04.06:29:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507098555.81.0.213398074469.issue31672@psf.upfronthosting.co.za>
In-reply-to
Content
> Yet one way -- make re.ASCII a local flag. Than we could just change the idpattern attribute to r'(?a:[_a-z][_a-z0-9]*)', without touching the flags attribute.

https://docs.python.org/3.6/library/re.html#regular-expression-syntax says
`(?imsx-imsx:...)`

Anyway, Template.idpattern is documented public API too.
History
Date User Action Args
2017-10-04 06:29:15methanesetrecipients: + methane, barry, rhettinger, ezio.melotti, mrabarnett, serhiy.storchaka
2017-10-04 06:29:15methanesetmessageid: <1507098555.81.0.213398074469.issue31672@psf.upfronthosting.co.za>
2017-10-04 06:29:15methanelinkissue31672 messages
2017-10-04 06:29:15methanecreate