Message1317
it seems that the missing piece may be that PyObject is not returning its __dict__ if it has state. The relevant method is object__reduce. The pickling protocol clarifies what the different objects mean when returned by __reduce__:
http://docs.python.org/lib/node321.html
From looking at cpython, if the Object has no state, None appears to be returned. If it has state, the dictionary is returned.
leouser |
|
Date |
User |
Action |
Args |
2008-02-20 17:17:36 | admin | link | issue1604258 messages |
2008-02-20 17:17:36 | admin | create | |
|