Exceptions became new-style in Python 2.5. How will this be handled?
Given test.py below,
$ python2.4 test.py
True
False
$ python2.5 test.py
False
True
While,
$ ipy test.py
True
False
$ ipy -X:Python25 test.py
True
False
# test.py
class error(Exception):
pass
import types
et = type(error)
print et is types.ClassType
print et is types.TypeType
--
Seo Sanghyeon
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com