Malcolm Purvis <malc...@purvis.id.au> added the comment:

It's true that memcpy won't work when the data type changes, but I would
assume (with no evidence to back me up) that the most common case for
passing an array into the array's constructor would be when data types
are the same.  That case would be case to detect especially and use
memcpy for.

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5109>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to