[Python-3000] threading, part 2

Josiah Carlson jcarlson at uci.edu
Sat Aug 12 10:35:02 CEST 2006


"Luis P Caamano" <lcaamano at gmail.com> wrote:
> It's a gun, here's a bullet, it's a tool, go get food but try not to
> shoot yourself.
> 
> I'm also -0 on this, not that I think my opinion counts though.  I'm
> -0 because Tomer pointed me to a nice recipe that uses ctypes to get
> to the C interface.  I'm happy with that and we can start using it
> right now.  Perhaps that should be as high as it gets expose so that
> it would be an automatic skill test?  If you can find it, you probably
> know how to use it and the kind of problems you might run into.

Remember that the meat of Tomer's recipe, the ctypes call, is the only
thing that is going to be documented in Python 2.5 .  The functionality
of being able to kill threads with exceptions has existed since Python
2.3 (if I understood previous postings correctly), but has been
generally undocumented. Because it is literally just a documentation
change, and not actually additional functionality, means that it *can*
go into Python 2.5 . All other feature additions are too late in the
Beta cycle (Beta 3 is next week) to be added, unless someone manages to
convince the release manager that it should be allowed (I would put
money on it not going to happen).


 - Josiah

> On 8/11/06, Josiah Carlson <jcarlson at uci.edu> wrote:
> >
> >
> > I believe that if a user cannot design and implement their own system to
> > handle when a thread can be killed or not to their own satisfaction,
> > then they have no business killing threads.
> >
> >
> >  - Josiah
> >
> 
> 
> -- 
> Luis P Caamano
> Atlanta, GA USA
> _______________________________________________
> Python-3000 mailing list
> Python-3000 at python.org
> http://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe: http://mail.python.org/mailman/options/python-3000/jcarlson%40uci.edu



More information about the Python-3000 mailing list