What does the status and structure of a PEP mean?

What is the structure of PEP status and average?

These days I am trying to write a python2.7 interpreter.

But, I don't know why the comparison operator <> occurs in python 2.7. (It wasn't in python 3.0) Check out what it was in PEP401. Official announcements are for future compatibility (import from the future or more)

Something confuses me that the status April Fool!

April Fool?

Ref:

+3


source to share


1 answer


The related PEP is, as the state suggests, an April joke; this is not a real PEP.



There is no clear operator <>

; however, in Python 2, the interpreter will read <>

as a synonym for !=

. In Python 3, it <>

is a syntax error.

+1


source







All Articles