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 tim.peters
Recipients rskiredj@hotmail.com, serhiy.storchaka, steven.daprano, tim.peters
Date 2020-06-22.21:59:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1592863197.81.0.811101285366.issue41071@roundup.psfhosted.org>
In-reply-to
Content
Mike, read that exchange again. You originally wrote

"print(2 / 2) gives 2.0 instead of 2"

but you didn't _mean_ that. You meant to say it "gives 1.0 instead of 1", or you meant something other than "2 / 2").  In Python 3,

>>> print(2 / 2)
1.0

Which is what Serhiy said it does.

For the rest, read the PEP again after you calm down. In particular,

"Classic division will remain the default in the Python 2.x series; true division will be standard in Python 3.0."

Also all true.
History
Date User Action Args
2020-06-22 21:59:57tim.peterssetrecipients: + tim.peters, steven.daprano, serhiy.storchaka, rskiredj@hotmail.com
2020-06-22 21:59:57tim.peterssetmessageid: <1592863197.81.0.811101285366.issue41071@roundup.psfhosted.org>
2020-06-22 21:59:57tim.peterslinkissue41071 messages
2020-06-22 21:59:57tim.peterscreate