cpython/Modules
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
..
_ctypes Patch #1272, by Christian Heimes and Alexandre Vassalotti. 2007-10-15 02:52:41 +00:00
_sqlite Make str/str8 comparisons return True/False for !=/==. 2007-10-22 20:24:51 +00:00
cjkcodecs Fix a couple of warnings 2007-08-26 05:32:41 +00:00
expat Remove support for BeOS 2007-08-17 12:57:41 +00:00
zlib Remove RISCOS support 2007-08-16 14:35:24 +00:00
_bisectmodule.c More unconsting. 2006-02-27 17:20:04 +00:00
_bsddb.c Merge 58343: attempt to fix DBSequence.get_key() to not fail or crash. 2007-10-06 08:22:26 +00:00
_codecsmodule.c Apply SF patch #1775604: This adds three new codecs (utf-32, utf-32-le and 2007-08-16 21:55:45 +00:00
_collectionsmodule.c Kill remaining tp_print definitions. 2007-08-07 19:58:47 +00:00
_csv.c Patch# 1258 by Christian Heimes: kill basestring. 2007-10-16 18:12:55 +00:00
_curses_panel.c Convert a bunch of constant strings in C to unicode. 2007-08-23 21:42:55 +00:00
_cursesmodule.c Remove curses temp file consistently. 2007-08-30 23:34:01 +00:00
_elementtree.c SF patch # 1769767, get test_xml_etree_c working. More conversions are probably needed. 2007-08-08 06:56:02 +00:00
_fileio.c Remove a bogus comment based on the code above. 2007-08-16 05:18:31 +00:00
_functoolsmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
_hashopenssl.c Change PyBuffer to Py_buffer to be consistent with other non-object structures like Py_complex. Add some more functionality to the memoryview object. 2007-09-23 02:00:13 +00:00
_heapqmodule.c Use UTF-8 for a docstring that contains non-ASCII chars. 2007-08-23 23:58:43 +00:00
_localemodule.c Use unicode 2007-08-26 07:21:45 +00:00
_lsprof.c Merged revisions 57778-58052 via svnmerge from 2007-09-08 17:39:28 +00:00
_randommodule.c Remove checking redundantly for checks of PyInt and PyLong. 2007-08-31 04:32:55 +00:00
_sre.c Remove the buffer API from PyUnicode as specified by PEP 3137. Also, 2007-10-14 02:05:51 +00:00
_ssl.c Merged revisions 58095-58132,58136-58148,58151-58197 via svnmerge from 2007-09-19 03:06:30 +00:00
_struct.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
_testcapimodule.c Three patches from issue #1047, by Amaury Forgeot d'Arc: 2007-08-29 18:38:11 +00:00
_tkinter.c Tkinter binding involving Control-spacebar raises unicode error 2007-08-27 01:55:21 +00:00
_typesmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
_weakref.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
addrinfo.h Cruft removal: 2006-12-28 04:47:50 +00:00
ar_beos Moved BeOS/ar-fake and BeOS/linkmodule to Modules/ar_beos and 2001-02-16 03:24:50 +00:00
arraymodule.c Fix typo: formats -> format. (Only mattered in wide unicode builds.) 2007-10-14 20:46:15 +00:00
atexitmodule.c missing docstrings 2007-08-06 20:59:28 +00:00
audioop.c Make audioop and its tests use bytes throughout. 2007-07-20 07:36:26 +00:00
binascii.c Remove unused variable. 2007-08-23 18:31:24 +00:00
bz2module.c Merged revisions 58095-58132,58136-58148,58151-58197 via svnmerge from 2007-09-19 03:06:30 +00:00
cmathmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
config.c.in Somehow this contained a bogus reference to "exceptions" which caused 2007-04-07 03:14:46 +00:00
cryptmodule.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
cStringIO.c Merged revisions 56782-56847 via svnmerge from 2007-08-09 14:26:58 +00:00
datetimemodule.c Remove more cruft leftover from nb_coerce. Rename nb_coerce to 2007-09-21 20:19:23 +00:00
dbmmodule.c The dbm module should use bytes for keys. This makes test_shelve pass. 2007-08-14 15:42:45 +00:00
dlmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
errnomodule.c Use unicode for the errno.errorcode names 2007-08-24 00:10:00 +00:00
fcntlmodule.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
fpectlmodule.c Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
fpetestmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
gc_weakref.txt SF 1055820: weakref callback vs gc vs threads 2004-10-30 23:09:22 +00:00
gcmodule.c Convert a bunch of constant strings in C to unicode. 2007-08-23 21:42:55 +00:00
gdbmmodule.c Change module to produce and consume bytes. 2007-08-11 19:28:53 +00:00
getaddrinfo.c SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners. 2007-02-27 19:06:23 +00:00
getbuildinfo.c Merged revisions 55817-55961 via svnmerge from 2007-06-13 18:07:49 +00:00
getnameinfo.c SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners. 2007-02-27 19:06:23 +00:00
getpath.c Merged revisions 53952-54987 via svnmerge from 2007-04-27 19:54:29 +00:00
grpmodule.c Use unicode 2007-08-26 02:54:31 +00:00
itertoolsmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
ld_so_aix SF Bug # 941346, AIX shared library fix 2005-10-03 03:57:09 +00:00
ld_so_beos Remove a hard coded Python version, and a now incorrect relative path. Closes 2001-02-16 03:27:35 +00:00
main.c Revert 57722. Move error dialog APIs to msvcrt instead, 2007-08-31 07:58:36 +00:00
makesetup Merged revisions 57778-58052 via svnmerge from 2007-09-08 17:39:28 +00:00
makexp_aix - Changes donated by Elemental Security to make it work on AIX 5.3 2005-09-14 18:09:42 +00:00
mathmodule.c Fix math.ceil() and math.floor() to fall back to __ceil__ and __floor__ 2007-08-23 22:56:55 +00:00
md5module.c Adds stand alone _md5 and _sha1 modules for use by hashlib on systems 2007-09-09 06:44:34 +00:00
mmapmodule.c Change PyBuffer to Py_buffer to be consistent with other non-object structures like Py_complex. Add some more functionality to the memoryview object. 2007-09-23 02:00:13 +00:00
nismodule.c Use s# instead of t# for nis_match. 2007-08-30 10:21:51 +00:00
operator.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
ossaudiodev.c Use unicode 2007-08-26 04:57:08 +00:00
parsermodule.c Use unicode and remove support for some uses of str8. 2007-08-26 04:51:28 +00:00
posixmodule.c Issue 1267, continued. 2007-10-22 00:09:51 +00:00
pwdmodule.c Use unicode for password modules 2007-08-24 23:26:23 +00:00
pyexpat.c Patch #1272, by Christian Heimes and Alexandre Vassalotti. 2007-10-15 02:52:41 +00:00
python.c Apparently FreeBSD enables some HW floating-point exceptions by default. 2002-12-28 21:56:08 +00:00
readline.c Merged revisions 57778-58052 via svnmerge from 2007-09-08 17:39:28 +00:00
resource.c Four months of trunk changes (including a few releases...) 2006-12-13 04:49:30 +00:00
rotatingtree.c randombits(): Stop compiler warning about mixing 2006-02-15 03:01:30 +00:00
rotatingtree.h Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 2006-05-27 19:21:47 +00:00
selectmodule.c Remove support for BeOS 2007-08-17 12:57:41 +00:00
Setup.config.in Patch to make _codecs a builtin module. This is necessary since 2002-12-12 17:37:50 +00:00
Setup.dist cPickle was removed 2007-08-24 02:51:04 +00:00
sha1module.c Adds stand alone _md5 and _sha1 modules for use by hashlib on systems 2007-09-09 06:44:34 +00:00
sha256module.c Adds stand alone _md5 and _sha1 modules for use by hashlib on systems 2007-09-09 06:44:34 +00:00
sha512module.c Adds stand alone _md5 and _sha1 modules for use by hashlib on systems 2007-09-09 06:44:34 +00:00
signalmodule.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
socketmodule.c Fixing the spelling of "writeable" to "writable", particularly PyBUF_WRITEABLE. 2007-09-17 17:55:36 +00:00
socketmodule.h Remove support for BeOS 2007-08-17 12:57:41 +00:00
spwdmodule.c Use unicode for password modules 2007-08-24 23:26:23 +00:00
sre_constants.h Implemented non-recursive SRE matching. 2003-10-17 22:13:16 +00:00
sre.h Merged revisions 46753-51188 via svnmerge from 2006-08-11 14:57:12 +00:00
symtablemodule.c Hide list comp variables and support set comprehensions 2007-04-15 12:05:43 +00:00
syslogmodule.c Whoops, not sure how I screwed up the name. Now builds and passes the test. 2007-08-25 00:29:58 +00:00
termios.c Check return result from Py_InitModule*(). This API can fail. 2006-01-19 06:09:39 +00:00
testcapi_long.h Fix error in comment, and in test_long_api and test_longlong_api remove 2001-06-16 08:10:13 +00:00
threadmodule.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
timemodule.c Move definition of TZNAME_ENCODING further up. 2007-08-30 15:40:24 +00:00
tkappinit.c Remove warning about implicit declaration of strcmp() 2004-06-13 20:29:55 +00:00
unicodedata_db.h Update Unicode database to Unicode 4.1. 2006-03-09 23:38:20 +00:00
unicodedata.c Merged revisions 56753-56781 via svnmerge from 2007-08-06 23:33:07 +00:00
unicodename_db.h Update Unicode database to Unicode 4.1. 2006-03-09 23:38:20 +00:00
xxmodule.c Use unicode for reference (is there any way to build this module) 2007-08-24 22:49:25 +00:00
xxsubtype.c Merged revisions 56467-56482 via svnmerge from 2007-07-21 17:22:18 +00:00
yuv.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
yuvconvert.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
zipimport.c Use unicode (and bytes as appropriate) 2007-08-26 05:08:21 +00:00
zlibmodule.c Convert a bunch of constant strings in C to unicode. 2007-08-23 21:42:55 +00:00