Raymond Hettinger added the comment: > Is accessing _fields a common operation?
Not common at all -- it is used for introspection. That said, there is nearly zero savings from generating the tuple upon look-up. I would say that using a PyGetSetDef is a false optimization. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1820> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com