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 serhiy.storchaka
Recipients Albert-Jan Nijburg, benjamin.peterson, meador.inge, r.david.murray, serhiy.storchaka, vstinner
Date 2017-05-24.12:21:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495628509.86.0.512362155714.issue30455@psf.upfronthosting.co.za>
In-reply-to
Content
Currently Lib/token.py is generated from Include/token.h. This contradicts common practice when the C code is generated from the Python code (see for example opcode.py and sre_constants.py). In additional the table in Parser/tokenizer.c should be manually supported matching Include/token.h.

Generating Include/token.h and Parser/tokenizer.c from Lib/token.py would be simpler and more reliable.
History
Date User Action Args
2017-05-24 12:21:49serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, benjamin.peterson, r.david.murray, meador.inge, Albert-Jan Nijburg
2017-05-24 12:21:49serhiy.storchakasetmessageid: <1495628509.86.0.512362155714.issue30455@psf.upfronthosting.co.za>
2017-05-24 12:21:49serhiy.storchakalinkissue30455 messages
2017-05-24 12:21:49serhiy.storchakacreate