Trees | Indices | Help |
|
---|
|
Helper to provide extensibility for pickle/cPickle.
This is only useful to add pickle support for extension types defined in C, not for instances of user-defined classes.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
dispatch_table = {}
|
|||
_HEAPTYPE = 512
|
|||
_extension_registry =
|
|||
_inverted_registry =
|
|||
_extension_cache =
|
Imports: _ClassType
|
Return a list of slot names for a given class. This needs to find slots defined by the class and its bases, so we can't simply return the __slots__ attribute. We must walk down the Method Resolution Order and concatenate the __slots__ of each class found there. (This assumes classes don't modify their __slots__ attribute to misrepresent their slots after the class is defined.) |
Unregister an extension code. For testing only. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0 on Tue Jan 29 22:40:34 2008 | http://epydoc.sourceforge.net |