<commit_before>from __future__ import absolute_import

from .version_info import PY3

if PY3:
    from StringIO import *
else:
    try:
        from cStringIO import *
    except ImportError:
        from StringIO import *<commit_msg>Fix StringIO on Python 3<commit_after>from __future__ import absolute_import

from .version_info import PY3

if PY3:
    from io.StringIO import *
else:
    try:
        from cStringIO import *
    except ImportError:
        from StringIO import *
{'fraction_non_alphanumeric': 0.04771784232365145, 'fraction_numerical': 0.01037344398340249, 'mean_word_length': 3.093220338983051, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2047083', 'n_tokens_mistral': 147, 'n_tokens_neox': 145, 'n_words': 50}