Python 3 compatibility
See original GitHub issueThere 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:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
andmaster_sync
, apart from the renaming. Furthermore a lot of code of thenode manager
is already python 3 compatible. And with your changes alsomaster_discovery
andmaster_sync
would be python 3 compatible 😉The current version is Python 3 compatible and runs with ROS noetic. Please reopen on some problems!