[Python-Dev] PyObject_RichCompareBool identity shortcut

Nick Coghlan ncoghlan at gmail.com
Thu Apr 28 06:34:25 CEST 2011


On Thu, Apr 28, 2011 at 2:07 PM, Guido van Rossum <guido at python.org> wrote:
> I'm not sure about array.array -- it doesn't hold objects so I don't
> think there's anything to enforce. It seems to behave the same way as
> NumPy arrays when they don't contain objects.

Yep, after reading Robert's post I realised the point about native
arrays in NumPy (and the lack of "object identity" in those cases)
applied equally well to the array module.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list