/usr/lib/python2.6/idlelib
NameSizeModeActions
Icons/-0755rm
aboutDialog.py68250644editdlrm
aboutDialog.pyc69370644editdlrm
aboutDialog.pyo69370644editdlrm
AutoComplete.py90610644editdlrm
AutoComplete.pyc79970644editdlrm
AutoComplete.pyo79970644editdlrm
AutoCompleteWindow.py172010644editdlrm
AutoCompleteWindow.pyc125440644editdlrm
AutoCompleteWindow.pyo124810644editdlrm
AutoExpand.py24830644editdlrm
AutoExpand.pyc25750644editdlrm
AutoExpand.pyo25750644editdlrm
Bindings.py35020644editdlrm
Bindings.pyc50620644editdlrm
Bindings.pyo50620644editdlrm
CallTips.py76080644editdlrm
CallTips.pyc102190644editdlrm
CallTips.pyo102190644editdlrm
CallTipWindow.py59240644editdlrm
CallTipWindow.pyc61890644editdlrm
CallTipWindow.pyo61890644editdlrm
ChangeLog563930644editdlrm
ClassBrowser.py63690644editdlrm
ClassBrowser.pyc91600644editdlrm
ClassBrowser.pyo91600644editdlrm
CodeContext.py83470644editdlrm
CodeContext.pyc67130644editdlrm
CodeContext.pyo66670644editdlrm
ColorDelegator.py101500644editdlrm
ColorDelegator.pyc89420644editdlrm
ColorDelegator.pyo89420644editdlrm
config-extensions.def26970644editdlrm
config-highlight.def17400644editdlrm
config-keys.def75170644editdlrm
config-main.def25120644editdlrm
configDialog.py532290644editdlrm
configDialog.pyc448280644editdlrm
configDialog.pyo448280644editdlrm
configHandler.py288030644editdlrm
configHandler.pyc272680644editdlrm
configHandler.pyo272680644editdlrm
configHelpSourceEdit.py66800644editdlrm
configHelpSourceEdit.pyc67310644editdlrm
configHelpSourceEdit.pyo67310644editdlrm
configSectionNameDialog.py37200644editdlrm
configSectionNameDialog.pyc43050644editdlrm
configSectionNameDialog.pyo43050644editdlrm
CREDITS.txt18560644editdlrm
Debugger.py158180644editdlrm
Debugger.pyc169860644editdlrm
Debugger.pyo169860644editdlrm
Delegator.py8310644editdlrm
Delegator.pyc16070644editdlrm
Delegator.pyo16070644editdlrm
dynOptionMenuWidget.py13020644editdlrm
dynOptionMenuWidget.pyc16990644editdlrm
dynOptionMenuWidget.pyo16990644editdlrm
EditorWindow.py597340644editdlrm
EditorWindow.pyc527690644editdlrm
EditorWindow.pyo526660644editdlrm
extend.txt36520644editdlrm
FileList.py36600644editdlrm
FileList.pyc39880644editdlrm
FileList.pyo39530644editdlrm
FormatParagraph.py57340644editdlrm
FormatParagraph.pyc48030644editdlrm
FormatParagraph.pyo48030644editdlrm
GrepDialog.py40520644editdlrm
GrepDialog.pyc50370644editdlrm
GrepDialog.pyo50370644editdlrm
help.txt112230644editdlrm
HISTORY.txt103170644editdlrm
HyperParser.py103100644editdlrm
HyperParser.pyc66200644editdlrm
HyperParser.pyo66200644editdlrm
idle.py6640644editdlrm
idle.pyc5940644editdlrm
idle.pyo5940644editdlrm
idle.pyw6640644editdlrm
IdleHistory.py31450644editdlrm
IdleHistory.pyc32130644editdlrm
IdleHistory.pyo32130644editdlrm
idlever.py230644editdlrm
idlever.pyc1570644editdlrm
idlever.pyo1570644editdlrm
IOBinding.py209720644editdlrm
IOBinding.pyc177130644editdlrm
IOBinding.pyo177130644editdlrm
keybindingDialog.py124070644editdlrm
keybindingDialog.pyc123840644editdlrm
keybindingDialog.pyo123840644editdlrm
macosxSupport.py47240644editdlrm
macosxSupport.pyc48640644editdlrm
macosxSupport.pyo48640644editdlrm
MultiCall.py174700644editdlrm
MultiCall.pyc161420644editdlrm
MultiCall.pyo160660644editdlrm
MultiStatusBar.py7890644editdlrm
MultiStatusBar.pyc15380644editdlrm
MultiStatusBar.pyo15380644editdlrm
NEWS.txt271650644editdlrm
ObjectBrowser.py41560644editdlrm
ObjectBrowser.pyc66910644editdlrm
ObjectBrowser.pyo66910644editdlrm
OutputWindow.py43920644editdlrm
OutputWindow.pyc49900644editdlrm
OutputWindow.pyo49900644editdlrm
ParenMatch.py66270644editdlrm
ParenMatch.pyc69730644editdlrm
ParenMatch.pyo69730644editdlrm
PathBrowser.py26460644editdlrm
PathBrowser.pyc41350644editdlrm
PathBrowser.pyo41350644editdlrm
Percolator.py26160644editdlrm
Percolator.pyc36340644editdlrm
Percolator.pyo34400644editdlrm
PyParse.py195100644editdlrm
PyParse.pyc101790644editdlrm
PyParse.pyo97110644editdlrm
PyShell.py519090644editdlrm
PyShell.pyc464940644editdlrm
PyShell.pyo463930644editdlrm
README.txt26230644editdlrm
RemoteDebugger.py116600644editdlrm
RemoteDebugger.pyc162900644editdlrm
RemoteDebugger.pyo161350644editdlrm
RemoteObjectBrowser.py9420644editdlrm
RemoteObjectBrowser.pyc21470644editdlrm
RemoteObjectBrowser.pyo21470644editdlrm
ReplaceDialog.py51340644editdlrm
ReplaceDialog.pyc59540644editdlrm
ReplaceDialog.pyo59540644editdlrm
rpc.py202150644editdlrm
rpc.pyc218190644editdlrm
rpc.pyo217090644editdlrm
run.py113370644editdlrm
run.pyc121640644editdlrm
run.pyo121640644editdlrm
ScriptBinding.py77830644editdlrm
ScriptBinding.pyc75850644editdlrm
ScriptBinding.pyo75850644editdlrm
ScrolledList.py39950644editdlrm
ScrolledList.pyc61470644editdlrm
ScrolledList.pyo61470644editdlrm
SearchDialog.py20400644editdlrm
SearchDialog.pyc30060644editdlrm
SearchDialog.pyo30060644editdlrm
SearchDialogBase.py43850644editdlrm
SearchDialogBase.pyc54920644editdlrm
SearchDialogBase.pyo54920644editdlrm
SearchEngine.py67310644editdlrm
SearchEngine.pyc72150644editdlrm
SearchEngine.pyo72150644editdlrm
StackViewer.py38570644editdlrm
StackViewer.pyc59160644editdlrm
StackViewer.pyo59160644editdlrm
tabbedpages.py181880644editdlrm
tabbedpages.pyc180850644editdlrm
tabbedpages.pyo180850644editdlrm
textView.py32460644editdlrm
textView.pyc39650644editdlrm
textView.pyo39650644editdlrm
TODO.txt84780644editdlrm
ToolTip.py27360644editdlrm
ToolTip.pyc41260644editdlrm
ToolTip.pyo41260644editdlrm
TreeWidget.py152370644editdlrm
TreeWidget.pyc179060644editdlrm
TreeWidget.pyo179060644editdlrm
UndoDelegator.py102770644editdlrm
UndoDelegator.pyc125500644editdlrm
UndoDelegator.pyo125500644editdlrm
WidgetRedirector.py44760644editdlrm
WidgetRedirector.pyc53380644editdlrm
WidgetRedirector.pyo53380644editdlrm
WindowList.py24730644editdlrm
WindowList.pyc36240644editdlrm
WindowList.pyo36240644editdlrm
ZoomHeight.py13070644editdlrm
ZoomHeight.pyc16510644editdlrm
ZoomHeight.pyo16510644editdlrm
__init__.py370644editdlrm
__init__.pyc1250644editdlrm
__init__.pyo1250644editdlrm
Edit: /usr/lib/python2.6/idlelib/PyShell.pyc (46494B)
tgc(@s\ddkZddkZddkZddkZddkZddkZddkZddkZddkZddk Z ddk Z ddk Z ddk l Z yddkTWn-ej o!eidIJeidnXddkZddklZlZddklZddklZdd klZdd klZdd klZdd k l!Z!dd k l"Z"ddk l#Z#ddk l$Z$ddk l%Z%ei&ei'dZ(dZ)dZ*yddk+l,Z,Wnej o dZ,nXeia-yddk.Z.Wnej on2Xe/e/dZ0e0e._1e/e/dZ2e2e._3e/e i4dZ5e5e _4defdYZ6defdYZ7defdYZ8defd YZ9d!e"i:fd"YZ;d#e fd$YZ<d%efd&YZ=d'e>fd(YZ?d)Z@d*ZAeBd+joeiCd+eiCd%>> N(tNonet linecachetgetlinetstript__name__(RRRRRRts((s%/usr/lib/python2.6/idlelib/PyShell.pytidle_formatwarningBs,cCsiti}h}x?|iD]1}|d |ddjo|||| entries Rather than repeating the linecache code, patch it to save the entries, call the original linecache.checkcache() (which destroys them), and then restore the saved entries. orig_checkcache is bound at definition time to the original method, allowing it to be patched. iis<>N(Rtcachetkeystupdate(Rtorig_checkcacheR#tsave((s%/usr/lib/python2.6/idlelib/PyShell.pytextended_linecache_checkcacheOs  tPyShellEditorWindowcBszeZdZdZddgZdZddZddZd Z d Z d Z d Z d Z dZRS(s6Regular text edit window in IDLE, supports breakpointscGsg|_ti|||iid|i|iid|i|iid|iit i i t i d|_|iio|in|ii|d}|ii|dS(Ns<>s<>s<>sbreakpoints.lstcSs|i|dS(N(trestore_file_breaks(told_hooktself((s%/usr/lib/python2.6/idlelib/PyShell.pytfilename_changed_hookus (t breakpointsRt__init__ttexttbindtset_breakpoint_heretclear_breakpoint_heretflistt open_shelltostpathtjoinRt GetUserCfgDirtbreakpointPathtioRR*tfilename_change_hooktset_filename_change_hook(R,targsR-((s%/usr/lib/python2.6/idlelib/PyShell.pyR/js     sSet Breakpoints<>sClear Breakpoints<>c Cs|i}|ii}|idd|d|dy|ii|}Wn#tj o|ii|nXy&|ii i i }|i ||WnnXdS(NtBREAKs%d.0i( R0R;Rttag_addR.tindext ValueErrortappendR4tpyshelltinterptdebuggerR2(R,RR0Rtitdebug((s%/usr/lib/python2.6/idlelib/PyShell.pytset_breakpoint~s  cCsW|i}|ii}|p|idStt|id}|i|dS(Ntinsert(R0R;RtbelltinttfloatRARI(R,teventR0RR((s%/usr/lib/python2.6/idlelib/PyShell.pyR2s   c Cs|i}|ii}|p|idStt|id}y|ii|WnnX|i dddy&|i i i i }|i||WnnXdS(NRJR?sinsert linestartsinsert lineend +1char(R0R;RRKRLRMRAR.tremovet tag_removeR4RDRERFR3(R,RNR0RRRH((s%/usr/lib/python2.6/idlelib/PyShell.pyR3s"    cCs|iox|i}|ii}|p|idSg|_|iddty#|iii i }|i |WqqXndS(NR?s1.0( R.R0R;RRKRPtENDR4RDRERFtclear_file_breaks(R,R0RRH((s%/usr/lib/python2.6/idlelib/PyShell.pyRRs     c Cs|i}|ii}yt|idi}Wntj o g}nXt|id}x3|D]+}|i|dp|i|qfqfW|i |i}|o#|i|dt |dn|i dS(s#Save breakpoints when file is savedtrtwt=s N( R.R;RtopenR:t readlinesRt startswithRtupdate_breakpointststrtclose(R,tbreaksRtlinestnew_fileR((s%/usr/lib/python2.6/idlelib/PyShell.pytstore_file_breakss      #cCs|ii|ii}|djodStii|io}t |idi }xb|D]V}|i |do<t |t |d}x|D]}|i|qWq`q`WndS(NRSRUi(R0R%R;RRR6R7tisfileR:RVRWRXtevaltlenRI(R,RR]Rtbreakpoint_linenumberstbreakpoint_linenumber((s%/usr/lib/python2.6/idlelib/PyShell.pyR*s   cCs4|i}|id}|i|}||_dS(s3Retrieves all the breakpoints in the current windowR?N(R0t tag_rangestranges_to_linenumbersR.(R,R0trangestlinenumber_list((s%/usr/lib/python2.6/idlelib/PyShell.pyRYs cCsg}x|tdt|dD]b}tt||}tt||d}x)||jo|i||d7}qXWqW|S(Niii(trangeRbRLRMRC(R,RgR]RARtend((s%/usr/lib/python2.6/idlelib/PyShell.pyRfs  cCs|iti|dS(s7Extend base method - clear breaks when module is closedN(RRRt_close(R,((s%/usr/lib/python2.6/idlelib/PyShell.pyRks (sSet Breakpoints<>(sClear Breakpoints<>N(R t __module__t__doc__R/t rmenu_specsRIRR2R3RRR_R*RYRfRk(((s%/usr/lib/python2.6/idlelib/PyShell.pyR)gs      '  tPyShellFileListcBs&eZdZeZdZddZRS(s8Extend base class: IDLE supports a shell and breakpointscCsW|io|iiin3t||_|io|iipdSn|iS(N(RDttoptwakeuptPyShelltbeginR(R,RN((s%/usr/lib/python2.6/idlelib/PyShell.pyR5s   N(R RlRmR)RRRDR5(((s%/usr/lib/python2.6/idlelib/PyShell.pyRo stModifiedColorDelegatorcBs)eZdZdZdZdZRS(s8Extend base class: colorizer for the shell window itselfcCsti||idS(N(RR/t LoadTagDefs(R,((s%/usr/lib/python2.6/idlelib/PyShell.pyR/ s cCs7|iddd|idddti|dS(NtTODOs1.0tiomarktSYNC(RPR@Rtrecolorize_main(R,((s%/usr/lib/python2.6/idlelib/PyShell.pyRy$scCsti|tiddd}|iihhdd6dd6d6ti|dd6ti|dd6ti|d d 6dS( NtmaintThemetnamet backgroundt foregroundtstdintstdouttstderrtconsole(RRuRt GetOptionttagdefsR%Rt GetHighlight(R,ttheme((s%/usr/lib/python2.6/idlelib/PyShell.pyRu)s  (R RlRmR/RyRu(((s%/usr/lib/python2.6/idlelib/PyShell.pyRts  tModifiedUndoDelegatorcBs&eZdZddZddZRS(s;Extend base class: forbid insert/delete before the I/O markcCs_y/|ii|ddo|iidSWntj onXti||||dS(Nt((s%/usr/lib/python2.6/idlelib/PyShell.pytspawn_subprocess^s c Cs|idjp tdg}tiD]}|d|q(~}dddjo|idntiddd d td d }td jod|f}nd|f}ti d djo!dti jodti }n ti }|g|d|t |igS(Nis/Socket should have been assigned a port number.s-Wiis-QnewRztGeneralsdelete-exitfunctdefaultttypetboolsidlelib.PyShells&__import__('idlelib.run').run.main(%r)s__import__('run').main(%r)itwint s"%s"s-c( RtAssertionErrorRt warnoptionsRCRRRR tplatformRRZ(R,t_[1]R!RTt del_exitftcommandtdecorated_exec((s%/usr/lib/python2.6/idlelib/PyShell.pyRds(  $ cCst|if}x^tdD]B}ti|yt||_PWqtij o }qXqW|i dS|ii i d|_t djo#|ii ititidn|i|ii idy|iiWn#tij o}|idSX|iid|i|iid|ii|iid|ii|iid|ii|iid t|iid ||i|i|iS( Niiii RRRR4RRE(tHOSTRRittimetsleepRtrpcclttsocketterrortdisplay_port_binding_errorRtlistening_sockt getsocknameRt setsockoptt SOL_SOCKETt SO_REUSEADDRRt settimeouttacceptttimeouttdisplay_no_subprocess_errortregisterRRRR4Rt transfer_pathtpoll_subprocess(R,taddrRGterr((s%/usr/lib/python2.6/idlelib/PyShell.pytstart_subprocesszs>         c Cs|io|iSt|_|i}|o"yti|iWqPqPXn|ii|i|i}|i }t |_ |i y|ii Wn#t ij o}|idSX|i|iidd|o|id|int|iddd}|i|d||iidd|iidd |i|o ti|i}|int |_|iS( NRwsend-1cs iiRUs RESTART trestarttleft(RRtTruet getdebuggerR tclose_subprocess_debuggerR[tunix_terminateRt executingRRRRRRRRR0RRt showpromptRLtwidthtmark_sett mark_gravitytrestart_subprocess_debuggertload_breakpoints(R,RHRt was_executingRthalfbartgui((s%/usr/lib/python2.6/idlelib/PyShell.pytrestart_subprocesssF              cCs|iidddhdS(Ntexectinterrupt_the_server((Rt remotecall(R,((s%/usr/lib/python2.6/idlelib/PyShell.pyt__request_interruptscCstid|iidS(Nttarget(t threadingtThreadt'_ModifiedInterpreter__request_interrupttstart(R,((s%/usr/lib/python2.6/idlelib/PyShell.pytinterrupt_subprocessscCsJy|iiWntj onX|it|i_d|_dS(N(RR[tAttributeErrorRRRRR(R,((s%/usr/lib/python2.6/idlelib/PyShell.pytkill_subprocesss  c Cstttdo`yti|itWntj odSXyti|idWqptj odSXndS(s;UNIX: make sure subprocess is terminated and collect statustkillNi(thasattrR6RRRtOSErrortwaitpid(R,((s%/usr/lib/python2.6/idlelib/PyShell.pyRscCs|idtifdS(NsRif 1: import sys as _sys _sys.path = %r del _sys (t runcommandRR7(R,((s%/usr/lib/python2.6/idlelib/PyShell.pyRsc Cs|i}|djodSy|i|idd}Wn>tttfj o)|iiodSd}|i nX|o|ii d|_|\}}|ii }|djo%|dj o|t |IJqKnm|djo%|ii do|iqKn;|djo-d}ti|I|IJ||I|IJny|iiWqvtj oqvXn|iip#|iii|ii|indS(Ntwaitg?tOKt EXCEPTIONs<>tERRORs/PyShell.ModifiedInterpreter: Subprocess ERROR: (RRt pollresponset active_seqRRtKeyboardInterruptRtclosingRt resetoutputRtreprtgetvartremote_stack_viewerRt __stderr__t endexecutingRR0taftert pollintervalR(R,tclttresponsethowtwhatRterrmsg((s%/usr/lib/python2.6/idlelib/PyShell.pyRs@             cCs ||_dS(N(RF(R,RF((s%/usr/lib/python2.6/idlelib/PyShell.pyt setdebuggerscCs|iS(N(RF(R,((s%/usr/lib/python2.6/idlelib/PyShell.pyR!scCs|iiid|idS(sInitiate the remote stack viewer from a separate thread. This method is called from the subprocess, and by returning from this method we allow the subprocess to unblock. After a bit the shell requests the subprocess to open the remote stack viewer which returns a static object looking at the last exception. It is queried through the RPC mechanism. i,N(RR0RR(R,((s%/usr/lib/python2.6/idlelib/PyShell.pytopen_remote_stack_viewer$s c Cs ddkl}|iidddh}|djo|iiidS|i|i|}ddk l }l }t |ii}t iddd }t i|d d }||d |d d} | iidddd|| id|} | idS(Ni(tRemoteObjectBrowserRt stackviewerR4(tScrolledCanvastTreeNodeRzR{R|tnormalR}tbgthighlightthicknessitexpanditfilltboth(sflist(tidlelibRRt remotequeueRRtrootRKtStubObjectTreeItemtidlelib.TreeWidgetRRtToplevelRRRtframetpacktcanvasR ( R,RtoidtitemRRRpRR}tsctnode((s%/usr/lib/python2.6/idlelib/PyShell.pyR1s icCs#|i|}|i||dS(s1Like runsource() but assumes complete exec sourceN(t stuffsourcetexecfile(R,tsourceR((s%/usr/lib/python2.6/idlelib/PyShell.pyt execsourceDscCs|djot|di}nyt||d}Wncttfj oQ|ii|ii}|dIJ|dIJt i |||ii nX|i |dS(sExecute an existing fileRSRs *** Error in script or command! s"Traceback (most recent call last):N( RRVtreadtcompilet OverflowErrort SyntaxErrorRRRRtshowsyntaxerrorRtruncode(R,RRtcodettkerr((s%/usr/lib/python2.6/idlelib/PyShell.pyRIs     c Cs|i|}d|_ti|_tidddtt|ti o[ddk l }y|i |i }Wqtj o"|ii|iddSXnzti|||SWd|idj o|iti(d|_nXdS( sBExtend base class method: Stuff the source in the line cache firstitactionRRi(t IOBindings Unsupported characters in input N(RtmoreRtfiltersRtfilterwarningst SyntaxWarningt isinstancettypest UnicodeTypeR R'tencodetencodingt UnicodeErrorRRRRt runsourceR(R,RRR'((s%/usr/lib/python2.6/idlelib/PyShell.pyR2Ys"      cCsSd|i}|id|_|id}t|dd||fti|<|S(s"Stuff source in the filename caches is i(tgidtsplitRbRR#(R,RRR]((s%/usr/lib/python2.6/idlelib/PyShell.pyRps  #cCs|id|fdS(s>Prepend sys.path with file's directory if not already includeds(if 1: _filename = %r import sys as _sys from os.path import dirname as _dirname _dir = _dirname(_filename) if not _dir in _sys.path: _sys.path.insert(0, _dir) del _filename, _sys, _dirname, _dir N(R(R,R((s%/usr/lib/python2.6/idlelib/PyShell.pytprepend_syspathxsc Cs|ii}|i}|o|\}}}}|djod|d}nd|d|df}|id||i||i|} | o(| tjo|id|d|n|ii|idt |n|iit i |||ii dS(sExtend base class method: Add Colorizing Color the offending position instead of printing it and pointing at it with a caret. isiomark + %d charss&iomark linestart + %d lines + %d charsRs wordstartsSyntaxError: %s N( RR0t unpackerrorR@tseetgett IDENTCHARSRRRZRR"R( R,RR0tstufftmsgRtoffsetRtpostchar((s%/usr/lib/python2.6/idlelib/PyShell.pyR"s$      c Csti\}}}|tj}|oAy-|\}\}}}} |p d}nWqid}qiXn|o|||| fSdSdS(Ni(Rtexc_infoR!R( R,RtvaluettbtokR;tdummy_filenameRR<R((s%/usr/lib/python2.6/idlelib/PyShell.pyR6s cCsL|ii|iti||iido|iindS(s1Extend base class method to reset output properlys<>N(RRtchecklinecacheRt showtracebackRtopen_stack_viewer(R,((s%/usr/lib/python2.6/idlelib/PyShell.pyREs    cCsHti}x8|iD]*}|d |ddjo ||=qqWdS(Niis<>(RR#R$(R,tctkey((s%/usr/lib/python2.6/idlelib/PyShell.pyRDs   cBsU|iio|idS|io |iidd|fhn ||iUdS(s*Run the code without invoking the debuggeriRR#i(RRtdisplay_executing_dialogRRR(R,R$((s%/usr/lib/python2.6/idlelib/PyShell.pyRs     c Bs|iio|iin|i|id j o|iei(d |_n|i }zJyw|ii | o5|i d j o%|i i dd|fh|_ n*|o|i||in ||iUWnej oQ|iip:eiddddd|iioq0|iqnqeo+|iidIJ|i|iiq|iio e|i_|iid IJq|inXWd ep+y|iiWqej oqXnXd S( sOverride base class methodRR#sExit?sDo you want to exit altogether?Rtyestmasters IDLE internal error in runcode()RN(RRRERRDRRRR)RFtbeginexecutingRt asyncqueueRtrunRt SystemExitRt tkMessageBoxtaskyesnoR0REtuse_subprocessRRtcanceledRR(R,R$RF((s%/usr/lib/python2.6/idlelib/PyShell.pyR#sR           cCs|iii|dS(sOverride base class methodN(RRR(R,R!((s%/usr/lib/python2.6/idlelib/PyShell.pyRscCs tiddd|iidS(NsPort Binding ErrorsAIDLE can't bind to a TCP/IP port, which is necessary to communicate with its Python execution server. This might be because no networking is installed on this computer. Run IDLE with the -n command line switch to start without a subprocess and refer to Help/IDLE Help 'Running without a subprocess' for further details.RK(RPt showerrorRR0(R,((s%/usr/lib/python2.6/idlelib/PyShell.pyRscCs tiddd|iidS(NsSubprocess Startup ErrorsIDLE's subprocess didn't make connection. Either IDLE can't start a subprocess or personal firewall software is blocking the connection.RK(RPRTRR0(R,((s%/usr/lib/python2.6/idlelib/PyShell.pyR scCs tiddd|iidS(NsAlready executingsYThe Python Shell window is already executing a command; please wait until it is finished.RK(RPRTRR0(R,((s%/usr/lib/python2.6/idlelib/PyShell.pyRIsN(&R RlR/RRRRRRRRRRRRRRRFRRRRR3RRR2RR5R"R6RERDRR#RRRRI(((s%/usr/lib/python2.6/idlelib/PyShell.pyRPsF    * ,     &            1  RrcBseZdZeZeZd3d4d5d6d7d8gZei oed =d9eds<>s<>s<>s<>s<>s<>s<>s<>s<>i(R'RRRi2(sshellRb(+RRt menu_specsRJRRERtTkRtwithdrawRoRR/Rtusetabst indentwidthtcontext_use_ps1R0t configureR1tenter_callbacktlinefeed_callbacktcancel_callbackt eof_callbackRFttoggle_debuggerttoggle_jit_stack_viewertview_restart_markt restart_shellRRt save_stdoutRt save_stderrRt save_stdinR R't PseudoFileR0RR`thistoryR(R,R4tmsRR0R'((s%/usr/lib/python2.6/idlelib/PyShell.pyR/3sN               cCstidtS(Nt shell_only(Rt GetExtensionsR(R,((s%/usr/lib/python2.6/idlelib/PyShell.pytget_standard_extension_namesdscCs |adS(N(R(R,tstream((s%/usr/lib/python2.6/idlelib/PyShell.pytset_warning_streammscCstS(N(R(R,((s%/usr/lib/python2.6/idlelib/PyShell.pytget_warning_streamqscCsd|io(tiddd|i|idS|ii}|o|in |idS(NsDon't debug nows*You can only toggle the debugger when idleRKtbreak( RRPRTR0tset_debugger_indicatorRERtclose_debuggert open_debugger(R,RNtdb((s%/usr/lib/python2.6/idlelib/PyShell.pyRots    cCs%|ii}|id| dS(Ns<>(RERtsetvar(R,R((s%/usr/lib/python2.6/idlelib/PyShell.pyRscCsdS(N((R,RN((s%/usr/lib/python2.6/idlelib/PyShell.pyRpscCs|ii}|oo|iid|i|iioti|iin|i|i i ddt _ |i n|idS(Ns [DEBUG OFF] s>>> (RERRRR[RR tclose_remote_debuggerRRRRtps1RR(R,R((s%/usr/lib/python2.6/idlelib/PyShell.pyRs    cCss|iioti|ii|}nti|}|ii||idt_|i |i dS(Ns[DEBUG ON] >>> ( RERR tstart_remote_debuggerR RRRRRR(R,tdbg_gui((s%/usr/lib/python2.6/idlelib/PyShell.pyRs     cCs|id|_dS(sHelper for ModifiedInterpreteriN(RR(R,((s%/usr/lib/python2.6/idlelib/PyShell.pyRLs cCs d|_d|_|idS(sHelper for ModifiedInterpreteriN(RRSR(R,((s%/usr/lib/python2.6/idlelib/PyShell.pyRs  cCs|io7tiddddd|i}|tjodSn|io|iint|_ t|_ |ii d|i |i dS( sExtend EditorWindow.close()sKill?s6The program is still running! Do you want to kill it?RRBtparenttcanceliN(RRPt askokcancelR0RtreadingRptquitRRSRRRtclose2(R,R((s%/usr/lib/python2.6/idlelib/PyShell.pyR[s       cCs ti|S(N(RR[(R,((s%/usr/lib/python2.6/idlelib/PyShell.pyRscCs~|ito|iin|it_|it_|i t_ d|_d|_ d|i _d|_ti|dS(sEExtend EditorWindow._close(), shut down debugger and execution serverN(RRRRERRsRRRtRRuRRRR4RDRwRRk(R,((s%/usr/lib/python2.6/idlelib/PyShell.pyRks        cCstS(s8Override EditorWindow method: never remove the colorizer(R(R,R((s%/usr/lib/python2.6/idlelib/PyShell.pytispythonsourcescCs|iS(N(t shell_title(R,((s%/usr/lib/python2.6/idlelib/PyShell.pyt short_titless@Type "copyright", "credits" or "license()" for more information.s **************************************************************** Personal firewall software may warn about the connection IDLE makes to its subprocess using this computer's internal loopback interface. This connection is not visible on any external interface and no data is sent to or received from the Internet. **************************************************************** cCs|ito/d}|ii}|p|itSnd}|idtiti |i |i t i |f|iddk}d|_tS(Nts==== No Subprocess ====s&Python %s on %s %s %s IDLE %s %s i(RRRRERR[RRRtversionRt COPYRIGHTtfirewallmessageR t IDLE_VERSIONRtTkinterRt _default_rootR(R,tnosubtclientR((s%/usr/lib/python2.6/idlelib/PyShell.pyRss       c Cs|i}zd|_|iiWd||_X|iidd}t|djo d}nt|to@ddkl }y|i |i }Wqt j oqXn|i |iod|_tp tqn|iod|_d}n|S( NiRwsend-1cis i(R'R(RRptmainloopR0R8RbR,tunicodeR R'R/R0R1RRSRRRt endoffile(R,R'RR'((s%/usr/lib/python2.6/idlelib/PyShell.pytreadlines.           cCstS(N(R(R,((s%/usr/lib/python2.6/idlelib/PyShell.pytisattyscCsy"|iidddodSWnnX|ip|ip)|i|iid|idSd|_d|_ |io?|ii o2|ii o|ii q|ii n|io|iindS(Ns sel.firsts!=ssel.lastsKeyboardInterrupt Rii(R0RRRRRERRRRSRRRRRpR(R,RN((s%/usr/lib/python2.6/idlelib/PyShell.pyRms&      cCs|io|i odS|iidddo|iidddpdS|ip|i|in d|_d|_|ii dS(NRws==RJsend-1ciiR( RRR0RRR[RSRRpR(R,RN((s%/usr/lib/python2.6/idlelib/PyShell.pyRn)s     cCsB|io'|iidd|iidn|i|dS(NRJs R(RR0RJR7tnewline_and_indent_event(R,RN((s%/usr/lib/python2.6/idlelib/PyShell.pyRl8s   cCs|io|i odSyR|iidd}|o2|iidddo|i||dSnWnnX|iidddoN|iid d}|oI|iidd|d o,|i|ii|d |d |dS|iid d}|oI|iid d |d o,|i|ii|d |d |dS|iidd}|oD|ii|d ddo'|i|ii|d d |n |i|iidd |dS|iidddo|iiddn|iidd}|o%|i o|ii ddn|iidddo|i |dS|iidd|io'|ii dd|ii dn|i ||iid dd|ii|io|iin |idS(Ns sel.firstssel.lasts<=RwRRJRsiomark linestartRiisinsert lineends>=Rsinsert linestartsend-1csend-1c linestarts (RRR0R8Rtrecallt tag_prevranget tag_nextrangeRRRRRJR7R@tupdate_idletasksRpRtrunit(R,RNtseltprevtnexttindicesR!((s%/usr/lib/python2.6/idlelib/PyShell.pyRkAsX $'$''      c Cstidd|}tidd|}|id}|iizF|iiddd|iidd |iid d}|ii d o&|i ||iid d}n|ii d|d i t |d jotid|d id }tid|id }x[|d D]K}|i|o||t |}n|ii dd|iq8WnWd|iid|iiXdS(Ns^\s*\nRs\n\s*$s Rs1.0RjRJsend-1csinsert linestartt:iis ^([ \t]*)(tretsubR4R0tundo_block_startRPRR8trstriptendswithRRJRRbtsearchtgroupRXR7tundo_block_stop(R,R!RNR]tprefixtorig_base_indenttnew_base_indentR((s%/usr/lib/python2.6/idlelib/PyShell.pyRs,   )cCs|iidd}t|}x1|djo#||ddjo|d}q$W|djo#||ddjo|d}nx1|djo#||ddjo|d}qW|| }|ii|}dS(NRwsend-1ciis s (R0R8RbRER2(R,RRGR(((s%/usr/lib/python2.6/idlelib/PyShell.pyRs """ cCss|iio|iiSy tiWn!tiddd|idSXddkl }||i |i }dS(NsNo stack traces@There is no stack trace yet. (sys.last_traceback is not defined)RKi(t StackBrowser( RERRRtlast_tracebackRPRTR0tidlelib.StackViewerRRR4(R,RNRtsv((s%/usr/lib/python2.6/idlelib/PyShell.pyRFs    cCs$|iid|iiddS(NRwR(R0R7(R,RN((s%/usr/lib/python2.6/idlelib/PyShell.pyRqscCs|iidS(N(RER(R,RN((s%/usr/lib/python2.6/idlelib/PyShell.pyRrscCsk|iytti}Wn d}nX|ii||iidd|i|i i dS(NRRJsend-1c( RRZRRRRR0Rtset_line_and_columnR;t reset_undo(R,R!((s%/usr/lib/python2.6/idlelib/PyShell.pyRs   cCs|iidd}|io|ii|n|iiddjo|iiddn|iidd|idti_ dS(NRwsend-1csend-2cs i( R0R8Rwt history_storeRJRRRRt softspace(R,R((s%/usr/lib/python2.6/idlelib/PyShell.pyRs  cCsvy@|iiddti|||d|iiddWnnX|iod|_tp tqrndS(NRwtrightRi(R0RRRRSRRR(R,R!R((s%/usr/lib/python2.6/idlelib/PyShell.pyRs  (sfileRU(RVRW(sdebugRX(RYRZ(R[R\(shelpR^(R[R_N((4R RlRRtRRRRdR trunningAsOSXApptidlelib.IdleHistoryR`RR/R{RRRRSRRR}R~RoRRpRRRLRR[RRkRRRRRsRRRmRnRlRkRRRFRqRrRRR(((s%/usr/lib/python2.6/idlelib/PyShell.pyRrsf   1                    ?      RvcBs8eZddZdZdZdZdZRS(cCs(||_||_d|_||_dS(Ni(RaRRR0(R,RaRR0((s%/usr/lib/python2.6/idlelib/PyShell.pyR/s   cCs|ii||idS(N(RaRR(R,R!((s%/usr/lib/python2.6/idlelib/PyShell.pyRscCs"x|D]}|i|qWdS(N(R(R,R]R((s%/usr/lib/python2.6/idlelib/PyShell.pyt writelinesscCsdS(N((R,((s%/usr/lib/python2.6/idlelib/PyShell.pytflushscCstS(N(R(R,((s%/usr/lib/python2.6/idlelib/PyShell.pyRsN(R RlRR/RRRR(((s%/usr/lib/python2.6/idlelib/PyShell.pyRvs     s USAGE: idle [-deins] [-t title] [file]* idle [-dns] [-t title] (-c cmd | -r file) [arg]* idle [-dns] [-t title] - [arg]* -h print this help message and exit -n run IDLE without a subprocess (see Help/IDLE Help for details) The following options will override the IDLE 'settings' configuration: -e open an edit window -i open a shell window The following options imply -i and will open a shell: -c cmd run the command in a shell, or -r file run script from file -d enable the debugger -s run $IDLESTARTUP or $PYTHONSTARTUP before anything else -t title set title of shell window A default edit window will be bypassed when -c, -r, or - are used. [arg]* are passed to the command (-c) or script (-r) in sys.argv[1:]. Examples: idle Open an edit window or shell depending on IDLE's configuration. idle foo.py foobar.py Edit the files, also open a shell if configured to start with shell. idle -est "Baz" foo.py Run $IDLESTARTUP or $PYTHONSTARTUP, edit foo.py, and open a shell window with the title "Baz". idle -c "import sys; print sys.argv" "foo" Open a shell window and run the command, passing "-c" in sys.argv[0] and "foo" in sys.argv[1]. idle -d -s -r foo.py "Hello World" Open a shell window, run a startup script, enable the debugger, and run foo.py, passing "foo.py" in sys.argv[0] and "Hello World" in sys.argv[1]. echo "import sys; print sys.argv" | idle - "foobar" Open a shell window, run the script piped in, passing '' in sys.argv[0] and "foobar" in sys.argv[1]. cCstat}t}t}d}d}t}y#titidd\}}WnOtij o@}tii dt |tii t ti dnXxH|D]@\} } | djo| }t}n| djot}t}n| djot}t}n| djoti i t ti n| d jo t}n| d jo tan| d jo:| }tii|ond G|GHti t}n| d jot}t}n| djo| t_t}qqW|o*|ddjotii}t}nx=tttiD]&} tiiti| ti| R;totaRGtpathxRtdirt edit_startRa((s%/usr/lib/python2.6/idlelib/PyShell.pyRz)s#                     $          R(DR6tos.pathRtstringRRRRRt tracebackR-RR$RRt ImportErrorRRRPtidlelib.EditorWindowRRtidlelib.FileListRtidlelib.ColorDelegatorRtidlelib.UndoDelegatorRtidlelib.OutputWindowRtidlelib.configHandlerRR R R R R R t ascii_letterstdigitsR9RRtsignalRRRRRt showwarningR"Rt checkcacheR(R)RoRtRt RPCClientRRRrtobjectRvRRzR R(((s%/usr/lib/python2.6/idlelib/PyShell.pyts~                   I ~