commit | ed18fdc9fcd4a0c5d592ed4ee04a8337b60d8752 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sun Jul 11 19:55:34 1993 +0000 |
committer | Guido van Rossum <guido@python.org> | Sun Jul 11 19:55:34 1993 +0000 |
tree | 3909bcabf4d81f3ffb1f288f4f0619b1fa54f511 | |
parent | 697e7abbc8f5d8188c09181e308827a45eacfc14 [diff] |
* 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.