1from .core import * 2from .codec import * 3 4def ToASCII(label): 5 return encode(label) 6 7def ToUnicode(label): 8 return decode(label) 9 10def nameprep(s): 11 raise NotImplementedError("IDNA 2008 does not utilise nameprep protocol") 12 13 14