On Tue, Apr 26, 2022 at 9:55 AM Greg Ewing <greg.ewing@canterbury.ac.nz> wrote:
On 26/04/22 12:33 pm, Chris Angelico wrote:
> That's exactly what I mean though: if the only difference between
> "monkeypatching" and "not monkeypatching" is whether it was intended,
> then the only difference is what you call it.

No, it's not just a matter of what you call it.

If I lose my keys and have to break into my house, it's not
illegal. But if someone else breaks into my house without my
permission, that is illegal. It doesn't matter if the thief
*calls* it legal, there's still a difference.


MonkeyPatching in Python is not illegal in this sense. 

As was put in this thread: let's not criminalize people
for mutating mutable objects. 

btw, wether to call certain aspects of one of
the options for this proposal "monkeypatching" or not,
is a discussion that IMHO is far, far beyond bike-shedding. 

 

--
Greg