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 marco.buttu
Recipients docs@python, marco.buttu, mark.dickinson, r.david.murray, terry.reedy, wohlganger
Date 2017-07-26.14:05:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1501077911.49.0.145769909881.issue31021@psf.upfronthosting.co.za>
In-reply-to
Content
Terry thanks for opening this issue.

The title of the FAQ makes me think that the section wants to clarify why -22 // 10 returns -3.  I am a bit confused, maybe because -22//10 == -3 does not surprise me, and so I do not understand the point :( 
 This seems to me a section about the module rather than floor division.

If the section wants to clarify the floor division behavior in Python, IMHO at the beginning of the section we have to explain why -22//10 == -3 may surprise the reader (it is not clear to me, so maybe it could not surprise other readers too), and then the reasons that justify why to have -22//10 == -3.
History
Date User Action Args
2017-07-26 14:05:11marco.buttusetrecipients: + marco.buttu, terry.reedy, mark.dickinson, r.david.murray, docs@python, wohlganger
2017-07-26 14:05:11marco.buttusetmessageid: <1501077911.49.0.145769909881.issue31021@psf.upfronthosting.co.za>
2017-07-26 14:05:11marco.buttulinkissue31021 messages
2017-07-26 14:05:11marco.buttucreate