Skip to content

missing sys.{excepthook,displayhook} #3217

@pmp-p

Description

@pmp-p

Hi, some use cases i could not complete because did not find micropython equivalent for those on unix-android/ esp8266


sys.excepthook:

  • restore terminal sane settings on failure when using picotui.
  • reset boards to safe state on emergency.
  • remote debugger/IDE helper ( transmit filename / line / msg )

sys.displayhook:

  • allow infinite repl enhancements. ( xonsh shell like, pretty print etc ... )
  • and simple stdout multiplexing/filtering hacks when using coroutining or extra displays.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions