Skip to content

%autocall doesn't handle integer parsing errors #12977

Closed
@khaledismaeel

Description

@khaledismaeel

Steps to reproduce

run %autocall random

Expected result

ERROR:root:Valid modes: (0->Off, 1->Smart, 2->Full

Observed result

ValueError was raised due to parsing the argument "random" as an integer.

System info

Manjaro Linux, Python 3.9.1, IPython 7.22.0.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions