Antoine Pitrou added the comment:

Here is a patch, it seems to work on the custom buildbots. The problem was 
two-fold:
- PyErr_Warn() is too high-level, it will invoke linecache and others
- encodings and codecs shouldn't be cleared before the final shutdown

----------
Added file: http://bugs.python.org/file30172/better_shutdown.patch

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

Reply via email to