2006/10/14, Sanghyeon Seo <[EMAIL PROTECTED]>:
> unum/__init__.py line 174 has:
> "if conv is 0"
>
> This is bad and no-no. It is an undefined behaviour to compare numbers
> by reference.

And it is documented in IronPython Differences. So no execuse.

"Small integer caching in IronPython is different than in standard
CPython.  If you set i = 2  and then test "i is 2", the code produces
different results in IronPython and CPython."

-- 
Seo Sanghyeon
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to