twisted.persisted.styles module documentationtwisted.persisted
View Source
Different styles of persisted objects.
| Function | pickleMethod | support function for copy_reg to pickle method refs |
| Function | unpickleMethod | support function for copy_reg to unpickle method refs |
| Function | pickleModule | support function for copy_reg to pickle module refs |
| Function | unpickleModule | support function for copy_reg to unpickle module refs |
| Function | pickleStringO | support function for copy_reg to pickle StringIO.OutputTypes |
| Function | unpickleStringO | Undocumented |
| Function | pickleStringI | Undocumented |
| Function | unpickleStringI | Undocumented |
| Class | Ephemeral | This type of object is never persisted; if possible, even references to it are eliminated. |
| Function | doUpgrade | Undocumented |
| Function | requireUpgrade | Require that a Versioned instance be upgraded completely first. |
| Class | Versioned | This type of object is persisted with versioning information. |
| Function | _aybabtu | Get all of the parent classes of c, not including
c itself, which are strict subclasses of Versioned. |
support function for copy_reg to unpickle method refs
Get all of the parent classes of c, not including
c itself, which are strict subclasses of Versioned.
The name comes from "all your base are belong to us", from the
deprecated twisted.python.reflect.allYourBase
function.
| Parameters | c | a class |
| Returns | list of classes | |