LineDemo class doesn't read input correctly
Bug #518982 reported by
interjay
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
LineDemo class tries to execute its input letter-by-letter instead of line-by-line.
In demo.py in LineDemo.reload, the line that says:
src_b = [l for l in self.fobj.
should say:
src_b = [l for l in self.fobj.
Additionally, it seems like self.src will not be set correctly since it rereads the file without returning the file pointer to the beginning first. However, this doesn't matter as this member doesn't seem to do anything.
To post a comment you must log in.
Thanks for the report! Fix committed to trunk (r1262) and 0.10.1 branch (r1239).