$71 GRAYBYTE WORDPRESS FILE MANAGER $68

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python34/lib64/python3.4/__pycache__/

HOME
Current File : /opt/alt/python34/lib64/python3.4/__pycache__//difflib.cpython-34.pyc
�
e f?�@s�dZddddddddd	d
dgZdd
lZddlmZedd�Zdd�ZGdd�d�Zdddd�Z	dd�Z
Gdd�d�Zdd
lZej
d�jdd�Zddd�Zdd�Zdddddd d!d	�Zd"d#�Zdddddd d$d�Zd
ed%d�Zd
d
ed&d'�Zd(Zd)Zd*Zd+ZGd,d
�d
e�Z[d-d�Zd.d/�Zed0kr�e�nd
S)1ae
Module difflib -- helpers for computing deltas between objects.

Function get_close_matches(word, possibilities, n=3, cutoff=0.6):
    Use SequenceMatcher to return list of the best "good enough" matches.

Function context_diff(a, b):
    For two lists of strings, return a delta in context diff format.

Function ndiff(a, b):
    Return a delta: the difference between `a` and `b` (lists of strings).

Function restore(delta, which):
    Return one of the two sequences that generated an ndiff delta.

Function unified_diff(a, b):
    For two lists of strings, return a delta in unified diff format.

Class SequenceMatcher:
    A flexible class for comparing pairs of sequences of any type.

Class Differ:
    For producing human-readable deltas from sequences of lines of text.

Class HtmlDiff:
    For producing HTML side by side comparison with change highlights.
�get_close_matches�ndiff�restore�SequenceMatcher�Differ�IS_CHARACTER_JUNK�IS_LINE_JUNK�context_diff�unified_diff�HtmlDiff�Match�N)�
namedtupleza b sizecCs|rd||SdS)Ng@g�?�)�matches�lengthrr�,/opt/alt/python34/lib64/python3.4/difflib.py�_calculate_ratio&src@s�eZdZdZdddddd�Zdd�Zd	d
�Zdd�Zd
d�Zdd�Z	dd�Z
dd�Zddd�Zdd�Z
dd�Zdd�ZdS)ra�
    SequenceMatcher is a flexible class for comparing pairs of sequences of
    any type, so long as the sequence elements are hashable.  The basic
    algorithm predates, and is a little fancier than, an algorithm
    published in the late 1980's by Ratcliff and Obershelp under the
    hyperbolic name "gestalt pattern matching".  The basic idea is to find
    the longest contiguous matching subsequence that contains no "junk"
    elements (R-O doesn't address junk).  The same idea is then applied
    recursively to the pieces of the sequences to the left and to the right
    of the matching subsequence.  This does not yield minimal edit
    sequences, but does tend to yield matches that "look right" to people.

    SequenceMatcher tries to compute a "human-friendly diff" between two
    sequences.  Unlike e.g. UNIX(tm) diff, the fundamental notion is the
    longest *contiguous* & junk-free matching subsequence.  That's what
    catches peoples' eyes.  The Windows(tm) windiff has another interesting
    notion, pairing up elements that appear uniquely in each sequence.
    That, and the method here, appear to yield more intuitive difference
    reports than does diff.  This method appears to be the least vulnerable
    to synching up on blocks of "junk lines", though (like blank lines in
    ordinary text files, or maybe "<P>" lines in HTML files).  That may be
    because this is the only method of the 3 that has a *concept* of
    "junk" <wink>.

    Example, comparing two strings, and considering blanks to be "junk":

    >>> s = SequenceMatcher(lambda x: x == " ",
    ...                     "private Thread currentThread;",
    ...                     "private volatile Thread currentThread;")
    >>>

    .ratio() returns a float in [0, 1], measuring the "similarity" of the
    sequences.  As a rule of thumb, a .ratio() value over 0.6 means the
    sequences are close matches:

    >>> print(round(s.ratio(), 3))
    0.866
    >>>

    If you're only interested in where the sequences match,
    .get_matching_blocks() is handy:

    >>> for block in s.get_matching_blocks():
    ...     print("a[%d] and b[%d] match for %d elements" % block)
    a[0] and b[0] match for 8 elements
    a[8] and b[17] match for 21 elements
    a[29] and b[38] match for 0 elements

    Note that the last tuple returned by .get_matching_blocks() is always a
    dummy, (len(a), len(b), 0), and this is the only case in which the last
    tuple element (number of elements matched) is 0.

    If you want to know how to change the first sequence into the second,
    use .get_opcodes():

    >>> for opcode in s.get_opcodes():
    ...     print("%6s a[%d:%d] b[%d:%d]" % opcode)
     equal a[0:8] b[0:8]
    insert a[8:8] b[8:17]
     equal a[8:29] b[17:38]

    See the Differ class for a fancy human-friendly file differencer, which
    uses SequenceMatcher both to compare sequences of lines, and to compare
    sequences of characters within similar (near-matching) lines.

    See also function get_close_matches() in this module, which shows how
    simple code building on SequenceMatcher can be used to do useful work.

    Timing:  Basic R-O is cubic time worst case and quadratic time expected
    case.  SequenceMatcher is quadratic time for the worst case and has
    expected-case behavior dependent in a complicated way on how many
    elements the sequences have in common; best case time is linear.

    Methods:

    __init__(isjunk=None, a='', b='')
        Construct a SequenceMatcher.

    set_seqs(a, b)
        Set the two sequences to be compared.

    set_seq1(a)
        Set the first sequence to be compared.

    set_seq2(b)
        Set the second sequence to be compared.

    find_longest_match(alo, ahi, blo, bhi)
        Find longest matching block in a[alo:ahi] and b[blo:bhi].

    get_matching_blocks()
        Return list of triples describing matching subsequences.

    get_opcodes()
        Return list of 5-tuples describing how to turn a into b.

    ratio()
        Return a measure of the sequences' similarity (float in [0,1]).

    quick_ratio()
        Return an upper bound on .ratio() relatively quickly.

    real_quick_ratio()
        Return an upper bound on ratio() very quickly.
    N�TcCs6||_d|_|_||_|j||�dS)a!Construct a SequenceMatcher.

        Optional arg isjunk is None (the default), or a one-argument
        function that takes a sequence element and returns true iff the
        element is junk.  None is equivalent to passing "lambda x: 0", i.e.
        no elements are considered to be junk.  For example, pass
            lambda x: x in " \t"
        if you're comparing lines as sequences of characters, and don't
        want to synch up on blanks or hard tabs.

        Optional arg a is the first of two sequences to be compared.  By
        default, an empty string.  The elements of a must be hashable.  See
        also .set_seqs() and .set_seq1().

        Optional arg b is the second of two sequences to be compared.  By
        default, an empty string.  The elements of b must be hashable. See
        also .set_seqs() and .set_seq2().

        Optional arg autojunk should be set to False to disable the
        "automatic junk heuristic" that treats popular elements as junk
        (see module documentation for more information).
        N)�isjunk�a�b�autojunk�set_seqs)�selfrrrrrrr�__init__�s;		zSequenceMatcher.__init__cCs|j|�|j|�dS)z�Set the two sequences to be compared.

        >>> s = SequenceMatcher()
        >>> s.set_seqs("abcd", "bcde")
        >>> s.ratio()
        0.75
        N)�set_seq1�set_seq2)rrrrrrr�s	
zSequenceMatcher.set_seqscCs0||jkrdS||_d|_|_dS)aMSet the first sequence to be compared.

        The second sequence to be compared is not changed.

        >>> s = SequenceMatcher(None, "abcd", "bcde")
        >>> s.ratio()
        0.75
        >>> s.set_seq1("bcde")
        >>> s.ratio()
        1.0
        >>>

        SequenceMatcher computes and caches detailed information about the
        second sequence, so if you want to compare one sequence S against
        many sequences, use .set_seq2(S) once and call .set_seq1(x)
        repeatedly for each of the other sequences.

        See also set_seqs() and set_seq2().
        N)r�matching_blocks�opcodes)rrrrrr�s	zSequenceMatcher.set_seq1cCsC||jkrdS||_d|_|_d|_|j�dS)aMSet the second sequence to be compared.

        The first sequence to be compared is not changed.

        >>> s = SequenceMatcher(None, "abcd", "bcde")
        >>> s.ratio()
        0.75
        >>> s.set_seq2("abcd")
        >>> s.ratio()
        1.0
        >>>

        SequenceMatcher computes and caches detailed information about the
        second sequence, so if you want to compare one sequence S against
        many sequences, use .set_seq2(S) once and call .set_seq1(x)
        repeatedly for each of the other sequences.

        See also set_seqs() and set_seq1().
        N)rrr�
