Message202781
> 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. |
|
Date |
User |
Action |
Args |
2013-11-13 21:15:51 | vstinner | set | recipients:
+ vstinner, pitrou, serhiy.storchaka |
2013-11-13 21:15:51 | vstinner | set | messageid: <1384377351.23.0.897134392876.issue19568@psf.upfronthosting.co.za> |
2013-11-13 21:15:51 | vstinner | link | issue19568 messages |
2013-11-13 21:15:51 | vstinner | create | |
|