"More About Unicode in Python 2 and 3"

Emile van Sebille emile at fenx.com
Sun Jan 5 18:31:28 EST 2014


On 01/05/2014 02:32 PM, Serhiy Storchaka wrote:
> I wonder why nobody complains about the absent of implicit conversion
> between int and str. In PHP you can write 2 + "3" and got 5, but in
> Python this is an error. So sad!


I'd want my implicit conversion of 2 + '3' to get '23'

That's why it's not there...

Emile




More information about the Python-list mailing list