[Python-Dev] _PyGILState_NoteThreadState should be static or not?
mwh at python.net
Mon Sep 11 10:40:23 CEST 2006
On 11 Sep 2006, at 09:34, Neal Norwitz wrote:
> In Python/pystate.c, you made this checkin:
> r39044 | mwh | 2005-06-20 12:52:57 -0400 (Mon, 20 Jun 2005) | 8 lines
> Fix bug: [ 1163563 ] Sub threads execute in restricted mode
> basically by fixing bug 1010677 in a non-broken way.
> _PyGILState_NoteThreadState is declared as static on line 54, but the
> definition on line 508 is not static. (HP's cc is complaining.) I
> don't see this referenced in any header file, it seems like this
> should be static?
It seems very likely, yes. I think at one point (in my working copy)
there was a call in Modules/threadmodule.c, which may partially
account for my confusion.
Seems we have lots of HP users tracking SVN HEAD, then...
More information about the Python-Dev