By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,427 Members | 1,378 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,427 IT Pros & Developers. It's quick & easy.

py_compile vs. IndentationError

P: n/a
Why does py_compile print IndentationError in a different format than
SyntaxError? It makes it harder to parse the output in a non-python

Sorry: IndentationError: ('unindent does not match any outer indentation
level', ('', 19, 17, '\t\t\t return 0.0 \n'))

instead of

File "", line 19
zreturn 0.0

for example.

Is there a way for me to wrap this up in a script and transform the
output on the way out?

Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.