/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__/run.cpython-37.pyc (17725B)
B  fEO@s@dZddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddl Z ddl mZddl mZddl mZddl mZddl mZddl mZdd l mZddlZddlZeejd d sx"d D]Zeeeejd e=qWdejd _dZdAddZdBddZdaddZ e de!Z"e"fddZ#da$da%da&dCddZ'ddZ(ddZ)dd Z*d!d"Z+d#d$Z,d%d&Z-d'd(Z.d)d*Z/d+Z0d,d-Z1d.d/Z2Gd0d1d1ej3Z4Gd2d3d3ej5Z6Gd4d5d5e6Z7Gd6d7d7e6Z8Gd8d9d9ej9Z:Gd:d;d;e;Zm'Z'e'd>d?d@e ddS)Dz idlelib.run Simplified, pyshell.ModifiedInterpreter spawns a subprocess with f'''{sys.executable} -c "__import__('idlelib.run').run.main()"''' '.run' is needed because __import__ returns idlelib, not idlelib.run. N) autocomplete)calltip) debugger_r) debugobj_r)iomenu)rpc) stackviewerz idlelib.runfirstrun)Z simpledialogZ messageboxfontZdialogZ filedialogZ commondialogZttkztkinter.Fz 127.0.0.1cCsVd}|d||f7}|dkr(t||}|}|r@|d|7}|d|j|f7}|S)zFormat warnings the IDLE way.z! Warning (from warnings module): z File "%s", line %s Nz %s z%s: %s ) linecachegetlinestrip__name__)messagecategoryfilenamelinenolinesr0/opt/alt/python37/lib64/python3.7/idlelib/run.pyidle_formatwarning*s  rcCsB|dkrtj}y|t|||||Wntk r<YnXdS)zuShow Idle-format warning after replacing warnings.showwarning. The only difference is the formatter called. N)sysstderrwriterOSError)rrrrfilerrrridle_showwarning_subproc7srcCs0|rtdkr,tjatt_ntdk r,tt_dadS)zFReplace warning.showwarning with idle_showwarning_subproc, or reverse.N)_warnings_showwarningwarnings showwarningr)Zcapturerrrcapture_warningsGsr!TcCs|ddS)zProcess any tk events that are ready to be dispatched if tkinter has been imported, a tcl interpreter has been created and tk has been loaded.updateN)eval)tclrrrhandle_tk_eventsWsr%c Cs|ay$ttjdkstttjd}WntdtjddStddgtjdd<t j t dt |ffd }d|_ |x2ytry tWntk rwYnXytjjdd d }Wntjk rd}YnX|r |\}\}}}|||}tj||fntWqtk r4tr.dawYqtk rRtd Yqt\} } } yttj|dfWn&tj| | | tjdtYnXwYqXqWdS) afStart 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. debugger_r.Debugger.start_debugger()). The latter, in turn, can call MyHandler(SocketIO) register/unregister methods via the reference to register and unregister themselves. z/IDLE Subprocess: no IP port passed in sys.argv.)rNTZ SockThread)targetnameargsg?)blockZtimeoutF) no_exitfunclenrargvAssertionErrorintprint __stderr__r! threadingZThread manage_socket LOCALHOSTZdaemonstartexit_nowexitKeyboardInterruptrZ request_queuegetqueueZEmptyZresponse_queueZputr%quitting SystemExitexc_infoprint_exception traceback) Z del_exitfuncZportZ sockthreadrequestseqmethodr+kwargsZrettypevaluetbrrrmaines^      rIc CsxtdD]b}t|yt|t}PWq tk rj}z$td|jddtj d|}Wdd}~XYq Xq Wtdtj dt ||da dS| dS)NzIDLE Subprocess: OSError: r&z, retrying....)rz8IDLE Subprocess: Connection to IDLE GUI failed, exiting.T) rangetimesleep MyRPCServer MyHandlerrr2r+rr3show_socket_errorr8Zhandle_request)addressiZservererrZ socket_errorrrrr5s    r5c Cslddl}ddlm}|}t|||dd|dd|dd|jd |jd |d |dS) z(Display socket error from manage_socket.rN) showerrorzSubprocess Connection Errorz#IDLE's subprocess can't connect to :r&z. Fatal OSError #z: zz. See the 'Startup failure' section of the IDLE doc, online at https://docs.python.org/3/library/idle.html#startup-failure)parent) tkinterZtkinter.messageboxrTZTk fix_scalingZwithdrawerrnostrerrorZdestroy)rSrQrWrTrootrrrrPs (rPcsdddl}|ttjt\}}}}|\t_t_t_t fdd|||dS)Nrc st||j}|j}|dk rNt|krNt|||jtddn8|dk r|jst|krt|||jtdd|rt |}tddd}t ||tj |dt ||}x|D]}t|ddqWdS)NzF The above exception was the direct cause of the following exception: )rzE During handling of the above exception, another exception occurred: z"Traceback (most recent call last):)zrun.pyzrpc.pyz threading.pyzqueue.pyz debugger_r.pyzbdb.pyr()endr) addid __context__ __cause__rF __traceback__r2__suppress_context__rA extract_tbcleanup_traceback print_listformat_exception_only) typexcrHcontextcauseZtbeexcludelinesr)efile print_excseenrrrns,       z"print_exception..print_exc) r checkcache flush_stdoutrrr? last_type last_valuelast_tracebackset)r rgvalrHexcinfor)rmrnrorr@sr@c Cs|dd}x2|r>x"|D]}|dd|rPqWP|d=qWx2|rrx"|D]}|dd|rLPqLWP|d=qBWt|dkr|dd|dd<tdtjdtjdj}xbtt|D]R}||\}}}} |dkrd}| s| d r| d d ||fi} |||| f||<qWdS) zARemove excluded traces from beginning/end of tb; get cached linesNrr'z** IDLE Internal Exception: )rexec?z -toplevel-z tdt|dYnX|dksPtd|tS)Nz.setrecursionlimit() takes no keyword argumentsz0setrecursionlimit() takes exactly one argument (z given)rz/recursion limit must be greater or equal than 1) TypeError ValueErrorr. __wrapped__RECURSIONLIMIT_DELTA)r+rElimit)setrecursionlimitrrr@s z:install_recursionlimit_wrappers..setrecursionlimitz# This IDLE wrapper adds z7 to prevent possible uninterruptible loops.cs tS)N)rrr)getrecursionlimitrrrUsz:install_recursionlimit_wrappers..getrecursionlimitz( This IDLE wrapper subtracts z# to compensate for the z" IDLE adds when setting the limit.N) functoolswrapsrrrrrrr)rrrinstall_recursionlimit_wrappers<srcCsFttjddrBttjddrBtjjt_tjjt_tttdS)zUninstall the recursion limit wrappers from the sys module. IDLE only uses this for tests. Users can import run and call this to remove the wrapping. rN)getattrrrrrrrrrr!uninstall_recursionlimit_wrappersds   rc@seZdZddZdS)rNcCsyWntk rYntk r:datYntj}td|dtd|dtdt j |dtd||dtdt ||dt j |dtd|dtd |ddatYnXd S) zrOverride RPCServer method for IDLE Interrupt the MainThread and exit server if link is dropped. Tz) ----------------------------------------)rzUnhandled server exception!z Thread: %szClient Address: z Request: z# *** Unrecoverable, server exiting!z(----------------------------------------N)r>EOFErrorr8threadinterrupt_mainrr3r2r4Zcurrent_threadr*reprrArnr=)selfrBZclient_addressZerfrrr handle_errorus&      zMyRPCServer.handle_errorN)r __module__ __qualname__rrrrrrNssrNc@sBeZdZdddZeddZeddZed d Zd d Zd S) StdioFileutf-8strictcCs||_||_||_||_dS)N)shelltags _encoding_errors)rrrencodingerrorsrrr__init__szStdioFile.__init__cCs|jS)N)r)rrrrrszStdioFile.encodingcCs|jS)N)r)rrrrrszStdioFile.errorscCs d|jS)Nz<%s>)r)rrrrr*szStdioFile.namecCsdS)NTr)rrrrisattyszStdioFile.isattyN)rr) rrrrpropertyrrr*rrrrrrs     rc@seZdZddZddZdS) StdOutputFilecCsdS)NTr)rrrrwritableszStdOutputFile.writablecCs<|jrtdt||j|j|j|j}|j||j S)Nzwrite to closed file) closedrstrencoderrdecoderrr)rrrrrrszStdOutputFile.writeN)rrrrrrrrrrsrc@s4eZdZdZddZd ddZd ddZd d Zd S) StdInputFiler(cCsdS)NTr)rrrrreadableszStdInputFile.readabler'cCs|jrtd|dkrd}nt|ts8tdt|j|j}d|_|dkrlxb|j }|s^P||7}qNWnDx(t ||kr|j }|sP||7}qnW||d|_|d|}|S)Nzread from closed filer'zmust be int, not r(r) rr isinstancer1rrFr _line_bufferrreadliner.)rrresultrrrrreads,     zStdInputFile.readcCs|jrtd|dkrd}nt|ts8tdt|j|jpF|j }|dkrXt |}| dd|}|dkrv|d}||d|_|d|S)Nzread from closed filer'zmust be int, not r r&) rrrr1rrFrrrrr.find)rrrZeolrrrrs zStdInputFile.readlinecCs|jdS)N)rclose)rrrrrszStdInputFile.closeN)r')r')rrrrrrrrrrrrrs   rc@s,eZdZddZddZddZddZd S) rOcCst|}|d||d|_t|jdtjtjt_ t |jdtjtjt_ t |jdtjdt_ t jt_ddl}|j|_tj |_t|d |_t jj|dd d dS) zOverride base methodrxconsolestdinstdoutrbackslashreplacerNinterpg?)Zmyseqwait) Executiveregisterget_remote_proxyrrrrrrrrrrr displayhookpydocZ plainpagerZpagerZ _keep_stdinrr RPCHandlerZ getresponse)rZ executiverrrrhandles     zMyHandler.handlecCstddS)z>override SocketIO method - wait for MainThread to shut us down N)rLrM)rrrrexithookszMyHandler.exithookcCsdatdS)zEOverride SocketIO method - terminate wait on callback and exit threadTN)r=rr)rrrrEOFhook szMyHandler.EOFhookcCsdatdS)zinterrupt awakened threadTN)r=rr)rrrrdecode_interrupthookszMyHandler.decode_interrupthookN)rrrrrrrrrrrrOsrOc@sNeZdZddZddZddZddZd d Zd d Zd dZ dddZ dS)rcCs&||_tj|_t|_t|_dS)N)r{__main____dict__localsrZCalltiprZ AutoComplete)rr{rrrrs zExecutive.__init__c Csy&d|_dazt||jWddaXWntk r}z<|jrp|jd}t|tdtfspt dt |t j dWdd}~XYnJt |_trtt|jjd}|r|jjYnXtdS)NTFrz SystemExit: )rz<>) usr_exc_info interruptablerxrr>r+rrFr1r2rrrr?r=r9r@r{rZgetvarrZopen_remote_stack_viewerrq)rcodeeZobZjitrrrruncodes(  & zExecutive.runcodecCstr tdS)N)rrr)rrrrinterrupt_the_server8szExecutive.interrupt_the_servercCst|j|S)N)rZstart_debuggerr{)rZ gui_adap_oidrrrstart_the_debugger<szExecutive.start_the_debuggercCs|j|dS)zDUnregister the Idb Adapter. Link objects and Idb then subject to GCN)r{Z unregister)rZ idb_adap_oidrrrstop_the_debugger?szExecutive.stop_the_debuggercCs |j|S)N)rZ fetch_tip)rr*rrrget_the_calltipCszExecutive.get_the_calltipcCs|j||S)N)rZfetch_completions)rZwhatmoderrrget_the_completion_listFsz!Executive.get_the_completion_listNcCsr|jr|j\}}}ndSd}|dk r0|j|}x|rN|jjddkrN|j}q2W|t_|t_t ||}t |S)Nr)rrun) rr{rtb_frame f_globalstb_nextrrrrsrZ StackTreeItemrZremote_object_tree_item)rZ flist_oidrgrvrHZflistitemrrrrIs   zExecutive.stackviewer)N) rrrrrrrrrrrrrrrrsrr)rIzidlelib.idle_test.test_run) verbosity)N)NN)F)?rrior r<rrrLrA_threadrr4rZidlelibrrrrrrrrrWhasattrmodulesmoddelattrr r6rrrr!ZTclr$r%r8r=rrIr5rPr@rdrqr9rXrrrrZ RPCServerrN TextIOBaserrrrrOobjectrrZunittestrrrrst               M$ (! 1-C