Message4678

Author petegibson
Recipients petegibson
Date 2009-05-13.01:58:23
SpamBayes Score 2.6841387e-06
Marked as misclassified No
Message-id <1242179903.99.0.397747147853.issue1345@psf.upfronthosting.co.za>
In-reply-to
Content
I get an error when initializing a property that expects an int[] using
a tuple (in 2.5rc2):

Traceback:
    File <blah>, line 176, in init_sash_form
    self.sash_form.weights = (30, 70)

    TypeError: No visible constructors for class ([I)


Prototype for property weights:
     void     setWeights(int[] weights) 

However, there are no problems when using a list instead.
History
Date User Action Args
2009-05-13 01:58:24petegibsonsetrecipients: + petegibson
2009-05-13 01:58:23petegibsonsetmessageid: <1242179903.99.0.397747147853.issue1345@psf.upfronthosting.co.za>
2009-05-13 01:58:23petegibsonlinkissue1345 messages
2009-05-13 01:58:23petegibsoncreate