def _mkref(self, obj):
    '\n        Log a reference to an in-memory object, and return\n        if that object should be considered newly logged.\n        '
    is_new = self._log_ref(obj)
    pretend_new = ((not self.unpicklable) or (not self.make_refs))
    return (pretend_new or is_new)
Log a reference to an in-memory object, and return
if that object should be considered newly logged.
def _mkref(self, obj):
    '\n        Log a reference to an in-memory object, and return\n        if that object should be considered newly logged.\n        '
    is_new = self._log_ref(obj)
    pretend_new = ((not self.unpicklable) or (not self.make_refs))
    return (pretend_new or is_new)