View Single Post
Old 05-21-2020, 12:23 PM   #124
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Terisa de morgan View Post
Edit: Found the problem, python3 doesn't like "<>", it prefers "!=". In any case, the function has disappeared silently... No warning to the user...
I feel mildly shocked to discover real use of <> in the wild, TBH.

Though you could fix this by using:

Code:
$ python3
>>> from __future__ import barry_as_FLUFL
>>> 2 != 3
  File "<stdin>", line 1
    2 != 3
       ^
SyntaxError: with Barry as BDFL, use '<>' instead of '!='
eschwartz is offline   Reply With Quote