Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: > Nice. Then I suggest a config macro for whether this is needed. > Either a test for windows, or an autoconf thing in case some Unixes > are equally sensible. (Linux isn't, I checked.)
I'm quite sure that all Unixes invoke signal handlers in some existing thread. So even if errno is thread-local, it needs to be saved and restored. OTOH this is really a micro optimization. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10311> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com