ok

Mini Shell

Direktori : /opt/alt/python33/lib/python3.3/site-packages/pip/backwardcompat/
Upload File :
Current File : //opt/alt/python33/lib/python3.3/site-packages/pip/backwardcompat/__init__.pyc

�
�2{Yc@sdZddlZddlZddlZddlZdgZeed�Zdefd��YZ	y
e
Z
Wnek
r�e	Z
nXy
eZWnek
r�e	ZnXej
jZejdkr�ddlmZmZdd	lmZdd
lmZmZddlmZmZddlmZmZmZdd
l m!Z"ddl#j$Z%ddlj&Z'ddl(Z)ddl*j+Z,ddl#j$Z-ddl.j+Z/d�Z0d�Z1d�Z2d�Z3d�Z4e5Z5e6fZ7e8Z9n�ddl:mZdd
l'mZmZddlmZmZddl%mZmZmZddl m;Z"ddl%Z%ddl'Z'ddl-Z-ddl)Z)ddl,Z,ddl/Z/d�Z1d�Z2d�Z3d�Z4e6Z5e<fZ7eZe0Z0e9Z9eZddl=m>Z>m?Z?e@edd�ZBd�ZCd�ZDdS(sKStuff that differs in different Python versions and platform
distributions.i����NtWindowsErrortcache_from_sourcetNeverUsedExceptioncBseZdZRS(s%this exception should never be raised(t__name__t
__module__t__doc__(((sL/opt/alt/python33/lib/python3.3/site-packages/pip/backwardcompat/__init__.pyR
si(tStringIOtBytesIO(treduce(tURLErrort	HTTPError(tQueuetEmpty(turl2pathnameturlretrievetpathname2url(tmessagecCs||k||kS(N((tatb((sL/opt/alt/python33/lib/python3.3/site-packages/pip/backwardcompat/__init__.pytcmp+scCs
|jd�S(Nsutf-8(tencode(ts((sL/opt/alt/python33/lib/python3.3/site-packages/pip/backwardcompat/__init__.pyR.scCs
|jd�S(Nsutf-8(tdecode(R((sL/opt/alt/python33/lib/python3.3/site-packages/pip/backwardcompat/__init__.pytu1scCs3y|jt�SWntk
r.|jd�SXdS(Ntutf_8(Rtconsole_encodingtUnicodeDecodeError(R((sL/opt/alt/python33/lib/python3.3/site-packages/pip/backwardcompat/__init__.pytconsole_to_str4s
cCs|j||�S(N(t	get_param(thttp_messagetparamt
default_value((sL/opt/alt/python33/lib/python3.3/site-packages/pip/backwardcompat/__init__.pytget_http_message_param:s(R(tMessagecCs|S(N((R((sL/opt/alt/python33/lib/python3.3/site-packages/pip/backwardcompat/__init__.pyRMscCs|S(N((R((sL/opt/alt/python33/lib/python3.3/site-packages/pip/backwardcompat/__init__.pyRPscCs|S(N((R((sL/opt/alt/python33/lib/python3.3/site-packages/pip/backwardcompat/__init__.pyRSscCs|j|�}|p|S(N(tgetparam(RRRtresult((sL/opt/alt/python33/lib/python3.3/site-packages/pip/backwardcompat/__init__.pyR Vs(tget_python_libtget_python_versiont	USER_SITEcos�ttt|��|jdd�}gg}x;|D]3}g|D] }|D]}||g^qLqB}q5Wx|D]}t|�VqsWdS(Ntrepeati(tlisttmapttupletget(targstkwdstpoolsR#tpooltxtytprod((sL/opt/alt/python33/lib/python3.3/site-packages/pip/backwardcompat/__init__.pytproducths%	
1
cCs�ttd�rMtj|tjtjB�}tj|�j}tj|�n7tjj	|�sttj
|�j}ntd|��|S(s)
    Return path's uid.

    Does not follow symlinks: https://github.com/pypa/pip/pull/935#discussion_r5307003

    Placed this function in backwardcompat due to differences on AIX and Jython,
    that should eventually go away.

    :raises OSError: When path is a symlink or can't be read.
    t
O_NOFOLLOWs1%s is a symlink; Will not return uid for symlinks(thasattrtostopentO_RDONLYR4tfstattst_uidtclosetpathtislinktstattOSError(R<tfdtfile_uid((sL/opt/alt/python33/lib/python3.3/site-packages/pip/backwardcompat/__init__.pytget_path_uidss(i(ERR6timptsystsitet__all__R5tuses_pycachet	ExceptionRRt	NameErrortPermissionErrort
__stdout__tencodingRtversion_infotioRRt	functoolsRturllib.errorR	R
tqueueRRturllib.requestR
RRtemailRtemailmessageturllib.parsetparseturllibtrequestturllib2tconfigparsertConfigParsert
xmlrpc.clienttclientt	xmlrpclibturlparsethttp.clientthttplibRRRRR tbyteststrtstring_typestinputt	raw_inputt	cStringIOR!t
basestringtdistutils.sysconfigR$R%tgetattrtNonet	user_siteR3RB(((sL/opt/alt/python33/lib/python3.3/site-packages/pip/backwardcompat/__init__.pyt<module>s|	





													

Zerion Mini Shell 1.0