[Zope-dev] Re: [Zope] Using 2.3.2 for Zope 2.7

Tim Peters tim at zope.com
Mon Oct 6 10:04:33 EDT 2003


[Fred L. Drake, Jr.]
> In Python 2.3.x, when a class is defined the __name__ of the
> encompassing module is looked up.  I suspect Python Scripts can be
> fixed by defining __name__ in the globals dictionary in which the code
> is executed.

Thanks, Fred!  I added this info to the collector entry:

    http://collector.zope.org/Zope/1074



More information about the Zope-Dev mailing list