Hi.
I have a question about inline callbacks usage.
Let's assume I have an iterator that works synchronously. I want to
wrap this generator to work asynchronously in threads:
def some_generator():
cursor = make_iterator() # cursor's 'next' method uses some nasty
blocking I/O
while 1:
On 06:24 pm, alex.k...@gmail.com wrote:
>Hi.
>
>I have a question about inline callbacks usage.
>
>Let's assume I have an iterator that works synchronously. I want to
>wrap this generator to work asynchronously in threads:
>
>def some_generator():
>cursor = make_iterator() # cursor's 'next' met
Well, what wing's debugger does is to raise RuntimeError, and NOT CONTINUE
to execute that path. So the child never runs. That's bad! What more can I
say? I have to comment out that line every time I run on a new installation
if I want to debug in linux (Windows doesn't go down that code path).