[Python-Dev] Decoding incomplete unicode
Walter Dörwald
walter at livinglogic.de
Thu Aug 26 22:06:18 CEST 2004
More information about the Python-Dev mailing list
Thu Aug 26 22:06:18 CEST 2004
- Previous message: [Python-Dev] Decoding incomplete unicode
- Next message: [Python-Dev] Decoding incomplete unicode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Martin v. Löwis wrote:
> Walter Dörwald wrote:
>
>> If a tuple is passed and returned this makes it possible
>> from Python code to mangle the state. IMHO this should be
>> avoided if possible.
>
> Not necessarily. We are all consenting adults. So if the
> code checks whether the state is sane, from a typing point
> of view, i.e. if you can't crash the interpreter, then there
> is no need to hide the state from the user.
OK, that's true. Unfortunately I'm not really that familiar
with the bit twiddling in the UTF7 decoder to know it this could
break anything or not.
Bye,
Walter Dörwald
- Previous message: [Python-Dev] Decoding incomplete unicode
- Next message: [Python-Dev] Decoding incomplete unicode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list