cpython/Modules
Guido van Rossum 2834b974b6 [ Bug #113803 ] [2.0b1 NT4.0] printing non asci char causes idle to abort
http://sourceforge.net/bugs/?func=detailbug&bug_id=113803&group_id=5470

Add Unicode support and error handling to AsString().  Both AsString()
and Merge() now return NULL and set a proper Python exception
condition when an error happens; Merge() and other callers of
AsString() check for errors from AsString().  Also fixed cleanup in
Merge() and Tkapp_Call() return cleanup code; the fv array was not
necessarily completely initialized, causing calls to ckfree() with
garbage arguments!

(Also reindented some lines that were longer than 80 chars and
reformatted some code that used an alien coding standard.)
2000-10-06 16:58:26 +00:00
..
.cvsignore Add Setup.config 2000-06-30 16:09:01 +00:00
_codecsmodule.c Added a true unicode_internal_encode function and fixed the 2000-09-21 21:09:45 +00:00
_cursesmodule.c Don't call Py_FatalError in module initialization 2000-09-01 03:46:16 +00:00
_localemodule.c Rationalize use of limits.h, moving the inclusion to Python.h. 2000-09-26 05:46:01 +00:00
_sre.c Accept keyword arguments for (most) pattern and match object 2000-10-03 20:43:34 +00:00
_tkinter.c [ Bug #113803 ] [2.0b1 NT4.0] printing non asci char causes idle to abort 2000-10-06 16:58:26 +00:00
almodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
arraymodule.c Rationalize use of limits.h, moving the inclusion to Python.h. 2000-09-26 05:46:01 +00:00
audioop.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
binascii.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
bsddbmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
ccpython.cc Patch and new file by Geoff Furnish for C++ compilation. 1999-12-16 17:52:08 +00:00
cdmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
cgen.py Change copyright notice. 2000-07-01 00:16:13 +00:00
cgensupport.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
cgensupport.h REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
clmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
cmathmodule.c Use METH_VARARGS instead of numeric constant 1 in method def. tables 2000-08-03 02:06:16 +00:00
config.c.in Fix prototypes generated by makesetup, so they include '(void)' rather than 2000-07-23 00:02:15 +00:00
cPickle.c - Fix a GC bug caused by PyDict_New() failing. 2000-10-04 16:22:26 +00:00
cryptmodule.c Use METH_OLDARGS instead of numeric constant 0 in method def. tables 2000-08-03 02:34:44 +00:00
cStringIO.c Implement readlines function. Closes Bug #110686. 2000-09-19 11:06:46 +00:00
cstubs REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
dbmmodule.c Add a constant "library" to the module which names the library used, 2000-09-15 21:35:14 +00:00
dlmodule.c Add several dl.RTLD_ constants. Closes bug 110842. 2000-09-13 16:26:10 +00:00
errnomodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
fcntlmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
flmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
fmmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
fpectlmodule.c Use PyOS_setsig() instead of signal(). Also remove redundant spaces 2000-09-21 14:32:04 +00:00
fpetestmodule.c Needed to add DL_EXPORT to (redundant?) extern decl of module init function. 1998-12-10 16:49:28 +00:00
gcmodule.c - update Neil's email address 2000-10-04 16:34:09 +00:00
gdbmmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
getbuildinfo.c Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', 2000-07-21 06:00:07 +00:00
getpath.c Minor ANSIfication: lib_python no longer needs to be initialized 2000-09-28 14:32:29 +00:00
glmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
grpmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
imageop.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
imgfile.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
ld_so_aix Mod suggested by Donn Cave -- invoke makexp_aix relative to $0 1997-09-03 00:45:30 +00:00
license.terms Add an optional hack for threads in Tkinter. 1997-09-28 05:52:41 +00:00
linuxaudiodev.c Move the Py_DECREF(x) after the error: label so that we don't leak x 2000-09-01 15:35:12 +00:00
main.c Py_Main(), usage(), usage_mid: Add -h and -V flags to print the usage 2000-09-15 18:40:42 +00:00
Makefile.pre.in Address Bug #115057: add a --with-suffix option to set the EXE 2000-09-22 15:38:21 +00:00
makesetup Add support for FreeBSD --rpath linker option; this is equivalent to 2000-08-11 13:58:37 +00:00
makexp_aix remove C++ entries of the form Class::method 1998-04-09 21:46:02 +00:00
mathmodule.c Fixed legit gripe from c.l.py that math.fmod docs aren't confusing enough. 2000-09-16 03:54:24 +00:00
md5.h Rationalize use of limits.h, moving the inclusion to Python.h. 2000-09-26 05:46:01 +00:00
md5c.c Fix includes; not including Python.h caused the module not to compile on 2000-09-28 02:54:51 +00:00
md5module.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
mmapmodule.c my_getpagesize(): New function; returns the size of a page of memory. 2000-10-01 17:50:46 +00:00
mpzmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
newmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
nismodule.c Even more ANSIfication: fix as many function pointers and declarations as 2000-07-22 23:57:55 +00:00
operator.c Add invert() and __invert__() as aliases for inv()/__inv__(). 2000-09-17 16:09:27 +00:00
parsermodule.c Simplify some of the code. Use PyErr_Format() instead of sprintf(), etc. 2000-09-12 21:58:06 +00:00
pcre-int.h AMK's revised version of the previous patch. 1998-05-07 15:32:44 +00:00
pcre.h Jack Jansen: Mac Carbon: don't include sys/types if we don't have it 2000-06-28 20:56:30 +00:00
pcremodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
posixmodule.c Clarify that isatty is only guaranteed to return true for slave ends of 2000-10-03 16:54:24 +00:00
puremodule.c Do the absolute minimal amount of modifications to eradicate 2000-09-01 09:01:32 +00:00
pwdmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
pyexpat.c PyModule_AddStringConstant(): Make this static since it isn't used 2000-09-29 19:23:29 +00:00
pypcre.c Fix for bug #110651 (Jitterbug PR#343): only use the low 8 bits of an octal 2000-08-02 13:41:18 +00:00
python.c Even more ANSIfication: fix as many function pointers and declarations as 2000-07-22 23:57:55 +00:00
readline.c Supporting rl_library_version is more trouble than it's worth -- 2000-10-02 15:53:08 +00:00
regexmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
regexpr.c Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', 2000-07-21 06:00:07 +00:00
regexpr.h Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 2000-07-16 12:04:32 +00:00
resource.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
rgbimgmodule.c Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', 2000-07-21 06:00:07 +00:00
rotormodule.c merge Include/my*.h into Include/pyport.h 2000-07-31 15:28:04 +00:00
selectmodule.c Add #ifdef's for platforms that don't have the constants POLLRDNORM and 2000-09-28 21:33:44 +00:00
Setup.config.in autodetect presence of libdb - this allows bsddbmodule to be built 2000-09-08 02:17:15 +00:00
Setup.in Remove comment about -lucb for the mmap module -- the module has been 2000-10-02 21:20:22 +00:00
sgimodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
shamodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
signalmodule.c Make better use of GNU Pth -- patch by Andy Dustman. 2000-09-19 00:46:46 +00:00
socketmodule.c Norman Vine <nhv@users.sourceforge.net>: 2000-10-06 15:37:06 +00:00
soundex.c Use METH_VARARGS instead of numeric constant 1 in method def. tables 2000-08-03 02:06:16 +00:00
sre.h -- added recursion limit (currently ~10,000 levels) 2000-08-03 16:29:50 +00:00
sre_constants.h final 0.9.8 updates: 2000-08-01 22:47:49 +00:00
stropmodule.c Rationalize use of limits.h, moving the inclusion to Python.h. 2000-09-26 05:46:01 +00:00
structmodule.c Rationalize use of limits.h, moving the inclusion to Python.h. 2000-09-26 05:46:01 +00:00
sunaudiodev.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
svmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
syslogmodule.c Do the absolute minimal amount of modifications to eradicate 2000-09-01 09:01:32 +00:00
tclNotify.c Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', 2000-07-21 06:00:07 +00:00
termios.c Use METH_OLDARGS instead of numeric constant 0 in method def. tables 2000-08-03 02:34:44 +00:00
threadmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
timemodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +00:00
timing.h remove rcs history 1996-01-26 21:10:22 +00:00
timingmodule.c Do the absolute minimal amount of modifications to eradicate 2000-09-01 09:01:32 +00:00
tkappinit.c Removing warnings discovered by gcc -Wall 2000-08-04 15:53:06 +00:00
ucnhash.c Fix UCNs machine with >= 32bit longs 2000-07-26 03:56:06 +00:00
unicodedata.c unicode database compression, step 2: 2000-09-25 08:07:06 +00:00
unicodedata_db.h unicode database compression, step 2: 2000-09-25 08:07:06 +00:00
unicodedatabase.c Fix header file usage so that NULL is defined. NULL is needed by 2000-09-30 17:34:31 +00:00
unicodedatabase.h unicode database compression, step 2: 2000-09-25 08:07:06 +00:00
xxmodule.c REMOVED all CWI, CNRI and BeOpen copyright markings. 2000-09-01 23:29:29 +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
zlibmodule.c Use METH_VARARGS instead of numeric constant 1 2000-08-03 02:04:05 +00:00