fullbcount�_SequenceMatcher__chain_b)rrrrrr�s		zSequenceMatcher.set_seq2cCs\|j}i|_}x9t|�D]+\}}|j|g�}|j|�q#Wt�|_}|j}|r�x0|j�D]"}||�r~|j	|�q~q~Wx|D]
}||=q�Wnt�|_
}t|�}	|jrX|	dkrX|	dd}
x<|j
�D].\}}t|�|
kr|j	|�qqWx|D]
}||=qDWndS)N���d�)r�b2j�	enumerate�
setdefault�append�set�bjunkr�keys�addZbpopular�lenr�items)rrr$�i�elt�indicesZjunkrZpopular�nZntestZidxsrrrZ	__chain_b)s,	
	

zSequenceMatcher.__chain_bcCs�|j|j|j|jjf\}}}}||d}	}
}i}g}
x�t||�D]�}|j}i}x�|j|||
�D]z}||kr�q�n||kr�Pn||dd�d}||<||kr�||d||d|}	}
}q�q�W|}q]Wxm|	|kr�|
|kr�|||
d�r�||	d||
dkr�|	d|
d|d}	}
}qWx_|	||kr�|
||kr�|||
|�r�||	|||
|kr�|d7}q�Wxl|	|krQ|
|krQ|||
d�rQ||	d||
dkrQ|	d|
d|d}	}
}q�Wx^|	||kr�|
||kr�|||
|�r�||	|||
|kr�|d}qUWt|	|
|�S)a�Find longest matching block in a[alo:ahi] and b[blo:bhi].

        If isjunk is not defined:

        Return (i,j,k) such that a[i:i+k] is equal to b[j:j+k], where
            alo <= i <= i+k <= ahi
            blo <= j <= j+k <= bhi
        and for all (i',j',k') meeting those conditions,
            k >= k'
            i <= i'
            and if i == i', j <= j'

        In other words, of all maximal matching blocks, return one that
        starts earliest in a, and of all those maximal matching blocks that
        start earliest in a, return the one that starts earliest in b.

        >>> s = SequenceMatcher(None, " abcd", "abcd abcd")
        >>> s.find_longest_match(0, 5, 0, 9)
        Match(a=0, b=4, size=5)

        If isjunk is defined, first the longest matching block is
        determined as above, but with the additional restriction that no
        junk element appears in the block.  Then that block is extended as
        far as possible by matching (only) junk elements on both sides.  So
        the resulting block never matches on junk except as identical junk
        happens to be adjacent to an "interesting" match.

        Here's the same example as before, but considering blanks to be
        junk.  That prevents " abcd" from matching the " abcd" at the tail
        end of the second sequence directly.  Instead only the "abcd" can
        match, and matches the leftmost "abcd" in the second sequence:

        >>> s = SequenceMatcher(lambda x: x==" ", " abcd", "abcd abcd")
        >>> s.find_longest_match(0, 5, 0, 9)
        Match(a=1, b=0, size=4)

        If no blocks match, return (alo, blo, 0).

        >>> s = SequenceMatcher(None, "ab", "c")
        >>> s.find_longest_match(0, 2, 0, 1)
        Match(a=0, b=0, size=0)
        rr#)rrr$r)�__contains__�range�getr)r�alo�ahi�blo�bhirrr$ZisbjunkZbestiZbestjZbestsizeZj2lenZnothingr.Zj2lengetZnewj2len�j�krrr�find_longest_matchPsB8-	+
$#	$#z"SequenceMatcher.find_longest_matchcCs|jdk	r|jSt|j�t|j�}}d|d|fg}g}x�|r'|j�\}}}}|j||||�\}	}
}}|rS|j|�||	kr�||
kr�|j||	||
f�n|	||kr$|
||kr$|j|	|||
||f�q$qSqSW|j�d}
}}g}xw|D]o\}}}|
||kr�|||kr�||7}qM|r�|j|
||f�n|||}
}}qMW|r�|j|
||f�n|j||df�tt	t
j|��|_|jS)aReturn list of triples describing matching subsequences.

        Each triple is of the form (i, j, n), and means that
        a[i:i+n] == b[j:j+n].  The triples are monotonically increasing in
        i and in j.  New in Python 2.5, it's also guaranteed that if
        (i, j, n) and (i', j', n') are adjacent triples in the list, and
        the second is not the last triple in the list, then i+n != i' or
        j+n != j'.  IOW, adjacent triples never describe adjacent equal
        blocks.

        The last triple is a dummy, (len(a), len(b), 0), and is the only
        triple with n==0.

        >>> s = SequenceMatcher(None, "abxcd", "abcd")
        >>> list(s.get_matching_blocks())
        [Match(a=0, b=0, size=2), Match(a=3, b=2, size=2), Match(a=5, b=4, size=0)]
        Nr)rr,rr�popr;r'�sort�list�mapr�_make)r�la�lbZqueuerr5r6r7r8r.r9r:�x�i1�j1Zk1Znon_adjacent�i2�j2Zk2rrr�get_matching_blocks�s8	%
 +
 
z#SequenceMatcher.get_matching_blockscCs|jdk	r|jSd}}g|_}x�|j�D]�\}}}d}||krp||krpd}n*||kr�d}n||kr�d}n|r�|j|||||f�n||||}}|r:|jd||||f�q:q:W|S)a[Return list of 5-tuples describing how to turn a into b.

        Each tuple is of the form (tag, i1, i2, j1, j2).  The first tuple
        has i1 == j1 == 0, and remaining tuples have i1 == the i2 from the
        tuple preceding it, and likewise for j1 == the previous j2.

        The tags are strings, with these meanings:

        'replace':  a[i1:i2] should be replaced by b[j1:j2]
        'delete':   a[i1:i2] should be deleted.
                    Note that j1==j2 in this case.
        'insert':   b[j1:j2] should be inserted at a[i1:i1].
                    Note that i1==i2 in this case.
        'equal':    a[i1:i2] == b[j1:j2]

        >>> a = "qabxcd"
        >>> b = "abycdf"
        >>> s = SequenceMatcher(None, a, b)
        >>> for tag, i1, i2, j1, j2 in s.get_opcodes():
        ...    print(("%7s a[%d:%d] (%s) b[%d:%d] (%s)" %
        ...           (tag, i1, i2, a[i1:i2], j1, j2, b[j1:j2])))
         delete a[0:1] (q) b[0:0] ()
          equal a[1:3] (ab) b[0:2] (ab)
        replace a[3:4] (x) b[2:3] (y)
          equal a[4:6] (cd) b[3:5] (cd)
         insert a[6:6] () b[5:6] (f)
        Nrr�replace�delete�insert�equal)rrHr')rr.r9Zanswer�ai�bj�size�tagrrr�get_opcodess$

			#zSequenceMatcher.get_opcodes�c

cs�|j�}|sdg}n|dddkr�|d\}}}}}|t|||�|t|||�|f|d<n|dddkr�|d\}}}}}||t|||�|t|||�f|d<n||}g}	x�|D]�\}}}}}|dkr�|||kr�|	j||t|||�|t|||�f�|	Vg}	t|||�t|||�}}n|	j|||||f�q�W|	r�t|	�dko�|	dddkr�|	VndS)	a� Isolate change clusters by eliminating ranges with no changes.

        Return a generator of groups with up to n lines of context.
        Each group is in the same format as returned by get_opcodes().

        >>> from pprint import pprint
        >>> a = list(map(str, range(1,40)))
        >>> b = a[:]
        >>> b[8:8] = ['i']     # Make an insertion
        >>> b[20] += 'x'       # Make a replacement
        >>> b[23:28] = []      # Make a deletion
        >>> b[30] += 'y'       # Make another replacement
        >>> pprint(list(SequenceMatcher(None,a,b).get_grouped_opcodes()))
        [[('equal', 5, 8, 5, 8), ('insert', 8, 8, 8, 9), ('equal', 8, 11, 9, 12)],
         [('equal', 16, 19, 17, 20),
          ('replace', 19, 20, 20, 21),
          ('equal', 20, 22, 21, 23),
          ('delete', 22, 27, 23, 23),
          ('equal', 27, 30, 23, 26)],
         [('equal', 31, 34, 27, 30),
          ('replace', 34, 35, 30, 31),
          ('equal', 35, 38, 31, 34)]]
        rLrr#N)zequalrr#rr#���rSrS)rQ�max�minr'r,)
