[Python-ideas] Fwd: Define a method or function attributeoutside of a class with the dot operator

Markus Meskanen markusmeskanen at gmail.com
Fri Feb 10 11:17:54 EST 2017

Well yes, but I think you're a bit too fast on labeling it a mistake to use
monkey patching...

On Feb 10, 2017 18:15, "Paul Moore" <p.f.moore at gmail.com> wrote:

On 10 February 2017 at 16:09, Markus Meskanen <markusmeskanen at gmail.com>
> But if people are gonna do it anyways with the tools provided (monkey
> patching), why not provide them with better tools?

Because encouraging and making it easier for people to make mistakes
is the wrong thing to do, surely?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170210/9fbe5f8b/attachment.html>

More information about the Python-ideas mailing list