Message330761
maybe related to this issue: https://bugs.python.org/issue18831
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:52 | matrixise | set | recipients:
+ matrixise |
2018-11-30 08:30:51 | matrixise | set | messageid: <1543566651.92.0.788709270274.issue35358@psf.upfronthosting.co.za> |
2018-11-30 08:30:51 | matrixise | link | issue35358 messages |
2018-11-30 08:30:51 | matrixise | create | |
|