You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tokenize does not include Other_ID_Start or Other_ID_Continue in identifier #71030
bpo-24194: Make tokenize recognize Other_ID_Start and Other_ID_Continue chars
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2016-04-25.06:05:00.047>created_at=<Date2016-04-25.01:58:44.136>labels= ['type-bug', 'library']
title='tokenize does not include Other_ID_Start or Other_ID_Continue in identifier'updated_at=<Date2016-04-25.08:03:59.612>user='https://bugs.python.org/JoshuaLandau'
Activity
JoshuaLandau commentedon Apr 25, 2016
This is effectively a continuation of https://bugs.python.org/issue9712.
The line in Lib/tokenize.py
must be changed to a regular expression that accepts Other_ID_Start at the start and Other_ID_Continue elsewhere. Hence tokenize does not accept '℘·'.
See the reference here:
I'm unsure whether unicode normalization (aka the
xidproperties) needs to be dealt with too.Credit to toriningen from http://stackoverflow.com/a/29586366/1763356.
serhiy-storchaka commentedon Apr 25, 2016
This is a duplicate of bpo-24194. Yes, there is no progress still.
JoshuaLandau commentedon Apr 25, 2016
Sorry, I'd stumbled on my old comment on the closed issue and completely forgot about the *last* time I did the same thing.