Author serhiy.storchaka
Recipients CuriousLearner, corona10, eric.smith, iritkatriel, ncoghlan, nitishch, pablogsal, piyushhajare, serhiy.storchaka, terry.reedy, xtreak
Date 2021-02-17.13:36:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613569011.41.0.639309682042.issue34013@roundup.psfhosted.org>
In-reply-to
Content
Would it be too much if add a Python 2 rule for print statement in grammar to produce better error message?

invalid_print_stmt:
    | 'print' ( test (',' test)* [','] ] |
                '>>' test [ (',' test)+ [','] ) {
      RAISE_INVALID_PRINT_STATEMENT() }
History
Date User Action Args
2021-02-17 13:36:51serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, ncoghlan, eric.smith, CuriousLearner, corona10, nitishch, pablogsal, xtreak, piyushhajare, iritkatriel
2021-02-17 13:36:51serhiy.storchakasetmessageid: <1613569011.41.0.639309682042.issue34013@roundup.psfhosted.org>
2021-02-17 13:36:51serhiy.storchakalinkissue34013 messages
2021-02-17 13:36:51serhiy.storchakacreate