"Christophe" wrote:

> I mean, why not ? Why does the compiler let me do that when you know
> perfectly that that code is incorrect :

> def f():
>       return "a" + 5

probably because the following set is rather small:

    bugs caused by invalid operations involving only literals, that are not
    discovered during initial testing

</F> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to