[Python-Dev] Sandboxed Threads in Python
Nick Coghlan
ncoghlan at gmail.com
Sat Oct 8 03:06:28 CEST 2005
Phillip J. Eby wrote:
> Oh, and don't forget - newstyle classes keep weak references to all their
> subclasses, which means for example that every time you subclass 'dict',
> you're modifying the "immutable" 'dict' class. So, unless you recreate all
> the classes in each sandbox, you're back to needing locking. And if you
> recreate everything in each sandbox, well, I think you've just reinvented
> "processes". :)
After all, there's a reason Bruce Eckel's recent post about multi-processing
attracted a fair amount of interest.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
---------------------------------------------------------------
http://boredomandlaziness.blogspot.com
More information about the Python-Dev
mailing list