Last Updated: February 25, 2016
·
606
· simoncoulton

Enabling dict comprehension in SublimeLinter

As Sublime Text 2 uses Python 2.6, dict comprehension within SublimeLinter is broken. You can work around this by using the following:

cd /System/Library/Frameworks/Python.framework/Versions
mv 2.6 2.6_bak
ln -s 2.7 2.6

Note, this may affect other applications that utilize 2.6 within your OS.