<commit_before>class MFPBase(object):
    def __str__(self):
        #return self.__unicode__().encode('ascii', 'replace')
        return self.__unicode__()

    def __repr__(self):
        return '<%s>' % (
            str(self)
        )<commit_msg>added note<commit_after>class MFPBase(object):
    def __str__(self):
        #return self.__unicode__().encode('ascii', 'replace')
        # return unicode for both Python 2.7 and 3.4 PORTING_CHECK
        return self.__unicode__()

    def __repr__(self):
        return '<%s>' % (
            str(self)
        )
{'fraction_non_alphanumeric': 0.13604240282685512, 'fraction_numerical': 0.007067137809187279, 'mean_word_length': 2.4156626506024095, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4852162', 'n_tokens_mistral': 180, 'n_tokens_neox': 167, 'n_words': 38}