Author terry.reedy
Recipients pitrou, terry.reedy
Date 2014-07-24.22:11:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406239862.0.0.293742999811.issue22062@psf.upfronthosting.co.za>
In-reply-to
Content
1. The pattern argument for .(r)glob must be relative. I think the docstrings and doc should say so. /pattern/relative pattern/

For rglob: '''This is like calling glob() with “**” added in front of the given pattern:'''

2. Currently "glob()" links to the glob module, which does not recognize '**'. It should link to back up to the Pathlib.glob entry, where the effect of '**' is defined. (I don't currently know the markup for that.)

3. I interpret '''“**” added in front of the given pattern:''' to mean '**' + pattern, so that '*.py' would become '***.py'. It actually becomes the equivalent of '**/*.p'. So I think '**' should be either '**/' or 'a "**" component'.
History
Date User Action Args
2014-07-24 22:11:02terry.reedysetrecipients: + terry.reedy, pitrou
2014-07-24 22:11:01terry.reedysetmessageid: <1406239862.0.0.293742999811.issue22062@psf.upfronthosting.co.za>
2014-07-24 22:11:01terry.reedylinkissue22062 messages
2014-07-24 22:11:01terry.reedycreate