HEX

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit - prohibited by configuration in /home/u547966/brikov.ru/www/wp-content/plugins/admin-menu-editor/menu-editor.php on line 745
Server: Apache
System: Linux 4.19.0-0.bpo.9-amd64 x86_64 at red40
User: u547966 (5490)
PHP: 5.3.29-mh2
Disabled: syslog, dl, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, chown, chgrp, accelerator_reset, opcache_reset, accelerator_get_status, opcache_get_status, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority
Upload Files
File: //usr/lib/python2.7/dist-packages/mercurial/demandimport.pyc
ó
ÛXc@@s|dZddlmZddlZddlZddlZyddlZWnek
riddlZnXej	Z	e
ZeƒZ
dZejddkr¤dZneZd„Zdefd„ƒYZd	ejkZddded
„Zddd
ddddddddddddddddddd gZerNejd!gƒnd"„Zd#„Zd$„Ze	d%„ƒZdS(&sU
demandimport - automatic demandloading of modules

To enable this module, do:

  import demandimport; demandimport.enable()

Imports of the following forms will be demand-loaded:

  import a, b.c
  import a.b as c
  from a import b,c # a will be loaded immediately

These imports will not be delayed:

  from a import *
  b = __import__(a)
i(tabsolute_importNiÿÿÿÿicO@sŸy|||||ŽSWntk
rš|s3‚nd|}|jddƒd}|jddƒjddƒd}||kr‡‚n|||||ŽSXdS(Nshgext_%st.iit__name__t(tImportErrortsplittget(t
importfunctnametglobalstargstkwargst	hgextnametnameroottcontextroot((s:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pyt_hgextimport3s

"t
_demandmodcB@sVeZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
RS(	sxmodule demand-loader and proxy

    Specify 1 as 'level' argument at construction, to import module
    relatively.
    c	C@s{d|kr0|jddƒ\}}|g}n|}g}tj|d|||||tƒfƒtj|ddƒdS(NRit_datat_module(Rtobjectt__setattr__tsettNone(tselfRR	tlocalstleveltheadtresttafter((s:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pyt__init__HscC@s|jdj|ƒdS(s%add to the list of submodules to loadiN(Rtappend(RR((s:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pyt_extendRscC@s|jdj|ƒdS(s·Record that the named module ``name`` imports this module.

        References to this proxy class having the name of this module will be
        replaced at module load time. We assume the symbol inside the importing
        module is identical to the "head" name of this module. We don't
        actually know if "as X" syntax is being used to change the symbol name
        because this information isn't exposed to __import__.
        iN(Rtadd(RR((s:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pyt_addrefVs	c@sF|jsB|j\}}}}}}tt|||d|ƒ}||kr€|j}|rf||k	s|td||fƒ‚dS‡fd†‰x|D]}ˆ||ƒq–W|rÕ|j|ƒ|krÕ|||<nxT|D]L}	tjj|	dƒ}
|
rÜt	|
|dƒ|krÜt
|
||ƒqÜqÜWtj|d|ƒndS(Ns%s, %sc	@sš|d}}d|kr4|jddƒ\}}nt||tƒtkrwt||t||j|jddƒƒn|r–ˆt||ƒ|ƒndS(NRiR(RRtgetattrtnothingtsetattrRt__dict__(tmodtpthtt(tsubload(s:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pyR*ws

R(
RRRt_importRtAssertionErrorRtsystmodulesR"R$RR(RRR	RRRtmodrefsR&txtmodnametmodref((R*s:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pyt_loadas"	
	(



cC@s'|jrd|jdSd|jdS(Ns<proxied module '%s'>is<unloaded module '%s'>(RR(R((s:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pyt__repr__s	cO@stdt|ƒƒ‚dS(Ns%s object is not callable(t	TypeErrortrepr(RR
R((s:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pyt__call__“scC@s6|dkrtj||ƒS|jƒt|j|ƒS(NRRR3RR!(RRR3RR!(Rt__getattribute__R3R"R(Rtattr((s:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pyR8•s
cC@s!|jƒt|j||ƒdS(N(R3R$R(RR9tval((s:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pyRšs
(Rt
__module__t__doc__RRR!R3R4R7R8R(((s:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pyRBs	
			.			t__pypy__c
@sgˆs|tks|d
kr8tt||ˆ||ƒS|sçd|krÔ|jddƒ\}}|r–|jddƒ|kr–t||ˆ||ƒS|ˆkrÔtˆ|tƒrɈ|j|ƒnˆ|Snt||ˆ|ƒS|jdƒ‰‡‡fd†}d„}|dkr|rPtt	||ˆd|ƒ}	||	|ƒ}
n«t
ràˆ}tj|}
t
|
d	tƒtkr§|jddƒd}tj|}
n|dkrû|jd|dƒd}tj|}
qûntt	||ˆd|ƒ}
x|D]}||
|ƒqW|
Stt	||ˆƒ}
||
|ƒ}
x|D]}||
|ƒqHW|
SdS(Nt*RiRc@sÔt||tƒ}t|dtƒtk}|tkr«|rOtd|ƒ‚nd|j|f}|tkrwt}nt}|||jˆddƒ}t|||ƒnˆrÐt	|tƒrÐ|j
ˆƒndS(sProcess an imported symbol in the import statement.

            If the symbol doesn't exist in the parent module, and if the
            parent module is a package, it must be a module. We set missing
            modules up as _demandmod instances.
            t__path__scannot import name %ss%s.%sRiN(R"R#RRtignoret_origimportRR%R$t
isinstanceR!(R&R9tsymboltnonpkgtmnR(t
globalnameR(s:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pytprocessfromitem¿s	c
S@sz|}xm|jdƒdD]X}t||tƒtkrct||t||j|jddƒƒnt||ƒ}qW|S(NRiR(RR"R#R$RR%(trootmodR1R&tcomp((s:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pytchainmodulesÚsiRR?(R>(R@RR+RRRRBRRRAt_pypyR-R.R"R#trsplit(
RR	RtfromlistRtbaseRRGRJRHR&RER0((RFRs:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pyt
_demandimport sN
	
	
	

t
__future__t_hashlibt_impt_xmlplustfcntltntswin32com.gen_pyt_winregt	pythoncomtpwdtgrptresourcetgtkt__main__t_sslt_sretrfc822t	mimetoolsssqlalchemy.eventssdistutils.msvc9compilert__builtin__tbuiltinss_ctypes.pointercC@s
tjtkS(N(Rbt
__import__RO(((s:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pyt	isenabled0scC@s(tjjdƒdkr$tt_ndS(s'enable global demand-loading of modulestHGDEMANDIMPORTtdisableN(tostenvironRRORbRc(((s:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pytenable3scC@s
tt_dS(s(disable global demand-loading of modulesN(RARbRc(((s:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pyRf8scc@s:tƒ}|rtƒnz	dVWd|r5tƒnXdS(s;context manager for disabling demandimport in 'with' blocksN(RdRfRi(t
demandenabled((s:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pytdeactivated<s	
	(R<RPRt
contextlibRgR-RaRbRtcontextmanagerRcRARR#Rtversion_infoR+RRtbuiltin_module_namesRKRROR@textendRdRiRfRk(((s:/usr/lib/python2.7/dist-packages/mercurial/demandimport.pyt<module>s`
				\j