<br><br><div class="gmail_quote">On Sun, Aug 14, 2011 at 19:36, Benjamin Peterson <span dir="ltr">&lt;<a href="mailto:benjamin@python.org">benjamin@python.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

2011/8/14 Brett Cannon &lt;<a href="mailto:brett@python.org">brett@python.org</a>&gt;:<br>
<div class="im">&gt;<br>
&gt;<br>
&gt; On Thu, Aug 11, 2011 at 00:02, Antoine Pitrou &lt;<a href="mailto:solipsis@pitrou.net">solipsis@pitrou.net</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Le Thu, 11 Aug 2011 03:34:37 +0200,<br>
&gt;&gt; brian.curtin &lt;<a href="mailto:python-checkins@python.org">python-checkins@python.org</a>&gt; a écrit :<br>
&gt;&gt; &gt; <a href="http://hg.python.org/cpython/rev/77a65b078852" target="_blank">http://hg.python.org/cpython/rev/77a65b078852</a><br>
&gt;&gt; &gt; changeset:   71809:77a65b078852<br>
&gt;&gt; &gt; parent:      71803:1b4fae183da3<br>
&gt;&gt; &gt; user:        Brian Curtin &lt;<a href="mailto:brian@python.org">brian@python.org</a>&gt;<br>
&gt;&gt; &gt; date:        Wed Aug 10 20:05:21 2011 -0500<br>
&gt;&gt; &gt; summary:<br>
&gt;&gt; &gt;   Add Py_RETURN_NOTIMPLEMENTED macro. Fixes #12724.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; It would sound more useful to have a generic Py_RETURN() macro rather than<br>
&gt;&gt; some specific forms for each and every common object.<br>
&gt;<br>
&gt; Since the macro is rather generic, sure, but the name should probably be<br>
&gt; better since it doesn&#39;t necessarily convene the fact that a INCREF has<br>
&gt; occurred. So maybe Py_INCREF_RETURN()?<br>
<br>
</div>That nearly nullifies the space saving. I think that fact that it&#39;s a<br>
macro at all conveys that it does something else aside from &quot;return<br>
x;&quot;.<br></blockquote><div><br></div><div>This is C code; space savings went out the window along with gc a long time ago.</div><div><br></div><div>Yes, being a macro helps differentiate semantics that a longer name is probably not needed.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
--<br>
Regards,<br>
<font color="#888888">Benjamin<br>
</font></blockquote></div><br>