%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/idna/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/idna/__pycache__/core.cpython-312.pyc |
� ��=f�1 � �r � d dl mZ ddlZddlZddlZddlmZmZ d dlm Z dZ dZ ej d� Z G d � d e� Z G d� de� Z G d � de� Z G d� de� Zdedefd�Zdededefd�Zdedefd�Zdedefd�Zdeeef defd�Zdeeef dedefd�Zd1dededefd�Zdedefd�Zdedefd �Zdeddfd!�Z ded"edefd#�Z!d1ded"ed$edefd%�Z"deeee#f ddfd&�Z$dedefd'�Z%deeee#f defd(�Z&d2d)ed*ed+edefd,�Z'd3deeee#f d-ed.ed*ed+edefd/�Z(d4deeee#f d-ed.ed*edef d0�Z)y)5� )�idnadata� N)�Union�Optional)�intranges_contain� s xn--u [.。.。]c � � e Zd ZdZy)� IDNAErrorz7 Base exception for all IDNA-encoding related problems N��__name__� __module__�__qualname__�__doc__� � �+/usr/lib/python3/dist-packages/idna/core.pyr r s � �A�r r c � � e Zd ZdZy)� IDNABidiErrorz= Exception when bidirectional requirements are not satisfied Nr r r r r r s � �G�r r c � � e Zd ZdZy)�InvalidCodepointz> Exception when a disallowed or unallocated codepoint is used Nr r r r r r s � �H�r r c � � e Zd ZdZy)�InvalidCodepointContextzE Exception when the codepoint is not valid in the context it is used Nr r r r r r s � �O�r r �cp�returnc � � t j t | � � }|dk( r)t j t | � � st d� �|S )Nr z Unknown character in unicodedata)�unicodedata� combining�chr�name� ValueError)r �vs r �_combining_classr"