Issue 17182: signal.default_int_handler should set signal number on the raised exception - Python tracker
Python Home About News Documentation Downloads Community Foundation Developer's Guide Issue Tracker Issues Search Random Issue Summaries Issues with patch Easy issues Stats User Administration User List Committer List Help Tracker Documentation Tracker Development Report Tracker Problem Issue17182 ➜ 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.
Created on 2013-02-11 13:59 by pitrou , last changed 2022-04-11 14:57 by admin . Messages (4) msg181894 - (view) Author: Antoine Pitrou (pitrou) * Date: 2013-02-11 13:59 Having a dedicated optional attribute on KeyboardInterrupt receiving the signal number would be useful in certain circumstances, for example if you want to propagate the signal to a child process. msg223375 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-07-17 21:08 Just a gentle reminder. msg278564 - (view) Author: Stéphane Wirtel (matrixise) * Date: 2016-10-13 11:56 Hi Antoine and Mark, What's the interest of this "feature" ?
Thank you msg278565 - (view) Author: Antoine Pitrou (pitrou) * Date: 2016-10-13 11:58 Basically it allows you to call sys.exit() with the right error code. History Date User Action Args 2022-04-11 14:57:41 admin set github: 61384 2016-10-13 19:27:50 BreamoreBoy set nosy: - BreamoreBoy 2016-10-13 11:58:04 pitrou set messages: + msg278565 2016-10-13 11:56:47 matrixise set nosy: + matrixise messages: + msg278564 2014-07-17 21:08:07 BreamoreBoy set nosy: + BreamoreBoy messages: + msg223375 versions: + Python 3.5, - Python 3.4 2013-02-11 13:59:50 pitrou create Supported by The Python Software Foundation , Powered by Roundup Copyright © 1990-2022, Python Software Foundation Legal Statements