[Python-checkins] cpython (3.5): 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/fefc10de2775
changeset: 99027:fefc10de2775
branch: 3.5
parent: 99025:4532c4f37429
user: Serhiy Storchaka <storchaka at gmail.com>
date: Mon Nov 09 23:18:19 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
@@ -61,6 +61,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