<commit_before>import memcache
from whirlwind.util.singleton import Singleton

class Memcache(Singleton):
    db = None
    
    def __init__(self):
        self.pool = None
        
    @staticmethod
    def create(**kwargs):
        
        mc = memcache.Client([kwargs['host']], debug=0)
        if 'debug' in kwargs:<commit_msg>accept multiple strings for memcache connect<commit_after>import memcache
from whirlwind.util.singleton import Singleton

class Memcache(Singleton):
    db = None
    
    def __init__(self):
        self.pool = None
        
    @staticmethod
    def create(**kwargs):
        mc = memcache.Client(kwargs['host'].split(','), debug=0)
        if 'debug' in kwargs:
{'fraction_non_alphanumeric': 0.10616929698708752, 'fraction_numerical': 0.0028694404591104736, 'mean_word_length': 2.752688172043011, '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': '7131098', 'n_tokens_mistral': 208, 'n_tokens_neox': 203, 'n_words': 52}