[Python-Dev] Backporting PEP 414

martin at v.loewis.de martin at v.loewis.de
Wed Feb 29 01:13:13 CET 2012


> 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.

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.



More information about the Python-Dev mailing list