| Trees | Indices | Help |
|
|---|
|
|
Code used to support old snapshots, and update scripts.
$Id: legacy.py 11323 2010-07-28 17:10:13Z ceball $
Version: $Revision: 8021 $
|
|||
| DuplicateCheckingList | |||
| SnapshotSupport | |||
| FixedPointImporter | |||
| FixedPointFaker | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
supporters = [<function removed_Enumeration at 0xc0991b4>, <fu
|
|||
S = [<function removed_Enumeration at 0xc0991b4>, <function by
|
|||
cf_xy_warned = False
|
|||
__package__ =
|
|||
|
|||
Allow processing of state with state_mod_fn before class_.__setstate__(instance,state) is called. state_mod_fn must accept two arguments: instance and state. |
Select appropriate function to call as a replacement for class.__setstate__ at runtime. selector must return None if the class_'s original method is to be used; otherwise, it should return a function that takes an instance of the class and the state. pre_super and post_super determine if super(class_)'s __setstate__ should be invoked before or after (respectively) calling the function returned by selector. If selector returns None, super(class_)'s __setstate__ is never called. |
Install a class named 'old_name' in 'module'; when created, the class actually returns an instance of 'new_class'. new_class_args allow any arguments to be supplied to new_class before other arguments are passed at creation time. For use when module.old_name=new_class is not possible. |
For use when module parent.name is now actual_module. Use parent_name to override parent.name if necessary (e.g. when parent is already redirected). |
For use when package parent.name is now actual_package. All .py files found in actual_package's path are added to newly created parent.name package. |
Create the module parent.name using source_code. Installs to sys.modules[name] unless parent is not None, in which case see module_redirect(). |
|
|
|||
supporters
|
S
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 5 14:59:19 2010 | http://epydoc.sourceforge.net |