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 alexander256, mark.dickinson
Date 2011-08-26.06:53:17
SpamBayes Score 0.015460742
Marked as misclassified No
Message-id <1314341598.51.0.665494105251.issue12831@psf.upfronthosting.co.za>
In-reply-to
Content
> "/ 2" is an integer division, so it should be "// 3" in Python 3.

No, I don't think that's right: 2to3 has no way of knowing that the programmer intended an integer division here (self.maxstars could be a float).

Instead, you should always use '//' in Python 2 code where an integer division is intended.
History
Date User Action Args
2011-08-26 06:53:18mark.dickinsonsetrecipients: + mark.dickinson, alexander256
2011-08-26 06:53:18mark.dickinsonsetmessageid: <1314341598.51.0.665494105251.issue12831@psf.upfronthosting.co.za>
2011-08-26 06:53:17mark.dickinsonlinkissue12831 messages
2011-08-26 06:53:17mark.dickinsoncreate