IronPython overriding __setattr__ and __getattr__
Posted
by yodaj007
on Stack Overflow
See other posts from Stack Overflow
or by yodaj007
Published on 2010-04-01T22:41:35Z
Indexed on
2010/04/01
22:43 UTC
Read the original article
Hit count: 269
I'm trying to implement a class in C# with a method that intercepts the Python __setattr__ and __getattr__ magic methods. I found this bug report:
http://ironpython.codeplex.com/WorkItem/View.aspx?WorkItemId=8143
But that is from 2008, and nowhere can I find ICustomAttributes or PythonNameAttribute. I don't see anything useful in Interfaces.cs either. Can someone point me in the right direction?
© Stack Overflow or respective owner