[PEAK] Re: Trellis + Python 2.6

Sergey Schetinin maluke at gmail.com
Tue Nov 18 13:23:15 EST 2008


I've only checked with python 2.5, but it should work with others too,
because it basically only chages where things are imported etc. I'll
send it when I get to my desktop.

On Tue, Nov 18, 2008 at 18:10, Phillip J. Eby <pje at telecommunity.com> wrote:
> 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?
>
>



-- 
Best Regards,
Sergey Schetinin

http://s3bk.com/ -- S3 Backup
http://word-to-html.com/ -- Word to HTML Converter



More information about the PEAK mailing list