A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-October/092783.html below:

[Python-Dev] transitioning from % to {} formatting

[Python-Dev] transitioning from % to {} formatting [Python-Dev] transitioning from % to {} formattingVinay Sajip vinay_sajip at yahoo.co.uk
Thu Oct 8 16:54:53 CEST 2009
> I didn't get your message, could you resend?.


Resent, it may have been stopped by your spam filters since it came from my vinay-underscore-sajip-at-red-hyphen-dove-dot-com address. The subject was "Python str.format() and octal formatting compatibility".

> I was thinking the same thing, but it seems like a transition step. I'd rather 
> not keep such backward compatibility hacks (if you will) around for the long 
> haul.  How about a flag (maybe '*') at the start of the format specification 
> which says "operate in backward compatibility mode"? We could document it as 
> being only useful for the % to {} translator, and promise to remove it at some 
> point in the future. Either actually deprecate it or just promise to deprecate 
> it in the future.

I don't much mind matter exactly which mechanism we use to distinguish between 0o and 0 prefixes, as long as it's one most people are happy with :-)

Regards,

Vinay Sajip



      
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4