How do I tell "imconplete input" from "valid input"?

たか takaurai at gmail.com
Thu May 29 06:32:26 EDT 2008


thanks for your reply.

I tried below python codes with "Py_single_input" instead of
"Py_file_input".

sample 1 : result is INCOMPLETE
for i in range(3):\n

sample 2 : result is COMPLETE(I want to get INCOMPLETE or something)
for i in range(3):\n\tprint i
   or
for i in range(3):\n\tprint i\n

"Py_single_input" and "Py_file_input" seem the same. How come?

> Plz check details in Grammar/Grammar from python source distribution

thanks. I challenge it.

--urai



More information about the Python-list mailing list