Antoine Pitrou added the comment:

Here is a patch with the proposed API. The API for convenience:

    def files(self, include_symlinks=True):
        """Iterate over the regular files in this directory.
        """

    def subdirs(self, include_symlinks=True):
        """Iterate over the subdirectories in this directory.
        """

----------
Added file: http://bugs.python.org/file35210/path_subdirs_files.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19767>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to