AlkantarClanX12

Your IP : 18.225.56.78


Current Path : /opt/alt/python33/lib64/python3.3/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/__pycache__/imp.cpython-33.pyc

�
��f�%c
@s
dZddlmZmZmZmZmZmZmZm	Z	m
Z
mZyddlmZWne
k
rzdZYnXddlmZddlmZmZddlmZddlmZddlZddlZddlZddlZdZd	Zd
ZdZdZd
ZdZ dZ!dZ"dZ#dd�Z$dd�Z%dd�Z&Gdd�d�Z'Gdd�d�Z(Gdd�de(ej)�Z*ddd�Z+Gd d!�d!e(ej,�Z-dd"d#�Z.d$d%�Z/d&d'�Z0dd(d)�Z1iZ2d*d+�Z3dS(,u�This module provides the components needed to build your own __import__
function.  Undocumented functions are obsolete.

In most cases it is preferred you consider using the importlib module's
functionality over this module.

i(
u	lock_helduacquire_lockurelease_lockuget_frozen_objectuis_frozen_packageuinit_builtinuinit_frozenu
is_builtinu	is_frozenu_fix_co_filename(uload_dynamic(u
new_module(ucache_from_sourceusource_from_cache(u
_bootstrap(u	machineryNiiiiiiiii	cCstjS(u/Return the magic number for .pyc or .pyo files.(u
_bootstrapu_MAGIC_BYTES(((u(/opt/alt/python33/lib64/python3.3/imp.pyu	get_magic-su	get_magiccCs
tjjS(u,Return the magic tag for .pyc or .pyo files.(usysuimplementationu	cache_tag(((u(/opt/alt/python33/lib64/python3.3/imp.pyuget_tag2suget_tagcCsatjdtd�dd�tjD�}dd�tjD�}dd�tjD�}|||S(NuZimp.get_suffixes() is deprecated; use the constants defined on importlib.machinery insteadicSsg|]}|dtf�qS(urb(uC_EXTENSION(u.0us((u(/opt/alt/python33/lib64/python3.3/imp.pyu
<listcomp>;s	u get_suffixes.<locals>.<listcomp>cSsg|]}|dtf�qS(uU(u	PY_SOURCE(u.0us((u(/opt/alt/python33/lib64/python3.3/imp.pyu
<listcomp><s	cSsg|]}|dtf�qS(urb(uPY_COMPILED(u.0us((u(/opt/alt/python33/lib64/python3.3/imp.pyu
<listcomp>=s	(uwarningsuwarnuDeprecationWarningu	machineryuEXTENSION_SUFFIXESuSOURCE_SUFFIXESuBYTECODE_SUFFIXES(u
extensionsusourceubytecode((u(/opt/alt/python33/lib64/python3.3/imp.pyuget_suffixes7s	
uget_suffixescBs2|EeZdZdZdd�Zdd�ZdS(uNullImporteruNull import object.cCsL|dkr!tddd��n'tjj|�rHtdd|��ndS(Nuuempty pathnameupathuexisting directory(uImportErroruosupathuisdir(uselfupath((u(/opt/alt/python33/lib64/python3.3/imp.pyu__init__FsuNullImporter.__init__cCsdS(uAlways returns None.N(uNone(uselfufullname((u(/opt/alt/python33/lib64/python3.3/imp.pyufind_moduleLsuNullImporter.find_moduleN(u__name__u
__module__u__qualname__u__doc__u__init__ufind_module(u
__locals__((u(/opt/alt/python33/lib64/python3.3/imp.pyuNullImporterBsuNullImportercsA|EeZdZdZd�fdd�Z�fdd�Z�S(u_HackedGetDatauMCompatibiilty support for 'file' arguments of various load_*()
    functions.cs t�j||�||_dS(N(usuperu__init__ufile(uselfufullnameupathufile(u	__class__(u(/opt/alt/python33/lib64/python3.3/imp.pyu__init__Vsu_HackedGetData.__init__c	sw|jrc||jkrc|jjs0|j}nt|jd�|_}|�|j�SWdQXnt�j|�SdS(u;Gross hack to contort loader to deal w/ load_*()'s bad API.urN(ufileupathucloseduopenureadusuperuget_data(uselfupathufile(u	__class__(u(/opt/alt/python33/lib64/python3.3/imp.pyuget_dataZsu_HackedGetData.get_dataN(u__name__u
__module__u__qualname__u__doc__uNoneu__init__uget_data(u
__locals__((u	__class__u(/opt/alt/python33/lib64/python3.3/imp.pyu_HackedGetDataQsu_HackedGetDatacBs|EeZdZdZdS(u_LoadSourceCompatibilityu5Compatibility support for implementing load_source().N(u__name__u
__module__u__qualname__u__doc__(u
__locals__((u(/opt/alt/python33/lib64/python3.3/imp.pyu_LoadSourceCompatibilitymsu_LoadSourceCompatibilitycCsXd}tj|td�t|||�j|�tj|}tj||�|_	|S(Nuoimp.load_source() is deprecated; use importlib.machinery.SourceFileLoader(name, pathname).load_module() insteadi(
uwarningsuwarnuDeprecationWarningu_LoadSourceCompatibilityuload_moduleusysumodulesu
_bootstrapuSourceFileLoaderu
__loader__(unameupathnameufileumsgumodule((u(/opt/alt/python33/lib64/python3.3/imp.pyuload_sourcers
uload_sourcecBs|EeZdZdZdS(u_LoadCompiledCompatibilityu7Compatibility support for implementing load_compiled().N(u__name__u
__module__u__qualname__u__doc__(u
__locals__((u(/opt/alt/python33/lib64/python3.3/imp.pyu_LoadCompiledCompatibilitysu_LoadCompiledCompatibilitycCsXd}tj|td�t|||�j|�tj|}tj||�|_	|S(Nuvimp.load_compiled() is deprecated; use importlib.machinery.SourcelessFileLoader(name, pathname).load_module() instead i(
uwarningsuwarnuDeprecationWarningu_LoadCompiledCompatibilityuload_moduleusysumodulesu
_bootstrapuSourcelessFileLoaderu
__loader__(unameupathnameufileumsgumodule((u(/opt/alt/python33/lib64/python3.3/imp.pyu
load_compiled�s
u
load_compiledcCs�d}tj|td�tjj|�r�tjdd�tjdd�}xU|D]5}tjj	|d|�}tjj
|�rVPqVqVWtdj|���nt
j||�j|�S(Nu�imp.load_package() is deprecated; use either importlib.machinery.SourceFileLoader() or importlib.machinery.SourcelessFileLoader() insteadiu__init__u{!r} is not a package(uwarningsuwarnuDeprecationWarninguosupathuisdiru	machineryuSOURCE_SUFFIXESuBYTECODE_SUFFIXESujoinuexistsu
ValueErroruformatu
_bootstrapuSourceFileLoaderuload_module(unameupathumsgu
extensionsu	extension((u(/opt/alt/python33/lib64/python3.3/imp.pyuload_package�s
uload_packagec	Cs�|\}}}tj���tjd�|rc|jd�sKd|krctdj|���n?|dkr�|tthkr�dj|�}t|��n|tkr�t	|||�S|tkr�t
|||�S|tkr9tdk	r9|dkr&t
|d��}t|||�SWdQXq�t|||�Sni|tkrRt||�S|tkrht|�S|tkr~t|�Sd	j||�}t|d
|��WdQXdS(u�**DEPRECATED**

    Load a module, given information returned by find_module().

    The module name must include the full package name, if any.

    uignoreuruUu+uinvalid file open mode {!r}u.file object required for import (type code {})urbNu*Don't know how to import {} (type code {})uname(uruU(uwarningsucatch_warningsusimplefilteru
startswithu
ValueErroruformatuNoneu	PY_SOURCEuPY_COMPILEDuload_sourceu
load_compileduC_EXTENSIONuload_dynamicuopenu
PKG_DIRECTORYuload_packageu	C_BUILTINuinit_builtinu	PY_FROZENuinit_frozenuImportError(	unameufileufilenameudetailsusuffixumodeutype_umsguopened_file((u(/opt/alt/python33/lib64/python3.3/imp.pyuload_module�s2

"


uload_modulecCsOt|t�s-tdjt|����n9t|td�tf�sftdjt|����n|dkr�t|�r�ddddt	ffSt
|�r�ddddtffStj
}nx|D]�}tj
j||�}xbdtjdgD]M}d|}tj
j||�}tj
j|�r�d|ddtffSq�Wtj��htjd�xRt�D]D\}}}||}	tj
j||	�}tj
j|�rmPqmqmWw�PWdQXq�Wttjj|�d	|��d}
|d
kr$t|d��}tj|j�d}
WdQXnt||d|
�}|||||ffS(
u,**DEPRECATED**

    Search for a module.

    If path is omitted or None, search for a built-in, frozen or special
    module and continue search in sys.path. The module name cannot
    contain '.'; to search for a submodule of a package, pass the
    submodule name and the package's __path__.

    u'name' must be a str, not {}u%'list' must be None or a list, not {}uu.pyiu__init__uignoreNunameuUurbuencoding(u
isinstanceustru	TypeErroruformatutypeuNoneulistuRuntimeErroru
is_builtinu	C_BUILTINu	is_frozenu	PY_FROZENusysupathuosujoinu	machineryuBYTECODE_SUFFIXESuisfileu
PKG_DIRECTORYuwarningsucatch_warningsusimplefilteruget_suffixesuImportErroru
_bootstrapu_ERR_MSGuopenutokenizeudetect_encodingureadline(unameupathuentryupackage_directoryusuffixupackage_file_nameu	file_pathumodeutype_u	file_nameuencodingufile((u(/opt/alt/python33/lib64/python3.3/imp.pyufind_module�sD	




ufind_modulecCs|st|�tt�kr.td��n|j}|tjkrjd}t|j|�d|��n|tkr~t|S|t|<zn|jd�d}|r�|tjkr�d}t|j|�d|��n|j	j
|�tj|jSWdyt|=Wntk
rYnXXdS(ucReload the module and return it.

    The module must have been successfully imported before.

    u reload() argument must be moduleumodule {} not in sys.modulesunameu.iuparent {!r} not in sys.modulesN(utypeusysu	TypeErroru__name__umodulesuImportErroruformatu
_RELOADINGu
rpartitionu
__loader__uload_moduleuKeyError(umoduleunameumsguparent_name((u(/opt/alt/python33/lib64/python3.3/imp.pyureloads(	

ureload(4u__doc__u_impu	lock_helduacquire_lockurelease_lockuget_frozen_objectuis_frozen_packageuinit_builtinuinit_frozenu
is_builtinu	is_frozenu_fix_co_filenameuload_dynamicuImportErroruNoneuimportlib._bootstrapu
new_moduleucache_from_sourceusource_from_cacheu	importlibu
_bootstrapu	machineryuosusysutokenizeuwarningsuSEARCH_ERRORu	PY_SOURCEuPY_COMPILEDuC_EXTENSIONuPY_RESOURCEu
PKG_DIRECTORYu	C_BUILTINu	PY_FROZENuPY_CODERESOURCEuIMP_HOOKu	get_magicuget_taguget_suffixesuNullImporteru_HackedGetDatauSourceFileLoaderu_LoadSourceCompatibilityuload_sourceuSourcelessFileLoaderu_LoadCompiledCompatibilityu
load_compileduload_packageuload_moduleufind_moduleu
_RELOADINGureload(((u(/opt/alt/python33/lib64/python3.3/imp.pyu<module>sLF


%6