[Python-3000] python-safethread project status

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Apr 8 04:40:36 CEST 2008


Guido van Rossum wrote:

> Maybe it should be a forked subprocess then, if it doesn't touch
> anything shared?

It might be taking and returning large data structures
that it would be tedious to transfer between processes.
Pickling them might not be straightforward if they
contain references to objects that you don't want to
transfer, but you want to maintain the references.

> Huh? We do that all the time. We won't let you control when memory is
> deallocated.

I hardly think that being able to kill threads is
anywhere near as dangerous as being able to scribble
all over memory. And I *can* actually do that if I
really want, using ctypes. :-)

-- 
Greg


More information about the Python-3000 mailing list