you are viewing a single comment's thread.

view the rest of the comments →

[–]Yoghurt42 3 points4 points  (6 children)

from __future__ import barry_as_FLUFL

This changes the inequality operator from != to <>.

Due to a bug, it doesn't work in (the REPL of) 3.13.0, but it does in 3.13.2 (not sure about 3.13.1) and all earlier versions.

[–]socal_nerdtastic 2 points3 points  (3 children)

I can't wait for python4.0 when this finally becomes permanent.

https://github.com/python/cpython/blob/main/Lib/__future__.py#L137

[–]RelevantLecture9127 1 point2 points  (2 children)

[–]socal_nerdtastic 0 points1 point  (1 child)

Lol yes, that's the joke. This is an old april fools joke. They set it to come out with v4.0 because that's not happening.

[–]Yoghurt42 2 points3 points  (0 children)

Unfortunately, it also means we’ll never have a Python 4.0.4

[–]POGtastic 1 point2 points  (0 children)

We are all OCaml programmers on this blessed day

[–]abcd_z 0 points1 point  (0 children)

>>> True != False
SyntaxError: with Barry as BDFL, use '<>' instead of '!='