zedapp / zed

Rethinking code editing.
http://zedapp.org
MIT License
2.22k stars 162 forks source link

Python check: does not support all Python 2.7 features #549

Open domenkozar opened 9 years ago

domenkozar commented 9 years ago
{o.value_in: o.value_out for o in self.filter(mapping_type=mapping_type)}

results in error, although that's valid Python 2.7. Could we detect if Zed can use fs and instead call python -m compileall <file>?

zefhemel commented 9 years ago

I've noticed this, the problem is that the Zed Python package uses Skulpt an Python implementation (just parser is used) in JavaScript which (at least at the time of creating the package) didn't support all 2.7 syntax yet. Probably I have to see if skulpt has been updated this yet, or, indeed use "actual" Python if possible (zedd/standalone)