관리-도구
편집 파일: _inputstream.cpython-38.pyc
U ��.e( � ! @ s d dl mZmZmZ d dlmZmZ d dlmZm Z d dl Z d dlZd dlm Z ddlmZmZmZmZ ddlmZ dd lmZ d d lmZ zd dlmZ W n ek r� eZY nX edd � eD ��Zedd � eD ��Zedd � eD ��Zeeddg�B ZdZej �rJed dk�r&e�!d�dk�s*t"�e�#edd� e$d� d �Z%n e�#e�Z%e&ddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5g �Z'e�#d6�Z(i Z)G d7d8� d8e*�Z+d9d:� Z,G d;d<� d<e*�Z-G d=d>� d>e-�Z.G d?d@� d@e/�Z0G dAdB� dBe*�Z1G dCdD� dDe*�Z2dEdF� Z3dS )G� )�absolute_import�division�unicode_literals)� text_type�binary_type)�http_client�urllibN)�webencodings� )�EOF�spaceCharacters�asciiLetters�asciiUppercase)�_ReparseException)�_utils)�StringIO)�BytesIOc C s g | ]}|� d ��qS ��ascii��encode��.0�item� r �E/usr/lib/python3.8/site-packages/pip/_vendor/html5lib/_inputstream.py� <listcomp> s r c C s g | ]}|� d ��qS r r r r r r r s c C s g | ]}|� d ��qS r r r r r r r s � >� <u� [----]����]z"\uD800-\uDFFF"i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� i�� z[ - -/:-@\[-`{-~]c @ sH e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� Zdd � Z dd� Z dS )�BufferedStreamz�Buffering for streams that do not have buffering of their own The buffer is implemented as a list of chunks on the assumption that joining many strings will be slow since it is O(n**2) c C s || _ g | _ddg| _d S )Nr r )�stream�buffer�position)�selfr"