MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/usr/lib/python2.4/site-packages/mx/Proxy/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/lib/python2.4/site-packages/mx/Proxy/Proxy.pyo
mň
řÔ5;c@sDdZdkZdkTdklZyeWnej
on!Xdfd„ƒYZeeƒZydkl	Z	Wnd„Z	nXdfd	„ƒYZ
d
fd„ƒYZe	eƒdefd
„ƒYZe	eƒdefd„ƒYZ
e	e
ƒe
Zdfd„ƒYZdefd„ƒYZe	eƒdfd„ƒYZdS(s3 Python part of the Proxy type implementation.

    Copyright (c) 2000, Marc-Andre Lemburg; mailto:mal@lemburg.com
    Copyright (c) 2000-2001, eGenix.com Software GmbH; mailto:info@egenix.com
    See the documentation for further information on copyrights,
    or contact the author. All Rights Reserved.

N(t*(s__version__t_ModuleFinalizationcBstZd„Zd„ZRS(NcCs
||_dS(N(tfunctiontselftfini(RR((t2/usr/lib/python2.4/site-packages/mx/Proxy/Proxy.pyt__init__scCs|iƒdS(N(RR(R((Rt__del__s(t__name__t
__module__RR(((RRs	(sfreezecCs|S(N(tx(R
((Rt<lambda>stProxyFactorycBs,tZdZed„Zd„Zd„ZRS(sE Factory for producing Proxy-wrapped objects
        of a class.
    cCs||_||_dS(N(tClassRt	interface(RR
R((RR&s	cOstt|i||ƒ|iƒS(sH Return a new (wrapped) object. Pass-objects are not supported.
        N(tProxytapplyRR
targstkwR(RRR((Rt__call__+scCsdt|iƒS(Ns<ProxyFactory for %s>(treprRR
(R((Rt__repr__1s(RR	t__doc__tNoneRRR(((RR!s	t
InstanceProxycBs;tZdZeeed„Zd„Zd„Zd„ZRS(s6 Proxy that wraps Python instances transparently.
    cCsW|i}||||ƒ}|i|d<|i	|d<|i
id|i
i|d<dS(sW The interface is the same as that of the underlying C
            Proxy type.
        t
proxy_getattrt
proxy_setattrt.tproxy_object_reprN(
Rt__dict__tdictRtobjectRtpassobjtpRRt	__class__R	R(RRRR RR!R((RR9s	

cCs)d|ii|ii|it|ƒfS(Ns<%s.%s for %s at 0x%x>(RR"R	RRtid(R((RRGscCs
|i|ƒS(N(RRtwhat(RR$((Rt__getattr__TscCs|i||ƒdS(N(RRR$tto(RR$R&((Rt__setattr__Ws(	RR	RRRRRR%R'(((RR5s
	
	tCachingInstanceProxycBs tZdZd„Zd„ZRS(sQ Proxy that wraps Python instances transparently and caches
        accessed attributes and methods.

        Note that cached attributes are not looked up in the wrapped
        instance after the first lookup -- if their value changes,
        this won't be noticed by objects that access the object
        through this wrapper.

    cCs|i|ƒ|i|<}|S(N(RRR$Rto(RR$R)((RR%gscCs5|i||ƒ|ii|ƒo|i|=ndS(N(RRR$R&Rthas_key(RR$R&((RR'ls(RR	RR%R'(((RR(\s
	tSelectiveCachingInstanceProxycBs#tZdZeifZd„ZRS(s Proxy that wraps Python instances transparently and caches
        accessed attributes and methods depending on their type.

        Cached types are set via the attribute proxy_cacheable_types.
        It defaults to caching only methods (which likely don't change).

    cCs:|i|ƒ}t|ƒ|ijo||i|<n|S(N(RRR$R)ttypetproxy_cacheable_typesR(RR$R)((RR%€s(RR	Rttypest
MethodTypeR-R%(((RR+ustInstanceProxyFactorycBs,tZdZed„Zd„Zd„ZRS(sM Factory for producing InstanceProxy-wrapped objects
        of a class.
    cCs||_||_dS(N(R
RR(RR
R((RR‘s	cOstt|i||ƒ|iƒS(sH Return a new (wrapped) object. Pass-objects are not supported.
        N(RRRR
RRR(RRR((RR–scCsdt|iƒS(Ns<InstanceProxyFactory for %s>(RRR
(R((RRœs(RR	RRRRR(((RR0Œs	tReadonlyInstanceProxycBs)tZdZeeed„Zd„ZRS(sR Proxy that wraps Python instances transparently in a read-only
        way.

    cCsJ|i}||||ƒ}|i|d<|i	i
d|i	i|d<dS(sW The interface is the same as that of the underlying C
            Proxy type.
        RRRN(RRRRRRR R!RR"R	R(RRRR RR!R((RRŚs
	
cCs
td‚dS(Nswrite access denied(tAccessError(RR$R&((RR'łs(RR	RRRRR'(((RR1 s
t_LinkcBs)tZdZd„Zd„Zd„ZRS(sť Proxy that links to an instance attribute in another object.

        XXX Should convert special lookups like __len__ to
            PyObject_* calls (for non-instance attributes).

    cCs!|i}||d<||d<dS(sW The interface is the same as that of the underlying C
            Proxy type.
        tproxy_objecttproxy_attrnameN(RRRRtattrname(RRR6R((RRÂs	
cCstt|i|iƒ|ƒS(N(tgetattrRR4R5R$(RR$((RR%ËscCs#tt|i|iƒ||ƒdS(N(tsetattrR7RR4R5R$R&(RR$R&((RR'Îs(RR	RRR%R'(((RR3şs			(RR.tmxProxyt__version__tfinalizeweakrefst	NameErrorRt_finitmx.ToolstfreezeRRR(R+tMethodCachingProxyR0R1R3(
R1R(R+RR0R3R?R.RR@R:RR=((Rt?s2	

%





Anon7 - 2021