SILENT KILLERPanel

Current Path: > > opt > alt > python34 > lib64 > python3.4 > idlelib > > __pycache__


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/python34/lib64/python3.4/idlelib//__pycache__

NameTypeSizeLast ModifiedActions
AutoComplete.cpython-34.pyc File 7715 bytes April 17 2024 17:10:07.
AutoComplete.cpython-34.pyo File 7715 bytes April 17 2024 17:10:07.
AutoCompleteWindow.cpython-34.pyc File 11539 bytes April 17 2024 17:10:07.
AutoCompleteWindow.cpython-34.pyo File 11483 bytes April 17 2024 17:10:03.
AutoExpand.cpython-34.pyc File 3183 bytes April 17 2024 17:10:07.
AutoExpand.cpython-34.pyo File 3183 bytes April 17 2024 17:10:07.
Bindings.cpython-34.pyc File 3159 bytes April 17 2024 17:10:07.
Bindings.cpython-34.pyo File 3159 bytes April 17 2024 17:10:07.
CallTipWindow.cpython-34.pyc File 5370 bytes April 17 2024 17:10:07.
CallTipWindow.cpython-34.pyo File 5370 bytes April 17 2024 17:10:07.
CallTips.cpython-34.pyc File 5951 bytes April 17 2024 17:10:07.
CallTips.cpython-34.pyo File 5951 bytes April 17 2024 17:10:07.
ClassBrowser.cpython-34.pyc File 8578 bytes April 17 2024 17:10:07.
ClassBrowser.cpython-34.pyo File 8578 bytes April 17 2024 17:10:07.
CodeContext.cpython-34.pyc File 6186 bytes April 17 2024 17:10:07.
CodeContext.cpython-34.pyo File 6145 bytes April 17 2024 17:10:03.
ColorDelegator.cpython-34.pyc File 8025 bytes April 17 2024 17:10:07.
ColorDelegator.cpython-34.pyo File 8025 bytes April 17 2024 17:10:07.
Debugger.cpython-34.pyc File 15672 bytes April 17 2024 17:10:07.
Debugger.cpython-34.pyo File 15672 bytes April 17 2024 17:10:07.
Delegator.cpython-34.pyc File 1101 bytes April 17 2024 17:10:07.
Delegator.cpython-34.pyo File 1101 bytes April 17 2024 17:10:07.
EditorWindow.cpython-34.pyc File 52664 bytes April 17 2024 17:10:07.
EditorWindow.cpython-34.pyo File 52568 bytes April 17 2024 17:10:03.
FileList.cpython-34.pyc File 3640 bytes April 17 2024 17:10:07.
FileList.cpython-34.pyo File 3610 bytes April 17 2024 17:10:03.
FormatParagraph.cpython-34.pyc File 6373 bytes April 17 2024 17:10:07.
FormatParagraph.cpython-34.pyo File 6373 bytes April 17 2024 17:10:07.
GrepDialog.cpython-34.pyc File 5664 bytes April 17 2024 17:10:07.
GrepDialog.cpython-34.pyo File 5664 bytes April 17 2024 17:10:07.
HyperParser.cpython-34.pyc File 7433 bytes April 17 2024 17:10:07.
HyperParser.cpython-34.pyo File 7433 bytes April 17 2024 17:10:07.
IOBinding.cpython-34.pyc File 14437 bytes April 17 2024 17:10:07.
IOBinding.cpython-34.pyo File 14437 bytes April 17 2024 17:10:07.
IdleHistory.cpython-34.pyc File 3703 bytes April 17 2024 17:10:07.
IdleHistory.cpython-34.pyo File 3703 bytes April 17 2024 17:10:07.
MultiCall.cpython-34.pyc File 16619 bytes April 17 2024 17:10:07.
MultiCall.cpython-34.pyo File 16554 bytes April 17 2024 17:10:03.
MultiStatusBar.cpython-34.pyc File 1944 bytes April 17 2024 17:10:07.
MultiStatusBar.cpython-34.pyo File 1944 bytes April 17 2024 17:10:07.
ObjectBrowser.cpython-34.pyc File 5524 bytes April 17 2024 17:10:07.
ObjectBrowser.cpython-34.pyo File 5524 bytes April 17 2024 17:10:07.
OutputWindow.cpython-34.pyc File 4547 bytes April 17 2024 17:10:07.
OutputWindow.cpython-34.pyo File 4547 bytes April 17 2024 17:10:07.
ParenMatch.cpython-34.pyc File 6471 bytes April 17 2024 17:10:07.
ParenMatch.cpython-34.pyo File 6471 bytes April 17 2024 17:10:07.
PathBrowser.cpython-34.pyc File 4118 bytes April 17 2024 17:10:07.
PathBrowser.cpython-34.pyo File 4118 bytes April 17 2024 17:10:07.
Percolator.cpython-34.pyc File 4127 bytes April 17 2024 17:10:07.
Percolator.cpython-34.pyo File 3954 bytes April 17 2024 17:10:03.
PyParse.cpython-34.pyc File 11526 bytes April 17 2024 17:10:07.
PyParse.cpython-34.pyo File 11084 bytes April 17 2024 17:10:03.
PyShell.cpython-34.pyc File 48208 bytes April 17 2024 17:10:07.
PyShell.cpython-34.pyo File 48069 bytes April 17 2024 17:10:03.
RemoteDebugger.cpython-34.pyc File 14655 bytes April 17 2024 17:10:07.
RemoteDebugger.cpython-34.pyo File 14513 bytes April 17 2024 17:10:03.
RemoteObjectBrowser.cpython-34.pyc File 2009 bytes April 17 2024 17:10:07.
RemoteObjectBrowser.cpython-34.pyo File 2009 bytes April 17 2024 17:10:07.
ReplaceDialog.cpython-34.pyc File 6920 bytes April 17 2024 17:10:07.
ReplaceDialog.cpython-34.pyo File 6920 bytes April 17 2024 17:10:07.
RstripExtension.cpython-34.pyc File 1359 bytes April 17 2024 17:10:07.
RstripExtension.cpython-34.pyo File 1359 bytes April 17 2024 17:10:07.
ScriptBinding.cpython-34.pyc File 7082 bytes April 17 2024 17:10:07.
ScriptBinding.cpython-34.pyo File 7082 bytes April 17 2024 17:10:07.
ScrolledList.cpython-34.pyc File 5771 bytes April 17 2024 17:10:07.
ScrolledList.cpython-34.pyo File 5771 bytes April 17 2024 17:10:07.
SearchDialog.cpython-34.pyc File 3361 bytes April 17 2024 17:10:07.
SearchDialog.cpython-34.pyo File 3361 bytes April 17 2024 17:10:07.
SearchDialogBase.cpython-34.pyc File 7713 bytes April 17 2024 17:10:07.
SearchDialogBase.cpython-34.pyo File 7713 bytes April 17 2024 17:10:07.
SearchEngine.cpython-34.pyc File 7473 bytes April 17 2024 17:10:07.
SearchEngine.cpython-34.pyo File 7473 bytes April 17 2024 17:10:07.
StackViewer.cpython-34.pyc File 5619 bytes April 17 2024 17:10:07.
StackViewer.cpython-34.pyo File 5619 bytes April 17 2024 17:10:07.
ToolTip.cpython-34.pyc File 4052 bytes April 17 2024 17:10:07.
ToolTip.cpython-34.pyo File 4052 bytes April 17 2024 17:10:07.
TreeWidget.cpython-34.pyc File 15657 bytes April 17 2024 17:10:07.
TreeWidget.cpython-34.pyo File 15657 bytes April 17 2024 17:10:07.
UndoDelegator.cpython-34.pyc File 11816 bytes April 17 2024 17:10:07.
UndoDelegator.cpython-34.pyo File 11816 bytes April 17 2024 17:10:07.
WidgetRedirector.cpython-34.pyc File 7119 bytes April 17 2024 17:10:07.
WidgetRedirector.cpython-34.pyo File 7119 bytes April 17 2024 17:10:07.
WindowList.cpython-34.pyc File 3237 bytes April 17 2024 17:10:07.
WindowList.cpython-34.pyo File 3237 bytes April 17 2024 17:10:07.
ZoomHeight.cpython-34.pyc File 1402 bytes April 17 2024 17:10:07.
ZoomHeight.cpython-34.pyo File 1402 bytes April 17 2024 17:10:07.
__init__.cpython-34.pyc File 434 bytes April 17 2024 17:10:07.
__init__.cpython-34.pyo File 434 bytes April 17 2024 17:10:07.
__main__.cpython-34.pyc File 279 bytes April 17 2024 17:10:07.
__main__.cpython-34.pyo File 279 bytes April 17 2024 17:10:07.
aboutDialog.cpython-34.pyc File 5951 bytes April 17 2024 17:10:07.
aboutDialog.cpython-34.pyo File 5951 bytes April 17 2024 17:10:07.
configDialog.cpython-34.pyc File 48987 bytes April 17 2024 17:10:07.
configDialog.cpython-34.pyo File 48987 bytes April 17 2024 17:10:07.
configHandler.cpython-34.pyc File 26731 bytes April 17 2024 17:10:07.
configHandler.cpython-34.pyo File 26731 bytes April 17 2024 17:10:07.
configHelpSourceEdit.cpython-34.pyc File 5793 bytes April 17 2024 17:10:07.
configHelpSourceEdit.cpython-34.pyo File 5793 bytes April 17 2024 17:10:07.
configSectionNameDialog.cpython-34.pyc File 3941 bytes April 17 2024 17:10:07.
configSectionNameDialog.cpython-34.pyo File 3941 bytes April 17 2024 17:10:07.
dynOptionMenuWidget.cpython-34.pyc File 2437 bytes April 17 2024 17:10:07.
dynOptionMenuWidget.cpython-34.pyo File 2437 bytes April 17 2024 17:10:07.
help.cpython-34.pyc File 9749 bytes April 17 2024 17:10:07.
help.cpython-34.pyo File 9749 bytes April 17 2024 17:10:03.
idle.cpython-34.pyc File 368 bytes April 17 2024 17:10:07.
idle.cpython-34.pyo File 368 bytes April 17 2024 17:10:07.
idlever.cpython-34.pyc File 551 bytes April 17 2024 17:10:07.
idlever.cpython-34.pyo File 551 bytes April 17 2024 17:10:07.
keybindingDialog.cpython-34.pyc File 11016 bytes April 17 2024 17:10:07.
keybindingDialog.cpython-34.pyo File 11016 bytes April 17 2024 17:10:07.
macosxSupport.cpython-34.pyc File 7306 bytes April 17 2024 17:10:07.
macosxSupport.cpython-34.pyo File 7191 bytes April 17 2024 17:10:03.
rpc.cpython-34.pyc File 21006 bytes April 17 2024 17:10:07.
rpc.cpython-34.pyo File 20903 bytes April 17 2024 17:10:03.
run.cpython-34.pyc File 12646 bytes April 17 2024 17:10:07.
run.cpython-34.pyo File 12596 bytes April 17 2024 17:10:03.
tabbedpages.cpython-34.pyc File 17139 bytes April 17 2024 17:10:07.
tabbedpages.cpython-34.pyo File 17139 bytes April 17 2024 17:10:07.
textView.cpython-34.pyc File 3338 bytes April 17 2024 17:10:07.
textView.cpython-34.pyo File 3338 bytes April 17 2024 17:10:07.

