def _datalad_pdb_excepthook(type, value, tb):
    import traceback
    traceback.print_exception(type, value, tb)
    print()
    if is_interactive():
        import pdb
        pdb.post_mortem(tb)
def _datalad_pdb_excepthook(type, value, tb):
    import traceback
    traceback.print_exception(type, value, tb)
    print()
    if is_interactive():
        import pdb
        pdb.post_mortem(tb)