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/048095.html below:

[Python-Dev] Decoding incomplete unicode

[Python-Dev] Decoding incomplete unicode [Python-Dev] Decoding incomplete unicodeWalter Dörwald walter at livinglogic.de
Thu Aug 19 20:12:31 CEST 2004
M.-A. Lemburg wrote:

> Walter Dörwald wrote:
> 
>> Without the feed method(), we need the following:
>>
>> 1) A StreamQueue class that
>>    a) supports writing at one end and reading at the other end
>>    b) has a method for pushing back unused bytes to be returned
>>       in the next call to read()
> 
> Right.

As already stated in a previous post, I don't think StreamQueue
needs a pushback() method. trailing bytes should all be stored
in the StreamReader.

> It also needs a method giving the number of pending bytes in
> the queue or just an API .has_pending_data() that returns
> True/False.

What would this method be used for?

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