[Zope3-dev] Re: [Zope-Checkins] CVS: Zope3/lib/python/Interface -
pyskel.py:1.1.2.4.2.1
Jim Fulton
jim@zope.com
Thu, 21 Mar 2002 11:56:09 -0500
Florent Guillaume wrote:
>
> Jim Fulton <jim@zope.com> wrote:
> > Modified Files:
> > Tag: Zope3-publisher-refactor-branch
> > pyskel.py
> >[...]
> > - Methods are sorted by name within interface.
>
> I'd rather keep the methods in the order they were in the original file,
> as they are often ordered in a logical manner.
I would too, however, Interface objects currently don't keep track
of the original order. The attributes (including methods) defined by the
interface are stored in a dictionary. I think sorting by name is better than
a random order *until* we can refactor interface attribute management to retain
order. :)
Jim
--
Jim Fulton mailto:jim@zope.com Python Powered!
CTO (888) 344-4332 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org