Stefan Krah added the comment:
The comparisons can be somewhat meaningless though:
from _testbuffer import *
x = ndarray([1.1, 2.2, 3.3, 4.4, 5.5, 6.6], shape=[2,3], format=f)
x.tolist()
[[1.10023841858, 2.20047683716, 3.29952316284], [4.40095367432,
5.5, 6.59904632568]]
fin swimmer added the comment:
This is exactly what I need!
Would be a great work.
--
nosy: +fin.swimmer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20339
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +ncoghlan, skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20339
___
___
Python-bugs-list
New submission from Neil Schemenauer:
While poking around at bytes() related things, I noticed that the
tp_richcompare method for bytes does not use the tp_as_buffer
interface. Making it use it is quite easy, probably even makes the
code simpler
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
components: +Interpreter Core
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20339
___