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. That still leaves the issue of the last read operation, which I'm tempted to leave unresolved for Python 2.4. No matter what the solution is, it would likely require changes to all codecs, which is not good. Regards, Martin
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