A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2002-January/024072.html below:

[Python-checkins] CVS: python/dist/src/Lib threading.py,1.12,1.12.2.1

[Python-checkins] CVS: python/dist/src/Lib threading.py,1.12,1.12.2.1Anthony Baxter anthonybaxter@users.sourceforge.net
Thu, 10 Jan 2002 01:54:03 -0800
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv8575

Modified Files:
      Tag: release21-maint
	threading.py 
Log Message:
Backport gvanrossum's checkin of revision 1.20:

Thread.__bootstrap(): ignore exceptions in the self.__delete() call in
the finally clause.  An exception here could happen when a daemon
thread exits after the threading module has already been trashed by
the import finalization, and there's not much of a point in trying to
insist doing the cleanup in that stage.

This should fix SF bug ##497111: active_limbo_lock error at program
exit.


Index: threading.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/threading.py,v
retrieving revision 1.12
retrieving revision 1.12.2.1
diff -C2 -d -r1.12 -r1.12.2.1
*** threading.py	2001/04/02 20:15:57	1.12
--- threading.py	2002/01/10 09:54:01	1.12.2.1
***************
*** 392,396 ****
          finally:
              self.__stop()
!             self.__delete()
  
      def __stop(self):
--- 392,399 ----
          finally:
              self.__stop()
!             try:
!                 self.__delete()
!             except:
!                 pass
  
      def __stop(self):




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4