Home | History | Annotate | Download | only in Modules

Lines Matching refs:zlib

881 /* Return the zlib.decompress function object, or NULL if zlib couldn't
883 don't import zlib again. */
888 PyObject *zlib;
892 /* Someone has a zlib.py[co] in their Zip file;
896 zlib = PyImport_ImportModuleNoBlock("zlib");
898 if (zlib != NULL) {
899 decompress = PyObject_GetAttrString(zlib,
901 Py_DECREF(zlib);
908 PySys_WriteStderr("# zipimport: zlib %s\n",
909 zlib != NULL ? "available": "UNAVAILABLE");
1002 /* Decompress with zlib */
1007 "zlib not available");