Message7408

Author doublep
Recipients amak, doublep, draghuram, fwierzbicki, joey@cadence.com, marc, pekka.klarck, ph4r05, pjenvey
Date 2012-08-15.09:34:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1345023254.64.0.5182254526.issue1313@psf.upfronthosting.co.za>
In-reply-to
Content
By the way, I also use the workaround of installing a custom handler for signal.SIGINT now, to avoid ctrl-C killing the program without cleanup.   Custom handler sets an internal flag to True, then I have to periodically test (yes, manually, and this sucks!) it and raise a KeyboardInterrupt if it's set.

In my case it's very important as I rollback database changes and drop some temporary tables on exceptions.  With stock Jython ctrl-C leaves those tables existing, spoiling future runs.
History
Date User Action Args
2012-08-15 09:34:14doublepsetmessageid: <1345023254.64.0.5182254526.issue1313@psf.upfronthosting.co.za>
2012-08-15 09:34:14doublepsetrecipients: + doublep, fwierzbicki, amak, draghuram, pekka.klarck, pjenvey, marc, joey@cadence.com, ph4r05
2012-08-15 09:34:14doubleplinkissue1313 messages
2012-08-15 09:34:14doublepcreate