From: Skip Montanaro Date: Sun, 19 Aug 2001 05:53:47 +0000 (+0000) Subject: of course I muffed it separating the notes code from the initial_value X-Git-Tag: v2.2a3~433 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ae8454aeb3d49d464b762690d014cf11da3370c0;p=thirdparty%2FPython%2Fcpython.git of course I muffed it separating the notes code from the initial_value code. grrr... --- diff --git a/Lib/threading.py b/Lib/threading.py index e0d1cc0277c4..004ccb66fba0 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -268,8 +268,8 @@ class _Semaphore(_Verbose): else: self.__value = self.__value - 1 if __debug__: - self._note("%s.acquire: success, value=%s(%s)", - self, self.__value, self.__initial_value) + self._note("%s.acquire: success, value=%s", + self, self.__value) rc = 1 self.__cond.release() return rc @@ -278,8 +278,8 @@ class _Semaphore(_Verbose): self.__cond.acquire() self.__value = self.__value + 1 if __debug__: - self._note("%s.release: success, value=%s(%s)", - self, self.__value, self.__initial_value) + self._note("%s.release: success, value=%s", + self, self.__value) self.__cond.notify() self.__cond.release()