消息 [367672]
What's also possible is to handle keywords at tokenizer level and return a different token type for each one of them (like with async and await), which is currently handled at parser level. This would enable us to allow reserved keywords right before a STRING token, thus covering all the possible broken code cases, but continue disallowing arbitrary NAMEs, which would mean better error-reporting in the case of invalid prefixes. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2020-04-29 16:27:01 | lys.nikolaou | 修改 | recipients:
+ lys.nikolaou, gvanrossum, vstinner, eric.smith, petr.viktorin, serhiy.storchaka, pablogsal, aeros |
| 2020-04-29 16:27:01 | lys.nikolaou | 修改 | messageid: <1588177621.71.0.93121929988.issue40246@roundup.psfhosted.org> |
| 2020-04-29 16:27:01 | lys.nikolaou | 链接 | issue40246 messages |
| 2020-04-29 16:27:01 | lys.nikolaou | 创建 | |
|