[Python-3000] String formating operations in python 3k

Barry Warsaw barry at python.org
Tue Apr 4 21:05:00 CEST 2006


On Tue, 2006-04-04 at 13:27 +1200, Greg Ewing wrote:

> If I were designing a formatting system from scratch,
> I think I'd separate the issue of formatting numbers into
> strings from the issue of inserting strings into other
> strings.

This really is a key observation.  PEP 292 tried to make inserting
strings into other strings really simple to grok, and I think it does
that, while still providing a useful level of flexibility for advanced
users.  I really would hate to mingle that simple functionality with all
the complexity of number formatting and the like.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 309 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-3000/attachments/20060404/cae7af2d/attachment.pgp 


More information about the Python-3000 mailing list