Thanks,
"Why do you even need the classes code object anyway?"
I need to instantiate and use the class in another process.
This other process doesn't has access to the py or pyc file
holding the m_class (source) code so I can't use pickle.
Something like;
In the first process (that has access to
On Oct 10, 5:50 am, Okko Willeboordse <[EMAIL PROTECTED]>
wrote:
> To get the "code object" c of my_class I can do;
>
> c = compile(inspect.getsource(my_class), "
To get the "code object" c of my_class I can do;
c = compile(inspect.getsource(my_class), "