Message234826
Thanks for the detailed report! Making a private copy of 'format' for
each memoryview generally sounds like the best solution. However, format
strings can be arbitrarily large, so we'd need to store the copy in the
ob_array after shape, strides and suboffsets.
This of course would slow down memoryview creation in the general case.
Given that the disappearing format strings are only created during casting,
I think we can get away with a local solution (see patch). |
|
Date |
User |
Action |
Args |
2015-01-27 16:16:56 | skrah | set | recipients:
+ skrah, pitrou, Knio |
2015-01-27 16:16:56 | skrah | set | messageid: <1422375416.71.0.4319270003.issue22668@psf.upfronthosting.co.za> |
2015-01-27 16:16:56 | skrah | link | issue22668 messages |
2015-01-27 16:16:56 | skrah | create | |
|