<div class="gmail_quote">On 30 November 2011 19:39, Fernando Perez <span dir="ltr"><<a href="mailto:fperez.net@gmail.com">fperez.net@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div id=":1x">So in summary, from the feedback (thanks everyone), I'm leaning towards:<br>
<br>
- defaulting autocall to 0.<br>
<br>
- accepting Thomas' idea, if we can rework the machinery (in a<br>
backwards compatible way, so we still understand the 0,1,2 labels as<br>
synonyms for 'off', 'smart', 'full') to accept 'safe' as a new mode.</div></blockquote></div><br>I would still press for having my 'safe autocall' on by default. As far as I can see, this shouldn't cause any problems with unexpected attribute access.<br>

<br>As Min mentioned, autocall is a handy hint for beginners, and almost entirely useless if it's off by default. And I suspect that >90% of what it's used for is simple functions, like len and list - I use "list _" a lot when something returns a generator and I want to see the values. Also, for people migrating to Python 3, having "print x" just work but give a reminder will save a lot of cursing.<br>

<br>Thomas<br>