Closed ali1234 closed 6 years ago
Overall most of the changes look good. For the {x,}range and {iter,}{items,values} changes, I tend to prefer to invoke 2to3 during setup.py as these are sadly much faster on python2. But I will have to check whether they are in a critical path (sorry, long day today).
Like that? (Beware, not tested.)
BTW this is why I need py3...
Released as 0.3, thanks !
I must say I wrote this as I intended to implement a CCID class device about a year ago, but had so much to do (hardware, kernel patches, this, a i2c display driver, and the CCID spec) it exhausted my interest before I could get back to implementing the actual function...
Some changes (range and dict stuff) may be slightly less efficient. In practice this should make no difference as the lists involved are not large.
Fixes #3