'Stuff source in the filename cache'

def stuffsource(self, source):

    filename = ('<pyshell#%d>' % self.gid)
    self.gid = (self.gid + 1)
    lines = source.split('\n')
    linecache.cache[filename] = ((len(source) + 1), 0, lines, filename)
    return filename
