On Sun, Apr 15, 2012 at 12:59 PM, Guido van Rossum <gu...@python.org> wrote: > Hm... Can you give an example of a library that needs a real file? > That sounds like a poorly designed API.
If you're invoking a separate utility (e.g. via it's command line interface), you may need a real filesystem path that you can pass along. >> The get_file() feature has a neat benefit. Since it transparently >> extracts files from the loader, users can ship binary extensions and >> shared libraries (dlls) in a ZIP file and use them without too much hassle. > > Yeah, DLLs are about the only example I can think of where even a > virtual filesystem doesn't help... An important example, though. However, I still don't believe it is something we should necessarily be rushing into implementing in the standard library in the *same* release that finally completes the conversion started so long ago with PEP 302. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com