[PEAK] Re: Trellis + Python 2.6

Phillip J. Eby pje at telecommunity.com
Tue Nov 18 11:10:08 EST 2008


At 01:25 PM 11/18/2008 +0200, Sergey Schetinin wrote:
> > Issue 1:
> > UserList.UserList now has a metaclass, so trellis.List needs to
> > redefine its metaclass to inherit from it
>
> > Issue 2:
> > trellis.py imports `sets` module which is deprecated and results 
> in a warning.
>
>Issue 3:
>
>peak\events\trellis.py:511: DeprecationWarning: object.__new__() takes
>no parameters
>   return ReadOnlyCell.__new__(cls, rule, value, discrete)
>
>
>If you don't have py2.6 installed, let me know and I'll send the patch
>with relevant changes.

Does your patch still work with older Pythons?




More information about the PEAK mailing list