On 18 Nov 2007, at 12:22, Zack wrote:
> "Importing modules as" doesn't seem to work with the urls tuple, it
> raises an ImportError (#2). In fact, you can still use the original
> name of the module(#3). Has anyone else found this to be the case?

If I remember correctly, this is because if it gets a dotted name, it  
doesn't actually look in the globals() you pass to run; it does its  
own import. Like, 'a.b.c.foo.bar' returns __import__('a.b.c.foo').bar.  
Your main namespace is not involved at all.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to