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

Small steps toward making RSI py3 compatible #250

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

timothydmorton
Copy link

I have found that under python 3, writing to the RSI database breaks with a bytes vs. string issue when pickling, which is fixed if the pickle write/reading is binary (using 'wb'/'rb'). Also, the shape of the data has to be integers, which requires explicit integer division in py3. There are a number of other things that would need to be fixed to make the app fully py3 compatible, as the JSON message writing breaks when trying to write bytes as well, but that seems more involved, so this is just a start to that.

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

Successfully merging this pull request may close these issues.

1 participant