Fix cursor closed error, improve feed parsing, and update worker counts
This commit is contained in:
parent
ce19d301e6
commit
824ff0539d
523 changed files with 190411 additions and 355 deletions
13
lib/python3.12/site-packages/pip/_vendor/idna/compat.py
Normal file
13
lib/python3.12/site-packages/pip/_vendor/idna/compat.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
from .core import *
|
||||
from .codec import *
|
||||
from typing import Any, Union
|
||||
|
||||
def ToASCII(label: str) -> bytes:
|
||||
return encode(label)
|
||||
|
||||
def ToUnicode(label: Union[bytes, bytearray]) -> str:
|
||||
return decode(label)
|
||||
|
||||
def nameprep(s: Any) -> None:
|
||||
raise NotImplementedError('IDNA 2008 does not utilise nameprep protocol')
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue