Please note that you patch only fixes the issue for single file plugins. Same issue exists (both on py2 and py3) for complex plugins that are imported as modules, see LoadOneSubdirPlugin(). It would be good to address that too.
Please note that you patch only fixes the issue for single file plugins. ugin().
Same issue exists (both on py2 and py3) for complex plugins that are imported as modules, see LoadOneSubdirPl
It would be good to address that too.