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 xdegaye
Recipients pitrou, r.david.murray, serhiy.storchaka, xdegaye
Date 2015-11-09.18:02:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447092143.63.0.810696806037.issue25584@psf.upfronthosting.co.za>
In-reply-to
Content
glob('invalid_dir/**', recursive=True) triggers the assert that was added by my patch in _rlistdir().

This new patch fixes this: when there is no magic character in the dirname part of a split(), and dirname is not an existing directory, then there is nothing to yield and the processing of pathname must stop (and thus in this case, no call is made to glob2() when basename is '**').
History
Date User Action Args
2015-11-09 18:02:23xdegayesetrecipients: + xdegaye, pitrou, r.david.murray, serhiy.storchaka
2015-11-09 18:02:23xdegayesetmessageid: <1447092143.63.0.810696806037.issue25584@psf.upfronthosting.co.za>
2015-11-09 18:02:23xdegayelinkissue25584 messages
2015-11-09 18:02:23xdegayecreate