On Tue, Apr 26, 2022 at 9:55 AM Greg Ewing <greg.ew...@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 > >
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/7HG35MGIE2HROG5LFIAIJH5IVGUUU32C/ Code of Conduct: http://python.org/psf/codeofconduct/