<p>That library, pyfilesystem has some serious firepower.</p>
<p>On Sep 14, 2011 1:33 AM, "David Townshend" <<a href="mailto:aquavitae69@gmail.com">aquavitae69@gmail.com</a>> wrote:<br>
><br>
> 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.<br>

><br>
>> Having an object-oriented / polymorphic file API means that one can<br>
>> provide file objects that aren't backed by the filesystem, but look<br>
>> the same. This is cool in that you can do things like treat zip files<br>
>> as directory, or mock out the filesystem for a unit test, without<br>
>> worrying about monkeypatching builtins or using a nonstandard wrapper<br>
>> API etc.<br>
><br>
><br>
> Great use case!  And using factories to create create the objects would make this especially powerful.<br>
><br>
> _______________________________________________<br>
> Python-ideas mailing list<br>
> <a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
> <a href="http://mail.python.org/mailman/listinfo/python-ideas">http://mail.python.org/mailman/listinfo/python-ideas</a><br>
><br>
</p>