Author serhiy.storchaka
Recipients Bruno Oliveira, The Compiler, benjamin.peterson, berker.peksag, doerwalter, lemburg, reaperhulk, serhiy.storchaka
Date 2015-09-30.13:11:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443618686.96.0.686852832064.issue25270@psf.upfronthosting.co.za>
In-reply-to
Content
May be better to test a condition "size > 0" before calling _PyBytes_Resize(), as in many other case where _PyBytes_Resize() is used.

Or accept shared objects in _PyBytes_Resize() if new size is equal to old size. This will allow to getrid of additional tests before calling _PyBytes_Resize().
History
Date User Action Args
2015-09-30 13:11:27serhiy.storchakasetrecipients: + serhiy.storchaka, lemburg, doerwalter, benjamin.peterson, berker.peksag, The Compiler, reaperhulk, Bruno Oliveira
2015-09-30 13:11:26serhiy.storchakasetmessageid: <1443618686.96.0.686852832064.issue25270@psf.upfronthosting.co.za>
2015-09-30 13:11:26serhiy.storchakalinkissue25270 messages
2015-09-30 13:11:26serhiy.storchakacreate