Re: An idea for method_missing

2009-04-29 Thread Gabriel Genellina
En Wed, 29 Apr 2009 15:27:48 -0300, mrstevegross escribió: I was exploring techniques for implementing method_missing in Python. I've seen a few posts out there on the subject... One tricky aspect is if it's possible to not just intercept a method_missing call, but actually dynamically add a

An idea for method_missing

2009-04-29 Thread mrstevegross
I was exploring techniques for implementing method_missing in Python. I've seen a few posts out there on the subject... One tricky aspect is if it's possible to not just intercept a method_missing call, but actually dynamically add a new function to an existing class. I realized you can modify the