Steven D'Aprano wrote:

Er, perhaps "code injection" is not the best name for this, on account of it also being the name for a security vulnerability anti-pattern:

I'm talking about a variety of dependency injection where you either add an entirely new method to an instance, or give the instance it's own custom method overriding the one declared in the class.

I think the term you're after is "monkeypatching".

--
Greg
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to