1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-08 16:53:23 +00:00

Drop python 3.8 support

This commit is contained in:
Jair Henrique
2023-07-07 10:32:05 -03:00
parent c6a7f4ae15
commit ab8944d3ca
6 changed files with 8 additions and 14 deletions

View File

@@ -3,11 +3,10 @@ import logging
import urllib
import xmlrpc.client
from string import hexdigits
from typing import List, Set
from .util import read_body
_HEXDIG_CODE_POINTS: Set[int] = {ord(s.encode("ascii")) for s in hexdigits}
_HEXDIG_CODE_POINTS: set[int] = {ord(s.encode("ascii")) for s in hexdigits}
log = logging.getLogger(__name__)
@@ -109,7 +108,7 @@ def _dechunk(body):
CHUNK_GAP = b"\r\n"
BODY_LEN: int = len(body)
chunks: List[bytes] = []
chunks: list[bytes] = []
pos: int = 0
while True: