<commit_before>"""Process execution wrappers
"""

import os
import sys
import time
import subprocess
from tempfile import TemporaryFile
from contextlib import nested

from applib.misc import xjoin

__all__ = ['run', 'RunError', 'RunNonZeroReturn', 'RunTimedout']
<commit_msg>supress with warning on py3k<commit_after>"""Process execution wrappers
"""

import os
import sys
import time
import subprocess
from tempfile import TemporaryFile
from contextlib import nested
import warnings

from applib.misc import xjoin

__all__ = ['run', 'RunError', 'RunNonZeroReturn', 'RunTimedout']

warnings.filterwarnings('ignore', message='.*With\-statements.*',
                        category=DeprecationWarning)

{'fraction_non_alphanumeric': 0.09272467902995721, 'fraction_numerical': 0.0014265335235378032, 'mean_word_length': 5.5, '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': '2680759', 'n_tokens_mistral': 201, 'n_tokens_neox': 196, 'n_words': 65}