Closed TadLeonard closed 10 years ago
Hi @TadLeonard thanks for reporting! Frosted is intended for Python2.6+ and I will make a new release soon to address this issue.
Fixed in hot-fix release 1.0.1, thanks again for reporting!
Looks like it was an easy fix! I guess those __future__
monkey patches are kinda disruptive for a project like this. Thanks for the quick response.
$ frosted print2.py
$ frosted --version
frosted 1.0.1
The
print
statement is flagged as a syntax error. Isfrosted
only intended for py3k? Do I need to do something with~/.frosted.cfg
?Three files. The first uses the Python2
print
statement. The second uses the Python3print()
function (though it's really just using the statement + object-in-parentheses in my case). The third is a syntax error for any version of Python.They work as expected.
frosted
chokes on the first, passes the second, and correctly flags a syntax error for the third file.pyflakes
behaves like I'd expect for each file.Hopefully this is enough information.