[Python-checkins] cpython (merge 3.5 -> default): Issue #25584: Added "escape" to the __all__ list in the glob module.
serhiy.storchaka
python-checkins at python.org
Mon Nov 9 16:19:27 EST 2015
https://hg.python.org/cpython/rev/128e61cb3de2
changeset: 99028:128e61cb3de2
parent: 99026:175cd763de57
parent: 99027:fefc10de2775
user: Serhiy Storchaka <storchaka at gmail.com>
date: Mon Nov 09 23:18:32 2015 +0200
summary:
Issue #25584: Added "escape" to the __all__ list in the glob module.
From patch by Xavier de Gaye.
files:
Lib/glob.py | 2 +-
Misc/NEWS | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Lib/glob.py b/Lib/glob.py
--- a/Lib/glob.py
+++ b/Lib/glob.py
@@ -4,7 +4,7 @@
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
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -79,6 +79,8 @@
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.
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list