[issue22669] Test_venv fails when _ctypes is not available.

Donald Stufft report at bugs.python.org
Sun Oct 19 08:52:21 CEST 2014


Donald Stufft added the comment:

More or less. You could argue whether it's a defect or not but it unconditionally imports ctypes and apparently that is an optional module (I had no idea it was personally, and I can't find any documentation to say that it is). colorama doesn't really *need* ctypes on Linux it only needs it on Windows so it fixes this by just conditionally importing it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22669>
_______________________________________


More information about the Python-bugs-list mailing list