I'm starting to get my add-ons into shape to support Python 2 and 3. There's a few bits I've found to make this work with Py3
What I've found so far is:
str is now unicode, so unicode can't be found
long is now int, so no longs, so 0L is invalid in Python 3
sys.maxint is now sys.maxsize in Python 3
I can send up a pull request with some handling of these between Python 2 and 3 if you're interested. I haven't actually built Kodi yet with Python 3 support so see if there's any major differences Kodi makes when using Python 3 though.
Relative file paths such as ~/.config/retroarch/cores are not supported for the method xbmcvfs.exists. It will always return false even if directory exists. Using absolute paths fixes the issue. Any workaround here? Is it possible to resolve the relative file path before calling xbmcvfs.exists?
I can't find the "legacy" branch. I looking for what version I need for doing Krypton 17.6 dev against? There are some big changes in Leia 18 that are throwing false negatives (method/property not found).
It would be really awesome if you used the GitHub "releases" function so it would be very easy to download a specific version (and/or to know which versions are available via pip).
Could you please update the matrix branch to beta1?
For example, xbmc.translatePath was moved to xbmcvfs.translatePath and triggers warnings in current nightlies. This change isn't in the alpha1 stubs yet.