dunder-docs (was Python is DOOMED! Again!)
Gregory Ewing
greg.ewing at canterbury.ac.nz
Wed Feb 4 01:22:36 EST 2015
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
More information about the Python-list
mailing list