[PyQt] assignment helper not generated when constructor has only default arguments

Phil Thompson phil at riverbankcomputing.com
Thu Jul 8 12:04:20 BST 2010


On Wed, 07 Jul 2010 21:49:28 +0200, Gerard Vermeulen <gav451 at gmail.com>
wrote:
> Hi Phil,
> 
> the assignment helper is not generated when a class has a constructor
> with only default arguments (see checkAssignmentHelper() in
> sip-snapshot-4.10.3-710b71e6f0c6/transform.c).
> Attached patch shows my workaround for a class with a constructor having
> two default arguments by replacing this constructor with three
> constructors having 0, 1, or 2 arguments.

Should be fixed in tonight's snapshot - thanks.

Phil


More information about the PyQt mailing list