Is it expected that the barry_as_FLUFL feature doesn't work outside of REPL?

Hi all!

Figured out that

from __future__ import barry_as_FLUFL

changes behavior in REPL, but doesn’t have any effect in usual Python runs (I mean .py files). Checked in Python 3.2-3.8 and the behaviour seems to be persistent this way. So, is it expected that <> (diamond operator) only exists in REPL?

barry_as_FLUFL is a joke feature, an undocumented easter egg.

You shouldn’t use it. I’ve never tried it outside of the REPL, so it
doesn’t surprise me if it doesn’t work outside of that.

Apparently you are correct, it doesn’t work:

[steve ~]$ python3.7 -c "from __future__ import barry_as_FLUFL; print( 1 <> 2 )"
  File "<string>", line 1
    from __future__ import barry_as_FLUFL; print( 1 <> 2 )
SyntaxError: invalid syntax