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ddejddddddejdddddejZejrse|nPej rejn9ddlZx*ejD]ZezeZejeqWdS)aCreate portable serialized representations of Python objects. See module copyreg for a mechanism for registering custom picklers. See module pickletools source for extensive comments. Classes: Pickler Unpickler Functions: dump(object, file) dumps(object) -> string load(file) -> object loads(string) -> object Misc variables: __version__ format_version compatible_formats ) FunctionType)dispatch_table)_extension_registry_inverted_registry_extension_cache)isliceN)maxsize)packunpack PickleError PicklingErrorUnpicklingErrorPickler Unpicklerdumpdumpsloadloadsz4.0z1.0z1.1z1.2z1.3z2.0z3.0c@seZdZdZdS)r z6A common base class for the other pickling exceptions.N)__name__ __module__ __qualname____doc__rr%/opt/python35/lib/python3.5/pickle.pyr ?s c@seZdZdZdS)r z]This exception is raised when an unpicklable object is passed to the dump() method. N)rrrrrrrrr Cs c@seZdZdZdS)r aThis exception is raised when there is a problem unpickling an object, such as a security violation. Note that other exceptions may also be raised during unpickling, including (but not necessarily limited to) AttributeError, EOFError, ImportError, and IndexError. N)rrrrrrrrr Js c@seZdZddZdS)_StopcCs ||_dS)N)value)selfrrrr__init__Xsz_Stop.__init__N)rrrrrrrrrWs r) PyStringMap(.012FIJKLMNPQRSTUVXabcd}eghijl]opqrst)uGsI01 sI00 ssssssssssssBCsssssssssscCs(g|]}tjd|r|qS)z[A-Z][A-Z0-9_]+$)rematch).0xrrr s rPc@sUeZdZdZddZddZddZd d d Zd d ZdS)_Framer@icCs||_d|_dS)N) file_write current_frame)rrSrrrrs z_Framer.__init__cCstj|_dS)N)ioBytesIOrT)rrrr start_framingsz_Framer.start_framingcCs;|jr7|jjdkr7|jddd|_dS)NrforceT)rTtell commit_frame)rrrr end_framingsz_Framer.end_framingFc Cs|jr|j}|j|jks-|r|jC}t|}|j}|t|td|||WdQRX|jd|j dS)Nzz&Can't get local attribute {!r} on {!r}z Can't get attribute {!r} on {!r})splitAttributeErrorformatgetattr)objnamesubpathparentrrr _getattributes    r{c Cst|dd}|dk r"|SxtttjjD]]\}}|dks8|dkr_q8y!t||d|kr|SWq8tk rYq8Xq8WdS)z$Find the module an object belong to.rN__main__r)rvlistsysmodulesitemsr{rt)rwrx module_namemodulerrr whichmodules "  rcCs|dkrdS|jd?d}|j|dddd}|dkr|dkr|d d kr|dd @dkr|d d}|S)aEncode a long to a two's complement little-endian binary string. Note that 0 is a special case, returning an empty string, to save a byte in the LONG1 pickling context. >>> encode_long(0) b'' >>> encode_long(255) b'\xff\x00' >>> encode_long(32767) b'\xff\x7f' >>> encode_long(-256) b'\x00\xff' >>> encode_long(-32768) b'\x00\x80' >>> encode_long(-128) b'\x80' >>> encode_long(127) b'\x7f' >>> rrorrk byteorderlittlesignedTNrlrl) bit_lengthto_bytes)rOnbytesresultrrr encode_long#s $rcCstj|ddddS)a\Decode a long from a two's complement little-endian binary string. >>> decode_long(b'') 0 >>> decode_long(b"\xff\x00") 255 >>> decode_long(b"\xff\x7f") 32767 >>> decode_long(b"\x00\xff") -256 >>> decode_long(b"\x00\x80") -32768 >>> decode_long(b"\x80") -128 >>> decode_long(b"\x7f") 127 rrrT)int from_bytes)rcrrr decode_longAsrc@seZdZdddddZddZdd Zd d Zd d ZddZdddZ ddZ ddZ ddddddZ iZ ddZee edtknsStdty|j|_Wntk rtdYnXt|j|_|jj|_i|_ t ||_ |dk|_ d|_ |o|dk|_dS)aThis takes a binary file for writing a pickle data stream. The optional *protocol* argument tells the pickler to use the given protocol; supported protocols are 0, 1, 2, 3 and 4. The default protocol is 3; a backward-incompatible protocol designed for Python 3. Specifying a negative protocol version selects the highest protocol version supported. The higher the protocol used, the more recent the version of Python needed to read the pickle produced. The *file* argument must have a write() method that accepts a single bytes argument. It can thus be a file object opened for binary writing, an io.BytesIO instance, or any other custom object that meets this interface. If *fix_imports* is True and *protocol* is less than 3, pickle will try to map the new Python 3 names to the old module names used in Python 2, so that the pickle data stream is readable with Python 2. Nrzpickle protocol must be <= %dz"file must have a 'write' attributerkr)DEFAULT_PROTOCOLHIGHEST_PROTOCOL ValueErrorre _file_writert TypeErrorrQframermemorprotobinfastr)rfileprotocolrrrrrZs"      z_Pickler.__init__cCs|jjdS)aClears the pickler's "memo". The memo is the data structure that remembers which objects the pickler has already seen, so that shared or recursive objects are pickled by reference and not by value. This method is useful when re-using picklers. N)rclear)rrrr clear_memosz_Pickler.clear_memocCst|ds(td|jjf|jdkrT|jttd|j|jdkrp|jj |j ||jt |jj dS)z7Write a pickled representation of obj to the open file.rz2Pickler.__init__() was not called by %s.__init__()rzdrs )rreBINFLOATr FLOATrr)rrwrrr save_floats z_Pickler.save_floatcCs|jdkrZ|s.|jtfd|n(|jtjt|ddfd|dSt|}|dkr|jtt d||nZ|dkr|jdkr|jt t d||n|jt t d |||j |dS) Nrrwlatin1rzd?Z5e5ee6ddr@rr)rrrr>r@rrrrs      z_Unpickler.__init__cCst|ds(td|jjft|j|j|_|jj|_|jj |_ t |_ g|_ |j j |_ d|_|j}|j}y5x.|d}|st||d|qWWn,tk r}z |jSWYdd}~XnXdS)zRead a pickled object representation from the open file. Return the reconstituted object hierarchy specified in the file. rCz4Unpickler.__init__() was not called by %s.__init__()rrkN)rr rrrfrCrB _unframerrjrnobjectmarkstackappendrrEOFErrorrr)rrjrkeystopinstrrrrs(      z_Unpickler.loadcCsG|j}|j}t|d}x|||k rB|d}q%W|S)Nrk)rGrFr^)rrGrFrrrrmarkers   z_Unpickler.markercCstddS)Nz%unsupported persistent id encountered)r )rrrrrpersistent_load&sz_Unpickler.persistent_loadcCsL|jdd}d|ko*tkns?td|||_dS)Nrkrzunsupported pickle protocol: %d)rjrrr)rrrrr load_proto+sz_Unpickler.load_protorcCsNtd|jd\}|tjkr:td||jj|dS)Nz sys.maxsize: %d)r rjr~rrrDrq)rrprrrrq2sz_Unpickler.load_framec Cs^y#|jddjd}Wntk rCtdYnX|j|j|dS)Nrkrz2persistent IDs in protocol 0 must be ASCII stringsrl)rndecodeUnicodeDecodeErrorr rHrM)rrrrr load_persid9s # z_Unpickler.load_persidcCs)|jj}|j|j|dS)N)rGpoprHrM)rrrrrload_binpersidBsz_Unpickler.load_binpersidcCs|jddS)N)rH)rrrr load_noneGsz_Unpickler.load_nonecCs|jddS)NF)rH)rrrr load_falseKsz_Unpickler.load_falsecCs|jddS)NT)rH)rrrr load_trueOsz_Unpickler.load_truecCsj|j}|tddkr+d}n.|tddkrJd}nt|d}|j|dS)NrkFTr)rnrrrrH)rrcvalrrrload_intSs   z_Unpickler.load_intcCs'|jtd|jdddS)NzdrOr)rHr rj)rrrr load_binfloatsz_Unpickler.load_binfloatcCs-|jdkr|S|j|j|jSdS)Nr)r>rPr@)rrrrr_decode_stringsz_Unpickler._decode_stringcCs|jdd}t|dkr_|d|dkr_|ddkr_|dd}n td|j|jtj|ddS) Nrkrrs"'z)the STRING opcode argument must be quotedrlrlrl)rnr^r rHrcr escape_decode)rrcrrr load_strings 6 z_Unpickler.load_stringcCs\td|jd\}|dkr3td|j|}|j|j|dS)Nzs z(_Unpickler.load_dict..rr)rLrGranger^)rrdr)rr load_dicts  z_Unpickler.load_dictcCst|j|dd}|j|d=|sRt|t sRt|dry||}Wqtk r}z1td|jt|ftj dWYdd}~XqXn|j |}|j |dS)Nrk__getinitargs__zin constructor for %s: %sr) rrGrrrrrrr~exc_inforrH)rklassrrrerrrrr _instantiates<z_Unpickler._instantiatecCsj|jddjd}|jddjd}|j||}|j||jdS)Nrkrrlrl)rnrP find_classrrL)rrrxrrrr load_instsz_Unpickler.load_instcCs6|j}|jj|d}|j||dS)Nrk)rLrGrSr)rrrrrrload_obj%s z_Unpickler.load_objcCsA|jj}|jj}|j||}|j|dS)N)rGrSrrH)rrrrwrrr load_newobj,sz_Unpickler.load_newobjcCsS|jj}|jj}|jj}|j|||}|j|dS)N)rGrSrrH)rrrrrwrrrload_newobj_ex3s z_Unpickler.load_newobj_excCsa|jddjd}|jddjd}|j||}|j|dS)Nrkzutf-8rlrl)rnrPrrH)rrrxrrrr load_global;sz_Unpickler.load_globalcCsk|jj}|jj}t|tk sBt|tk rNtd|j|j||dS)NzSTACK_GLOBAL requires str)rGrSrrr rHr)rrxrrrrload_stack_globalBs $ z_Unpickler.load_stack_globalcCs$|jdd}|j|dS)Nrkr)rj get_extension)rr4rrr load_ext1Jsz_Unpickler.load_ext1cCs,td|jd\}|j|dS)Nzr?r@rAcCs"t|d|d|d|jS)Nrr>r@)r=r)rrr>r@rrr_loadsrcCsLt|trtdtj|}t|d|d|d|jS)Nz%Can't load pickle from unicode stringrr>r@)rrrrUrVr=r)srr>r@rrrr_loadss  r) r r r rrrrrrcCsddl}|jS)Nr)doctesttestmod)rrrr_test3s rr| descriptionz$display contents of the pickle files pickle_filerbrnargs*helpzthe pickle filez-tz--testaction store_truezrun self-test suitez-vz)run verbosely; only affects self-test run)rtypesrcopyregrrrr itertoolsrr~rstructr r rLrUrr0__all__r bytearray bytes_typesformat_versioncompatible_formatsrr Exceptionr r r rZorg.python.corer r(rrrr rrrrrrrrrrrrrrrrrrr/rrrrrrrrr rrrrrrrrrrrrrr*r+r,rrrrrrrr rrrrrrrr$rr.rr_rdirrQrfr{rrrrr=rrrr_picklerrrrrrrrargparseArgumentParserparser add_argumentFileType parse_argsrZtestr print_helppprintrbrwrrrrs"           $*   };D #