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 <rep...@bugs.python.org> <http://bugs.python.org/issue22669> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com