compiler module bug?
gagsl-py2 at yahoo.com.ar
Sun Oct 21 19:15:18 CEST 2007
En Sun, 21 Oct 2007 13:36:46 -0300, Brian Blais <bblais at bryant.edu>
> I am experiencing a problem with the compiler module. Is this a bug,
> or am I doing something wrong?
I think it's a well-known fact...
> it seems like a comment at the end breaks the parse command, but not
> parseFile. Is this reproducible by others?
The comment itself is not a problem; but the last line in the source must
end in a newline.
See the py_compile/compileall modules as an example.
More information about the Python-list