[Zope3-checkins] SVN: Zope3/trunk/src/zope/exceptions/__init__.py Added XXX about evil import exception catching

Jim Fulton jim at zope.com
Wed Jul 7 12:46:57 EDT 2004


Log message for revision 26162:
Added XXX about evil import exception catching



-=-
Modified: Zope3/trunk/src/zope/exceptions/__init__.py
===================================================================
--- Zope3/trunk/src/zope/exceptions/__init__.py	2004-07-07 16:36:53 UTC (rev 26161)
+++ Zope3/trunk/src/zope/exceptions/__init__.py	2004-07-07 16:46:57 UTC (rev 26162)
@@ -18,6 +18,8 @@
 
 $Id$
 """
+
+# XXX catching import errors is almost always evil
 # This module should be independent of I18n, so let's not require it.
 try:
     from zope.i18n import MessageIDFactory



More information about the Zope3-Checkins mailing list