rr1ZcodesrPrDrFrErGZnn�grouprrr�get_grouped_opcodes<s(66
6* -z#SequenceMatcher.get_grouped_opcodescCsBtdd�|j�D��}t|t|j�t|j��S)a�Return a measure of the sequences' similarity (float in [0,1]).

        Where T is the total number of elements in both sequences, and
        M is the number of matches, this is 2.0*M / T.
        Note that this is 1 if the sequences are identical, and 0 if
        they have nothing in common.

        .ratio() is expensive to compute if you haven't already computed
        .get_matching_blocks() or .get_opcodes(), in which case you may
        want to try .quick_ratio() or .real_quick_ratio() first to get an
        upper bound.

        >>> s = SequenceMatcher(None, "abcd", "bcde")
        >>> s.ratio()
        0.75
        >>> s.quick_ratio()
        0.75
        >>> s.real_quick_ratio()
        1.0
        css|]}|dVqdS)r#NrSr)�.0Ztriplerrr�	<genexpr>�sz(SequenceMatcher.ratio.<locals>.<genexpr>)�sumrHrr,rr)rrrrr�rationszSequenceMatcher.ratiocCs�|jdkrMi|_}x.|jD] }|j|d�d||<q&Wn|j}i}|jd}}xc|jD]X}||�r�||}n|j|d�}|d||<|dkrv|d}qvqvWt|t|j�t|j��S)z�Return an upper bound on ratio() relatively quickly.

        This isn't defined beyond that it is an upper bound on .ratio(), and
        is faster to compute.
        Nrr#)rrr4r2rrr,)rrr/ZavailZavailhasrZnumbrrr�quick_ratio�s

!	
zSequenceMatcher.quick_ratiocCs9t|j�t|j�}}tt||�||�S)z�Return an upper bound on ratio() very quickly.

        This isn't defined beyond that it is an upper bound on .ratio(), and
        is faster to compute than either .ratio() or .quick_ratio().
        )r,rrrrU)rrArBrrr�real_quick_ratio�sz SequenceMatcher.real_quick_ratio)�__name__�
__module__�__qualname__�__doc__rrrrr r;rHrQrWr[r\r]rrrrr+sj@,'nG72rRg333333�?cCs|dks"td|f��nd|ko9dknsTtd|f��ng}t�}|j|�xm|D]e}|j|�|j�|krw|j�|krw|j�|krw|j|j�|f�qwqwWtj	||�}dd�|D�S)a�Use SequenceMatcher to return list of the best "good enough" matches.

    word is a sequence for which close matches are desired (typically a
    string).

    possibilities is a list of sequences against which to match word
    (typically a list of strings).

    Optional arg n (default 3) is the maximum number of close matches to
    return.  n must be > 0.

    Optional arg cutoff (default 0.6) is a float in [0, 1].  Possibilities
    that don't score at least that similar to word are ignored.

    The best (no more than n) matches among the possibilities are returned
    in a list, sorted by similarity score, most similar first.

    >>> get_close_matches("appel", ["ape", "apple", "peach", "puppy"])
    ['apple', 'ape']
    >>> import keyword as _keyword
    >>> get_close_matches("wheel", _keyword.kwlist)
    ['while']
    >>> get_close_matches("Apple", _keyword.kwlist)
    []
    >>> get_close_matches("accept", _keyword.kwlist)
    ['except']
    rzn must be > 0: %rgg�?z cutoff must be in [0.0, 1.0]: %rcSsg|]\}}|�qSrr)rXZscorerCrrr�
<listcomp>�s	z%get_close_matches.<locals>.<listcomp>)
�
ValueErrorrrrr]r\r[r'�heapq�nlargest)ZwordZ
possibilitiesr1�cutoff�result�srCrrrr�s	


 cCsDdt|�}}x*||kr?|||kr?|d7}qW|S)z}
    Return number of `ch` characters at the start of `line`.

    Example:

    >>> _count_leading('   abc', ' ')
    3
    rr#)r,)�line�chr.r1rrr�_count_leading�s
rkc@speZdZdZdddd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dS)ra�

    Differ is a class for comparing sequences of lines of text, and
    producing human-readable differences or deltas.  Differ uses
    SequenceMatcher both to compare sequences of lines, and to compare
    sequences of characters within similar (near-matching) lines.

    Each line of a Differ delta begins with a two-letter code:

        '- '    line unique to sequence 1
        '+ '    line unique to sequence 2
        '  '    line common to both sequences
        '? '    line not present in either input sequence

    Lines beginning with '? ' attempt to guide the eye to intraline
    differences, and were not present in either input sequence.  These lines
    can be confusing if the sequences contain tab characters.

    Note that Differ makes no claim to produce a *minimal* diff.  To the
    contrary, minimal diffs are often counter-intuitive, because they synch
    up anywhere possible, sometimes accidental matches 100 pages apart.
    Restricting synch points to contiguous matches preserves some notion of
    locality, at the occasional cost of producing a longer diff.

    Example: Comparing two texts.

    First we set up the texts, sequences of individual single-line strings
    ending with newlines (such sequences can also be obtained from the
    `readlines()` method of file-like objects):

    >>> text1 = '''  1. Beautiful is better than ugly.
    ...   2. Explicit is better than implicit.
    ...   3. Simple is better than complex.
    ...   4. Complex is better than complicated.
    ... '''.splitlines(keepends=True)
    >>> len(text1)
    4
    >>> text1[0][-1]
    '\n'
    >>> text2 = '''  1. Beautiful is better than ugly.
    ...   3.   Simple is better than complex.
    ...   4. Complicated is better than complex.
    ...   5. Flat is better than nested.
    ... '''.splitlines(keepends=True)

    Next we instantiate a Differ object:

    >>> d = Differ()

    Note that when instantiating a Differ object we may pass functions to
    filter out line and character 'junk'.  See Differ.__init__ for details.

    Finally, we compare the two:

    >>> result = list(d.compare(text1, text2))

    'result' is a list of strings, so let's pretty-print it:

    >>> from pprint import pprint as _pprint
    >>> _pprint(result)
    ['    1. Beautiful is better than ugly.\n',
     '-   2. Explicit is better than implicit.\n',
     '-   3. Simple is better than complex.\n',
     '+   3.   Simple is better than complex.\n',
     '?     ++\n',
     '-   4. Complex is better than complicated.\n',
     '?            ^                     ---- ^\n',
     '+   4. Complicated is better than complex.\n',
     '?           ++++ ^                      ^\n',
     '+   5. Flat is better than nested.\n']

    As a single multi-line string it looks like this:

    >>> print(''.join(result), end="")
        1. Beautiful is better than ugly.
    -   2. Explicit is better than implicit.
    -   3. Simple is better than complex.
    +   3.   Simple is better than complex.
    ?     ++
    -   4. Complex is better than complicated.
    ?            ^                     ---- ^
    +   4. Complicated is better than complex.
    ?           ++++ ^                      ^
    +   5. Flat is better than nested.

    Methods:

    __init__(linejunk=None, charjunk=None)
        Construct a text differencer, with optional filters.

    compare(a, b)
        Compare two sequences of lines; generate the resulting delta.
    NcCs||_||_dS)a�
        Construct a text differencer, with optional filters.

        The two optional keyword parameters are for filter functions:

        - `linejunk`: A function that should accept a single string argument,
          and return true iff the string is junk. The module-level function
          `IS_LINE_JUNK` may be used to filter out lines without visible
          characters, except for at most one splat ('#').  It is recommended
          to leave linejunk None; as of Python 2.3, the underlying
          SequenceMatcher class has grown an adaptive notion of "noise" lines
          that's better than any static definition the author has ever been
          able to craft.

        - `charjunk`: A function that should accept a string of length 1. The
          module-level function `IS_CHARACTER_JUNK` may be used to filter out
          whitespace characters (a blank or tab; **note**: bad idea to include
          newline in this!).  Use of IS_CHARACTER_JUNK is recommended.
        N)�linejunk�charjunk)rrlrmrrrrMs	zDiffer.__init__c
cs�t|j||�}x�|j�D]�\}}}}}|dkrd|j||||||�}	n�|dkr�|jd|||�}	na|dkr�|jd|||�}	n:|dkr�|jd|||�}	ntd|f��|	Dd	Hq"Wd	S)
a�
        Compare two sequences of lines; generate the resulting delta.

        Each sequence must contain individual single-line strings ending with
        newlines. Such sequences can be obtained from the `readlines()` method
        of file-like objects.  The delta generated also consists of newline-
        terminated strings, ready to be printed as-is via the writeline()
        method of a file-like object.

        Example:

        >>> print(''.join(Differ().compare('one\ntwo\nthree\n'.splitlines(True),
        ...                                'ore\ntree\nemu\n'.splitlines(True))),
        ...       end="")
        - one
        ?  ^
        + ore
        ?  ^
        - two
        - three
        ?  -
        + tree
        + emu
        rIrJ�-rK�+rL� zunknown tag %rN)rrlrQ�_fancy_replace�_dumprc)
