textile / python-textile

A Python port of Textile, A humane web text generator
Other
68 stars 23 forks source link

SyntaxWarnings with Python 3.8 #71

Closed thmo closed 4 years ago

thmo commented 4 years ago

When byte-compiling with Python 3.8 (on Fedora Rawhide) the following warnings are printed:

/usr/lib/python3.8/site-packages/textile/core.py:728: SyntaxWarning: "is not" with a literal. Did you mean "!="?
/usr/lib/python3.8/site-packages/textile/core.py:728: SyntaxWarning: "is" with a literal. Did you mean "=="?
/usr/lib/python3.8/site-packages/textile/core.py:751: SyntaxWarning: "is" with a literal. Did you mean "=="?
/usr/lib/python3.8/site-packages/textile/core.py:766: SyntaxWarning: "is" with a literal. Did you mean "=="?
/usr/lib/python3.8/site-packages/textile/core.py:1413: SyntaxWarning: "is" with a literal. Did you mean "=="?
ikirudennis commented 4 years ago

Thanks for filing these issues and for doing the research on them. I'll get on them shortly.