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

python 3 compatibility #544

Merged
merged 3 commits into from
Nov 26, 2013
Merged

python 3 compatibility #544

merged 3 commits into from
Nov 26, 2013

Conversation

dirk-thomas
Copy link
Member

@tfoote @wjwwood Please review.

line = proc.stdout.readline().decode('utf8', 'replace')
try:
line = unicode(line)
except NameError:
Copy link
Member

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added note in 0436f6c.

@tfoote
Copy link
Member

tfoote commented Oct 23, 2013

+1 pending comments

@tfoote
Copy link
Member

tfoote commented Nov 20, 2013

+1

1 similar comment
@wjwwood
Copy link
Member

wjwwood commented Nov 20, 2013

+1

dirk-thomas added a commit that referenced this pull request Nov 26, 2013
@dirk-thomas dirk-thomas merged commit dd7481c into ros:groovy-devel Nov 26, 2013
dirk-thomas added a commit that referenced this pull request Dec 4, 2013
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.

3 participants