Type | Bug | Status | reviewed | Date | 27-Jul-2015 15:41 |
---|---|---|---|---|---|
Version | r3 master | Category | Evaluation | Submitted by | fork |
Platform | All | Severity | minor | Priority | high |
Summary | Empty blocks in loops do not allow Ctrl-C to interrupt |
---|---|
Description |
For example, if you use a block with just one item in it, you will be able to Ctrl-C out of this forever loop: >> forever [1020] ;... then, hit Ctrl-C [escape]>> But if you do not put anything in the block you won't get a response to the interrupt request, it will just keep requesting... >> forever [] ;... then, hit Ctrl-C...Ctrl-C...Ctrl-C [escape][escape][escape] ; no command prompt... :-( The reason is that empty blocks are "optimized" and bypass calling Do_Next. Yet in doing so they also bypass the Do_Signals call that is made every N evaluations. |
Example code |
Assigned to | n/a | Fixed in | - | Last Update | 28-Jul-2015 06:43 |
---|
Date | User | Field | Action | Change |
---|---|---|---|---|
28-Jul-2015 06:43 | abolka | Description | Modified | - |
28-Jul-2015 06:43 | abolka | Status | Modified | submitted => reviewed |
27-Jul-2015 15:41 | Fork | Ticket | Added | - |