gzz-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gzz] "object"???


From: Tuomas Lukka
Subject: Re: [Gzz] "object"???
Date: Tue, 20 Aug 2002 11:12:55 +0300
User-agent: Mutt/1.4i

On Mon, Aug 19, 2002 at 09:52:43PM +0200, Benja Fallenstein wrote:
> Tuomas Lukka wrote:
> 
> >What in the world is causing this during "make"??
> >
> >     /BIG/java2/j2sdk1.4.0//bin/java -Xms128M -Xmx128M 
> >     
> > -Dpython.path=../depends/jythonlib.jar:../depends/pythonlib.jar:../depends/yaml.jar
> >  -Dpython.verbose=message -Dgzzclient=awt  org.python.util.jython 
> > test/test.py
> >     Traceback (innermost last):
> >       File "yaml/ypath.py", line 6, in ?
> >     NameError: object
> >
> PyYAML contains an YPATH implementation, which depends on the iterators 
> of Python 2.2. The way it detects the python version is by trying to 
> import YPATH, and catching the NameError above (object is a builtin 
> representing the root class of everything, like Object in Java, in 
> Python 2.2). Jython actually throws an ImportError, and prints out the 
> above.

Would you mind munging the source to not to do that? That just looks
very scary to innocent people just wanting to run the tests?

        Tuomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]