[IronPython] dir returning protected members

Kamil Dworakowski kamil at dworakowski.name
Sat Mar 7 21:35:21 CET 2009


Is there a way to check if it is a protected member or not?

On Mar 7, 7:49 pm, Dino Viehland <di... at microsoft.com> wrote:
> 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-boun... at lists.ironpython.com [mailto:users-
> > boun... at lists.ironpython.com] On Behalf Of Kamil Dworakowski
> > Sent: Friday, March 06, 2009 3:05 AM
> > To: us... 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
> > Us... at lists.ironpython.com
> >http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
> _______________________________________________
> Users mailing list
> Us... at lists.ironpython.comhttp://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list