Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError #3

Open
imheresamir opened this issue Mar 3, 2016 · 0 comments
Open

UnicodeDecodeError #3

imheresamir opened this issue Mar 3, 2016 · 0 comments

Comments

@imheresamir
Copy link

Hello,

During my evaluation of this library, I believe I came across a bug that was introduced in 913ac51 in BBIO_base.response():

the return value was changed from data to data.decode()
which will raise a UnicodeDecodeError when reading or writing values greater than 0x7F.

I was testing the SPI bus using Python 3.5.

I apologize for not submitting a pull request but I believe this change in response() behavior affects the other subclasses of BBIO wherever response() is called, and have decided to go with pyBusPirate instead.

Samir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant