osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

About the implementation of del in Python 3


On Thu, Jul 6, 2017 at 12:56 PM, Nathan Ernst <nathan.ernst at gmail.com> wrote:
> In Python, "==" is not a reference equality operator (and I hate Java for
> their misuse of the operator), so I absolutely disagree with using the Java
> description to describe Python's "==" operator, primarily because, well,
> it's wrong. Simple example:

I thought it went without saying that the direct quote that I posted
would need some revision before it would apply to Python. The parts
about "objects or arrays" would also need to be changed, since Python
doesn't have Java-like arrays.