Bug#973757: SyntaxWarning
Being addressed in https://github.com/edgewall/genshi/pull/33.
Bug#973757: SyntaxWarning in filters/i18n.py
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