[Python-Dev] Backporting PEP 414

Calvin Spealman ironfroggy at gmail.com
Wed Feb 29 23:06:21 CET 2012


On Feb 28, 2012 7:14 PM, <martin at v.loewis.de> wrote:
>>
>> Why is readding u'' a feature and not a bug?
>
>
> There is a really simple litmus test for whether something is a bug:
> does it deviate from the specification?
>
> In this case, the specification is the grammar, and the implementation
> certainly doesn't deviate from it. So it can't be a bug.

I don't think anyone can assert that the specification itself is immune to
having "bugs".

>
> Regards,
> Martin
>
> P.S. Before anybody over-interprets this criterion: there is certain
> "implicit behavior" assumed in Python that may not actually be documented,
> such as "the interpreter will not core dump", and "the source code will
> compile with any standard C compiler". Deviation from these implicit
> assumption is also a bug. However, they don't apply here.
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
http://mail.python.org/mailman/options/python-dev/ironfroggy%40gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120229/3ed36563/attachment.html>


More information about the Python-Dev mailing list