Partial victory (was RE: [Python-Dev] RE: test_sax failing (Windows))

Christian Tismer tismer@tismer.com
2001年1月22日 16:05:24 +0100


"M.-A. Lemburg" wrote:
...
> > The codes from 192 to 236, 238-243 produce
> > "UTF-8 decoding error: invalid data",
> > the rest gives "not well-formed".
> >
> > I would like to know if this happens with your (Tim) modified
> > version as well. I'm using plain vanilla BeOpen Python 2.0 .
>> This has nothing to do with Python. UTF-8 marks the codes
> from 128-191 as illegal prefix. See Object/unicodeobject.c:
...
Schade.
> Perhaps the parser should catch the UnicodeError and
> instead return a not-wellformed exception ?!

I belive it would be better.
ciao - chris
-- 
Christian Tismer :^) <mailto:tismer@tismer.com>
Mission Impossible 5oftware : Have a break! Take a ride on Python's
Kaunstr. 26 : *Starship* http://starship.python.net
14163 Berlin : PGP key -> http://wwwkeys.pgp.net
PGP Fingerprint E182 71C7 1A9D 66E9 9D15 D3CC D4D7 93E2 1FAE F6DF
 where do you want to jump today? http://www.stackless.com

AltStyle によって変換されたページ (->オリジナル) /