Call previous excepthook in tvm_excepthook. (#5675)
authornotoraptor <notoraptor@users.noreply.github.com>
Wed, 27 May 2020 01:15:18 +0000 (21:15 -0400)
committerGitHub <noreply@github.com>
Wed, 27 May 2020 01:15:18 +0000 (18:15 -0700)
commit07449f5a579bdde6e98527aa652e6f693ec4c81e
tree11aedc36f188ffc528c096aad773a3264729301f
parentaf162c4826646509bee0d77fc79221431b6ba817
Call previous excepthook in tvm_excepthook. (#5675)

* Call previous excepthook in tvm_excepthook.

* Rename prev_excepthook.

* Create a tvm_wrap_excepthook to wrap a given excepthook with tvm custom excepthook work
and call it on system previous excepthook.

* Add docstring.
python/tvm/__init__.py