Author gpolo
Recipients collinwinter, gpolo
Date 2008-05-09.20:51:49
SpamBayes Score 0.150211
Marked as misclassified No
Message-id <1210366311.62.0.240931801365.issue2805@psf.upfronthosting.co.za>
In-reply-to
Content
Given the sample code:

  for i in range(len([1, 2]) / 2): pass

  print 2 / 3

2to3 tells no files need to be modified after running it over this code,
but range doesn't accept float values and the print result will differ.
Would it be too expensive for 2to3 to suggest changing '/' to '//' ?
History
Date User Action Args
2008-05-09 20:51:51gpolosetspambayes_score: 0.150211 -> 0.150211
recipients: + gpolo, collinwinter
2008-05-09 20:51:51gpolosetspambayes_score: 0.150211 -> 0.150211
messageid: <1210366311.62.0.240931801365.issue2805@psf.upfronthosting.co.za>
2008-05-09 20:51:50gpololinkissue2805 messages
2008-05-09 20:51:49gpolocreate