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

Alexandre Vassalotti report at bugs.python.org
Mon Dec 3 00:17:26 CET 2007


Alexandre Vassalotti added the comment:

Here yet another revision of the patch. This one makes
bytearray.extend()   try to determine the length of its argument a bit
more aggressively -- i.e., also uses PyObject_Length().

Added file: http://bugs.python.org/file8856/byte_extend-4.patch

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


More information about the Python-bugs-list mailing list