* accessobject.c (ownercheck): allow a base class access to protected
  objects of its derived classes; allow anything that has an attribute
  named "__privileged__" access to anything.
* object.[ch]: added hasattr() -- test whether getattr() will succeed.
3 files changed