Hello all,
CPython:
>>> s = SyntaxError('s')
>>> s.lineno
>>>
IP 1.1:
>>> s = SyntaxError('hello')
>>> s.lineno
Traceback (most recent call last):
AttributeError: 'instance' object has no attribute 'lineno'
:-(
Michael
http://www.voidspace.org.uk/ironpython/index.shtml
--
Michael Foord
Resolver Systems
[EMAIL PROTECTED]
Office address: 17a Clerkenwell Road, London EC1M 5RD, UK
Registered address: 843 Finchley Road, London NW11 8NA, UK
Resolver Systems Limited is registered in England and Wales as company number
5467329.
VAT No. GB 893 5643 79
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com