Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

ipython3 broken by commit 8bb887c8c2c447bf7 #1050

Closed
juliantaylor opened this Issue · 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
Owner

Closed by 5397fc8.

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