summaryrefslogtreecommitdiff
path: root/Lib/xdrlib.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-10-06 16:58:26 +0000
committerGuido van Rossum <guido@python.org>2000-10-06 16:58:26 +0000
commit2834b974b6a085ee447a060ab0c12b3955b2f695 (patch)
tree51aa4338ccf04dd8da1dbd9f8d88bcd373e1daad /Lib/xdrlib.py
parent476491396ed0e5e5514bee185a1d84fb009bf36b (diff)
downloadcpython-git-2834b974b6a085ee447a060ab0c12b3955b2f695.tar.gz
[ 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.)
Diffstat (limited to 'Lib/xdrlib.py')
0 files changed, 0 insertions, 0 deletions