At 07:42 PM 11/18/03 -0500, Phillip J. Eby wrote: > def spawn(self,thread): > stack = [thread] > threads.append(stack) Oops. That should've been 'self.threads.append(stack)'. Told you it was untested. :) There's one other bug, too. The 'while True' loop in the __iter__ method really should be 'while self.threads', or else it'll go into an infinite loop when all microthreads have terminated.
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