Mark Dickinson <dicki...@gmail.com> added the comment: The worst-case length calculations look fine to me, except that on a system with sizeof(int) == 8 (yes, they do exist!) the precision could end up being more than 10 digits. I've added a check for that in r70682.
The docs also already mention the %f -> %g conversion, so I think all Tim's points have been addressed. ---------- resolution: -> fixed stage: test needed -> committed/rejected status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue532631> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com