Message304484
| Author |
barry |
| Recipients |
barry, brett.cannon, byrnes, diana, eric.snow, gregory.p.smith, jarondl, serhiy.storchaka, superluser, twouters, vstinner |
| Date |
2017年10月16日.21:42:31 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1508190151.57.0.213398074469.issue25711@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I've landed here after chatting with @brett.cannon. I have a use case for this (making pex startup faster by bypassing pkg_resources) but I need to hack around the limitation of dlopen'ing .so's from zips. Our idea was to have a zipimport subclass which doesn't return None from `importlib.util.find_spec()` when it finds a .so, but instead dumps that into some safe directory, and then arranges for a loader that knows how to load that. It sure would be handy for this to be a zipimporter subclass. :)
I think Serhiy's patch predates the move to GitHub, so it's not a branch/PR. I guess the next step would be to branchify the patch and then continue discussion over there. Depending on my availability, I might do that. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2017年10月16日 21:42:31 | barry | set | recipients:
+ barry, twouters, brett.cannon, gregory.p.smith, vstinner, eric.snow, serhiy.storchaka, diana, superluser, byrnes, jarondl |
| 2017年10月16日 21:42:31 | barry | set | messageid: <1508190151.57.0.213398074469.issue25711@psf.upfronthosting.co.za> |
| 2017年10月16日 21:42:31 | barry | link | issue25711 messages |
| 2017年10月16日 21:42:31 | barry | create |
|