<br><br><div class="gmail_quote">On Fri, Jul 23, 2010 at 8:26 AM, Andrey Popp <span dir="ltr"><<a href="mailto:8mayday@gmail.com">8mayday@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

I think it's a form of weak typing from languages like PHP, that<br>
allows programmer to make huge amounts of mistakes, that are sometimes<br>
difficult to spot.</blockquote><div><br></div><div>I agree. but i wouldn't mind if python would start automatically calling str on objects in string sequences if they are not strings.</div><div>i.e. turn this</div><div>

<br></div><div>not_a_string = 123</div><div><br></div><div>a_string = 'this is a string' + not_a_string</div><div>#currently throws syntax error</div><div><br></div><div> to this:</div><div><div>a_string = 'this is a string ' + str(not_a_string)</div>

</div><div><br></div><div>they do this in java and it works quite well</div><div><br></div><div>Alex</div><div><br></div></div>