Current Path: > > opt > alt > python39 > > lib64 > python3.9 > 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-39.opt-1.pyc | File | 1680 bytes | June 19 2025 12:11:00. | |
__init__.cpython-39.opt-2.pyc | File | 1055 bytes | June 19 2025 12:11:07. | |
__init__.cpython-39.pyc | File | 1680 bytes | June 19 2025 12:11:00. | |
_encoded_words.cpython-39.opt-1.pyc | File | 5720 bytes | June 19 2025 12:11:00. | |
_encoded_words.cpython-39.opt-2.pyc | File | 3834 bytes | June 19 2025 12:11:07. | |
_encoded_words.cpython-39.pyc | File | 5720 bytes | June 19 2025 12:11:00. | |
_header_value_parser.cpython-39.opt-1.pyc | File | 80326 bytes | June 19 2025 12:11:04. | |
_header_value_parser.cpython-39.opt-2.pyc | File | 63394 bytes | June 19 2025 12:11:07. | |
_header_value_parser.cpython-39.pyc | File | 80358 bytes | June 19 2025 12:11:00. | |
_parseaddr.cpython-39.opt-1.pyc | File | 12406 bytes | June 19 2025 12:11:00. | |
_parseaddr.cpython-39.opt-2.pyc | File | 9446 bytes | June 19 2025 12:11:07. | |
_parseaddr.cpython-39.pyc | File | 12406 bytes | June 19 2025 12:11:00. | |
_policybase.cpython-39.opt-1.pyc | File | 15279 bytes | June 19 2025 12:11:00. | |
_policybase.cpython-39.opt-2.pyc | File | 6026 bytes | June 19 2025 12:11:07. | |
_policybase.cpython-39.pyc | File | 15279 bytes | June 19 2025 12:11:00. | |
base64mime.cpython-39.opt-1.pyc | File | 3252 bytes | June 19 2025 12:11:00. | |
base64mime.cpython-39.opt-2.pyc | File | 1475 bytes | June 19 2025 12:11:07. | |
base64mime.cpython-39.pyc | File | 3252 bytes | June 19 2025 12:11:00. | |
charset.cpython-39.opt-1.pyc | File | 11445 bytes | June 19 2025 12:11:04. | |
charset.cpython-39.opt-2.pyc | File | 5116 bytes | June 19 2025 12:11:07. | |
charset.cpython-39.pyc | File | 11466 bytes | June 19 2025 12:11:00. | |
contentmanager.cpython-39.opt-1.pyc | File | 7373 bytes | June 19 2025 12:11:00. | |
contentmanager.cpython-39.opt-2.pyc | File | 7373 bytes | June 19 2025 12:11:00. | |
contentmanager.cpython-39.pyc | File | 7373 bytes | June 19 2025 12:11:00. | |
encoders.cpython-39.opt-1.pyc | File | 1635 bytes | June 19 2025 12:11:00. | |
encoders.cpython-39.opt-2.pyc | File | 1284 bytes | June 19 2025 12:11:07. | |
encoders.cpython-39.pyc | File | 1635 bytes | June 19 2025 12:11:00. | |
errors.cpython-39.opt-1.pyc | File | 6090 bytes | June 19 2025 12:11:00. | |
errors.cpython-39.opt-2.pyc | File | 4624 bytes | June 19 2025 12:11:07. | |
errors.cpython-39.pyc | File | 6090 bytes | June 19 2025 12:11:00. | |
feedparser.cpython-39.opt-1.pyc | File | 10501 bytes | June 19 2025 12:11:04. | |
feedparser.cpython-39.opt-2.pyc | File | 8838 bytes | June 19 2025 12:11:07. | |
feedparser.cpython-39.pyc | File | 10622 bytes | June 19 2025 12:11:00. | |
generator.cpython-39.opt-1.pyc | File | 12993 bytes | June 19 2025 12:11:00. | |
generator.cpython-39.opt-2.pyc | File | 9294 bytes | June 19 2025 12:11:07. | |
generator.cpython-39.pyc | File | 12993 bytes | June 19 2025 12:11:00. | |
header.cpython-39.opt-1.pyc | File | 16445 bytes | June 19 2025 12:11:00. | |
header.cpython-39.opt-2.pyc | File | 10821 bytes | June 19 2025 12:11:07. | |
header.cpython-39.pyc | File | 16445 bytes | June 19 2025 12:11:00. | |
headerregistry.cpython-39.opt-1.pyc | File | 21943 bytes | June 19 2025 12:11:04. | |
headerregistry.cpython-39.opt-2.pyc | File | 16180 bytes | June 19 2025 12:11:07. | |
headerregistry.cpython-39.pyc | File | 21979 bytes | June 19 2025 12:11:00. | |
iterators.cpython-39.opt-1.pyc | File | 1944 bytes | June 19 2025 12:11:00. | |
iterators.cpython-39.opt-2.pyc | File | 1324 bytes | June 19 2025 12:11:07. | |
iterators.cpython-39.pyc | File | 1944 bytes | June 19 2025 12:11:00. | |
message.cpython-39.opt-1.pyc | File | 37849 bytes | June 19 2025 12:11:00. | |
message.cpython-39.opt-2.pyc | File | 21291 bytes | June 19 2025 12:11:07. | |
message.cpython-39.pyc | File | 37849 bytes | June 19 2025 12:11:00. | |
parser.cpython-39.opt-1.pyc | File | 5759 bytes | June 19 2025 12:11:00. | |
parser.cpython-39.opt-2.pyc | File | 2741 bytes | June 19 2025 12:11:07. | |
parser.cpython-39.pyc | File | 5759 bytes | June 19 2025 12:11:00. | |
policy.cpython-39.opt-1.pyc | File | 9652 bytes | June 19 2025 12:11:00. | |
policy.cpython-39.opt-2.pyc | File | 3437 bytes | June 19 2025 12:11:07. | |
policy.cpython-39.pyc | File | 9652 bytes | June 19 2025 12:11:00. | |
quoprimime.cpython-39.opt-1.pyc | File | 7687 bytes | June 19 2025 12:11:00. | |
quoprimime.cpython-39.opt-2.pyc | File | 4212 bytes | June 19 2025 12:11:07. | |
quoprimime.cpython-39.pyc | File | 7687 bytes | June 19 2025 12:11:00. | |
utils.cpython-39.opt-1.pyc | File | 11764 bytes | June 19 2025 12:11:00. | |
utils.cpython-39.opt-2.pyc | File | 8141 bytes | June 19 2025 12:11:07. | |
utils.cpython-39.pyc | File | 11764 bytes | June 19 2025 12:11:00. |
a XC?h� � @ sx d Z g d�ZddlmZmZ ddlmZmZ ddlm Z G dd� d�Z G dd � d e �ZG d d� d�ZG dd � d e�Z dS )z-A parser of RFC 2822 and MIME email messages.)�Parser�HeaderParser�BytesParser�BytesHeaderParser� FeedParser�BytesFeedParser� )�StringIO� TextIOWrapper)r r )�compat32c @ s0 e Zd Zd ed�dd�Zddd�Zddd �ZdS ) r N��policyc C s || _ || _dS )a� Parser of RFC 2822 and MIME email messages. Creates an in-memory object tree representing the email message, which can then be manipulated and turned over to a Generator to return the textual representation of the message. The string must be formatted as a block of RFC 2822 headers and header continuation lines, optionally preceded by a `Unix-from' header. The header block is terminated either by the end of the string or by a blank line. _class is the class to instantiate for new message objects when they must be created. This class must have a constructor that can take zero arguments. Default is Message.Message. The policy keyword specifies a policy object that controls a number of aspects of the parser's operation. The default policy maintains backward compatibility. N)�_classr )�selfr r � r �1/opt/alt/python39/lib64/python3.9/email/parser.py�__init__ s zParser.__init__Fc C s@ t | j| jd�}|r|�� |�d�}|s,q8|�|� q|�� S )a\ Create a message structure from the data in a file. Reads all the data from the file and returns the root of the message structure. Optional headersonly is a flag specifying whether to stop parsing after reading the headers or not. The default is False, meaning it parses the entire contents of the file. r i )r r r Z_set_headersonly�readZfeed�close)r �fp�headersonlyZ feedparser�datar r r �parse) s zParser.parsec C s | j t|�|d�S )a- Create a message structure from a string. Returns the root of the message structure. Optional headersonly is a flag specifying whether to stop parsing after reading the headers or not. The default is False, meaning it parses the entire contents of the file. �r )r r �r �textr r r r �parsestr; s zParser.parsestr)N)F)F)�__name__� __module__�__qualname__r r r r r r r r r s r c @ s e Zd Zddd�Zddd�ZdS ) r Tc C s t �| |d�S �NT)r r �r r r r r r r H s zHeaderParser.parsec C s t �| |d�S r )r r r r r r r K s zHeaderParser.parsestrN)T)T)r r r r r r r r r r G s r c @ s( e Zd Zdd� Zd dd�Zd dd�ZdS )r c O s t |i |��| _dS )a� Parser of binary RFC 2822 and MIME email messages. Creates an in-memory object tree representing the email message, which can then be manipulated and turned over to a Generator to return the textual representation of the message. The input must be formatted as a block of RFC 2822 headers and header continuation lines, optionally preceded by a `Unix-from' header. The header block is terminated either by the end of the input or by a blank line. _class is the class to instantiate for new message objects when they must be created. This class must have a constructor that can take zero arguments. Default is Message.Message. N)r �parser)r �args�kwr r r r Q s zBytesParser.__init__Fc C s6 t |ddd�}z| j�||�W |�� S |�� 0 dS )ac Create a message structure from the data in a binary file. Reads all the data from the file and returns the root of the message structure. Optional headersonly is a flag specifying whether to stop parsing after reading the headers or not. The default is False, meaning it parses the entire contents of the file. �ascii�surrogateescape)�encoding�errorsN)r r! r �detachr r r r r c s �zBytesParser.parsec C s |j ddd�}| j�||�S )a2 Create a message structure from a byte string. Returns the root of the message structure. Optional headersonly is a flag specifying whether to stop parsing after reading the headers or not. The default is False, meaning it parses the entire contents of the file. �ASCIIr% )r'