From: Serhiy Storchaka Date: Mon, 9 Nov 2015 21:18:19 +0000 (+0200) Subject: Issue #25584: Added "escape" to the __all__ list in the glob module. X-Git-Tag: v3.5.1rc1~73 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=04b5700b3643d0f04219481a9b5b94586109430d;p=thirdparty%2FPython%2Fcpython.git Issue #25584: Added "escape" to the __all__ list in the glob module. From patch by Xavier de Gaye. --- diff --git a/Lib/glob.py b/Lib/glob.py index d6742893187b..16330d816a4e 100644 --- a/Lib/glob.py +++ b/Lib/glob.py @@ -4,7 +4,7 @@ import os import re import fnmatch -__all__ = ["glob", "iglob"] +__all__ = ["glob", "iglob", "escape"] def glob(pathname, *, recursive=False): """Return a list of paths matching a pathname pattern. diff --git a/Misc/NEWS b/Misc/NEWS index 00b952f656f6..7df90e04b08a 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -61,6 +61,8 @@ Core and Builtins Library ------- +- Issue #25584: Added "escape" to the __all__ list in the glob module. + - Issue #25584: Fixed recursive glob() with patterns starting with '\*\*'. - Issue #25446: Fix regression in smtplib's AUTH LOGIN support.