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:19 +02:00
parent 735b790fed
commit 04b5700b36
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

@ -61,6 +61,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.