Author pablogsal
Recipients CuriousLearner, ammar2, corona10, eric.smith, iritkatriel, ncoghlan, nitishch, pablogsal, piyushhajare, serhiy.storchaka, terry.reedy, veky, xtreak
Date 2021-02-19.12:29:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613737753.26.0.767288613426.issue34013@roundup.psfhosted.org>
In-reply-to
Content
Let's step back a bit and focus on the issue at hand. The problem is the following:

* We **already** have a warning for the print statement without parens:

Python 3.9.1 (default, Dec 14 2020, 11:49:16)
[Clang 12.0.0 (clang-1200.0.32.27)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> print x
  File "<stdin>", line 1
    print x
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(x)?

This is achieved by inspecting the syntax error and checking some conditions, which I personally find it uglier than a resilient grammar rule.

* The question is if we want to make the rule more resilient or delete it whatsoever. The status quo doesn't seem like a good fit
History
Date User Action Args
2021-02-19 12:29:13pablogsalsetrecipients: + pablogsal, terry.reedy, ncoghlan, eric.smith, serhiy.storchaka, veky, ammar2, CuriousLearner, corona10, nitishch, xtreak, piyushhajare, iritkatriel
2021-02-19 12:29:13pablogsalsetmessageid: <1613737753.26.0.767288613426.issue34013@roundup.psfhosted.org>
2021-02-19 12:29:13pablogsallinkissue34013 messages
2021-02-19 12:29:13pablogsalcreate