Reading File: //opt/alt/python34/lib64/python3.4/idlelib//__pycache__/ScriptBinding.cpython-34.pyc

�
e f}�@s�dZddlZddlZddlZddljZddlmZddl	m
Z
ddlmZdZGdd�d�Z
dS)	a?Extension to execute code outside the Python shell window.

This adds the following commands:

- Check module does a full syntax check of the current module.
  It also runs the tabnanny to catch any inconsistent tabs.

- Run module executes the module's code in the __main__ namespace.  The window
  must have been saved previously. The module is added to sys.modules, and is
  also added to the __main__ namespace.

XXX GvR Redesign this interface (yet again) as follows:

- Present a dialog box for ``Run Module''

- Allow specify command line arguments in the dialog box

�N)�PyShell)�idleConf)�
macosxSupporta/Error: Inconsistent indentation detected!

1) Your indentation is outright incorrect (easy to fix), OR

2) Your indentation mixes tabs and spaces.

To fix case 2, change all tabs to spaces by using Edit->Select All followed by Format->Untabify Region and specify the number of columns used by each tab.
c@s�eZdZddddgfgZdd�Zd	d
�Zdd�Zd
d�Zdd�Zdd�Z	dd�Z
dd�Zdd�ZdS)�
ScriptBindingZrunN�Check Module�<<check-module>>�
Run Module�<<run-module>>cCsS||_|jj|_|jj|_tj�rO|jjjd|j�ndS)Nz<<run-module-event-2>>)�editwin�flist�rootr�	isCocoaTk�
text_frameZbind�_run_module_event)�selfr
�r�:/opt/alt/python34/lib64/python3.4/idlelib/ScriptBinding.py�__init__/s
	zScriptBinding.__init__cCs@|j�}|sdS|j|�s)dS|j|�s<dSdS)N�break)�getfilename�checksyntax�tabnanny)r�event�filenamerrr�check_module_event9sz ScriptBinding.check_module_eventcCs�tj|���}ytjtj|j��Wn�tjk
