Skip to content

Swapped rawinput/output #9345

Open
Open

Description

@Carreau

the following snippet:

%pdb 1
def foo(x=5):
    if x < 0:
        raise ValueError('foo')
    else:
        return foo(x-1)
foo()

Leads to the following screenshot,

screen shot 2016-03-22 at 12 19 18

Oops, the raw_input should be last.... Not sure if it's a IPython thing to fix, or a notebook one where we should make sure the raw-input is always last in a cell.

Activity

  1. takluyver commented on Mar 22, 2016

    @takluyver
    Member

    My guess is it's a notebook issue, and our old friend the async horse is getting another outing. 🐴

  2. added this to the not ipython milestone on Apr 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions