Message11816

Author jeff.allen
Recipients fwierzbicki, jeff.allen, smokxx
Date 2018-03-17.06:23:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521267830.32.0.467229070634.issue1866@psf.upfronthosting.co.za>
In-reply-to
Content
Behaviour of 2.7.2a1 appears to be as Frank specified in msg6963. Propose we close.

>>> def a main(x): pass
  File "<stdin>", line 1
    def a main(x): pass
         ^
SyntaxError: mismatched input 'main' expecting LPAREN

>>> s = "def a main(x): pass"
>>> compile(s, "", 'exec')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "", line 1
    def a main(x): pass
         ^
SyntaxError: mismatched input 'main' expecting LPAREN
History
Date User Action Args
2018-03-17 06:23:50jeff.allensetmessageid: <1521267830.32.0.467229070634.issue1866@psf.upfronthosting.co.za>
2018-03-17 06:23:50jeff.allensetrecipients: + jeff.allen, fwierzbicki, smokxx
2018-03-17 06:23:50jeff.allenlinkissue1866 messages
2018-03-17 06:23:49jeff.allencreate