[Python-ideas] Object interface to path names

Matt Joiner anacrolix at gmail.com
Wed Sep 14 01:22:11 CEST 2011


That library, pyfilesystem has some serious firepower.

On Sep 14, 2011 1:33 AM, "David Townshend" <aquavitae69 at gmail.com> wrote:
>
> But none of these seem to allow asynchronous calls, which make a huge
difference when dealing with a large structure. Nothing I've found really
does what I need and I'm trying to keep my dependency list short so I'll end
up writing something myself anyway, but my real question was whether this is
something that could usefully be included in the stdlib.
>
>> Having an object-oriented / polymorphic file API means that one can
>> provide file objects that aren't backed by the filesystem, but look
>> the same. This is cool in that you can do things like treat zip files
>> as directory, or mock out the filesystem for a unit test, without
>> worrying about monkeypatching builtins or using a nonstandard wrapper
>> API etc.
>
>
> Great use case!  And using factories to create create the objects would
make this especially powerful.
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20110914/cc0b7705/attachment.html>


More information about the Python-ideas mailing list