Lauro Moura wrote:
> On Mon, Jan 17, 2011 at 4:05 PM, Fars- mo  wrote:
> >  > > [3] http://bugs.openbossa.org/show_bug.cgi?id=615
> >  >
> >> I agree with Matti, there's no need to add yet another incompatibility with
> >> PyQt for basically no gain at all.
> >
> > But the API clearly makes no sense. Why should any API defined by PyQt have 
> > to be cast in stone and never be improved, especially here where there are 
> > no backward-compatibility issues?
> >
>
> IMHO this seems to be an incompatibility from PyQt, as there are some
> methods that return a tuple (bool, retval) due to the limitation of
> not being able to modify an immutable type argument.

In this case PyQt has the same prototype as PySide, that is quadToQuad is a 
3-argument version that modifies an otherwise unused QTransform (this is 
because QTransform are mutable, so unlike ints it's possible to pass them by 
reference).

So there is nothing to prevent PyQt from implementing that API extension.


Cheers,
Farsmo
                                          
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to