[JPython] dir and java classes
Jim Althoff
jima at aspectdv.com
Tue Oct 26 19:45:49 EDT 1999
That makes sense. func_code, for example, seems
to be available for JPython methods but not for Java methods,
I guess.
Jim
At 06:47 PM 10/26/99 -0400, Barry A. Warsaw wrote:
>
>>>>>> "JA" == Jim Althoff <jima at aspectdv.com> writes:
>
> JA> To further compound the teaching problem, dir() is
> JA> inconsistent between Python and JPython. So when trying to
> JA> teach someone JPython, I always advise them to install Python
> JA> just so that they can use the "more fully loaded" dir() of
> JA> Python to help in their learning process. Not pretty.
>
>This will be fixed for JPython, for those attributes and objects that
>make sense. Some attributes on some objects have no equivalent in
>JPython, and those will not show up with dir() -- they'll also raise
>AttributeErrors if you try to access them.
>
>-Barry
>
More information about the Python-list
mailing list