This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients ncoghlan
Date 2013-01-28.11:30:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1359372601.0.0.540434667301.issue17062@psf.upfronthosting.co.za>
In-reply-to
Content
Oops, forgot the proposed call signature:

    def walk_path(path=None, *, pkg=None):
        """Walk a package hierarchy, starting with the given path

        Iterator producing (package, subpackages, submodules) triples.
        The first entry is the package currently being walked, or None
        for the top level path. The subpackages and submodules entries
        are dictionaries mapping from fully qualified module names to
        the appropriate module loaders.

        Entries may be removed from the subpackages dictionary to avoid
        loading those packages and recursing into them.
        
        If both pkg and path are None, walks sys.path

        If path is not None, walks the specified path.

        If pkg is not None, walks pkg.__path__

        Providing both path and pkg results in ValueError
        """
History
Date User Action Args
2013-01-28 11:30:01ncoghlansetrecipients: + ncoghlan
2013-01-28 11:30:00ncoghlansetmessageid: <1359372601.0.0.540434667301.issue17062@psf.upfronthosting.co.za>
2013-01-28 11:30:00ncoghlanlinkissue17062 messages
2013-01-28 11:30:00ncoghlancreate