STINNER Victor added the comment: Hum, the patch is really too hard to review. So I extract to the "key_size" part: hashtable_key_size.patch.
I added new macros to get the key, wrapper to memcpy() with an assert to check the key size in debug mode. ---------- Added file: http://bugs.python.org/file42237/hashtable_key_size.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26588> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com