[Python-Dev] Numeric alignment issue with PEP 3101

Eric Smith eric at trueblade.com
Tue Sep 8 00:10:04 CEST 2009


Greg Ewing wrote:
> Is the new formatting supposed to behave the same way
> as %-formatting for the same format codes? Because the
> default for %-formatting is actually right alignment
> for *all* types, including strings.

Hmm, I never noticed that. At this point, I think changing the 
formatting for any types would break code, so we should just change the 
documentation to reflect how currently works.

Eric.



More information about the Python-Dev mailing list