On Mon, Jan 19, 2004, Eric Mathew Hopper wrote: > > I want to right the code so that it will work when there is no guarantee > that I'll have an entire message before I start decoding it. This means > the parser may have have to stop at any random point in time, and then > be restarted again when more data is available. I see no way to do this > without continuations, or threads, and I refuse to use threads for > something like this. Python 2.2 added generators that likely can handle what you're trying to do. However, python-dev is not the place to get help on this subject; please use comp.lang.python instead. -- Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/ A: No. Q: Is top-posting okay?
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