On Thu, Mar 29, 2012 at 1:47 PM, Wander Lairson Costa wrote: >> Thanks. I could not find it in the bug tracker, but I found a post >> from Sarah Messer seeing the same problem here: >> http://sourceforge.net/mailarchive/message.php?msg_id=27131804 >> > > There it is. > >> Maybe we should just try return array.array('c', data) before or after >> trying array.array('u', data)? >> > > This maybe a workaround for this specific case, but I mimic the > behavior of the C version, things get more complicated. Anyway, if you > provide a patch, I will accept, it is better than nothing.
When you say C version, is that pyusb 0.4.x? It is exactly compatibility with 0.4.x I am interested in. I can make a patch doing the above array.array('c', data) for now. Tormod ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users