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 ezio.melotti, methane, mrabarnett
Date 2017-10-03.11:15:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507029340.05.0.213398074469.issue31672@psf.upfronthosting.co.za>
In-reply-to
Content
Currently, strings.Template uses re.IGNORECASE without re.ASCII:

    idpattern = r'[_a-z][_a-z0-9]*'
    flags = _re.IGNORECASE

[a-z] matches against 'ı' (0x131, DOTLESS I) and 'ſ' (0x17f, LONG S).
It is not intentional, and it makes re.compile slower.
History
Date User Action Args
2017-10-03 11:15:40methanesetrecipients: + methane, ezio.melotti, mrabarnett
2017-10-03 11:15:40methanesetmessageid: <1507029340.05.0.213398074469.issue31672@psf.upfronthosting.co.za>
2017-10-03 11:15:39methanelinkissue31672 messages
2017-10-03 11:15:39methanecreate