Terry J. Reedy <tjre...@udel.edu> added the comment:
hyperparser.py, line 13, _ASCII_ID_CHARS line 15, _ASCII_ID_FIRST_CHARS, frozenset(string.ascii_letters + "_") Only used on line 18 and 21 to create 128 item lookup tables. The point is to be fast as hyperparser scans multiple chars when invoked. The expandword fix and c.isidentifier() could replace the lookup. But would they bog down response time? We need to look at hyperparser use cases and do some testing. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45692> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com