]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[ Bug #113803 ] [2.0b1 NT4.0] printing non asci char causes idle to abort
authorGuido van Rossum <guido@python.org>
Fri, 6 Oct 2000 16:58:26 +0000 (16:58 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 6 Oct 2000 16:58:26 +0000 (16:58 +0000)
commit2834b974b6a085ee447a060ab0c12b3955b2f695
tree51aa4338ccf04dd8da1dbd9f8d88bcd373e1daad
parent476491396ed0e5e5514bee185a1d84fb009bf36b
[ 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.)
Modules/_tkinter.c