Sha256: 739f63eefe8669d049f10f1c98f6bd46373a1a7804d05e7fc3cd5f33bb003e7d
Contents?: true
Size: 1.93 KB
Versions: 5
Compression:
Stored size: 1.93 KB
Contents
ó ˆNXc @ sª d Z d e f d „ ƒ YZ d d g Z d „ Z i Z Z d „ Z x6 e d ƒ e e e e e e e f D] Z e e e <qi Wd „ Z e e e <d „ Z e e e <[ d S( sø A clone of the default copy.deepcopy that doesn't handle cyclic structures or complex types except for dicts and lists. This is because gyp copies so large structure that small copy overhead ends up taking seconds in a project the size of Chromium.t Errorc B s e Z RS( ( t __name__t __module__( ( ( s0 ext/snowcrash/tools/gyp/pylib/gyp/simple_copy.pyR s t deepcopyc C sJ y t t | ƒ | ƒ SWn+ t k rE t d d t | ƒ ƒ ‚ n Xd S( sŽ Deep copy operation on gyp objects such as strings, ints, dicts and lists. More than twice as fast as copy.deepcopy but much less generic.s4 Unsupported type %s for deepcopy. Use copy.deepcopy s or expand simple_copy support.N( t _deepcopy_dispatcht typet KeyErrorR ( t x( ( s0 ext/snowcrash/tools/gyp/pylib/gyp/simple_copy.pyR s c C s | S( N( ( R ( ( s0 ext/snowcrash/tools/gyp/pylib/gyp/simple_copy.pyt _deepcopy_atomic s c C s g | D] } t | ƒ ^ q S( N( R ( R t a( ( s0 ext/snowcrash/tools/gyp/pylib/gyp/simple_copy.pyt _deepcopy_list# s c C s= i } x0 | j ƒ D]"