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 serhiy.storchaka
Recipients berker.peksag, christian.heimes, martin.panter, serhiy.storchaka
Date 2016-09-17.11:00:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474110050.51.0.694775097795.issue28187@psf.upfronthosting.co.za>
In-reply-to
Content
Could you please regenerate the patch for Rietveld Berker?

_PyBytes_Resize(&res, r) always sets res to NULL if fails. Thus the following code is correct. No need to check the return value.

    if (n > r)
        _PyBytes_Resize(&res, r);
    return res;
History
Date User Action Args
2016-09-17 11:00:50serhiy.storchakasetrecipients: + serhiy.storchaka, christian.heimes, berker.peksag, martin.panter
2016-09-17 11:00:50serhiy.storchakasetmessageid: <1474110050.51.0.694775097795.issue28187@psf.upfronthosting.co.za>
2016-09-17 11:00:50serhiy.storchakalinkissue28187 messages
2016-09-17 11:00:50serhiy.storchakacreate