[IronPython] dir returning protected members

Dino Viehland dinov at microsoft.com
Sat Mar 7 20:49:21 CET 2009

This is the correct behavior.  We expose protected members as normal members that throw when the instance isn't a subclass defined in Python.  But they need to exist on the base class so that you can do things like super calls to them.

> -----Original Message-----
> From: users-bounces at lists.ironpython.com [mailto:users-
> bounces at lists.ironpython.com] On Behalf Of Kamil Dworakowski
> Sent: Friday, March 06, 2009 3:05 AM
> To: users at lists.ironpython.com
> Subject: [IronPython] dir returning protected members
> For my purpose this is bad that dir returns protected members, but I
> don't know if it is a bug. Is it a bug?
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

More information about the Ironpython-users mailing list