<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_comments_for_commentor_on_date(self, resource_id, from_, to):
 """Gets a list of all comments corresponding to a resource ``Id`` and effective during the entire given date range inclusive but not confined to the date range. arg: resource_id (osid.id.Id):
 the ``Id`` of the resource arg: from (osid.calendaring.DateTime):
 from date arg: to (osid.calendaring.DateTime):
 to date return: (osid.commenting.CommentList) - the returned ``CommentList`` raise: InvalidArgument - ``to`` is less than ``from`` raise: NullArgument - ``resource_id, from,`` or ``to`` is ``null`` raise: OperationFailed - unable to complete request raise: PermissionDenied - authorization failure *compliance: mandatory -- This method must be implemented.* """

        # Implemented from template for
        # osid.relationship.RelationshipLookupSession.get_relationships_for_destination_on_date
        comment_list = []
        for comment in self.get_comments_for_commentor():
            if overlap(from_, to, comment.start_date, comment.end_date):
                comment_list.append(comment)
        return objects.CommentList(comment_list, runtime=self._runtime)