cpython/Objects
Brett Cannon 4043001f5d Make str/str8 comparisons return True/False for !=/==.
Code that has been returning str8 becomes much more apparent thanks to this
(e.g., struct module returning str8 for all string-related formats or sqlite3
passing in str8 instances when converting objects that had a __conform__
method).  One also has to watch out in C code when making a key from char *
using PyString in the C code but a str instance in Python code as that will not
longer compare equal.

Once str8 gains a constructor like the current bytes type then
test_modulefinder needs a cleanup as the fix is a little messy in that file.

Thanks goes to Thomas Lee for writing the patch for the change giving an
initial run-down of why most of the tests were failing.
2007-10-22 20:24:51 +00:00
..
stringlib For PEP3137: Adds missing methods to the mutable PyBytes object (soon 2007-10-16 06:31:30 +00:00
abstract.c Eliminate use of PyBUF_CHARACTER flag which is no longer part of the buffer interface. Fix up array module to export the correct format for wide-builds. 2007-10-13 21:03:27 +00:00
boolobject.c Remove more cruft leftover from nb_coerce. Rename nb_coerce to 2007-09-21 20:19:23 +00:00
bytes_methods.c For PEP3137: Adds missing methods to the mutable PyBytes object (soon 2007-10-16 06:31:30 +00:00
bytesobject.c Issue 1267, continued. 2007-10-22 00:09:51 +00:00
cellobject.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
classobject.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
cobject.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
codeobject.c Patch #1272, by Christian Heimes and Alexandre Vassalotti. 2007-10-15 02:52:41 +00:00
complexobject.c Remove more cruft leftover from nb_coerce. Rename nb_coerce to 2007-09-21 20:19:23 +00:00
descrobject.c Use unicode 2007-08-25 07:41:59 +00:00
dictnotes.txt Merged revisions 53623-53858 via svnmerge from 2007-02-23 15:07:44 +00:00
dictobject.c Thomas Wouters suggested an obvious improvement to unicode_eq(): 2007-09-18 18:39:50 +00:00
enumobject.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
exceptions.c Merged revisions 57778-58052 via svnmerge from 2007-09-08 17:39:28 +00:00
fileobject.c Issue 1267, continued. 2007-10-22 00:09:51 +00:00
floatobject.c Remove more cruft leftover from nb_coerce. Rename nb_coerce to 2007-09-21 20:19:23 +00:00
frameobject.c Merged revisions 56492-56752 via svnmerge from 2007-08-05 15:29:28 +00:00
funcobject.c Use unicode and stop supporting str8 2007-08-26 03:56:04 +00:00
genobject.c Merged revisions 58095-58132,58136-58148,58151-58197 via svnmerge from 2007-09-19 03:06:30 +00:00
iterobject.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
listobject.c Merged revisions 58095-58132,58136-58148,58151-58197 via svnmerge from 2007-09-19 03:06:30 +00:00
listsort.txt Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
longobject.c Remove more cruft leftover from nb_coerce. Rename nb_coerce to 2007-09-21 20:19:23 +00:00
memoryobject.c Fix problems with memoryview object. There is still more to do to finish PEP 3118. The memory-view object needs to be fleshed out and the struct module needs to be modified. 2007-10-12 23:27:53 +00:00
methodobject.c Get rid of METH_OLDARGS. 2007-09-01 13:59:50 +00:00
moduleobject.c Patch #1272, by Christian Heimes and Alexandre Vassalotti. 2007-10-15 02:52:41 +00:00
object.c Merged revisions 58095-58132,58136-58148,58151-58197 via svnmerge from 2007-09-19 03:06:30 +00:00
obmalloc.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
rangeobject.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
setobject.c Remove more cruft leftover from nb_coerce. Rename nb_coerce to 2007-09-21 20:19:23 +00:00
sliceobject.c Remove checking redundantly for checks of PyInt and PyLong. 2007-08-31 04:32:55 +00:00
stringobject.c Patch 1280, by Alexandre Vassalotti. 2007-10-19 22:06:24 +00:00
structseq.c Remove the simple slicing API. All slicing is now done with slice objects. 2007-08-30 22:57:53 +00:00
tupleobject.c Remove the simple slicing API. All slicing is now done with slice objects. 2007-08-30 22:57:53 +00:00
typeobject.c Merged revisions 57778-58052 via svnmerge from 2007-09-08 17:39:28 +00:00
unicodectype.c Add XID_Start and XID_Continue properties to unicodectype. 2007-08-14 22:37:03 +00:00
unicodeobject.c Make str/str8 comparisons return True/False for !=/==. 2007-10-22 20:24:51 +00:00
unicodetype_db.h Add XID_Start and XID_Continue properties to unicodectype. 2007-08-14 22:37:03 +00:00
weakrefobject.c Remove more cruft leftover from nb_coerce. Rename nb_coerce to 2007-09-21 20:19:23 +00:00