Re: [IronPython] Builtin functions are never bound

2006-02-07 Thread Dino Viehland
s one, but hopefully soon. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo Sent: Tuesday, February 07, 2006 3:02 AM To: Discussion of IronPython Subject: [IronPython] Builtin functions are never bound In CPython, there is an assumption that b

[IronPython] Builtin functions are never bound

2006-02-07 Thread Sanghyeon Seo
In CPython, there is an assumption that builtin functions are never bound. What an obscure stuff. Hopefully an example would clarify this. # ex.py class C: method = cmp c = C() print c.method(1, 1) $ python ex.py 0 $ ip ex.py Traceback (most recent call last): File __main__, line unknown, i