]> granicus.if.org Git - python/commit
Building with HP's cc on HP-UX turned up a couple of problems.
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 11 Sep 2006 08:51:17 +0000 (08:51 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 11 Sep 2006 08:51:17 +0000 (08:51 +0000)
commit0bcafac29e247d431f26a35d048e63b17911256d
treecff0dda384939b4dc0909f272bd05553c0c87edf
parentece448efa0fc06500f0eaf9e657b8fd38fae16d4
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.

This needs to be ported to HEAD.  I'll try to remember to do that tomorrow.
(Anyone, feel free to port it.)
Misc/NEWS
Python/pystate.c