Author elias
Recipients elias, mark.dickinson, rhettinger, serhiy.storchaka
Date 2018-03-01.22:00:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1519941613.4.0.467229070634.issue32968@psf.upfronthosting.co.za>
In-reply-to
Content
Mark, you said "if there's a test that's explicitly checking that `my_fraction // my_float` returns something of type `int`, then the behaviour is clearly intentional". I see exactly that. See https://github.com/python/cpython/blob/bf63e8d55fd2853df3bb99d66de7f428107aadb3/Lib/test/test_fractions.py#L404  In fact, when I said I made floordiv return a float, and "changed one test to make sure that it works", it was that test. So maybe that means we should be more cautious about changing the behavior of floordiv, if we decide to change it.
History
Date User Action Args
2018-03-01 22:00:13eliassetrecipients: + elias, rhettinger, mark.dickinson, serhiy.storchaka
2018-03-01 22:00:13eliassetmessageid: <1519941613.4.0.467229070634.issue32968@psf.upfronthosting.co.za>
2018-03-01 22:00:13eliaslinkissue32968 messages
2018-03-01 22:00:13eliascreate