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...@lists.ironpython.com [mailto:users-
> boun...@lists.ironpython.com] On Behalf Of Kamil Dworakowski
> Sent: Friday, March 06, 2009 3:05 AM
> To: users@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@lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to