Current Path: > > opt > alt > python36 > lib64 > python3.6 > email > __pycache__
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__init__.cpython-36.opt-1.pyc | File | 1684 bytes | April 17 2024 17:19:40. | |
__init__.cpython-36.opt-2.pyc | File | 1069 bytes | April 17 2024 17:19:26. | |
__init__.cpython-36.pyc | File | 1684 bytes | April 17 2024 17:19:44. | |
_encoded_words.cpython-36.opt-1.pyc | File | 5599 bytes | April 17 2024 17:19:40. | |
_encoded_words.cpython-36.opt-2.pyc | File | 3707 bytes | April 17 2024 17:19:26. | |
_encoded_words.cpython-36.pyc | File | 5599 bytes | April 17 2024 17:19:44. | |
_header_value_parser.cpython-36.opt-1.pyc | File | 76212 bytes | April 17 2024 17:19:40. | |
_header_value_parser.cpython-36.opt-2.pyc | File | 59715 bytes | April 17 2024 17:19:26. | |
_header_value_parser.cpython-36.pyc | File | 76264 bytes | April 17 2024 17:19:44. | |
_parseaddr.cpython-36.opt-1.pyc | File | 12526 bytes | April 17 2024 17:19:40. | |
_parseaddr.cpython-36.opt-2.pyc | File | 9560 bytes | April 17 2024 17:19:26. | |
_parseaddr.cpython-36.pyc | File | 12526 bytes | April 17 2024 17:19:44. | |
_policybase.cpython-36.opt-1.pyc | File | 14843 bytes | April 17 2024 17:19:40. | |
_policybase.cpython-36.opt-2.pyc | File | 5990 bytes | April 17 2024 17:19:26. | |
_policybase.cpython-36.pyc | File | 14843 bytes | April 17 2024 17:19:44. | |
base64mime.cpython-36.opt-1.pyc | File | 3233 bytes | April 17 2024 17:19:40. | |
base64mime.cpython-36.opt-2.pyc | File | 1450 bytes | April 17 2024 17:19:26. | |
base64mime.cpython-36.pyc | File | 3233 bytes | April 17 2024 17:19:44. | |
charset.cpython-36.opt-1.pyc | File | 11489 bytes | April 17 2024 17:19:40. | |
charset.cpython-36.opt-2.pyc | File | 5148 bytes | April 17 2024 17:19:26. | |
charset.cpython-36.pyc | File | 11526 bytes | April 17 2024 17:19:44. | |
contentmanager.cpython-36.opt-1.pyc | File | 7303 bytes | April 17 2024 17:19:40. | |
contentmanager.cpython-36.opt-2.pyc | File | 7297 bytes | April 17 2024 17:19:26. | |
contentmanager.cpython-36.pyc | File | 7303 bytes | April 17 2024 17:19:44. | |
encoders.cpython-36.opt-1.pyc | File | 1655 bytes | April 17 2024 17:19:40. | |
encoders.cpython-36.opt-2.pyc | File | 1298 bytes | April 17 2024 17:19:26. | |
encoders.cpython-36.pyc | File | 1655 bytes | April 17 2024 17:19:44. | |
errors.cpython-36.opt-1.pyc | File | 6184 bytes | April 17 2024 17:19:40. | |
errors.cpython-36.opt-2.pyc | File | 4636 bytes | April 17 2024 17:19:26. | |
errors.cpython-36.pyc | File | 6184 bytes | April 17 2024 17:19:44. | |
feedparser.cpython-36.opt-1.pyc | File | 10505 bytes | April 17 2024 17:19:40. | |
feedparser.cpython-36.opt-2.pyc | File | 8834 bytes | April 17 2024 17:19:26. | |
feedparser.cpython-36.pyc | File | 10659 bytes | April 17 2024 17:19:44. | |
generator.cpython-36.opt-1.pyc | File | 12528 bytes | April 17 2024 17:19:40. | |
generator.cpython-36.opt-2.pyc | File | 8826 bytes | April 17 2024 17:19:26. | |
generator.cpython-36.pyc | File | 12528 bytes | April 17 2024 17:19:44. | |
header.cpython-36.opt-1.pyc | File | 16495 bytes | April 17 2024 17:19:40. | |
header.cpython-36.opt-2.pyc | File | 10865 bytes | April 17 2024 17:19:26. | |
header.cpython-36.pyc | File | 16495 bytes | April 17 2024 17:19:44. | |
headerregistry.cpython-36.opt-1.pyc | File | 21381 bytes | April 17 2024 17:19:40. | |
headerregistry.cpython-36.opt-2.pyc | File | 15604 bytes | April 17 2024 17:19:26. | |
headerregistry.cpython-36.pyc | File | 21437 bytes | April 17 2024 17:19:44. | |
iterators.cpython-36.opt-1.pyc | File | 1925 bytes | April 17 2024 17:19:40. | |
iterators.cpython-36.opt-2.pyc | File | 1297 bytes | April 17 2024 17:19:26. | |
iterators.cpython-36.pyc | File | 1925 bytes | April 17 2024 17:19:44. | |
message.cpython-36.opt-1.pyc | File | 38007 bytes | April 17 2024 17:19:40. | |
message.cpython-36.opt-2.pyc | File | 21409 bytes | April 17 2024 17:19:26. | |
message.cpython-36.pyc | File | 38007 bytes | April 17 2024 17:19:44. | |
parser.cpython-36.opt-1.pyc | File | 5740 bytes | April 17 2024 17:19:40. | |
parser.cpython-36.opt-2.pyc | File | 2714 bytes | April 17 2024 17:19:26. | |
parser.cpython-36.pyc | File | 5740 bytes | April 17 2024 17:19:44. | |
policy.cpython-36.opt-1.pyc | File | 9633 bytes | April 17 2024 17:19:40. | |
policy.cpython-36.opt-2.pyc | File | 3410 bytes | April 17 2024 17:19:26. | |
policy.cpython-36.pyc | File | 9633 bytes | April 17 2024 17:19:44. | |
quoprimime.cpython-36.opt-1.pyc | File | 7695 bytes | April 17 2024 17:19:40. | |
quoprimime.cpython-36.opt-2.pyc | File | 4212 bytes | April 17 2024 17:19:26. | |
quoprimime.cpython-36.pyc | File | 7695 bytes | April 17 2024 17:19:44. | |
utils.cpython-36.opt-1.pyc | File | 9889 bytes | April 17 2024 17:19:40. | |
utils.cpython-36.opt-2.pyc | File | 6554 bytes | April 17 2024 17:19:26. | |
utils.cpython-36.pyc | File | 9889 bytes | April 17 2024 17:19:44. |
3 � fN � @ s� d Z dddgZddlZddlZddlZddlZddlmZ ddlm Z m Z ddlmZ d Z d Zejd�Zejdej�ZG d d� d�ZG dd� de�ZdZG dd� de�Zeeejd ��Zde ZejZdS )z:Classes to generate plain text from a message object tree.� Generator�DecodedGenerator�BytesGenerator� N)�deepcopy)�StringIO�BytesIO)�_has_surrogates�_� z \r\n|\r|\nz^From c @ s� e Zd ZdZd'dd�dd�Zdd� Zd(d d �Zdd� Zd d� Zdd� Z dd� Z dd� Zdd� Zdd� Z dd� ZeZdd� Zdd� Zdd � Zd!d"� Zed)d#d$��Zed%d&� �ZdS )*r z�Generates output from a Message object tree. This basic generator writes the message to the given file object as plain text. N)�policyc C s6 |dkr|dkrdn|j }|| _|| _|| _|| _dS )a� Create the generator for message flattening. outfp is the output file-like object for writing the message to. It must have a write() method. Optional mangle_from_ is a flag that, when True (the default if policy is not set), escapes From_ lines in the body of the message by putting a `>' in front of them. Optional maxheaderlen specifies the longest length for a non-continued header. When a header line is longer (in characters, with tabs expanded to 8 spaces) than maxheaderlen, the header will split as defined in the Header class. Set maxheaderlen to zero to disable header wrapping. The default is 78, as recommended (but not required) by RFC 2822. The policy keyword specifies a policy object that controls a number of aspects of the generator's operation. If no policy is specified, the policy associated with the Message object passed to the flatten method is used. NT)�mangle_from_�_fp� _mangle_from_�maxheaderlenr )�self�outfpr r r � r �4/opt/alt/python36/lib64/python3.6/email/generator.py�__init__$ s zGenerator.__init__c C s | j j|� d S )N)r �write)r �sr r r r D s zGenerator.writeFc C s� | j dkr|j n| j }|dk r*|j|d�}| jdk rB|j| jd�}|j| _| j| j�| _d| _| j| j�| _| j }|j }zL|| _ ||_ |r�|j � }|s�dt jt j � � }| j|| j � | j |� W d|| _ ||_ X dS )a� Print the message object tree rooted at msg to the output file specified when the Generator instance was created. unixfrom is a flag that forces the printing of a Unix From_ delimiter before the first object in the message tree. If the original message has no From_ delimiter, a `standard' one is crafted. By default, this is False to inhibit the printing of any From_ delimiter. Note that for subobjects, no From_ line is printed. linesep specifies the characters used to indicate a new line in the output. The default value is determined by the policy specified when the Generator instance was created or, if none was specified, from the policy associated with the msg. N)�linesep)�max_line_length� zFrom nobody )r �cloner r �_NL�_encode�_encoded_NLZ_EMPTY�_encoded_EMPTYZget_unixfrom�timeZctimer �_write)r �msg�unixfromr r Zold_gen_policyZold_msg_policyZufromr r r �flattenH s, zGenerator.flattenc C s | j || jd| jd�S )z1Clone this generator with the exact same options.N)r )� __class__r r )r �fpr r r r y s zGenerator.clonec C s t � S )N)r )r r r r �_new_buffer� s zGenerator._new_bufferc C s |S )Nr )r r r r r r � s zGenerator._encodec C sX |sd S t j|�}x*|d d� D ]}| j|� | j| j� q W |d rT| j|d � d S )N� ���r( r( )�NLCRE�splitr r )r �lines�liner r r �_write_lines� s zGenerator._write_linesc C s� | j }z"d | _| j� | _ }| j|� W d || _ | j}| `X |rht|�}|jd|d � |jd|d � t|dd �}|d kr�| j|� n|| � | j j|j � � d S )Nzcontent-transfer-encodingr zcontent-typer'