Why was the imputil module removed from python3.0 and what should be used in its place?
From stackoverflow
-
According to PEP 3108, it was rarely used, undocumented and never updated to support absolute imports.
-
In Python 3.1, there is a module called importlib, which should be a superior replacement for imputil.
brad : Very nice. I wonder why imputil was removed before adding importlib? very strange...Alex Martelli : Python 3 was primarily an opportunity for removing cruft, and imputil was seen as such (per PEP 3108, as @unknown says). To get a voice on such decisions in the future, join python-dev!-)
0 comments:
Post a Comment