Martin Panter added the comment:

Here is a patch that changes Py_Finalize() to return -1 on error, and then sets 
the exit status to 1. It did not introduce any failures in the test suite for 
me. However I suspect it deserves more consideration about backwards 
compatibility etc, which is beyond my knowledge.

----------
Added file: http://bugs.python.org/file37513/finalize-error.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5319>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to