Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

ipython3 broken by commit 8bb887c8c2c447bf7 #1050

Closed
juliantaylor opened this Issue · 1 comment

2 participants

@juliantaylor
Collaborator

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
Owner

Closed by 5397fc8.

@takluyver takluyver closed this
@stefanv stefanv referenced this issue from a commit in stefanv/ipython
@takluyver takluyver Resolve use of raw_input for cpaste in Python 3.
closes gh-1050
5397fc8
@ellisonbg ellisonbg referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@mattvonrocketstein mattvonrocketstein referenced this issue from a commit in mattvonrocketstein/ipython
@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
Something went wrong with that request. Please try again.