Message325729
zipimport has been rewritten in pure Python (issue25711). Now it is easier to add support of other compression methods. Although I don't think that reducing the size by 3-8% is worth complicating the code.
If you still need this, I think that the simplest way is importing the zipfile module and monkey patching the simple ZIP file implementation in the zipimport module with zipfile-based implementation. This can be made only after importing zipfile itself, i.e. in case of zipping the stdlib, the zipfile module and its dependencies should be stored uncompressed or with the deflate compression. |
|
Date |
User |
Action |
Args |
2018-09-19 07:53:50 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, rhettinger, gregory.p.smith, pitrou, nadeem.vawda, brian.curtin, eric.snow, superluser, yan12125 |
2018-09-19 07:53:50 | serhiy.storchaka | set | messageid: <1537343630.48.0.956365154283.issue17004@psf.upfronthosting.co.za> |
2018-09-19 07:53:50 | serhiy.storchaka | link | issue17004 messages |
2018-09-19 07:53:50 | serhiy.storchaka | create | |
|