[Ipython-tickets] [IPython] #188: _ih object getting modified by calls to %hist
IPython
ipython-tickets@scipy....
Thu Sep 27 04:59:10 CDT 2007
#188: _ih object getting modified by calls to %hist
---------------------+------------------------------------------------------
Reporter: fperez | Owner: vivainio
Type: defect | Status: new
Priority: normal | Milestone:
Component: ipython | Version:
Severity: normal | Resolution:
Keywords: |
---------------------+------------------------------------------------------
Comment (by hmeine):
Replying to [comment:1 hmeine]:
> This still worked in 0.7.3 and 0.8.0.
..and 0.8.1 and SVN r2741 obviously. And r2829.
Maybe you should ignore me. I cannot reproduce it. Probably I
misunderstood.
In [1]: 44
Out[1]: 44
In [2]: _ih
Out[2]: ['\n', u'44\n', u'_ih\n']
In [3]: %hist -r
1: 44
2: _ih
3: %hist -r
In [4]: _ih
Out[4]: ['\n', u'44\n', u'_ih\n', u'_ip.magic("hist -r")\n', u'_ih\n']
In [5]: %hist -r
1: 44
2: _ih
3: %hist -r
4: _ih
5: %hist -r
In [6]: _ih
Out[6]: ['\n', u'44\n', u'_ih\n', u'_ip.magic("hist -r")\n', u'_ih\n',
u'_ip.magic("hist -r")\n', u'_ih\n']
--
Ticket URL: <http://ipython.scipy.org/ipython/ipython/ticket/188#comment:2>
IPython <http://ipython.scipy.org>
The IPython interactive Python system
More information about the Ipython-tickets
mailing list