[Python-Dev] Fwd: deep question re dict as formatting input

Eric Smith eric at trueblade.com
Wed Feb 23 17:01:38 CET 2011


On 02/23/2011 09:42 AM, R. David Murray wrote:
> On Tue, 22 Feb 2011 19:32:56 -0500, Eric Smith<eric at trueblade.com>  wrote:
>> You are correct, I didn't exactly implement the PEP on this point,
>> probably as a shortcut. I think there's an issue somewhere that
>> discusses this, but I can't find it. The CPython implementation is
>> really using "If every character is a digit, then it is treated as an
>> integer, otherwise it is used as a string".
>
> Perhaps you are thinking of http://bugs.python.org/issue7951.  Not
> directly on point, but related.

Yes, that's the one I was thinking of. Thanks, David.

I'm not sure I agree with all of the points raised there, but it does 
some additional background on the issue.


More information about the Python-Dev mailing list