Christian Heimes added the comment: I think it's unsafe. The address of a pointer should not be used once the pointer has been freed.
How about we reverse the order? At first we remove the key from TLS and then free the tstate. ---------- keywords: +patch Added file: http://bugs.python.org/file30734/tstate.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18328> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com