Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipython3 broken by commit 8bb887c8c2c447bf7 #1050

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

ipython3 broken by commit 8bb887c8c2c447bf7 #1050

juliantaylor opened this issue Nov 27, 2011 · 1 comment
Milestone

Comments

@juliantaylor
Copy link
Contributor

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
Copy link
Member

Closed by 5397fc8.

stefanv pushed a commit to stefanv/ipython that referenced this issue Nov 30, 2011
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants