New submission from STINNER Victor:

format(1.2, ".%sf" % (2**32 + 2)) returns "1.20": the integer overflow is not 
catced.

Attached patch fixes the issue.

----------
components: Interpreter Core
files: float_format_precision.patch
keywords: patch
messages: 190629
nosy: haypo, mark.dickinson
priority: normal
severity: normal
status: open
title: format(float, str): integer overflow for huge precision
versions: Python 2.7, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file30465/float_format_precision.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18137>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to