rrr�cruncherrPr5r6r7r8�grrr�comparees"!zDiffer.compareccs1x*t||�D]}d|||fVqWdS)z4Generate comparison results for a same-tagged range.z%s %sN)r3)rrPrC�lo�hir.rrrrr�szDiffer._dumpc
cs�||kr||kst�||||kre|jd|||�}|jd|||�}n0|jd|||�}|jd|||�}x||fD]}	|	DdHq�WdS)Nrorn)�AssertionErrorrr)
rrr5r6rr7r8�first�secondrtrrr�_plain_replace�szDiffer._plain_replaceccs�d\}}t|j�}	d\}
}x�t||�D]�}||}
|	j|
�x�t||�D]�}||}||
kr�|
dkrd||}
}qdqdn|	j|�|	j�|krd|	j�|krd|	j�|krd|	j�||}}}qdqdWq7W||kr^|
dkrG|j||||||�DdHdS|
|d}}}nd}
|j	||||||�DdH||||}}|
dkr�d}}|	j
||�x�|	j�D]�\}}}}}||||}}|dkr"|d|7}|d|7}q�|dkr?|d	|7}q�|d
kr\|d|7}q�|dkr�|d
|7}|d
|7}q�td|f��q�W|j
||||�DdHn	d|V|j	||d|||d|�DdHdS)aL
        When replacing one block of lines with another, search the blocks
        for *similar* lines; the best-matching pair (if any) is used as a
        synch point, and intraline difference marking is done on the
        similar pair. Lots of work, but often worth it.

        Example:

        >>> d = Differ()
        >>> results = d._fancy_replace(['abcDefghiJkl\n'], 0, 1,
        ...                            ['abcdefGhijkl\n'], 0, 1)
        >>> print(''.join(results), end="")
        - abcDefghiJkl
        ?    ^  ^  ^
        + abcdefGhijkl
        ?    ^  ^  ^
        �G�z��?��?Ng�?rrI�^rJrnrKrorLrpzunknown tag %rz  r#)r|r})NN)rrmr3rrr]r\r[r{�
_fancy_helperrrQrc�_qformat)rrr5r6rr7r8Z
best_ratiorfrsZeqiZeqjr9rNr.rMZbest_iZbest_jZaeltZbelt�atags�btagsrPZai1Zai2Zbj1Zbj2rArBrrrrq�sX



%!!
"	zDiffer._fancy_replaceccs�g}||krZ||kr?|j||||||�}q�|jd|||�}n'||kr�|jd|||�}n|DdHdS)Nrnro)rqrr)rrr5r6rr7r8rtrrrr�s!zDiffer._fancy_helperccs�tt|d�t|d��}t|t|d|�d��}t|t|d|�d��}||d�j�}||d�j�}d|V|r�dd||fVnd|V|r�dd||fVndS)a�
        Format "?" output and deal with leading tabs.

        Example:

        >>> d = Differ()
        >>> results = d._qformat('\tabcDefghiJkl\n', '\tabcdefGhijkl\n',
        ...                      '  ^ ^  ^      ', '  ^ ^  ^      ')
        >>> for line in results: print(repr(line))
        ...
        '- \tabcDefghiJkl\n'
        '? \t ^ ^  ^\n'
        '+ \tabcdefGhijkl\n'
        '? \t ^ ^  ^\n'
        �	Nrpz- z? %s%s
