Faheem Mitha added the comment:
I see. Thanks for the pointer to the earlier (2008) bug report. I notice you
fixed the bug differently for 2.7 (define __reduce__) and 3.2 (set args). Is
there some reason for that?
--
___
Python tracker
<h
Faheem Mitha added the comment:
Thanks for the quick attention to this, Lukasz. I'm just curious. Why do 3.2
and 3.3 already work? My understanding was that the basic exception issue in
http://bugs.python.org/issue1692335 was still
New submission from Faheem Mitha :
The documentation in
http://docs.python.org/library/multiprocessing.html#module-multiprocessing.pool
says
"""class multiprocessing.pool.AsyncResult¶
The class of the result returned by Pool.apply_async() and Pool.map_async().
get([timeo
Faheem Mitha added the comment:
This is an issue with SQLAlchemy exceptions, and has been worked around by Mike
Bayer in http://www.sqlalchemy.org/trac/ticket/2371
For the record, I think the real problem is that Python exception pickling is
broken, see http://bugs.python.org/issue1692335
Faheem Mitha added the comment:
What is the status on this? It contains to be an
issue. See http://bugs.python.org/issue13751 and
http://bugs.python.org/issue13760
--
nosy: +fmitha
___
Python tracker
<http://bugs.python.org/issue1692
New submission from Faheem Mitha :
I have not experienced this myself, but see
http://stackoverflow.com/questions/2246384/multiprocessing-pool-hangs-when-there-is-a-exception-in-any-of-the-thread
This appears to be another case of http://bugs.python.org/issue1692335
I also recently reported a
Faheem Mitha added the comment:
Thanks to sbt for his helpful and clear explanation.
The following bug report appears relevant, http://bugs.python.org/issue1692335.
It seems the proposed fix
was never applied because it caused breakage to existing gcode.
It is not clear to me whether this
New submission from Faheem Mitha :
See my question at
http://stackoverflow.com/questions/8785899/hang-in-python-script-using-sqlalchemy-and-multiprocessing
I can't improve on the analysis by Lorenzo Bolla,
so I reproduce his example below. This example hangs if
BadExc is thrown, but n