[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] dip Snapshot Support for Python v2.6 and v2.7
From:       Darren Dale <dsdale24 () gmail ! com>
Date:       2010-07-26 13:34:41
Message-ID: AANLkTimrYu+NsMKCocS=7i=9TOn8xLiioH=NYvx4-sw0 () mail ! gmail ! com
[Download RAW message or body]

On Mon, Jul 26, 2010 at 4:00 AM, Phil Thompson
<phil@riverbankcomputing.com> wrote:
> On Sun, 25 Jul 2010 17:30:28 -0400, Darren Dale <dsdale24@gmail.com>
> wrote:
>> On Sat, Jul 24, 2010 at 2:26 PM, Phil Thompson
>> <phil@riverbankcomputing.com> wrote:
>>> The current dip snapshots now support Python v2.6 and v2.7 as well as
>>> Python v3.
>>>
>>> The API should be identical for all versions of Python.
>>
>> I had some trouble enabling MQ (hg qpush -a returned "no patches in
>> series"), so I installed the snapshot for py26.
>
> Make sure you use "qclone" rather than "clone".

Oh, sorry. You were right, I overlooked qclone.

>> I ran dip-builder, and
>> when I tried to make a distutils distribution, I got the following:
>>
>>   File
>>
> "/home/darren/.local/lib/python2.6/site-packages/dip/ui/toolkits/qt/qlistwidget_editor.py",
>> line 234
>>     rows = list({index.row() for index in indexes})
>>                                ^
>> SyntaxError: invalid syntax
>>
>> I don't think set comprehensions are available in python2.
>
> Should be fixed now.

It is. Thanks.

Darren
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic