[storm] RFC: Storm with Pylons and Repoze.tm2
James Henstridge
james at jamesh.id.au
Tue Jul 29 03:54:43 BST 2008
On Tue, Jul 29, 2008 at 10:37 AM, James Henstridge <james at jamesh.id.au> wrote:
>> I don't have zope installed on my system and for repoze.tm2 I just
>> need the zope transaction package.
>> (from zope.testing.cleanup import addCleanUp and from
>
> Is zope.testing such a bad dependency?
Looking at some of the Zope code there are things like:
try:
from zope.testing.cleanup import addCleanUp
except ImportError:
# don't have that part of Zope
pass
else:
addCleanUp(_clear)
del addCleanUp
If making zope.testing an optional dependency makes code reuse easier,
then we should probably do it.
James.
More information about the storm
mailing list