summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorBarney Gale <barney.gale@gmail.com>2024-04-01 19:37:41 (GMT)
committerGitHub <noreply@github.com>2024-04-01 19:37:41 (GMT)
commitfc8007ee3635db6ab73e132ebff987c910b6d538 (patch)
treed05976e835762f6dba3c81b60cf0f5a9c445aae0 /Doc/whatsnew
parentc741ad3537193c63fe697a8f0316aecd45eeb9ba (diff)
downloadcpython-fc8007ee3635db6ab73e132ebff987c910b6d538.zip
cpython-fc8007ee3635db6ab73e132ebff987c910b6d538.tar.gz
cpython-fc8007ee3635db6ab73e132ebff987c910b6d538.tar.bz2
GH-117337: Deprecate `glob.glob0()` and `glob.glob1()`. (#117371)
These undocumented functions are no longer used by `msilib`, so there's no reason to keep them around.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.13.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index 97bee4d..7f6a86e 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -813,6 +813,11 @@ Deprecated
translation was not found.
(Contributed by Serhiy Storchaka in :gh:`88434`.)
+* :mod:`glob`: The undocumented :func:`!glob.glob0` and :func:`!glob.glob1`
+ functions are deprecated. Use :func:`glob.glob` and pass a directory to its
+ *root_dir* argument instead.
+ (Contributed by Barney Gale in :gh:`117337`.)
+
* :mod:`http.server`: :class:`http.server.CGIHTTPRequestHandler` now emits a
:exc:`DeprecationWarning` as it will be removed in 3.15. Process-based CGI
HTTP servers have been out of favor for a very long time. This code was