New posts in monkeypatching

Monkey patching a @property

In Rails, how to add a new method to String class?

Can you patch *just* a nested function with closure, or must the whole outer function be repeated?

How can I modify the XMLHttpRequest responsetext received by another function?

How to get object itself in custom Object.prototype.xxx function?

Is there a way to monkey patch a class inside a module before the module body is executed in python?

How does one monkey patch a function in python?

Monkey patching a class in another module in Python

What does 'Monkey Patching' exactly Mean in Ruby?

Monkey-patch Python class

Is it possible to replace (monkeypatch) PHP functions?

Mocking a script with no `if __name__=="__main__":` block

Can I patch a Python decorator before it wraps a function?

Why is it frowned upon to modify JavaScript object's prototypes?

Redefine Python object method?

Can you monkey patch methods on core types in Python?

Can I add custom methods/attributes to built-in Python types?

Making object JSON serializable with regular encoder

How to add property to a class dynamically?

When monkey patching an instance method, can you call the overridden method from the new implementation?