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.
Written by Simon Coulton
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Python
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#