Bug#973757: SyntaxWarning

2020-11-04 Thread Simon Cross
Being addressed in https://github.com/edgewall/genshi/pull/33.

Bug#973757: SyntaxWarning in filters/i18n.py

2020-11-04 Thread Simon Cross
The SyntaxWarning is technically correct -- we should use != in this case, not identity comparison. Since the code is question hasn't changed since 2008, I suspect the warning is because the syntax checker in Python got better, not that Genshi changed. Because Python caches small strings the code