HomePage | RecentChanges

ObjectDescriptionPages

No diff available--this is the first major revision. (no other diffs)


Object description pages have the following format

 ClassName
 instance variable name, type, copyScope, default values

Type can be P, L, D, or O which are "primitive", "list", "dictionary" and "object" respectively.

CopyScope? is either "E" (external) or "I" (internal). Internal vars are assumed to be "components" of the object. External vars are assumed to be references to external objects.

The two pieces of information determines some details of how they variables will be treated by the default copy routine. In many cases in a language like Python this doesn't make a difference. But in some cases it does. When an object is copied internal components should be "deep copied" whereas for external references, only the reference is copied.