[Python-3000] More PEP 3101 changes incoming

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Aug 10 01:24:13 CEST 2007


> Talin wrote:
>>In other words, other than the special case of 'repr', we find that 
>>pretty much everything can fit into a single specifier string;

I think there might still be merit in separating the
field width and alignment spec, at least syntactically,
since all format specs will have it and it should have
a uniform syntax across all of them, and it would be
good if it didn't have to be parsed by all the __format__
methods individually.
-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	 | Carpe post meridiem! 	 |
Christchurch, New Zealand	 | (I'm not a morning person.) |
greg.ewing at canterbury.ac.nz	 +--------------------------------------+


More information about the Python-3000 mailing list

AltStyle によって変換されたページ (->オリジナル) /