Thanks a lot.
在2009-06-11,"Chris Rebert" 写道:
On Wed, Jun 10, 2009 at 7:25 AM, Metal Zong wrote:
> Hello,
>
> Can not dump class object created on runtime.
>
> Is there anybody can help me? Thank.
>
> Following is testing code:
>
> import pickle
> from ne
On Wed, Jun 10, 2009 at 7:25 AM, Metal Zong wrote:
> Hello,
>
> Can not dump class object created on runtime.
>
> Is there anybody can help me? Thank.
>
> Following is testing code:
>
> import pickle
> from new import classobj
>
> class A:
> def __str__
Hello,
Can not dump class object created on runtime.
Is there anybody can help me? Thank.
Following is testing code:
import pickle
from new import classobj
class A:
def __str__(self):
return self.__class__.name
if __name__ == "__main__":
c = classo