This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author srittau
Recipients srittau
Date 2014-05-05.12:00:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It was very easy to load plugin files in Python 2:

import imp
my_module = imp.load_source("what.ever", "")

Unfortunately, this became much more obscure in Python 3.3:

import importlib.machinery
loader = importlib.machinery.SourceFileLoader("what.ever", "")
my_module = loader.load_module("what.ever")

In Python 3.4 even this has been deprecated. There should be a way (preferable an easy-to-use one) to load a Python module by filename or by stream.
Date User Action Args
2014-05-05 12:00:08srittausetrecipients: + srittau
2014-05-05 12:00:08srittausetmessageid: <>
2014-05-05 12:00:08srittaulinkissue21436 messages
2014-05-05 12:00:08srittaucreate