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 | [EMAIL PROTECTED] | Brisbane, Australia --------------------------------------------------------------- http://boredomandlaziness.blogspot.com _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com