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 mark.dickinson
Recipients Arfrever, belopolsky, casevh, eryksun, mark.dickinson, petr.viktorin, rhettinger, skrah, steven.daprano, tim.peters
Date 2015-04-17.16:15:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429287342.72.0.893356095406.issue22198@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the ping, and sorry for forgetting about this.

I'm -1 on applying this patch.  I agree that floor division has some corner case issues (of which this is only one).  But there's no clear agreement on what the right answer is, and I don't think making a tiny change to one corner case is worth it in terms of code churn.  And making several such tiny changes over the course of different Python releases is something we'd definitely want to avoid.

Ideally, there'd be a once-and-for-all agreement on exactly what should happen with *all* the corner cases; we'd fix the code to implement exactly that, and then we could forget about it.  But without a standard to guide us, I don't think that's going to happen.

So my vote is to close as "wont fix".
History
Date User Action Args
2015-04-17 16:15:42mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, rhettinger, belopolsky, casevh, Arfrever, steven.daprano, petr.viktorin, skrah, eryksun
2015-04-17 16:15:42mark.dickinsonsetmessageid: <1429287342.72.0.893356095406.issue22198@psf.upfronthosting.co.za>
2015-04-17 16:15:42mark.dickinsonlinkissue22198 messages
2015-04-17 16:15:42mark.dickinsoncreate