/snap/core18/2999/usr/lib/python3.6/__pycache__
NameSizeModeActions
abc.cpython-36.pyc75150644editdlrm
aifc.cpython-36.pyc259430644editdlrm
antigravity.cpython-36.pyc7790644editdlrm
argparse.cpython-36.pyc604560644editdlrm
ast.cpython-36.pyc117040644editdlrm
asynchat.cpython-36.pyc68150644editdlrm
asyncore.cpython-36.pyc158380644editdlrm
base64.cpython-36.pyc170590644editdlrm
bdb.cpython-36.pyc170330644editdlrm
binhex.cpython-36.pyc120860644editdlrm
bisect.cpython-36.pyc26760644editdlrm
bz2.cpython-36.pyc112820644editdlrm
calendar.cpython-36.pyc258820644editdlrm
cgi.cpython-36.pyc284160644editdlrm
cgitb.cpython-36.pyc100800644editdlrm
chunk.cpython-36.pyc49000644editdlrm
cmd.cpython-36.pyc125750644editdlrm
code.cpython-36.pyc98360644editdlrm
codecs.cpython-36.pyc339000644editdlrm
codeop.cpython-36.pyc62700644editdlrm
colorsys.cpython-36.pyc33110644editdlrm
compileall.cpython-36.pyc82780644editdlrm
configparser.cpython-36.pyc452440644editdlrm
contextlib.cpython-36.pyc111580644editdlrm
copy.cpython-36.pyc70790644editdlrm
copyreg.cpython-36.pyc42440644editdlrm
cProfile.cpython-36.pyc42940644editdlrm
crypt.cpython-36.pyc22420644editdlrm
csv.cpython-36.pyc118550644editdlrm
datetime.cpython-36.pyc545110644editdlrm
decimal.cpython-36.pyc3510644editdlrm
difflib.cpython-36.pyc596420644editdlrm
dis.cpython-36.pyc141810644editdlrm
doctest.cpython-36.pyc755890644editdlrm
dummy_threading.cpython-36.pyc11020644editdlrm
enum.cpython-36.pyc234530644editdlrm
filecmp.cpython-36.pyc83050644editdlrm
fileinput.cpython-36.pyc131520644editdlrm
fnmatch.cpython-36.pyc28740644editdlrm
formatter.cpython-36.pyc175790644editdlrm
fractions.cpython-36.pyc184260644editdlrm
ftplib.cpython-36.pyc283570644editdlrm
functools.cpython-36.pyc240620644editdlrm
genericpath.cpython-36.pyc37260644editdlrm
getopt.cpython-36.pyc62170644editdlrm
getpass.cpython-36.pyc41770644editdlrm
gettext.cpython-36.pyc143060644editdlrm
glob.cpython-36.pyc42590644editdlrm
gzip.cpython-36.pyc162260644editdlrm
hashlib.cpython-36.pyc66920644editdlrm
heapq.cpython-36.pyc142920644editdlrm
hmac.cpython-36.pyc48360644editdlrm
imaplib.cpython-36.pyc421380644editdlrm
imghdr.cpython-36.pyc41500644editdlrm
imp.cpython-36.pyc96960644editdlrm
inspect.cpython-36.pyc797390644editdlrm
io.cpython-36.pyc33870644editdlrm
ipaddress.cpython-36.pyc623860644editdlrm
keyword.cpython-36.pyc17650644editdlrm
linecache.cpython-36.pyc37780644editdlrm
locale.cpython-36.pyc340300644editdlrm
lzma.cpython-36.pyc119920644editdlrm
macpath.cpython-36.pyc56410644editdlrm
macurl2path.cpython-36.pyc18670644editdlrm
mailbox.cpython-36.pyc637520644editdlrm
mailcap.cpython-36.pyc72090644editdlrm
mimetypes.cpython-36.pyc155530644editdlrm
modulefinder.cpython-36.pyc153660644editdlrm
netrc.cpython-36.pyc38360644editdlrm
nntplib.cpython-36.pyc337800644editdlrm
ntpath.cpython-36.pyc131900644editdlrm
nturl2path.cpython-36.pyc14990644editdlrm
numbers.cpython-36.pyc121420644editdlrm
opcode.cpython-36.pyc54130644editdlrm
operator.cpython-36.pyc139130644editdlrm
optparse.cpython-36.pyc480540644editdlrm
os.cpython-36.pyc296280644editdlrm
pathlib.cpython-36.pyc420070644editdlrm
pdb.cpython-36.pyc460940644editdlrm
pickle.cpython-36.pyc426910644editdlrm
pickletools.cpython-36.pyc660200644editdlrm
pipes.cpython-36.pyc78080644editdlrm
pkgutil.cpython-36.pyc162610644editdlrm
platform.cpython-36.pyc291970644editdlrm
plistlib.cpython-36.pyc280550644editdlrm
poplib.cpython-36.pyc133290644editdlrm
posixpath.cpython-36.pyc104560644editdlrm
pprint.cpython-36.pyc158240644editdlrm
profile.cpython-36.pyc139010644editdlrm
pstats.cpython-36.pyc218570644editdlrm
pty.cpython-36.pyc38610644editdlrm
pyclbr.cpython-36.pyc83650644editdlrm
pydoc.cpython-36.pyc837750644editdlrm
py_compile.cpython-36.pyc65440644editdlrm
queue.cpython-36.pyc87550644editdlrm
quopri.cpython-36.pyc57730644editdlrm
random.cpython-36.pyc193300644editdlrm
re.cpython-36.pyc140580644editdlrm
reprlib.cpython-36.pyc54000644editdlrm
rlcompleter.cpython-36.pyc57800644editdlrm
runpy.cpython-36.pyc79820644editdlrm
sched.cpython-36.pyc65640644editdlrm
secrets.cpython-36.pyc21620644editdlrm
selectors.cpython-36.pyc176970644editdlrm
shelve.cpython-36.pyc94580644editdlrm
shlex.cpython-36.pyc69700644editdlrm
shutil.cpython-36.pyc307040644editdlrm
signal.cpython-36.pyc25150644editdlrm
site.cpython-36.pyc165600644editdlrm
sitecustomize.cpython-36.pyc2120644editdlrm
smtpd.cpython-36.pyc266830644editdlrm
smtplib.cpython-36.pyc353400644editdlrm
sndhdr.cpython-36.pyc69130644editdlrm
socket.cpython-36.pyc220130644editdlrm
socketserver.cpython-36.pyc242500644editdlrm
sre_compile.cpython-36.pyc102780644editdlrm
sre_constants.cpython-36.pyc59720644editdlrm
sre_parse.cpython-36.pyc203580644editdlrm
ssl.cpython-36.pyc369390644editdlrm
stat.cpython-36.pyc38510644editdlrm
statistics.cpython-36.pyc181740644editdlrm
string.cpython-36.pyc79640644editdlrm
stringprep.cpython-36.pyc100300644editdlrm
struct.cpython-36.pyc3120644editdlrm
subprocess.cpython-36.pyc354850644editdlrm
sunau.cpython-36.pyc169380644editdlrm
symbol.cpython-36.pyc25170644editdlrm
symtable.cpython-36.pyc104280644editdlrm
sysconfig.cpython-36.pyc159160644editdlrm
tabnanny.cpython-36.pyc69750644editdlrm
tarfile.cpython-36.pyc630850644editdlrm
telnetlib.cpython-36.pyc180970644editdlrm
tempfile.cpython-36.pyc253090644editdlrm
textwrap.cpython-36.pyc136840644editdlrm
this.cpython-36.pyc12650644editdlrm
threading.cpython-36.pyc372340644editdlrm
timeit.cpython-36.pyc116030644editdlrm
token.cpython-36.pyc33200644editdlrm
tokenize.cpython-36.pyc186470644editdlrm
trace.cpython-36.pyc194950644editdlrm
traceback.cpython-36.pyc196460644editdlrm
tracemalloc.cpython-36.pyc172290644editdlrm
tty.cpython-36.pyc10720644editdlrm
turtle.cpython-36.pyc1317510644editdlrm
types.cpython-36.pyc82010644editdlrm
typing.cpython-36.pyc733060644editdlrm
uu.cpython-36.pyc34980644editdlrm
uuid.cpython-36.pyc209180644editdlrm
warnings.cpython-36.pyc132580644editdlrm
wave.cpython-36.pyc178850644editdlrm
weakref.cpython-36.pyc191430644editdlrm
webbrowser.cpython-36.pyc157970644editdlrm
xdrlib.cpython-36.pyc83020644editdlrm
zipapp.cpython-36.pyc55340644editdlrm
zipfile.cpython-36.pyc497280644editdlrm
_bootlocale.cpython-36.pyc9800644editdlrm
_collections_abc.cpython-36.pyc287970644editdlrm
_compat_pickle.cpython-36.pyc65660644editdlrm
_compression.cpython-36.pyc41040644editdlrm
_dummy_thread.cpython-36.pyc48510644editdlrm
_markupbase.cpython-36.pyc79910644editdlrm
_osx_support.cpython-36.pyc96840644editdlrm
_pydecimal.cpython-36.pyc1634020644editdlrm
_pyio.cpython-36.pyc713860644editdlrm
_sitebuiltins.cpython-36.pyc34350644editdlrm
_strptime.cpython-36.pyc159630644editdlrm
_sysconfigdata_m_linux_x86_64-linux-gnu.cpython-36.pyc187790644editdlrm
_threading_local.cpython-36.pyc64250644editdlrm
_weakrefset.cpython-36.pyc78280644editdlrm
__future__.cpython-36.pyc41670644editdlrm
__phello__.foo.cpython-36.pyc1190644editdlrm
Edit: /snap/core18/2999/usr/lib/python3.6/__pycache__/pickle.cpython-36.pyc (42691B)
3 Nqi@sdZddlmZddlmZddlmZmZmZddlm Z ddl m Z ddl Z ddl m Z dd lmZmZddlZddlZddlZddlZd d d d dddddg ZeefZdZdddddddgZdZdZGdd d eZGdd d eZGdd d eZ Gdd d eZ!ydd!l"m#Z#Wne$k r2dZ#YnXd"Z%d#Z&d$Z'd%Z(d&Z)d'Z*d(Z+d)Z,d*Z-d+Z.d,Z/d-Z0d.Z1d/Z2d0Z3d1Z4d2Z5d3Z6d4Z7d5Z8d6Z9d7Z:d8Z;d9ZdZAd?ZBd@ZCdAZDdBZEdCZFdDZGdEZHdFZIdGZJdHZKdIZLdJZMdKZNdLZOdMZPdNZQdOZRdPZSdQZTdRZUdSZVdTZWdUZXdVZYdWZZdXZ[eKeUeVeWgZ\dYZ]dZZ^d[Z_d\Z`d]Zad^Zbd_Zcd`ZddaZedbZfdcZgddZhejidedfejDGdgdhdhZkGdidjdjZldkdlZmdmdnZndodpZodqdrZpGdsdtdtZqGdudvdvZrddwdxdydzZsddwdxd{d|Ztdwd}d~dddZudwd}d~dddZvy0ddlwmZmZm Z mxZxmyZymzZzm{Z{m|Z|m}Z}Wn4e$k rbeqerZxZyeseteuevf\ZzZ{Z|Z}YnXddZ~edkrddlZejddZejdejddddejdddddejddddejZejre~n>ejsejn,ddlZx"ejD]Ze|eZejeqWdS)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)islice)partialN)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/usr/lib/python3.6/pickle.pyr @sc@seZdZdZdS)r z]This exception is raised when an unpicklable object is passed to the dump() method. N)rrrrrrrrr Dsc@seZdZdZdS)raThis 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)rrrrrrrrrKsc@seZdZddZdS)_StopcCs ||_dS)N)value)selfrrrr__init__Ysz_Stop.__init__N)rrrr rrrrrXsr) PyStringMap(.012FIJKLMNPQRSTUVXabcd}eghijl]opqrst)uGsI01 sI00 BCcCsg|]}tjd|r|qS)z[A-Z][A-Z0-9_]+$)rematch).0xrrr srgc@s:eZdZdZddZddZddZdd d Zd d ZdS)_Framer@icCs||_d|_dS)N) file_write current_frame)rrjrrrr sz_Framer.__init__cCstj|_dS)N)ioBytesIOrk)rrrr start_framingsz_Framer.start_framingcCs*|jr&|jjdkr&|jddd|_dS)NrT)force)rktell commit_frame)rrrr end_framings z_Framer.end_framingFc Cst|jrp|j}|j|jks|rp|j2}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)objnameZsubpathparentrrr _getattributes rc Cszt|dd}|dk r|Sx\ttjjD]J\}}|dks(|dkrBq(yt||d|krZ|SWq(tk rpYq(Xq(WdS)z$Find the module an object belong to.rN__main__r)rlistsysmodulesitemsrr)rr module_namemodulerrr whichmodules  rcCsh|dkr dS|jd?d}|j|ddd}|dkrd|dkrd|d dkrd|d d @dkrd|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' >>> rrrrlittleT) byteordersignedNrr) bit_lengthto_bytes)rfnbytesresultrrr encode_long$s rcCstj|dddS)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 rT)rr)int from_bytes)rzrrr decode_longBsrc@sheZdZd7ddddZddZdd Zd d Zd d ZddZd8ddZ ddZ ddZ d9ddZ iZ ddZee ed<ddZee e<ddZee e<ddZee e<d d!Zee e<d"d#Zee e<d$d%Zee e<d&d'Zee e<d(Zd)d*Zd+d,Z e e e!<e"dk re e e"<d-d.Z#d/d0Z$e$e e%<d1d2Z&e&e e'<d:d3d4Z(d5d6Z)e(e e*<e)e e<dS);_PicklerNT) fix_importsc Cs|dkr t}|dkrt}n$d|ko,tkns>tdty |j|_Wntk rftdYnXt|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' attributerr)DEFAULT_PROTOCOLHIGHEST_PROTOCOL ValueErrorr| _file_writer TypeErrorrhframermemorprotobinfastr)rfileprotocolrrrrr [s"      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_memocCsrt|dstd|jjf|jdkr<|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__()rzy |jtt|jddWntk r\tdYnXdS)NF)rrrz2persistent IDs in protocol 0 must be ASCII strings) rrr| BINPERSIDPERSIDrrUnicodeEncodeErrorr )rrrrrrs  z_Pickler.save_persc Cst|tstdt|s"td|j}|j}t|dd} |jdkr| dkr|\} }} t| dsntdj | |dk r| |j k rtd j | |jd kr|| |||| |t n,t | j | f|| }|||f|tn|jdko| d kr\|d } t| dstd |dk r6| |j k r6td|dd}|| |||tn|||||t|dk rt||jkr|t|j|jt|d n |j||dk r|j||dk r|j||dk r|||tdS)Nz'args from save_reduce() must be a tuplez(func from save_reduce() must be callablerr __newobj_ex____new__z#args[0] from {} args has no __new__z(args[0] from {} args has the wrong classr __newobj__rz+args[0] from __newobj__ args has no __new__z0args[0] from __newobj__ args has the wrong classr)rrr callablerr|rrrrr NEWOBJ_EXrrREDUCENEWOBJrrPOPrr_batch_appends_batch_setitemsBUILD) rfuncargsstateZ listitemsZ dictitemsrrr|Z func_nameclskwargsrrrrsd           "      z_Pickler.save_reducecCs|jtdS)N)r|NONE)rrrrr save_nonesz_Pickler.save_nonecCs4|jdkr|j|rtntn|j|r*tntdS)Nr)rr|NEWTRUENEWFALSETRUEFALSE)rrrrr save_bools z_Pickler.save_boolcCs|jr~|dkrN|dkr.|jttd|dS|dkrN|jttd|dSd |ko`dknr~|jttd|dS|jd krt|}t|}|d kr|jt td||n|jt td||dS|jt t |j d d dS)Nrrzdrr)rr|BINFLOATr FLOATrr)rrrrr save_floatsz_Pickler.save_floatcCs|jdkr@|s |jtf|dn|jtjt|ddf|ddSt|}|dkrj|jtt d||nD|dkr|jdkr|jt t d||n|jt t d |||j |dS) Nr)rlatin1rzdSq>WdS)Nrr) rr|rAPPENDiterrr _BATCHSIZErurAPPENDS)rrrr|rfittmpr{rrrrs*       z_Pickler._batch_appendscCs<|jr|jtn|jtt|j||j|jdS)N)rr| EMPTY_DICTrDICTrrr)rrrrr save_dict.s   z_Pickler.save_dictc Cs|j}|j}|js@x(|D] \}}|||||tqWdSt|}xtt||j}t|}|dkr|t x |D]\}}||||qxW|t n(|r|d\}}|||||t||jkrJdSqJWdS)Nrr) rr|rSETITEMr$rrr%rurSETITEMS) rrrr|kvr'r(r{rrrr;s2     z_Pickler._batch_setitemscCs|j}|j}|jdkr0|jtt|f|ddS|t|j|t|}xXtt ||j }t |}|dkr|t x|D] }||qzW|t ||j krLdSqLWdS)Nr)rr)rr|rrsetr EMPTY_SETrr$rr%rurADDITEMS)rrrr|r'Zbatchr{itemrrrsave_setZs$     z_Pickler.save_setcCs|j}|j}|jdkr0|jtt|f|ddS|tx|D] }||q>Wt||jkr|t |j |jt|ddS|t |j |dS)Nr)rr) rr|rr frozensetrrrrrr FROZENSETr)rrrr|r3rrrsave_frozensetrs    z_Pickler.save_frozensetc Cs`|j}|j}|dkr t|dd}|dkr.|j}t||}y(t|ddtj|}t||\}}Wn,t t t fk rt d|||fYnX||k rt d|||f|j dkr$tj||f} | r$| dkst| dkr|ttd| n0| d kr|ttd | n|ttd | dS|jd d} ||kr@| }|j d krj|j||j||tn||k r|jt|| fn|j dkr|tt|ddt|ddn|jrtj} tj} ||f| kr| ||f\}}n|| kr| |}y(|tt|ddt|ddWn*tk rPt d|||j fYnX|j |dS)Nrr)levelz(Can't pickle %r: it's not found as %s.%sz2Can't pickle %r: it's not the same object as %s.%srrzd?Z7e7ee8d<d@dAZ9e9ee:d<dBdCZ;e;eed<dFdGZ?e?ee@d<dHdIZAeAeeBd<dJdKZCeCeeDd<dLdMZEeEeeFd<dNdOZGeGeeHd<dPdQZIeIeeJd<dRdSZKeKeeLd<dTdUZMeMeeNd<dVdWZOeOeePd<dXdYZQeQeeRd<dZd[ZSd\d]ZTeTeeUd<d^d_ZVeVeeWd<d`daZXeXeeYd<dbdcZZeZee[d<dddeZ\e\ee]d<dfdgZ^e^ee_d<dhdiZ`e`eead<djdkZbebeecd<dldmZdedeeed<dndoZfdpdqZgdrdsZheheeid<dtduZjejeekd<dvdwZleleemd<dxdyZneneeod<dzd{Zpepeeqd<d|d}Zrereesd<d~dZteteeud<ddZveveewd<ddZxexeeyd<ddZzezee{d<ddZ|e|ee}d<ddZ~e~eed<ddZeeed<ddZeeed<ddZeeed<ddZeeed<ddZeeed<ddZeeed<ddZeeed<dS) _UnpicklerTASCIIstrict)rencodingerrorscCs2|j|_|j|_i|_||_||_d|_||_dS)aThis takes a binary file for reading a pickle data stream. The protocol version of the pickle is detected automatically, so no proto argument is needed. The argument *file* must have two methods, a read() method that takes an integer argument, and a readline() method that requires no arguments. Both methods should return bytes. Thus *file* can be a binary file object opened for reading, an io.BytesIO object, or any other custom object that meets this interface. The file-like object must have two methods, a read() method that takes an integer argument, and a readline() method that requires no arguments. Both methods should return bytes. Thus file-like object can be a binary file object opened for reading, a BytesIO object, or any other custom object that meets this interface. Optional keyword arguments are *fix_imports*, *encoding* and *errors*, which are used to control compatibility support for pickle stream generated by Python 2. If *fix_imports* is True, pickle will try to map the old Python 2 names to the new names used in Python 3. The *encoding* and *errors* tell pickle how to decode 8-bit string instances pickled by Python 2; these default to 'ASCII' and 'strict', respectively. *encoding* can be 'bytes' to read theses 8-bit string instances as bytes objects. rN) r_file_readliner _file_readrrLrMrr)rrrrLrMrrrr sz_Unpickler.__init__cCst|dstd|jjft|j|j|_|jj|_|jj |_ g|_ g|_ |j j |_ d|_ |j}|j}y8x2|d}|s|tt|tst||d|qlWWn"tk r}z|jSd}~XnXdS)zRead a pickled object representation from the open file. Return the reconstituted object hierarchy specified in the file. rOz4Unpickler.__init__() was not called by %s.__init__()rrN)rrrrr}rOrN _unframerrr metastackstackappendrrEOFErrorr bytes_typesrrr)rrrkeyZstopinstrrrrs*    z_Unpickler.loadcCs |j}|jj|_|jj|_|S)N)rRrQpoprS)rrrrrpop_marks  z_Unpickler.pop_markcCs tddS)Nz%unsupported persistent id encountered)r)rrrrrpersistent_load%sz_Unpickler.persistent_loadcCs<|jdd}d|ko tkns2td|||_dS)Nrrzunsupported pickle protocol: %d)rrrr)rrrrr load_proto*s z_Unpickler.load_protorcCs8td|jd\}|tjkr(td||jj|dS)Nz sys.maxsize: %d)r rrr rrPr)rrrrrr1s  z_Unpickler.load_framec CsLy|jddjd}Wntk r6tdYnX|j|j|dS)Nrrz2persistent IDs in protocol 0 must be ASCII stringsr)rdecodeUnicodeDecodeErrorrrSrY)rrrrr load_persid8s  z_Unpickler.load_persidcCs|jj}|j|j|dS)N)rRrWrSrY)rrrrrload_binpersidAs z_Unpickler.load_binpersidcCs|jddS)N)rS)rrrr load_noneFsz_Unpickler.load_nonecCs|jddS)NF)rS)rrrr load_falseJsz_Unpickler.load_falsecCs|jddS)NT)rS)rrrr load_trueNsz_Unpickler.load_truecCsL|j}|tddkrd}n |tddkr4d}n t|d}|j|dS)NrFTr)rrrrrS)rrzvalrrrload_intRs z_Unpickler.load_intcCs|jtd|jdddS)Nztd|jd\}|dkr"td|j|}|jt|dS)Nzdr[r)rSr r)rrrr load_binfloatsz_Unpickler.load_binfloatcCs"|jdkr|S|j|j|jSdS)Nr )rLr\rM)rrrrr_decode_strings z_Unpickler._decode_stringcCsl|jdd}t|dkrF|d|dkrF|ddkrF|dd}ntd|j|jtj|ddS) Nrrrs"'z)the STRING opcode argument must be quotedrrr)rrurrSrnr  escape_decode)rrzrrr load_strings (z_Unpickler.load_stringcCs@td|jd\}|dkr"td|j|}|j|j|dS)Nzsz(_Unpickler.load_dict..rr)rXrangerurS)rdr)rr load_dicts z_Unpickler.load_dictcCs|st|t st|drly ||}Wqvtk rh}z&td|jt|ftjdWYdd}~XqvXn |j|}|j |dS)NZ__getinitargs__zin constructor for %s: %sr) rrrrrrrexc_inforrS)rklassrrerrrrr _instantiates  0 z_Unpickler._instantiatecCsL|jddjd}|jddjd}|j||}|j||jdS)Nrrrr)rr\ find_classrrX)rrrrrrr load_insts z_Unpickler.load_instcCs"|j}|jd}|j||dS)Nr)rXrWr)rrrrrrload_obj!s z_Unpickler.load_objcCs2|jj}|jj}|j|f|}|j|dS)N)rRrWrrS)rrrrrrr load_newobj(s  z_Unpickler.load_newobjcCs>|jj}|jj}|jj}|j|f||}|j|dS)N)rRrWrrS)rrrrrrrrload_newobj_ex/s    z_Unpickler.load_newobj_excCsF|jddjd}|jddjd}|j||}|j|dS)Nrzutf-8rr)rr\rrS)rrrrrrr load_global7s z_Unpickler.load_globalcCsJ|jj}|jj}t|tk s,t|tk r4td|j|j||dS)NzSTACK_GLOBAL requires str)rRrWrrrrSr)rrrrrrload_stack_global>s   z_Unpickler.load_stack_globalcCs|jdd}|j|dS)Nrr)r get_extension)rrCrrr load_ext1Fsz_Unpickler.load_ext1cCs td|jd\}|j|dS)NzrrrrrrrrrDUPrrrrrrrrrrrrrrrr#rr&rr,rr-rr2rrrrrrrrrrrIs$                                                                   rIT)rcCst|||dj|dS)N)r)rr)rrrrrrr_dumpsrcCs6tj}t|||dj||j}t|ts2t|S)N)r)rlrmrrgetvaluerrUr)rrrryZresrrr_dumpss rrJrK)rrLrMcCst||||djS)N)rrLrM)rIr)rrrLrMrrr_load srcCs0t|trtdtj|}t||||djS)Nz%Can't load pickle from unicode string)rrLrM)rrrrlrmrIr)srrLrMrrrr_loadss   r) r r rrrrrrrcCsddl}|jS)Nr)doctestZtestmod)rrrr_test*srrz$display contents of the pickle files)Z description pickle_filebr*zthe pickle file)rnargshelpz-tz--test store_truezrun self-test suite)actionrz-vz)run verbosely; only affects self-test run)N)N)rtypesrcopyregrrrr itertoolsr functoolsrrr Zstructr r rcrlr rB__all__r  bytearrayrUZformat_versionZcompatible_formatsrr Exceptionr r rrZorg.python.corer!r:rrrrrrrrrrrrrrrrrrrrr#rrAr*r)r&rrrrr!r rrrrr,rrr-rrrrrr<r=r>rrrrrrrrrr rrr r1r2r6rr@rrvrdirrhr}rrrrrrIrrrr_picklerrrrrrrrargparseArgumentParserparser add_argumentZFileType parse_argsrZtestrZ print_helpZpprintryrrrrrs.        $* -0