golden hour
/usr/lib/python2.7/site-packages/future/backports/email
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.py
2.22 KB
Del
OK
__init__.pyc
2.57 KB
Del
OK
__init__.pyo
2.57 KB
Del
OK
_encoded_words.py
8.25 KB
Del
OK
_encoded_words.pyc
7.69 KB
Del
OK
_encoded_words.pyo
7.69 KB
Del
OK
_header_value_parser.py
102.24 KB
Del
OK
_header_value_parser.pyc
101.73 KB
Del
OK
_header_value_parser.pyo
101.67 KB
Del
OK
_parseaddr.py
16.98 KB
Del
OK
_parseaddr.pyc
15.74 KB
Del
OK
_parseaddr.pyo
15.74 KB
Del
OK
_policybase.py
14.3 KB
Del
OK
_policybase.pyc
16.41 KB
Del
OK
_policybase.pyo
16.41 KB
Del
OK
base64mime.py
3.64 KB
Del
OK
base64mime.pyc
4.04 KB
Del
OK
base64mime.pyo
4.04 KB
Del
OK
charset.py
17.03 KB
Del
OK
charset.pyc
13.57 KB
Del
OK
charset.pyo
13.52 KB
Del
OK
encoders.py
2.73 KB
Del
OK
encoders.pyc
2.9 KB
Del
OK
encoders.pyo
2.9 KB
Del
OK
errors.py
3.59 KB
Del
OK
errors.pyc
7.81 KB
Del
OK
errors.pyo
7.81 KB
Del
OK
feedparser.py
22.2 KB
Del
OK
feedparser.pyc
13.29 KB
Del
OK
feedparser.pyo
13.12 KB
Del
OK
generator.py
19.06 KB
Del
OK
generator.pyc
14.5 KB
Del
OK
generator.pyo
14.5 KB
Del
OK
header.py
23.88 KB
Del
OK
header.pyc
20.03 KB
Del
OK
header.pyo
20.03 KB
Del
OK
headerregistry.py
20.15 KB
Del
OK
headerregistry.pyc
26.04 KB
Del
OK
headerregistry.pyo
25.98 KB
Del
OK
iterators.py
2.29 KB
Del
OK
iterators.pyc
2.73 KB
Del
OK
iterators.pyo
2.73 KB
Del
OK
message.py
34.41 KB
Del
OK
message.pyc
32.09 KB
Del
OK
message.pyo
32.09 KB
Del
OK
mime
-
Del
OK
parser.py
5.19 KB
Del
OK
parser.pyc
7.02 KB
Del
OK
parser.pyo
7.02 KB
Del
OK
policy.py
8.62 KB
Del
OK
policy.pyc
9.17 KB
Del
OK
policy.pyo
9.17 KB
Del
OK
quoprimime.py
10.67 KB
Del
OK
quoprimime.pyc
11.25 KB
Del
OK
quoprimime.pyo
11.25 KB
Del
OK
utils.py
13.94 KB
Del
OK
utils.pyc
12.86 KB
Del
OK
utils.pyo
12.86 KB
Del
OK
Edit: feedparser.pyo
� ,�]c @` sV d Z d d l m Z d d l m Z d d l m Z d d l m Z m Z m Z d d l m Z m Z d d g Z d d l Z d d l m Z d d l m Z d d l m Z e j d � Z e j d � Z e j d � Z e j d � Z e j d � Z d Z d Z e � Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d S( u FeedParser - An email feed parser. The feed parser implements an interface for incrementally parsing an email message, line by line. This has advantages for certain applications, such as those reading email messages off a socket. FeedParser.feed() is the primary interface for pushing new data into the parser. It returns when there's nothing more it can do with the available data. When you have no more data to push into the parser, call .close(). This completes the parsing and returns the root message object. The other advantage of this parser is that it will never raise a parsing exception. Instead, when it finds something unexpected, it adds a 'defect' to the current message. Defects are just instances that live on the message object's .defects attribute. i ( t unicode_literals( t division( t absolute_import( t objectt ranget super( t implements_iteratort PY3u FeedParseru BytesFeedParserN( t errors( t message( t compat32u | | u ( | | )u ( | | )\Zu( ^(From |[\041-\071\073-\176]{1,}:|[\t ])u u t BufferedSubFilec B` sh e Z d Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( uk A file-ish object that can have new data loaded into it. You can also push and pop line-matching predicates onto a stack. When the current predicate matches the current line, a false EOF response (i.e. empty string) is returned instead. This lets the parser adhere to a simple abstraction -- it parses until EOF closes the current message. c C` s( d | _ g | _ g | _ t | _ d S( Nu ( t _partialt _linest _eofstackt Falset _closed( t self( ( sE /usr/lib/python2.7/site-packages/future/backports/email/feedparser.pyt __init__9 s c C` s | j j | � d S( N( R t append( R t pred( ( sE /usr/lib/python2.7/site-packages/future/backports/email/feedparser.pyt push_eof_matcherC s c C` s | j j � S( N( R t pop( R ( ( sE /usr/lib/python2.7/site-packages/future/backports/email/feedparser.pyt pop_eof_matcherF s c C` s) | j j | j � d | _ t | _ d S( Nu ( R R R t TrueR ( R ( ( sE /usr/lib/python2.7/site-packages/future/backports/email/feedparser.pyt closeI s c C` sn | j s | j r d St S| j j � } x>