PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 279 - Handwritten converters could interfere with overloaded method decisor
: Handwritten converters could interfere with overloaded method decisor
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: All All
: P5 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-08-04 16:32 EEST by Marcelo Lira
Modified: 2010-09-10 19:21 EEST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcelo Lira 2010-08-04 16:32:25 EEST
The code to decide which C++ method signature to call for a set of given Python
arguments relies, among other things, on the ordering of the method overloads.
This ordering is based on the implicit conversions for a given type, roughly
speaking on the decisor code type A should be checked before type B if B could
be implicitly created by a type A object.

There must be some way to inform the convertible dependencies of a type so that
the overload decisor can use the methods properly sorted.
Comment 1 renato filho 2010-08-17 09:58:07 EEST
fixed on commit:

commit aedea32f131a553a9db0670cd89c43d171244951
Author: Renato Filho <renato.filho@openbossa.org>
Date:   Mon Aug 16 18:21:25 2010 -0300