On 02/23/2011 09:42 AM, R. David Murray wrote:
On Tue, 22 Feb 2011 19:32:56 -0500, Eric Smith<e...@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.
_______________________________________________
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

Reply via email to