Closed GoogleCodeExporter closed 9 years ago
Note: this makes my original example print t2.attr three times instead of two.
This
is because hasattr (PyObject_HasAttr in Wrapper.cpp) actually calls getattr to
check,
so it gets called an extra time. Not sure if this is really bad or if it can be
avoided... I may just be really tired :-)
Anyways, happy new year!
Original comment by sciyoshi
on 31 Dec 2009 at 7:55
Ok, I have disabled the build-in python property supports by default, and use
python
side implementation. In fact, I prefer to do as more as possible on python side
:P
Thanks for your patches :)
Original comment by flier...@gmail.com
on 31 Dec 2009 at 8:05
Original issue reported on code.google.com by
sciyoshi
on 31 Dec 2009 at 7:29Attachments: