New submission from Chris Warrick :
When formatting decimal.Decimal using old-style formatting (%g), the output is
as short as possible, as expected. When using new-style formatting (str.format
or f-strings), the output uses the input precision. Floats behave correctly
with new-style
Change by Chris Warrick :
--
nosy: +Kwpolska
___
Python tracker
<https://bugs.python.org/issue23057>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Chris Warrick:
The itertools recipes list [0] ends with the following dubious advice:
> Note, many of the above recipes can be optimized by replacing global lookups
> with local variables defined as default values. For example, the dotproduct
> recipe can be w
Changes by Chris Warrick :
--
nosy: +Kwpolska
___
Python tracker
<http://bugs.python.org/issue29134>
___
___
Python-bugs-list mailing list
Unsubscribe: