<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">On 10/10/2018 00:06, Steven D'Aprano
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20181009230605.GV3817@ando.pearwood.info">
<pre wrap="">On Tue, Oct 09, 2018 at 09:37:48AM -0700, Jeff Hardy wrote:
</pre>
<blockquote type="cite">...
<pre wrap="">From an alternative implementation point of view, CPython's behaviour
*is* the spec. Practicality beats purity and all that.
</pre>
</blockquote>
<pre wrap="">
Are you speaking on behalf of all authors of alternate implementations,
or even of some of them?
It certainly is not true that CPython's behaviour "is" the spec. PyPy
keeps a list of CPython behaviour they don't match, either because they
choose not to for other reasons, or because they believe that the
CPython behaviour is buggy. I daresay IronPython and Jython have
similar.
</pre>
</blockquote>
While agreeing with the principle, unless it is one of the
fundamental differences (GC, GIL), Jython usually lets practicality
beat purity. When faced with a certain combination of objects, one
has to do something, and it is least surprising to do what CPython
does. It's also easier than keeping a record.<br>
<br>
Rarely, we manage to exceed CPython (in consistency or coverage) by
a tiny amount.<br>
<br>
Jeff Allen<br>
</body>
</html>