Message176991
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. |
|
| Date |
User |
Action |
Args |
| 2012-12-05 17:09:02 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
| 2012-12-05 17:09:02 | serhiy.storchaka | set | messageid: <1354727342.49.0.756705140261.issue16618@psf.upfronthosting.co.za> |
| 2012-12-05 17:09:02 | serhiy.storchaka | link | issue16618 messages |
| 2012-12-05 17:09:02 | serhiy.storchaka | create | |
|