[PEAK] Virtual Pythons

Bob Ippolito bob at redivi.com
Wed Jul 28 01:48:55 EDT 2004

On Jul 28, 2004, at 12:32 AM, Phillip J. Eby wrote:

> One of the mildly annoying things about trying to develop any sort of 
> really sophisticated extensible system in Python is that modules are 
> global.  That is, you can only have one instance of a given module or 
> package.
> I do see a few complications:
>  * There will probably need to be some sort of re-entrant locking to 
> prevent multiple threads from trying to perform an import in the same 
> module space at the same time, and it will need to be in addition to 
> the pre-existing __import__ lock.

Doesn't Python already have that?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3589 bytes
Desc: not available
Url : http://www.eby-sarna.com/pipermail/peak/attachments/20040728/fa8336d6/smime.bin

More information about the PEAK mailing list