Message172653
While I understand that this behavior went unnoticed for ages and can be seen therefore as unimportant, designating this as documentation bug is quite absurd; perhaps the following wording would be appropriate:
.. note::
If this function is called multiple times on the same file (in terms of inode; symlink pointing to same file is fine), it will return the module which was first imported via `load_dynamic` instead of the requested module, without reporting any error. The previous call to `load_dynamic` may not be in the same part of the code, but it must happen within the same interpreter instance. |
|
| Date |
User |
Action |
Args |
| 2012-10-11 15:32:19 | eudoxos | set | recipients:
+ eudoxos, brett.cannon, ncoghlan, r.david.murray, docs@python |
| 2012-10-11 15:32:19 | eudoxos | set | messageid: <1349969539.86.0.83060749889.issue16194@psf.upfronthosting.co.za> |
| 2012-10-11 15:32:19 | eudoxos | link | issue16194 messages |
| 2012-10-11 15:32:19 | eudoxos | create | |
|