r�}zB|j\}\}}|jj	|�|j
dd|�dSWYdd}~XnRtjk
r�}z/|jj	|j��|j
dt
�dSWYdd}~XnXWdQXdS)NzTabnanny Tokenizing ErrorzToken Error: %sFzTab/space errorT)�tokenize�openrZprocess_tokens�generate_tokens�readline�
TokenError�argsr
Zgotoline�errorboxZNannyNagZ
get_lineno�indent_message)rr�f�msgZmsgtxt�lineno�startZnagrrrrBs	zScriptBinding.tabnannyc
Cs�|jj�|_}|j�}|j|j�t|d��}|j�}WdQXd|kr�|jdd�}|jdd�}n|r�|dt	d�kr�|d}n|j
}|j}|jddd�z�yt
||d	�SWn�tttfk
r�}z�t|d
d�p'|p'd}	t|d
d�p?d}
t|dd�pWd}|dkrs|
d7}
nd|
d|df}|j||�|jdd|	�dSWYdd}~XnXWd|j|�XdS)N�rbs
s
s
�ZERRORz1.0�end�execr$�z<no detail available>r%�offsetrz0.0 + %d lines + %d chars�SyntaxErrorz%-20sF���)rZ
open_shell�shellZget_warning_streamZset_warning_stream�stderrr�read�replace�ordr
�textZ
tag_remove�compiler-�
OverflowError�
ValueError�getattrZcolorize_syntax_errorr!)
rrr/Zsaved_streamr#�sourcer
r4�valuer$r%r,�posrrrrTs4
		
