-
Notifications
You must be signed in to change notification settings - Fork 280
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
python 3 compatibility #544
Conversation
line = proc.stdout.readline().decode('utf8', 'replace') | ||
try: | ||
line = unicode(line) | ||
except NameError: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awkward, It might be worth a comment that this is for python2 backwards compatability so that sometime in the future we would come back and clear all backwards compatibility things out.
Maybe we should be flagging everything like that with a unique string for ease of finding.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added note in 0436f6c.
+1 pending comments |
+1 |
1 similar comment
+1 |
@tfoote @wjwwood Please review.