|
From: <bc...@wo...> - 2001-02-16 18:13:29
|
[Peter Maxwell]
>I didn't find any mention of this on the Jython vs CPython page or in
>the list archive so FYI:
>
> $ python
>Python 2.0 (#4, Dec 7 2000, 22:16:55)
>[GCC 2.95.2 20000220 (Debian GNU/Linux)] on linux2
>Type "copyright", "credits" or "license" for more information.
>>>> getattr("a", "b", "c")
>'c'
>
>but:
>
> $ jython
>Jython 2.0 on java1.3.0 (JIT: null)
>Type "copyright", "credits" or "license" for more information.
>>>> getattr("a", "b", "c")
>Traceback (innermost last):
> File "<console>", line 1, in ?
>TypeError: getattr(): expected 2 args; got 3
Thanks for the report. This oversight have been added to the CVS.
regards,
finn
|