[Python-Dev] Re: [Python-checkins] python/dist/src/Objects
stringobject.c, 2.219, 2.220 unicodeobject.c, 2.213, 2.214
M.-A. Lemburg
mal at egenix.com
Thu Jul 8 21:11:45 CEST 2004
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 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.
Dang: I accidentally applied an older patch.
Fix is coming.
Sorry,
--
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