This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients Knio, pitrou, skrah
Date 2015-01-27.16:16:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1422375416.71.0.4319270003.issue22668@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2015-01-27 16:16:56skrahsetrecipients: + skrah, pitrou, Knio
2015-01-27 16:16:56skrahsetmessageid: <1422375416.71.0.4319270003.issue22668@psf.upfronthosting.co.za>
2015-01-27 16:16:56skrahlinkissue22668 messages
2015-01-27 16:16:56skrahcreate