# If the result is an object (not a base value),
# then keep track of the object a return the object
# reference (newuuid)
+ # xxx the two instances of `int` are from 2to3
if not (result is None or type(result) in [
bool, float, int, str, int]):
self._objects[newuuid] = result