Re: Re: Trellis + Python 2.6
"Sergey Schetinin" <[email protected]> Tue, 18 Nov 2008 20:23:15 +0200
| Newsgroups | gmane.comp.python.peak |
|---|---|
| Message-ID | <[email protected]> |
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-Wh6+Hckhi6HFNGf7iClzIwC/[email protected]> 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