Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions bodo/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,14 +598,14 @@ def impl(context, builder, sig, args):
for arg_obj in arg_objs:
pyapi.decref(arg_obj)

# cleanup output
if callable(out.cleanup):
out.cleanup()

# Error during unboxing
with builder.if_then(out.is_error):
context.call_conv.return_exc(builder)

# cleanup output
if callable(out.cleanup):
out.cleanup()

return out.value

self._overload_cache[folded_args] = impl
Expand Down
1 change: 1 addition & 0 deletions bodo/utils/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2873,6 +2873,7 @@ def _check_objmode_type(val, typ):
f"Invalid Python output data type specified.\nUser specified:\t{typ}\nValue type:\t{val_typ}"
)

print(val)
return val


Expand Down