This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients David MacIver, Kevin Shweh, Tijs Van Oevelen, abarry, arigo, donmez, ezio.melotti, fijall, mark.dickinson, ncoghlan, python-dev, r.david.murray, rhettinger, serhiy.storchaka, torsten, vstinner
Date 2016-01-22.15:54:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453478045.29.0.955340115568.issue25843@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, the fix is now pushed to Python 2.7, 3.5 and 3.6.

Thanks Tijs Van Oevelen for your bug report ;-)

A workaround look to define the two lambda functions on two different lines. Or maybe cast explicitly to float? I don't think that it's a common bug so you should be able to survive with it until the next bugfix version is released :-)
History
Date User Action Args
2016-01-22 15:54:05vstinnersetrecipients: + vstinner, arigo, rhettinger, mark.dickinson, ncoghlan, donmez, ezio.melotti, r.david.murray, torsten, fijall, python-dev, serhiy.storchaka, David MacIver, abarry, Kevin Shweh, Tijs Van Oevelen
2016-01-22 15:54:05vstinnersetmessageid: <1453478045.29.0.955340115568.issue25843@psf.upfronthosting.co.za>
2016-01-22 15:54:05vstinnerlinkissue25843 messages
2016-01-22 15:54:04vstinnercreate