Fedora self-contained change: https://fedoraproject.org/wiki/Changes/python3_c.utf-8_locale
Since the backport is based on some changes done for the bpo-24932, these changes were backported as well
with the 261 patch, which will be removed when python3 is rebased to 3.6.1