Berker Peksag added the comment:
The imp module has been deprecated long time ago and the importlib module
itself doesn't it anymore. However, Cython still use it:
https://github.com/cython/cython/blob/master/pyximport/pyximport.py#L217
I'm inclined to close this as 'out of date' but feel
New submission from Stefan Behnel sco...@users.sourceforge.net:
The imp.load_dynamic() function is used by third party code (e.g. Cython's
pyximport) but is not currently documented.
http://docs.python.org/dev/library/imp.html
The latest changes to the import mechanism suggest that it should
R. David Murray rdmur...@bitdance.com added the comment:
This is essentially a duplicate of issue 14551, but perhaps with a bit more
weight behind it.
--
nosy: +brett.cannon, pitrou, r.david.murray
versions: -Python 2.6, Python 2.7, Python 3.1
___
Antoine Pitrou pit...@free.fr added the comment:
Ok, let's redocument them, then :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14594
___
___
R. David Murray rdmur...@bitdance.com added the comment:
Yeah, they really need to be documented in order for us to document them as
deprecated if we decide we really want to remove them later. Obsolete is
not, I think, the same as deprecated.
--
Brett Cannon br...@python.org added the comment:
I'm fine w/ documenting load_dynamic() and leaving it as-is since importlib
uses the function itself (plus the frozen/builtin functions, although the
frozen stuff might be simplified since they can probably just return the bytes
for the frozen
Changes by Eric Snow ericsnowcurren...@gmail.com:
--
nosy: +eric.snow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14594
___
___
Python-bugs-list