# ``twisted`.`python`.`rebuild``

module documentation
(source)

*Real* reloading support for Python.

Class | `RebuildError` | Exception raised when trying to rebuild a class whereas it's not possible.
Class | `Sensitive` | A utility mixin that's sensitive to rebuilds.
Function | `__injectedgetattr__` | A getattr method to cause a class to be refreshed.
Function | `latestClass` | Get the latest version of a class.
Function | `latestFunction` | Get the latest version of a function.
Function | `rebuild` | Reload a module and do as much as possible to replace its references.
Function | `updateInstance` | Updates an instance to be current.
Variable | `lastRebuild` | Undocumented
Variable | `_modDictIDMap` | Undocumented

def __injectedgetattr__(self, name): (source)
A getattr method to cause a class to be refreshed.
def latestClass(oldClass): (source)
Get the latest version of a class.
def latestFunction(oldFunc): (source)
Get the latest version of a function.
def rebuild(module, doLog=1): (source)
Reload a module and do as much as possible to replace its references.
def updateInstance(self): (source)
Updates an instance to be current.
lastRebuild = (source)

Undocumented

_modDictIDMap: `Dict[int, ModuleType]` = (source)

Undocumented