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 alexandre.vassalotti
Recipients alexandre.vassalotti, gregory.p.smith
Date 2007-12-02.00:41:52
SpamBayes Score 0.019339314
Marked as misclassified No
Message-id <1196556113.0.0.21801856357.issue1283@psf.upfronthosting.co.za>
In-reply-to
Content
Made 2 minor enhancements to the patch:
   + Added the proper type-cast to PyMem_Realloc call.
   + Changed (len >> 1) to (len >> 1) + 1, just to be sure that the
buffer  doesn't overflow if __length_hint__ return 0 or 1 erroneously.
Files
File name Uploaded
byte_extend-2.patch alexandre.vassalotti, 2007-12-02.00:41:52
History
Date User Action Args
2007-12-02 00:41:53alexandre.vassalottisetspambayes_score: 0.0193393 -> 0.019339314
recipients: + alexandre.vassalotti, gregory.p.smith
2007-12-02 00:41:53alexandre.vassalottisetspambayes_score: 0.0193393 -> 0.0193393
messageid: <1196556113.0.0.21801856357.issue1283@psf.upfronthosting.co.za>
2007-12-02 00:41:52alexandre.vassalottilinkissue1283 messages
2007-12-02 00:41:52alexandre.vassalotticreate