[Python-ideas] Fwd: Define a method or function attributeoutside of a class with the dot operator
Sven R. Kunze
srkunze at mail.de
Fri Feb 10 11:35:20 EST 2017
Another point of view:
Some call it monkeypatching. Others call it configuration.
There's room for both views and I don't see anything wrong with
configuration using this kind of feature.
Sven
On 10.02.2017 17:17, Markus Meskanen wrote:
> 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
> <mailto:p.f.moore at gmail.com>> wrote:
>
> On 10 February 2017 at 16:09, Markus Meskanen
> <markusmeskanen at gmail.com <mailto:markusmeskanen at gmail.com>> wrote:
> > 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?
>
> Paul
>
>
>
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170210/670639c2/attachment-0001.html>
More information about the Python-ideas
mailing list