Glenn Linderman wrote: > If you want to replace a C program that produces parsed output in a > given format, and that given format includes leading-0-octal numbers, > then it would be good to have the capability in Python .format, even > though Python itself uses 0o prefix. > > Similar arguments may apply anywhere else that sprintf produces > something that .format cannot currently produce.
Heh, I should have read this before making my last comment - this is exactly what I was trying to get at :) Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia --------------------------------------------------------------- _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com