[py-svn] r10691 - py/branch/py-collect/thread

hpk at codespeak.net hpk at codespeak.net
Fri Apr 15 18:33:27 CEST 2005


Author: hpk
Date: Fri Apr 15 18:33:27 2005
New Revision: 10691

Modified:
   py/branch/py-collect/thread/pool.py
Log:
remove __del__ which cannot work this simple way anyway. 



Modified: py/branch/py-collect/thread/pool.py
==============================================================================
--- py/branch/py-collect/thread/pool.py	(original)
+++ py/branch/py-collect/thread/pool.py	Fri Apr 15 18:33:27 2005
@@ -52,10 +52,6 @@
         self._excinfo = excinfo 
         self._queue.put(None) 
 
-    def __del__(self): 
-        if self._excinfo: 
-            print "unhandled exception %s" %(self._excinfo,) 
-
     def get(self, timeout=None): 
         try: 
             result = self._queue.get(timeout=timeout) 



More information about the pytest-commit mailing list