Message8693
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 |
|
Date |
User |
Action |
Args |
2014-06-19 00:55:29 | zyasoft | set | messageid: <1403139329.58.0.73428162631.issue1781@psf.upfronthosting.co.za> |
2014-06-19 00:55:29 | zyasoft | set | recipients:
+ zyasoft, fwierzbicki, doublep |
2014-06-19 00:55:29 | zyasoft | link | issue1781 messages |
2014-06-19 00:55:29 | zyasoft | create | |
|