Issue #25584: Added "escape" to the __all__ list in the glob module.

From patch by Xavier de Gaye.
This commit is contained in:
Serhiy Storchaka 2015-11-09 23:18:32 +02:00
commit cc10c33765
2 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import os
import re import re
import fnmatch import fnmatch
__all__ = ["glob", "iglob"] __all__ = ["glob", "iglob", "escape"]
def glob(pathname, *, recursive=False): def glob(pathname, *, recursive=False):
"""Return a list of paths matching a pathname pattern. """Return a list of paths matching a pathname pattern.

View File

@ -79,6 +79,8 @@ Core and Builtins
Library Library
------- -------
- Issue #25584: Added "escape" to the __all__ list in the glob module.
- Issue #25584: Fixed recursive glob() with patterns starting with '\*\*'. - Issue #25584: Fixed recursive glob() with patterns starting with '\*\*'.
- Issue #25446: Fix regression in smtplib's AUTH LOGIN support. - Issue #25446: Fix regression in smtplib's AUTH LOGIN support.