Saturday, March 02, 2002


Okay, I came up with a fix for the execution problem. Now, instead of using execscript(), I'm quietly writing out a patched version of the script that bundles up the ouput and sends it back to Radio.

Refresh the code to get the fixes.

10:22:15 AM    comments ()  trackback []  



Argh. I just hit a showstopper in the Python Tool. It might be a bug in the execfile() routine, but I can't be sure.

It goes like this... With the following code:

class A:
    def __init__(self):
        print "A.__init__"

class B(A):
    def __init__(self):
        A.__init__(self)
        print "B.__init__"

test = B()

If I run this directly through Python, it's fine. If I run it through my execution framework (which uses execfile() to run the actual script), it causes a NameError, which claims that it has no idea what A.__init__ is.

Ideas? Need more information?

9:54:11 AM    comments ()  trackback []  



Patrick Logan comments on two of my previous entries.

He's a smart guy. Be sure to read the rest of his stuff too.

9:21:33 AM    comments ()  trackback []