dependency to non frame-based
node'
Unfortunately, I don't know how many 'ripple' stack items there will
be...
This is why I'd much rather, if I can, do this without exceptions and
just be able to print out my own error message with the problem line
number marked
Or am I asking too much? ;)
--
Hugh Macdonald
--
http://mail.python.org/mailman/listinfo/python-list
to flag it accurately to
the user
Hope this made sense - let me know if I've confused you at all.
--
Hugh Macdonald
--
http://mail.python.org/mailman/listinfo/python-list
Thanks Martin - that worked wonderfully
For the record (and for anyone searching for this in future), here's
the code that worked (with names changed to protect my job...)
myPython is the C++/Python interface class containing static methods
which pass on calls to the underlying python modul
allow me to do this...
Thanks for any advice!
--
Hugh Macdonald
--
http://mail.python.org/mailman/listinfo/python-list
Maybe I misunderstood what you meant, but I couldn't quite manage to
get this one working
My initial hopes about __import__() were that I could define it inside
my new module (moduleLoader) and, when the module is imported, it could
do stuff (like try to hold onto the vars() and globals() from
I will take a look!
Thanks Skip
--
Hugh
--
http://mail.python.org/mailman/listinfo/python-list
os.getenv("MODULE_VERSION"),
globals())
import moduleLoader
moduleLoader.loadModule("myModule", os.getenv("MODULE_VERSION"))
from moduleLoader import myModule
What I'm after is a way of moduleLoader.loadModule working back up the
scope and placing the imported module in the main global scope. Any
idea how to do this?
--
Hugh Macdonald
--
http://mail.python.org/mailman/listinfo/python-list