News for hackers. Stuff that matters.
Re:Upgrading to Sublime Text 3 by lucian1900 on Thursday May 16, 2013 @11:10AM (#5718997)
Does SublimeLinter work correctly now with different versions of Python? In ST2, SL parses code as Python 2.6, which gets some 2.7 syntax marked as invalid (e.g. with statement with more than one bind).

I would imagine this gets worse with ST3 embedding Python 3.

Re:Upgrading to Sublime Text 3 by benyami on Thursday May 16, 2013 @12:43PM (#5719543)
I use the sublimelinter_executable_map to point to a specific ruby version. Does that setting work for Python as well? My config: https://gist.github.com/benyami/5593162
Re:Upgrading to Sublime Text 3 by lucian1900 on Thursday May 16, 2013 @11:26AM (#5719097)
To answer my own question, no SublimeLinter is not fixed. It parses as Python 3 and there doesn't seem to be a way to change it.
Re:Upgrading to Sublime Text 3 by morphyn on Thursday May 16, 2013 @11:36AM (#5719157)
It would probably be possible to make the extension use the system's installation of python if available instead of the one embedded with Sublime, but that would require some coding.
Re:Upgrading to Sublime Text 3 by lucian1900 on Thursday May 16, 2013 @01:45PM (#5719871)
I think it would have to be a per-project setting, since one might reasonably work on projects written in all of Python 2.6, 2.7 and 3.