Skip to content

Swapped rawinput/output #9345

@Carreau

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.

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