STINNER Victor added the comment: > There is no patch.
Oh no :-( I revert all my local changes and I forgot to produce the patch... My change added a new sys._is_finalizing() function which exposes the private C variable "_Py_Finalizing". Well, here is a patch which implements the first option (ignore linecache errors). ---------- keywords: +patch Added file: http://bugs.python.org/file36864/traceback_ignore_linecache_error.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22599> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com