Message337695
> The major problem with the parser module is that is unsynchronized with the actual parser
The parser module is "sort of" synchronised with the actual parser, in that it uses the same _PyParser_Grammar; this doesn't mean they always behave the same, as this bug shows :-)
(But before #26526, it used to be much worse, with the parser module having a completely independent re-implementation of the parser.)
> As a side note, the problem described in this bug was more or less foreseen. This is in the header of Modules/parsemodule.c:
Just to clarify, the bug is not about the cryptic exception message, it's about the exception firing when it shouldn't. |
|
| Date |
User |
Action |
Args |
| 2019-03-11 20:19:42 | A. Skrobov | set | recipients:
+ A. Skrobov, fdrake, brett.cannon, gregory.p.smith, giampaolo.rodola, benjamin.peterson, python-dev, berker.peksag, serhiy.storchaka, xcombelle, pablogsal |
| 2019-03-11 20:19:42 | A. Skrobov | set | messageid: <1552335582.58.0.448521455887.issue36256@roundup.psfhosted.org> |
| 2019-03-11 20:19:42 | A. Skrobov | link | issue36256 messages |
| 2019-03-11 20:19:42 | A. Skrobov | create | |
|