config root man

Current Path : /usr/local/lib/python2.5/idlelib/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/idlelib/run.pyc

hRc@sddkZddkZddkZddkZddkZddkZddkZddkZddkZddk	Z	ddk
Z
ddkZddkZddk
Z
ddkZddkZdZyddkZWnej
onXdZee_eaeaedZdZdZdZdZd	Zd
ZdeifdYZ d
ei!fdYZ"de#fdYZ$dS(iNs	127.0.0.1cCsfd}|d||f7}ti||i}|o|d|7}n|d|i|f7}|S(sFormat warnings the IDLE ways!
Warning (from warnings module):
s  File "%s", line %s
s    %s
s%s: %s
(t	linecachetgetlinetstript__name__(tmessagetcategorytfilenametlinenotstline((s'/usr/local/lib/python2.5/idlelib/run.pytidle_formatwarning_subprocscCs|ad}tidottid}ndgti(tidtdddt|ff}|it	|i
xVyto(ytWqt
j
o
wqXny%tiidt	d	d
\}}Wntij
o
wnX|\}}}|||}tii||fWqt
j
oto
t	aqqqtj
o
qti\}	}
}y!ttii|dfWqti|	|
|dtitqXqqXqdS(
sjStart the Python execution server in a subprocess

    In the Python subprocess, RPCServer is instantiated with handlerclass
    MyHandler, which inherits register/unregister methods from RPCHandler via
    the mix-in class SocketIO.

    When the RPCServer 'server' is instantiated, the TCPServer initialization
    creates an instance of run.MyHandler and calls its handle() method.
    handle() instantiates a run.Executive object, passing it a reference to the
    MyHandler object.  That reference is saved as attribute rpchandler of the
    Executive instance.  The Executive methods have access to the reference and
    can pass it on to entities that they command
    (e.g. RemoteDebugger.Debugger.start_debugger()).  The latter, in turn, can
    call MyHandler(SocketIO) register/unregister methods via the reference to
    register and unregister themselves.

    i"itttargettnamet
SockThreadtargstblockttimeoutg?tfileN(tno_exitfunctsystargvtintt	threadingtThreadt
manage_sockett	LOCALHOSTt	setDaemontTruetstarttexit_nowtexittKeyboardInterrupttrpct
request_queuetgettQueuetEmptytresponse_queuetputtquittingt
SystemExittexc_infotprint_exceptiontNonet	tracebackt
__stderr__(tdel_exitfunctportt
sockthreadtseqtrequesttmethodRtkwargstretttypetvaluettb((s'/usr/local/lib/python2.5/idlelib/run.pytmain.sN


%
cCsxtdD][}ti|yt|t}PWq
tij
o"}tid|ddIJq
Xq
WtidIJt	||t
adS|idS(NisIDLE Subprocess: socket error: is, retrying....s8IDLE Subprocess: Connection to IDLE GUI failed, exiting.(
trangettimetsleeptMyRPCServert	MyHandlertsocketterrorRR.tshow_socket_errorRRthandle_request(taddresstitserverterr((s'/usr/local/lib/python2.5/idlelib/run.pyRos



cCsddk}ddk}|i}|i|ddjo$d|}|id|d|n|idd|d|idS(	Niii=sIDLE's subprocess can't connect to %s:%d.  This may be due to your personal firewall configuration.  It is safe to allow this internal connection because no data is visible on external ports.sIDLE Subprocess ErrortparentsSocket Error: %si(tTkinterttkMessageBoxtTktwithdrawt	showerrortdestroy(RGRDRIRJtroottmsg((s'/usr/local/lib/python2.5/idlelib/run.pyRBs
c
Csddk}|itti}ti\}}}}|\t_t_t_t	i
|}|dIJd
}t||t	i|d	|t	i
||}x|D]}	||	IqWdS(Nis#
Traceback (most recent call last):srun.pysrpc.pysthreading.pysQueue.pysRemoteDebugger.pysbdb.pyR(srun.pysrpc.pysthreading.pysQueue.pysRemoteDebugger.pysbdb.py(Rt
checkcachetflush_stdoutRtstderrR*t	last_typet
last_valuetlast_tracebackR-t
extract_tbtcleanup_tracebackt
print_listtformat_exception_only(
RtefilettyptvalR9texcinfottbetexcludetlinesR	((s'/usr/local/lib/python2.5/idlelib/run.pyR+s 
	

c
Csk|}xB|o:x,|D]#}|ddi|oPqqWP|d=q
WxB|o:x,|D]#}|ddi|oPq]q]WP|d=qOWt|djo||(tidIJntidi}xtt|D]}||\}}}}	|djo
d}n|	o2|ido"|i	dd	||fh}	n||||	f||<qWd
S(sARemove excluded traces from beginning/end of tb; get cached linesiis** IDLE Internal Exception: texect?s
-toplevel-s	<pyshell#RRN(
tcounttlenRRSR!tobjecttablet
rpchandlerR;t
startswitht
remotecall(
R9R`torig_tbtrpcfileRgREtfntlntnmR	((s'/usr/local/lib/python2.5/idlelib/run.pyRXs<		

cCsQy1tiio dti_tiidnWnttfj
onXdS(Nis
(Rtstdoutt	softspacetwritetAttributeErrortEOFError(((s'/usr/local/lib/python2.5/idlelib/run.pyRRs
cCs<to$y
t`Wq+tj
oq+XntiddS(sExit subprocess, possibly after first deleting sys.exitfunc

    If config-main.cfg/.def 'General' 'delete-exitfunc' is True, then any
    sys.exitfunc will be removed before exiting.  (VPython support)

    iN(RRtexitfuncRrR(((s'/usr/local/lib/python2.5/idlelib/run.pyRs
	R>cBseZdZRS(cCsyWntj
o
ntj
otatinti}|dddIJ|dIJ|dti	i
IJ|dI|IJ|dIt|IJti
d||d	IJ|ddIJtatinXd
S(srOverride RPCServer method for IDLE

        Interrupt the MainThread and exit server if link is dropped.

        s
t-i(sUnhandled server exception!s
Thread: %ssClient Address: s	Request: Rs#
*** Unrecoverable, server exiting!N(R)RsRRtthreadtinterrupt_mainRR.Rt
currentThreadtgetNametreprR-t	print_excR((tselfR3tclient_addressterf((s'/usr/local/lib/python2.5/idlelib/run.pythandle_errors&	

(Rt
__module__R(((s'/usr/local/lib/python2.5/idlelib/run.pyR>sR?cBs,eZdZdZdZdZRS(cCst|}|id||idt_|_|idt_|idt_ddk}|i	ti_	ti_	ti_	|id|_
tii
|ddd	d
dS(sOverride base methodRbtstdinRoRSiNtinterptmyseqtwaitg?(t	Executivetregistertget_remote_proxyRRtconsoleRoRSt	IOBindingtencodingRR!t
RPCHandlertgetresponseR,(R|t	executiveR((s'/usr/local/lib/python2.5/idlelib/run.pythandles#cCstiddS(s>override SocketIO method - wait for MainThread to shut us downi
N(R<R=(R|((s'/usr/local/lib/python2.5/idlelib/run.pytexithookscCstatidS(sEOverride SocketIO method - terminate wait on callback and exit threadN(RR(RvRw(R|((s'/usr/local/lib/python2.5/idlelib/run.pytEOFhookscCstatidS(sinterrupt awakened threadN(RR(RvRw(R|((s'/usr/local/lib/python2.5/idlelib/run.pytdecode_interrupthooks(RRRRRR(((s'/usr/local/lib/python2.5/idlelib/run.pyR?s	
		RcBsSeZdZdZdZdZdZdZdZddZ
RS(	cCs7||_ti|_ti|_ti|_dS(N(Rgt__main__t__dict__tlocalstCallTipstcalltiptAutoCompletetautocomplete(R|Rg((s'/usr/local/lib/python2.5/idlelib/run.pyt__init__s	cBsyd|_||iUWn_ei|_toene|ii	i
d}|o|iiiqnXe
dS(Ns<<toggle-jit-stack-viewer>>(R,tusr_exc_infoRRR*R(RR+RgRtgetvarRtopen_remote_stack_viewerRR(R|tcodetjit((s'/usr/local/lib/python2.5/idlelib/run.pytruncodes	cCstidS(N(RvRw(R|((s'/usr/local/lib/python2.5/idlelib/run.pytinterrupt_the_server-scCsti|i|S(N(tRemoteDebuggertstart_debuggerRg(R|tgui_adap_oid((s'/usr/local/lib/python2.5/idlelib/run.pytstart_the_debugger0scCs|ii|dS(sDUnregister the Idb Adapter.  Link objects and Idb then subject to GCN(Rgt
unregister(R|tidb_adap_oid((s'/usr/local/lib/python2.5/idlelib/run.pytstop_the_debugger3scCs|ii|S(N(Rt	fetch_tip(R|R
((s'/usr/local/lib/python2.5/idlelib/run.pytget_the_calltip7scCs|ii||S(N(Rtfetch_completions(R|twhattmode((s'/usr/local/lib/python2.5/idlelib/run.pytget_the_completion_list:scCs|io|i\}}}ndSd}|dj	o|ii|}nx,|o$|iiddjo
|i}qPW|t_|t_	t
i||}ti
|S(NRR!trun(srpcR(RR,RgRttb_framet	f_globalsttb_nextRRTRUtStackViewert
StackTreeItemtRemoteObjectBrowsertremote_object_tree_item(R|t	flist_oidR\R]R9tflisttitem((s'/usr/local/lib/python2.5/idlelib/run.pytstackviewer=s

		N(RRRRRRRRRR,R(((s'/usr/local/lib/python2.5/idlelib/run.pyRs							(%RtosRR<R@R-RvRR$RRRRRR!RRtwarningstImportErrorR
t
formatwarningtFalseRR(R:RRBR+RXRRRt	RPCServerR>RR?tobjectR(((s'/usr/local/lib/python2.5/idlelib/run.pys<module>sD			A						 

Man Man