On 8/21/10 5:56 PM, Gregory Ewing wrote:
> Stephen Hansen wrote:
> 
>> Me, I'm going to go farther on my own installation and kill import
>> entirely, and do a sort of require() which returns a special proxied
>> version of an imported module
> 
> Note that you can install an __import__ function in the
> builtins to provide this kind of functionality while still
> allowing scripts to use the normal import syntax.

I really don't know why I didn't think of that to start with.

Doh. Thanks :)

-- 

   Stephen Hansen
   ... Also: Ixokai
   ... Mail: me+list/python (AT) ixokai (DOT) io
   ... Blog: http://meh.ixokai.io/

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to