[issue43497] SyntaxWarning for "assertion is always true, perhaps remove parentheses?" does not work with constants

Mark Shannon report at bugs.python.org
Tue Mar 16 07:14:48 EDT 2021


Mark Shannon <mark at hotpy.org> added the comment:


New changeset a8ef4572a6b28bcfc0b10b34fa4204954b9dd761 by tsukasa-au in branch 'master':
bpo-43497: Emit SyntaxWarnings for assertions with tuple constants. (GH-24867)
https://github.com/python/cpython/commit/a8ef4572a6b28bcfc0b10b34fa4204954b9dd761


----------
nosy: +Mark.Shannon

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43497>
_______________________________________


More information about the Python-bugs-list mailing list