cpython/Objects
Guido van Rossum be4cbb1668 Use rich comparisons to fulfill an old wish: complex numbers now raise
exceptions when compared using <, <=, > or >=.

NOTE: This is a tentative change: this means that cmp() involving
complex numbers will raise an exception when the numbers differ, and
that in turn means that e.g. dictionaries and certain other compounds
(e.g. UserLists) containing complex numbers can't be compared either.
So we'll have to decide whether this is acceptable.  The alpha test
cycle is a good time to keep an eye on this!
2001-01-18 01:12:39 +00:00
..
.cvsignore Ignore a bunch of generated files. 2000-05-02 18:34:30 +00:00
Makefile.in Update dependencies per /F. 2000-11-28 12:09:18 +00:00
abstract.c Rich comparisons fall-out: 2001-01-17 15:29:42 +00:00
bufferobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
classobject.c Fix a leak in instance_coerce(). This was introduced by Neil's 2001-01-17 23:43:43 +00:00
cobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
complexobject.c Use rich comparisons to fulfill an old wish: complex numbers now raise 2001-01-18 01:12:39 +00:00
dictobject.c Rich comparisons: 2001-01-18 00:39:02 +00:00
fileobject.c Rationalizing the fallback code for portable fseek -- this is all much 2001-01-16 20:53:31 +00:00
floatobject.c Rich comparisons fall-out: 2001-01-17 15:33:42 +00:00
frameobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
funcobject.c Committing PEP 232, function attribute feature, approved by Guido. 2001-01-15 20:40:19 +00:00
intobject.c Rich comparisons fall-out: 2001-01-17 15:32:23 +00:00
listobject.c Convert to rich comparisons: 2001-01-17 22:11:59 +00:00
longobject.c Rich comparisons fall-out: 2001-01-17 15:33:18 +00:00
methodobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
moduleobject.c Add garbage collection for module objects. Closes patch #102939 and 2001-01-02 15:58:27 +00:00
object.c Deal properly (?) with comparing recursive datastructures. 2001-01-17 21:27:02 +00:00
rangeobject.c SF patch #103158 by Greg Ball: Don't do unsafe arithmetic in xrange 2001-01-15 18:58:56 +00:00
sliceobject.c Test for NULL returned from PyObject_NEW(). 2000-12-14 15:09:46 +00:00
stringobject.c Added checks to prevent PyUnicode_Count() from dumping core 2001-01-16 11:54:12 +00:00
tupleobject.c Same treatment as listobject.c: 2001-01-18 00:00:53 +00:00
typeobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
unicodectype.c unicode database compression, step 3: 2000-09-25 21:48:13 +00:00
unicodeobject.c This patch adds a new builtin unistr() which behaves like str() 2001-01-17 17:09:53 +00:00
unicodetype_db.h Added 38,642 missing characters to the Unicode database (first-last 2000-11-03 20:24:15 +00:00
xxobject.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00