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. |
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? |
Patrick Logan comments on two of my previous entries.
He's a smart guy. Be sure to read the rest of his stuff too. |