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 Al.Sweigart
Recipients Al.Sweigart, terry.reedy
Date 2015-01-11.04:31:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420950670.11.0.867285912786.issue23205@psf.upfronthosting.co.za>
In-reply-to
Content
I checked with a couple grep programs and they use depth first. Which makes sense, since you'd want the return order to be something like:

/a/spam.txt
/a/aa/spam.txt
/a/bb/spam.txt
/x/spam.txt
/y/spam.txt
/z/spam.txt

...instead of the bread-first:

/a/spam.txt
/x/spam.txt
/y/spam.txt
/z/spam.txt
/a/aa/spam.txt
/a/bb/spam.txt

However, it turns out this is moot since the first thing GrepDialog.py does with the returned results is sort them.
History
Date User Action Args
2015-01-11 04:31:10Al.Sweigartsetrecipients: + Al.Sweigart, terry.reedy
2015-01-11 04:31:10Al.Sweigartsetmessageid: <1420950670.11.0.867285912786.issue23205@psf.upfronthosting.co.za>
2015-01-11 04:31:10Al.Sweigartlinkissue23205 messages
2015-01-11 04:31:09Al.Sweigartcreate