https://bugs.kde.org/show_bug.cgi?id=387701
Bug ID: 387701 Summary: Scripter cannot load files under Python 3.4 Product: krita Version: 4.0 pre-alpha Platform: Compiled Sources OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Scripting Assignee: krita-bugs-n...@kde.org Reporter: bunf2...@apps.opensourcelaw.biz Target Milestone: --- Created attachment 109253 --> https://bugs.kde.org/attachment.cgi?id=109253&action=edit Allow scripter to load files under Python 3.4 If you try to run a file from scripter it fails to load the file as a module because it uses the new-in-3.5 method importlib.util.module_from_spec. I attach a patch to get this load working in Python 3.4. This patch: * adds a new file loader34.py, based on the equivalent bootstrap file from Python 3.5; and * some code to check for Python 3.4 and use the loader from loader34 to load the module -- You are receiving this mail because: You are watching all bug changes.