Message251929
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(). |
|
Date |
User |
Action |
Args |
2015-09-30 13:11:27 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, lemburg, doerwalter, benjamin.peterson, berker.peksag, The Compiler, reaperhulk, Bruno Oliveira |
2015-09-30 13:11:26 | serhiy.storchaka | set | messageid: <1443618686.96.0.686852832064.issue25270@psf.upfronthosting.co.za> |
2015-09-30 13:11:26 | serhiy.storchaka | link | issue25270 messages |
2015-09-30 13:11:26 | serhiy.storchaka | create | |
|