In variable no longer works in 0.11 #284

Closed
petercombs opened this Issue Mar 3, 2011 · 4 comments

5 participants

@petercombs

I discovered this while working on getting a py3k setup working, but it happens even on my 2.6.5 EPD installation as well.

Using the EPD installation of IPython (0.10), the following works:
In [1]: x = 3

In [2]: y = 4

In [3]: print(In)
['\n', u'x = 3\n', u'y = 4\n', u'print(In)\n']

Whereas using the latest git repository of IPython, the following happens:
In [1]: x = 3

In [2]: y = 4

In [3]: print(In)
['']

Is that normal/expected behavior? The Out variable seems to work fine, and normally I don't really need the In variable, but it might be related to a more serious bug I've seen in ipython-py3k (https://github.com/ipython/ipython-py3k/issues/3)

For reference, I'm working on Mac OS X 10.6.6, Enthought Python Distribution 6.2-2 (which has Python 2.6.5), and the bug seems to happen irrespective of which terminal I'm using.

@rkern

This is fixed in takluyver's SQLite history branch.

#282

@fperez
IPython member

I see you already added a note to close this on that pull request, thanks!

@ivanov
IPython member

test added in ivanov/ipython bug-test branch, and it passes on current trunk

@takluyver
IPython member

Closing as we've merged the SQLite history branch now.

@takluyver takluyver closed this Mar 28, 2011
@markvoorhies markvoorhies pushed a commit to markvoorhies/ipython that referenced this issue Apr 21, 2011
@ivanov ivanov added test for GH-284: ensure In variable is works a46148b
@ivanov ivanov added a commit to ivanov/ipython that referenced this issue Jan 25, 2012
@ivanov ivanov added test for GH-284: ensure In variable is works 691966c
@mattvonrocketstein mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
@ivanov ivanov added test for GH-284: ensure In variable is works 8e960c0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment