SILENT KILLERPanel

Current Path: > > opt > alt > python27 > lib64 > python2.7 > idlelib > >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python27/lib64/python2.7/idlelib//

NameTypeSizeLast ModifiedActions
Icons Directory - -
idle_test Directory - -
AutoComplete.py File 8964 bytes January 08 2025 10:43:10.
AutoComplete.pyc File 8181 bytes January 08 2025 10:43:10.
AutoComplete.pyo File 8181 bytes January 08 2025 10:43:10.
AutoCompleteWindow.py File 17318 bytes January 08 2025 10:43:09.
AutoCompleteWindow.pyc File 12714 bytes January 08 2025 10:43:10.
AutoCompleteWindow.pyo File 12655 bytes January 08 2025 10:43:11.
AutoExpand.py File 3395 bytes January 08 2025 10:43:10.
AutoExpand.pyc File 3580 bytes January 08 2025 10:43:11.
AutoExpand.pyo File 3580 bytes January 08 2025 10:43:11.
Bindings.py File 2976 bytes January 08 2025 10:43:09.
Bindings.pyc File 4708 bytes January 08 2025 10:43:09.
Bindings.pyo File 4708 bytes January 08 2025 10:43:09.
CREDITS.txt File 1866 bytes January 08 2025 10:43:11.
CallTipWindow.py File 6065 bytes January 08 2025 10:43:09.
CallTipWindow.pyc File 6292 bytes January 08 2025 10:43:09.
CallTipWindow.pyo File 6292 bytes January 08 2025 10:43:09.
CallTips.py File 7740 bytes January 08 2025 10:43:09.
CallTips.pyc File 8354 bytes January 08 2025 10:43:10.
CallTips.pyo File 8354 bytes January 08 2025 10:43:10.
ChangeLog File 56393 bytes January 08 2025 10:43:11.
ClassBrowser.py File 6999 bytes January 08 2025 10:43:11.
ClassBrowser.pyc File 9890 bytes January 08 2025 10:43:10.
ClassBrowser.pyo File 9890 bytes January 08 2025 10:43:10.
CodeContext.py File 8342 bytes January 08 2025 10:43:09.
CodeContext.pyc File 6788 bytes January 08 2025 10:43:11.
CodeContext.pyo File 6744 bytes January 08 2025 10:43:09.
ColorDelegator.py File 9762 bytes January 08 2025 10:43:09.
ColorDelegator.pyc File 9119 bytes January 08 2025 10:43:10.
ColorDelegator.pyo File 9119 bytes January 08 2025 10:43:10.
Debugger.py File 18236 bytes January 08 2025 10:43:10.
Debugger.pyc File 18144 bytes January 08 2025 10:43:10.
Debugger.pyo File 18144 bytes January 08 2025 10:43:10.
Delegator.py File 665 bytes January 08 2025 10:43:10.
Delegator.pyc File 1346 bytes January 08 2025 10:43:09.
Delegator.pyo File 1346 bytes January 08 2025 10:43:09.
EditorWindow.py File 65498 bytes January 08 2025 10:43:09.
EditorWindow.pyc File 58522 bytes January 08 2025 10:43:09.
EditorWindow.pyo File 58420 bytes January 08 2025 10:43:10.
FileList.py File 3718 bytes January 08 2025 10:43:10.
FileList.pyc File 4168 bytes January 08 2025 10:43:11.
FileList.pyo File 4135 bytes January 08 2025 10:43:10.
FormatParagraph.py File 7287 bytes January 08 2025 10:43:11.
FormatParagraph.pyc File 7311 bytes January 08 2025 10:43:09.
FormatParagraph.pyo File 7311 bytes January 08 2025 10:43:09.
GrepDialog.py File 5145 bytes January 08 2025 10:43:11.
GrepDialog.pyc File 6607 bytes January 08 2025 10:43:11.
GrepDialog.pyo File 6607 bytes January 08 2025 10:43:11.
HISTORY.txt File 10317 bytes January 08 2025 10:43:09.
HyperParser.py File 10497 bytes January 08 2025 10:43:09.
HyperParser.pyc File 6803 bytes January 08 2025 10:43:09.
HyperParser.pyo File 6803 bytes January 08 2025 10:43:09.
IOBinding.py File 21911 bytes January 08 2025 10:43:09.
IOBinding.pyc File 19068 bytes January 08 2025 10:43:11.
IOBinding.pyo File 19068 bytes January 08 2025 10:43:11.
IdleHistory.py File 4052 bytes January 08 2025 10:43:11.
IdleHistory.pyc File 4151 bytes January 08 2025 10:43:11.
IdleHistory.pyo File 4151 bytes January 08 2025 10:43:11.
MultiCall.py File 17701 bytes January 08 2025 10:43:10.
MultiCall.pyc File 16793 bytes January 08 2025 10:43:09.
MultiCall.pyo File 16719 bytes January 08 2025 10:43:09.
MultiStatusBar.py File 1348 bytes January 08 2025 10:43:09.
MultiStatusBar.pyc File 2357 bytes January 08 2025 10:43:11.
MultiStatusBar.pyo File 2357 bytes January 08 2025 10:43:11.
NEWS.txt File 47247 bytes January 08 2025 10:43:10.
ObjectBrowser.py File 4376 bytes January 08 2025 10:43:10.
ObjectBrowser.pyc File 7431 bytes January 08 2025 10:43:10.
ObjectBrowser.pyo File 7431 bytes January 08 2025 10:43:10.
OutputWindow.py File 4576 bytes January 08 2025 10:43:11.
OutputWindow.pyc File 5427 bytes January 08 2025 10:43:10.
OutputWindow.pyo File 5427 bytes January 08 2025 10:43:10.
ParenMatch.py File 6714 bytes January 08 2025 10:43:10.
ParenMatch.pyc File 7350 bytes January 08 2025 10:43:11.
ParenMatch.pyo File 7350 bytes January 08 2025 10:43:11.
PathBrowser.py File 3009 bytes January 08 2025 10:43:09.
PathBrowser.pyc File 4681 bytes January 08 2025 10:43:11.
PathBrowser.pyo File 4681 bytes January 08 2025 10:43:11.
Percolator.py File 3222 bytes January 08 2025 10:43:11.
Percolator.pyc File 4803 bytes January 08 2025 10:43:11.
Percolator.pyo File 4619 bytes January 08 2025 10:43:09.
PyParse.py File 19510 bytes January 08 2025 10:43:10.
PyParse.pyc File 10226 bytes January 08 2025 10:43:09.
PyParse.pyo File 9788 bytes January 08 2025 10:43:10.
PyShell.py File 58872 bytes January 08 2025 10:43:09.
PyShell.pyc File 54269 bytes January 08 2025 10:43:10.
PyShell.pyo File 54167 bytes January 08 2025 10:43:10.
README.txt File 7890 bytes January 08 2025 10:43:10.
RemoteDebugger.py File 11632 bytes January 08 2025 10:43:09.
RemoteDebugger.pyc File 17131 bytes January 08 2025 10:43:10.
RemoteDebugger.pyo File 16977 bytes January 08 2025 10:43:09.
RemoteObjectBrowser.py File 942 bytes January 08 2025 10:43:09.
RemoteObjectBrowser.pyc File 2280 bytes January 08 2025 10:43:10.
RemoteObjectBrowser.pyo File 2280 bytes January 08 2025 10:43:10.
ReplaceDialog.py File 6639 bytes January 08 2025 10:43:10.
ReplaceDialog.pyc File 8016 bytes January 08 2025 10:43:09.
ReplaceDialog.pyo File 8016 bytes January 08 2025 10:43:09.
RstripExtension.py File 1050 bytes January 08 2025 10:43:10.
RstripExtension.pyc File 1665 bytes January 08 2025 10:43:10.
RstripExtension.pyo File 1665 bytes January 08 2025 10:43:10.
ScriptBinding.py File 8459 bytes January 08 2025 10:43:10.
ScriptBinding.pyc File 8370 bytes January 08 2025 10:43:09.
ScriptBinding.pyo File 8370 bytes January 08 2025 10:43:09.
ScrolledList.py File 4373 bytes January 08 2025 10:43:10.
ScrolledList.pyc File 6768 bytes January 08 2025 10:43:09.
ScrolledList.pyo File 6768 bytes January 08 2025 10:43:09.
SearchDialog.py File 2630 bytes January 08 2025 10:43:09.
SearchDialog.pyc File 4139 bytes January 08 2025 10:43:09.
SearchDialog.pyo File 4139 bytes January 08 2025 10:43:09.
SearchDialogBase.py File 7094 bytes January 08 2025 10:43:10.
SearchDialogBase.pyc File 8631 bytes January 08 2025 10:43:11.
SearchDialogBase.pyo File 8631 bytes January 08 2025 10:43:11.
SearchEngine.py File 7463 bytes January 08 2025 10:43:11.
SearchEngine.pyc File 8575 bytes January 08 2025 10:43:10.
SearchEngine.pyo File 8575 bytes January 08 2025 10:43:10.
StackViewer.py File 4431 bytes January 08 2025 10:43:11.
StackViewer.pyc File 6677 bytes January 08 2025 10:43:09.
StackViewer.pyo File 6677 bytes January 08 2025 10:43:09.
TODO.txt File 8478 bytes January 08 2025 10:43:09.
ToolTip.py File 3173 bytes January 08 2025 10:43:11.
ToolTip.pyc File 4890 bytes January 08 2025 10:43:10.
ToolTip.pyo File 4890 bytes January 08 2025 10:43:10.
TreeWidget.py File 15037 bytes January 08 2025 10:43:09.
TreeWidget.pyc File 18383 bytes January 08 2025 10:43:10.
TreeWidget.pyo File 18383 bytes January 08 2025 10:43:10.
UndoDelegator.py File 10787 bytes January 08 2025 10:43:09.
UndoDelegator.pyc File 14218 bytes January 08 2025 10:43:09.
UndoDelegator.pyo File 14218 bytes January 08 2025 10:43:09.
WidgetRedirector.py File 6906 bytes January 08 2025 10:43:09.
WidgetRedirector.pyc File 7951 bytes January 08 2025 10:43:11.
WidgetRedirector.pyo File 7951 bytes January 08 2025 10:43:11.
WindowList.py File 2473 bytes January 08 2025 10:43:09.
WindowList.pyc File 3831 bytes January 08 2025 10:43:10.
WindowList.pyo File 3831 bytes January 08 2025 10:43:10.
ZoomHeight.py File 1300 bytes January 08 2025 10:43:11.
ZoomHeight.pyc File 1711 bytes January 08 2025 10:43:09.
ZoomHeight.pyo File 1711 bytes January 08 2025 10:43:09.
__init__.py File 288 bytes January 08 2025 10:43:09.
__init__.pyc File 444 bytes January 08 2025 10:43:11.
__init__.pyo File 444 bytes January 08 2025 10:43:11.
aboutDialog.py File 7014 bytes January 08 2025 10:43:09.
aboutDialog.pyc File 7017 bytes January 08 2025 10:43:09.
aboutDialog.pyo File 7017 bytes January 08 2025 10:43:09.
config-extensions.def File 2965 bytes January 08 2025 10:43:10.
config-highlight.def File 2515 bytes January 08 2025 10:43:11.
config-keys.def File 7777 bytes January 08 2025 10:43:10.
config-main.def File 2561 bytes January 08 2025 10:43:09.
configDialog.py File 65958 bytes January 08 2025 10:43:09.
configDialog.pyc File 54435 bytes January 08 2025 10:43:11.
configDialog.pyo File 54435 bytes January 08 2025 10:43:11.
configHandler.py File 32485 bytes January 08 2025 10:43:10.
configHandler.pyc File 29985 bytes January 08 2025 10:43:11.
configHandler.pyo File 29985 bytes January 08 2025 10:43:11.
configHelpSourceEdit.py File 6686 bytes January 08 2025 10:43:10.
configHelpSourceEdit.pyc File 6712 bytes January 08 2025 10:43:10.
configHelpSourceEdit.pyo File 6712 bytes January 08 2025 10:43:10.
configSectionNameDialog.py File 4040 bytes January 08 2025 10:43:09.
configSectionNameDialog.pyc File 4510 bytes January 08 2025 10:43:11.
configSectionNameDialog.pyo File 4510 bytes January 08 2025 10:43:11.
dynOptionMenuWidget.py File 1984 bytes January 08 2025 10:43:09.
dynOptionMenuWidget.pyc File 2868 bytes January 08 2025 10:43:09.
dynOptionMenuWidget.pyo File 2868 bytes January 08 2025 10:43:09.
extend.txt File 3642 bytes January 08 2025 10:43:11.
help.html File 42414 bytes January 08 2025 10:43:10.
help.py File 11035 bytes January 08 2025 10:43:10.
help.pyc File 12543 bytes January 08 2025 10:43:09.
help.pyo File 12543 bytes January 08 2025 10:43:09.
help.txt File 12144 bytes January 08 2025 10:43:09.
idle.py File 453 bytes January 08 2025 10:43:09.
idle.pyc File 423 bytes January 08 2025 10:43:09.
idle.pyo File 423 bytes January 08 2025 10:43:09.
idle.pyw File 563 bytes January 08 2025 10:43:10.
idlever.py File 415 bytes January 08 2025 10:43:10.
idlever.pyc File 591 bytes January 08 2025 10:43:10.
idlever.pyo File 591 bytes January 08 2025 10:43:10.
keybindingDialog.py File 12468 bytes January 08 2025 10:43:09.
keybindingDialog.pyc File 12368 bytes January 08 2025 10:43:10.
keybindingDialog.pyo File 12368 bytes January 08 2025 10:43:10.
macosxSupport.py File 8435 bytes January 08 2025 10:43:09.
macosxSupport.pyc File 8585 bytes January 08 2025 10:43:10.
macosxSupport.pyo File 8447 bytes January 08 2025 10:43:09.
rpc.py File 20150 bytes January 08 2025 10:43:10.
rpc.pyc File 22495 bytes January 08 2025 10:43:10.
rpc.pyo File 22389 bytes January 08 2025 10:43:09.
run.py File 12917 bytes January 08 2025 10:43:10.
run.pyc File 13770 bytes January 08 2025 10:43:11.
run.pyo File 13712 bytes January 08 2025 10:43:09.
tabbedpages.py File 18439 bytes January 08 2025 10:43:09.
tabbedpages.pyc File 19081 bytes January 08 2025 10:43:11.
tabbedpages.pyo File 19081 bytes January 08 2025 10:43:11.
textView.py File 3520 bytes January 08 2025 10:43:09.
textView.pyc File 4116 bytes January 08 2025 10:43:10.
textView.pyo File 4116 bytes January 08 2025 10:43:10.

Reading File: //opt/alt/python27/lib64/python2.7/idlelib///rpc.pyc

�
�V~gc@s�dZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZddlZddl
Z
ddlZd�Zd�Zeje
jee�ddZdZdejfd	��YZiZe
j
d
�Ze
j
d
�Zdefd��YZd
efd��YZd�Zdefd��YZdejefd��YZdefd��YZ defd��YZ!d�Z"d�Z#defd��YZ$dS(sRPC Implementation, originally written for the Python Idle IDE

For security reasons, GvR requested that Idle's Python execution server process
connect to the Idle process, which listens for the connection.  Since Idle has
only one client per server, this was not a limitation.

   +---------------------------------+ +-------------+
   | SocketServer.BaseRequestHandler | | SocketIO    |
   +---------------------------------+ +-------------+
                   ^                   | register()  |
                   |                   | unregister()|
                   |                   +-------------+
                   |                      ^  ^
                   |                      |  |
                   | + -------------------+  |
                   | |                       |
   +-------------------------+        +-----------------+
   | RPCHandler              |        | RPCClient       |
   | [attribute of RPCServer]|        |                 |
   +-------------------------+        +-----------------+

The RPCServer handler class is expected to provide register/unregister methods.
RPCHandler inherits the mix-in class SocketIO, which provides these methods.

