Hi all,
there is a bug in IronPython 2.6.1 (and 2.6 too) that line numbers in tracebacks are wrong:

=== file t.py ===
# encoding: utf-8
print 1/0


C:\IronPython-2.6.1>ipy.exe t.py
Traceback (most recent call last):
 File "t.py", line 1, in <module>
ZeroDivisionError: Attempted to divide by zero.

The exception is actually on line 2.

I have filled a bug: http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=26940

--
-- Lukáš

_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to