z+ )rUrk�rstrip)rZalineZbliner�r�Zcommonrrrr�s""		zDiffer._qformat)r^r_r`rarrurrr{rqrr�rrrrr�s\)^z
\s*(?:#\s*)?$cCs||�dk	S)z�
    Return 1 for ignorable line: iff `line` is blank or contains a single '#'.

    Examples:

    >>> IS_LINE_JUNK('\n')
    True
    >>> IS_LINE_JUNK('  #   \n')
    True
    >>> IS_LINE_JUNK('hello\n')
    False
    Nr)riZpatrrrr?sz 	cCs
||kS)z�
    Return 1 for ignorable character: iff `ch` is a space or tab.

    Examples:

    >>> IS_CHARACTER_JUNK(' ')
    True
    >>> IS_CHARACTER_JUNK('\t')
    True
    >>> IS_CHARACTER_JUNK('\n')
    False
    >>> IS_CHARACTER_JUNK('x')
    False
    r)rjZwsrrrrOscCsP|d}||}|dkr-dj|�S|s@|d8}ndj||�S)z Convert range to the "ed" formatr#z{}z{},{})�format)�start�stop�	beginningrrrr�_format_range_unifiedfs



r�r�
ccs�d}x�td||�j|�D]�}	|s�d}|rIdj|�nd}
|rddj|�nd}dj||
|�Vdj|||�Vn|	d|	d}}
t|d	|
d
�}t|d|
d�}d
j|||�Vx�|	D]�\}}}}}|dkr>x!|||�D]}d|Vq%Wq�n|dkrqx$|||�D]}d|Vq[Wn|dkr�x$|||�D]}d|Vq�Wq�q�Wq"WdS)a�
    Compare two sequences of lines; generate the delta as a unified diff.

    Unified diffs are a compact way of showing line changes and a few
    lines of context.  The number of context lines is set by 'n' which
    defaults to three.

    By default, the diff control lines (those with ---, +++, or @@) are
    created with a trailing newline.  This is helpful so that inputs
    created from file.readlines() result in diffs that are suitable for
    file.writelines() since both the inputs and outputs have trailing
    newlines.

    For inputs that do not have trailing newlines, set the lineterm
    argument to "" so that the output will be uniformly newline free.

    The unidiff format normally has a header for filenames and modification
    times.  Any or all of these may be specified using strings for
    'fromfile', 'tofile', 'fromfiledate', and 'tofiledate'.
    The modification times are normally expressed in the ISO 8601 format.

    Example:

    >>> for line in unified_diff('one two three four'.split(),
    ...             'zero one tree four'.split(), 'Original', 'Current',
    ...             '2005-01-26 23:30:50', '2010-04-02 10:20:52',
    ...             lineterm=''):
    ...     print(line)                 # doctest: +NORMALIZE_WHITESPACE
    --- Original        2005-01-26 23:30:50
    +++ Current         2010-04-02 10:20:52
    @@ -1,4 +1,4 @@
    +zero
     one
    -two
    -three
    +tree
     four
    FNTz	{}rz
--- {}{}{}z
+++ {}{}{}rr#�rR�z@@ -{} +{} @@{}rLrprIrJrnrKrorS>�replace�delete>r��insert)rrWr�r�)rr�fromfile�tofile�fromfiledate�
tofiledater1�lineterm�startedrV�fromdate�todatery�last�file1_range�file2_rangerPrDrFrErGrirrrr	qs.)"
cCsX|d}||}|s'|d8}n|dkr@dj|�Sdj|||d�S)z Convert range to the "ed" formatr#z{}z{},{})r�)r�r�r�rrrr�_format_range_context�s



r�c	cstdddddddd�}d	}	x�td
||�j|�D]�}
|	s�d}	|rjdj|�nd
}|r�dj|�nd
}dj|||�Vdj|||�Vn|
d|
d}
}d|Vt|
d|d�}dj||�Vtdd�|
D��roxW|
D]L\}}}}}|dkrx(|||�D]}|||VqNWqqWnt|
d|d�}dj||�Vtdd�|
D��rCxW|
D]L\}}}}}|dkr�x(|||�D]}|||Vq�Wq�q�WqCqCWd
S)ah
    Compare two sequences of lines; generate the delta as a context diff.

    Context diffs are a compact way of showing line changes and a few
    lines of context.  The number of context lines is set by 'n' which
    defaults to three.

    By default, the diff control lines (those with *** or ---) are
    created with a trailing newline.  This is helpful so that inputs
    created from file.readlines() result in diffs that are suitable for
    file.writelines() since both the inputs and outputs have trailing
    newlines.

    For inputs that do not have trailing newlines, set the lineterm
    argument to "" so that the output will be uniformly newline free.

    The context diff format normally has a header for filenames and
    modification times.  Any or all of these may be specified using
    strings for 'fromfile', 'tofile', 'fromfiledate', and 'tofiledate'.
    The modification times are normally expressed in the ISO 8601 format.
    If not specified, the strings default to blanks.

    Example:

    >>> print(''.join(context_diff('one\ntwo\nthree\nfour\n'.splitlines(True),
    ...       'zero\none\ntree\nfour\n'.splitlines(True), 'Original', 'Current')),
    ...       end="")
    *** Original
    --- Current
    ***************
    *** 1,4 ****
      one
    ! two
    ! three
      four
    --- 1,4 ----
    + zero
      one
    ! tree
      four
    rKz+ rJz- rIz! rLz  FNTz	{}rz
*** {}{}{}z
--- {}{}{}rr#z***************r�z
*** {} ****{}css*|] \}}}}}|dkVqdS)rIrJN>�replace�deleter)rXrP�_rrrrYszcontext_diff.<locals>.<genexpr>rRr�z
--- {} ----{}css*|] \}}}}}|dkVqdS)rIrKN>�replace�insertr)rXrPr�rrrrY
srS)�dictrrWr�r��any)rrr�r�r�r�r1r��prefixr�rVr�r�ryr�r�rPrDrFr�rir�rErGrrrr�s2,!"	cCst||�j||�S)a
    Compare `a` and `b` (lists of strings); return a `Differ`-style delta.

    Optional keyword parameters `linejunk` and `charjunk` are for filter
    functions (or None):

    - linejunk: A function that should accept a single string argument, and
      return true iff the string is junk.  The default is None, and is
      recommended; as of Python 2.3, an adaptive notion of "noise" lines is
      used that does a good job on its own.

    - charjunk: A function that should accept a string of length 1. The
      default is module-level function IS_CHARACTER_JUNK, which filters out
      whitespace characters (a blank or tab; note: bad idea to include newline
      in this!).

    Tools/scripts/ndiff.py is a command-line front-end to this function.

    Example:

    >>> diff = ndiff('one\ntwo\nthree\n'.splitlines(keepends=True),
    ...              'ore\ntree\nemu\n'.splitlines(keepends=True))
    >>> print(''.join(diff), end="")
    - one
    ?  ^
    + ore
    ?  ^
    - two
    - three
    ?  -
    + tree
    + emu
    )rru)rrrlrmrrrrs"c#s�ddl}|jd��t||||��ddg�fdd����fdd���fdd	�}|�}|dkr�xCt|�Vq�Wn1|d
7}d}xddg|}	}
d}xL|dkrt|�\}}
}|	|}||
|f|
|<|	d
7}	q�W|	|kr2dV|}n|	}d}	x1|rq|	|}|	d
7}	|
|V|d
8}qAW|d
}xJ|r�t|�\}}
}|r�|d
}n
|d
8}||
|fVqWq�WdS)
a�Returns generator yielding marked up from/to side by side differences.

    Arguments:
    fromlines -- list of text lines to compared to tolines
    tolines -- list of text lines to be compared to fromlines
    context -- number of context lines to display on each side of difference,
               if None, all from/to text lines will be generated.
    linejunk -- passed on to ndiff (see ndiff documentation)
    charjunk -- passed on to ndiff (see ndiff documentation)

    This function returns an iterator which returns a tuple:
    (from line tuple, to line tuple, boolean flag)

    from/to line tuple -- (line num, line text)
        line num -- integer or None (to indicate a context separation)
        line text -- original line text with following markers inserted:
            '\0+' -- marks start of added text
            '\0-' -- marks start of deleted text
            '\0^' -- marks start of changed text
            '\1' -- marks end of added/deleted/changed text

    boolean flag -- None indicates context separation, True indicates
        either "from" or "to" line contains a change, otherwise False.

    This function/iterator was originally developed to generate side by side
    file difference for making HTML pages (see HtmlDiff class for example
    usage).

    Note, this function utilizes the ndiff function to generate the side by
    side difference markup.  Optional ndiff arguments may be passed to this
    function and they in turn will be passed to ndiff.
    rNz
(\++|\-+|\^+)csH||d7<|dkr;|||jd�dd�fS|dkr|jd�|jd�}}g}|dd�}�j||�x_|ddd�D]J\}\}	}
|d|	�d|||	|
�d	||
d�}q�W|dd�}n:|jd�dd�}|s(d
}nd||d	}|||fS)aReturns line of text with user's change markup and line formatting.

        lines -- list of lines from the ndiff generator to produce a line of
                 text from.  When producing the line of text to return, the
                 lines used are removed from this list.
        format_key -- '+' return first line in list with "add" markup around
                          the entire line.
                      '-' return first line in list with "delete" markup around
                          the entire line.
                      '?' return first line in list with add/delete/change
                          intraline markup (indices obtained from second line)
                      None return first line in list with no markup
        side -- indice into the num_lines list (0=from,1=to)
        num_lines -- from/to current line number.  This is NOT intended to be a
                     passed parameter.  It is present as a keyword argument to
                     maintain memory of the current line numbers between calls
                     of this function.

        Note, this function is purposefully not defined at the module scope so
        that data it needs from its parent function (within whose context it
        is defined) does not need to be of module scope.
        r#Nrr��?cSs3|j|jd�d|j�g�|jd�S)Nr#r)r'rV�span)Zmatch_object�sub_inforrr�record_sub_infos&z3_mdiff.<locals>._make_line.<locals>.record_sub_info��rprS)r<�sub)�linesZ
format_key�sideZ	num_lines�textZmarkersr�r��keyZbegin�end)�	change_rerr�
_make_line^s !&<	z_mdiff.<locals>._make_linec3s_g}d\}}xFxOt|�dkrfy|jt���Wqtk
rb|jd�YqXqWdjdd�|D��}|jd�r�|}nR|jd�r��|dd��|dd	�d
fVqn|jd�r|d	8}�|dd�d
d
fVqn�|jd�rK�|dd�d
}}|d	d}}n�|jd�r��|d
d��|dd	�d
fVqng|jd�r��|dd��|d
d	�d
fVqn,|jd�r�|d	8}�|dd�d
d
fVqn�|jd�r3|d	7}d
�|dd	�d
fVqn�|jd�rod
�|dd	�}}|d	d}}n~|jd�r�|d	7}d
�|dd	�d
fVqnE|jd�r��|d
d
�d
d��|d
d	�dfVqnx|dkr|d	7}dVq�Wx|dkr0|d	8}d VqW|jd�rIt�q||d
fVqWd
S)!a�Yields from/to lines of text with a change indication.

        This function is an iterator.  It itself pulls lines from a
        differencing iterator, processes them and yields them.  When it can
        it yields both a "from" and a "to" line, otherwise it will yield one
        or the other.  In addition to yielding the lines of from/to text, a
        boolean flag is yielded to indicate if the text line(s) have
        differences in them.

        Note, this function is purposefully not defined at the module scope so
        that data it needs from its parent function (within whose context it
        is defined) does not need to be of module scope.
        rr��XrcSsg|]}|d�qS)rr)rXrirrrrb�s	z2_mdiff.<locals>._line_iterator.<locals>.<listcomp>z-?+?r�r#Tz--++rnN�--?+�--+�- z-+?z-?+z+--ro�+ �+-rpFr�)rr)r�r�r�)r�r��rr�)Nr�T�rr�)r�NT)r,r'�next�
StopIteration�join�
startswith)r�Znum_blanks_pendingZnum_blanks_to_yieldrh�	from_line�to_line)r��diff_lines_iteratorrr�_line_iterator�sl
	&
&&


0
	
		z_mdiff.<locals>._line_iteratorc3s���}gg}}x�x�t|�dks@t|�dkr�t|�\}}}|dk	rw|j||f�n|dk	r|j||f�qqW|jd�\}}|jd�\}}|||p�|fVqWdS)atYields from/to lines of text with a change indication.

        This function is an iterator.  It itself pulls lines from the line
        iterator.  Its difference from that iterator is that this function
        always yields a pair of from/to text lines (with the change
        indication).  If necessary it will collect single from/to lines
        until it has a matching pair from/to pair to yield.

        Note, this function is purposefully not defined at the module scope so
        that data it needs from its parent function (within whose context it
        is defined) does not need to be of module scope.
        rN)r,r�r'r<)Z
line_iterator�	fromlines�tolinesr�r��
found_diffZfromDiffZto_diff)r�rr�_line_pair_iterator�s
	
'z#_mdiff.<locals>._line_pair_iteratorr#F)NNN)�re�compilerr�)r�r��contextrlrmr�r�Zline_pair_iteratorZlines_to_write�indexZcontextLinesr�r�r�r.r)r�r�r�r�r�_mdiff4sJ"8[	

		

	
	

r�am
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>

<head>
    <meta http-equiv="Content-Type"
          content="text/html; charset=ISO-8859-1" />
    <title></title>
    <style type="text/css">%(styles)s
    </style>
</head>

<body>
    %(table)s%(legend)s
</body>

</html>aH
        table.diff {font-family:Courier; border:medium;}
        .diff_header {background-color:#e0e0e0}
        td.diff_header {text-align:right}
        .diff_next {background-color:#c0c0c0}
        .diff_add {background-color:#aaffaa}
        .diff_chg {background-color:#ffff77}
        .diff_sub {background-color:#ffaaaa}aZ
    <table class="diff" id="difflib_chg_%(prefix)s_top"
           cellspacing="0" cellpadding="0" rules="groups" >
        <colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup>
        <colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup>
        %(header_row)s
        <tbody>
%(data_rows)s        </tbody>
    </table>a�
    <table class="diff" summary="Legends">
        <tr> <th colspan="2"> Legends </th> </tr>
        <tr> <td> <table border="" summary="Colors">
                      <tr><th> Colors </th> </tr>
                      <tr><td class="diff_add">&nbsp;Added&nbsp;</td></tr>
                      <tr><td class="diff_chg">Changed</td> </tr>
                      <tr><td class="diff_sub">Deleted</td> </tr>
                  </table></td>
             <td> <table border="" summary="Links">
                      <tr><th colspan="2"> Links </th> </tr>
                      <tr><td>(f)irst change</td> </tr>
                      <tr><td>(n)ext change</td> </tr>
                      <tr><td>(t)op</td> </tr>
                  </table></td> </tr>
    </table>c@s�eZdZdZeZeZeZeZdZddde	dd�Z
dddd	d
d�Zdd
�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd�Zdddd	dd�ZdS)r
a{For producing HTML side by side comparison with change highlights.

    This class can be used to create an HTML table (or a complete HTML file
    containing the table) showing a side by side, line by line comparison
    of text with inter-line and intra-line change highlights.  The table can
    be generated in either full or contextual difference mode.

    The following methods are provided for HTML generation:

    make_table -- generates HTML for a single side by side table
    make_file -- generates complete HTML file with a single side by side table

    See tools/scripts/diff.py for an example usage of this class.
    r�NcCs(||_||_||_||_dS)a�HtmlDiff instance initializer

        Arguments:
        tabsize -- tab stop spacing, defaults to 8.
        wrapcolumn -- column number where lines are broken and wrapped,
            defaults to None where lines are not wrapped.
        linejunk,charjunk -- keyword arguments passed into ndiff() (used to by
            HtmlDiff() to generate the side by side HTML differences).  See
            ndiff() documentation for argument default values and descriptions.
        N)�_tabsize�_wrapcolumn�	_linejunk�	_charjunk)r�tabsizeZ
wrapcolumnrlrmrrrr�s			zHtmlDiff.__init__rF�cCsD|jtd|jd|jd|j||||d|d|��S)a�Returns HTML file of side by side comparison with change highlights

        Arguments:
        fromlines -- list of "from" lines
        tolines -- list of "to" lines
        fromdesc -- "from" file column header string
        todesc -- "to" file column header string
        context -- set to True for contextual differences (defaults to False
            which shows full differences).
        numlines -- number of context lines.  When context is set True,
            controls number of lines displayed before and after the change.
            When context is False, controls the number of lines to place
            the "next" link anchors before the next change (so click of
            "next" link jumps to just before the change).
        ZstylesZlegend�tabler��numlines)�_file_templater��_styles�_legend�
make_table)rr�r��fromdesc�todescr�r�rrr�	make_file�s
		zHtmlDiff.make_filecsN�fdd���fdd�|D�}�fdd�|D�}||fS)aReturns from/to line lists with tabs expanded and newlines removed.

        Instead of tab characters being replaced by the number of spaces
        needed to fill in to the next tab stop, this function will fill
        the space with tab characters.  This is done so that the difference
        algorithms can identify changes in a file when tabs are replaced by
        spaces and vice versa.  At the end of the HTML generation, the tab
        characters will be replaced with a nonbreakable space.
        csO|jdd�}|j�j�}|jdd�}|jdd�jd�S)Nrpr�r�r�)rI�
expandtabsr�r�)ri)rrr�expand_tabs�sz2HtmlDiff._tab_newline_replace.<locals>.expand_tabscsg|]}�|��qSrr)rXri)r�rrrb�s	z1HtmlDiff._tab_newline_replace.<locals>.<listcomp>csg|]}�|��qSrr)rXri)r�rrrb�s	r)rr�r�r)r�rr�_tab_newline_replace�s
	zHtmlDiff._tab_newline_replacecCsv|s|j||f�dSt|�}|j}||ks[||jd�d|krr|j||f�dSd}d}d}x�||kr
||kr
||dkr�|d7}||}|d7}q�||dkr�|d7}d}q�|d7}|d7}q�W|d|�}	||d�}
|rL|	d}	d||
}
n|j||	f�|j|d|
�dS)	a�Builds list of text lines by splitting text lines at wrap point

        This function will determine if the input text line needs to be
        wrapped (split) into separate lines.  If so, the first wrap point
        will be determined and the first line appended to the output
        text line list.  This function is used recursively to handle
        the second part of the split line to further split it.
        Nr�rRrrr#r��>)r'r,r��count�_split_line)rZ	data_listZline_numr�rOrTr.r1�markZline1Zline2rrrr��s8
	)



	

zHtmlDiff._split_lineccs�x�|D]�\}}}|dkr6|||fVqn||\}}\}}gg}	}
|j|	||�|j|
||�xZ|	s�|
r�|	r�|	jd�}nd}|
r�|
jd�}nd}|||fVq�WqWdS)z5Returns iterator that splits (wraps) mdiff text linesNrrrp)rrp)rrp)r�r<)r�diffs�fromdata�todata�flagZfromlineZfromtextZtolineZtotext�fromlist�tolistrrr�
_line_wrappers 
zHtmlDiff._line_wrappercCs�ggg}}}x�|D]�\}}}y<|j|jd||��|j|jd||��Wn,tk
r�|jd�|jd�YnX|j|�qW|||fS)z�Collects mdiff output into separate lists

        Before storing the mdiff from/to data into a list, it is converted
        into a single line of text with HTML markup.
        rr#N)r'�_format_line�	TypeError)rr�r�r��flaglistr�r�r�rrr�_collect_liness 

zHtmlDiff._collect_linescCs�y%d|}d|j||f}Wntk
r?d}YnX|jdd�jdd�jdd	�}|jd
d�j�}d|||fS)
aReturns HTML markup of "from" / "to" text lines

        side -- 0 or 1 indicating "from" or "to" text
        flag -- indicates if difference on line
        linenum -- line number (used for line number column)
        text -- line text to be marked up
        z%dz
 id="%s%s"r�&z&amp;r�z&gt;�<z&lt;rpz&nbsp;z<<td class="diff_header"%s>%s</td><td nowrap="nowrap">%s</td>)�_prefixr�rIr�)rr�r�Zlinenumr��idrrrr�2s

*zHtmlDiff._format_linecCs<dtj}dtj}tjd7_||g|_dS)zCreate unique anchor prefixeszfrom%d_zto%d_r#N)r
�_default_prefixr�)rZ
fromprefix�toprefixrrr�_make_prefixIs

zHtmlDiff._make_prefixcCsY|jd}dgt|�}dgt|�}d\}	}
d}x�t|�D]x\}}
|
r�|
s�d}
|}td||g�}d||	f||<|	d7}	d||	f||<q�qRd}
qRW|sdg}dg}dg}d}|r
dg}|}qd	g}}n|ds8d
||d<nd|||<|||||fS)
zMakes list of "next" linksr#rrFTz id="difflib_chg_%s_%d"z"<a href="#difflib_chg_%s_%d">n</a>z2<td></td><td>&nbsp;No Differences Found&nbsp;</td>z(<td></td><td>&nbsp;Empty File&nbsp;</td>z!<a href="#difflib_chg_%s_0">f</a>z#<a href="#difflib_chg_%s_top">t</a>)rF)r�r,r%rT)rr�r�r�r�r�r��next_id�	next_hrefZnum_chgZ	in_changer�r.r�rrr�_convert_flagsTs:


					
zHtmlDiff._convert_flagsc	Cs�|j�|j||�\}}|r1|}nd}t|||d|jd|j�}|jrv|j|�}n|j|�\}	}
}|j|	|
|||�\}	}
}}}
g}dd}x}t	t
|��D]i}||dkr|dkrD|jd�qDq�|j||
||||	||||
|f�q�W|sT|rudd	d
|d	d
|f}nd}|jt
ddj|�d
|d|jd�}|jdd�jdd�jdd�jdd�jdd�S)a�Returns HTML table of side by side comparison with change highlights

        Arguments:
        fromlines -- list of "from" lines
        tolines -- list of "to" lines
        fromdesc -- "from" file column header string
        todesc -- "to" file column header string
        context -- set to True for contextual differences (defaults to False
            which shows full differences).
        numlines -- number of context lines.  When context is set True,
            controls number of lines displayed before and after the change.
            When context is False, controls the number of lines to place
            the "next" link anchors before the next change (so click of
            "next" link jumps to just before the change).
        Nrlrmz1            <tr><td class="diff_next"%s>%s</td>%sz%<td class="diff_next">%s</td>%s</tr>
rz)        </tbody>        
        <tbody>
z <thead><tr>%s%s%s%s</tr></thead>z!<th class="diff_next"><br /></th>z+<th colspan="2" class="diff_header">%s</th>rZ	data_rows�
header_rowr�r#Z+z<span class="diff_add">Z-z<span class="diff_sub">Z^z<span class="diff_chg">r�z</span>r�z&nbsp;)r�r�r�r�r�r�r�r�r�r3r,r'�_table_templater�r�r�rI)rr�r�r�r�r�r�Z
context_linesr�r�r�r�r�r�rhZfmtr.r�r�rrrr��sJ
		$zHtmlDiff.make_table)r^r_r`rar�r�r�r�r�rrr�r�r�r�r�r�r�r�r�rrrrr
