On Aug 29, 2007, at 10:19 PM, [EMAIL PROTECTED] wrote:
> You can achieve these sorts of effects by assigning an object to
> sys.modules[modulename].

Only for imports that haven't happened yet, which tends to be fragile.


   -Fred

-- 
Fred Drake   <fdrake at acm.org>



_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to