[PyKDE] Python-2.4.2-buffer-interface.patch

Giovanni Bajo rasky at develer.com
Mon Oct 23 15:40:20 BST 2006

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.
Giovanni Bajo

More information about the PyQt mailing list