A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-August/048327.html below:

[Python-Dev] Decoding incomplete unicode

[Python-Dev] Decoding incomplete unicode [Python-Dev] Decoding incomplete unicodeWalter Dörwald walter at livinglogic.de
Tue Aug 24 22:04:25 CEST 2004
Martin v. Löwis wrote:

> Walter Dörwald wrote:
> 
>> OK, let's come up with a patch that fixes the incomplete byte
>> sequences problem and then discuss non-stream APIs.
>>
>> So, what should the next step be?
> 
> I think your first patch should be taken as a basis for that.
> Add the state-supporting decoding C functions, and change
> the stream readers to use them.

OK, I've updated the patch.

> That still leaves the issue
> of the last read operation, which I'm tempted to leave unresolved
> for Python 2.4.

Agreed! This shouldn't be done for Python 2.4.

> No matter what the solution is, it would likely
> require changes to all codecs, which is not good.

True, but the changes should be rather trivial for most.

Bye,
    Walter Dörwald


More information about the Python-Dev mailing list

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