[PyQt] assignment helper not generated when constructor has only default arguments
Gerard Vermeulen
gav451 at gmail.com
Wed Jul 7 20:49:28 BST 2010
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.
Best regards -- Gerard
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qwt_text.patch
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100707/8ec83c6b/attachment.ksh>
More information about the PyQt
mailing list