This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年04月16日 11:44 by scoder, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (6) | |||
|---|---|---|---|
| msg158412 - (view) | Author: Stefan Behnel (scoder) * (Python committer) | Date: 2012年04月16日 11:44 | |
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 better be documented to give a hint that users can rely on it. |
|||
| msg158439 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2012年04月16日 13:17 | |
This is essentially a duplicate of issue 14551, but perhaps with a bit more weight behind it. |
|||
| msg158440 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2012年04月16日 13:21 | |
Ok, let's redocument them, then :) |
|||
| msg158457 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2012年04月16日 14:22 | |
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". |
|||
| msg158471 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2012年04月16日 15:41 | |
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 module instead of doing as much work in C code). But load_package(), load_source(), and load_module() need to go. |
|||
| msg272069 - (view) | Author: Berker Peksag (berker.peksag) * (Python committer) | Date: 2016年08月05日 22:55 | |
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 free to reopen it :) |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:29 | admin | set | github: 58799 |
| 2016年08月05日 22:55:47 | berker.peksag | set | status: open -> closed nosy: + berker.peksag messages: + msg272069 resolution: out of date stage: resolved |
| 2012年04月16日 16:20:03 | eric.snow | set | nosy:
+ eric.snow |
| 2012年04月16日 15:41:34 | brett.cannon | set | messages: + msg158471 |
| 2012年04月16日 14:22:55 | r.david.murray | set | messages: + msg158457 |
| 2012年04月16日 13:21:55 | pitrou | set | messages: + msg158440 |
| 2012年04月16日 13:17:42 | r.david.murray | set | nosy:
+ r.david.murray, brett.cannon, pitrou messages: + msg158439 versions: - Python 2.6, Python 3.1, Python 2.7 |
| 2012年04月16日 11:44:43 | scoder | create | |