Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#58 sphere.name or sphere.constr

inconsistency
open
nobody
primitives (23)
5
2002-07-14
2002-07-14
Bruce Sherwood
No

Reported by Gregor Lingl:

s = sphere()
print dir(s) # shows "constr" and "name"
print s.name # AttributeError
print s.constr # AttributeError

Presumably Visual is either reporting attributes
incorrectly to dir(), or isn't handling them correctly. I
don't think these attributes are documented.

Discussion