Author lemburg
Recipients Bruno Oliveira, The Compiler, benjamin.peterson, berker.peksag, doerwalter, lemburg, martin.panter, reaperhulk, serhiy.storchaka
Date 2015-10-01.07:40:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <560CE36E.8000508@egenix.com>
In-reply-to <1443618686.96.0.686852832064.issue25270@psf.upfronthosting.co.za>
Content
On 30.09.2015 15:11, Serhiy Storchaka wrote:
> 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().

Agreed. It would be good to make _PyBytes_Resize() more robust for
shared objects.
History
Date User Action Args
2015-10-01 07:40:46lemburgsetrecipients: + lemburg, doerwalter, benjamin.peterson, berker.peksag, martin.panter, serhiy.storchaka, The Compiler, reaperhulk, Bruno Oliveira
2015-10-01 07:40:46lemburglinkissue25270 messages
2015-10-01 07:40:46lemburgcreate