On Wed, Feb 3, 2016, at 16:43, Sven R. Kunze wrote: > Actually a nice idea if there were no overhead of creating methods for > all heap instances separately. I'll keep that in mind. :)
What about changing the class of the object to one which is inherited from its original class and has the method you want? What about reaching into the class and changing the method in the first place? Either may not be appropriate, of course, depending on your use case. -- https://mail.python.org/mailman/listinfo/python-list