Issue #18038: SyntaxError raised during compilation sources with illegal
encoding now always contains an encoding name.
Issue #15239: Make mkstringprep.py work again on Python 3.
Issue #16102: Make uuid._netbios_getnode() work again on Python 3.