HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //opt/alt/python35/lib64/python3.5/__pycache__/macurl2path.cpython-35.pyc


	�qc�
�@sRdZddlZddlZddgZdd�Zdd�Zdd�ZdS)	zqMacintosh-specific module for conversion between pathnames and URLs.

Do not import directly; use urllib instead.�N�url2pathname�pathname2urlcCs�tjj|�d}|r4|dkr4td��|dd�dkr]|dd�}n"|dd�dkrtd��|jd	�}d}x�|t|�kr\||d
kr�||=q�||dkr|dkr||ddkr||d|d�=|d}q�||d
krO|dkrO||dd
krO||=q�|d}q�W|ds�dj|dd��}nVd}x:|t|�kr�||dkr�d
||<|d}q�Wddj|�}tjj|�S)z{OS-specific conversion from a relative URL of the 'file' scheme
    to a file system path; not recommended for general use.r�filez(Cannot convert non-local URL to pathnameN�z///�z//�/�.�..���:)rr	)�urllib�parseZ	splittype�RuntimeError�split�len�joinZunquote)�pathname�tp�
components�i�rv�r�0/opt/alt/python35/lib64/python3.5/macurl2path.pyr
s6

0

%
cCs�d|krtd��|jd�}|ddkr>|d=|d	dkrU|d
=x4tt|��D] }||dkrhd||<qhWtt|�}tjj|�r�ddj	|�Sdj	|�SdS)z{OS-specific conversion from a file system path to a relative URL
    of the 'file' scheme; not recommended for general use.rz*Cannot convert pathname containing slashesrrrr
z..N���r)
rr�ranger�map�_pncomp2url�os�path�isabsr)rrrrrrr4scCs tjj|dd�dd�S)N�Zsafer)r
rZquote)Z	componentrrrrKsr)�__doc__Zurllib.parser
r�__all__rrrrrrr�<module>s*