with statement is now also scanned for local vars

This commit is contained in:
David Halter
2012-03-05 00:03:54 +01:00
parent ad976af308
commit 5e6404cf90
2 changed files with 39 additions and 17 deletions

View File

@@ -101,13 +101,17 @@ def flow_test(a):
while 1:
m = 2
break
except IndexError, e:
except IndexError as e:
raise e
yield e
#except TypeError, e:
# pass
except:
pass
finally:
pass
with open('test.py') as f, open('narf.py' as g):
print f
return matrix[0,m]
if True or a: