Message229304
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.100000023841858, 2.200000047683716, 3.299999952316284], [4.400000095367432, 5.5, 6.599999904632568]]
>>> memoryview(x) < bytearray(b'b')
False |
|
Date |
User |
Action |
Args |
2014-10-14 15:39:03 | skrah | set | recipients:
+ skrah, nascheme, ncoghlan, flox, fin.swimmer |
2014-10-14 15:39:03 | skrah | set | messageid: <1413301143.15.0.164996352681.issue20339@psf.upfronthosting.co.za> |
2014-10-14 15:39:03 | skrah | link | issue20339 messages |
2014-10-14 15:39:03 | skrah | create | |
|