Christian Heimes <[EMAIL PROTECTED]> added the comment: Amaury Forgeot d'Arc wrote: > Maybe __dict__ should be special-cased in local_getattro()?
With the patch it's also no longer possible to get a list of attribute names. +1 for special casing __dict__ in getattro and setattro. setattr(local, "__dict__", egg) should raise an AttributeError. Christian _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1868> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com