Skip to content

Conversation

@Nodd
Copy link
Contributor

@Nodd Nodd commented Sep 16, 2014

Python3 compatibility.

Copy link
Contributor

Choose a reason for hiding this comment

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

Please update the pull request to use a try / except block instead rather then the explicit check of the version number. So instead of line 33 do something like:

try:
    import builtins
except ImportError:
    import __builtin__ as builtins
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done !

Copy link
Contributor

Choose a reason for hiding this comment

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

Please only catch ImportError here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops sorry !

@dirk-thomas
Copy link
Contributor

Thanks.

dirk-thomas added a commit that referenced this pull request Sep 19, 2014
__builtin__ became builtins in python3
@dirk-thomas dirk-thomas merged commit 9912a6d into ros-visualization:groovy-devel Sep 19, 2014
@Nodd Nodd deleted the py3 branch September 19, 2014 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants