Re: [pyusb-users] Issue 10 feedback

2013-01-26 Thread Alan Jhonn Aguiar Schwyn
I not like that change. If someone want to use both versions, renameit and use.. I think that PyUSB 1.0 must be called stable (I use and not have problemsof the library). Another problem: only PyUSB 0.4 is packaged. Who is the packager? From: wander.lair...@gmail.com Date: Sat, 26 Jan 2013

Re: [pyusb-users] Issue 10 feedback

2013-01-26 Thread Wander Lairson Costa
2013/1/26 Alan Jhonn Aguiar Schwyn alan...@hotmail.com: I not like that change. If someone want to use both versions, rename it and use.. I think that PyUSB 1.0 must be called stable (I use and not have problems of the library). Another problem: only PyUSB 0.4 is packaged. Who is the

[pyusb-users] [PATCH] Proposal to fix python 3.3 compatibility

2013-01-26 Thread wander . lairson
From: Wander Lairson Costa wander.lair...@gmail.com This patch fixes issue 8 (python 3.3 compatibilty). Unfortunatelly, it will not include all bytes of an Unicode string (see comments in the issue). I would like it to be reviewed before applying to master. Wander Lairson Costa (1): Fix: keep

Re: [pyusb-users] [PATCH] Fix: keep compatibility with Python 3.3.

2013-01-26 Thread Steven Michalske
What about this? Tested in python 2.7 and 3.3 a = array.array(B) s=uabcꬦ try: a.fromstring(s.encode('ascii')) except UnicodeEncodeError: a.fromstring(s.encode('utf8')) print(a) array('B', [97, 98, 99, 234, 172, 166]) a = array.array(B) s=abc try: a.fromstring(s.encode('ascii'))

Re: [pyusb-users] Issue 10 feedback

2013-01-26 Thread Emmanuel Blot
I not like that change. If someone want to use both versions, rename it and use.. I agree: who many installations would be broken once pyusb is updated? All Python modules that depends on pyusb would have to be updated, this is not a trivial task. My two cents, Manu.