Jeroen Demeyer <j.deme...@ugent.be> added the comment:
That's entirely my fault. I was not aware of the fact that calling memcpy() with src=NULL and length 0 was undefined behaviour. I disagree that it should be undefined, but there is not much point in arguing against the C standard. ---------- nosy: +jdemeyer _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37138> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com