Message211944
| Author |
r.david.murray |
| Recipients |
brett.cannon, docs@python, eric.snow, larry, python-dev, r.david.murray |
| Date |
2014年02月22日.19:35:03 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1393097703.94.0.115597192048.issue20199@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I just committed a fix for the importlib deprecations entry, based on the deprecation notes in the docs. There are quite a few methods deprecated in 3.4 because of modulespec, but only a few *sorts* of methods.
One possible anomaly (though it looks intentional) is that the importlib.abc.FileLoader exec_module method is deprecated, just like for the other abcs, but unlike the other abcs, there is no replacement exec_module method...instead the deprecation note directs the reader to Loader.exec_module. I'm not familiar enough with importlib to know if that redirection would make sense to a Loader implementor.
I'm let one of the imporlib maintainers close this if they agree that I've gotten it right. |
|