I might spot a false positive with emacs flycheck an python. This is happen when a I write in a file :
from sys import *
print('this is an error, like you 3:)', file = stderr)
Python run correctly but flycheck tell me that there is a syntax error. (I used standard error for the example but it's happen with any file descriptor)
This is not a real problem but it's a bit boring cause flycheck don't point out any next syntax error in the buffer.
EDIT :
This is not a code error see screenshot
EDIT 2 :
$ python --version
Python 3.4.2