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 vstinner
Recipients Sean.Ochoa, eric.smith, ezio.melotti, lekma, lemburg, mark.dickinson, petri.lehtinen, python-dev, ron_adam, serhiy.storchaka, vstinner, ysj.ray
Date 2013-05-05.23:05:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367795127.19.0.432948564255.issue7330@psf.upfronthosting.co.za>
In-reply-to
Content
I didn't add the following optimization (proposed by Serhiy in his review) because I'm not convinced that it's faster, and it's unrelated to this issue:

   if (width > (PY_SSIZE_T_MAX - 9) / 10
       && width > (PY_SSIZE_T_MAX - ((int)*f - '0')) / 10)
   { ... }

instead of 

   if (width > (PY_SSIZE_T_MAX - ((int)*f - '0')) / 10)
   { ... }
History
Date User Action Args
2013-05-05 23:05:27vstinnersetrecipients: + vstinner, lemburg, mark.dickinson, eric.smith, ron_adam, ezio.melotti, lekma, ysj.ray, python-dev, petri.lehtinen, serhiy.storchaka, Sean.Ochoa
2013-05-05 23:05:27vstinnersetmessageid: <1367795127.19.0.432948564255.issue7330@psf.upfronthosting.co.za>
2013-05-05 23:05:27vstinnerlinkissue7330 messages
2013-05-05 23:05:27vstinnercreate