On Mon, 30 Aug 2021 at 23:27, Nick Parlante <n...@cs.stanford.edu> wrote:
> I don't know Chris, doesn't this just show that If you construct a class with 
> a, shall we say, "oddball" definition of ==, then using == on that class gets 
> oddball results. And it goes without saying that we all understand that None 
> and False and True (the dominant cases where PEP8 is forcing "is") will 
> always have sensible definitions of ==.

If you consider numpy arrays as "oddball" and unworthy of
consideration, then I guess you're correct. But PEP 8 isn't going to
change because you dismiss a major Python library as irrelevant...

And as everyone has already said, PEP 8 isn't *forcing* anyone to do
anything. If you don't like it, ignore it. But don't try to insist
everyone else has to agree with you.

Paul
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/2DEK4G4FUZQI6YPB5M6XCXGN5PYQLU3J/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to