This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients bstaletic, serhiy.storchaka
Date 2020-10-28.22:10:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603923049.75.0.313170841264.issue42176@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-10-28 22:10:49serhiy.storchakasetrecipients: + serhiy.storchaka, bstaletic
2020-10-28 22:10:49serhiy.storchakasetmessageid: <1603923049.75.0.313170841264.issue42176@roundup.psfhosted.org>
2020-10-28 22:10:49serhiy.storchakalinkissue42176 messages
2020-10-28 22:10:49serhiy.storchakacreate