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 jfu33.4, mark.dickinson
Date 2021-02-03.14:03:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Python's `//` operator does floor division: that is, the (true) quotient is converted to an integer by taking the floor (rounding towards -infinity) instead of truncating (rounding towards zero).

So indeed it's not a bug. The behaviour is documented here:

See also #43034
Date User Action Args
2021-02-03 14:03:28mark.dickinsonsetrecipients: + mark.dickinson, jfu33.4
2021-02-03 14:03:28mark.dickinsonsetmessageid: <>
2021-02-03 14:03:28mark.dickinsonlinkissue43116 messages
2021-02-03 14:03:28mark.dickinsoncreate