python-csp icon indicating copy to clipboard operation
python-csp copied to clipboard

@forever integers example

Open snim2 opened this issue 13 years ago • 0 comments

From old Google Code repo:

Reported by project member j.g.metcalfe, Jul 23, 2010

Tutorial Page 1 first server processes example, integers() function

What is the expected output? What do you see instead?

I expected ctrl-c to interrupt the example an return control Unable to interrupt, numbers keep coming

What version of the product are you using? On what operating system?

OS: Ubuntu 10.04, 64 bit on Dell Inspiron

Better for users if example was e.g.

while n < 1000000:

rather than

while True:

Comment 2 by project member urban.skudnik, Jul 23, 2010

Resolved by limiting loop to 100000 iterations. Status: Fixed

Comment 3 by project member j.g.metcalfe, Jul 24, 2010

Has this fixed the inability to interrupt from the keyboard (yield)?

snim2 avatar Oct 03 '12 18:10 snim2