Part of twisted.python.modules View Source View In Hierarchy
Instance Variables | name | the fully-qualified python name of this attribute. |
onObject | a reference to a PythonModule or other PythonAttribute that is this attribute's logical parent. | |
name | the fully qualified python name of the attribute represented by this class. |
Method | __init__ | Create a PythonAttribute. This is a private constructor. Do not construct me directly, use PythonModule.iterAttributes. |
Method | __repr__ | Undocumented |
Method | isLoaded | Return a boolean describing whether the attribute this describes has actually been loaded into memory by importing its module. |
Method | load | Load the value associated with this attribute. |
Method | iterAttributes | Undocumented |
Parameters | name | the FQPN |
onObject | see ivar | |
loaded | always True, for now | |
pythonValue | the value of the attribute we're pointing to. |
Return a boolean describing whether the attribute this describes has actually been loaded into memory by importing its module.
Note: this currently always returns true; there is no Python parser support in this module yet.Returns | an arbitrary Python object, or 'default' if there is an error loading it. |