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 ! ::::
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4