Kronuz/SublimeLinter — Issue #112: Syntax error on Python dict comprehension
Author: fre-sch
Created: 2012-03-07 07:01:51+00:00
State: open

SublimeLinter marks the following as "invalid syntax". I'm using Python 2.7.2 where this is a valid expression.

var = {i: i * i for i in range(10)}

For reference:
http://docs.python.org/reference/expressions.html#dictionary-displays
http://www.python.org/dev/peps/pep-0274/