R. David Murray added the comment:
This would need a deprecation preriod if we want to do it.
--
nosy: +r.david.murray
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17247
Changes by Stefan Krah stefan-use...@bytereef.org:
--
nosy: -skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17247
___
___
Python-bugs-list
Stefan Krah added the comment:
With this patch float and int should behave like Decimal. It may
break existing code that (accidentally) uses both legacy zero padding
and explicit alignment.
--
keywords: +patch
stage: needs patch - patch review
versions: -Python 3.3
Added file:
Stefan Krah added the comment:
With int and float it's also possible to specify both conflicting
alignments and fill characters:
{:x06}.format(1.2)
'1.2xxx'
So I really think that the builtins should be changed to detect
the conflict.
--
assignee: skrah -
components: +Interpreter
Changes by Eric V. Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17247
___
___
Python-bugs-list