Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
It points on strcmp(lower, "us_ascii") == 0. Seems that the compiler optimizes calling strcmp() with compile-time constant "us_ascii" by reading and comparing first 8 bytes as single word. But if lower contains "latin1" it has only 7 bytes initialized, and the 8-th is not initialized. It does not affect the result, but valgrind complains. Looks like a bug in valgrind. ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42176> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com