Author serhiy.storchaka
Recipients serhiy.storchaka
Date 2012-12-05.17:09:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354727342.49.0.756705140261.issue16618@psf.upfronthosting.co.za>
In-reply-to
Content
glob ignores names which starts with dot if pattern is not starts with dot. But this is wrong for bytes pattern in Python 3.

>>> import glob
>>> glob.glob('*hg')
[]
>>> glob.glob(b'*hg')
[b'.hg']

The proposed patch fixes this inconsistency. Also it contains new tests for this and some other possible cases.
History
Date User Action Args
2012-12-05 17:09:02serhiy.storchakasetrecipients: + serhiy.storchaka
2012-12-05 17:09:02serhiy.storchakasetmessageid: <1354727342.49.0.756705140261.issue16618@psf.upfronthosting.co.za>
2012-12-05 17:09:02serhiy.storchakalinkissue16618 messages
2012-12-05 17:09:02serhiy.storchakacreate