<> and DeprecationWarning

Gerrit Holl gerrit at nl.linux.org
Mon Oct 20 06:18:31 EDT 2003


Hi,

the <> inequality test operator has been deprecated for a loooooong time.

Is there a reason that it doesn't trigger a DeprecationWarning?

$ python2.2 -Wall -c "print 0 <> 0"
0
$ python2.3 -Wall -c "print 0 <> 0"
False

Or is the only reason that is has never been implemented?
IANACS, but this doesn't seem very complicated to implement to me...

yours,
Gerrit.

-- 
196. If a man put out the eye of another man, his eye shall be put out.
          -- 1780 BC, Hammurabi, Code of Law
-- 
Asperger Syndroom - een persoonlijke benadering:
	http://people.nl.linux.org/~gerrit/
Kom in verzet tegen dit kabinet:
	http://www.sp.nl/





More information about the Python-list mailing list