If the program is not terminated with a newline, the parser crashes with an error:
#coding: pythonql
print([ select y for x in [1,2,3] let y = x**2 ])
C:\Python\Scripts\PythonQL>python testPQL.py
'NoneType' object has no attribute 'lineno'
File "testPQL.py", line 1
SyntaxError: encoding problem: pythonql
If the program is not terminated with a newline, the parser crashes with an error:
C:\Python\Scripts\PythonQL>python testPQL.py
'NoneType' object has no attribute 'lineno'
File "testPQL.py", line 1
SyntaxError: encoding problem: pythonql