summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-09-11 09:38:35 (GMT)
committerGeorg Brandl <georg@python.org>2006-09-11 09:38:35 (GMT)
commitec6c2dfb63f76dca8b10f493c5b5d3c296900796 (patch)
tree12cee9358414e4b39aa6bbccf257e90387bbe07f /Misc
parent361b46be24ae74f50a8e823c926c9e974c7c8602 (diff)
downloadcpython-ec6c2dfb63f76dca8b10f493c5b5d3c296900796.zip
cpython-ec6c2dfb63f76dca8b10f493c5b5d3c296900796.tar.gz
cpython-ec6c2dfb63f76dca8b10f493c5b5d3c296900796.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 6f12bce..285e8a4 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 2.6 alpha 1?
Core and builtins
-----------------
+- Make _PyGILState_NoteThreadState() static, it was not used anywhere
+ outside of pystate.c and should not be necessary.
+
- Bug #1542051: Exceptions now correctly call PyObject_GC_UnTrack.
Also make sure that every exception class has __module__ set to
'exceptions'.