tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[\¬Qc@s¯ddlZddlZddlZddlmZddlmZmZdefd„ƒYZdefd„ƒYZ    defd    „ƒYZ
d
„Z e d kr«e ƒndS( iÿÿÿÿN(tTreeItem(t ClassBrowsertModuleBrowserTreeItemt PathBrowsercBs#eZd„Zd„Zd„ZRS(cCs|j|ƒdS(N(tinit(tselftflist((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/PathBrowser.pyt__init__
scCs$|jjdƒ|jjdƒdS(Ns Path Browser(ttoptwm_titlet wm_iconname(R((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/PathBrowser.pytsettitle scCstƒS(N(tPathBrowserTreeItem(R((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/PathBrowser.pytrootnodes(t__name__t
__module__RR R (((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/PathBrowser.pyRs        R cBseZd„Zd„ZRS(cCsdS(Nssys.path((R((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/PathBrowser.pytGetTextscCs7g}x*tjD]}t|ƒ}|j|ƒqW|S(N(tsystpathtDirBrowserTreeItemtappend(Rtsublisttdirtitem((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/PathBrowser.pyt
GetSubLists
 (RRRR(((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/PathBrowser.pyR s    RcBs8eZgd„Zd„Zd„Zd„Zd„ZRS(cCs||_||_dS(N(Rtpackages(RRR((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/PathBrowser.pyR"s    cCs#|js|jS|jddSdS(Niÿÿÿÿs    : package(RR(R((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/PathBrowser.pyR&s    cCs?ytj|jptjƒ}Wntjk
r6gSXg}x`|D]X}tjj|j|ƒ}|j|ƒrDtjj|ƒ}|j    |||fƒqDqDW|j
ƒg}x=|D]5\}}}t ||j |gƒ}|j    |ƒq·WxH|j |ƒD]7\}}ttjj|j|ƒƒ}|j    |ƒqW|S(N(tostlistdirRtcurdirterrorRtjoint ispackagedirtnormcaseRtsortRRt listmodulesR(RtnamesRtnametfiletnnRR((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/PathBrowser.pyR,s& 
cCs;tjj|ƒsdStjj|dƒ}tjj|ƒS(Nis __init__.py(RRtisdirRtexists(RR%R((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/PathBrowser.pyRAsc CsÇi}tjƒ}g}xž|D]–\}}}t|ƒ }xw|D]n}    tjj|    ƒ}
|
||krC|    | } | |kr±d|| <|j|
|    fƒ|j|    ƒq±qCqCWqW|j    ƒ|S(N(
timpt get_suffixestlenRRR tNoneRtremoveR!( RtallnamestmodulestsuffixestsortedtsufftmodetflagtiR$t normed_nametmod_name((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/PathBrowser.pyR"Gs  
 
 
(RRRRRRR"(((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/PathBrowser.pyR s
             cCs=ddlm}t|jƒtjtjkr9tƒndS(Niÿÿÿÿ(tPyShell(tidlelibR8RRRtstdint    __stdin__tmainloop(R8((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/PathBrowser.pytmainXs t__main__( RRR)tidlelib.TreeWidgetRtidlelib.ClassBrowserRRRR RR=R(((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/idlelib/PathBrowser.pyt<module>s     8