Message8693

Author zyasoft
Recipients doublep, fwierzbicki, zyasoft
Date 2014-06-19.00:55:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403139329.58.0.73428162631.issue1781@psf.upfronthosting.co.za>
In-reply-to
Content
In part this is a historical artifact of how Python, and consequently, Jython, implemented boolean support. Prior to 2.3, there was no boolean type, only int support.

But we have moved on. The relevant logic is in ReflectedArgs; it selects integer first, which is a valid conversion from boolean, if the parameter is primitive (see the precedence method). We should special case this to select boolean first, since this clearly should have precedence.

2.7.0 is a good time to make this change, since it can break code.

Target beta 4
History
Date User Action Args
2014-06-19 00:55:29zyasoftsetmessageid: <1403139329.58.0.73428162631.issue1781@psf.upfronthosting.co.za>
2014-06-19 00:55:29zyasoftsetrecipients: + zyasoft, fwierzbicki, doublep
2014-06-19 00:55:29zyasoftlinkissue1781 messages
2014-06-19 00:55:29zyasoftcreate