| Server IP : 43.141.49.92 / Your IP : 113.219.202.173 Web Server : Apache System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64 User : www ( 1000) PHP Version : 8.1.27 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib64/python3.11/email/__pycache__/ |
Upload File : |
�
��e�: � �� � d Z ddlZddlmZ ddlmZ ddlmZ g d�Z G d� d� � Z d � Z
d
� Z G d� de ej �
� � Z
e G d� de
� � � � Z e� � ZdS )zwPolicy framework for the email package.
Allows fine grained feature control of how the package parses and emits data.
� N)�header)�charset)�_has_surrogates)�Policy�Compat32�compat32c �: � � e Zd ZdZ� fd�Zd� Zd� Zd� Zd� Z� xZ S )�_PolicyBasea� Policy Object basic framework.
This class is useless unless subclassed. A subclass should define
class attributes with defaults for any values that are to be
managed by the Policy object. The constructor will then allow
non-default values to be set for these attributes at instance
creation time. The instance will be callable, taking these same
attributes keyword arguments, and returning a new instance
identical to the called instance except for those values changed
by the keyword arguments. Instances may be added, yielding new
instances with any non-default values from the right hand
operand overriding those in the left hand operand. That is,
A + B == A(<non-default values of B>)
The repr of an instance can be used to reconstruct the object
if and only if the repr of the values can be used to reconstruct
those values.
c � �� |� � � D ]k\ }}t | |� � r*t t | � � � ||� � �?t d� || j j � � � � �dS )z�Create new Policy, possibly overriding some defaults.
See class docstring for a list of overridable attributes.
�*{!r} is an invalid keyword argument for {}N) �items�hasattr�superr
�__setattr__� TypeError�format� __class__�__name__)�self�kw�name�valuer s ��*/usr/lib64/python3.11/email/_policybase.py�__init__z_PolicyBase.__init__) s� �� � �8�8�:�:� 8� 8�K�D�%��t�T�"�"�
8��k�$�'�'�3�3�D�%�@�@�@�@��@�G�G��d�n�5�7� 7�8� 8� 8� 8� 8� c � � d� | j � � � D � � }d� | j j d� |� � � � S )Nc �@ � g | ]\ }}d � ||� � ��S )z{}={!r})r )�.0r r s r �
<listcomp>z(_PolicyBase.__repr__.<locals>.<listcomp>8 s<