This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author darke
Recipients darke
Date 2021-03-15.07:31:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615793485.02.0.990067169214.issue43497@roundup.psfhosted.org>
In-reply-to
Content
The following block of code does not produce a SyntaxWarning in python 3.7 and above (it does produce a warning in python 3.6 and below):

```
assert(False, 'msg')
```

If the tuple is not a constant (for example `(x, 'msg')`), then a warning is still produced.
History
Date User Action Args
2021-03-15 07:31:25darkesetrecipients: + darke
2021-03-15 07:31:25darkesetmessageid: <1615793485.02.0.990067169214.issue43497@roundup.psfhosted.org>
2021-03-15 07:31:24darkelinkissue43497 messages
2021-03-15 07:31:24darkecreate