Author Jim.Jewett
Recipients Aaron.Meurer, Jim.Jewett, georg.brandl, jayvdb, python-dev, rhettinger, serhiy.storchaka, vstinner, yselivanov
Date 2016-02-09.22:38:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1455057485.89.0.139242332521.issue26204@psf.upfronthosting.co.za>
In-reply-to
Content
I think the warning was helpful; it just had confusing wording.

Instead of: """
>>> def f():
...  False
...
<stdin>:2: SyntaxWarning: ignore constant statement
"""

perhaps: """
>>> def f():
...  False
...
<stdin>:2: SyntaxWarning: ignoring constant statement
"""

or even: """
>>> def f():
...  False
...
<stdin>:2: SyntaxWarning: ignoring unused constant 'False'
"""
History
Date User Action Args
2016-02-09 22:38:06Jim.Jewettsetrecipients: + Jim.Jewett, georg.brandl, rhettinger, vstinner, Aaron.Meurer, python-dev, serhiy.storchaka, yselivanov, jayvdb
2016-02-09 22:38:05Jim.Jewettsetmessageid: <1455057485.89.0.139242332521.issue26204@psf.upfronthosting.co.za>
2016-02-09 22:38:05Jim.Jewettlinkissue26204 messages
2016-02-09 22:38:05Jim.Jewettcreate