ts&		7/	ccs�y"idd6dd6t|�}Wn"tk
rFtd|��YnXd|f}x6|D].}|dd�|krZ|dd�VqZqZWdS)a0
    Generate one of the two sequences that generated a delta.

    Given a `delta` produced by `Differ.compare()` or `ndiff()`, extract
    lines originating from file 1 or 2 (parameter `which`), stripping off line
    prefixes.

    Examples:

    >>> diff = ndiff('one\ntwo\nthree\n'.splitlines(keepends=True),
    ...              'ore\ntree\nemu\n'.splitlines(keepends=True))
    >>> diff = list(diff)
    >>> print(''.join(restore(diff, 1)), end="")
    one
    two
    three
    >>> print(''.join(restore(diff, 2)), end="")
    ore
    tree
    emu
    z- r#z+ r�z)unknown delta choice (must be 1 or 2): %rz  N)�int�KeyErrorrc)ZdeltaZwhichrP�prefixesrirrrr�s"

cCs%ddl}ddl}|j|�S)Nr)�doctest�difflibZtestmod)r�r�rrr�_test�sr��__main__) ra�__all__rd�collectionsr
Z_namedtuplerrrrrkrr�r��matchrrr�r	r�rrr�r�r�r�r��objectr
rr�r^rrrr�<module>sL���0�O	GJ$�	
�] 


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.33 AM
root / linksafe
0755
__future__.cpython-34.pyc
4.07 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
__future__.cpython-34.pyo
4.07 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
__phello__.foo.cpython-34.pyc
0.131 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
__phello__.foo.cpython-34.pyo
0.131 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_bootlocale.cpython-34.pyc
1.022 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_bootlocale.cpython-34.pyo
0.992 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_collections_abc.cpython-34.pyc
23.388 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_collections_abc.cpython-34.pyo
23.388 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_compat_pickle.cpython-34.pyc
7.325 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_compat_pickle.cpython-34.pyo
7.253 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_dummy_thread.cpython-34.pyc
4.712 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_dummy_thread.cpython-34.pyo
4.712 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_markupbase.cpython-34.pyc
8.723 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_markupbase.cpython-34.pyo
8.54 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_osx_support.cpython-34.pyc
10.381 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_osx_support.cpython-34.pyo
10.381 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_pyio.cpython-34.pyc
63.411 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_pyio.cpython-34.pyo
63.386 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_sitebuiltins.cpython-34.pyc
3.591 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_sitebuiltins.cpython-34.pyo
3.591 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_strptime.cpython-34.pyc
15.409 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_strptime.cpython-34.pyo
15.409 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_sysconfigdata.cpython-34.pyc
24.485 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_sysconfigdata.cpython-34.pyo
24.485 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_threading_local.cpython-34.pyc
6.783 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_threading_local.cpython-34.pyo
6.783 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_weakrefset.cpython-34.pyc
8.267 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
_weakrefset.cpython-34.pyo
8.267 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
abc.cpython-34.pyc
7.692 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
abc.cpython-34.pyo
7.644 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
aifc.cpython-34.pyc
27.258 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
aifc.cpython-34.pyo
27.258 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
antigravity.cpython-34.pyc
0.827 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
antigravity.cpython-34.pyo
0.827 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
argparse.cpython-34.pyc
64.33 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
argparse.cpython-34.pyo
64.175 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
ast.cpython-34.pyc
12.07 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
ast.cpython-34.pyo
12.07 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
asynchat.cpython-34.pyc
8.163 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
asynchat.cpython-34.pyo
8.163 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
asyncore.cpython-34.pyc
17.542 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
asyncore.cpython-34.pyo
17.542 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
base64.cpython-34.pyc
17.868 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
base64.cpython-34.pyo
17.675 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
bdb.cpython-34.pyc
18.256 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
bdb.cpython-34.pyo
18.256 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
binhex.cpython-34.pyc
13.224 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
binhex.cpython-34.pyo
13.224 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
bisect.cpython-34.pyc
2.791 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
bisect.cpython-34.pyo
2.791 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
bz2.cpython-34.pyc
14.801 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
bz2.cpython-34.pyo
14.801 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
cProfile.cpython-34.pyc
4.514 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
cProfile.cpython-34.pyo
4.514 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
calendar.cpython-34.pyc
26.921 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
calendar.cpython-34.pyo
26.921 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
cgi.cpython-34.pyc
29.128 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
cgi.cpython-34.pyo
29.128 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
cgitb.cpython-34.pyc
10.805 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
cgitb.cpython-34.pyo
10.805 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
chunk.cpython-34.pyc
5.146 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
chunk.cpython-34.pyo
5.146 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
cmd.cpython-34.pyc
13.141 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
cmd.cpython-34.pyo
13.141 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
code.cpython-34.pyc
9.475 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
code.cpython-34.pyo
9.475 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
codecs.cpython-34.pyc
34.309 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
codecs.cpython-34.pyo
34.309 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
codeop.cpython-34.pyc
6.314 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
codeop.cpython-34.pyo
6.314 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
colorsys.cpython-34.pyc
3.573 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
colorsys.cpython-34.pyo
3.573 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
compileall.cpython-34.pyc
7.205 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
compileall.cpython-34.pyo
7.205 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
configparser.cpython-34.pyc
43.83 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
configparser.cpython-34.pyo
43.83 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
contextlib.cpython-34.pyc
10.127 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
contextlib.cpython-34.pyo
10.127 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
copy.cpython-34.pyc
7.872 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
copy.cpython-34.pyo
7.788 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
copyreg.cpython-34.pyc
4.499 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
copyreg.cpython-34.pyo
4.459 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
crypt.cpython-34.pyc
2.38 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
crypt.cpython-34.pyo
2.38 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
csv.cpython-34.pyc
12.692 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
csv.cpython-34.pyo
12.692 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
datetime.cpython-34.pyc
54.945 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
datetime.cpython-34.pyo
53.023 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
decimal.cpython-34.pyc
168.482 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
decimal.cpython-34.pyo
168.482 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
difflib.cpython-34.pyc
59.097 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
difflib.cpython-34.pyo
59.05 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
dis.cpython-34.pyc
14.245 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
dis.cpython-34.pyo
14.245 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
doctest.cpython-34.pyc
78.232 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
doctest.cpython-34.pyo
77.966 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
dummy_threading.cpython-34.pyc
1.186 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
dummy_threading.cpython-34.pyo
1.186 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
enum.cpython-34.pyc
15.956 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
enum.cpython-34.pyo
15.956 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
filecmp.cpython-34.pyc
8.906 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
filecmp.cpython-34.pyo
8.906 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fileinput.cpython-34.pyc
13.962 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fileinput.cpython-34.pyo
13.962 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fnmatch.cpython-34.pyc
3.072 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fnmatch.cpython-34.pyo
3.072 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
formatter.cpython-34.pyc
18.473 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
formatter.cpython-34.pyo
18.473 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fractions.cpython-34.pyc
18.818 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fractions.cpython-34.pyo
18.818 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
ftplib.cpython-34.pyc
32.541 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
ftplib.cpython-34.pyo
32.541 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
functools.cpython-34.pyc
23.061 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
functools.cpython-34.pyo
23.061 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
genericpath.cpython-34.pyc
3.411 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
genericpath.cpython-34.pyo
3.411 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
getopt.cpython-34.pyc
6.575 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
getopt.cpython-34.pyo
6.534 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
getpass.cpython-34.pyc
4.516 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
getpass.cpython-34.pyo
4.516 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
gettext.cpython-34.pyc
14.818 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
gettext.cpython-34.pyo
14.818 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
glob.cpython-34.pyc
2.813 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
glob.cpython-34.pyo
2.813 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
gzip.cpython-34.pyc
18.99 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
gzip.cpython-34.pyo
18.938 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
hashlib.cpython-34.pyc
7.758 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
hashlib.cpython-34.pyo
7.758 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
heapq.cpython-34.pyc
13.584 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
heapq.cpython-34.pyo
13.584 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
hmac.cpython-34.pyc
5.025 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
hmac.cpython-34.pyo
5.025 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
imaplib.cpython-34.pyc
42.46 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
imaplib.cpython-34.pyo
39.995 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
imghdr.cpython-34.pyc
4.046 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
imghdr.cpython-34.pyo
4.046 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
imp.cpython-34.pyc
9.636 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
imp.cpython-34.pyo
9.636 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
inspect.cpython-34.pyc
74.538 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
inspect.cpython-34.pyo
74.225 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
io.cpython-34.pyc
3.377 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
io.cpython-34.pyo
3.377 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
ipaddress.cpython-34.pyc
61.508 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
ipaddress.cpython-34.pyo
61.508 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
keyword.cpython-34.pyc
1.9 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
keyword.cpython-34.pyo
1.9 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
linecache.cpython-34.pyc
3.039 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
linecache.cpython-34.pyo
3.039 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
locale.cpython-34.pyc
36.402 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
locale.cpython-34.pyo
36.402 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
lzma.cpython-34.pyc
15.544 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
lzma.cpython-34.pyo
15.544 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
macpath.cpython-34.pyc
5.865 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
macpath.cpython-34.pyo
5.865 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
macurl2path.cpython-34.pyc
2.053 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
macurl2path.cpython-34.pyo
2.053 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
mailbox.cpython-34.pyc
68.641 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
mailbox.cpython-34.pyo
68.544 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
mailcap.cpython-34.pyc
6.391 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
mailcap.cpython-34.pyo
6.391 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
mimetypes.cpython-34.pyc
16.413 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
mimetypes.cpython-34.pyo
16.413 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
modulefinder.cpython-34.pyc
16.969 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
modulefinder.cpython-34.pyo
16.892 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
netrc.cpython-34.pyc
4.177 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
netrc.cpython-34.pyo
4.177 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
nntplib.cpython-34.pyc
35.459 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
nntplib.cpython-34.pyo
35.459 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
ntpath.cpython-34.pyc
12.993 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
ntpath.cpython-34.pyo
12.993 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
nturl2path.cpython-34.pyc
1.676 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
nturl2path.cpython-34.pyo
1.676 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
numbers.cpython-34.pyc
12.37 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
numbers.cpython-34.pyo
12.37 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
opcode.cpython-34.pyc
5.053 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
opcode.cpython-34.pyo
5.053 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
operator.cpython-34.pyc
12.479 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
operator.cpython-34.pyo
12.479 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
optparse.cpython-34.pyc
50.329 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
optparse.cpython-34.pyo
50.254 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
os.cpython-34.pyc
28.905 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
os.cpython-34.pyo
28.905 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pathlib.cpython-34.pyc
39.534 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pathlib.cpython-34.pyo
39.534 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pdb.cpython-34.pyc
48.313 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pdb.cpython-34.pyo
48.248 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pickle.cpython-34.pyc
45.883 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pickle.cpython-34.pyo
45.74 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pickletools.cpython-34.pyc
68.607 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pickletools.cpython-34.pyo
67.546 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pipes.cpython-34.pyc
8.233 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pipes.cpython-34.pyo
8.233 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pkgutil.cpython-34.pyc
17.188 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pkgutil.cpython-34.pyo
17.188 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
platform.cpython-34.pyc
30.441 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
platform.cpython-34.pyo
30.441 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
plistlib.cpython-34.pyc
29.444 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
plistlib.cpython-34.pyo
29.363 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
poplib.cpython-34.pyc
13.432 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
poplib.cpython-34.pyo
13.432 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
posixpath.cpython-34.pyc
9.579 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
posixpath.cpython-34.pyo
9.579 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pprint.cpython-34.pyc
11.191 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pprint.cpython-34.pyo
11.03 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
profile.cpython-34.pyc
14.796 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
profile.cpython-34.pyo
14.549 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pstats.cpython-34.pyc
23.12 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pstats.cpython-34.pyo
23.12 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pty.cpython-34.pyc
4.126 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pty.cpython-34.pyo
4.126 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
py_compile.cpython-34.pyc
6.696 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
py_compile.cpython-34.pyo
6.696 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pyclbr.cpython-34.pyc
8.977 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pyclbr.cpython-34.pyo
8.977 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pydoc.cpython-34.pyc
88.784 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
pydoc.cpython-34.pyo
88.725 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
queue.cpython-34.pyc
9.045 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
queue.cpython-34.pyo
9.045 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
quopri.cpython-34.pyc
6.295 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
quopri.cpython-34.pyo
6.09 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
random.cpython-34.pyc
18.612 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
random.cpython-34.pyo
18.612 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
re.cpython-34.pyc
14.209 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
re.cpython-34.pyo
14.209 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
reprlib.cpython-34.pyc
5.734 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
reprlib.cpython-34.pyo
5.734 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
rlcompleter.cpython-34.pyc
5.562 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
rlcompleter.cpython-34.pyo
5.562 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
runpy.cpython-34.pyc
7.571 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
runpy.cpython-34.pyo
7.571 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
sched.cpython-34.pyc
6.419 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
sched.cpython-34.pyo
6.419 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
selectors.cpython-34.pyc
16.352 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
selectors.cpython-34.pyo
16.352 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
shelve.cpython-34.pyc
9.722 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
shelve.cpython-34.pyo
9.722 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
shlex.cpython-34.pyc
7.342 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
shlex.cpython-34.pyo
7.342 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
shutil.cpython-34.pyc
32.241 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
shutil.cpython-34.pyo
32.241 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
site.cpython-34.pyc
17.55 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
site.cpython-34.pyo
17.55 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
smtpd.cpython-34.pyc
25.067 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
smtpd.cpython-34.pyo
25.067 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
smtplib.cpython-34.pyc
32.353 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
smtplib.cpython-34.pyo
32.28 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
sndhdr.cpython-34.pyc
6.61 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
sndhdr.cpython-34.pyo
6.61 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
socket.cpython-34.pyc
17.687 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
socket.cpython-34.pyo
17.638 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
socketserver.cpython-34.pyc
22.71 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
socketserver.cpython-34.pyo
22.71 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
sre_compile.cpython-34.pyc
11.655 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
sre_compile.cpython-34.pyo
11.502 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
sre_constants.cpython-34.pyc
5.45 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
sre_constants.cpython-34.pyo
5.45 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
sre_parse.cpython-34.pyc
19.764 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
sre_parse.cpython-34.pyo
19.764 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
ssl.cpython-34.pyc
26.961 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
ssl.cpython-34.pyo
26.961 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
stat.cpython-34.pyc
3.494 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
stat.cpython-34.pyo
3.494 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
statistics.cpython-34.pyc
16.756 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
statistics.cpython-34.pyo
16.461 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
string.cpython-34.pyc
8.18 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
string.cpython-34.pyo
8.18 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
stringprep.cpython-34.pyc
13.316 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
stringprep.cpython-34.pyo
13.255 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
struct.cpython-34.pyc
0.339 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
struct.cpython-34.pyo
0.339 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
subprocess.cpython-34.pyc
42.343 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
subprocess.cpython-34.pyo
42.232 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
sunau.cpython-34.pyc
17.88 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
sunau.cpython-34.pyo
17.88 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
symbol.cpython-34.pyc
2.6 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
symbol.cpython-34.pyo
2.6 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
symtable.cpython-34.pyc
11.04 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
symtable.cpython-34.pyo
10.921 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
sysconfig.cpython-34.pyc
16.882 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
sysconfig.cpython-34.pyo
16.882 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
tabnanny.cpython-34.pyc
7.567 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
tabnanny.cpython-34.pyo
7.567 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
tarfile.cpython-34.pyc
66.445 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
tarfile.cpython-34.pyo
66.445 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
telnetlib.cpython-34.pyc
18.939 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
telnetlib.cpython-34.pyo
18.939 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
tempfile.cpython-34.pyc
21.07 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
tempfile.cpython-34.pyo
21.07 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
textwrap.cpython-34.pyc
13.477 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
textwrap.cpython-34.pyo
13.393 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
this.cpython-34.pyc
1.285 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
this.cpython-34.pyo
1.285 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
threading.cpython-34.pyc
38.052 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
threading.cpython-34.pyo
37.355 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
timeit.cpython-34.pyc
10.803 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
timeit.cpython-34.pyo
10.803 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
token.cpython-34.pyc
3.53 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
token.cpython-34.pyo
3.53 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
tokenize.cpython-34.pyc
19.483 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
tokenize.cpython-34.pyo
19.435 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
trace.cpython-34.pyc
23.617 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
trace.cpython-34.pyo
23.562 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
traceback.cpython-34.pyc
10.831 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
traceback.cpython-34.pyo
10.831 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
tracemalloc.cpython-34.pyc
16.729 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
tracemalloc.cpython-34.pyo
16.729 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
tty.cpython-34.pyc
1.119 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
tty.cpython-34.pyo
1.119 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
types.cpython-34.pyc
5.43 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
types.cpython-34.pyo
5.43 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
uu.cpython-34.pyc
3.927 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
uu.cpython-34.pyo
3.927 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
uuid.cpython-34.pyc
21.352 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
uuid.cpython-34.pyo
21.291 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
warnings.cpython-34.pyc
11.98 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
warnings.cpython-34.pyo
11.266 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
wave.cpython-34.pyc
18.687 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
wave.cpython-34.pyo
18.627 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
weakref.cpython-34.pyc
19.868 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
weakref.cpython-34.pyo
19.832 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
webbrowser.cpython-34.pyc
16.73 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
webbrowser.cpython-34.pyo
16.692 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
xdrlib.cpython-34.pyc
8.791 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
xdrlib.cpython-34.pyo
8.791 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
zipfile.cpython-34.pyc
44.746 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
zipfile.cpython-34.pyo
44.698 KB
17 Apr 2024 5.10 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF