[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-dev
Subject: [Zope-dev] from ImageFile import ImageFile
From: John Ziniti <jziniti () speakeasy ! org>
Date: 2002-03-26 15:14:27
[Download RAW message or body]
__The short story__:
I would like to recommend to all Product developers
that for Product initialization, they please the
statement:
from App.ImageFile import ImageFile
instead of:
from ImageFile import ImageFile
__The long story__:
A colleague of mine recently went through much
trouble, which eventually boiled down to a name-
clash with piddle/PIL.
Zope imports the name ImageFile into it's global
namespace during startup. A lot of Products take
advantage of this during Product initialization,
by importing the name using:
"form ImageFile import ImageFile"
The Zope source, though, states explicitly that
"this module will disappear in the future".
At the very least, the following Products have trouble
(and I suspect many more, as well):
TinyTablePlus
MetaPublisher
LDAPAdapter
ZDconfera
ZSyncer
ZOracleDA
NISUserFolder
Thanks,
Ziniti
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic