[PyKDE] Python-2.4.2-buffer-interface.patch
Ismail Donmez
ismail at pardus.org.tr
Mon Oct 23 18:04:00 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.
Regards,
ismail
More information about the PyQt
mailing list