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 JohnLeitch, brycedarling, martin.panter, serhiy.storchaka, vstinner
Date 2015-09-03.06:10:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441260640.34.0.307037042921.issue24989@psf.upfronthosting.co.za>
In-reply-to
Content
It should be self->string_size, not PyBytes_GET_SIZE(self->buf).

Thank you for your report and your patch John. Here is revised patch with tests based on Martin's test.

Larry, perhaps this bug is grave enough to be fixed in RC3.
History
Date User Action Args
2015-09-03 06:10:40serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, martin.panter, JohnLeitch, brycedarling
2015-09-03 06:10:40serhiy.storchakasetmessageid: <1441260640.34.0.307037042921.issue24989@psf.upfronthosting.co.za>
2015-09-03 06:10:40serhiy.storchakalinkissue24989 messages
2015-09-03 06:10:40serhiy.storchakacreate