From: Gregory P. Smith Date: Tue, 28 Jan 2014 06:43:25 +0000 (-0800) Subject: Remove inaccurate comment and a the related recently added X-Git-Tag: v2.7.8~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aaef0e7821e10c851277efa44022d1b27ec6453f;p=python Remove inaccurate comment and a the related recently added Py_VerboseFlag print that can never be triggered. prefix[0] is always equal to 0 at this point in the code. --- diff --git a/Modules/zipimport.c b/Modules/zipimport.c index 180b56f8bc..71e0d18611 100644 --- a/Modules/zipimport.c +++ b/Modules/zipimport.c @@ -134,13 +134,6 @@ zipimporter_init(ZipImporter *self, PyObject *args, PyObject *kwds) } if (path != NULL) { PyObject *files; - if (Py_VerboseFlag && prefix && prefix[0] != '\0') - PySys_WriteStderr("# zipimport: prefix=%s constructing a " - "zipimporter for %s\n", prefix, path); - /* NOTE(gps): test_zipimport.py never exercises a case where - * prefix is non-empty. When would that ever be possible? - * Are we missing coverage or is prefix simply never needed? - */ files = PyDict_GetItemString(zip_directory_cache, path); if (files == NULL) { PyObject *zip_stat = NULL;