[PyKDE] Python-2.4.2-buffer-interface.patch
Phil Thompson
phil at riverbankcomputing.co.uk
Tue Oct 24 10:29:32 BST 2006
> 23 Eki 2006 Pts 17:40 tarihinde, Giovanni Bajo Åunları yazmıÅtı:
>> Ismail Donmez wrote:
>> > Anyone knows whats $subject is used for?
>>
>> It's a patch against Python itself, to fix the so-called "buffer
>> interface", which is the feature used by QString (PyQt4) to be totally
>> duck-type-able with a normal Python string. Python alread supported the
>> buffer interface, but was not using it for certain specific expressions.
>>
>> The patch is integrated since Python 2.5, so with 2.5 QString behaves
>> just
>> like normal Python strings, as best as they can.
>
> Thanks for the explanation! And wonder Phil will update it for Python
> 2.4.4.
No - in fact I will remove the existing patch.
Phil
More information about the PyQt
mailing list