pygtk-codegen-2.0 will fail on a defs file which includes another empts 
defs file (this
is the case for diacanvas). This is because scmexpr.parse() returns an 
empty tuple for
the empty file and StartParsing in scmexpr.py will see no argument. This 
causes
line 81 in scmexpr.py to be executed and the existing parse tree is fed 
to handle. This causes
an infinite loop.

Fix: in scmexpr.py change the beginning lines of StartParsing to

if arg == (): tuples=()
elif type(arg) == types.StringType:
            tuples = parse(open(arg))



Mathew


-- 
           _
          |)`
          | |
          | |_____
         /    (]__)
        /    (]___)
       /    (]___)
          ___(]_)
         /
        /



_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to