/usr/lib64/python2.6/site-packages/mx
NameSizeModeActions
BeeBase/-0755rm
DateTime/-0755rm
Misc/-0755rm
Proxy/-0755rm
Queue/-0755rm
Stack/-0755rm
TextTools/-0755rm
Tools/-0755rm
UID/-0755rm
URL/-0755rm
Log.py230780644editdlrm
Log.pyc226590644editdlrm
Log.pyo226590644editdlrm
NewBuiltins.py4540644editdlrm
NewBuiltins.pyc6320644editdlrm
NewBuiltins.pyo6320644editdlrm
__init__.py11430644editdlrm
__init__.pyc9800644editdlrm
__init__.pyo9800644editdlrm
Edit: /usr/lib64/python2.6/site-packages/mx/Log.pyo (22659B)
Ñò fÑNc @sždZddkZddkZddkZddkZddklZlZeeeeef\ZZ Z Z Z [[[[[ddk Z[dZdZdZdZdZd Zd Zd Zd Zd ZdZdZdZeZdZd Zd ZdZe i e i!e i"e i#e i$e i%e&fZ'e(d„Z)e(d„Z*e(d„Z+d„Z,ei-ddde'e(d„Z.ei-ddde'e(d„Z/dddfe(d„Z0ei-ddfe i1d„Z2ei-ddfe(e i1d„Z3ei-ddfe(d„Z4ei-d dd „Z5ei-d ddd!„Z6ei-e ed"„Z7de(d#„Z8d$fd%„ƒYZ9e:o ei;ƒoe9eƒZ<ne9edƒZ<dS(&sé Standard Logging Interface Creates an object log, that can be used for global logging activities. The properties can later be changed by calling log.setup(). It is safe to do a 'from mx.Log import *'. Copyright (c) 1999-2000, Marc-Andre Lemburg; mailto:mal@lemburg.com Copyright (c) 2000-2008, eGenix.com Software GmbH; mailto:info@egenix.com See the documentation for further information on copyrights, or contact the author. All Rights Reserved. iÿÿÿÿN(tDateTimetToolsiiii i idiôiXi¸ ièiÐi'iPi2cOs`|djotiƒd}nx|idjo |i}q$Wtt|if||ƒdS(s: Print a listing of the traceback's locals() to file. iN(tNonet_systexc_infottb_nexttapplytprint_frame_localsttb_frame(ttbtargstkws((s,/usr/lib64/python2.6/site-packages/mx/Log.pytprint_tb_locals;s  cOs`|djotiƒd}nx|idjo |i}q$Wtt|if||ƒdS(s; Print a listing of the traceback's globals() to file. iN(RRRRRtprint_frame_globalsR(R R R ((s,/usr/lib64/python2.6/site-packages/mx/Log.pytprint_tb_globalsGs  cOs—|djotiƒd}nx|idjo |i}q$W|ii|iij ott|if||ƒntt |if||ƒdS(s© Print a listing of the traceback's locals() and globals() to file. If locals() and globals() are the same object, only the globals() are printed. iN( RRRRRtf_localst f_globalsRRR (R R R ((s,/usr/lib64/python2.6/site-packages/mx/Log.pyt print_tb_varsSs cCs0t|ƒtijo|d djodSdS(s… Filters all attributes which start with an underscore. For use as filter argument to one of the print_xxx() APIs. it_i(ttypet_typest StringType(tkey((s,/usr/lib64/python2.6/site-packages/mx/Log.pytfilter_private_attributesfss# s### Dump of local variables: c Cs>|o|i|ƒnt|i|||d|d|ƒdS(s7 Print a listing of the locals() in frame to file. t nonrecursivetfilterN(twritet print_dictR(tframetfiletindentttitletlevelsRR((s,/usr/lib64/python2.6/site-packages/mx/Log.pyRrs s### Dump of global variables: c Cs>|o|i|ƒnt|i|||d|d|ƒdS(s8 Print a listing of the globals() in frame to file. RRN(RRR(RRRRR RR((s,/usr/lib64/python2.6/site-packages/mx/Log.pyR €s tc Csœ|iƒ}|iƒt|ƒtjo|t }|id ƒnxQ|D]I\}} |d j o||ƒpqKq|n|o$yt|ƒ} Wq³d} q³Xn t|ƒ} yt| ƒ} Wn d} nXt| ƒtjo| t d} nt| ƒt jo| t d} n|o|i d|| | fƒn|i d|| | fƒ|djo+t | ||d|dd|d |ƒqKqKWd S( s™ Print dictionary to file. reprkeys=1 will print the items using repr() for keys as well. indent is prepended to all lines. levels indicates the number of recursion levels to be printed. filter may be given as callable taking the dictionary key as input. It should then return 1 for keys which should be displayed and 0 for ones which should be skipped. s...s...truncated...s*repr()-error*s%s %-15s = %s s%s.%-15s = %s is RRN(s...s...truncated...( titemstsorttlent_DICT_LEN_LIMITtappendRtreprtstrt_NAME_LEN_LIMITt_VALUE_LEN_LIMITRtprint_recursive( tdictRRR treprkeysRRtltktvtntr((s,/usr/lib64/python2.6/site-packages/mx/Log.pyRŽs<          c Cs£g}d}yt|ƒ}Wntttfj odSXx¾tt|tƒƒD]§} y|| } WnPnXyt| ƒ} Wn d} nXt| ƒtjo| t d} n|i| | fƒt | ƒ|jpt| ƒdjo d}qRqRWt|ƒtjo|id ƒn|owxtt |ƒD]b\} \} } |i d|d| | fƒ|djo%t | ||d|dd |ƒq5q5WndS( Nis*repr()-error*s...is...truncated...s %s%-15s = %s s[%i]s R(s...s...truncated...( R$tAttributeErrort ValueErrort TypeErrorttrangetminR*R'R&RtirangeRR+( tobjRRR RRR.tunfoldtlengthtitvalueR2trvalue((s,/usr/lib64/python2.6/site-packages/mx/Log.pytprint_sequence½s< &  c CsRy)t|ƒ|jp ||jodSWndSXt|dƒo6|idj o&t|i|||d|d|ƒnÕt|dƒo&t||||dd|d|ƒnŸt|ƒo1t|ƒ|j ot||||d|ƒnat|dƒoPh}x$|iD]}t||ƒ||sˆ0$      .     ÿ€