Message205903
One function (the current one) promises not to import anything. The other
(the new one) may have side effects, even if it fails to find the module
(any successfully imported parent modules will remain imported).
IIRC, that "no side effects" guarantee was the original reason for the
find_loader/get_loader split and it's a distinction I think is worth
preserving. I just think the obvious name should be closer to
importlib.import_module in semantics, with the "no side effects" version
being the more obscure one. |
|
Date |
User |
Action |
Args |
2013-12-11 12:27:37 | ncoghlan | set | recipients:
+ ncoghlan, brett.cannon, Arfrever, eric.snow |
2013-12-11 12:27:37 | ncoghlan | link | issue19944 messages |
2013-12-11 12:27:37 | ncoghlan | create | |
|