Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36413 > unrolled thread

comparison between non-comparable objects

Started byKelvin Li <ltwisabc@gmail.com>
First post2013-01-07 21:28 -0800
Last post2013-01-07 21:28 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  comparison between non-comparable objects Kelvin Li <ltwisabc@gmail.com> - 2013-01-07 21:28 -0800

#36413 — comparison between non-comparable objects

FromKelvin Li <ltwisabc@gmail.com>
Date2013-01-07 21:28 -0800
Subjectcomparison between non-comparable objects
Message-ID<mailman.261.1357622895.2939.python-list@python.org>
The language reference says:

"...the choice whether one object [of built-in type] is considered
smaller or larger than another one is made arbitrarily..."

but that seems to be Python 2 behavior; Python 3 apparently raises a
TypeError. Does the documentation need updating?

Thanks,
Kelvin

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web