[issue1283] PyBytes (buffer) .extend method needs to accept any iterable of ints

Alexandre Vassalotti report at bugs.python.org
Sun Dec 2 02:10:25 CET 2007


Alexandre Vassalotti added the comment:

There is a reference leak in my previous patches. So, I updated (again)
the patch. There is still another possible leak if the PyMem_Realloc
return NULL (i.e., the system is out of memory), but I don't think it
worth fixing.

Added file: http://bugs.python.org/file8849/byte_extend-3.patch

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1283>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: byte_extend-3.patch
Type: text/x-patch
Size: 3591 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-bugs-list/attachments/20071202/8b9207c1/attachment.bin 


More information about the Python-bugs-list mailing list