[Python-Dev] Re: [Python-checkins] python/dist/src/Objects stringobject.c, 2.219, 2.220 unicodeobject.c, 2.213, 2.214 (original) (raw)

M.-A. Lemburg mal at egenix.com
Thu Jul 8 21:17:08 CEST 2004


M.-A. Lemburg wrote:

Walter Dörwald wrote:

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 testcodeccallbacks.py. I get: testbackslashescape (main.CodecCallbackTest) ... ok testbadandgoodbackslashreplaceexceptions (main.CodecCallbackTest) ... ok testbadandgoodignoreexceptions (main.CodecCallbackTest) ... ok testbadandgoodreplaceexceptions (main.CodecCallbackTest) ... ok testbadandgoodstrictexceptions (main.CodecCallbackTest) ... ok testbadandgoodxmlcharrefreplaceexceptions (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 testcodeccallbacks.py again. Dang: I accidentally applied an older patch. Fix is coming.

Should work now.

-- Marc-Andre Lemburg eGenix.com

Professional Python Services directly from the Source (#1, Jul 08 2004)

Python/Zope Consulting and Support ... http://www.egenix.com/ mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/


::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::



More information about the Python-Dev mailing list