ipython3 broken by commit 8bb887c8c2c447bf7 #1050

Closed
juliantaylor opened this Issue Nov 27, 2011 · 1 comment

Projects

None yet

2 participants

@juliantaylor

2to3 does not appear to convert raw_input to input when used like this:
def get_pasted_lines(sentinel, input=raw_input):

traceback:

$ipython3
File "/home/jtaylor/chroots/python3/lib/python3.2/site-packages/ipython-0.12.dev-py3.2.egg/IPython/frontend/terminal/interactiveshell.py", line 57, in <module>
    def get_pasted_lines(sentinel, input=raw_input):
NameError: name 'raw_input' is not defined

it should use py3compat.input

@takluyver
IPython member

Closed by 5397fc8.

@takluyver takluyver closed this Nov 27, 2011
@stefanv stefanv pushed a commit to stefanv/ipython that referenced this issue Nov 30, 2011
@takluyver takluyver Resolve use of raw_input for cpaste in Python 3.
closes gh-1050
5397fc8
@mattvonrocketstein mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
@takluyver takluyver Resolve use of raw_input for cpaste in Python 3.
closes gh-1050
5136308
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment