Michael,
I don't know the answer to your question, but try reading up on the Python Pickle module; it lets you convert stuff into objects, which can then be passed between things... This, obviously, has a huge number of applications, but you should be able to find an example on the net of doing what you need; just remember to search 'Python Pickle', not 'arcpy Pickle'.
Good luck!