Server : Apache System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64 User : nobody ( 99) PHP Version : 8.1.23 Disable Function : NONE Directory : /opt/alt/python311/lib64/python3.11/email/__pycache__/ |
� �,d�( � �~ � d dl Z d dlZd dlmZmZmZmZ d dlmZ d dl m Z d dlmZ d dl mZ g d�Z e j d� � Ze G d � d e� � � � Z e� � Ze`e� d�� � Ze� d �� � Ze� d d�� � Ze� d�� � ZdS )� N)�Policy�Compat32�compat32�_extend_docstrings)�_has_surrogates)�HeaderRegistry)�raw_data_manager)�EmailMessage)r r r �EmailPolicy�default�strict�SMTP�HTTPz\n|\rc �p � � e Zd Z eZdZdZ e� � Ze Z � fd�Zd� Zd� Z d� Zd� Zd� Zd � Zdd �Z� xZS )r F�longc � �� d|vr(t � | dt � � � � t � � j di |�� d S )N�header_factory� )�object�__setattr__r �super�__init__)�self�kw� __class__s ��3/opt/alt/python311/lib64/python3.11/email/policy.pyr zEmailPolicy.__init__] sR �� � �2�%�%����t�%5�~�7G�7G�H�H�H��������2������ c �( � | j | j S �N)r � max_count)r �names r �header_max_countzEmailPolicy.header_max_countd s � � � �"�4�(�2�2r c �� � |d � dd� � \ }}|� d� � d� |dd � � � z }||� d� � fS )Nr �:� z � � )�split�lstrip�join�rstrip)r �sourcelinesr! �values r �header_source_parsezEmailPolicy.header_source_parsev sg � � � "�!�n�*�*�3��2�2���e����U�#�#�b�g�g�k�!�"�"�o�&>�&>�>���e�l�l�6�*�*�+�+r c �L � t |d� � r3|j � � � |� � � k r||fS t |t � � r4t |� � � � � dk rt d� � �|| � ||� � fS )Nr! r% zDHeader values may not contain linefeed or carriage return characters) �hasattrr! �lower� isinstance�str�len� splitlines� ValueErrorr �r r! r- s r �header_store_parsezEmailPolicy.header_store_parse� s� � � � �5�&�!�!� !�e�j�&6�&6�&8�&8�D�J�J�L�L�&H�&H��%�=� ��e�S�!�!� >�c�%�*:�*:�*<�*<�&=�&=�a�&?�&?� � =� >� >� >��d�)�)�$��6�6�7�7r c � � t |d� � r|S d� t � |� � � � }| � ||� � S )Nr! r&