Padraig O'Briain wrote: > I tried trapping the KeyboardInterrupt but this did not seem to work > reliably because packagemanager is multithreaded.
That does concern me somewhat given that we often trap KeyboardInterrupt in some of our other code. However, from what I've read, python's signal handling is basically broken in threading mode [1, 2, 3], so the you've chosen here appears to be as good as anything else. Nothing I read seemed to hold hope for any solution working as expected all the time. Barring objections from anyone else then, your solution seems good enough for now. Cheers, -- Shawn Walker [1] http://mail.python.org/pipermail/python-dev/2006-September/068569.html [2] http://bugzilla.gnome.org/show_bug.cgi?id=481569 [3] http://markmail.org/message/dpztp7uiyigvykd6 _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
