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.

Author ncoghlan
Recipients brett.cannon, eric.snow, ncoghlan, pdgoins-work
Date 2017-07-28.07:57:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1501228662.96.0.244579784334.issue31058@psf.upfronthosting.co.za>
In-reply-to
Content
This is a known limitation of the import caching mechanism, and is the key reason https://docs.python.org/3/library/importlib.html#importlib.invalidate_caches is offered as a supported public API.

Ideally, the code that is dynamically creating packages at runtime will be calling that itself, but if it isn't, then the integrating application needs to take care of calling it at appropriate points in the program execution.
History
Date User Action Args
2017-07-28 07:57:42ncoghlansetrecipients: + ncoghlan, brett.cannon, eric.snow, pdgoins-work
2017-07-28 07:57:42ncoghlansetmessageid: <1501228662.96.0.244579784334.issue31058@psf.upfronthosting.co.za>
2017-07-28 07:57:42ncoghlanlinkissue31058 messages
2017-07-28 07:57:42ncoghlancreate