Author matrixise
Recipients matrixise
Date 2018-11-30.08:30:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
maybe related to this issue:

we can't import a module where the name contains '-', for example

from my-module import my_function

but with importlib.import_module

we can import this module.

import_module does not respect the python syntax for the name of the module, we should avoid that.

1. Add a DeprecationWarning for 3.8+
2. in 3.10, remove this DeprecationWarning and remove the support of the '-' in importlib.import_module
Date User Action Args
2018-11-30 08:30:52matrixisesetrecipients: + matrixise
2018-11-30 08:30:51matrixisesetmessageid: <>
2018-11-30 08:30:51matrixiselinkissue35358 messages
2018-11-30 08:30:51matrixisecreate