This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients Denis.Bilenko, neologix, vitaly
Date 2012-09-10.14:53:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347288786.8.0.891403529442.issue15896@psf.upfronthosting.co.za>
In-reply-to
Content
Looks like - another - OS-X bug.

What happens if you reduce the size argument when reading from the error pipe? Try setting it to a value like 512 (minimum guaranteed PIPE_BUF):
"""
newData = os.read(errpipe_read, min(512, rSize))
"""

You could also try to put a short sleep before exiting the child process (after pickling the exception) to see what happens if the reader reads before the pipe is closed by the other end (that would be a huge bug, but hey, who knows...).
History
Date User Action Args
2012-09-10 14:53:06neologixsetrecipients: + neologix, vitaly, Denis.Bilenko
2012-09-10 14:53:06neologixsetmessageid: <1347288786.8.0.891403529442.issue15896@psf.upfronthosting.co.za>
2012-09-10 14:53:06neologixlinkissue15896 messages
2012-09-10 14:53:06neologixcreate