mò %U²Ic@sddZdkZdkZddgZd„Zd„Zd„Zd„Zedjo eƒndS( sqMacintosh-specific module for conversion between pathnames and URLs. Do not import directly; use urllib instead.Nt url2pathnamet pathname2urlcCsàti|ƒd}|o|djo td‚n|d djo|d}n|d djo td‚n|idƒ}d}xÏ|t|ƒjo»||d jo ||=q‰||d joB|djo5||d djo ||d |d 5|d }q‰||d jo-|djo ||d d jo ||=q‰|d }q‰W|dpd i |d ƒ}nZd}x=|t|ƒjo)||d jod ||<|d }qƒWd d i |ƒ}ti |ƒS(s{OS-specific conversion from a relative URL of the 'file' scheme to a file system path; not recommended for general use.itfiles(Cannot convert non-local URL to pathnameis///is//t/t.s..itt:N(Rs..( turllibt splittypetpathnamettpt RuntimeErrortsplitt componentstitlentjointrvtunquote(R RRR R ((t(/data/zmath/lib/python2.4/macurl2path.pyR s:   33  $ cCsåd|jo td‚n|idƒ}|ddjo |d=n|ddjo |d=nx9tt|ƒƒD]%}||djod|| %rsdrive:s drive:dir:sdrive:dir:files drive:fileRs:files:dir:s :dir:file(turlRRR(RR((RttestOs t__main__( t__doc__RRt__all__RRRRt__name__(R!RRRRRR((Rt?s    *