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 jacksontj
Recipients jacksontj
Date 2015-12-18.19:46:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450467989.66.0.057762542301.issue25908@psf.upfronthosting.co.za>
In-reply-to
Content
Seems that I accidentally hit submit, so let me finish the last bit of my message here:


An alternate approach is to actually change multiprocessing.Queue.get() to leave the item on the queue if it is interrupted with a keyboard interrupt. Then the worker process could handle the exception in a more meaningful way

It is also interesting to note, that in the event that the caller gets a KeyboardInterrupt there is no `terminate` method which would let you kill jobs before they run. I'm not certain if that should be included in this issue, or if I should file a separate ticket since they are related but different.
History
Date User Action Args
2015-12-18 19:46:29jacksontjsetrecipients: + jacksontj
2015-12-18 19:46:29jacksontjsetmessageid: <1450467989.66.0.057762542301.issue25908@psf.upfronthosting.co.za>
2015-12-18 19:46:29jacksontjlinkissue25908 messages
2015-12-18 19:46:29jacksontjcreate