KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21571/root/usr/lib64/python2.4/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21571/root/usr/lib64/python2.4/warnings.pyc
mò
‚=5Dc@s%dZdkZdkZdkZdddddgZgZdZhZddd	„Z	ddd
„Z
dd„Zd„Zd
e
d
ddd„Ze
ddd„Zd„Zdefd„ƒYZd„Zd„Zd„Zd„ZeeiƒeddeddƒeddeddƒdS(s&Python part of the warnings subsystem.Ntwarntshowwarningt
formatwarningtfilterwarningst
resetwarningstdefaultic
Csˆt|tƒo
|i}n|djo
t}nt|tƒpt‚yt	i
|ƒ}Wn"t
j
ot	i}d}nX|i}|i}d|jo|d}nd}|idƒ}|o>|iƒ}|idƒp|idƒo|d }qYnP|djo1yt	id	}WqHtj
o
d}qHXn|p
|}n|id
hƒ}	t||||||	ƒdS(s:Issue a warning, or maybe ignore it or raise an exception.it__name__s<string>t__file__s.pycs.pyoiÿÿÿÿt__main__it__warningregistry__N(t
isinstancetmessagetWarningt	__class__tcategorytNonetUserWarningt
issubclasstAssertionErrortsyst	_getframet
stackleveltcallert
ValueErrort__dict__tglobalstlinenot	f_globalstf_linenotmoduletgettfilenametlowertfnltendswithtargvtAttributeErrort
setdefaulttregistryt
warn_explicit(
RRRR!RRRRRR&((t /usr/lib64/python2.4/warnings.pyRs<


			
 

cCsu|djo6|pd}|diƒdjo|d }qCn|djo
h}nt|tƒot|ƒ}|i
}n|}||ƒ}|||f}	|i|	ƒodSnx’tD]„}
|
\}}}}
}|djp|i|ƒoLt||ƒo<|
djp|
i|ƒo|djp
||joPqÃqÃWt}|djod||	<dSn|djo
|‚n|djo<d||	<||f}ti|ƒodSndt|<n|d	jon~|d
jo?d||	<||df}|i|ƒodSnd||<n2|djod||	<ntd||
fƒ‚t||||ƒdS(
Ns	<unknown>iýÿÿÿs.pyitignoreiterrortoncetalwaysRRs1Unrecognized action (%r) in warnings.filters:
 %s(RRRR R&R
RRtstrttextR
RRtkeyRtfilterstitemtactiontmsgtcattmodtlntmatchRt
defaultactiontoncekeytonceregistrytaltkeytRuntimeErrorR(RRRRRR&R.R6R3R/R5R4R;R1R2R9((R(R'?sV




d	









cCsT|djo
ti}ny |it||||ƒƒWnt
j
onXdS(s7Hook to write a warning to a file; replace if you like.N(tfileRRtstderrtwriteRRRRRtIOError(RRRRR=((R(Rzs

 cCsRd|||i|f}ti||ƒiƒ}|o|d|d}n|S(s.Function to format a warning the standard way.s%s:%s: %s: %s
s  s
N(
RRRRRtst	linecachetgetlinetstriptline(RRRRRARE((R(RƒsticCsdk}|djptd|f‚t|tƒp
td	‚t|tiƒp
td
‚t	|t
ƒp
td‚t|tƒp
td‚t|t
ƒo
|d
jp
td‚||i||iƒ||i|ƒ|f}|oti|ƒntid
|ƒdS(s†Insert an entry into the list of warnings filters (at the front).

    Use assertions to check that all arguments have the right type.NR*R)R,RRR+sinvalid action: %rsmessage must be a stringscategory must be a classs#category must be a Warning subclasssmodule must be a stringislineno must be an int >= 0(serrorsignoresalwayssdefaultsmodulesonce(treR2RR
Rt
basestringRttypest	ClassTypeRRRRtinttcompiletIR1tappendR0tinsert(R2RRRRRNR1RG((R(R‹s	'-cCs†|djptd|f‚t|tƒo
|djp
td	‚|d
|d
|f}|ot	i|ƒnt	i
d|ƒd
S(sƒInsert a simple entry into the list of warnings filters (at the front).

    A simple filter matches all modules and messages.
    R*R)R,RRR+sinvalid action: %rislineno must be an int >= 0N(serrorsignoresalwayssdefaultsmodulesonce(R2RR
RRKRRR1RNR0RO(R2RRRNR1((R(tsimplefilter s'cCsgt(dS(sAClear the list of warning filters, so that no filters are active.N(R0(((R(R¯st_OptionErrorcBstZdZRS(s,Exception used by option processing helpers.(Rt
__module__t__doc__(((R(RQ³scCsNxG|D]?}yt|ƒWqtj
o}tidI|IJqXqWdS(NsInvalid -W option ignored:(targstargt
_setoptionRQR3RR>(RTR3RU((R(t_processoptions¸sc
Csldk}|idƒ}t|ƒdjotd|fƒ‚nx%t|ƒdjo|idƒqEWg}|D]}||i	ƒqu~\}}}}}	t|ƒ}|i|ƒ}t|ƒ}|i|ƒ}|o|d}n|	oZy't|	ƒ}	|	djo
t‚nWqRttfj
otd|	fƒ‚qRXnd}	t|||||	ƒdS(Nt:istoo many fields (max 5): %rRFt$isinvalid lineno %r(RGRUtsplittpartstlenRQRNt_[1]RARDR2RRRRt
_getactiontescapet_getcategoryRKRt
OverflowErrorR(
RURRAR]RGR[RR2RR((R(RVÀs.	6
cCsv|pdSn|djodSnx8ddddddgD]}|i|ƒo|Sq=q=Wtd|fƒ‚dS(	NRtallR,R)RR+R*sinvalid action: %r(R2tat
startswithRQ(R2Rc((R(R^Ûs
cCsPdk}|ptSn|id|ƒo=yt|ƒ}Wqtj
otd|fƒ‚qXn©|idƒ}|| }||d}yt|dd|gƒ}Wn&tj
otd|fƒ‚nXyt||ƒ}Wn&tj
otd|fƒ‚nXt|tiƒpt|tƒotd|fƒ‚n|S(Ns^[a-zA-Z0-9_]+$sunknown warning category: %rt.isinvalid module name: %rsinvalid warning category: %r(RGRRR7tevalR4t	NameErrorRQtrfindtiRtklasst
__import__RtmtImportErrortgetattrR$R
RIRJR(RRiRlRR4RGRj((R(R`ås,	
%R)RRN(RSRRIRBt__all__R0R8R:RRR'RRRRRPRt	ExceptionRQRWRVR^R`twarnoptionstOverflowWarningtPendingDeprecationWarning(RR0RVRRoR:RPR`R8R'RIRRWRRBRQRRR^((R(t?s*	';						
	


Anon7 - 2021