Ticket #5263 (closed: fixed)
Script interpreter
Reported by: | Martyn Gigg | Owned by: | Martyn Gigg |
---|---|---|---|
Priority: | major | Milestone: | Release 2.3 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Andrei Savici |
Description (last modified by Martyn Gigg) (diff) ¶
If you type the following code in to the script interpreter you do not get the output you expect. It should be typed out not pasted.
for i in range(3): for j in range(3): print i,j
It prints
0 0 0 1 0 2 1 0 1 1 1 2 2 0 2 1 2 2
instead of the numbers in pairs like so
0 0 0 1 0 2 1 0 1 1 1 2 2 0 2 1 2 2
Change History
comment:2 Changed 8 years ago by Nick Draper
- Status changed from new to assigned
- Owner set to Martyn Gigg
comment:3 Changed 8 years ago by Nick Draper
- Milestone changed from Release 2.2 to Release 2.3
Moved at the end of release 2.2
comment:5 Changed 8 years ago by Martyn Gigg
Fix issue with loop printing in script console. Refs #5263
Changeset: 072628910d5c3ec405800e03f2179c29c52ec3c4
comment:6 Changed 8 years ago by Martyn Gigg
- Status changed from accepted to verify
- Resolution set to fixed
comment:7 Changed 8 years ago by Martyn Gigg
Fix issue with loop printing in script console. Refs #5263
Changeset: 072628910d5c3ec405800e03f2179c29c52ec3c4
comment:8 Changed 8 years ago by Andrei Savici
- Status changed from verify to verifying
- Tester set to Andrei Savici
comment:10 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 6109
Note: See
TracTickets for help on using
tickets.