zScriptBinding.checksyntaxcsCtj�r2�jjjd�fdd��dS�j|�SdS)N��cs�jjjd�S)Nz<<run-module-event-2>>)r
rZevent_generater)rrr�<lambda>zsz0ScriptBinding.run_module_event.<locals>.<lambda>r)rr
r
r�afterr)rrr)rr�run_module_eventrs
zScriptBinding.run_module_eventcCs�|j�}|sdS|j|�}|s/dS|j|�sBdS|jj}tjr||jddd|jj	|��nt
jj|�}|j
djd|d|��|j|�|j|�dS)aXRun the module after setting up the environment.

        First check the syntax.  If OK, make sure the shell is active and
        then transfer the arguments, set the run environment's working
        directory to the directory of the module being executed and also
        add that directory to its sys.path if not already included.
        rZwith_cwdFrazif 1:
            __file__ = {filename!r}
            import sys as _sys
            from os.path import basename as _basename
            if (not _sys.argv or
                _basename(_sys.argv[0]) != _basename(__file__)):
                _sys.argv = [__file__]
            import os as _os
            _os.chdir({dirname!r})
            del _sys, _basename, _os
            
�dirname)rrrr/�interprZuse_subprocessZrestart_subprocessr
Z_filename_to_unicode�os�pathr@Z
runcommand�formatZprepend_syspathZruncode)rrr�coderAr@rrrrs$		


zScriptBinding._run_module_eventcCs�|jjj}|jj�s�tjddddd�}|r[|r[|jjjd�q�|j�}|jjj	�|r�|jjjd�|jjj}q�d}n|S)a�Get source filename.  If not saved, offer to save (or create) file

        The debugger requires a source file.  Make sure there is one, and that
        the current version of the source buffer has been saved.  If the user
        declines to save or cancels the Save As dialog, return None.

        If the user has configured IDLE for Autosave, the file will be
        silently saved if it already exists and is dirty.

        �mainZGeneral�autosave�type�boolN)
r
�iorZ	get_savedrZ	GetOptionZsave�ask_save_dialogr4�	focus_set)rrrG�confirmrrrr�s	zScriptBinding.getfilenamec	Cs?dd
d}tjddd|dtjd	|jj�}|S)NzSource Must Be Saved
�� zOK to Save?�titlezSave Before Run or Check�message�default�parentz     )�tkMessageBoxZaskokcancelZOKr
r4)rr$rMrrrrK�s	zScriptBinding.ask_save_dialogcCs0tj||d|jj�|jjj�dS)NrS)rTZ	showerrorr
r4rL)rrPrQrrrr!�szScriptBinding.errorbox)rr)rr	)
�__name__�
__module__�__qualname__Zmenudefsrrrrr?rrrKr!rrrrr(s
	
)r)�__doc__rBrrZtkinter.messageboxZ
messageboxrTZidlelibrZidlelib.configHandlerrrr"rrrrr�<module>s


SILENT KILLER Tool