[Zope-Coders] Zope3: extended Wiki by CodeOptimizations section
Andreas Jung
Andreas Jung" <andreas@zope.com
Tue, 12 Feb 2002 10:58:58 -0500
Ups, it must be StringTypes instead of StringsType.
Sorry about that,
andreas
----- Original Message -----
From: "Steve Alexander" <steve@cat-box.net>
To: "Andreas Jung" <andreas@zope.com>
Cc: <zope-coders@zope.org>
Sent: Tuesday, February 12, 2002 10:51
Subject: Re: [Zope-Coders] Zope3: extended Wiki by CodeOptimizations section
> Andreas Jung wrote:
> > I extended the Zope3 coding styles by a section for code optimization:
> >
> >
http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/CodeOptimiz
> > ation
>
> So, is there some magic happening to create types.StringsType when
> working with Zope3 ?
>
> $ python2.2
> Python 2.2 (#2, Jan 23 2002, 23:28:16)
> [GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-85)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from types import StringsType
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> ImportError: cannot import name StringsType
> >>>
>
>
> --
> Steve Alexander
>
>