[IronPython] Line info in PythonSyntaxError
Szymon Kobalczyk
s.kobalczyk at softwaremind.pl
Fri Mar 10 15:25:17 CET 2006
Hi,
I found it quite convenient to be able to catch parsing error from the
engine's Compile method and read the line and column number where the
error occurred. In previous version this was simply displayed in the
PythonSyntaxError's message. Currently it was removed and instead this
exception carries this information in private fields so it can recreate
PythonException. Do you have anything against exposing these fields as
read-only properties?
Regards,
Szymon Kobalczyk
More information about the Ironpython-users
mailing list