/usr/lib64/python2.6/site-packages/jinja2
NameSizeModeActions
bccache.py112940644editdlrm
bccache.pyc134770644editdlrm
bccache.pyo134770644editdlrm
compiler.py559230644editdlrm
compiler.pyc509150644editdlrm
compiler.pyo508450644editdlrm
constants.py62290644editdlrm
constants.pyc76970644editdlrm
constants.pyo76970644editdlrm
debug.py99270644editdlrm
debug.pyc101660644editdlrm
debug.pyo100940644editdlrm
defaults.py10500644editdlrm
defaults.pyc16140644editdlrm
defaults.pyo16140644editdlrm
environment.py346510644editdlrm
environment.pyc345220644editdlrm
environment.pyo341030644editdlrm
exceptions.py30730644editdlrm
exceptions.pyc47210644editdlrm
exceptions.pyo47210644editdlrm
ext.py181070644editdlrm
ext.pyc176810644editdlrm
ext.pyo176140644editdlrm
filters.py218060644editdlrm
filters.pyc247740644editdlrm
filters.pyo247740644editdlrm
lexer.py246640644editdlrm
lexer.pyc205660644editdlrm
lexer.pyo203970644editdlrm
loaders.py115070644editdlrm
loaders.pyc132180644editdlrm
loaders.pyo132180644editdlrm
meta.py28460644editdlrm
meta.pyc36670644editdlrm
meta.pyo36670644editdlrm
nodes.py234640644editdlrm
nodes.pyc381880644editdlrm
nodes.pyo376930644editdlrm
optimizer.py23020644editdlrm
optimizer.pyc28730644editdlrm
optimizer.pyo28730644editdlrm
parser.py306760644editdlrm
parser.pyc288520644editdlrm
parser.pyo288520644editdlrm
runtime.py176050644editdlrm
runtime.pyc214470644editdlrm
runtime.pyo214110644editdlrm
sandbox.py92600644editdlrm
sandbox.pyc97180644editdlrm
sandbox.pyo97180644editdlrm
tests.py32660644editdlrm
tests.pyc49220644editdlrm
tests.pyo49220644editdlrm
utils.py248940644editdlrm
utils.pyc315080644editdlrm
utils.pyo315080644editdlrm
visitor.py33160644editdlrm
visitor.pyc38500644editdlrm
visitor.pyo38500644editdlrm
_ipysupport.py9490644editdlrm
_ipysupport.pyc17760644editdlrm
_ipysupport.pyo17760644editdlrm
_speedups.so82320755editdlrm
_stringdefs.py4042560644editdlrm
_stringdefs.pyc2085250644editdlrm
_stringdefs.pyo2085250644editdlrm
__init__.py21950644editdlrm
__init__.pyc23960644editdlrm
__init__.pyo23960644editdlrm
Edit: /usr/lib64/python2.6/site-packages/jinja2/debug.pyc (10166B)
Ñò “ËyJc @s:dZddkZddkZddklZlZlZddklZy ddUWn1e j o dZ ne j o dZ nXde fd „ƒYZ d e fd „ƒYZdd „Zdd „Zdd„Zd„Zd„ZyddklZWn0ej o$y eƒZWq3dZq3XnX[dS(sQ jinja2.debug ~~~~~~~~~~~~ Implements the debug interface for Jinja. This module does some pretty ugly stuff with the Python traceback system in order to achieve tracebacks with correct line numbers, locals and contents. :copyright: (c) 2009 by the Jinja Team. :license: BSD, see LICENSE for more details. iÿÿÿÿN(tCodeTypetmissingt internal_code(tTemplateSyntaxErrorsraise TypeError, 'foo'sraise __jinja_exception__[1]s4raise __jinja_exception__[0], __jinja_exception__[1]tTracebackFrameProxycBsVeZdZd„Zd„Zd„ZeeeƒZ[[ed„ƒZd„Z RS(sProxies a traceback frame.cCs ||_dS(N(ttb(tselfR((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pyt__init__scCs?tdj o%t|i|o |ipdƒn||_dS(N(t tb_set_nexttNoneRt_tb_next(Rtnext((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pyt _set_tb_next"s %cCs|iS(N(R (R((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pyt _get_tb_next'scCsd|iiijS(Nt__jinja_template__(Rttb_framet f_globals(R((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pytis_jinja_frame-scCst|i|ƒS(N(tgetattrR(Rtname((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pyt __getattr__1s( t__name__t __module__t__doc__RR R tpropertyttb_nextRR(((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pyRs   tProcessedTracebackcBseeZdZd„Zd„Zdd„Zed„Ze d„ƒZ e d„ƒZ e d„ƒZ RS( s>Holds a Jinja preprocessed traceback for priting or reraising.cCs0|p td‚||_||_||_dS(Nsno frames for this traceback?(tAssertionErrortexc_typet exc_valuetframes(RRRR((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pyR8s  cCsGd}x1|iD]&}|dj o ||_n|}qWd|_dS(s>Chains the frames. Requires ctypes or the speedups extension.N(R RR(Rtprev_tbR((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pyt chain_frames>s    cCs;ti|i|i|idd|ƒ}di|ƒiƒS(s#Return a string with the traceback.itlimitt(t tracebacktformat_exceptionRRRtjointrstrip(RR!tlines((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pytrender_as_textGscCs<ddkl}d||d|ƒ|iƒiddƒfS(s<Return a unicode string with the traceback as rendered HTML.iÿÿÿÿ(trender_tracebacku%s tfullsutf-8treplace(tjinja2.debugrendererR)R(tdecode(RR*R)((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pytrender_as_htmlMscCst|itƒS(s*`True` if this is a template syntax error.(t isinstanceRR(R((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pytis_template_syntax_errorUscCs|i|i|idfS(s;Exception info tuple with a proxy around the frame objects.i(RRR(R((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pytexc_infoZscCs|i|i|idifS(s'Standard python exc_info for re-raisingi(RRRR(R((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pytstandard_exc_info_sN( RRRRR R R(tFalseR.RR0R1R2(((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pyR5s   cCsK|\}}}t|tƒot||ƒ}d}nd}t||ƒS(s7Creates a processed traceback object from the exc_info.ii(R/Rttranslate_syntax_errorttranslate_exception(R1t source_hintRRRt initial_skip((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pytmake_tracebackes  cCsZ||_t|_t|ƒ|df}|i}|djo d}nt|||iƒS(s4Rewrites a syntax error to please traceback systems.s N(tsourcetTruet translatedttypeR tfilenamet fake_exc_infotlineno(terrorR9R1R=((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pyR4ps     ic CsY|d}g}x.t|ƒD] }|dj o |i}qqW|}x³|dj o¥|iitjo|i}qJn|i}|iiidƒ}|dj o:|i|i ƒ}t |d |f|i |ƒd}n|i t |ƒƒ|}qJW|p|d|d|d‚nt|d|d|ƒ} tdj o| iƒn| S(s„If passed an exc_info it will automatically rewrite the exceptions all the way down to the correct line numbers and frames. iRiiN(txrangeR RRtf_codeRRtgettget_corresponding_linenot tb_linenoR>R=tappendRRRR ( R1R7RRtxt initial_tbR ttemplateR?R#((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pyR5{s4         cBs|\}}}|dj ož|iiiƒ}|idƒ}|o|iƒ}nh}xI|iƒD];\} } | idƒo| ej o| || dªsR          cstddk‰ddkl‰tˆidƒo ˆi}n ˆi}dˆifd„ƒY}d|fdˆi|ƒfg|_ t i ˆi |ƒjoedˆifd „ƒY}d ˆi|ƒfd ˆi|ƒfd|fdˆi|ƒfg|_ nd |fd „ƒY‰dˆiˆƒfdˆi|ƒfdˆifdˆifgˆ_ ‡‡‡fd†}|S(sµThis function implements a few ugly things so that we can patch the traceback objects. The function returned allows resetting `tb_next` on any python traceback object. iÿÿÿÿN(t TracebackTypetPy_InitModule4_64t _PyObjectcBseZRS((RR(((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pyRoþst ob_refcnttob_typecBseZRS((RR(((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pyRost_ob_nextt_ob_prevt _TracebackcBseZRS((RR(((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pyRtsRRttb_lastiREcsít|ˆƒo|djp t|ˆƒptdƒ‚nˆit|ƒƒ}|idj o+ˆit|iƒƒ}|id8_n|djoˆiˆƒƒ|_n7ˆit|ƒƒ}|id7_ˆi|ƒ|_dS(s0Set the tb_next attribute of a traceback object.s/tb_set_next arguments must be traceback objectsiN( R/R t TypeErrort from_addresstidRRptPOINTERtpointer(RR tobjtold(RttctypesRm(s2/usr/lib64/python2.6/site-packages/jinja2/debug.pyRs ( R}ttypesRmthasattrt pythonapitc_int64tc_intt StructureRyt_fields_tobjectt __basicsize__tsizeof(t _Py_ssize_tRoR((RtR}Rms2/usr/lib64/python2.6/site-packages/jinja2/debug.pyt_init_ugly_crapïs*      (R(RRcR#t jinja2.utilsRRRtjinja2.exceptionsRt SyntaxErrorRXRvR…RRR R8R4R5R>R‰tjinja2._speedupsRt ImportError(((s2/usr/lib64/python2.6/site-packages/jinja2/debug.pyt s2     0 / E >