modifying standard library functionality (difflib)
Vlastimil Brom
vlastimil.brom at gmail.com
Thu Jun 24 13:40:47 EDT 2010
2010/6/24 Bruno Desthuilliers <bruno.42.desthuilliers at websiteburo.invalid>:
> Vlastimil Brom a écrit :
....
>
> "patching source code" canonically means "physically" modifying the original
> source file. Monkeypatching - which can only be done in some dynamic
> languages - is what you're doing above, ie dynamically replacing a given
> feature at runtime.
>
>>
Thank you very much for the clarification (I indeed didn't consider
this "ultima ratio" approach :-)
Thanks for the positive suggestion as well.
Regards,
vbr
More information about the Python-list
mailing list