Jack Diederich <jackd...@gmail.com> added the comment: +1
Patch and tests work for me. Uploaded a patch that is identical except the file paths are fixed. Was the old behavior stable across compilers anyway? It memcmpared two different structs and IIRC only the first item of each struct is guaranteed to be at the start of the memory location. No? With this patch only same-struct objects are memcmpared. ---------- nosy: +jackdied Added file: http://bugs.python.org/file13419/issue5516_trunk.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5516> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com