[Patches] [ python-Patches-645383 ] Give some clue why modules fail...

noreply@sourceforge.net noreply@sourceforge.net
Thu, 28 Nov 2002 10:52:37 -0800


Patches item #645383, was opened at 2002-11-28 18:52
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=645383&group_id=5470

Category: Build
Group: Python 2.2.x
Status: Open
Resolution: None
Priority: 5
Submitted By: Ben Laurie (benl)
Assigned to: Nobody/Anonymous (nobody)
Summary: Give some clue why modules fail...

Initial Comment:
--- Python-2.2.2/setup.py       Thu Oct 10 00:59:16 2002
+++ Python-2.2.2-ben/setup.py   Thu Nov 28 17:45:51 2002
@@ -163,9 +163,9 @@
             return
         try:
             __import__(ext.name)
-        except ImportError:
-            self.announce('WARNING: removing "%s"
since importing it failed' %
-                          ext.name)
+        except ImportError, e:
+            self.announce('WARNING: removing "%s"
since importing it failed: %s' %
+                          (ext.name,str(e)))
             assert not self.inplace
             fullname = self.get_ext_fullname(ext.name)
             ext_filename = os.path.join(self.build_lib,


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=645383&group_id=5470