/opt/alt/python37/lib64/python3.7/idlelib/__pycache__
NameSizeModeActions
autocomplete.cpython-37.opt-1.pyc67960644editdlrm
autocomplete.cpython-37.opt-2.pyc53980644editdlrm
autocomplete.cpython-37.pyc67960644editdlrm
autocomplete_w.cpython-37.opt-1.pyc110320644editdlrm
autocomplete_w.cpython-37.opt-2.pyc102740644editdlrm
autocomplete_w.cpython-37.pyc110900644editdlrm
autoexpand.cpython-37.opt-1.pyc28260644editdlrm
autoexpand.cpython-37.opt-2.pyc20760644editdlrm
autoexpand.cpython-37.pyc28260644editdlrm
browser.cpython-37.opt-1.pyc94900644editdlrm
browser.cpython-37.opt-2.pyc68230644editdlrm
browser.cpython-37.pyc94900644editdlrm
calltip.cpython-37.opt-1.pyc55720644editdlrm
calltip.cpython-37.opt-2.pyc39510644editdlrm
calltip.cpython-37.pyc55720644editdlrm
calltip_w.cpython-37.opt-1.pyc61680644editdlrm
calltip_w.cpython-37.opt-2.pyc52350644editdlrm
calltip_w.cpython-37.pyc61680644editdlrm
codecontext.cpython-37.opt-1.pyc86950644editdlrm
codecontext.cpython-37.opt-2.pyc57000644editdlrm
codecontext.cpython-37.pyc87300644editdlrm
colorizer.cpython-37.opt-1.pyc102660644editdlrm
colorizer.cpython-37.opt-2.pyc81720644editdlrm
colorizer.cpython-37.pyc102660644editdlrm
config.cpython-37.opt-1.pyc298720644editdlrm
config.cpython-37.opt-2.pyc199520644editdlrm
config.cpython-37.pyc298720644editdlrm
configdialog.cpython-37.opt-1.pyc786130644editdlrm
configdialog.cpython-37.opt-2.pyc484560644editdlrm
configdialog.cpython-37.pyc786130644editdlrm
config_key.cpython-37.opt-1.pyc113390644editdlrm
config_key.cpython-37.opt-2.pyc99190644editdlrm
config_key.cpython-37.pyc113390644editdlrm
debugger.cpython-37.opt-1.pyc142190644editdlrm
debugger.cpython-37.opt-2.pyc140680644editdlrm
debugger.cpython-37.pyc142190644editdlrm
debugger_r.cpython-37.opt-1.pyc137710644editdlrm
debugger_r.cpython-37.opt-2.pyc113800644editdlrm
debugger_r.cpython-37.pyc138970644editdlrm
debugobj.cpython-37.opt-1.pyc51770644editdlrm
debugobj.cpython-37.opt-2.pyc51770644editdlrm
debugobj.cpython-37.pyc51770644editdlrm
debugobj_r.cpython-37.opt-1.pyc20180644editdlrm
debugobj_r.cpython-37.opt-2.pyc20180644editdlrm
debugobj_r.cpython-37.pyc20180644editdlrm
delegator.cpython-37.opt-1.pyc12800644editdlrm
delegator.cpython-37.opt-2.pyc11800644editdlrm
delegator.cpython-37.pyc12800644editdlrm
dynoption.cpython-37.opt-1.pyc22910644editdlrm
dynoption.cpython-37.opt-2.pyc19110644editdlrm
dynoption.cpython-37.pyc22910644editdlrm
editor.cpython-37.opt-1.pyc466050644editdlrm
editor.cpython-37.opt-2.pyc447050644editdlrm
editor.cpython-37.pyc466920644editdlrm
filelist.cpython-37.opt-1.pyc33760644editdlrm
filelist.cpython-37.opt-2.pyc33430644editdlrm
filelist.cpython-37.pyc34020644editdlrm
format.cpython-37.opt-1.pyc134400644editdlrm
format.cpython-37.opt-2.pyc97170644editdlrm
format.cpython-37.pyc134400644editdlrm
grep.cpython-37.opt-1.pyc77910644editdlrm
grep.cpython-37.opt-2.pyc50960644editdlrm
grep.cpython-37.pyc77910644editdlrm
help.cpython-37.opt-1.pyc103760644editdlrm
help.cpython-37.opt-2.pyc76070644editdlrm
help.cpython-37.pyc104180644editdlrm
help_about.cpython-37.opt-1.pyc73370644editdlrm
help_about.cpython-37.opt-2.pyc62150644editdlrm
help_about.cpython-37.pyc73370644editdlrm
history.cpython-37.opt-1.pyc33940644editdlrm
history.cpython-37.opt-2.pyc21690644editdlrm
history.cpython-37.pyc33940644editdlrm
hyperparser.cpython-37.opt-1.pyc67490644editdlrm
hyperparser.cpython-37.opt-2.pyc54420644editdlrm
hyperparser.cpython-37.pyc67490644editdlrm
idle.cpython-37.opt-1.pyc3390644editdlrm
idle.cpython-37.opt-2.pyc3390644editdlrm
idle.cpython-37.pyc3390644editdlrm
iomenu.cpython-37.opt-1.pyc137800644editdlrm
iomenu.cpython-37.opt-2.pyc133120644editdlrm
iomenu.cpython-37.pyc137800644editdlrm
macosx.cpython-37.opt-1.pyc75940644editdlrm
macosx.cpython-37.opt-2.pyc54120644editdlrm
macosx.cpython-37.pyc75940644editdlrm
mainmenu.cpython-37.opt-1.pyc34610644editdlrm
mainmenu.cpython-37.opt-2.pyc29900644editdlrm
mainmenu.cpython-37.pyc34610644editdlrm
multicall.cpython-37.opt-1.pyc149370644editdlrm
multicall.cpython-37.opt-2.pyc125720644editdlrm
multicall.cpython-37.pyc149940644editdlrm
outwin.cpython-37.opt-1.pyc60620644editdlrm
outwin.cpython-37.opt-2.pyc43780644editdlrm
outwin.cpython-37.pyc60620644editdlrm
parenmatch.cpython-37.opt-1.pyc63340644editdlrm
parenmatch.cpython-37.opt-2.pyc47880644editdlrm
parenmatch.cpython-37.pyc63340644editdlrm
pathbrowser.cpython-37.opt-1.pyc37430644editdlrm
pathbrowser.cpython-37.opt-2.pyc36020644editdlrm
pathbrowser.cpython-37.pyc37430644editdlrm
percolator.cpython-37.opt-1.pyc35160644editdlrm
percolator.cpython-37.opt-2.pyc35160644editdlrm
percolator.cpython-37.pyc36540644editdlrm
pyparse.cpython-37.opt-1.pyc116390644editdlrm
pyparse.cpython-37.opt-2.pyc80600644editdlrm
pyparse.cpython-37.pyc119880644editdlrm
pyshell.cpython-37.opt-1.pyc422510644editdlrm
pyshell.cpython-37.opt-2.pyc395230644editdlrm
pyshell.cpython-37.pyc423810644editdlrm
query.cpython-37.opt-1.pyc128150644editdlrm
query.cpython-37.opt-2.pyc100930644editdlrm
query.cpython-37.pyc128150644editdlrm
redirector.cpython-37.opt-1.pyc67630644editdlrm
redirector.cpython-37.opt-2.pyc33310644editdlrm
redirector.cpython-37.pyc67630644editdlrm
replace.cpython-37.opt-1.pyc93580644editdlrm
replace.cpython-37.opt-2.pyc65160644editdlrm
replace.cpython-37.pyc93580644editdlrm
rpc.cpython-37.opt-1.pyc196040644editdlrm
rpc.cpython-37.opt-2.pyc160580644editdlrm
rpc.cpython-37.pyc196910644editdlrm
run.cpython-37.opt-1.pyc176770644editdlrm
run.cpython-37.opt-2.pyc152020644editdlrm
run.cpython-37.pyc177250644editdlrm
runscript.cpython-37.opt-1.pyc70700644editdlrm
runscript.cpython-37.opt-2.pyc58360644editdlrm
runscript.cpython-37.pyc70700644editdlrm
scrolledlist.cpython-37.opt-1.pyc54030644editdlrm
scrolledlist.cpython-37.opt-2.pyc54030644editdlrm
scrolledlist.cpython-37.pyc54030644editdlrm
search.cpython-37.opt-1.pyc59310644editdlrm
search.cpython-37.opt-2.pyc34390644editdlrm
search.cpython-37.pyc59310644editdlrm
searchbase.cpython-37.opt-1.pyc80370644editdlrm
searchbase.cpython-37.opt-2.pyc52770644editdlrm
searchbase.cpython-37.pyc80370644editdlrm
searchengine.cpython-37.opt-1.pyc68410644editdlrm
searchengine.cpython-37.opt-2.pyc51910644editdlrm
searchengine.cpython-37.pyc68410644editdlrm
sidebar.cpython-37.opt-1.pyc109870644editdlrm
sidebar.cpython-37.opt-2.pyc95390644editdlrm
sidebar.cpython-37.pyc109870644editdlrm
squeezer.cpython-37.opt-1.pyc95200644editdlrm
squeezer.cpython-37.opt-2.pyc63330644editdlrm
squeezer.cpython-37.pyc95570644editdlrm
stackviewer.cpython-37.opt-1.pyc50540644editdlrm
stackviewer.cpython-37.opt-2.pyc50540644editdlrm
stackviewer.cpython-37.pyc50540644editdlrm
statusbar.cpython-37.opt-1.pyc19490644editdlrm
statusbar.cpython-37.opt-2.pyc19490644editdlrm
statusbar.cpython-37.pyc19490644editdlrm
textview.cpython-37.opt-1.pyc70650644editdlrm
textview.cpython-37.opt-2.pyc49090644editdlrm
textview.cpython-37.pyc70650644editdlrm
tooltip.cpython-37.opt-1.pyc65700644editdlrm
tooltip.cpython-37.opt-2.pyc49480644editdlrm
tooltip.cpython-37.pyc65700644editdlrm
tree.cpython-37.opt-1.pyc156960644editdlrm
tree.cpython-37.opt-2.pyc143520644editdlrm
tree.cpython-37.pyc156960644editdlrm
undo.cpython-37.opt-1.pyc107690644editdlrm
undo.cpython-37.opt-2.pyc107690644editdlrm
undo.cpython-37.pyc107690644editdlrm
window.cpython-37.opt-1.pyc31950644editdlrm
window.cpython-37.opt-2.pyc31950644editdlrm
window.cpython-37.pyc31950644editdlrm
zoomheight.cpython-37.opt-1.pyc27980644editdlrm
zoomheight.cpython-37.opt-2.pyc27490644editdlrm
zoomheight.cpython-37.pyc27980644editdlrm
zzdummy.cpython-37.opt-1.pyc12100644editdlrm
zzdummy.cpython-37.opt-2.pyc11420644editdlrm
zzdummy.cpython-37.pyc12100644editdlrm
__init__.cpython-37.opt-1.pyc5130644editdlrm
__init__.cpython-37.opt-2.pyc1510644editdlrm
__init__.cpython-37.pyc5130644editdlrm
__main__.cpython-37.opt-1.pyc2740644editdlrm
__main__.cpython-37.opt-2.pyc2030644editdlrm
__main__.cpython-37.pyc2740644editdlrm
Edit: /opt/alt/python37/lib64/python3.7/idlelib/__pycache__/debugger_r.cpython-37.opt-1.pyc (13771B)
B  fl/@sdZddlZddlmZdZdadZiZiZiZ iZ ddZ dd Z Gd d d Z Gd d d ZddZGdddZGdddZGdddZGdddZGdddZddZddZddZd d!Zed"krdd#lmZed$d%d&d'dS)(aSupport for remote Python debugging. Some ASCII art to describe the structure: IN PYTHON SUBPROCESS # IN IDLE PROCESS # # oid='gui_adapter' +----------+ # +------------+ +-----+ | GUIProxy |--remote#call-->| GUIAdapter |--calls-->| GUI | +-----+--calls-->+----------+ # +------------+ +-----+ | Idb | # / +-----+<-calls--+------------+ # +----------+<--calls-/ | IdbAdapter |<--remote#call--| IdbProxy | +------------+ # +----------+ oid='idb_adapter' # The purpose of the Proxy and Adapter classes is to translate certain arguments and return values that cannot be transported through the RPC barrier, in particular frame and traceback objects. N)debugger idb_adapterZ gui_adaptercCst|}|t|<|S)N)id frametable)framefidr7/opt/alt/python37/lib64/python3.7/idlelib/debugger_r.py wrap_frame(sr cCs>|dkr dS|d}t|}|t|<|d|d|f}|SdS)z0replace info[2], a traceback instance, by its IDNr)rtracebacktable)info tracebackZ traceback_id modified_inforrr wrap_info-src@seZdZddZdddZdS)GUIProxycCs||_||_dS)N)connoid)selfr gui_adap_oidrrr __init__;szGUIProxy.__init__NcCs&|j|jd|t|t|fidS)N interaction)r remotecallrr r)rmessagerrrrr r?s zGUIProxy.interaction)N)__name__ __module__ __qualname__rrrrrr r9src@seZdZddZddZddZddZd d Zd d Zd dZ ddZ ddZ ddZ ddZ ddZddZddZddZdd Zd!d"Zd#d$Zd%d&Zd'd(Zd)S)* IdbAdaptercCs ||_dS)N)idb)rrrrr rHszIdbAdapter.__init__cCs|jdS)N)rset_step)rrrr r MszIdbAdapter.set_stepcCs|jdS)N)rset_quit)rrrr r!PszIdbAdapter.set_quitcCs|jdS)N)r set_continue)rrrr r"SszIdbAdapter.set_continuecCst|}|j|dS)N)rrset_next)rrrrrr r#VszIdbAdapter.set_nextcCst|}|j|dS)N)rr set_return)rrrrrr r$ZszIdbAdapter.set_returncCsFt|}|dkrd}nt|}|j||\}}dd|D}||fS)NcSsg|]\}}t||fqSr)r ).0Zframe2krrr esz(IdbAdapter.get_stack..)rr r get_stack)rrtbidrtbstackirrr r(^szIdbAdapter.get_stackcCsddl}|j||jdS)Nr)__main__rrun__dict__)rcmdr-rrr r.hszIdbAdapter.runcCs|j||}|S)N)r set_break)rfilenamelinenomsgrrr r1lszIdbAdapter.set_breakcCs|j||}|S)N)r clear_break)rr2r3r4rrr r5pszIdbAdapter.clear_breakcCs|j|}|S)N)rclear_all_file_breaks)rr2r4rrr r6ts z IdbAdapter.clear_all_file_breakscCst|}t||S)N)rgetattr)rrnamerrrr frame_attrzszIdbAdapter.frame_attrcCs"t|}|j}t|}|t|<|S)N)r f_globalsr dicttable)rrrdictdidrrr frame_globals~s zIdbAdapter.frame_globalscCs"t|}|j}t|}|t|<|S)N)rf_localsrr;)rrrr<r=rrr frame_localss zIdbAdapter.frame_localscCs"t|}|j}t|}|t|<|S)N)rf_coder codetable)rrrcodecidrrr frame_codes zIdbAdapter.frame_codecCst|}|jS)N)rBco_name)rrDrCrrr code_nameszIdbAdapter.code_namecCst|}|jS)N)rB co_filename)rrDrCrrr code_filenameszIdbAdapter.code_filenamecCs tddS)Nz"dict_keys not public or pickleable)NotImplementedError)rr=rrr dict_keysszIdbAdapter.dict_keyscCst|}t|S)N)r;listkeys)rr=r<rrr dict_keys_listszIdbAdapter.dict_keys_listcCst|}||}t|}|S)N)r;repr)rr=keyr<valuerrr dict_itemszIdbAdapter.dict_itemN)rrrrr r!r"r#r$r(r.r1r5r6r9r>r@rErGrIrKrNrRrrrr rFs(  rcCs,t||}t|}t|}|t|tS)a|Start the debugger and its RPC link in the Python subprocess Start the subprocess side of the split debugger and set up that side of the RPC link by instantiating the GUIProxy, Idb debugger, and IdbAdapter objects and linking them together. Register the IdbAdapter with the RPCServer to handle RPC requests from the split debugger GUI via the IdbProxy. )rrZIdbrregister idb_adap_oid)Z rpchandlerrZ gui_proxyrZidb_adaprrr start_debuggers   rUc@s<eZdZddZddZddZddZd d Zd d Zd S) FrameProxycCs||_||_d|_i|_dS)Nr)_conn_fid_oid _dictcache)rrrrrr rszFrameProxy.__init__cCsb|dddkrt||dkr(|S|dkr8|S|dkrH|S|j|jd|j|fiS)Nr _rAr:r?r9)AttributeError _get_f_code_get_f_globals _get_f_localsrWrrYrX)rr8rrr __getattr__s zFrameProxy.__getattr__cCs(|j|jd|jfi}t|j|j|S)NrE)rWrrYrX CodeProxy)rrDrrr r]szFrameProxy._get_f_codecCs"|j|jd|jfi}||S)Nr>)rWrrYrX_get_dict_proxy)rr=rrr r^s  zFrameProxy._get_f_globalscCs"|j|jd|jfi}||S)Nr@)rWrrYrXrb)rr=rrr r_s  zFrameProxy._get_f_localscCs2||jkr|j|St|j|j|}||j|<|S)N)rZ DictProxyrWrY)rr=Zdprrr rbs    zFrameProxy._get_dict_proxyN) rrrrr`r]r^r_rbrrrr rVs  rVc@seZdZddZddZdS)racCs||_||_||_dS)N)rWrY_cid)rrrrDrrr rszCodeProxy.__init__cCsD|dkr |j|jd|jfiS|dkr@|j|jd|jfiSdS)NrFrGrHrI)rWrrYrd)rr8rrr r`s    zCodeProxy.__getattr__N)rrrrr`rrrr rasrac@s,eZdZddZddZddZddZd S) rccCs||_||_||_dS)N)rWrY_did)rrrr=rrr rszDictProxy.__init__cCs|j|jd|jfiS)NrN)rWrrYre)rrrr rMs zDictProxy.keyscCs|j|jd|j|fiS)NrR)rWrrYre)rrPrrr __getitem__s zDictProxy.__getitem__cCs t|dS)N)r\)rr8rrr r`szDictProxy.__getattr__N)rrrrrMrfr`rrrr rcs rcc@seZdZddZddZdS) GUIAdaptercCs||_||_dS)N)rgui)rrrhrrr rszGUIAdapter.__init__cCs t|j|}|j|||dS)N)rVrrhr)rrrrrrrr r!s zGUIAdapter.interactionN)rrrrrrrrr rgsrgc@sleZdZddZddZddZddZd d Zd d Zd dZ ddZ ddZ ddZ ddZ ddZdS)IdbProxycCs||_||_||_dS)N)rrshell)rrrjrrrr r)szIdbProxy.__init__cOs|j|j|||}|S)N)rrr)rZ methodnameargskwargsrQrrr call.sz IdbProxy.callcCs$|j|jd|fi}||jj_dS)Nr.)rZ asyncqueuerrjZinterpZ active_seq)rr0localsseqrrr r.4sz IdbProxy.runcs.d|j|\}}fdd|D}||fS)Nr(cs g|]\}}tj||fqSr)rVr)r%rr&)rrr r'<sz&IdbProxy.get_stack..)rmrX)rrr)r+r,r)rr r(9szIdbProxy.get_stackcCs|ddS)Nr")rm)rrrr r"?szIdbProxy.set_continuecCs|ddS)Nr )rm)rrrr r BszIdbProxy.set_stepcCs|d|jdS)Nr#)rmrX)rrrrr r#EszIdbProxy.set_nextcCs|d|jdS)Nr$)rmrX)rrrrr r$HszIdbProxy.set_returncCs|ddS)Nr!)rm)rrrr r!KszIdbProxy.set_quitcCs|d||}|S)Nr1)rm)rr2r3r4rrr r1NszIdbProxy.set_breakcCs|d||}|S)Nr5)rm)rr2r3r4rrr r5RszIdbProxy.clear_breakcCs|d|}|S)Nr6)rm)rr2r4rrr r6Vs zIdbProxy.clear_all_file_breaksN)rrrrrmr.r(r"r r#r$r!r1r5r6rrrr ri'sricCsD|ddtfiat||t}t||}t||}|t||S)a]Start the subprocess debugger, initialize the debugger GUI and RPC link Request the RPCServer start the Python subprocess debugger and link. Set up the Idle side of the split debugger by instantiating the IdbProxy, debugger GUI, and debugger GUIAdapter objects and linking them together. Register the GUIAdapter with the RPCClient to handle debugger GUI interaction requests coming from the subprocess debugger via the GUIProxy. The IdbAdapter will pass execution and environment requests coming from the Idle debugger GUI to the subprocess debugger via the IdbProxy. execstart_the_debugger)rrrTrirZDebuggerrgrS)rpccltZpyshellZ idb_proxyrhZgui_adaprrr start_remote_debuggerZs     rscCst||tdS)a]Shut down subprocess debugger and Idle side of debugger RPC link Request that the RPCServer shut down the subprocess debugger and link. Unregister the GUIAdapter, which will cause a GC on the Idle process debugger and RPC link objects. (The second reference to the debugger GUI is deleted in pyshell.close_remote_debugger().) N)close_subprocess_debuggerZ unregisterr)rrrrr close_remote_debuggerrs rucCs|ddtfidS)NrpZstop_the_debugger)rrT)rrrrr rt~srtcCs|ddtfi}dS)Nrprq)rr)rrZidb_adap_oid_retrrr restart_subprocess_debuggers rvr-)mainzidlelib.idle_test.test_debuggerr F) verbosityexit)__doc__typesZidlelibrZ debuggingrTrrr;rBr r rrrrUrVrarcrgrirsrurtrvrZunittestrwrrrr s4   m* 3