summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_normalization.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-07-11 15:01:02 (GMT)
committerFred Drake <fdrake@acm.org>2003-07-11 15:01:02 (GMT)
commit1e5fc55c4dcddcd97951d54c04b321c0a284affa (patch)
tree882f4a236c453289ad9e4dbff3d32d2f0e5d07f1 /Lib/test/test_normalization.py
parenta1e93e8dfc6daf78a8a46c41aca6e85cede74c02 (diff)
downloadcpython-1e5fc55c4dcddcd97951d54c04b321c0a284affa.zip
cpython-1e5fc55c4dcddcd97951d54c04b321c0a284affa.tar.gz
cpython-1e5fc55c4dcddcd97951d54c04b321c0a284affa.tar.bz2
- fix typo
- there's a weird variable name here (zimpimport), but I'll leave that for someone that's familiar with the ZIP import support
Diffstat (limited to 'Lib/test/test_normalization.py')
0 files changed, 0 insertions, 0 deletions
char funcname[258]; flags = BIND_FIRST | BIND_DEFERRED; if (Py_VerboseFlag) { flags = DYNAMIC_PATH | BIND_FIRST | BIND_IMMEDIATE | BIND_NONFATAL | BIND_VERBOSE; printf("shl_load %s\n",pathname); } lib = shl_load(pathname, flags, 0); /* XXX Chuck Blake once wrote that 0 should be BIND_NOSTART? */ if (lib == NULL) { char buf[256]; if (Py_VerboseFlag) perror(pathname); sprintf(buf, "Failed to load %.200s", pathname); PyErr_SetString(PyExc_ImportError, buf); return NULL; } sprintf(funcname, FUNCNAME_PATTERN, shortname); if (Py_VerboseFlag) printf("shl_findsym %s\n", funcname); shl_findsym(&lib, funcname, TYPE_UNDEFINED, (void *) &p); if (p == NULL && Py_VerboseFlag) perror(funcname); return p; }