On Thu, Apr 21, 2011 at 11:38 PM, harrismh777 <harrismh...@charter.net>wrote:

>
> Yes. And you have managed to point out a serious flaw in the overall logic
> and consistency of Python, IMHO.
>
> Strings should auto-type-promote to numbers if appropriate.


Please no.  It's a little more convenient sometimes when you're coding, but
it adds bugs that aren't worth the small benefit.

Explicit is better than implicit.

http://www.python.org/dev/peps/pep-0020/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to