403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.6/idlelib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/idlelib/AutoComplete.pyc
Ñò
ÉÉŽJc@sádZddkZddkZddkZddklZddkZddklZddkZei	ei
eidZei	ei
dZ
eddƒ\ZZeiZeioeei7Znd	dd
„ƒYZdS(
sÖAutoComplete.py - An IDLE extension for automatically completing names.

This extension can complete either attribute names of file names. It can pop
a window with all available names, for the user to select from.
iÿÿÿÿN(tidleConf(tHyperParsers._~#$:-t_iitAutoCompletecBs§eZddgfgZeiddddddd	ƒZdd
„Zd„Zdd„Z	d
„Z
d„Zd„Zd„Z
d„Zdd„Zd„Zd„ZRS(teditsShow Completionss<<force-open-completions>>t
extensionsRt	popupwaitttypetinttdefaulticCsF||_|djodS|i|_d|_d|_d|_dS(N(teditwintNonettexttautocompletewindowt_delayed_completion_idt_delayed_completion_index(tselfR
((s*/usr/lib/python2.6/idlelib/AutoComplete.pyt__init__)s	
		cCsti|iƒS(N(tAutoCompleteWindowR(R((s*/usr/lib/python2.6/idlelib/AutoComplete.pyt_make_autocomplete_window6scCs(|io|iiƒd|_ndS(N(R
thide_windowR(Rtevent((s*/usr/lib/python2.6/idlelib/AutoComplete.pyt_remove_autocomplete_window9s

cCs|itttƒdS(sqHappens when the user really wants to open a completion list, even
        if a function call is needed.
        N(topen_completionstTruetFalse(RR((s*/usr/lib/python2.6/idlelib/AutoComplete.pytforce_open_completions_event>scCsd|iidƒ}|djo|ittttƒn(|tjo|ittttƒndS(s¦Happens when it would be nice to open a completion list, but not
        really neccesary, for example after an dot, so function
        calls won't be made.
        s	insert-1ct.N(Rtgett_open_completions_laterRtCOMPLETE_ATTRIBUTEStSEPStCOMPLETE_FILES(RRtlastchar((s*/usr/lib/python2.6/idlelib/AutoComplete.pyttry_open_completions_eventDs

cCspt|dƒo|iodS|io"|iiƒo|iiƒdS|itttƒ}|odSdS(s¥Happens when the user wants to complete his word, and if neccesary,
        open a completion list after that (if there is more than one
        completion)
        tmc_stateNtbreak(thasattrR#R
t	is_activetcompleteRRR(RRtopened((s*/usr/lib/python2.6/idlelib/AutoComplete.pytautocomplete_eventQs
cGsa|iidƒ|_|idj	o|ii|iƒn|ii|i|i|Œ|_dS(Ntinsert(	RtindexRRRtafter_canceltafterRt_delayed_open_completions(Rtargs((s*/usr/lib/python2.6/idlelib/AutoComplete.pyRas
cGs;d|_|iidƒ|ijodS|i|ŒdS(NR*(RRRR+RR(RR/((s*/usr/lib/python2.6/idlelib/AutoComplete.pyR.is	cCs…|idj	o |ii|iƒd|_nt|idƒ}|iiddƒ}t|ƒ}}|iƒo©|p
|t	jo”|i
ƒt	}x+|o#||dtjo|d8}qœW|||!}	|}x/|o'||dttjo|d8}qÝW|||!}
nò|i
ƒoà|p
|tjoË|i
ƒt}x+|o#||dtjo|d8}qRW|||!}	|oo||ddjoZ|idt|ƒ|dƒ|iƒ}
|
p|o|
idƒdjodSqd	}
ndS|o|
o
|	odS|i|
|ƒ}|d
pdS|iƒ|_|ii|dt|	ƒ|||ƒtS(sXFind the completions and create the AutoCompleteWindow.
        Return True if successful (no syntax error or so found).
        if complete is True, then if there's nothing to complete and no
        start of completion, won't open completions and return False.
        If mode is given, will open a completion list only in this mode.
        R*sinsert linestartiRs
insert-%dct(iÿÿÿÿNti(RRRR,RR
Rtlentis_in_stringR RtFILENAME_CHARSRt
is_in_codeRtID_CHARSt	set_indextget_expressiontfindtfetch_completionsRR
tshow_windowR(Rt	evalfuncsR'tuserWantsWintmodethptcurlinetitjt
comp_startt	comp_whatt
comp_lists((s*/usr/lib/python2.6/idlelib/AutoComplete.pyRosZ
"

 "

	

c		Csûy|iiiii}Wn
d
}nX|o|idd||fhƒS|tjoü|djo{ti	i
ƒ}|itii	ƒt
d|ƒ}|iƒd|jot
d|ƒ}|iƒqRtd„|ƒ}qÜy_|i|ƒ}t|ƒ}|iƒd|jo|i}|iƒntd„|ƒ}WqÜggfSXn‡|tjoy|djo
d}nyAtii|ƒ}ti|ƒ}|iƒtd	„|ƒ}WqÜtj
oggfSXn|p
|}n||fSd
S(sOReturn a pair of lists of completions for something. The first list
        is a sublist of the second. Both are sorted.

        If there is a Python subprocess, get the comp. list there.  Otherwise,
        either fetch_completions() is running in the subprocess itself or it
        was called in an IDLE EditorWindow before any script had been run.

        The subprocess environment is that of the most recently run script.  If
        two unrelated modules are being edited some calltips in the current
        module may be inoperative if the module was not the last to run.
        texectget_the_completion_listR1sdir()t__all__cSs|d djS(iR((ts((s*/usr/lib/python2.6/idlelib/AutoComplete.pyt<lambda>ÄscSs|d djS(iR((RI((s*/usr/lib/python2.6/idlelib/AutoComplete.pyRJÎsRcSs|d djS(iR((RI((s*/usr/lib/python2.6/idlelib/AutoComplete.pyRJÙsN(R
tflisttpyshelltinterptrpccltRt
remotecallRt__main__t__dict__tcopytupdatet__builtins__tevaltsorttfiltert
get_entitytdirRHR tostpatht
expandusertlistdirtOSError(	RtwhatR>RNt	namespacetbigltsmallltentitytexpandedpath((s*/usr/lib/python2.6/idlelib/AutoComplete.pyR:¦sP






	




cCs,tiiƒ}|itiƒt||ƒS(sALookup name in a namespace spanning sys.modules and __main.dict__(tsystmodulesRRRSRPRQRU(RtnameR`((s*/usr/lib/python2.6/idlelib/AutoComplete.pyRXás(sShow Completionss<<force-open-completions>>N(t__name__t
__module__tmenudefsRt	GetOptionRRRRRRR"R)RR.RR:RX(((s*/usr/lib/python2.6/idlelib/AutoComplete.pyRs
			
			7	;i((t__doc__RZRetstringt
configHandlerRRRRPt
ascii_letterstdigitstcurdirR4R6trangeRR tsepRtaltsepR(((s*/usr/lib/python2.6/idlelib/AutoComplete.pyt<module>s	


Youez - 2016 - github.com/yon3zu
LinuXploit