Is anybody else seeing this? I'm not 100% sure but I seem to recall that hitting ':' after 'else', 'elif' or 'except' causes a line to de-indent which would make this a regression from SE 11. If not can I beg or plead for this feature? I know that hitting '}' in C++ causes a de-indent, but nothing in Python? We already have the ':' indenting at return but after 'else', 'elif' and 'except' we would want to de-indent that line 100% of the time. After all current behavior gives us this:
try:
self.startState = attrs['start']
except:
print 'something here'
and
if re.match('data\\.', val):
line += '4 '
elif val[0] == '"':
line += '8 '
else:
line += '0 '
which is a syntax error 100% of the time.
edit: spelling error