<br><br><div class="gmail_quote">On Thu, Oct 22, 2009 at 18:22, Jim Jewett <span dir="ltr"><<a href="mailto:jimjjewett@gmail.com">jimjjewett@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 class="im">On Thu, Oct 22, 2009 at 3:08 PM, Guido van Rossum <<a href="mailto:guido@python.org">guido@python.org</a>> wrote:<br>
> Anyway, the "Python core" includes a lot of stuff that isn't covered<br>
> by the moratorium (which only prohibits changes to syntax and<br>
> associated semantics, not implementation issues).<br>
<br>
</div>Changes to semantics are rare enough that I'm not sure a moratorium<br>
(but allowing bug fixes) would matter.  (Particularly if you stick to<br>
the claim that details of import resolution are<br>
implementation-specific.)<br>
<br>
I have no opinion on changes to syntax; they're already uncommon, but<br>
saying they'll wait until 2013 doesn't bother me.<br>
<br>
The limit on builtins may be more of a problem.  For example, I liked<br>
Brett's work on signatures. If he gets motivated to work on it again,<br>
I don't want him to say "Drat; I really need access to this one extra<br>
function attribute, which isn't currently exposed at the python level.<br>
 I guess I'll have to wait a few years."<br>
<br></blockquote><div><br></div><div>Since my PEP 362 keeps (surprisingly) coming up), I will use it as an example.</div><div><br></div><div>If the code actually gets checked in then chances are it will be put into inspect first to work out any details. If it happens to receive uptake, it can get pushed up to a built-in or something when the moratorium is lifted. But assigning to __signature__ or something on functions is not really covered by this as anyone could do that on their own w/o changing Python. What would be gray area is if help() was changed to recognize the attribute. But that could potentially be negotiated as implementation detail.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
It would be reasonable to say that changes to builtins will be rare,<br>
and will typically be strictly additions to functionality, as though<br>
they were replaced by a subclass which overrode nothing except that<br>
certain Exceptions were now handled internally.  (In other words, *if*<br>
the name previously existed, it either keeps the same meaning, or gets<br>
wrapped in something that just calls the old meaning as a try suite,<br>
with all new functionality inside the except suite.)</blockquote><div><br></div><div>I still prefer Guido's hard-line on changes and we don't even do additions.</div><div><br></div><div>-Brett</div></div>