[issue17247] int and float should detect inconsistent format strings

2015-04-09 Thread R. David Murray

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
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17247] int and float should detect inconsistent format strings

2014-10-14 Thread Stefan Krah

Changes by Stefan Krah stefan-use...@bytereef.org:


--
nosy:  -skrah

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17247
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17247] int and float should detect inconsistent format strings

2013-05-29 Thread Stefan Krah

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: http://bugs.python.org/file30417/issue17247.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17247
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17247] int and float should detect inconsistent format strings

2013-02-19 Thread Stefan Krah

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 Core
title: Decimal doesn't support aligned fill - int and float should detect 
inconsistent format strings

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17247
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue17247] int and float should detect inconsistent format strings

2013-02-19 Thread Eric V. Smith

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 mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com