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

Reply via email to