<commit_before>from __future__ import print_function, division, absolute_import

import struct

import numpy as np

from .abstract import *
from .containers import *
from .functions import *
from .iterators import *
from .misc import *
from .npytypes import *
from .scalars import *


# Short names

pyobject = PyObject('pyobject')
ffi_forced_object = Opaque('ffi_forced_object')
ffi = Opaque('ffi')
none = NoneType('none')
ellipsis = EllipsisType('...')
Any = Phantom('any')
undefined = Undefined('undefined')
string = Opaque('str')
unicode_type = UnicodeType('unicode_type')
code_type = Opaque('code')<commit_msg>Set unicode_type as the default string type on py3<commit_after>from __future__ import print_function, division, absolute_import

import struct

import numpy as np
from numba import utils

from .abstract import *
from .containers import *
from .functions import *
from .iterators import *
from .misc import *
from .npytypes import *
from .scalars import *


# Short names

pyobject = PyObject('pyobject')
ffi_forced_object = Opaque('ffi_forced_object')
ffi = Opaque('ffi')
none = NoneType('none')
ellipsis = EllipsisType('...')
Any = Phantom('any')
undefined = Undefined('undefined')
py2_string_type = Opaque('str')
unicode_type = UnicodeType('unicode_type')
string = unicode_type if utils.PY3 else py2_string_type

code_type = Opaque('code')
{'fraction_non_alphanumeric': 0.10906411201179071, 'fraction_numerical': 0.0029476787030213707, 'mean_word_length': 5.858585858585859, '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': '82270', 'n_tokens_mistral': 442, 'n_tokens_neox': 431, 'n_words': 127}