A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20160830/8c6838a0/attachment.html below:

<br><br><div class="gmail_quote"><div dir="ltr">On Mon, Aug 29, 2016, 17:06 Terry Reedy <<a href="mailto:tjreedy@udel.edu">tjreedy@udel.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 8/29/2016 5:38 PM, Brett Cannon wrote:<br>
<br>
> who objected to the new field did either for memory ("it adds another<br>
> pointer to the struct that won't be typically used"), or for conceptual<br>
> reasons ("the code object is immutable and you're proposing a mutable<br>
> field"). The latter is addressed by not exposing the field in Python and<br>
<br>
Am I correct is thinking that you will also not add the new field as an<br>
argument to PyCode_New?<br></blockquote></div><div><br></div><div>Correct.</div><div><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
 > clearly stating that code should never expect the field to be filled.<br>
<br>
I interpret this as "The only code that should access the field should<br>
be code that put something there."<br></blockquote></div><div><br></div><div>Yep, seems like a reasonable rule to follow.</div><div><br></div><div>-brett</div><div><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
--<br>
Terry Jan Reedy<br>
<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/brett%40python.org" rel="noreferrer" target="_blank">https://mail.python.org/mailman/options/python-dev/brett%40python.org</a><br>
</blockquote></div>

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4