config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/copy.pyo

³ò
h”Rc@s]dZddkZddklZdefd„ƒYZeZyddklZWne	j
o
dZnXdddgZd	„ZhZ
Zd
„ZxNedƒeeeeeeeeeeieieif
D]Zeee<qÖWx;dD]3ZeeedƒZedj	oeee<qñqñWd„Zx!e e!e"fD]Zeee<qAWd„Z#edj	oe#ee<nd„Z$e$eei%<[dgd„Z&hZ'Zd„Z(e(eedƒ<e(ee<e(ee<e(ee<e(ee<ye(ee)<Wne*j
onXe(ee<ye(ee+<Wne*j
onXye(eei,<Wne-j
onXe(ee<e(ee<e(eei<e(eei<e(eei<d„Z.e.ee <d„Z/e/ee<d„Z0e0ee!<edj	oe0ee<nd„Z1d„Z2e2eei%<dd„Z3[[ddd„ƒYZ4d„Z5e6djoe5ƒndS(sÍGeneric (shallow and deep) copying operations.

Interface summary:

        import copy

        x = copy.copy(y)        # make a shallow copy of y
        x = copy.deepcopy(y)    # make a deep copy of y

For module specific errors, copy.Error is raised.

The difference between shallow and deep copying is only relevant for
compound objects (objects that contain other objects, like lists or
class instances).

- A shallow copy constructs a new compound object and then (to the
  extent possible) inserts *the same objects* into it that the
  original contains.

- A deep copy constructs a new compound object and then, recursively,
  inserts *copies* into it of the objects found in the original.

Two problems often exist with deep copy operations that don't exist
with shallow copy operations:

 a) recursive objects (compound objects that, directly or indirectly,
    contain a reference to themselves) may cause a recursive loop

 b) because deep copy copies *everything* it may copy too much, e.g.
    administrative data structures that should be shared even between
    copies

Python's deep copy operation avoids these problems by:

 a) keeping a table of objects already copied during the current
    copying pass

 b) letting user-defined classes override the copying operation or the
    set of components copied

This version does not copy types like module, class, function, method,
nor stack trace, stack frame, nor file, socket, window, nor array, nor
any similar types.

Classes can use the same interfaces to control copying that they use
to control pickling: they can define methods called __getinitargs__(),
__getstate__() and __setstate__().  See the documentation for module
"pickle" for information on these methods.
iÿÿÿÿN(tdispatch_tabletErrorcBseZRS((t__name__t
__module__(((s /usr/local/lib/python2.5/copy.pyR6s(tPyStringMaptcopytdeepcopycCsìt|ƒ}ti|ƒ}|o||ƒSnt|ddƒ}|o||ƒSnti|ƒ}|o||ƒ}n`t|ddƒ}|o|dƒ}n7t|ddƒ}|o
|ƒ}ntd|ƒ‚t||dƒS(slShallow copy operation on arbitrary Python objects.

    See the module's __doc__ string for more info.
    t__copy__t
__reduce_ex__it
__reduce__s%un(shallow)copyable object of type %siN(ttypet_copy_dispatchtgettgetattrtNoneRRt_reconstruct(txtclstcopiertreductortrv((s /usr/local/lib/python2.5/copy.pyRAs$
cCs|S(N((R((s /usr/local/lib/python2.5/copy.pyt_copy_immutabledstComplexTypetUnicodeTypetCodeTypecCst|ƒ|ƒS(N(R
(R((s /usr/local/lib/python2.5/copy.pyt_copy_with_constructorpscCs
|iƒS(N(R(R((s /usr/local/lib/python2.5/copy.pyt_copy_with_copy_methoduscCsÀt|dƒo|iƒSnt|dƒo|iƒ}|i|Œ}ntƒ}|i|_t|dƒo|iƒ}n
|i}t|dƒo|i|ƒn|ii|ƒ|S(NRt__getinitargs__t__getstate__t__setstate__(	thasattrRRt	__class__t_EmptyClassRt__dict__Rtupdate(Rtargstytstate((s /usr/local/lib/python2.5/copy.pyt
_copy_instzs		c
Cs¦|djo
h}nt|ƒ}|i||ƒ}||j	o|Snt|ƒ}ti|ƒ}|o|||ƒ}n
yt|tƒ}Wntj
o
d}nX|ot||ƒ}nÄt|ddƒ}|o||ƒ}n›t	i|ƒ}|o||ƒ}	n`t|ddƒ}|o|dƒ}	n7t|ddƒ}|o
|ƒ}	nt
d|ƒ‚t||	d|ƒ}|||<t||ƒ|S(	siDeep copy operation on arbitrary Python objects.

    See the module's __doc__ string for more info.
    it__deepcopy__RiR	s"un(deep)copyable object of type %siN(
RtidRR
t_deepcopy_dispatcht
issubclasst	TypeErrort_deepcopy_atomicR
RRRt_keep_alive(
Rtmemot_niltdR$RRtisscRR((s /usr/local/lib/python2.5/copy.pyRsD






cCs|S(N((RR.((s /usr/local/lib/python2.5/copy.pyR,ÅscCsAg}||t|ƒ<x$|D]}|it||ƒƒqW|S(N(R(tappendR(RR.R$ta((s /usr/local/lib/python2.5/copy.pyt_deepcopy_listßsc
Cs²g}x$|D]}|it||ƒƒq
Wt|ƒ}y||SWntj
onXxFtt|ƒƒD],}||||j	ot|ƒ}PqnqnW|}|||<|S(N(R2RR(tKeyErrortrangetlenttuple(RR.R$R3R0ti((s /usr/local/lib/python2.5/copy.pyt_deepcopy_tupleçs"	
cCsSh}||t|ƒ<x6|iƒD](\}}t||ƒ|t||ƒ<q#W|S(N(R(t	iteritemsR(RR.R$tkeytvalue((s /usr/local/lib/python2.5/copy.pyt_deepcopy_dictús
 cCsHy|t|ƒi|ƒWn&tj
o|g|t|ƒ<nXdS(sMKeeps a reference to the object x in the memo.

    Because we remember objects by their id, we have
    to assure that possibly temporary objects are kept
    alive by referencing them.
    We store a reference at the id of the memo, which should
    normally not be used unless someone tries to deepcopy
    the memo itself...
    N(R(R2R5(RR.((s /usr/local/lib/python2.5/copy.pyR-s
cCsñt|dƒo|i|ƒSnt|dƒo.|iƒ}t||ƒ}|i|Œ}ntƒ}|i|_||t|ƒ<t|dƒo|iƒ}n
|i}t||ƒ}t|dƒo|i	|ƒn|ii
|ƒ|S(NR'RRR(RR'RRRR R(RR!RR"(RR.R#R$R%((s /usr/local/lib/python2.5/copy.pyt_deepcopy_insts"		c
Csjt|tƒo|Sn|djo
h}nt|ƒ}|d \}}|djo|d}nh}|djo|d}nd}|djo|d}	nd}	|ot||ƒ}n||Œ}
|
|t|ƒ<|dj	o<x9|D]-}|ot||ƒ}n|
i|ƒqøWn|	dj	oNxK|	D]?\}}
|o"t||ƒ}t|
|ƒ}
n|
|
|<qAWn|o×|ot||ƒ}nt|
dƒo|
i|ƒqft|t	ƒo#t|ƒdjo|\}}nd}|dj	o|
i
i|ƒn|dj	o1x.|iƒD]\}}
t
|
||
ƒq>Wqfn|
S(NiiiR(t
isinstancetstrRR7RR(R2RRR8R!R"R;tsetattr(RtinfotdeepR.tntcallableR#R%tlistitertdictiterR$titemR<R=t	slotstate((s /usr/local/lib/python2.5/copy.pyR+s^






#


R cBseZRS((RR(((s /usr/local/lib/python2.5/copy.pyR escCsÏdddddd
ddghdd<dghg}t|ƒ}||jGHtt|ƒ}||jGHt|ƒ}||jGHddd„ƒY}|d	ƒ}|i|ƒt|ƒ}||jGH|GH|GHt|ƒ}||jGH|GH|GH|ih||d<|d
d<ƒt|ƒ}ddk}t|i|ƒGHt|i|ƒGHt|i|ƒGHt|i|ƒGHt|ƒ}ddk}t|i|ƒGHt|i|ƒGHt|i|ƒGHt|i|ƒGHdS(Nilg…ëQ¸	@txyzzytabctABCtCcBs2eZdd„Zd„Zd„Zdd„ZRS(cSsbd|_||_tdjoddk}|id}nt}t|ƒ|_|iiƒdS(Nit__main__iÿÿÿÿi(	R3targRtsystargvt__file__topentfptclose(tselfRPRQtfile((s /usr/local/lib/python2.5/copy.pyt__init__rs		
cSsh|id<|id<S(NR3RP(R3RP(RW((s /usr/local/lib/python2.5/copy.pyR|scSs1x*|iƒD]\}}t|||ƒq
WdS(N(R;RB(RWR%R<R=((s /usr/local/lib/python2.5/copy.pyR~s
cSs+|it|i|ƒƒ}|i|_|S(N(RRRPR3(RWR.tnew((s /usr/local/lib/python2.5/copy.pyR'sN(RRRRYRRR'(((s /usr/local/lib/python2.5/copy.pyRNqs
		sargument sketchitxyziÿÿÿÿ(il(((RRtmapRR2trepr(tltl1RNtctl2tl3R]((s /usr/local/lib/python2.5/copy.pyt_tesths@
'RO(sComplexTypesUnicodeTypesCodeType((7t__doc__ttypestcopy_regRt	ExceptionRterrortorg.python.coreRtImportErrorRt__all__RRR0RR
tinttlongtfloattboolRAR8t	frozensettxranget	ClassTypetBuiltinFunctionTypetFunctionTypetttnameR
RtlisttdicttsetRR&tInstanceTypeRR)R,tcomplext	NameErrortunicodeRtAttributeErrorR4R:R>R-R?RR RcR(((s /usr/local/lib/python2.5/copy.pys<module>1sš	!
	

		
	
3
	









	
	
	

		
5	5


Man Man