Prv8 Shell
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4
System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64
User : jackjohn ( 502)
PHP Version : 5.3.17
Disable Function : NONE
Directory :  /usr/lib64/python2.6/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.6/pprint.pyo
Ñò
§ÚêLc	@sùdZddkZddkZddklZdddddd	gZd
iZ	e
ZeZ
eZddddd
„Zdddd„Zd„Zd„Zd„Zd„Zd	dd„ƒYZd„Zd„Zdd„ZedjoeƒndS(s/Support to pretty-print lists, tuples, & dictionaries recursively.

Very simple, but useful, especially in debugging data structures.

Classes
-------

PrettyPrinter()
    Handle pretty-printing operations onto a stream using a configured
    set of formatting parameters.

Functions
---------

pformat()
    Format a Python object into a pretty-printed representation.

pprint()
    Pretty-print a Python object to a stream [default is sys.stdout].

saferepr()
    Generate a 'standard' repr()-like value, but protect against recursive
    data structures.

iÿÿÿÿN(tStringIOtpprinttpformatt
isreadabletisrecursivetsafereprt
PrettyPrinters, iiPc	Cs2td|d|d|d|ƒ}|i|ƒdS(sAPretty-print a Python object to a stream [default is sys.stdout].tstreamtindenttwidthtdepthN(RR(tobjectRRR	R
tprinter((s/usr/lib64/python2.6/pprint.pyR4scCs"td|d|d|ƒi|ƒS(s<Format a Python object into a pretty-printed representation.RR	R
(RR(RRR	R
((s/usr/lib64/python2.6/pprint.pyR:scCst|hddƒdS(s=Version of repr() which can handle recursive data structures.iN(t
_safe_reprtNone(R((s/usr/lib64/python2.6/pprint.pyR>scCst|hddƒdS(s4Determine if saferepr(object) is readable by eval().iiN(R
R(R((s/usr/lib64/python2.6/pprint.pyRBscCst|hddƒdS(s8Determine if object requires a recursive representation.iiN(R
R(R((s/usr/lib64/python2.6/pprint.pyRFscCsMtiƒiiƒz/tiotiddtƒnt|ƒSWdQXdS(Ntignores%comparing unequal types not supported(	twarningstcatch_warningst__exit__t	__enter__t_systpy3kwarningtfilterwarningstDeprecationWarningtsorted(titerable((s/usr/lib64/python2.6/pprint.pyt_sortedJs

cBs\eZddd
d
d„Zd„Zd„Zd„Zd„Zd„Zd„Z	d	„Z
RS(iiPcCs]t|ƒ}t|ƒ}||_||_||_|dj	o
||_n
ti|_dS(sòHandle pretty printing operations onto a stream using a set of
        configured parameters.

        indent
            Number of spaces to indent for each level of nesting.

        width
            Attempted maximum number of columns in the output.

        depth
            The maximum depth to print out nested structures.

        stream
            The desired output stream.  If omitted (or false), the standard
            output stream available at construction will be used.

        N(tintt_deptht_indent_per_levelt_widthRt_streamRtstdout(tselfRR	R
R((s/usr/lib64/python2.6/pprint.pyt__init__Rs			

cCs3|i||iddhdƒ|iidƒdS(Nis
(t_formatRtwrite(R!R((s/usr/lib64/python2.6/pprint.pyRqscCs/tƒ}|i||ddhdƒ|iƒS(Ni(t	_StringIOR#tgetvalue(R!Rtsio((s/usr/lib64/python2.6/pprint.pyRus	cCs|i|hddƒdS(Nii(tformat(R!R((s/usr/lib64/python2.6/pprint.pyRzscCs-|i|hddƒ\}}}|o|S(Ni(R((R!Rtstreadablet	recursive((s/usr/lib64/python2.6/pprint.pyR}s!cCs3|d}t|ƒ}||jo*|it|ƒƒt|_t|_dS|i|||dƒ}t|ƒ}	t	|ƒ|i
d||j}
|i}|io||ijo||ƒdSt|	ddƒ}t|	tƒo­|tijo|dƒ|idjo||iddƒnt	|ƒ}
|
oHd||<||i}t|iƒƒ}|d\}}|i|||ƒ}||ƒ|dƒ|i|||t	|ƒd|d||ƒ|
djo“x|dD]€\}}|i|||ƒ}|
o|dd||fƒn|d	|ƒ|i|||t	|ƒd|d||ƒqåWn||i}||=n|d
ƒdSt|	tƒo|tijp`t|	tƒo|tijp@t|	tƒo|tijp t|	tƒo!|tijot	|ƒ}
t|	tƒo|dƒd}n±t|	tƒo@|
p|d
ƒdS|dƒd}t|ƒ}|d7}nat|	tƒo@|
p|dƒdS|dƒd}t|ƒ}|d7}n|dƒd}|idjo |
o||iddƒn|
oÀd||<||i}|i|d|||d||ƒ|
djo`x]|dD]M}|
o|dd|ƒn|dƒ|i||||d||ƒq~Wn||i}||=nt|	tƒo|
djo|dƒn||ƒdS||ƒdS(Nit__repr__t{t is: is,
%s%s: s, %s: t}t[t]sset()sset([s])isfrozenset()sfrozenset([i
t(t)s,
s, t,(t_idR$t
_recursiontTruet
_recursivetFalset	_readablet_reprt_typet_lenRRtgetattrRt
issubclasstdictR,RRtitemsR#tlistttupletsett	frozenset(R!RRRt	allowancetcontexttleveltobjidtrepttyptsepLinesR$trtlengthRAtkeytenttendchar((s/usr/lib64/python2.6/pprint.pyR#s¶

		!	
 







    













cCsV|i||iƒ|i|ƒ\}}}|p
t|_n|o
t|_n|S(N(R(tcopyRR9R:R7R8(R!RRGRHtreprR*R+((s/usr/lib64/python2.6/pprint.pyR;äs

cCst||||ƒS(sÈFormat object for a specific context, returning a string
        and flags indicating whether the representation is 'readable'
        and whether the object represents a recursive construct.
        (R
(R!RRGt	maxlevelsRH((s/usr/lib64/python2.6/pprint.pyR(ísN(t__name__t
__module__RR"RRRRR#R;R((((s/usr/lib64/python2.6/pprint.pyRQs					c		c 
Cskt|ƒ}|tjoðdtijot|ƒttfSd|jo$d|jod}hdd6}nd}hdd6}|i}tƒ}|i	}	xI|D]A}
|
i
ƒo|	|
ƒq£|	||
t|
ƒdd!ƒƒq£Wd||iƒ|fttfSt|d	dƒ}t|tƒom|tijo]|pd
ttfSt|ƒ}|o!||jodt||jfS||jot|ƒttfSd||<t}
t}g}|i}|d7}t}xœt|iƒƒD]ˆ\}}|||||ƒ\}}}|||||ƒ\}}}|d||fƒ|
o|o|}
|p|o
t}qíqíW||=d
t|ƒ|
|fSt|tƒo|tijp t|tƒoy|tijoit|tƒo|pdttfSd}n9t|ƒdjo
d}n|pdttfSd}t|ƒ}|o%||jo|dt||jfS||jot|ƒttfSd||<t}
t}g}|i}|d7}xX|D]P}t||||ƒ\}}}||ƒ|p
t}
n|o
t}qÎqÎW||=|t|ƒ|
|fSt|ƒ}||o|idƒtfS(Ntlocalet't"s\"s\'iiÿÿÿÿs%s%s%sR,s{}s{...}s%s: %ss{%s}s[]s[%s]s(%s,)s()s(%s)s...t<(R<tstrRtmodulesRSR7R9tgetR%R$tisalphaR&R>RR?R@R,R5R6tappendR
RRAt
_commajoinRBRCR=t
startswith( RRGRTRHRKtclosuretquotestqgetR'R$tcharRMRIR*R+t
componentsR_Rtktvtkreprt	kreadabletkrecurtvreprt	vreadabletvrecurR(totoreprt	oreadabletorecurRJ((s/usr/lib64/python2.6/pprint.pyR
÷sœ

			
$! 

	
  



	


cCsdt|ƒit|ƒfS(Ns<Recursion on %s with id=%s>(R<RUR5(R((s/usr/lib64/python2.6/pprint.pyR6KscCsµddk}|djo1ddddghdd6d	d
6fgd}ntƒ}|iƒ}t|hddƒ|iƒ}|i|ƒ|iƒ}d
G||GHdG||GHdS(Niÿÿÿÿtstringiiiiiiiii †is_safe_repr:spformat:(ii(ttimeRRR
R(RRttptt1tt2tt3((s/usr/lib64/python2.6/pprint.pyt
_perfcheckPs
1	

t__main__((t__doc__tsysRRt	cStringIORR%t__all__tjoinR`tidR5tlenR=ttypeR<RRRRRRRRR
R6RyRU(((s/usr/lib64/python2.6/pprint.pyt<module>#s*						¦	T	



haha - 2025