[issue24634] Importing uuid should not try to load libc on Windows
eryksun
report at bugs.python.org
Wed Jul 15 05:17:34 CEST 2015
eryksun added the comment:
> That would break anyone else who's manually managing their own
> activation context around ctypes.
Since this can't be made to work automatically, I prefer your suggestion to continue checking for uuid.dll. You could just do something like the following:
libnames = ['uuid']
if sys.platform != 'win32':
libnames.append('c')
for libname in libnames:
...
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24634>
_______________________________________
More information about the Python-bugs-list
mailing list