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 vstinner
Recipients pitrou, serhiy.storchaka, vstinner
Date 2013-11-13.21:15:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
> You can't "un-memmove" because you already lost bytes between new_hi and hi.

Oh, that's why I prefered a review. You're right, bytes are lost.

Here is a different approach which updates the size to ensure that the object is consistent on memory allocation failure.
History
Date User Action Args
2013-11-13 21:15:51vstinnersetrecipients: + vstinner, pitrou, serhiy.storchaka
2013-11-13 21:15:51vstinnersetmessageid: <[email protected]>
2013-11-13 21:15:51vstinnerlinkissue19568 messages
2013-11-13 21:15:51vstinnercreate