Stephan R.A. Deibel <sdei...@wingware.com> added the comment: Here is a patch against Python 2.6.1 that restores errno after the "sanity check" in lock_PyThread_release_lock in Modules/threadmodule.c.
A potential controversy is whether it should be done here or in thread_pthread.h but I believe that we should protect errno from spurious change by _any_ threading model that objects to this internal attempt to acquire an already acquired lock. ---------- keywords: +patch Added file: http://bugs.python.org/file13552/errno-fix.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1608921> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com