win32 platform
This commit is contained in:
commit
c1666978b2
1122 changed files with 348397 additions and 0 deletions
12
Lib/site-packages/idna/compat.py
Normal file
12
Lib/site-packages/idna/compat.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
from idna.core import *
|
||||
from idna.codec import *
|
||||
|
||||
def ToASCII(label):
|
||||
return encode(label)
|
||||
|
||||
def ToUnicode(label):
|
||||
return decode(label)
|
||||
|
||||
def nameprep(s):
|
||||
raise NotImplementedError("IDNA 2008 does not utilise nameprep protocol")
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue