Is there a way to insert hooks into a native dictionary type to see when a query arrives and what's looked up?

Chris Angelico rosuav at gmail.com
Fri Dec 16 23:51:17 EST 2016


On Sat, Dec 17, 2016 at 3:42 PM, Veek M <vek.m1234 at gmail.com> wrote:
> If it walks like a duck and talks like a duck, it’s a duck, right? So if
> this duck is not giving you the noise that you want, you’ve got to just
> punch that duck until it returns what you expect. -Patrick Ewing on
> Monkey/Duck patching in RailsConf 2007

https://www.youtube.com/watch?v=PFn_agxmatg

ChrisA


More information about the Python-list mailing list