# Main is always loaded at the start of the Python engine regardless of features. This goes into GLOBAL scope
# A internal register to keep objects alive off the pocketpy stack.
_pxs_register={}_pxs_register_next_id=0def_pxs_new_register(obj):global_pxs_register_next_idid=_pxs_register_next_id_pxs_register[id]=obj_pxs_register_next_id+=1returnid