I’m trying to get my package to work with python 3.3 and I have an import statement that dynamically loads a module
__import__('dictionaries.lang', globals(), locals(), 'TAGS','FUNCTIONS','VARIABLES'])
with ST2 a relative module path is fine, but with ST3 I need to prefix my module name with my package name (eg: ‘mypackage.dictionaries.lang’).
I tried changing the levels for the import but they seem to behave differently in both versions.
Should I just test for the current ST version and change the module name accordingly?
Also it seems that sublime.load_settings() wont work in my constructor; the get() method returns None.
Is there an easier way to load my module using a string from my settings file?