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. -- R. David Murray www.bitdance.com _______________________________________________ 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