I have a class that inherits from WebKit.Page - it loads various modules
dynamically, via __import__.  Strangely, I find that modules loaded by
both the Page these sub-modules get reimported when I __import__ them,
causing an error in sqlobject (it thinks I'm redefining classes.)

This problem disappears when I change 'foo = __import__("foo")' to
'import foo'.

Is there a bug in the webkit import hooks that make it treat __import__
differently than import?

How would I even start debugging this?

  - Scott



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to