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 seberg
Recipients seberg
Date 2020-01-27.22:39:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580164758.79.0.779286735709.issue39471@roundup.psfhosted.org>
In-reply-to
Content
I went through Python, `array` seems to not break the logic. pickling has a comment which specifically wants to run into the argument parsing corner case above (I am not sure that it is really important). However, `Modules/_testbuffer.c` (which is just test) actually does allocate new memory for the buffer!

I can be convinced that this is how it is supposed to be, but right now I am still not quite. The main idea is efficient no-copy data sharing. It is always possible to create a `to_memoryview()` method if a realloc was desired/necessary...
History
Date User Action Args
2020-01-27 22:39:18sebergsetrecipients: + seberg
2020-01-27 22:39:18sebergsetmessageid: <1580164758.79.0.779286735709.issue39471@roundup.psfhosted.org>
2020-01-27 22:39:18seberglinkissue39471 messages
2020-01-27 22:39:18sebergcreate