Package: python3-wxgtk4.0
Version: 4.0.7+dfsg-1+b1
Severity: minor
Dear Maintainer,
Installing python3-wxgtk4.0 in unstable generates the following noise from
the py3compile part of the maintainer script:
Setting up python3-wxgtk4.0 (4.0.7+dfsg-1+b1) ...
/usr/lib/python3/dist-packages/wx/lib/masked/maskededit.py:2648: SyntaxWarning:
'str' object is not callable; perhaps you missed a comma?
ve = ValueError('"%s" will not fit into field %d of control "%s"' (choice,
index, self.name))
/usr/lib/python3/dist-packages/wx/lib/plot/plotcanvas.py:1855: SyntaxWarning:
"is not" with a literal. Did you mean "!="?
if self._xSpec is not 'none':
/usr/lib/python3/dist-packages/wx/lib/plot/plotcanvas.py:1860: SyntaxWarning:
"is not" with a literal. Did you mean "!="?
if self._ySpec is not 'none':
All three look likely to be bugs (the behaviour of «is not "none"» will depend
on how the variable was initialised.
regards
Stuart