[PyQt] SIP: overloaded functions with the same Python signature
Phil Thompson
phil at riverbankcomputing.com
Thu Jul 8 13:05:35 BST 2010
On Thu, 08 Jul 2010 14:01:21 +0200, GOO Creations <goocreations at gmail.com>
wrote:
> With getFileHash(QString()) the first overload is being called.
According to Andreas's reply that behavior is, at best, undefined.
> If I understand you correct, SIP doesn't allow this?
Correct - because SIP doesn't know which is the correct overload to call.
However if the C++ standard does explicitly define which should be called
then it is a SIP bug.
Phil
More information about the PyQt
mailing list