[issue40433] Equality operations between lists and arrays

2020-05-01 Thread Raymond Hettinger
Raymond Hettinger added the comment: I concur with Terry that this would need to be taken to python-ideas. -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue40433] Equality operations between lists and arrays

2020-05-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is not clearly a good idea. Lists and tuples with same contents do not compare equal, although set and frozenset do. I suggest that you post this idea to python-ideas list. -- nosy: +rhettinger, terry.reedy versions: -Python 3.5, Python 3.6,

[issue40433] Equality operations between lists and arrays

2020-04-28 Thread Ahmed Amr
New submission from Ahmed Amr : Hi, I was thinking if we could add equality between array and list to work out of the box on the supported datatypes by arrays. Currently, comparing a list and an array with the same contents returns False. Also, creating an array of floats from a listA, then