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 steve.dower
Recipients Ray Donnelly, barry, brett.cannon, eryksun, lemburg, njs, paul.moore, steve.dower, tim.golden, xoviat, zach.ware
Date 2018-01-17.02:08:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516154883.86.0.467229070634.issue32516@psf.upfronthosting.co.za>
In-reply-to
Content
The import hook could theoretically modify the search path before and after loading the module, though that could make debugging a real pain.

I was also thinking of just having an explicit list of DLLs to load, rather than inspecting the binary. Per-module preloading is as fine grained as you can get though it still won't help if another import has loaded a different DLL by the same name. This is where you can't avoid recompilation or activation contexts.
History
Date User Action Args
2018-01-17 02:08:03steve.dowersetrecipients: + steve.dower, lemburg, barry, brett.cannon, paul.moore, tim.golden, njs, zach.ware, eryksun, xoviat, Ray Donnelly
2018-01-17 02:08:03steve.dowersetmessageid: <1516154883.86.0.467229070634.issue32516@psf.upfronthosting.co.za>
2018-01-17 02:08:03steve.dowerlinkissue32516 messages
2018-01-17 02:08:03steve.dowercreate