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.

Created on 2013-06-04 23:11 by vstinner, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
float_format_precision.patch vstinner, 2013-06-04 23:11 review
Messages (2)
msg190629 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2013-06-04 23:11
format(1.2, ".%sf" % (2**32 + 2)) returns "1.20": the integer overflow is not catced. Attached patch fixes the issue.
msg191693 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-06-23 12:57
New changeset ef5175d08e7e by Victor Stinner in branch '3.3': Issue #18137: Detect integer overflow on precision in float.__format__() and http://hg.python.org/cpython/rev/ef5175d08e7e New changeset 81fef2666ebb by Victor Stinner in branch 'default': (Merge 3.3) Issue #18137: Detect integer overflow on precision in http://hg.python.org/cpython/rev/81fef2666ebb New changeset d2b4f59943fa by Victor Stinner in branch '2.7': Issue #18137: Detect integer overflow on precision in float.__format__() http://hg.python.org/cpython/rev/d2b4f59943fa
History
Date User Action Args
2022-04-11 14:57:46adminsetgithub: 62337
2013-06-23 12:57:47vstinnersetstatus: open -> closed
resolution: fixed
2013-06-23 12:57:35python-devsetnosy: + python-dev
messages: + msg191693
2013-06-05 04:43:00serhiy.storchakasetnosy: + serhiy.storchaka
2013-06-04 23:11:30vstinnercreate