[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.
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
> > 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?
> Python-ideas mailing list
> Python-ideas at python.org
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas