On Tue, Jul 27, 2010 at 12:33 PM, Carl Witty <[email protected]> wrote: > On Tue, Jul 27, 2010 at 2:07 AM, Robert Bradshaw > <[email protected]> wrote: >> Very, very cool. I've actually been thinking a lot about this myself >> (given the recent thread in sage-devel). I think one reason we did our >> own wrappers was for introspection/docstrings--does that break? Did >> you fix the most egregious __getattr__? > > Yes, this does break docstrings on these functions. I think this > could be fixed; for instance, by creating our own statically-declared > wrapperbase/slotdef structs that have the right docstring, and > creating our own wrapper objects using these structs. I could try to > work on this, but probably not soon enough for 0.13.
Well, for special methods, I consider this kind of performance degradation to be a more important issue than introspection. It's really amazing no one has caught this before. > Yes, this fixes the performance regression William found when defining > __getattr__. Excellent! - Robert _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
