'Create working set from list of path entries (default=sys.path)'

def __init__(self, entries=None):

    self.entries = []
    self.entry_keys = {}
    self.by_key = {}
    self.callbacks = []
    if (entries is None):
        entries = sys.path
    for entry in entries:
        self.add_entry(entry)
