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 davidism
Recipients ThiefMaster, davidism, ezio.melotti, mrabarnett, serhiy.storchaka, vstinner
Date 2017-07-05.15:19:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499267982.24.0.0187967922296.issue30838@psf.upfronthosting.co.za>
In-reply-to
Content
After thinking about it more, I guess I misunderstood what \w was doing compared to isidentifier. Since Python just relies on the Unicode database, there's not much to be done anyway. Closing this.

For anyone interested, we ended up with a hybrid approach for lexing identifiers: build a regex group that includes all valid ranges not matched by \w, then validate with isidentifier later. https://github.com/pallets/jinja/pull/731/files
History
Date User Action Args
2017-07-05 15:19:42davidismsetrecipients: + davidism, vstinner, ezio.melotti, mrabarnett, serhiy.storchaka, ThiefMaster
2017-07-05 15:19:42davidismsetmessageid: <1499267982.24.0.0187967922296.issue30838@psf.upfronthosting.co.za>
2017-07-05 15:19:42davidismlinkissue30838 messages
2017-07-05 15:19:42davidismcreate