Skip to content
This repository

ipython3 broken by commit 8bb887c8c2c447bf7 #1050

Closed
juliantaylor opened this Issue November 26, 2011 · 1 comment

2 participants

Julian Taylor Thomas Kluyver
Julian Taylor
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

Thomas Kluyver
Collaborator

Closed by 5397fc8.

Thomas Kluyver takluyver closed this November 26, 2011
Stefan van der Walt stefanv referenced this issue from a commit in stefanv/ipython November 27, 2011
Thomas Kluyver Resolve use of raw_input for cpaste in Python 3.
closes gh-1050
5397fc8
Brian E. Granger ellisonbg referenced this issue from a commit January 10, 2012
Commit has since been removed from the repository and is no longer available.
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.