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 Knio
Recipients Knio, pitrou, skrah
Date 2014-10-18.22:13:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1413670433.7.0.452107994688.issue22668@psf.upfronthosting.co.za>
In-reply-to
Content
When slicing or cloning a memoryview object that has been previously cast to change its format string, the new memoryview's format shares a pointer to the parent's format string, which may be deleted at any time.

This manifests as a corrupt format when using the new memoryview object, causing crashes or unexpected behavior.

Tested on:
Python 3.4.0 (default, Apr 11 2014, 13:05:11) [GCC 4.8.2] on linux
Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:45:13) [MSC v.1600 64 bit (AMD64)] on win32
Python 3.5.0a0 (default:cb8606fc84df, Oct 18 2014, 14:55:44) [GCC 4.8.2] on linux
History
Date User Action Args
2014-10-18 22:13:53Kniosetrecipients: + Knio, pitrou, skrah
2014-10-18 22:13:53Kniosetmessageid: <1413670433.7.0.452107994688.issue22668@psf.upfronthosting.co.za>
2014-10-18 22:13:53Kniolinkissue22668 messages
2014-10-18 22:13:53Kniocreate