• File: PathBrowser.pyo
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/proc/self/root/proc/self/root/opt/alt/python27/lib64/python2.7/idlelib/PathBrowser.pyo
  • Date Modified: 10/26/2026 8:10 PM
  • File size: 4.57 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit

jc@sddlZddlZddlZddlmZddlmZmZddlm	Z	defdYZ
defdYZd	efd
YZdZ
edkrdd
lmZeddddeddlmZee
ndS(iN(tTreeItem(tClassBrowsertModuleBrowserTreeItem(tPyShellFileListtPathBrowsercBs&eZedZdZdZRS(cCs||_|j|dS(sG
        _htest - bool, change box location when running htest
        N(t_htesttinit(tselftflistR((s8/opt/alt/python27/lib64/python2.7/idlelib/PathBrowser.pyt__init__s	cCs$|jjd|jjddS(sSet window titles.sPath BrowserN(ttoptwm_titletwm_iconname(R((s8/opt/alt/python27/lib64/python2.7/idlelib/PathBrowser.pytsettitlescCstS(N(tPathBrowserTreeItem(R((s8/opt/alt/python27/lib64/python2.7/idlelib/PathBrowser.pytrootnodes(t__name__t
__module__tFalseR	R
R(((s8/opt/alt/python27/lib64/python2.7/idlelib/PathBrowser.pyR
s	RcBseZdZdZRS(cCsdS(Nssys.path((R((s8/opt/alt/python27/lib64/python2.7/idlelib/PathBrowser.pytGetTextscCs7g}x*tjD]}t|}|j|qW|S(N(tsystpathtDirBrowserTreeItemtappend(Rtsublisttdirtitem((s8/opt/alt/python27/lib64/python2.7/idlelib/PathBrowser.pyt
GetSubList s
(RRRR(((s8/opt/alt/python27/lib64/python2.7/idlelib/PathBrowser.pyRs	RcBs8eZgdZdZdZdZdZRS(cCs||_||_dS(N(Rtpackages(RRR((s8/opt/alt/python27/lib64/python2.7/idlelib/PathBrowser.pyR	)s	cCs#|js|jS|jddSdS(Nis	: package(RR(R((s8/opt/alt/python27/lib64/python2.7/idlelib/PathBrowser.pyR-s	cCs?ytj|jptj}Wntjk
r6gSXg}x`|D]X}tjj|j|}|j|rDtjj|}|j	|||fqDqDW|j
g}x=|D]5\}}}t||j|g}|j	|qWxH|j
|D]7\}}ttjj|j|}|j	|qW|S(N(tostlistdirRtcurdirterrorRtjointispackagedirtnormcaseRtsortRRtlistmodulesR(RtnamesRtnametfiletnnRR((s8/opt/alt/python27/lib64/python2.7/idlelib/PathBrowser.pyR3s&

cCs;tjj|stStjj|d}tjj|S(Ns__init__.py(RRtisdirRR!texists(RR(R((s8/opt/alt/python27/lib64/python2.7/idlelib/PathBrowser.pyR"HscCsi}tj}g}x|D]\}}}t|}xw|D]n}	tjj|	}
|
||krC|	| }||krd||<|j|
|	f|j|	qqCqCWqW|j	|S(N(
timptget_suffixestlenRRR#tNoneRtremoveR$(RtallnamestmodulestsuffixestsortedtsufftmodetflagtiR'tnormed_nametmod_name((s8/opt/alt/python27/lib64/python2.7/idlelib/PathBrowser.pyR%Ns



(RRR	RRR"R%(((s8/opt/alt/python27/lib64/python2.7/idlelib/PathBrowser.pyR's
			cCs*t|}t|dt|jdS(NR(RRtTruetmainloop(tparentR((s8/opt/alt/python27/lib64/python2.7/idlelib/PathBrowser.pyt
_path_browser_st__main__(tmains"idlelib.idle_test.test_pathbrowsert	verbosityitexit(trun(RRR,tidlelib.TreeWidgetRtidlelib.ClassBrowserRRtidlelib.PyShellRRRRR>RtunittestR@Rtidlelib.idle_test.htestRC(((s8/opt/alt/python27/lib64/python2.7/idlelib/PathBrowser.pyt<module>s8