config root man

Current Path : /usr/local/lib/python2.5/idlelib/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/idlelib/ScriptBinding.pyo

³ò
h”Rc@s›dZddkZddkZddkZddkZddkZddkZddkZddkl	Z	ei
eidZdZ
ddd„ƒYZdS(	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

iÿÿÿÿN(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
ScriptBindingcBsqeZddddgfgZd„Zd„Zd„Zd„Zd	„Zd
„Z	d„Z
d„Zd
„ZRS(trunsCheck Modules<<check-module>>s
Run Modules<<run-module>>cCs+||_|ii|_|ii|_dS(N(teditwintflisttroot(tselfR((s1/usr/local/lib/python2.5/idlelib/ScriptBinding.pyt__init__1s	cCsO|iƒ}|pdSn|i|ƒpdSn|i|ƒpdSndS(N(tgetfilenametchecksyntaxttabnanny(Rteventtfilename((s1/usr/local/lib/python2.5/idlelib/ScriptBinding.pytcheck_module_event8scCsÆt|dƒ}ytiti|iƒƒWn“tij
oC}|\}\}}|ii|ƒ|i	dd|ƒt
SnCtij
o3}|ii|iƒƒ|i	dt
ƒt
SnXtS(NtrsTabnanny Tokenizing ErrorsToken Error: %ssTab/space error(topenRtprocess_tokensttokenizetgenerate_tokenstreadlinet
TokenErrorRtgotolineterrorboxtFalsetNannyNagt
get_linenotindent_messagetTrue(RR
tftmsgtmsgtxttlinenotstarttnag((s1/usr/local/lib/python2.5/idlelib/ScriptBinding.pyRAs		c
Cs²|iiƒ|_}|iƒ}|i|iƒt|dƒ}|iƒ}|iƒd|jo.t	i
dd|ƒ}t	i
dd|ƒ}n|o|ddjo|d}n|ii}|i
ddd	ƒzÆyt||d
ƒSWn«ttfj
o™}y^|\}\}	}
}}|	p(|||
||ff|_||_n|i||
|ƒWndt|ƒ}nX|idd
|ƒtSnXWd|i|ƒXdS(NRs
s\r\ns
s\riÿÿÿÿtERRORs1.0tendtexecs*** sSyntax errors"There's an error in your program:
(Rt
open_shelltshelltget_warning_streamtset_warning_streamtstderrRtreadtclosetretsubRttextt
tag_removetcompiletSyntaxErrort
OverflowErrortargsR
tcolorize_syntax_errortstrRR(
RR
R'tsaved_streamRtsourceR/terrRt
errorfilenameR toffsettline((s1/usr/local/lib/python2.5/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(RR/ttag_addtgett
IDENTCHARStmark_settsee(RRR R;R/tpostchar((s1/usr/local/lib/python2.5/idlelib/ScriptBinding.pyR5sscCsÂ|iƒ}|pdSn|i|ƒ}|pdSn|i|ƒpdSn|i}|i}tio|iƒnti	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.

        Nsuif 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
            
(R	R
RR'tinterptPyShelltuse_subprocesst
restart_shelltostpathtdirnamet
runcommandtprepend_syspathtruncode(RRR
tcodeR'RERK((s1/usr/local/lib/python2.5/idlelib/ScriptBinding.pytrun_module_event€s"			


cCs¼|iii}|iiƒp™tidddddƒ}|o|o|iiidƒq¸|iƒ}|ii	i
ƒ|djo&|iiidƒ|iii}q¸d}n|S(s±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.

        tmaintGeneraltautosavettypetbooltokN(RtioR
t	get_savedRt	GetOptiontsavetNonetask_save_dialogR/t	focus_set(RR
RStreply((s1/usr/local/lib/python2.5/idlelib/ScriptBinding.pyR	¨s

c
CsWddd}tiddd|dtid	tid
tid|iiƒ}|iƒS(
NsSource Must Be Saved
it sOK to Save?ttitlesSave Before Run or ChecktmessageticonRTtdefaulttmasters     (ttkMessageBoxtMessagetQUESTIONtOKCANCELtOKRR/tshow(RRtmb((s1/usr/local/lib/python2.5/idlelib/ScriptBinding.pyR\Ãs			cCs0ti||d|iiƒ|iiiƒdS(NRd(Ret	showerrorRR/R](RR`Ra((s1/usr/local/lib/python2.5/idlelib/ScriptBinding.pyRÍsN(sCheck Modules<<check-module>>(s
Run Modules<<run-module>>(
t__name__t
__module__R[tmenudefsRRRR
R5RPR	R\R(((s1/usr/local/lib/python2.5/idlelib/ScriptBinding.pyR*s					!	
	(		
((t__doc__RIR-tstringRRReRFt
configHandlerRt
ascii_letterstdigitsR@RR(((s1/usr/local/lib/python2.5/idlelib/ScriptBinding.pys<module>s


Man Man