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 jessevsilverman
Recipients docs@python, jessevsilverman, rhettinger, terry.reedy
Date 2021-01-29.22:02:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611957761.46.0.468081131022.issue43034@roundup.psfhosted.org>
In-reply-to
Content
I understand and agree with both comments.
I will confirm that a substantial number of people think -17 // 3 yields -5.0, so when I saw this I wondered if it reinforced that common misconception.

I was curious enough to not just confirm in the actual docs not only that -17 // 3 == -6.0 but learned why it does so.

I would be happy to see any of Terry's three suggestions added, with the first one adding the most bang for the buck (if someone is surprised to see -6.0 there, they can go look up why).
History
Date User Action Args
2021-01-29 22:02:41jessevsilvermansetrecipients: + jessevsilverman, rhettinger, terry.reedy, docs@python
2021-01-29 22:02:41jessevsilvermansetmessageid: <1611957761.46.0.468081131022.issue43034@roundup.psfhosted.org>
2021-01-29 22:02:41jessevsilvermanlinkissue43034 messages
2021-01-29 22:02:41jessevsilvermancreate