<commit_before>import errno
import socket
import maya.OpenMaya

try:
    from cStringIO import StringIO
except ImportError:
    from StringIO import StringIO

if '_MayaSublime_ScriptEditorOutput_CID' not in globals():
	_MayaSublime_ScriptEditorOutput_CID = None

if '_MayaSublime_SOCK' not in globals():
	_MayaSublime_SOCK = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

def _MayaSublime_streamScriptEditor(enable, host="127.0.0.1", port=5123, quiet=False):
    om = maya.OpenMaya 

    global _MayaSublime_ScriptEditorOutput_CID
    cid = _MayaSublime_ScriptEditorOutput_CID

    # Only print if we are really changing state<commit_msg>Fixes #28 - Added missing sys module import<commit_after>import sys
import errno
import socket
import maya.OpenMaya

try:
    from cStringIO import StringIO
except ImportError:
    from StringIO import StringIO

if '_MayaSublime_ScriptEditorOutput_CID' not in globals():
    _MayaSublime_ScriptEditorOutput_CID = None

if '_MayaSublime_SOCK' not in globals():
    _MayaSublime_SOCK = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

def _MayaSublime_streamScriptEditor(enable, host="127.0.0.1", port=5123, quiet=False):
    om = maya.OpenMaya 

    global _MayaSublime_ScriptEditorOutput_CID
    cid = _MayaSublime_ScriptEditorOutput_CID

    # Only print if we are really changing state
{'fraction_non_alphanumeric': 0.06471030850263355, 'fraction_numerical': 0.01655379984951091, 'mean_word_length': 5.363636363636363, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '2605424', 'n_tokens_mistral': 483, 'n_tokens_neox': 456, 'n_words': 109}