Gustavo J. A. M. Carneiro added the comment: New patch that:
1. adds assert(sizeof(uuid_t) == 16); to the extension module; 2. fixes the code path when ctypes has to be used instead of the extension module (needed a bit more refactoring, apologies if it makes the diff harder to read); 3. Adjusts the uuid module tests to account for the possibility of ctypes not being imported. ---------- Added file: http://bugs.python.org/file40874/uuid.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20519> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com