[issue1116520] Prefix search is filesystem-centric

2019-12-18 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1116520] Prefix search is filesystem-centric

2016-12-25 Thread Nick Coghlan
Nick Coghlan added the comment: Note that Steve Dower made some significant changes to sys.path initialisation on Windows in Python 3.6 that could potentially be generalised to other platforms: https://docs.python.org/3/using/windows.html#finding-modules (There's nothing inherently Windows

[issue1116520] Prefix search is filesystem-centric

2016-12-25 Thread Steve Holden
Steve Holden added the comment: Don't forget that the built-in modules may need to be available before the zipimporter is. A long time ago (when sys.metapath was introduced) I experimented with imports from non-filesystem sources and that hit me until I realised what was going on. S Steve

[issue1116520] Prefix search is filesystem-centric

2016-12-25 Thread Patrik Iselind
Patrik Iselind added the comment: Is it enough to include everything in the Lib folder, excluding __pycache__, site-packages and the test folder in Lib? Would that be representative enough? Patrik Iselind Den 2016-12-25 kl. 17:31, skrev Brett Cannon: > Brett Cannon added the comment: > >

[issue1116520] Prefix search is filesystem-centric

2016-12-25 Thread Brett Cannon
Brett Cannon added the comment: Originally zip file importing was faster than standard importing from disk because of the fewer stat calls, but importlib caches such things so I don't know if it's still beneficial. As for space savings, I have no idea; you can try zipping the files yourself

[issue1116520] Prefix search is filesystem-centric

2016-12-24 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue1116520] Prefix search is filesystem-centric

2016-12-24 Thread Patrik Iselind
Patrik Iselind added the comment: What about the performance penalty for zipping stdlib? is it significant? When would you like to zip stdlib? For embedded systems with limited disk space? Patrik Iselind On Sat, Dec 24, 2016 at 6:34 PM, Patrik Iselind wrote: > >

[issue1116520] Prefix search is filesystem-centric

2016-12-24 Thread Patrik Iselind
Patrik Iselind added the comment: How much smaller would the stdlib for 3.5 become if you compress it with zip? -- nosy: +patriki ___ Python tracker

[issue1116520] Prefix search is filesystem-centric

2015-08-05 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +gregory.p.smith, superluser versions: +Python 3.6 -Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1116520 ___

[issue1116520] Prefix search is filesystem-centric

2014-07-09 Thread Mark Lawrence
Mark Lawrence added the comment: Is this something that we could get into 3.5? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1116520

[issue1116520] Prefix search is filesystem-centric

2012-02-27 Thread Eric Snow
Changes by Eric Snow ericsnowcurren...@gmail.com: -- nosy: +eric.snow ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1116520 ___ ___

[issue1116520] Prefix search is filesystem-centric

2012-02-26 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Yeah, I'm pretty sure the bootstrap mechanism needs to be able to get hold of os.py directly so it can be injected into the importlib._bootstrap namespace. However, it may be worth figuring out and documenting the bare minimum that has to

[issue1116520] Prefix search is filesystem-centric

2012-02-26 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Importlib actually requires no files from disk; everything that is required for importlib are built-in modules or are constants in importlib itself (e.g. os.sep). So technically this should be doable since my bootstrap work freezes importlib

[issue1116520] Prefix search is filesystem-centric

2012-02-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1116520 ___ ___

[issue1116520] Prefix search is filesystem-centric

2012-02-24 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +carljm, eric.araujo versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1116520 ___

[issue1116520] Prefix search is filesystem-centric

2010-08-09 Thread Steve Holden
Steve Holden st...@holdenweb.com added the comment: Personally I think it's just as relevant as it always was, particularly with the introduction of importlib, but Brett will have a more informed opinion. I won't be surprised if this issue is closed as wontfix. --

[issue1116520] Prefix search is filesystem-centric

2010-08-08 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Is this request still relevant for 3.2? -- nosy: +terry.reedy versions: +Python 3.2 -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1116520

[issue1116520] Prefix search is filesystem-centric

2009-02-15 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- nosy: +brett.cannon stage: - test needed type: - feature request versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1116520