commit | bde9d6bbb46ca59bcee5d5060adaa33c3ffee3a6 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Wed Nov 28 10:26:20 2018 +0100 |
committer | GitHub <noreply@github.com> | Wed Nov 28 10:26:20 2018 +0100 |
tree | ef525570f785225ab3da54b867b2ea4cb137fb40 | |
parent | a22df4896f6b83c8741203118790ae281716bca5 [diff] |
bpo-34523, bpo-35322: Fix unicode_encode_locale() (GH-10759) Fix memory leak in PyUnicode_EncodeLocale() and PyUnicode_EncodeFSDefault() on error handling. Changes: * Fix unicode_encode_locale() error handling * Fix test_codecs.LocaleCodecTest