[Python-Dev] Two proposed changes to float formatting
eric at trueblade.com
Mon Apr 27 01:42:51 CEST 2009
Mark Dickinson wrote:
> (1) Currently, '%f' formatting automatically changes to '%g' formatting for
> numbers larger than 1e50. For example:
>>>> '%f' % 2**166.
>>>> '%f' % 2**167.
> I propose removing this feature for 3.1
I don't think we've stated it on this discussion, but I know from
private email with Mark that his proposal is for both %-formatting and
for float.__format__ to have this change. I just want to get it on the
More information about the Python-Dev