]> granicus.if.org Git - python/commit
Forward-port of rev. 51857:
authorGeorg Brandl <georg@python.org>
Mon, 11 Sep 2006 09:38:35 +0000 (09:38 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 11 Sep 2006 09:38:35 +0000 (09:38 +0000)
commitec6c2dfb63f76dca8b10f493c5b5d3c296900796
tree12cee9358414e4b39aa6bbccf257e90387bbe07f
parent361b46be24ae74f50a8e823c926c9e974c7c8602
Forward-port of rev. 51857:

Building with HP's cc on HP-UX turned up a couple of problems.
_PyGILState_NoteThreadState was declared as static inconsistently.
Make it static as it's not necessary outside of this module.

Some tests failed because errno was reset to 0. (I think the tests
that failed were at least: test_fcntl and test_mailbox).
Ensure that errno doesn't change after a call to Py_END_ALLOW_THREADS.
This only affected debug builds.
Misc/NEWS
Python/pystate.c