OwlCyberSecurity - MANAGER
Edit File: run.cpython-33.pyo
� ��f~5��c���������������@���s��d��d�l��Z��d��d�l�Z�d��d�l�Z�d��d�l�Z�d��d�l�Z�d��d�l�Z�d��d�l�Z�d��d�l�Z�d��d�l �Z �d��d�l �Z �d��d�l�m�Z�d��d�l�m �Z �d��d�l�m�Z�d��d�l�m�Z�d��d�l�m�Z�d��d�l�m�Z�d��d�l�m�Z�d��d �l�m�Z�d��d�l�Z�d �Z�d��d�l�Z�d�d�d�d���Z�d�a�d �d����Z�e�d%���e �j����Z�e�d�d���Z�d&�a �d&�a!�d&�a"�d&�d�d���Z#�d�d����Z$�d�d����Z%�d�d����Z&�d�d����Z'�d�d����Z(�d�d����Z)�Gd�d ����d �e�j*���Z+�Gd!�d"����d"�e�j,���Z-�Gd#�d$����d$�e.���Z/�e�d&���d�S('���i����N(���u���CallTips(���u���AutoComplete(���u���RemoteDebugger(���u���RemoteObjectBrowser(���u���StackViewer(���u���rpc(���u���PyShell(���u ���IOBindingu ���127.0.0.1c���������� ���C���sW���|�d�k�r�t�j�}�n��y&�|�j�t�j�|��|�|�|�|�����Wn�t�k �rR�Yn�Xd�S(���uu���Show Idle-format warning after replacing warnings.showwarning. The only difference is the formatter called. N(���u���Noneu���sysu���stderru���writeu���PyShellu���idle_formatwarningu���IOError(���u���messageu���categoryu���filenameu���linenou���fileu���line(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���idle_showwarning_subproc���s���� u���idle_showwarning_subprocc�������������C���sL���|��r*�t��d�k�rH�t�j�a��t�t�_�qH�n�t��d�k �rH�t��t�_�d�a��n��d�S(���uF���Replace warning.showwarning with idle_showwarning_subproc, or reverse.N(���u���_warnings_showwarningu���Noneu���warningsu���showwarningu���idle_showwarning_subproc(���u���capture(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���capture_warnings,���s���� u���capture_warningsc�������������C���s���|��j��d���d�S(���u����Process 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.u���updateN(���u���eval(���u���tcl(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���handle_tk_events<���s����u���handle_tk_eventsc�������������C���s��|��a��y�t�t�j�d ���}�Wn�t�d�d�t�j��d�SYn�Xt�d���d�g�t�j�d�d���<t�j �d�t �d�d�d �t�|�f�f���}�d�|�_�|�j ����xay��t�r��y�t����Wq��t�k �r��w��Yq��Xn��y%�t�j�j�d �d�d�d���\�}�}�Wn�t�j�k �rt����w��Yn�X|�\�}�}�}�|�|�|����}�t�j�j�|�|�f���Wq��t�k �rmt�rfd�a�n��w��Yq��t�k �r�t�d������Yq��t�j����\�} �} �}�y!�t����t�j�j�|�d�f���Wn+�t�j�| �| �|�d�t�j��t����Yn�Xw��Yq��Xq��d�S(���uj��Start 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���u/���IDLE Subprocess: no IP port passed in sys.argv.u���fileNu����u���targetu���nameu ���SockThreadu���argsu���blocku���timeoutg�������?i����TF( ���u���no_exitfuncu���intu���sysu���argvu���printu ���__stderr__u���capture_warningsu���Trueu ���threadingu���Threadu ���manage_socketu ���LOCALHOSTu���daemonu���startu���exit_nowu���exitu���KeyboardInterruptu���rpcu ���request_queueu���getu���queueu���Emptyu���handle_tk_eventsu���response_queueu���putu���quittingu ���SystemExitu���Falseu���exc_infou���print_exceptionu���Noneu ���traceback(���u���del_exitfuncu���portu ���sockthreadu���sequ���requestu���methodu���argsu���kwargsu���retu���typeu���valueu���tb(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���mainJ���sZ���� % u���mainc�������������C���s����x��t��d���D]z�}�t�j�|���y�t�|��t���}�PWq �t�j�k �r��}�z-�t�d�|�j�d�d�d�t �j ��|�}�WYd��d��}�~�Xq �Xq �Wt�d�d�t �j ��t�|�|����d�a �d��S|�j����d��S(���Ni���u���IDLE Subprocess: socket error: i���u���, retrying....u���fileu8���IDLE Subprocess: Connection to IDLE GUI failed, exiting.T(���u���rangeu���timeu���sleepu���MyRPCServeru ���MyHandleru���socketu���erroru���printu���argsu���sysu ���__stderr__u���show_socket_erroru���Trueu���exit_nowu���handle_request(���u���addressu���iu���serveru���erru���socket_error(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu ���manage_socket����s���� u ���manage_socketc�������������C���s����d�d��l��}�d�d��l�j�}�|�j����}�|�j����|��j�d�d�k�rg�d�|�}�|�j�d�|�d�|��n�|�j�d�d�|��j�d���|�j����d��S(���Ni����i=���u����IDLE'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.u���IDLE Subprocess Erroru���parentu���Socket Error: %si���(���u���tkinteru���tkinter.messageboxu ���messageboxu���Tku���withdrawu���argsu ���showerroru���destroy(���u���erru���addressu���tkinteru���tkMessageBoxu���rootu���msg(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���show_socket_error����s���� u���show_socket_errorc�����������������s����d�d��l��}��|��j����t����t�j����t�j����\�}�}�}�}�|�\�t�_�t�_�t�_�t �������������f�d�d��������|�|�|���d��S(���Ni����c������� ��� ������s<����j��|���|�j�}�|�j�}�|�d��k �rc�|���k�rc���t�|���|�|�j���t�d�d�����nN�|�d��k �r��|�j�r��|���k�r����t�|���|�|�j���t�d�d�����n��|�r��t�j �|���}�t�d�d�����d �}�t �|�|���t�j�|�d�����n��t�j�|��|���}�x$�|�D]�}�t�|�d�d�d�����qWd��S(���NuF��� The above exception was the direct cause of the following exception: u���fileuE��� During handling of the above exception, another exception occurred: u"���Traceback (most recent call last):u���run.pyu���rpc.pyu���threading.pyu���queue.pyu���RemoteDebugger.pyu���bdb.pyu���endu����(���u���run.pyu���rpc.pyu���threading.pyu���queue.pyu���RemoteDebugger.pyu���bdb.py( ���u���addu���__context__u ���__cause__u���Noneu���typeu ���__traceback__u���printu���__suppress_context__u ���tracebacku ���extract_tbu���cleanup_tracebacku ���print_listu���format_exception_only( ���u���typu���excu���tbu���contextu���causeu���tbeu���excludeu���linesu���line(���u���efileu ���print_excu���seen(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu ���print_exc����s.���� � u"���print_exception.<locals>.print_exc( ���u ���linecacheu ���checkcacheu���flush_stdoutu���sysu���stderru���exc_infou ���last_typeu ���last_valueu���last_tracebacku���set(���u ���linecacheu���typu���valu���tbu���excinfo(����(���u���efileu ���print_excu���seenu0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���print_exception����s���� u���print_exceptionc������� ������C���s}��|��d�d���}�x>�|��rP�x*�|�D]!�}�|��d�d�j��|���r �Pq �q �WP|��d�=q�Wx>�|��r��x*�|�D]!�}�|��d�d�j��|���ra�Pqa�qa�WP|��d �=qT�Wt�|����d�k�r��|�d�d���|��d�d���<t�d�d�t�j��n��t�j�d�j�}�x��t�t�|������D]~�}�|��|�\�}�}�}�} �|�d�k�r(d�}�n��| �r_|�j �d ���r_|�j �d �d�|�|�f�i����} �n��|�|�|�| �f�|��|�<q��Wd�S(���uA���Remove excluded traces from beginning/end of tb; get cached linesNi����i���u���** IDLE Internal Exception: u���fileu���execu���?u ���-toplevel-u ���<pyshell#u ���linecacheu���getlinei����i����(���u���countu���lenu���printu���sysu���stderru���rpcu���objecttableu ���rpchandleru���rangeu ���startswithu ���remotecall( ���u���tbu���excludeu���orig_tbu���rpcfileu ���rpchandleru���iu���fnu���lnu���nmu���line(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���cleanup_traceback����s2���� u���cleanup_tracebackc���������������C���s���d�S(���u���XXX How to do this now?N(����(����(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���flush_stdout����s����u���flush_stdoutc��������������C���s:���t��r�d�d�l�}��|��j����n��t�d���t�j�d���d�S(���u����Exit subprocess, possibly after first clearing exit functions. If config-main.cfg/.def 'General' 'delete-exitfunc' is True, then any functions registered with atexit will be removed before exiting. (VPython support) i����NF(���u���no_exitfuncu���atexitu���_clearu���capture_warningsu���Falseu���sysu���exit(���u���atexit(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���exit����s ���� u���exitc�������������B���s ���|��Ee��Z�d��Z�d�d����Z�d�S(���u���MyRPCServerc�������������C���s ��y����Wn��t��k �r����Yn��t�k �r?�d�a�t�j����Yn��t�j�}�t�d�d�d�d�|��t�d�d�|��t�d�t �j ����j�d�|��t�d�|�d�|��t�d�t�|���d�|��t �j�d�|���t�d �d�|��t�d�d�d�|��d�a�t�j����Yn�Xd �S(���ur���Override RPCServer method for IDLE Interrupt the MainThread and exit server if link is dropped. u��� u���-i(���u���fileu���Unhandled server exception!u ���Thread: %su���Client Address: u ���Request: u#��� *** Unrecoverable, server exiting!NT(���u ���SystemExitu���EOFErroru���Trueu���exit_nowu���threadu���interrupt_mainu���sysu ���__stderr__u���printu ���threadingu���current_threadu���nameu���repru ���tracebacku ���print_excu���quitting(���u���selfu���requestu���client_addressu���erf(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���handle_error��s&���� u���MyRPCServer.handle_errorN(���u���__name__u ���__module__u���__qualname__u���handle_error(���u ���__locals__(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���MyRPCServer ��s���u���MyRPCServerc�������������B���sD���|��Ee��Z�d��Z�d�d����Z�d�d����Z�d�d����Z�d�d����Z�d �S( ���u ���MyHandlerc�������������C���s����t��|����}�|��j�d�|���|��j�d���|��_�t�j�|��j�d�t�j���t�_ �t�j �|��j�d�t�j���t�_�t�j �|��j�d�t�j���t�_�t �j�t�_�d�d�l�}�|�j�|�_�t�j �|��_�|��j�d���|��_�t �j�j�|��d �d�d �d��d�S(���u���Override base methodu���execu���consoleu���stdinu���stdoutu���stderri����Nu���interpu���mysequ���waitg�������?(���u ���Executiveu���registeru���get_remote_proxyu���consoleu���PyShellu���PseudoInputFileu ���IOBindingu���encodingu���sysu���stdinu���PseudoOutputFileu���stdoutu���stderru���rpcu���displayhooku���pydocu ���plainpageru���pageru���_keep_stdinu���interpu ���RPCHandleru���getresponseu���None(���u���selfu ���executiveu���pydoc(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���handle*��s����u���MyHandler.handlec�������������C���s���t��j�d���d�S(���u>���override SocketIO method - wait for MainThread to shut us downi ���N(���u���timeu���sleep(���u���self(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���exithookB��s����u���MyHandler.exithookc�������������C���s���d�a�t�j����d�S(���uE���Override SocketIO method - terminate wait on callback and exit threadNT(���u���Trueu���quittingu���threadu���interrupt_main(���u���self(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���EOFhookF��s����u���MyHandler.EOFhookc�������������C���s���d�a�t�j����d�S(���u���interrupt awakened threadNT(���u���Trueu���quittingu���threadu���interrupt_main(���u���self(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���decode_interrupthookL��s����u���MyHandler.decode_interrupthookN(���u���__name__u ���__module__u���__qualname__u���handleu���exithooku���EOFhooku���decode_interrupthook(���u ���__locals__(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu ���MyHandler(��s���u ���MyHandlerc�������������B���sw���|��Ee��Z�d��Z�d�d����Z�d�d����Z�d�d����Z�d�d����Z�d �d ����Z�d�d����Z�d �d����Z �d�d�d���Z�d�S(���u ���Executivec�������������C���s7���|�|��_��t�j�|��_�t�j����|��_�t�j����|��_�d��S(���N(���u ���rpchandleru���__main__u���__dict__u���localsu���CallTipsu���calltipu���AutoCompleteu���autocomplete(���u���selfu ���rpchandler(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���__init__U��s���� u���Executive.__init__c�������������C���s����y1�d��|��_�d�a�z�t�|�|��j���Wd��d�a�XWnm�t�k �rE�Ync�t�j ����|��_�t �rg�t����n��t����|��j �j�j�d���}�|�r��|��j �j�j����n��Yn�Xt����d��S(���Nu���<<toggle-jit-stack-viewer>>TF(���u���Noneu���usr_exc_infou���Trueu ���interruptableu���execu���localsu���Falseu ���SystemExitu���sysu���exc_infou���quittingu���exitu���print_exceptionu ���rpchandleru���consoleu���getvaru���interpu���open_remote_stack_vieweru���flush_stdout(���u���selfu���codeu���jit(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���runcode[��s"���� u���Executive.runcodec�������������C���s���t��r�t�j����n��d��S(���N(���u ���interruptableu���threadu���interrupt_main(���u���self(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���interrupt_the_servert��s����u���Executive.interrupt_the_serverc�������������C���s���t��j�|��j�|���S(���N(���u���RemoteDebuggeru���start_debuggeru ���rpchandler(���u���selfu���gui_adap_oid(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���start_the_debuggerx��s����u���Executive.start_the_debuggerc�������������C���s���|��j��j�|���d�S(���uD���Unregister the Idb Adapter. Link objects and Idb then subject to GCN(���u ���rpchandleru ���unregister(���u���selfu���idb_adap_oid(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���stop_the_debugger{��s����u���Executive.stop_the_debuggerc�������������C���s���|��j��j�|���S(���N(���u���calltipu ���fetch_tip(���u���selfu���name(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���get_the_calltip��s����u���Executive.get_the_calltipc�������������C���s���|��j��j�|�|���S(���N(���u���autocompleteu���fetch_completions(���u���selfu���whatu���mode(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���get_the_completion_list���s����u!���Executive.get_the_completion_listc�������������C���s����|��j��r�|��j��\�}�}�}�n�d��Sd��}�|�d��k �rI�|��j�j�|���}�n��x)�|�rt�|�j�j�d�d�k�rt�|�j�}�qL�W|�t�_�|�t�_ �t �j�|�|���}�t�j �|���S(���Nu���__name__u���rpcu���run(���u���rpcu���run(���u���usr_exc_infou���Noneu ���rpchandleru���get_remote_proxyu���tb_frameu ���f_globalsu���tb_nextu���sysu ���last_typeu ���last_valueu���StackVieweru ���StackTreeItemu���RemoteObjectBrowseru���remote_object_tree_item(���u���selfu ���flist_oidu���typu���valu���tbu���flistu���item(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���stackviewer���s���� u���Executive.stackviewerN(���u���__name__u ���__module__u���__qualname__u���__init__u���runcodeu���interrupt_the_serveru���start_the_debuggeru���stop_the_debuggeru���get_the_calltipu���get_the_completion_listu���Noneu���stackviewer(���u ���__locals__(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu ���ExecutiveS��s���u ���ExecutiveTF(0���u���sysu���iou ���linecacheu���timeu���socketu ���tracebacku���_threadu���threadu ���threadingu���queueu���tkinteru���idlelibu���CallTipsu���AutoCompleteu���RemoteDebuggeru���RemoteObjectBrowseru���StackVieweru���rpcu���PyShellu ���IOBindingu���__main__u ���LOCALHOSTu���warningsu���Noneu���idle_showwarning_subprocu���_warnings_showwarningu���capture_warningsu���Trueu���Tclu���tclu���handle_tk_eventsu���Falseu���exit_nowu���quittingu ���interruptableu���mainu ���manage_socketu���show_socket_erroru���print_exceptionu���cleanup_tracebacku���flush_stdoutu���exitu ���RPCServeru���MyRPCServeru ���RPCHandleru ���MyHandleru���objectu ���Executive(����(����(����u0���/opt/alt/python33/lib64/python3.3/idlelib/run.pyu���<module>���sP��� I$+A