<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 19, 2015 at 12:10 AM, Chris Angelico <span dir="ltr"><<a href="mailto:rosuav@gmail.com" target="_blank">rosuav@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=":15t" class="" style="overflow:hidden">That's not true; there is a spec for the language, which is<br>
independent of CPython, PyPy, etc, which are the implementations of<br>
it. </div></blockquote></div><br><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I'm not aware of such a document - can you point me to it? AFAIK `callable` is too old to be in a PEP. I hope you didn't have in mind the "docs as specification", that's not really a specification, it's a "state of things".<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">But in this case, the question isn't one of Python vs CPython, but one<br>
of the use of application-level code. If this is considered a hack,<br>
then it's not part of the language spec at all, but if it's deemed a<br>
feature, then (a) every Python implementation will be required to<br>
match it, and (b) other parts of the language (in this case,<br>
callable()) will probably be required to acknowledge it.<br></blockquote><div><br></div><div>I wouldn't care about other python implementations, they are years behind CPython, and this is a very small change anyway. Why would this matter for them if they still implement python-2.7-language? It doesn't really make sense, unless you are considering to fix this in 2.7 too.<br></div></div><br><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><span style="font-family:trebuchet ms,sans-serif"><span style="color:rgb(51,51,51)"><br><font size="2"><span style="color:rgb(51,51,51)">Thanks,</span><br><span style="color:rgb(153,153,153)">-- Ionel</span></font></span><font size="2"><font style="color:rgb(153,153,153)"> Cristian Mărieș, <a href="http://blog.ionelmc.ro" target="_blank">http://blog.ionelmc.ro</a><br></font></font></span></div></div></div></div></div></div></div>
</div></div>