escape interval
fix local variable name
fix escape interval
fix variable name
fix fetch PCHAR
raise ValueError if unknown datatype and DEBUG mode
raise unknown object id if DEBUG