summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tempfile.py
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2008-12-30 23:06:46 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2008-12-30 23:06:46 (GMT)
commite4ea6bc9f365d402faa699680500c99b08c1e26e (patch)
tree369c2b2f5b416897d15d83bedf8215938d5d5348 /Lib/test/test_tempfile.py
parentd465640eb25c0552613b3a0cb172c9cbbb141b7f (diff)
downloadcpython-e4ea6bc9f365d402faa699680500c99b08c1e26e.zip
cpython-e4ea6bc9f365d402faa699680500c99b08c1e26e.tar.gz
cpython-e4ea6bc9f365d402faa699680500c99b08c1e26e.tar.bz2
Merged revisions 68081 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r68081 | tarek.ziade | 2008-12-31 00:03:41 +0100 (Wed, 31 Dec 2008) | 1 line Fixed #4702: Throwing DistutilsPlatformError instead of IOError under win32 if MSVC is not found ........
Diffstat (limited to 'Lib/test/test_tempfile.py')
0 files changed, 0 insertions, 0 deletions
/span> 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]; PyObject *pathname_ob = NULL; PyObject *buf_ob = NULL; PyObject *shortname_ob = NULL; if (Py_VerboseFlag) perror(pathname); PyOS_snprintf(buf, sizeof(buf), "Failed to load %.200s", pathname); buf_ob = PyUnicode_FromString(buf); shortname_ob = PyUnicode_FromString(shortname); pathname_ob = PyUnicode_FromString(pathname); PyErr_SetImportError(buf_ob, shortname_ob, pathname_ob); Py_DECREF(buf_ob); Py_DECREF(shortname_ob); Py_DECREF(pathname_ob); return NULL; } PyOS_snprintf(funcname, sizeof(funcname), FUNCNAME_PATTERN, shortname); if (Py_VerboseFlag) printf("shl_findsym %s\n", funcname); if (shl_findsym(&lib, funcname, TYPE_UNDEFINED, (void *) &p) == -1) { shl_unload(lib); p = NULL; } if (p == NULL && Py_VerboseFlag) perror(funcname); return p; }