See the Idle run.main() docstring for further information on how this was
accomplished in Idle.

i����NcCs+tj|�}t|tj�s't�|S(N(tmarshaltloadst
isinstancettypestCodeTypetAssertionError(tmstco((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyt
unpickle_code-scCs4t|tj�st�tj|�}t|ffS(N(RRRRRtdumpsR(RR((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pytpickle_code2siis	127.0.0.1t	RPCServercBs8eZdd�Zd�Zd�Zd�Zd�ZRS(cCs/|dkrt}ntjj|||�dS(N(tNonet
RPCHandlertSocketServert	TCPServert__init__(tselftaddrthandlerclass((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRGs	cCsdS(s@Override TCPServer method, no bind() phase for connecting entityN((R((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pytserver_bindLscCs|jj|j�dS(s�Override TCPServer method, connect() instead of listen()

        Due to the reversed connection, self.server_address is actually the
        address of the Idle Client to which we are connecting.

        N(tsockettconnecttserver_address(R((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pytserver_activatePscCs|j|jfS(s:Override TCPServer method, return already connected socket(RR(R((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pytget_requestYscCs�y�Wn�tk
r�n�tj}|dddIJ|dIJ|dtj�j�IJ|dI|IJ|dIt|�IJtjd|�|d	IJ|ddIJt	j
d
�nXdS(s�Override TCPServer method

        Error message goes to __stderr__.  No error message if exiting
        normally or socket raised EOF.  Other exceptions not handled in
        server code will cause os._exit.

        s
t-i(sUnhandled server exception!s
Thread: %ssClient Address: s	Request: tfiles#
*** Unrecoverable, server exiting!iN(t
SystemExittsyst
__stderr__t	threadingt
currentThreadtgetNametreprt	tracebackt	print_exctost_exit(Rtrequesttclient_addressterf((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pythandle_error]s
	

N(t__name__t
__module__RRRRRR*(((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyREs
				itSocketIOcBseZdZddd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d�Zd	�Zd
�Z
d�Zd�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�ZdZdZdZd�Zd�Zd�Zd�Zd�Zd�Z d�Z!RS(icCsdtj�|_|dk	r'||_n||_|dkrEt}n||_i|_i|_	dS(N(
RR t
sockthreadRt	debuggingtsocktobjecttabletobjtablet	responsestcvars(RR0R2R/((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyR�s				cCs/|j}d|_|dk	r+|j�ndS(N(R0Rtclose(RR0((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyR5�s		cCstjd�dS(s!override for specific exit actioniN(R%R&(R((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pytexithook�scGsf|js
dS|jdttj�j��}x"|D]}|dt|�}q7Wtj|IJdS(Nt (R/tlocationtstrRR R!RR(Rtargststa((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pytdebug�s	#
cCs||j|<dS(N(R2(Rtoidtobject((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pytregister�scCs&y|j|=Wntk
r!nXdS(N(R2tKeyError(RR>((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyt
unregister�s
cCs�|jd|�y|\}\}}}}Wntk
r@dSX||jkradd|ffS|j|}|dkr�i}	t||	�d|	fS|dkr�i}
t||
�d|
fSt||�s�dd|ffSt||�}y�|d	kr5|||�}t|t�r+t	|�}nd|fS|d
krat
j||||ff�dSdd|fSWndt
k
r��nQtjk
r��n;d
}
tj|
|||fIJtjdtj�dSXdS(Ns
localcall:tERRORsBad request formatsUnknown object id: %rt__methods__tOKt__attributes__sUnsupported method name: %rtCALLtQUEUEtQUEUEDsUnsupported message type: %ssU*** Internal Error: rpc.py:SocketIO.localcall()

 Object: %s 
 Method: %s 
 Args: %s
Rt	EXCEPTION(RCsBad request format(RIN(RJN(R=t	TypeErrorR2t_getmethodst_getattributesthasattrtgetattrRtRemoteObjectt	remotereft
request_queuetputRRRterrorRRR#R$(RtseqR'thowR>t
methodnameR:tkwargstobjtmethodst
attributestmethodtrettmsg((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyt	localcall�sL







cCs8|jd||�|j||||�}|j|�S(Nsremotecall:asynccall: (R=t	asynccalltasyncreturn(RR>RWR:RXRU((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyt
remotecall�scCs8|jd||�|j||||�}|j|�S(Nsremotequeue:asyncqueue: (R=t
asyncqueueRa(RR>RWR:RXRU((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pytremotequeue�scCs�d||||ff}|j�}tj�|jkrUtj�}||j|<n|jd|||||�|j||f�|S(NRGs
asynccall:%d:(tnewseqRR R.t	ConditionR4R=t
putmessage(RR>RWR:RXR'RUtcvar((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyR`�scCs�d||||ff}|j�}tj�|jkrUtj�}||j|<n|jd|||||�|j||f�|S(NRHsasyncqueue:%d:(ReRR R.RfR4R=Rg(RR>RWR:RXR'RURh((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRc�scCsG|jd|�|j|dd�}|jd||�|j|�S(Ns#asyncreturn:%d:call getresponse(): twaitg�������?sasyncreturn:%d:response: (R=tgetresponsetdecoderesponse(RRUtresponse((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRa�scCs�|\}}|dkr|S|dkr,dS|dkrI|jd�dS|dkrp|jd�|j�dS|dkr�|jd|�t|�nt||f�dS(	NRERIRJsdecoderesponse: EXCEPTIONtEOFsdecoderesponse: EOFRCsdecoderesponse: Internal ERROR:(RR=tdecode_interrupthooktRuntimeErrortSystemError(RRlRVtwhat((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRk�s 


cCs
t�dS(tN(tEOFError(R((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRnscCs@y|jdddd�Wntk
r;|jd�dSXdS(s�Listen on socket until I/O not ready or EOF

        pollresponse() will loop looking for seq number None, which
        never comes, and exit on EOFError.

        tmyseqRig�������?smainloop:returnN(RjRRsR=(R((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pytmainloop
s


cCsU|j||�}|dk	rQ|\}}|dkrQ||j|�f}qQn|S(NRE(t_getresponseRt_proxify(RRtRiRlRVRq((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRjscCsEt|t�rt||j�St|tj�rAt|j|�S|S(N(RtRemoteProxytRPCProxyR>RtListTypetmapRw(RRY((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRws
cCs�|jd|�tj�|jkrQx�|j||�}|dk	r(|Sq(Wn}|j|}|j�x||jkr�|j	�qkW|j|}|jd||f�|j|=|j|=|j
�|SdS(Ns_getresponse:myseq:s-_getresponse:%s: thread woke up: response: %s(R=RR R.tpollresponseRR4tacquireR3Ritrelease(RRtRiRlRh((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRv's"


	


cCs|jd|_}|S(Ni(tnextseq(RRU((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRe=scCs�|jd|d�ytj|�}Wn0tjk
rZtjdIt|�IJ�nXtjdt	|��|}x�t	|�dkr�y>t
j
g|jgg�\}}}|jj|t
 �}Wn ttfk
r�td�nX||}qzWdS(Nsputmessage:%d:isCannot pickle:s<issocket no longer exists(R=tpickleR	t
PicklingErrorRRR"tstructtpacktlentselectR0tsendtBUFSIZEtAttributeErrorRKtIOError(RtmessageR;trtwtxtn((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRgAs$
RricCs�|j�t|j�|jkr�tj|jj�ggg|�\}}}t|�dkredSy|jjt	�}Wnt
jk
r�t�nXt|�dkr�t�n|j|7_|j�n|j
�S(Ni(t_stage0R�tbuffertbufneedR�R0tfilenoRtrecvR�RRTRst_stage1(RRiR�R�R�R;((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyt
pollpacketUs
-
	
cCsj|jdkrft|j�dkrf|jd }|jd|_tjd|�d|_d|_ndS(Niis<ii(tbufstateR�R�R�tunpackR�(RR;((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyR�es
$
cCsd|jdkr`t|j�|jkr`|j|j }|j|j|_d|_d|_|SdS(Niii(R�R�R�R�(Rtpacket((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyR�ls'		cCs�|j|�}|dkrdSytj|�}Wn]tjk
r�tjdIJtjdIt|�IJtj	dtj�tjdIJ�nX|S(Ns-----------------------scannot unpickle packet:R(
R�RR�RtUnpicklingErrorRRR"R#tprint_stack(RRiR�R�((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pytpollmessagets

c
Cs�x�ytjd�}Wntjk
r,n,X|\}}|d|ff}|j|�y#|j|�}|dkrzdSWn-tk
r�|j�dSt	k
r�dSX|\}}|d}|j
d||f�|d	krU|j
d|�|j||�}|j
d||f�|dkr@|j||f�q|dkrqqq||kre|S|jj|d�}	|	dk	r|	j
�||j|<|	j�|	j�qqqWdS(
sRHandle messages received on the socket.

        Some messages received may be asynchronous 'call' or 'queue' requests,
        and some may be responses for other threads.

        'call' requests are passed to self.localcall() with the expectation of
        immediate execution, during which time the socket is not serviced.

        'queue' requests are used for tasks (which may block or hang) to be
        processed in a different thread.  These requests are fed into
        request_queue by self.localcall().  Responses to queued requests are
        taken from response_queue and sent across the link with the associated
        sequence numbers.  Messages in the queues are (sequence_number,
        request/response) tuples and code using this module removing messages
        from the request_queue is responsible for returning the correct
        sequence number in the response_queue.

        pollresponse() will loop until a response message with the myseq
        sequence number is received, and will save other responses in
        self.responses and notify the owning thread.

        iREspollresponse:%d:myseq:%sRGRHspollresponse:%d:localcall:call:s%pollresponse:%d:localcall:response:%sN(RGRH(tresponse_queuetgettQueuetEmptyRgR�RRst
handle_EOFR�R=R_R4R}R3tnotifyR~(
RRtRitqmsgRURlR�tresqRVtcv((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyR|�sN




	



cCsq|j�|jd�xI|jD]>}|j|}|j�d|j|<|j�|j�q!W|j�dS(s+action taken upon link being closed by peerR�RmN(RmN(	tEOFhookR=R4R}RR3R�R~R6(RtkeyR�((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyR��s





cCsdS(sBClasses using rpc client/server can override to augment EOF actionN((R((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyR��sN("R+R,RRRR5R6R=R@RBR_RbRdR`RcRaRkRnRuRjRwRvReRgR�R�R�R�R�R�R�R|R�R�(((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyR-|s>						*			
	
				
										I	
RPcBseZRS((R+R,(((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRP�scCs t|�}|t|<t|�S(N(tidR1Rx(RYR>((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRQ�s
RxcBseZd�ZRS(cCs
||_dS(N(R>(RR>((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyR�s(R+R,R(((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRx�sR
cBs/eZeZdZd�Zd�Zd�ZRS(s#ScCs6||_tj||�tjj||||�dS(N(tcurrent_handlerR-RRtBaseRequestHandler(RR0Rtsvr((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyR�s	cCs|j�dS(s(handle() method required by SocketServerN(Ru(R((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pythandle�scCs
t||�S(N(Ry(RR>((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pytget_remote_proxy�s(R+R,tFalseR/R8RR�R�(((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyR
�s
		t	RPCClientcBsAeZeZdZdZejejd�Z	d�Z
d�ZRS(s#CicCs9tj||�|_|jj|�|jjd�dS(Ni(Rtlistening_socktbindtlisten(Rtaddresstfamilyttype((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRscCsw|jj�\}}|jr4tjdI|IJn|dtkrWtj||�ntjdI|IJtj	�dS(Ns****** Connection request from is** Invalid host: (
R�tacceptR/RRt	LOCALHOSTR-RRRT(Rtworking_sockR�((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyR�	s	cCs
t||�S(N(Ry(RR>((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyR�s(R+R,R�R/R8RRtAF_INETtSOCK_STREAMRR�R�(((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyR��s	
RycBs8eZdZdZd�Zd�Zd�Zd�ZRS(cCs||_||_dS(N(tsockioR>(RR�R>((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRs	cCs�|jdkr|j�n|jj|�rDt|j|j|�S|jdkr`|j�n||jkr�|jj	|jd|fi�}|St
|�dS(Nt__getattribute__(t_RPCProxy__methodsRt_RPCProxy__getmethodsR�tMethodProxyR�R>t_RPCProxy__attributest_RPCProxy__getattributesRbR�(Rtnametvalue((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyt__getattr__s

cCs%|jj|jddi�|_dS(NRF((R�RbR>R�(R((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyt__getattributes-scCs%|jj|jddi�|_dS(NRD((R�RbR>R�(R((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyt__getmethods1sN(	R+R,RR�R�RR�R�R�(((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRys			cCs�x?t|�D]1}t||�}t|d�r
d||<q
q
Wt|�tjkrjt|j|�nt|�tjkr�x!|j	D]}t||�q�WndS(Nt__call__i(
tdirRORNR�RtInstanceTypeRLt	__class__t	ClassTypet	__bases__(RYRZR�tattrtsuper((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRL5scCsFx?t|�D]1}t||�}t|d�s
d||<q
q
WdS(NR�i(R�RORN(RYR[R�R�((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRMBsR�cBseZd�Zd�ZRS(cCs||_||_||_dS(N(R�R>R�(RR�R>R�((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyRJs		cOs%|jj|j|j||�}|S(N(R�RbR>R�(RR:RXR�((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyR�Os!(R+R,RR�(((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyR�Hs	(%t__doc__RR%RR�RR�tcPickleR�RR�R#tcopy_regRRRR
RR�R�RRR1RRR�R?R-RPRQRxR�R
R�RyRLRMR�(((s0/opt/alt/python27/lib64/python2.7/idlelib/rpc.pyt<module>sB		

2�c		
	

SILENT KILLER Tool