[Python-Dev] Re: [Python-checkins] python/dist/src/Objects stringobject.c, 2.219, 2.220 unicodeobject.c, 2.213, 2.214 (original) (raw)
Walter Dörwald walter at livinglogic.de
Thu Jul 8 20:42:40 CEST 2004
- Previous message: [Python-Dev] Python 2.4a1 use of c:\winnt directory
- Next message: [Python-Dev] Re: [Python-checkins] python/dist/src/Objects stringobject.c, 2.219, 2.220 unicodeobject.c, 2.213, 2.214
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
lemburg at users.sourceforge.net wrote:
Modified Files: stringobject.c unicodeobject.c Log Message: Allow string and unicode return types from .encode()/.decode() methods on string and unicode objects. Added unicode.decode() which was missing for no apparent reason.
This seems to have broken test_codeccallbacks.py. I get: test_backslashescape (main.CodecCallbackTest) ... ok test_badandgoodbackslashreplaceexceptions (main.CodecCallbackTest) ... ok test_badandgoodignoreexceptions (main.CodecCallbackTest) ... ok test_badandgoodreplaceexceptions (main.CodecCallbackTest) ... ok test_badandgoodstrictexceptions (main.CodecCallbackTest) ... ok test_badandgoodxmlcharrefreplaceexceptions (main.CodecCallbackTest) ... ok Segmentation fault
Rolling back the patch via: cvs up -j 2.44 -j 2.43 Include/unicodeobject.h cvs up -j 2.220 -j 2.219 Objects/stringobject.c cvs up -j 2.214 -j 2.213 Objects/unicodeobject.c gives a working test_codeccallbacks.py again.
Bye, Walter Dörwald
- Previous message: [Python-Dev] Python 2.4a1 use of c:\winnt directory
- Next message: [Python-Dev] Re: [Python-checkins] python/dist/src/Objects stringobject.c, 2.219, 2.220 unicodeobject.c, 2.213, 2.214
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]