question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Python 3 compatibility

See original GitHub issue

There are a few except usages, which are invalid for python 3: https://github.com/fkie/multimaster_fkie/blob/master/fkie_master_sync/src/fkie_master_sync/master_sync.py#L137, https://github.com/fkie/multimaster_fkie/blob/master/fkie_master_discovery/src/fkie_master_discovery/master_discovery.py#L937

Also, will there be a python 3 compat update for the melodic branch (old master)? If yes, I might put some effort into a PR.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
atiderkocommented, Apr 22, 2020

Is there a reason why you did not use the new version in master branch? The new version does not change the behavior of master_discovery and master_sync, apart from the renaming. Furthermore a lot of code of the node manager is already python 3 compatible. And with your changes also master_discovery and master_sync would be python 3 compatible 😉

0reactions
atiderkocommented, Sep 18, 2020

The current version is Python 3 compatible and runs with ROS noetic. Please reopen on some problems!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Porting Python 2 Code to Python 3 — Python 3.11.1 ...
And that's mostly it! At this point your code base is compatible with both Python 2 and 3 simultaneously. Your testing will also...
Read more >
Cheat Sheet: Writing Python 2-3 compatible code
This notebook shows you idioms for writing future-proof code that is compatible with both versions of Python: 2 and 3. It accompanies Ed...
Read more >
How to detect if code is python 3 compatible - Stack Overflow
You can use Pycharm IDE for this. Just open the python files in the pycharm editor, it will show warnings ...
Read more >
Python 3 Custom Check Migration - Datadog Docs
Use Datadog's Custom Check Compatibility tool to see whether your custom checks are compatible with Python 3 or need to be migrated.
Read more >
Supporting Python 2 and 3 without 2to3 conversion
Python 2.7 has some small improvements on Python 3 compatibility, but it's likely that if you want to run the same code under...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found