com.googler.python 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -0
- package/python3 +6 -0
- package/python3.4.2/bin/2to3 +5 -0
- package/python3.4.2/bin/2to3-3.4 +5 -0
- package/python3.4.2/bin/android-debian-builder +10 -0
- package/python3.4.2/bin/easy_install-3.4 +11 -0
- package/python3.4.2/bin/idle3 +5 -0
- package/python3.4.2/bin/idle3.4 +5 -0
- package/python3.4.2/bin/pip3 +11 -0
- package/python3.4.2/bin/pip3.4 +11 -0
- package/python3.4.2/bin/pydoc3 +5 -0
- package/python3.4.2/bin/pydoc3.4 +5 -0
- package/python3.4.2/bin/python3-config +111 -0
- package/python3.4.2/bin/python3.4 +0 -0
- package/python3.4.2/bin/python3.4-config +111 -0
- package/python3.4.2/bin/python3.4m-config +111 -0
- package/python3.4.2/bin/pyvenv +11 -0
- package/python3.4.2/bin/pyvenv-3.4 +11 -0
- package/python3.4.2/include/python3.4m/Python-ast.h +569 -0
- package/python3.4.2/include/python3.4m/Python.h +133 -0
- package/python3.4.2/include/python3.4m/abstract.h +1267 -0
- package/python3.4.2/include/python3.4m/accu.h +37 -0
- package/python3.4.2/include/python3.4m/asdl.h +45 -0
- package/python3.4.2/include/python3.4m/ast.h +22 -0
- package/python3.4.2/include/python3.4m/bitset.h +32 -0
- package/python3.4.2/include/python3.4m/bltinmodule.h +14 -0
- package/python3.4.2/include/python3.4m/boolobject.h +34 -0
- package/python3.4.2/include/python3.4m/bytearrayobject.h +62 -0
- package/python3.4.2/include/python3.4m/bytes_methods.h +46 -0
- package/python3.4.2/include/python3.4m/bytesobject.h +128 -0
- package/python3.4.2/include/python3.4m/cellobject.h +29 -0
- package/python3.4.2/include/python3.4m/ceval.h +205 -0
- package/python3.4.2/include/python3.4m/classobject.h +58 -0
- package/python3.4.2/include/python3.4m/code.h +115 -0
- package/python3.4.2/include/python3.4m/codecs.h +233 -0
- package/python3.4.2/include/python3.4m/compile.h +72 -0
- package/python3.4.2/include/python3.4m/complexobject.h +77 -0
- package/python3.4.2/include/python3.4m/datetime.h +243 -0
- package/python3.4.2/include/python3.4m/descrobject.h +105 -0
- package/python3.4.2/include/python3.4m/dictobject.h +126 -0
- package/python3.4.2/include/python3.4m/dtoa.h +19 -0
- package/python3.4.2/include/python3.4m/dynamic_annotations.h +499 -0
- package/python3.4.2/include/python3.4m/enumobject.h +17 -0
- package/python3.4.2/include/python3.4m/errcode.h +38 -0
- package/python3.4.2/include/python3.4m/eval.h +27 -0
- package/python3.4.2/include/python3.4m/fileobject.h +58 -0
- package/python3.4.2/include/python3.4m/fileutils.h +79 -0
- package/python3.4.2/include/python3.4m/floatobject.h +128 -0
- package/python3.4.2/include/python3.4m/frameobject.h +95 -0
- package/python3.4.2/include/python3.4m/funcobject.h +89 -0
- package/python3.4.2/include/python3.4m/genobject.h +46 -0
- package/python3.4.2/include/python3.4m/graminit.h +84 -0
- package/python3.4.2/include/python3.4m/grammar.h +93 -0
- package/python3.4.2/include/python3.4m/import.h +130 -0
- package/python3.4.2/include/python3.4m/intrcheck.h +21 -0
- package/python3.4.2/include/python3.4m/iterobject.h +25 -0
- package/python3.4.2/include/python3.4m/listobject.h +80 -0
- package/python3.4.2/include/python3.4m/longintrepr.h +103 -0
- package/python3.4.2/include/python3.4m/longobject.h +204 -0
- package/python3.4.2/include/python3.4m/marshal.h +28 -0
- package/python3.4.2/include/python3.4m/memoryobject.h +74 -0
- package/python3.4.2/include/python3.4m/metagrammar.h +18 -0
- package/python3.4.2/include/python3.4m/methodobject.h +93 -0
- package/python3.4.2/include/python3.4m/modsupport.h +132 -0
- package/python3.4.2/include/python3.4m/moduleobject.h +63 -0
- package/python3.4.2/include/python3.4m/namespaceobject.h +17 -0
- package/python3.4.2/include/python3.4m/node.h +44 -0
- package/python3.4.2/include/python3.4m/object.h +1015 -0
- package/python3.4.2/include/python3.4m/objimpl.h +361 -0
- package/python3.4.2/include/python3.4m/opcode.h +159 -0
- package/python3.4.2/include/python3.4m/osdefs.h +50 -0
- package/python3.4.2/include/python3.4m/parsetok.h +108 -0
- package/python3.4.2/include/python3.4m/patchlevel.h +35 -0
- package/python3.4.2/include/python3.4m/pgen.h +18 -0
- package/python3.4.2/include/python3.4m/pgenheaders.h +42 -0
- package/python3.4.2/include/python3.4m/py_curses.h +177 -0
- package/python3.4.2/include/python3.4m/pyarena.h +64 -0
- package/python3.4.2/include/python3.4m/pyatomic.h +184 -0
- package/python3.4.2/include/python3.4m/pycapsule.h +59 -0
- package/python3.4.2/include/python3.4m/pyconfig.h +1503 -0
- package/python3.4.2/include/python3.4m/pyctype.h +33 -0
- package/python3.4.2/include/python3.4m/pydebug.h +34 -0
- package/python3.4.2/include/python3.4m/pyerrors.h +464 -0
- package/python3.4.2/include/python3.4m/pyexpat.h +53 -0
- package/python3.4.2/include/python3.4m/pyfpe.h +176 -0
- package/python3.4.2/include/python3.4m/pygetopt.h +21 -0
- package/python3.4.2/include/python3.4m/pyhash.h +149 -0
- package/python3.4.2/include/python3.4m/pymacconfig.h +102 -0
- package/python3.4.2/include/python3.4m/pymacro.h +78 -0
- package/python3.4.2/include/python3.4m/pymath.h +190 -0
- package/python3.4.2/include/python3.4m/pymem.h +183 -0
- package/python3.4.2/include/python3.4m/pyport.h +883 -0
- package/python3.4.2/include/python3.4m/pystate.h +271 -0
- package/python3.4.2/include/python3.4m/pystrcmp.h +23 -0
- package/python3.4.2/include/python3.4m/pystrtod.h +41 -0
- package/python3.4.2/include/python3.4m/pythonrun.h +304 -0
- package/python3.4.2/include/python3.4m/pythread.h +93 -0
- package/python3.4.2/include/python3.4m/pytime.h +105 -0
- package/python3.4.2/include/python3.4m/rangeobject.h +27 -0
- package/python3.4.2/include/python3.4m/setobject.h +113 -0
- package/python3.4.2/include/python3.4m/sliceobject.h +50 -0
- package/python3.4.2/include/python3.4m/structmember.h +76 -0
- package/python3.4.2/include/python3.4m/structseq.h +49 -0
- package/python3.4.2/include/python3.4m/symtable.h +122 -0
- package/python3.4.2/include/python3.4m/sysmodule.h +43 -0
- package/python3.4.2/include/python3.4m/token.h +87 -0
- package/python3.4.2/include/python3.4m/traceback.h +72 -0
- package/python3.4.2/include/python3.4m/tupleobject.h +73 -0
- package/python3.4.2/include/python3.4m/typeslots.h +76 -0
- package/python3.4.2/include/python3.4m/ucnhash.h +36 -0
- package/python3.4.2/include/python3.4m/unicodeobject.h +2271 -0
- package/python3.4.2/include/python3.4m/warnings.h +54 -0
- package/python3.4.2/include/python3.4m/weakrefobject.h +86 -0
- package/python3.4.2/lib/pkgconfig/python-3.4.pc +13 -0
- package/python3.4.2/lib/pkgconfig/python-3.4m.pc +13 -0
- package/python3.4.2/lib/pkgconfig/python3.pc +13 -0
- package/python3.4.2/lib/python3.4/LICENSE.txt +254 -0
- package/python3.4.2/lib/python3.4/__future__.py +134 -0
- package/python3.4.2/lib/python3.4/__phello__.foo.py +1 -0
- package/python3.4.2/lib/python3.4/__pycache__/_bootlocale.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/_collections_abc.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/_sitebuiltins.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/_sysconfigdata.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/_weakrefset.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/abc.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/codecs.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/genericpath.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/io.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/os.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/posixpath.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/rlcompleter.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/site.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/stat.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/__pycache__/sysconfig.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/_bootlocale.py +34 -0
- package/python3.4.2/lib/python3.4/_collections_abc.py +753 -0
- package/python3.4.2/lib/python3.4/_compat_pickle.py +137 -0
- package/python3.4.2/lib/python3.4/_dummy_thread.py +155 -0
- package/python3.4.2/lib/python3.4/_markupbase.py +395 -0
- package/python3.4.2/lib/python3.4/_osx_support.py +502 -0
- package/python3.4.2/lib/python3.4/_pyio.py +2105 -0
- package/python3.4.2/lib/python3.4/_sitebuiltins.py +103 -0
- package/python3.4.2/lib/python3.4/_strptime.py +511 -0
- package/python3.4.2/lib/python3.4/_sysconfigdata.py +710 -0
- package/python3.4.2/lib/python3.4/_threading_local.py +246 -0
- package/python3.4.2/lib/python3.4/_weakrefset.py +196 -0
- package/python3.4.2/lib/python3.4/abc.py +248 -0
- package/python3.4.2/lib/python3.4/aifc.py +918 -0
- package/python3.4.2/lib/python3.4/antigravity.py +17 -0
- package/python3.4.2/lib/python3.4/argparse.py +2379 -0
- package/python3.4.2/lib/python3.4/ast.py +315 -0
- package/python3.4.2/lib/python3.4/asynchat.py +333 -0
- package/python3.4.2/lib/python3.4/asyncio/__init__.py +48 -0
- package/python3.4.2/lib/python3.4/asyncio/base_events.py +1055 -0
- package/python3.4.2/lib/python3.4/asyncio/base_subprocess.py +197 -0
- package/python3.4.2/lib/python3.4/asyncio/constants.py +7 -0
- package/python3.4.2/lib/python3.4/asyncio/coroutines.py +195 -0
- package/python3.4.2/lib/python3.4/asyncio/events.py +586 -0
- package/python3.4.2/lib/python3.4/asyncio/futures.py +411 -0
- package/python3.4.2/lib/python3.4/asyncio/locks.py +469 -0
- package/python3.4.2/lib/python3.4/asyncio/log.py +7 -0
- package/python3.4.2/lib/python3.4/asyncio/proactor_events.py +499 -0
- package/python3.4.2/lib/python3.4/asyncio/protocols.py +129 -0
- package/python3.4.2/lib/python3.4/asyncio/queues.py +288 -0
- package/python3.4.2/lib/python3.4/asyncio/selector_events.py +996 -0
- package/python3.4.2/lib/python3.4/asyncio/streams.py +485 -0
- package/python3.4.2/lib/python3.4/asyncio/subprocess.py +228 -0
- package/python3.4.2/lib/python3.4/asyncio/tasks.py +658 -0
- package/python3.4.2/lib/python3.4/asyncio/test_utils.py +425 -0
- package/python3.4.2/lib/python3.4/asyncio/transports.py +298 -0
- package/python3.4.2/lib/python3.4/asyncio/unix_events.py +922 -0
- package/python3.4.2/lib/python3.4/asyncio/windows_events.py +634 -0
- package/python3.4.2/lib/python3.4/asyncio/windows_utils.py +207 -0
- package/python3.4.2/lib/python3.4/asyncore.py +666 -0
- package/python3.4.2/lib/python3.4/base64.py +602 -0
- package/python3.4.2/lib/python3.4/bdb.py +673 -0
- package/python3.4.2/lib/python3.4/binhex.py +471 -0
- package/python3.4.2/lib/python3.4/bisect.py +92 -0
- package/python3.4.2/lib/python3.4/bz2.py +521 -0
- package/python3.4.2/lib/python3.4/cProfile.py +160 -0
- package/python3.4.2/lib/python3.4/calendar.py +703 -0
- package/python3.4.2/lib/python3.4/cgi.py +1061 -0
- package/python3.4.2/lib/python3.4/cgitb.py +320 -0
- package/python3.4.2/lib/python3.4/chunk.py +167 -0
- package/python3.4.2/lib/python3.4/cmd.py +401 -0
- package/python3.4.2/lib/python3.4/code.py +302 -0
- package/python3.4.2/lib/python3.4/codecs.py +1110 -0
- package/python3.4.2/lib/python3.4/codeop.py +168 -0
- package/python3.4.2/lib/python3.4/collections/__init__.py +1132 -0
- package/python3.4.2/lib/python3.4/collections/__main__.py +38 -0
- package/python3.4.2/lib/python3.4/collections/abc.py +2 -0
- package/python3.4.2/lib/python3.4/colorsys.py +164 -0
- package/python3.4.2/lib/python3.4/compileall.py +241 -0
- package/python3.4.2/lib/python3.4/concurrent/__init__.py +1 -0
- package/python3.4.2/lib/python3.4/concurrent/futures/__init__.py +18 -0
- package/python3.4.2/lib/python3.4/concurrent/futures/_base.py +575 -0
- package/python3.4.2/lib/python3.4/concurrent/futures/process.py +427 -0
- package/python3.4.2/lib/python3.4/concurrent/futures/thread.py +132 -0
- package/python3.4.2/lib/python3.4/config-3.4m/Makefile +1835 -0
- package/python3.4.2/lib/python3.4/config-3.4m/Setup +466 -0
- package/python3.4.2/lib/python3.4/config-3.4m/Setup.config +13 -0
- package/python3.4.2/lib/python3.4/config-3.4m/Setup.local +1 -0
- package/python3.4.2/lib/python3.4/config-3.4m/config.c +234 -0
- package/python3.4.2/lib/python3.4/config-3.4m/config.c.in +67 -0
- package/python3.4.2/lib/python3.4/config-3.4m/install-sh +294 -0
- package/python3.4.2/lib/python3.4/config-3.4m/makesetup +293 -0
- package/python3.4.2/lib/python3.4/config-3.4m/python-config.py +68 -0
- package/python3.4.2/lib/python3.4/configparser.py +1254 -0
- package/python3.4.2/lib/python3.4/contextlib.py +340 -0
- package/python3.4.2/lib/python3.4/copy.py +333 -0
- package/python3.4.2/lib/python3.4/copyreg.py +202 -0
- package/python3.4.2/lib/python3.4/crypt.py +62 -0
- package/python3.4.2/lib/python3.4/csv.py +449 -0
- package/python3.4.2/lib/python3.4/ctypes/__init__.py +541 -0
- package/python3.4.2/lib/python3.4/ctypes/_endian.py +59 -0
- package/python3.4.2/lib/python3.4/ctypes/macholib/README.ctypes +7 -0
- package/python3.4.2/lib/python3.4/ctypes/macholib/__init__.py +9 -0
- package/python3.4.2/lib/python3.4/ctypes/macholib/dyld.py +158 -0
- package/python3.4.2/lib/python3.4/ctypes/macholib/dylib.py +63 -0
- package/python3.4.2/lib/python3.4/ctypes/macholib/fetch_macholib +2 -0
- package/python3.4.2/lib/python3.4/ctypes/macholib/fetch_macholib.bat +1 -0
- package/python3.4.2/lib/python3.4/ctypes/macholib/framework.py +65 -0
- package/python3.4.2/lib/python3.4/ctypes/test/__init__.py +14 -0
- package/python3.4.2/lib/python3.4/ctypes/test/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_anon.py +60 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_array_in_pointer.py +64 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_arrays.py +181 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_as_parameter.py +226 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_bitfields.py +263 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_buffers.py +64 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_bytes.py +65 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_byteswap.py +295 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_callbacks.py +247 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_cast.py +86 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_cfuncs.py +212 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_checkretval.py +36 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_delattr.py +21 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_errno.py +79 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_find.py +81 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_frombuffer.py +81 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_funcptr.py +127 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_functions.py +402 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_incomplete.py +42 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_init.py +40 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_internals.py +100 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_keeprefs.py +153 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_libc.py +33 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_loading.py +119 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_macholib.py +63 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_memfunctions.py +79 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_numbers.py +290 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_objects.py +67 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_parameters.py +176 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_pep3118.py +206 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_pickling.py +83 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_pointers.py +192 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_prototypes.py +219 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_python_api.py +89 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_random_things.py +74 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_refcounts.py +101 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_repr.py +29 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_returnfuncptrs.py +67 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_simplesubclasses.py +55 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_sizes.py +34 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_slicing.py +167 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_stringptr.py +77 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_strings.py +225 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_struct_fields.py +50 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_structures.py +468 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_unaligned_structures.py +45 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_unicode.py +56 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_values.py +95 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_varsize_struct.py +50 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_win32.py +119 -0
- package/python3.4.2/lib/python3.4/ctypes/test/test_wintypes.py +41 -0
- package/python3.4.2/lib/python3.4/ctypes/util.py +267 -0
- package/python3.4.2/lib/python3.4/ctypes/wintypes.py +202 -0
- package/python3.4.2/lib/python3.4/curses/__init__.py +101 -0
- package/python3.4.2/lib/python3.4/curses/ascii.py +99 -0
- package/python3.4.2/lib/python3.4/curses/has_key.py +192 -0
- package/python3.4.2/lib/python3.4/curses/panel.py +6 -0
- package/python3.4.2/lib/python3.4/curses/textpad.py +188 -0
- package/python3.4.2/lib/python3.4/datetime.py +2136 -0
- package/python3.4.2/lib/python3.4/dbm/__init__.py +188 -0
- package/python3.4.2/lib/python3.4/dbm/dumb.py +291 -0
- package/python3.4.2/lib/python3.4/dbm/gnu.py +3 -0
- package/python3.4.2/lib/python3.4/dbm/ndbm.py +3 -0
- package/python3.4.2/lib/python3.4/decimal.py +6414 -0
- package/python3.4.2/lib/python3.4/difflib.py +2039 -0
- package/python3.4.2/lib/python3.4/dis.py +475 -0
- package/python3.4.2/lib/python3.4/distutils/README +13 -0
- package/python3.4.2/lib/python3.4/distutils/__init__.py +17 -0
- package/python3.4.2/lib/python3.4/distutils/archive_util.py +245 -0
- package/python3.4.2/lib/python3.4/distutils/bcppcompiler.py +393 -0
- package/python3.4.2/lib/python3.4/distutils/ccompiler.py +1115 -0
- package/python3.4.2/lib/python3.4/distutils/cmd.py +435 -0
- package/python3.4.2/lib/python3.4/distutils/command/__init__.py +31 -0
- package/python3.4.2/lib/python3.4/distutils/command/bdist.py +142 -0
- package/python3.4.2/lib/python3.4/distutils/command/bdist_dumb.py +122 -0
- package/python3.4.2/lib/python3.4/distutils/command/bdist_msi.py +741 -0
- package/python3.4.2/lib/python3.4/distutils/command/bdist_rpm.py +582 -0
- package/python3.4.2/lib/python3.4/distutils/command/bdist_wininst.py +349 -0
- package/python3.4.2/lib/python3.4/distutils/command/build.py +148 -0
- package/python3.4.2/lib/python3.4/distutils/command/build_clib.py +209 -0
- package/python3.4.2/lib/python3.4/distutils/command/build_ext.py +735 -0
- package/python3.4.2/lib/python3.4/distutils/command/build_py.py +416 -0
- package/python3.4.2/lib/python3.4/distutils/command/build_scripts.py +160 -0
- package/python3.4.2/lib/python3.4/distutils/command/check.py +145 -0
- package/python3.4.2/lib/python3.4/distutils/command/clean.py +76 -0
- package/python3.4.2/lib/python3.4/distutils/command/command_template +33 -0
- package/python3.4.2/lib/python3.4/distutils/command/config.py +347 -0
- package/python3.4.2/lib/python3.4/distutils/command/install.py +650 -0
- package/python3.4.2/lib/python3.4/distutils/command/install_data.py +79 -0
- package/python3.4.2/lib/python3.4/distutils/command/install_egg_info.py +77 -0
- package/python3.4.2/lib/python3.4/distutils/command/install_headers.py +47 -0
- package/python3.4.2/lib/python3.4/distutils/command/install_lib.py +217 -0
- package/python3.4.2/lib/python3.4/distutils/command/install_scripts.py +60 -0
- package/python3.4.2/lib/python3.4/distutils/command/register.py +304 -0
- package/python3.4.2/lib/python3.4/distutils/command/sdist.py +467 -0
- package/python3.4.2/lib/python3.4/distutils/command/upload.py +202 -0
- package/python3.4.2/lib/python3.4/distutils/command/wininst-10.0-amd64.exe +0 -0
- package/python3.4.2/lib/python3.4/distutils/command/wininst-10.0.exe +0 -0
- package/python3.4.2/lib/python3.4/distutils/command/wininst-6.0.exe +0 -0
- package/python3.4.2/lib/python3.4/distutils/command/wininst-7.1.exe +0 -0
- package/python3.4.2/lib/python3.4/distutils/command/wininst-8.0.exe +0 -0
- package/python3.4.2/lib/python3.4/distutils/command/wininst-9.0-amd64.exe +0 -0
- package/python3.4.2/lib/python3.4/distutils/command/wininst-9.0.exe +0 -0
- package/python3.4.2/lib/python3.4/distutils/config.py +131 -0
- package/python3.4.2/lib/python3.4/distutils/core.py +237 -0
- package/python3.4.2/lib/python3.4/distutils/cygwinccompiler.py +405 -0
- package/python3.4.2/lib/python3.4/distutils/debug.py +5 -0
- package/python3.4.2/lib/python3.4/distutils/dep_util.py +92 -0
- package/python3.4.2/lib/python3.4/distutils/dir_util.py +210 -0
- package/python3.4.2/lib/python3.4/distutils/dist.py +1238 -0
- package/python3.4.2/lib/python3.4/distutils/errors.py +97 -0
- package/python3.4.2/lib/python3.4/distutils/extension.py +233 -0
- package/python3.4.2/lib/python3.4/distutils/fancy_getopt.py +457 -0
- package/python3.4.2/lib/python3.4/distutils/file_util.py +230 -0
- package/python3.4.2/lib/python3.4/distutils/filelist.py +328 -0
- package/python3.4.2/lib/python3.4/distutils/log.py +75 -0
- package/python3.4.2/lib/python3.4/distutils/msvc9compiler.py +788 -0
- package/python3.4.2/lib/python3.4/distutils/msvccompiler.py +640 -0
- package/python3.4.2/lib/python3.4/distutils/spawn.py +195 -0
- package/python3.4.2/lib/python3.4/distutils/sysconfig.py +562 -0
- package/python3.4.2/lib/python3.4/distutils/tests/Setup.sample +67 -0
- package/python3.4.2/lib/python3.4/distutils/tests/__init__.py +36 -0
- package/python3.4.2/lib/python3.4/distutils/tests/support.py +210 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_archive_util.py +341 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_bdist.py +50 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_bdist_dumb.py +97 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_bdist_msi.py +25 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_bdist_rpm.py +134 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_bdist_wininst.py +31 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_build.py +55 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_build_clib.py +143 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_build_ext.py +488 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_build_py.py +178 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_build_scripts.py +112 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_check.py +106 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_clean.py +51 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_cmd.py +126 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_config.py +120 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_config_cmd.py +89 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_core.py +108 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_cygwinccompiler.py +155 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_dep_util.py +81 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_dir_util.py +139 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_dist.py +454 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_extension.py +69 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_file_util.py +85 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_filelist.py +299 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_install.py +246 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_install_data.py +77 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_install_headers.py +41 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_install_lib.py +115 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_install_scripts.py +82 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_log.py +37 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_msvc9compiler.py +184 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_register.py +309 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_sdist.py +484 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_spawn.py +58 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_sysconfig.py +207 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_text_file.py +107 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_unixccompiler.py +150 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_upload.py +151 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_util.py +300 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_version.py +71 -0
- package/python3.4.2/lib/python3.4/distutils/tests/test_versionpredicate.py +13 -0
- package/python3.4.2/lib/python3.4/distutils/tests/xxmodule.c +396 -0
- package/python3.4.2/lib/python3.4/distutils/text_file.py +285 -0
- package/python3.4.2/lib/python3.4/distutils/unixccompiler.py +298 -0
- package/python3.4.2/lib/python3.4/distutils/util.py +553 -0
- package/python3.4.2/lib/python3.4/distutils/version.py +349 -0
- package/python3.4.2/lib/python3.4/distutils/versionpredicate.py +166 -0
- package/python3.4.2/lib/python3.4/doctest.py +2793 -0
- package/python3.4.2/lib/python3.4/dummy_threading.py +78 -0
- package/python3.4.2/lib/python3.4/email/__init__.py +64 -0
- package/python3.4.2/lib/python3.4/email/_encoded_words.py +221 -0
- package/python3.4.2/lib/python3.4/email/_header_value_parser.py +2947 -0
- package/python3.4.2/lib/python3.4/email/_parseaddr.py +540 -0
- package/python3.4.2/lib/python3.4/email/_policybase.py +358 -0
- package/python3.4.2/lib/python3.4/email/architecture.rst +216 -0
- package/python3.4.2/lib/python3.4/email/base64mime.py +119 -0
- package/python3.4.2/lib/python3.4/email/charset.py +409 -0
- package/python3.4.2/lib/python3.4/email/contentmanager.py +249 -0
- package/python3.4.2/lib/python3.4/email/encoders.py +69 -0
- package/python3.4.2/lib/python3.4/email/errors.py +107 -0
- package/python3.4.2/lib/python3.4/email/feedparser.py +526 -0
- package/python3.4.2/lib/python3.4/email/generator.py +507 -0
- package/python3.4.2/lib/python3.4/email/header.py +581 -0
- package/python3.4.2/lib/python3.4/email/headerregistry.py +583 -0
- package/python3.4.2/lib/python3.4/email/iterators.py +71 -0
- package/python3.4.2/lib/python3.4/email/message.py +1147 -0
- package/python3.4.2/lib/python3.4/email/mime/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/email/mime/application.py +36 -0
- package/python3.4.2/lib/python3.4/email/mime/audio.py +73 -0
- package/python3.4.2/lib/python3.4/email/mime/base.py +26 -0
- package/python3.4.2/lib/python3.4/email/mime/image.py +46 -0
- package/python3.4.2/lib/python3.4/email/mime/message.py +34 -0
- package/python3.4.2/lib/python3.4/email/mime/multipart.py +47 -0
- package/python3.4.2/lib/python3.4/email/mime/nonmultipart.py +22 -0
- package/python3.4.2/lib/python3.4/email/mime/text.py +41 -0
- package/python3.4.2/lib/python3.4/email/parser.py +132 -0
- package/python3.4.2/lib/python3.4/email/policy.py +201 -0
- package/python3.4.2/lib/python3.4/email/quoprimime.py +299 -0
- package/python3.4.2/lib/python3.4/email/utils.py +399 -0
- package/python3.4.2/lib/python3.4/encodings/__init__.py +152 -0
- package/python3.4.2/lib/python3.4/encodings/__pycache__/__init__.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/encodings/__pycache__/aliases.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/encodings/__pycache__/ascii.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/encodings/__pycache__/latin_1.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/encodings/__pycache__/utf_8.cpython-34.pyc +0 -0
- package/python3.4.2/lib/python3.4/encodings/aliases.py +544 -0
- package/python3.4.2/lib/python3.4/encodings/ascii.py +50 -0
- package/python3.4.2/lib/python3.4/encodings/base64_codec.py +55 -0
- package/python3.4.2/lib/python3.4/encodings/big5.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/big5hkscs.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/bz2_codec.py +78 -0
- package/python3.4.2/lib/python3.4/encodings/charmap.py +69 -0
- package/python3.4.2/lib/python3.4/encodings/cp037.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1006.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1026.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1125.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp1140.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1250.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1251.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1252.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1253.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1254.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1255.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1256.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1257.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp1258.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp273.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp424.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp437.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp500.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp65001.py +40 -0
- package/python3.4.2/lib/python3.4/encodings/cp720.py +309 -0
- package/python3.4.2/lib/python3.4/encodings/cp737.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp775.py +697 -0
- package/python3.4.2/lib/python3.4/encodings/cp850.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp852.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp855.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp856.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp857.py +694 -0
- package/python3.4.2/lib/python3.4/encodings/cp858.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp860.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp861.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp862.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp863.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp864.py +690 -0
- package/python3.4.2/lib/python3.4/encodings/cp865.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp866.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/cp869.py +689 -0
- package/python3.4.2/lib/python3.4/encodings/cp874.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp875.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/cp932.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/cp949.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/cp950.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/euc_jis_2004.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/euc_jisx0213.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/euc_jp.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/euc_kr.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/gb18030.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/gb2312.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/gbk.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/hex_codec.py +55 -0
- package/python3.4.2/lib/python3.4/encodings/hp_roman8.py +312 -0
- package/python3.4.2/lib/python3.4/encodings/hz.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/idna.py +309 -0
- package/python3.4.2/lib/python3.4/encodings/iso2022_jp.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/iso2022_jp_1.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/iso2022_jp_2.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/iso2022_jp_2004.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/iso2022_jp_3.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/iso2022_jp_ext.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/iso2022_kr.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_1.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_10.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_11.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_13.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_14.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_15.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_16.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_2.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_3.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_4.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_5.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_6.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_7.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_8.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/iso8859_9.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/johab.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/koi8_r.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/koi8_u.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/latin_1.py +50 -0
- package/python3.4.2/lib/python3.4/encodings/mac_arabic.py +698 -0
- package/python3.4.2/lib/python3.4/encodings/mac_centeuro.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/mac_croatian.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/mac_cyrillic.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/mac_farsi.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/mac_greek.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/mac_iceland.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/mac_latin2.py +312 -0
- package/python3.4.2/lib/python3.4/encodings/mac_roman.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/mac_romanian.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/mac_turkish.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/mbcs.py +47 -0
- package/python3.4.2/lib/python3.4/encodings/palmos.py +308 -0
- package/python3.4.2/lib/python3.4/encodings/ptcp154.py +312 -0
- package/python3.4.2/lib/python3.4/encodings/punycode.py +237 -0
- package/python3.4.2/lib/python3.4/encodings/quopri_codec.py +56 -0
- package/python3.4.2/lib/python3.4/encodings/raw_unicode_escape.py +45 -0
- package/python3.4.2/lib/python3.4/encodings/rot_13.py +113 -0
- package/python3.4.2/lib/python3.4/encodings/shift_jis.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/shift_jis_2004.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/shift_jisx0213.py +39 -0
- package/python3.4.2/lib/python3.4/encodings/tis_620.py +307 -0
- package/python3.4.2/lib/python3.4/encodings/undefined.py +49 -0
- package/python3.4.2/lib/python3.4/encodings/unicode_escape.py +45 -0
- package/python3.4.2/lib/python3.4/encodings/unicode_internal.py +45 -0
- package/python3.4.2/lib/python3.4/encodings/utf_16.py +155 -0
- package/python3.4.2/lib/python3.4/encodings/utf_16_be.py +42 -0
- package/python3.4.2/lib/python3.4/encodings/utf_16_le.py +42 -0
- package/python3.4.2/lib/python3.4/encodings/utf_32.py +150 -0
- package/python3.4.2/lib/python3.4/encodings/utf_32_be.py +37 -0
- package/python3.4.2/lib/python3.4/encodings/utf_32_le.py +37 -0
- package/python3.4.2/lib/python3.4/encodings/utf_7.py +38 -0
- package/python3.4.2/lib/python3.4/encodings/utf_8.py +42 -0
- package/python3.4.2/lib/python3.4/encodings/utf_8_sig.py +130 -0
- package/python3.4.2/lib/python3.4/encodings/uu_codec.py +99 -0
- package/python3.4.2/lib/python3.4/encodings/zlib_codec.py +77 -0
- package/python3.4.2/lib/python3.4/ensurepip/__init__.py +210 -0
- package/python3.4.2/lib/python3.4/ensurepip/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/ensurepip/_bundled/pip-1.5.6-py2.py3-none-any.whl +0 -0
- package/python3.4.2/lib/python3.4/ensurepip/_bundled/setuptools-2.1-py2.py3-none-any.whl +0 -0
- package/python3.4.2/lib/python3.4/ensurepip/_uninstall.py +30 -0
- package/python3.4.2/lib/python3.4/enum.py +525 -0
- package/python3.4.2/lib/python3.4/filecmp.py +305 -0
- package/python3.4.2/lib/python3.4/fileinput.py +429 -0
- package/python3.4.2/lib/python3.4/fnmatch.py +109 -0
- package/python3.4.2/lib/python3.4/formatter.py +448 -0
- package/python3.4.2/lib/python3.4/fractions.py +630 -0
- package/python3.4.2/lib/python3.4/ftplib.py +1088 -0
- package/python3.4.2/lib/python3.4/functools.py +721 -0
- package/python3.4.2/lib/python3.4/genericpath.py +132 -0
- package/python3.4.2/lib/python3.4/getopt.py +215 -0
- package/python3.4.2/lib/python3.4/getpass.py +186 -0
- package/python3.4.2/lib/python3.4/gettext.py +523 -0
- package/python3.4.2/lib/python3.4/glob.py +110 -0
- package/python3.4.2/lib/python3.4/gzip.py +674 -0
- package/python3.4.2/lib/python3.4/hashlib.py +217 -0
- package/python3.4.2/lib/python3.4/heapq.py +476 -0
- package/python3.4.2/lib/python3.4/hmac.py +144 -0
- package/python3.4.2/lib/python3.4/html/__init__.py +132 -0
- package/python3.4.2/lib/python3.4/html/entities.py +2506 -0
- package/python3.4.2/lib/python3.4/html/parser.py +550 -0
- package/python3.4.2/lib/python3.4/http/__init__.py +1 -0
- package/python3.4.2/lib/python3.4/http/client.py +1302 -0
- package/python3.4.2/lib/python3.4/http/cookiejar.py +2080 -0
- package/python3.4.2/lib/python3.4/http/cookies.py +578 -0
- package/python3.4.2/lib/python3.4/http/server.py +1241 -0
- package/python3.4.2/lib/python3.4/idlelib/AutoComplete.py +233 -0
- package/python3.4.2/lib/python3.4/idlelib/AutoCompleteWindow.py +415 -0
- package/python3.4.2/lib/python3.4/idlelib/AutoExpand.py +104 -0
- package/python3.4.2/lib/python3.4/idlelib/Bindings.py +94 -0
- package/python3.4.2/lib/python3.4/idlelib/CREDITS.txt +37 -0
- package/python3.4.2/lib/python3.4/idlelib/CallTipWindow.py +170 -0
- package/python3.4.2/lib/python3.4/idlelib/CallTips.py +175 -0
- package/python3.4.2/lib/python3.4/idlelib/ChangeLog +1591 -0
- package/python3.4.2/lib/python3.4/idlelib/ClassBrowser.py +229 -0
- package/python3.4.2/lib/python3.4/idlelib/CodeContext.py +176 -0
- package/python3.4.2/lib/python3.4/idlelib/ColorDelegator.py +254 -0
- package/python3.4.2/lib/python3.4/idlelib/Debugger.py +490 -0
- package/python3.4.2/lib/python3.4/idlelib/Delegator.py +25 -0
- package/python3.4.2/lib/python3.4/idlelib/EditorWindow.py +1729 -0
- package/python3.4.2/lib/python3.4/idlelib/FileList.py +129 -0
- package/python3.4.2/lib/python3.4/idlelib/FormatParagraph.py +193 -0
- package/python3.4.2/lib/python3.4/idlelib/GrepDialog.py +159 -0
- package/python3.4.2/lib/python3.4/idlelib/HISTORY.txt +296 -0
- package/python3.4.2/lib/python3.4/idlelib/HyperParser.py +313 -0
- package/python3.4.2/lib/python3.4/idlelib/IOBinding.py +555 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/folder.gif +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/idle.icns +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/idle.ico +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/idle_16.gif +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/idle_16.png +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/idle_32.gif +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/idle_32.png +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/idle_48.gif +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/idle_48.png +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/minusnode.gif +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/openfolder.gif +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/plusnode.gif +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/python.gif +0 -0
- package/python3.4.2/lib/python3.4/idlelib/Icons/tk.gif +0 -0
- package/python3.4.2/lib/python3.4/idlelib/IdleHistory.py +104 -0
- package/python3.4.2/lib/python3.4/idlelib/MultiCall.py +453 -0
- package/python3.4.2/lib/python3.4/idlelib/MultiStatusBar.py +45 -0
- package/python3.4.2/lib/python3.4/idlelib/NEWS.txt +877 -0
- package/python3.4.2/lib/python3.4/idlelib/ObjectBrowser.py +143 -0
- package/python3.4.2/lib/python3.4/idlelib/OutputWindow.py +144 -0
- package/python3.4.2/lib/python3.4/idlelib/ParenMatch.py +178 -0
- package/python3.4.2/lib/python3.4/idlelib/PathBrowser.py +106 -0
- package/python3.4.2/lib/python3.4/idlelib/Percolator.py +104 -0
- package/python3.4.2/lib/python3.4/idlelib/PyParse.py +618 -0
- package/python3.4.2/lib/python3.4/idlelib/PyShell.py +1619 -0
- package/python3.4.2/lib/python3.4/idlelib/README.txt +60 -0
- package/python3.4.2/lib/python3.4/idlelib/RemoteDebugger.py +389 -0
- package/python3.4.2/lib/python3.4/idlelib/RemoteObjectBrowser.py +36 -0
- package/python3.4.2/lib/python3.4/idlelib/ReplaceDialog.py +221 -0
- package/python3.4.2/lib/python3.4/idlelib/RstripExtension.py +33 -0
- package/python3.4.2/lib/python3.4/idlelib/ScriptBinding.py +207 -0
- package/python3.4.2/lib/python3.4/idlelib/ScrolledList.py +140 -0
- package/python3.4.2/lib/python3.4/idlelib/SearchDialog.py +89 -0
- package/python3.4.2/lib/python3.4/idlelib/SearchDialogBase.py +184 -0
- package/python3.4.2/lib/python3.4/idlelib/SearchEngine.py +233 -0
- package/python3.4.2/lib/python3.4/idlelib/StackViewer.py +152 -0
- package/python3.4.2/lib/python3.4/idlelib/TODO.txt +210 -0
- package/python3.4.2/lib/python3.4/idlelib/ToolTip.py +97 -0
- package/python3.4.2/lib/python3.4/idlelib/TreeWidget.py +465 -0
- package/python3.4.2/lib/python3.4/idlelib/UndoDelegator.py +365 -0
- package/python3.4.2/lib/python3.4/idlelib/WidgetRedirector.py +174 -0
- package/python3.4.2/lib/python3.4/idlelib/WindowList.py +90 -0
- package/python3.4.2/lib/python3.4/idlelib/ZoomHeight.py +51 -0
- package/python3.4.2/lib/python3.4/idlelib/__init__.py +1 -0
- package/python3.4.2/lib/python3.4/idlelib/__main__.py +9 -0
- package/python3.4.2/lib/python3.4/idlelib/aboutDialog.py +145 -0
- package/python3.4.2/lib/python3.4/idlelib/config-extensions.def +96 -0
- package/python3.4.2/lib/python3.4/idlelib/config-highlight.def +64 -0
- package/python3.4.2/lib/python3.4/idlelib/config-keys.def +214 -0
- package/python3.4.2/lib/python3.4/idlelib/config-main.def +79 -0
- package/python3.4.2/lib/python3.4/idlelib/configDialog.py +1195 -0
- package/python3.4.2/lib/python3.4/idlelib/configHandler.py +722 -0
- package/python3.4.2/lib/python3.4/idlelib/configHelpSourceEdit.py +166 -0
- package/python3.4.2/lib/python3.4/idlelib/configSectionNameDialog.py +98 -0
- package/python3.4.2/lib/python3.4/idlelib/dynOptionMenuWidget.py +57 -0
- package/python3.4.2/lib/python3.4/idlelib/extend.txt +83 -0
- package/python3.4.2/lib/python3.4/idlelib/help.txt +368 -0
- package/python3.4.2/lib/python3.4/idlelib/idle.bat +4 -0
- package/python3.4.2/lib/python3.4/idlelib/idle.py +11 -0
- package/python3.4.2/lib/python3.4/idlelib/idle.pyw +21 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/README.txt +115 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/__init__.py +9 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/htest.py +369 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/mock_idle.py +55 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/mock_tk.py +298 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_autocomplete.py +143 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_autoexpand.py +141 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_calltips.py +172 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_config_name.py +75 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_configdialog.py +32 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_delegator.py +37 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_formatparagraph.py +377 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_grep.py +80 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_hyperparser.py +273 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_idlehistory.py +167 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_parenmatch.py +109 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_pathbrowser.py +12 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_rstrip.py +49 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_searchdialogbase.py +165 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_searchengine.py +329 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_text.py +228 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_textview.py +97 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_warning.py +73 -0
- package/python3.4.2/lib/python3.4/idlelib/idle_test/test_widgetredir.py +122 -0
- package/python3.4.2/lib/python3.4/idlelib/idlever.py +1 -0
- package/python3.4.2/lib/python3.4/idlelib/keybindingDialog.py +266 -0
- package/python3.4.2/lib/python3.4/idlelib/macosxSupport.py +239 -0
- package/python3.4.2/lib/python3.4/idlelib/rpc.py +624 -0
- package/python3.4.2/lib/python3.4/idlelib/run.py +404 -0
- package/python3.4.2/lib/python3.4/idlelib/tabbedpages.py +498 -0
- package/python3.4.2/lib/python3.4/idlelib/testcode.py +31 -0
- package/python3.4.2/lib/python3.4/idlelib/textView.py +86 -0
- package/python3.4.2/lib/python3.4/imaplib.py +1549 -0
- package/python3.4.2/lib/python3.4/imghdr.py +154 -0
- package/python3.4.2/lib/python3.4/imp.py +315 -0
- package/python3.4.2/lib/python3.4/importlib/__init__.py +156 -0
- package/python3.4.2/lib/python3.4/importlib/_bootstrap.py +2461 -0
- package/python3.4.2/lib/python3.4/importlib/abc.py +323 -0
- package/python3.4.2/lib/python3.4/importlib/machinery.py +21 -0
- package/python3.4.2/lib/python3.4/importlib/util.py +202 -0
- package/python3.4.2/lib/python3.4/inspect.py +2759 -0
- package/python3.4.2/lib/python3.4/io.py +92 -0
- package/python3.4.2/lib/python3.4/ipaddress.py +2183 -0
- package/python3.4.2/lib/python3.4/json/__init__.py +331 -0
- package/python3.4.2/lib/python3.4/json/decoder.py +362 -0
- package/python3.4.2/lib/python3.4/json/encoder.py +433 -0
- package/python3.4.2/lib/python3.4/json/scanner.py +73 -0
- package/python3.4.2/lib/python3.4/json/tool.py +39 -0
- package/python3.4.2/lib/python3.4/keyword.py +94 -0
- package/python3.4.2/lib/python3.4/lib2to3/Grammar.txt +159 -0
- package/python3.4.2/lib/python3.4/lib2to3/Grammar3.4.2.final.0.pickle +0 -0
- package/python3.4.2/lib/python3.4/lib2to3/PatternGrammar.txt +28 -0
- package/python3.4.2/lib/python3.4/lib2to3/PatternGrammar3.4.2.final.0.pickle +0 -0
- package/python3.4.2/lib/python3.4/lib2to3/__init__.py +1 -0
- package/python3.4.2/lib/python3.4/lib2to3/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/lib2to3/btm_matcher.py +168 -0
- package/python3.4.2/lib/python3.4/lib2to3/btm_utils.py +281 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixer_base.py +187 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixer_util.py +455 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/__init__.py +1 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_apply.py +59 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_asserts.py +34 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_basestring.py +14 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_buffer.py +22 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_callable.py +37 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_dict.py +107 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_except.py +93 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_exec.py +40 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_execfile.py +52 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_exitfunc.py +72 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_filter.py +76 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_funcattrs.py +21 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_future.py +22 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_getcwdu.py +19 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_has_key.py +110 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_idioms.py +152 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_import.py +99 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_imports.py +145 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_imports2.py +16 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_input.py +26 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_intern.py +31 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_isinstance.py +52 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_itertools.py +43 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_itertools_imports.py +57 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_long.py +19 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_map.py +91 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_metaclass.py +228 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_methodattrs.py +24 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_ne.py +23 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_next.py +103 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_nonzero.py +21 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_numliterals.py +28 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_operator.py +98 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_paren.py +44 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_print.py +87 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_raise.py +90 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_raw_input.py +17 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_reduce.py +35 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_reload.py +28 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_renames.py +70 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_repr.py +23 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_set_literal.py +53 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_standarderror.py +18 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_sys_exc.py +30 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_throw.py +56 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_tuple_params.py +175 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_types.py +62 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_unicode.py +42 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_urllib.py +197 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_ws_comma.py +39 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_xrange.py +73 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_xreadlines.py +25 -0
- package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_zip.py +35 -0
- package/python3.4.2/lib/python3.4/lib2to3/main.py +268 -0
- package/python3.4.2/lib/python3.4/lib2to3/patcomp.py +205 -0
- package/python3.4.2/lib/python3.4/lib2to3/pgen2/__init__.py +4 -0
- package/python3.4.2/lib/python3.4/lib2to3/pgen2/conv.py +257 -0
- package/python3.4.2/lib/python3.4/lib2to3/pgen2/driver.py +157 -0
- package/python3.4.2/lib/python3.4/lib2to3/pgen2/grammar.py +183 -0
- package/python3.4.2/lib/python3.4/lib2to3/pgen2/literals.py +60 -0
- package/python3.4.2/lib/python3.4/lib2to3/pgen2/parse.py +201 -0
- package/python3.4.2/lib/python3.4/lib2to3/pgen2/pgen.py +386 -0
- package/python3.4.2/lib/python3.4/lib2to3/pgen2/token.py +83 -0
- package/python3.4.2/lib/python3.4/lib2to3/pgen2/tokenize.py +502 -0
- package/python3.4.2/lib/python3.4/lib2to3/pygram.py +40 -0
- package/python3.4.2/lib/python3.4/lib2to3/pytree.py +864 -0
- package/python3.4.2/lib/python3.4/lib2to3/refactor.py +747 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/__init__.py +24 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/README +6 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/bom.py +2 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/crlf.py +3 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/different_encoding.py +6 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/false_encoding.py +2 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/bad_order.py +5 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_explicit.py +6 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_first.py +6 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_last.py +7 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_parrot.py +13 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_preorder.py +6 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/no_fixer_cls.py +1 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/parrot_example.py +2 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/infinite_recursion.py +2669 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/py2_test_grammar.py +974 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/data/py3_test_grammar.py +923 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/pytree_idempotency.py +92 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/support.py +54 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/test_all_fixers.py +23 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/test_fixers.py +4687 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/test_main.py +139 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/test_parser.py +249 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/test_pytree.py +477 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/test_refactor.py +321 -0
- package/python3.4.2/lib/python3.4/lib2to3/tests/test_util.py +594 -0
- package/python3.4.2/lib/python3.4/linecache.py +134 -0
- package/python3.4.2/lib/python3.4/locale.py +1559 -0
- package/python3.4.2/lib/python3.4/logging/__init__.py +1950 -0
- package/python3.4.2/lib/python3.4/logging/config.py +927 -0
- package/python3.4.2/lib/python3.4/logging/handlers.py +1452 -0
- package/python3.4.2/lib/python3.4/lzma.py +511 -0
- package/python3.4.2/lib/python3.4/macpath.py +205 -0
- package/python3.4.2/lib/python3.4/macurl2path.py +77 -0
- package/python3.4.2/lib/python3.4/mailbox.py +2136 -0
- package/python3.4.2/lib/python3.4/mailcap.py +253 -0
- package/python3.4.2/lib/python3.4/mimetypes.py +592 -0
- package/python3.4.2/lib/python3.4/modulefinder.py +642 -0
- package/python3.4.2/lib/python3.4/multiprocessing/__init__.py +38 -0
- package/python3.4.2/lib/python3.4/multiprocessing/connection.py +954 -0
- package/python3.4.2/lib/python3.4/multiprocessing/context.py +348 -0
- package/python3.4.2/lib/python3.4/multiprocessing/dummy/__init__.py +119 -0
- package/python3.4.2/lib/python3.4/multiprocessing/dummy/connection.py +74 -0
- package/python3.4.2/lib/python3.4/multiprocessing/forkserver.py +267 -0
- package/python3.4.2/lib/python3.4/multiprocessing/heap.py +249 -0
- package/python3.4.2/lib/python3.4/multiprocessing/managers.py +1131 -0
- package/python3.4.2/lib/python3.4/multiprocessing/pool.py +769 -0
- package/python3.4.2/lib/python3.4/multiprocessing/popen_fork.py +83 -0
- package/python3.4.2/lib/python3.4/multiprocessing/popen_forkserver.py +69 -0
- package/python3.4.2/lib/python3.4/multiprocessing/popen_spawn_posix.py +69 -0
- package/python3.4.2/lib/python3.4/multiprocessing/popen_spawn_win32.py +99 -0
- package/python3.4.2/lib/python3.4/multiprocessing/process.py +332 -0
- package/python3.4.2/lib/python3.4/multiprocessing/queues.py +367 -0
- package/python3.4.2/lib/python3.4/multiprocessing/reduction.py +240 -0
- package/python3.4.2/lib/python3.4/multiprocessing/resource_sharer.py +158 -0
- package/python3.4.2/lib/python3.4/multiprocessing/semaphore_tracker.py +143 -0
- package/python3.4.2/lib/python3.4/multiprocessing/sharedctypes.py +245 -0
- package/python3.4.2/lib/python3.4/multiprocessing/spawn.py +287 -0
- package/python3.4.2/lib/python3.4/multiprocessing/synchronize.py +418 -0
- package/python3.4.2/lib/python3.4/multiprocessing/util.py +367 -0
- package/python3.4.2/lib/python3.4/netrc.py +142 -0
- package/python3.4.2/lib/python3.4/nntplib.py +1134 -0
- package/python3.4.2/lib/python3.4/ntpath.py +625 -0
- package/python3.4.2/lib/python3.4/nturl2path.py +66 -0
- package/python3.4.2/lib/python3.4/numbers.py +394 -0
- package/python3.4.2/lib/python3.4/opcode.py +200 -0
- package/python3.4.2/lib/python3.4/operator.py +411 -0
- package/python3.4.2/lib/python3.4/optparse.py +1680 -0
- package/python3.4.2/lib/python3.4/os.py +980 -0
- package/python3.4.2/lib/python3.4/pathlib.py +1291 -0
- package/python3.4.2/lib/python3.4/pdb.py +1685 -0
- package/python3.4.2/lib/python3.4/pickle.py +1599 -0
- package/python3.4.2/lib/python3.4/pickletools.py +2818 -0
- package/python3.4.2/lib/python3.4/pipes.py +247 -0
- package/python3.4.2/lib/python3.4/pkgutil.py +629 -0
- package/python3.4.2/lib/python3.4/plat-linux/CDROM.py +207 -0
- package/python3.4.2/lib/python3.4/plat-linux/DLFCN.py +83 -0
- package/python3.4.2/lib/python3.4/plat-linux/IN.py +615 -0
- package/python3.4.2/lib/python3.4/plat-linux/TYPES.py +170 -0
- package/python3.4.2/lib/python3.4/plat-linux/regen +8 -0
- package/python3.4.2/lib/python3.4/platform.py +1476 -0
- package/python3.4.2/lib/python3.4/plistlib.py +1025 -0
- package/python3.4.2/lib/python3.4/poplib.py +461 -0
- package/python3.4.2/lib/python3.4/posixpath.py +457 -0
- package/python3.4.2/lib/python3.4/pprint.py +416 -0
- package/python3.4.2/lib/python3.4/profile.py +589 -0
- package/python3.4.2/lib/python3.4/pstats.py +691 -0
- package/python3.4.2/lib/python3.4/pty.py +170 -0
- package/python3.4.2/lib/python3.4/py_compile.py +185 -0
- package/python3.4.2/lib/python3.4/pyclbr.py +351 -0
- package/python3.4.2/lib/python3.4/pydoc.py +2622 -0
- package/python3.4.2/lib/python3.4/pydoc_data/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/pydoc_data/_pydoc.css +6 -0
- package/python3.4.2/lib/python3.4/pydoc_data/topics.py +79 -0
- package/python3.4.2/lib/python3.4/queue.py +249 -0
- package/python3.4.2/lib/python3.4/quopri.py +242 -0
- package/python3.4.2/lib/python3.4/random.py +742 -0
- package/python3.4.2/lib/python3.4/re.py +368 -0
- package/python3.4.2/lib/python3.4/reprlib.py +157 -0
- package/python3.4.2/lib/python3.4/rlcompleter.py +165 -0
- package/python3.4.2/lib/python3.4/runpy.py +271 -0
- package/python3.4.2/lib/python3.4/sched.py +167 -0
- package/python3.4.2/lib/python3.4/selectors.py +525 -0
- package/python3.4.2/lib/python3.4/shelve.py +239 -0
- package/python3.4.2/lib/python3.4/shlex.py +304 -0
- package/python3.4.2/lib/python3.4/shutil.py +1127 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/PKG-INFO +55 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/SOURCES.txt +126 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/dependency_links.txt +1 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/entry_points.txt +4 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/not-zip-safe +1 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/requires.txt +4 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/top_level.txt +1 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/__init__.py +69 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/_compat.py +150 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/_stringdefs.py +132 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/bccache.py +344 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/compiler.py +1640 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/constants.py +32 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/debug.py +337 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/defaults.py +43 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/environment.py +1191 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/exceptions.py +146 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/ext.py +636 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/filters.py +987 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/lexer.py +733 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/loaders.py +471 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/meta.py +103 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/nodes.py +914 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/optimizer.py +68 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/parser.py +895 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/runtime.py +581 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/sandbox.py +368 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/tests.py +149 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/__init__.py +156 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/api.py +261 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/bytecode_cache.py +37 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/core_tags.py +305 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/debug.py +58 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/doctests.py +29 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/ext.py +459 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/filters.py +515 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/imports.py +141 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/inheritance.py +250 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/lexnparse.py +593 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/loader.py +226 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/regression.py +279 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/templates/broken.html +3 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/templates/foo/test.html +1 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/templates/syntaxerror.html +4 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/templates/test.html +1 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/security.py +166 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/tests.py +93 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/utils.py +82 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/utils.py +520 -0
- package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/visitor.py +87 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/PKG-INFO +119 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/SOURCES.txt +17 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/dependency_links.txt +1 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/not-zip-safe +1 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/top_level.txt +1 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/__init__.py +298 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/_compat.py +26 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/_constants.py +267 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/_native.py +46 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/_speedups.c +239 -0
- package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/tests.py +179 -0
- package/python3.4.2/lib/python3.4/site-packages/README +2 -0
- package/python3.4.2/lib/python3.4/site-packages/_markerlib/__init__.py +16 -0
- package/python3.4.2/lib/python3.4/site-packages/_markerlib/markers.py +119 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/PKG-INFO +68 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/SOURCES.txt +23 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/dependency_links.txt +1 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/entry_points.txt +3 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/not-zip-safe +1 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/requires.txt +1 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/scripts/android-debian-builder +6 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/top_level.txt +1 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/__main__.py +26 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/build.py +63 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/config.py +82 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/data/deb.sh +106 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/data/default-config +42 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/data/first-time-setup.sh +94 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/data/init.sh +27 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/examples/jessie-armhf.cfg +26 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/run_tests.py +38 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/script.py +110 -0
- package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/util.py +177 -0
- package/python3.4.2/lib/python3.4/site-packages/easy-install.pth +4 -0
- package/python3.4.2/lib/python3.4/site-packages/easy_install.py +5 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/__init__.py +277 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/__main__.py +7 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/__init__.py +8 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/_markerlib/__init__.py +16 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/_markerlib/markers.py +119 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/__init__.py +7 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/ansi.py +50 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/ansitowin32.py +190 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/initialise.py +56 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/win32.py +137 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/winterm.py +120 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/__init__.py +23 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/__init__.py +6 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/misc.py +41 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/shutil.py +761 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/sysconfig.cfg +84 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/sysconfig.py +788 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/tarfile.py +2607 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/compat.py +1064 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/database.py +1301 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/index.py +488 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/locators.py +1194 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/manifest.py +364 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/markers.py +190 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/metadata.py +1026 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/resources.py +317 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/scripts.py +323 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/t32.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/t64.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/util.py +1575 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/version.py +721 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/w32.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/w64.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/wheel.py +958 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/__init__.py +23 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/constants.py +3104 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/_base.py +12 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.py +20 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/inject_meta_charset.py +65 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/lint.py +93 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/optionaltags.py +205 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/sanitizer.py +12 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/whitespace.py +38 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/html5parser.py +2713 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/ihatexml.py +285 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/inputstream.py +881 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/sanitizer.py +271 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/serializer/__init__.py +16 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/serializer/htmlserializer.py +320 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/tokenizer.py +1731 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treeadapters/sax.py +44 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/__init__.py +76 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/_base.py +377 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/dom.py +227 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/etree.py +337 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/etree_lxml.py +369 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/__init__.py +57 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/_base.py +200 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/dom.py +46 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/etree.py +138 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/genshistream.py +69 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/lxmletree.py +208 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/pulldom.py +63 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/trie/__init__.py +12 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/trie/_base.py +37 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/trie/datrie.py +44 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/trie/py.py +67 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/utils.py +82 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/pkg_resources.py +2762 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/re-vendor.py +34 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/__init__.py +77 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/adapters.py +388 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/api.py +120 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/auth.py +193 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/cacert.pem +5026 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/certs.py +24 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/compat.py +115 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/cookies.py +454 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/exceptions.py +75 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/hooks.py +45 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/models.py +803 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/__init__.py +3 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/__init__.py +32 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/big5freq.py +925 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/big5prober.py +42 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/chardetect.py +46 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/chardistribution.py +231 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/charsetgroupprober.py +106 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/charsetprober.py +62 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/codingstatemachine.py +61 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/compat.py +34 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/constants.py +39 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/cp949prober.py +44 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/escprober.py +86 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/escsm.py +242 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/eucjpprober.py +90 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/euckrfreq.py +596 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/euckrprober.py +42 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/euctwfreq.py +428 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/euctwprober.py +41 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/gb2312freq.py +472 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/gb2312prober.py +41 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/hebrewprober.py +283 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/jisfreq.py +569 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/jpcntx.py +219 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langbulgarianmodel.py +229 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langcyrillicmodel.py +329 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langgreekmodel.py +225 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langhebrewmodel.py +201 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langhungarianmodel.py +225 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langthaimodel.py +200 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/latin1prober.py +139 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/mbcharsetprober.py +86 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/mbcsgroupprober.py +54 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/mbcssm.py +575 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/sbcharsetprober.py +120 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/sbcsgroupprober.py +69 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/sjisprober.py +91 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/universaldetector.py +170 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/utf8prober.py +76 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/__init__.py +58 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/_collections.py +205 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/connection.py +204 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py +710 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/contrib/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/contrib/ntlmpool.py +120 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/contrib/pyopenssl.py +422 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/exceptions.py +126 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/fields.py +177 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/filepost.py +100 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/__init__.py +4 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/ordered_dict.py +260 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/six.py +385 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname/__init__.py +13 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.py +105 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/poolmanager.py +258 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/request.py +141 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/response.py +308 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/__init__.py +27 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/connection.py +45 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/request.py +68 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/response.py +13 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py +133 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/timeout.py +234 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/url.py +162 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/sessions.py +637 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/status_codes.py +88 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/structures.py +127 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/utils.py +673 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/six.py +646 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/backwardcompat/__init__.py +138 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/basecommand.py +201 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/baseparser.py +224 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/cmdoptions.py +371 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/__init__.py +88 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/bundle.py +42 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/completion.py +59 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/freeze.py +114 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/help.py +33 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/install.py +314 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/list.py +162 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/search.py +132 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/show.py +80 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/uninstall.py +59 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/unzip.py +7 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/wheel.py +195 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/commands/zip.py +351 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/download.py +644 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/exceptions.py +46 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/index.py +990 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/locations.py +172 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/log.py +276 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/pep425tags.py +102 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/req.py +1931 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/runner.py +18 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/status_codes.py +6 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/util.py +720 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/vcs/__init__.py +251 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/vcs/bazaar.py +131 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/vcs/git.py +194 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/vcs/mercurial.py +151 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/vcs/subversion.py +273 -0
- package/python3.4.2/lib/python3.4/site-packages/pip/wheel.py +560 -0
- package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/DESCRIPTION.rst +71 -0
- package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/METADATA +98 -0
- package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/RECORD +373 -0
- package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/WHEEL +6 -0
- package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/entry_points.txt +5 -0
- package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/metadata.json +1 -0
- package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/top_level.txt +1 -0
- package/python3.4.2/lib/python3.4/site-packages/pkg_resources.py +2719 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/__init__.py +98 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/archive_util.py +210 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/cli-32.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/cli-64.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/cli-arm-32.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/cli.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/__init__.py +17 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/alias.py +82 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/bdist_egg.py +553 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/bdist_rpm.py +82 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/bdist_wininst.py +82 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/build_ext.py +298 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/build_py.py +221 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/develop.py +167 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/easy_install.py +1915 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/egg_info.py +392 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/install.py +103 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/install_egg_info.py +125 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/install_lib.py +82 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/install_scripts.py +54 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/launcher manifest.xml +15 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/register.py +10 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/rotate.py +83 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/saveopts.py +24 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/sdist.py +238 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/setopt.py +164 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/test.py +198 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/command/upload_docs.py +193 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/compat.py +83 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/depends.py +246 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/dist.py +796 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/extension.py +46 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/gui-32.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/gui-64.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/gui-arm-32.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/gui.exe +0 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/lib2to3_ex.py +58 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/package_index.py +1057 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/py26compat.py +19 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/py27compat.py +15 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/py31compat.py +11 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/sandbox.py +322 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/script template (dev).py +11 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/script template.py +4 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/site-patch.py +83 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/ssl_support.py +234 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/svn_utils.py +564 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/__init__.py +352 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/doctest.py +2683 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/environment.py +165 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/py26compat.py +14 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/script-with-bom.py +3 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/server.py +82 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_bdist_egg.py +69 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_build_ext.py +20 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_develop.py +122 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_dist_info.py +83 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_easy_install.py +394 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_egg_info.py +173 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_markerlib.py +68 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_packageindex.py +203 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_resources.py +620 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_sandbox.py +79 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_sdist.py +535 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_svn.py +246 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_test.py +124 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_upload_docs.py +72 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools/version.py +1 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/DESCRIPTION.rst +1742 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/METADATA +1772 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/RECORD +149 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/WHEEL +6 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/dependency_links.txt +2 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/entry_points.txt +62 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/entry_points.txt.orig +62 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/pydist.json +1 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/requires.txt.orig +7 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/top_level.txt +4 -0
- package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/zip-safe +1 -0
- package/python3.4.2/lib/python3.4/site.py +616 -0
- package/python3.4.2/lib/python3.4/smtpd.py +861 -0
- package/python3.4.2/lib/python3.4/smtplib.py +999 -0
- package/python3.4.2/lib/python3.4/sndhdr.py +240 -0
- package/python3.4.2/lib/python3.4/socket.py +535 -0
- package/python3.4.2/lib/python3.4/socketserver.py +748 -0
- package/python3.4.2/lib/python3.4/sqlite3/__init__.py +23 -0
- package/python3.4.2/lib/python3.4/sqlite3/dbapi2.py +89 -0
- package/python3.4.2/lib/python3.4/sqlite3/dump.py +70 -0
- package/python3.4.2/lib/python3.4/sqlite3/test/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/sqlite3/test/dbapi.py +911 -0
- package/python3.4.2/lib/python3.4/sqlite3/test/dump.py +81 -0
- package/python3.4.2/lib/python3.4/sqlite3/test/factory.py +253 -0
- package/python3.4.2/lib/python3.4/sqlite3/test/hooks.py +258 -0
- package/python3.4.2/lib/python3.4/sqlite3/test/regression.py +358 -0
- package/python3.4.2/lib/python3.4/sqlite3/test/transactions.py +204 -0
- package/python3.4.2/lib/python3.4/sqlite3/test/types.py +403 -0
- package/python3.4.2/lib/python3.4/sqlite3/test/userfunctions.py +468 -0
- package/python3.4.2/lib/python3.4/sre_compile.py +489 -0
- package/python3.4.2/lib/python3.4/sre_constants.py +261 -0
- package/python3.4.2/lib/python3.4/sre_parse.py +859 -0
- package/python3.4.2/lib/python3.4/ssl.py +945 -0
- package/python3.4.2/lib/python3.4/stat.py +155 -0
- package/python3.4.2/lib/python3.4/statistics.py +595 -0
- package/python3.4.2/lib/python3.4/string.py +282 -0
- package/python3.4.2/lib/python3.4/stringprep.py +272 -0
- package/python3.4.2/lib/python3.4/struct.py +15 -0
- package/python3.4.2/lib/python3.4/subprocess.py +1690 -0
- package/python3.4.2/lib/python3.4/sunau.py +525 -0
- package/python3.4.2/lib/python3.4/symbol.py +111 -0
- package/python3.4.2/lib/python3.4/symtable.py +240 -0
- package/python3.4.2/lib/python3.4/sysconfig.py +709 -0
- package/python3.4.2/lib/python3.4/tabnanny.py +332 -0
- package/python3.4.2/lib/python3.4/tarfile.py +2519 -0
- package/python3.4.2/lib/python3.4/telnetlib.py +672 -0
- package/python3.4.2/lib/python3.4/tempfile.py +698 -0
- package/python3.4.2/lib/python3.4/test/185test.db +0 -0
- package/python3.4.2/lib/python3.4/test/Sine-1000Hz-300ms.aif +0 -0
- package/python3.4.2/lib/python3.4/test/__init__.py +1 -0
- package/python3.4.2/lib/python3.4/test/__main__.py +3 -0
- package/python3.4.2/lib/python3.4/test/_test_multiprocessing.py +3841 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-alaw.aifc +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm16.aiff +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm16.au +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm16.wav +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm24.aiff +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm24.au +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm24.wav +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm32.aiff +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm32.au +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm32.wav +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm8.aiff +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm8.au +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm8.wav +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-ulaw.aifc +0 -0
- package/python3.4.2/lib/python3.4/test/audiodata/pluck-ulaw.au +0 -0
- package/python3.4.2/lib/python3.4/test/audiotest.au +0 -0
- package/python3.4.2/lib/python3.4/test/audiotests.py +329 -0
- package/python3.4.2/lib/python3.4/test/autotest.py +6 -0
- package/python3.4.2/lib/python3.4/test/bad_coding.py +1 -0
- package/python3.4.2/lib/python3.4/test/bad_coding2.py +2 -0
- package/python3.4.2/lib/python3.4/test/badcert.pem +36 -0
- package/python3.4.2/lib/python3.4/test/badkey.pem +40 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_3131.py +2 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_future10.py +3 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_future3.py +10 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_future4.py +10 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_future5.py +12 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_future6.py +10 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_future7.py +11 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_future8.py +10 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_future9.py +10 -0
- package/python3.4.2/lib/python3.4/test/badsyntax_pep3120.py +1 -0
- package/python3.4.2/lib/python3.4/test/buffer_tests.py +218 -0
- package/python3.4.2/lib/python3.4/test/bytecode_helper.py +41 -0
- package/python3.4.2/lib/python3.4/test/capath/4e1295a3.0 +14 -0
- package/python3.4.2/lib/python3.4/test/capath/5ed36f99.0 +41 -0
- package/python3.4.2/lib/python3.4/test/capath/6e88d7b8.0 +14 -0
- package/python3.4.2/lib/python3.4/test/capath/99d0fa06.0 +41 -0
- package/python3.4.2/lib/python3.4/test/cfgparser.1 +2 -0
- package/python3.4.2/lib/python3.4/test/cfgparser.2 +537 -0
- package/python3.4.2/lib/python3.4/test/cfgparser.3 +69 -0
- package/python3.4.2/lib/python3.4/test/check_soundcard.vbs +13 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/big5-utf8.txt +9 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/big5.txt +9 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/big5hkscs-utf8.txt +2 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/big5hkscs.txt +2 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/cp949-utf8.txt +9 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/cp949.txt +9 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/euc_jisx0213-utf8.txt +8 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/euc_jisx0213.txt +8 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/euc_jp-utf8.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/euc_jp.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/euc_kr-utf8.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/euc_kr.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/gb18030-utf8.txt +15 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/gb18030.txt +15 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/gb2312-utf8.txt +6 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/gb2312.txt +6 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/gbk-utf8.txt +14 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/gbk.txt +14 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/hz-utf8.txt +2 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/hz.txt +2 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/iso2022_jp-utf8.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/iso2022_jp.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/iso2022_kr-utf8.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/iso2022_kr.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/johab-utf8.txt +9 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/johab.txt +9 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/shift_jis-utf8.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/shift_jis.txt +7 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/shift_jisx0213-utf8.txt +8 -0
- package/python3.4.2/lib/python3.4/test/cjkencodings/shift_jisx0213.txt +8 -0
- package/python3.4.2/lib/python3.4/test/cmath_testcases.txt +2370 -0
- package/python3.4.2/lib/python3.4/test/coding20731.py +4 -0
- package/python3.4.2/lib/python3.4/test/curses_tests.py +46 -0
- package/python3.4.2/lib/python3.4/test/data/README +2 -0
- package/python3.4.2/lib/python3.4/test/datetimetester.py +3786 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/abs.decTest +161 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/add.decTest +2716 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/and.decTest +338 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/base.decTest +1411 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/clamp.decTest +211 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/class.decTest +131 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/compare.decTest +758 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/comparetotal.decTest +798 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/comparetotmag.decTest +790 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/copy.decTest +86 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/copyabs.decTest +86 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/copynegate.decTest +86 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/copysign.decTest +177 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddAbs.decTest +126 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddAdd.decTest +1328 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddAnd.decTest +347 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddBase.decTest +1104 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCanonical.decTest +357 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddClass.decTest +76 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCompare.decTest +744 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCompareSig.decTest +647 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCompareTotal.decTest +706 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCompareTotalMag.decTest +706 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCopy.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCopyAbs.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCopyNegate.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCopySign.decTest +175 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddDivide.decTest +863 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddDivideInt.decTest +449 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddEncode.decTest +495 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddFMA.decTest +1698 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddInvert.decTest +202 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddLogB.decTest +159 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMax.decTest +322 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMaxMag.decTest +304 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMin.decTest +309 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMinMag.decTest +293 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMinus.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMultiply.decTest +553 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddNextMinus.decTest +126 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddNextPlus.decTest +124 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddNextToward.decTest +374 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddOr.decTest +292 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddPlus.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddQuantize.decTest +833 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddReduce.decTest +182 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddRemainder.decTest +600 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddRemainderNear.decTest +629 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddRotate.decTest +262 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddSameQuantum.decTest +389 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddScaleB.decTest +243 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddShift.decTest +262 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddSubtract.decTest +629 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddToIntegral.decTest +257 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ddXor.decTest +337 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/decDouble.decTest +65 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/decQuad.decTest +65 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/decSingle.decTest +25 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/divide.decTest +854 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/divideint.decTest +486 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqAbs.decTest +126 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqAdd.decTest +1215 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqAnd.decTest +420 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqBase.decTest +1081 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCanonical.decTest +372 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqClass.decTest +77 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCompare.decTest +753 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCompareSig.decTest +647 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCompareTotal.decTest +706 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCompareTotalMag.decTest +706 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCopy.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCopyAbs.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCopyNegate.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCopySign.decTest +175 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqDivide.decTest +808 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqDivideInt.decTest +453 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqEncode.decTest +477 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqFMA.decTest +1786 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqInvert.decTest +245 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqLogB.decTest +160 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMax.decTest +322 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMaxMag.decTest +304 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMin.decTest +309 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMinMag.decTest +293 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMinus.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMultiply.decTest +589 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqNextMinus.decTest +126 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqNextPlus.decTest +124 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqNextToward.decTest +375 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqOr.decTest +401 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqPlus.decTest +88 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqQuantize.decTest +836 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqReduce.decTest +183 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqRemainder.decTest +597 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqRemainderNear.decTest +631 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqRotate.decTest +298 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqSameQuantum.decTest +389 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqScaleB.decTest +260 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqShift.decTest +298 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqSubtract.decTest +635 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqToIntegral.decTest +257 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dqXor.decTest +410 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dsBase.decTest +1062 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/dsEncode.decTest +372 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/exp.decTest +674 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/extra.decTest +2830 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/fma.decTest +3426 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/inexact.decTest +215 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/invert.decTest +176 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/ln.decTest +611 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/log10.decTest +551 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/logb.decTest +188 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/max.decTest +424 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/maxmag.decTest +404 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/min.decTest +407 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/minmag.decTest +390 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/minus.decTest +182 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/multiply.decTest +731 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/nextminus.decTest +148 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/nextplus.decTest +150 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/nexttoward.decTest +426 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/or.decTest +334 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/plus.decTest +195 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/power.decTest +1624 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/powersqrt.decTest +2970 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/quantize.decTest +948 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/randomBound32.decTest +2443 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/randoms.decTest +4030 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/reduce.decTest +234 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/remainder.decTest +640 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/remainderNear.decTest +572 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/rescale.decTest +764 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/rotate.decTest +247 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/rounding.decTest +1303 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/samequantum.decTest +389 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/scaleb.decTest +209 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/shift.decTest +250 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/squareroot.decTest +3834 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/subtract.decTest +873 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/testall.decTest +87 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/tointegral.decTest +241 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/tointegralx.decTest +255 -0
- package/python3.4.2/lib/python3.4/test/decimaltestdata/xor.decTest +335 -0
- package/python3.4.2/lib/python3.4/test/dh512.pem +9 -0
- package/python3.4.2/lib/python3.4/test/dis_module.py +5 -0
- package/python3.4.2/lib/python3.4/test/doctest_aliases.py +13 -0
- package/python3.4.2/lib/python3.4/test/double_const.py +30 -0
- package/python3.4.2/lib/python3.4/test/empty.vbs +1 -0
- package/python3.4.2/lib/python3.4/test/encoded_modules/__init__.py +23 -0
- package/python3.4.2/lib/python3.4/test/encoded_modules/module_iso_8859_1.py +5 -0
- package/python3.4.2/lib/python3.4/test/encoded_modules/module_koi8_r.py +3 -0
- package/python3.4.2/lib/python3.4/test/exception_hierarchy.txt +61 -0
- package/python3.4.2/lib/python3.4/test/final_a.py +19 -0
- package/python3.4.2/lib/python3.4/test/final_b.py +19 -0
- package/python3.4.2/lib/python3.4/test/floating_points.txt +1028 -0
- package/python3.4.2/lib/python3.4/test/fork_wait.py +77 -0
- package/python3.4.2/lib/python3.4/test/formatfloat_testcases.txt +355 -0
- package/python3.4.2/lib/python3.4/test/future_test1.py +11 -0
- package/python3.4.2/lib/python3.4/test/future_test2.py +10 -0
- package/python3.4.2/lib/python3.4/test/gdb_sample.py +12 -0
- package/python3.4.2/lib/python3.4/test/https_svn_python_org_root.pem +41 -0
- package/python3.4.2/lib/python3.4/test/ieee754.txt +185 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.bmp +0 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.gif +0 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.jpg +0 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.pbm +3 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.pgm +0 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.png +0 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.ppm +0 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.ras +0 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.sgi +0 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.tiff +0 -0
- package/python3.4.2/lib/python3.4/test/imghdrdata/python.xbm +6 -0
- package/python3.4.2/lib/python3.4/test/inspect_fodder.py +58 -0
- package/python3.4.2/lib/python3.4/test/inspect_fodder2.py +111 -0
- package/python3.4.2/lib/python3.4/test/keycert.passwd.pem +33 -0
- package/python3.4.2/lib/python3.4/test/keycert.pem +31 -0
- package/python3.4.2/lib/python3.4/test/keycert2.pem +31 -0
- package/python3.4.2/lib/python3.4/test/keycert3.pem +73 -0
- package/python3.4.2/lib/python3.4/test/keycert4.pem +73 -0
- package/python3.4.2/lib/python3.4/test/list_tests.py +585 -0
- package/python3.4.2/lib/python3.4/test/lock_tests.py +896 -0
- package/python3.4.2/lib/python3.4/test/mailcap.txt +39 -0
- package/python3.4.2/lib/python3.4/test/make_ssl_certs.py +176 -0
- package/python3.4.2/lib/python3.4/test/mapping_tests.py +657 -0
- package/python3.4.2/lib/python3.4/test/math_testcases.txt +633 -0
- package/python3.4.2/lib/python3.4/test/memory_watchdog.py +28 -0
- package/python3.4.2/lib/python3.4/test/mime.types +1445 -0
- package/python3.4.2/lib/python3.4/test/mock_socket.py +156 -0
- package/python3.4.2/lib/python3.4/test/mp_fork_bomb.py +18 -0
- package/python3.4.2/lib/python3.4/test/multibytecodec_support.py +377 -0
- package/python3.4.2/lib/python3.4/test/nokia.pem +31 -0
- package/python3.4.2/lib/python3.4/test/nullbytecert.pem +90 -0
- package/python3.4.2/lib/python3.4/test/nullcert.pem +0 -0
- package/python3.4.2/lib/python3.4/test/outstanding_bugs.py +18 -0
- package/python3.4.2/lib/python3.4/test/pickletester.py +2253 -0
- package/python3.4.2/lib/python3.4/test/profilee.py +115 -0
- package/python3.4.2/lib/python3.4/test/pstats.pck +0 -0
- package/python3.4.2/lib/python3.4/test/pycacert.pem +78 -0
- package/python3.4.2/lib/python3.4/test/pycakey.pem +28 -0
- package/python3.4.2/lib/python3.4/test/pyclbr_input.py +33 -0
- package/python3.4.2/lib/python3.4/test/pydoc_mod.py +37 -0
- package/python3.4.2/lib/python3.4/test/pydocfodder.py +216 -0
- package/python3.4.2/lib/python3.4/test/pystone.py +277 -0
- package/python3.4.2/lib/python3.4/test/randv2_32.pck +633 -0
- package/python3.4.2/lib/python3.4/test/randv2_64.pck +633 -0
- package/python3.4.2/lib/python3.4/test/randv3.pck +633 -0
- package/python3.4.2/lib/python3.4/test/re_tests.py +670 -0
- package/python3.4.2/lib/python3.4/test/regrtest.py +1589 -0
- package/python3.4.2/lib/python3.4/test/relimport.py +1 -0
- package/python3.4.2/lib/python3.4/test/reperf.py +23 -0
- package/python3.4.2/lib/python3.4/test/revocation.crl +11 -0
- package/python3.4.2/lib/python3.4/test/sample_doctest.py +76 -0
- package/python3.4.2/lib/python3.4/test/sample_doctest_no_docstrings.py +12 -0
- package/python3.4.2/lib/python3.4/test/sample_doctest_no_doctests.py +15 -0
- package/python3.4.2/lib/python3.4/test/script_helper.py +178 -0
- package/python3.4.2/lib/python3.4/test/seq_tests.py +397 -0
- package/python3.4.2/lib/python3.4/test/sgml_input.html +212 -0
- package/python3.4.2/lib/python3.4/test/sha256.pem +128 -0
- package/python3.4.2/lib/python3.4/test/sndhdrdata/README +12 -0
- package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.8svx +0 -0
- package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.aifc +0 -0
- package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.aiff +0 -0
- package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.au +0 -0
- package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.hcom +0 -0
- package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.sndt +0 -0
- package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.voc +0 -0
- package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.wav +0 -0
- package/python3.4.2/lib/python3.4/test/sortperf.py +169 -0
- package/python3.4.2/lib/python3.4/test/ssl_cert.pem +15 -0
- package/python3.4.2/lib/python3.4/test/ssl_key.passwd.pem +18 -0
- package/python3.4.2/lib/python3.4/test/ssl_key.pem +16 -0
- package/python3.4.2/lib/python3.4/test/ssl_servers.py +205 -0
- package/python3.4.2/lib/python3.4/test/ssltests.py +22 -0
- package/python3.4.2/lib/python3.4/test/string_tests.py +1385 -0
- package/python3.4.2/lib/python3.4/test/subprocessdata/fd_status.py +34 -0
- package/python3.4.2/lib/python3.4/test/subprocessdata/input_reader.py +7 -0
- package/python3.4.2/lib/python3.4/test/subprocessdata/qcat.py +7 -0
- package/python3.4.2/lib/python3.4/test/subprocessdata/qgrep.py +10 -0
- package/python3.4.2/lib/python3.4/test/subprocessdata/sigchild_ignore.py +15 -0
- package/python3.4.2/lib/python3.4/test/support/__init__.py +2241 -0
- package/python3.4.2/lib/python3.4/test/test___all__.py +117 -0
- package/python3.4.2/lib/python3.4/test/test___future__.py +65 -0
- package/python3.4.2/lib/python3.4/test/test__locale.py +170 -0
- package/python3.4.2/lib/python3.4/test/test__opcode.py +23 -0
- package/python3.4.2/lib/python3.4/test/test__osx_support.py +281 -0
- package/python3.4.2/lib/python3.4/test/test_abc.py +408 -0
- package/python3.4.2/lib/python3.4/test/test_abstract_numbers.py +44 -0
- package/python3.4.2/lib/python3.4/test/test_aifc.py +384 -0
- package/python3.4.2/lib/python3.4/test/test_argparse.py +4979 -0
- package/python3.4.2/lib/python3.4/test/test_array.py +1323 -0
- package/python3.4.2/lib/python3.4/test/test_ast.py +1038 -0
- package/python3.4.2/lib/python3.4/test/test_asynchat.py +333 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/__init__.py +10 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/echo.py +8 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/echo2.py +6 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/echo3.py +11 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/keycert3.pem +73 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/pycacert.pem +78 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/ssl_cert.pem +15 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/ssl_key.pem +16 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_base_events.py +1064 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_events.py +2240 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_futures.py +442 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_locks.py +858 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_proactor_events.py +492 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_queues.py +476 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_selector_events.py +1737 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_streams.py +628 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_subprocess.py +217 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_tasks.py +1977 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_transports.py +90 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_unix_events.py +1582 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_windows_events.py +141 -0
- package/python3.4.2/lib/python3.4/test/test_asyncio/test_windows_utils.py +171 -0
- package/python3.4.2/lib/python3.4/test/test_asyncore.py +859 -0
- package/python3.4.2/lib/python3.4/test/test_atexit.py +185 -0
- package/python3.4.2/lib/python3.4/test/test_audioop.py +534 -0
- package/python3.4.2/lib/python3.4/test/test_augassign.py +315 -0
- package/python3.4.2/lib/python3.4/test/test_base64.py +666 -0
- package/python3.4.2/lib/python3.4/test/test_bigaddrspace.py +101 -0
- package/python3.4.2/lib/python3.4/test/test_bigmem.py +1257 -0
- package/python3.4.2/lib/python3.4/test/test_binascii.py +270 -0
- package/python3.4.2/lib/python3.4/test/test_binhex.py +56 -0
- package/python3.4.2/lib/python3.4/test/test_binop.py +380 -0
- package/python3.4.2/lib/python3.4/test/test_bisect.py +328 -0
- package/python3.4.2/lib/python3.4/test/test_bool.py +347 -0
- package/python3.4.2/lib/python3.4/test/test_buffer.py +4294 -0
- package/python3.4.2/lib/python3.4/test/test_bufio.py +73 -0
- package/python3.4.2/lib/python3.4/test/test_builtin.py +1637 -0
- package/python3.4.2/lib/python3.4/test/test_bytes.py +1433 -0
- package/python3.4.2/lib/python3.4/test/test_bz2.py +880 -0
- package/python3.4.2/lib/python3.4/test/test_calendar.py +714 -0
- package/python3.4.2/lib/python3.4/test/test_call.py +131 -0
- package/python3.4.2/lib/python3.4/test/test_capi.py +469 -0
- package/python3.4.2/lib/python3.4/test/test_cgi.py +489 -0
- package/python3.4.2/lib/python3.4/test/test_cgitb.py +70 -0
- package/python3.4.2/lib/python3.4/test/test_charmapcodec.py +56 -0
- package/python3.4.2/lib/python3.4/test/test_class.py +552 -0
- package/python3.4.2/lib/python3.4/test/test_cmath.py +536 -0
- package/python3.4.2/lib/python3.4/test/test_cmd.py +243 -0
- package/python3.4.2/lib/python3.4/test/test_cmd_line.py +473 -0
- package/python3.4.2/lib/python3.4/test/test_cmd_line_script.py +481 -0
- package/python3.4.2/lib/python3.4/test/test_code.py +170 -0
- package/python3.4.2/lib/python3.4/test/test_code_module.py +86 -0
- package/python3.4.2/lib/python3.4/test/test_codeccallbacks.py +880 -0
- package/python3.4.2/lib/python3.4/test/test_codecencodings_cn.py +90 -0
- package/python3.4.2/lib/python3.4/test/test_codecencodings_hk.py +26 -0
- package/python3.4.2/lib/python3.4/test/test_codecencodings_iso2022.py +45 -0
- package/python3.4.2/lib/python3.4/test/test_codecencodings_jp.py +130 -0
- package/python3.4.2/lib/python3.4/test/test_codecencodings_kr.py +73 -0
- package/python3.4.2/lib/python3.4/test/test_codecencodings_tw.py +26 -0
- package/python3.4.2/lib/python3.4/test/test_codecmaps_cn.py +29 -0
- package/python3.4.2/lib/python3.4/test/test_codecmaps_hk.py +16 -0
- package/python3.4.2/lib/python3.4/test/test_codecmaps_jp.py +63 -0
- package/python3.4.2/lib/python3.4/test/test_codecmaps_kr.py +40 -0
- package/python3.4.2/lib/python3.4/test/test_codecmaps_tw.py +30 -0
- package/python3.4.2/lib/python3.4/test/test_codecs.py +2901 -0
- package/python3.4.2/lib/python3.4/test/test_codeop.py +304 -0
- package/python3.4.2/lib/python3.4/test/test_collections.py +1552 -0
- package/python3.4.2/lib/python3.4/test/test_colorsys.py +100 -0
- package/python3.4.2/lib/python3.4/test/test_compare.py +67 -0
- package/python3.4.2/lib/python3.4/test/test_compile.py +561 -0
- package/python3.4.2/lib/python3.4/test/test_compileall.py +384 -0
- package/python3.4.2/lib/python3.4/test/test_complex.py +638 -0
- package/python3.4.2/lib/python3.4/test/test_concurrent_futures.py +685 -0
- package/python3.4.2/lib/python3.4/test/test_configparser.py +1768 -0
- package/python3.4.2/lib/python3.4/test/test_contains.py +93 -0
- package/python3.4.2/lib/python3.4/test/test_contextlib.py +828 -0
- package/python3.4.2/lib/python3.4/test/test_copy.py +759 -0
- package/python3.4.2/lib/python3.4/test/test_copyreg.py +121 -0
- package/python3.4.2/lib/python3.4/test/test_cprofile.py +98 -0
- package/python3.4.2/lib/python3.4/test/test_crashers.py +38 -0
- package/python3.4.2/lib/python3.4/test/test_crypt.py +33 -0
- package/python3.4.2/lib/python3.4/test/test_csv.py +1074 -0
- package/python3.4.2/lib/python3.4/test/test_ctypes.py +6 -0
- package/python3.4.2/lib/python3.4/test/test_curses.py +395 -0
- package/python3.4.2/lib/python3.4/test/test_datetime.py +48 -0
- package/python3.4.2/lib/python3.4/test/test_dbm.py +193 -0
- package/python3.4.2/lib/python3.4/test/test_dbm_dumb.py +228 -0
- package/python3.4.2/lib/python3.4/test/test_dbm_gnu.py +97 -0
- package/python3.4.2/lib/python3.4/test/test_dbm_ndbm.py +54 -0
- package/python3.4.2/lib/python3.4/test/test_decimal.py +5504 -0
- package/python3.4.2/lib/python3.4/test/test_decorators.py +309 -0
- package/python3.4.2/lib/python3.4/test/test_defaultdict.py +190 -0
- package/python3.4.2/lib/python3.4/test/test_deque.py +817 -0
- package/python3.4.2/lib/python3.4/test/test_descr.py +5006 -0
- package/python3.4.2/lib/python3.4/test/test_descrtut.py +485 -0
- package/python3.4.2/lib/python3.4/test/test_devpoll.py +146 -0
- package/python3.4.2/lib/python3.4/test/test_dict.py +928 -0
- package/python3.4.2/lib/python3.4/test/test_dictcomps.py +88 -0
- package/python3.4.2/lib/python3.4/test/test_dictviews.py +206 -0
- package/python3.4.2/lib/python3.4/test/test_difflib.py +298 -0
- package/python3.4.2/lib/python3.4/test/test_difflib_expect.html +526 -0
- package/python3.4.2/lib/python3.4/test/test_dis.py +832 -0
- package/python3.4.2/lib/python3.4/test/test_distutils.py +18 -0
- package/python3.4.2/lib/python3.4/test/test_doctest.py +2921 -0
- package/python3.4.2/lib/python3.4/test/test_doctest.txt +17 -0
- package/python3.4.2/lib/python3.4/test/test_doctest2.py +123 -0
- package/python3.4.2/lib/python3.4/test/test_doctest2.txt +14 -0
- package/python3.4.2/lib/python3.4/test/test_doctest3.txt +5 -0
- package/python3.4.2/lib/python3.4/test/test_doctest4.txt +11 -0
- package/python3.4.2/lib/python3.4/test/test_docxmlrpc.py +219 -0
- package/python3.4.2/lib/python3.4/test/test_dummy_thread.py +182 -0
- package/python3.4.2/lib/python3.4/test/test_dummy_threading.py +64 -0
- package/python3.4.2/lib/python3.4/test/test_dynamic.py +143 -0
- package/python3.4.2/lib/python3.4/test/test_dynamicclassattribute.py +304 -0
- package/python3.4.2/lib/python3.4/test/test_email/__init__.py +159 -0
- package/python3.4.2/lib/python3.4/test/test_email/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/PyBanner048.gif +0 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/audiotest.au +0 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_01.txt +19 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_02.txt +136 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_03.txt +16 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_04.txt +37 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_05.txt +28 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_06.txt +33 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_07.txt +83 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_08.txt +24 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_09.txt +24 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_10.txt +39 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_11.txt +7 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_12.txt +36 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_12a.txt +38 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_13.txt +94 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_14.txt +23 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_15.txt +52 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_16.txt +123 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_17.txt +12 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_18.txt +6 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_19.txt +43 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_20.txt +22 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_21.txt +20 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_22.txt +46 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_23.txt +8 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_24.txt +10 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_25.txt +117 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_26.txt +46 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_27.txt +15 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_28.txt +25 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_29.txt +22 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_30.txt +23 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_31.txt +15 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_32.txt +14 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_33.txt +29 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_34.txt +19 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_35.txt +4 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_36.txt +40 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_37.txt +22 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_38.txt +101 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_39.txt +83 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_40.txt +10 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_41.txt +8 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_42.txt +20 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_43.txt +217 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_44.txt +33 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_45.txt +33 -0
- package/python3.4.2/lib/python3.4/test/test_email/data/msg_46.txt +23 -0
- package/python3.4.2/lib/python3.4/test/test_email/test__encoded_words.py +192 -0
- package/python3.4.2/lib/python3.4/test/test_email/test__header_value_parser.py +2606 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_asian_codecs.py +82 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_contentmanager.py +796 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_defect_handling.py +320 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_email.py +5289 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_generator.py +199 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_headerregistry.py +1594 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_inversion.py +49 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_message.py +783 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_parser.py +36 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_pickleable.py +74 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_policy.py +332 -0
- package/python3.4.2/lib/python3.4/test/test_email/test_utils.py +140 -0
- package/python3.4.2/lib/python3.4/test/test_email/torture_test.py +136 -0
- package/python3.4.2/lib/python3.4/test/test_ensurepip.py +345 -0
- package/python3.4.2/lib/python3.4/test/test_enum.py +1592 -0
- package/python3.4.2/lib/python3.4/test/test_enumerate.py +272 -0
- package/python3.4.2/lib/python3.4/test/test_eof.py +31 -0
- package/python3.4.2/lib/python3.4/test/test_epoll.py +259 -0
- package/python3.4.2/lib/python3.4/test/test_errno.py +40 -0
- package/python3.4.2/lib/python3.4/test/test_exception_variations.py +180 -0
- package/python3.4.2/lib/python3.4/test/test_exceptions.py +978 -0
- package/python3.4.2/lib/python3.4/test/test_extcall.py +349 -0
- package/python3.4.2/lib/python3.4/test/test_faulthandler.py +623 -0
- package/python3.4.2/lib/python3.4/test/test_fcntl.py +152 -0
- package/python3.4.2/lib/python3.4/test/test_file.py +329 -0
- package/python3.4.2/lib/python3.4/test/test_file_eintr.py +236 -0
- package/python3.4.2/lib/python3.4/test/test_filecmp.py +217 -0
- package/python3.4.2/lib/python3.4/test/test_fileinput.py +891 -0
- package/python3.4.2/lib/python3.4/test/test_fileio.py +480 -0
- package/python3.4.2/lib/python3.4/test/test_finalization.py +522 -0
- package/python3.4.2/lib/python3.4/test/test_float.py +1312 -0
- package/python3.4.2/lib/python3.4/test/test_flufl.py +27 -0
- package/python3.4.2/lib/python3.4/test/test_fnmatch.py +89 -0
- package/python3.4.2/lib/python3.4/test/test_fork1.py +111 -0
- package/python3.4.2/lib/python3.4/test/test_format.py +362 -0
- package/python3.4.2/lib/python3.4/test/test_fractions.py +612 -0
- package/python3.4.2/lib/python3.4/test/test_frame.py +168 -0
- package/python3.4.2/lib/python3.4/test/test_ftplib.py +1080 -0
- package/python3.4.2/lib/python3.4/test/test_funcattrs.py +385 -0
- package/python3.4.2/lib/python3.4/test/test_functools.py +1584 -0
- package/python3.4.2/lib/python3.4/test/test_future.py +125 -0
- package/python3.4.2/lib/python3.4/test/test_future3.py +26 -0
- package/python3.4.2/lib/python3.4/test/test_future4.py +6 -0
- package/python3.4.2/lib/python3.4/test/test_future5.py +21 -0
- package/python3.4.2/lib/python3.4/test/test_gc.py +1013 -0
- package/python3.4.2/lib/python3.4/test/test_gdb.py +870 -0
- package/python3.4.2/lib/python3.4/test/test_generators.py +1940 -0
- package/python3.4.2/lib/python3.4/test/test_genericpath.py +439 -0
- package/python3.4.2/lib/python3.4/test/test_genexps.py +285 -0
- package/python3.4.2/lib/python3.4/test/test_getargs2.py +615 -0
- package/python3.4.2/lib/python3.4/test/test_getopt.py +187 -0
- package/python3.4.2/lib/python3.4/test/test_getpass.py +163 -0
- package/python3.4.2/lib/python3.4/test/test_gettext.py +467 -0
- package/python3.4.2/lib/python3.4/test/test_glob.py +200 -0
- package/python3.4.2/lib/python3.4/test/test_global.py +61 -0
- package/python3.4.2/lib/python3.4/test/test_grammar.py +1024 -0
- package/python3.4.2/lib/python3.4/test/test_grp.py +99 -0
- package/python3.4.2/lib/python3.4/test/test_gzip.py +561 -0
- package/python3.4.2/lib/python3.4/test/test_hash.py +346 -0
- package/python3.4.2/lib/python3.4/test/test_hashlib.py +533 -0
- package/python3.4.2/lib/python3.4/test/test_heapq.py +417 -0
- package/python3.4.2/lib/python3.4/test/test_hmac.py +506 -0
- package/python3.4.2/lib/python3.4/test/test_html.py +104 -0
- package/python3.4.2/lib/python3.4/test/test_htmlparser.py +832 -0
- package/python3.4.2/lib/python3.4/test/test_http_cookiejar.py +1714 -0
- package/python3.4.2/lib/python3.4/test/test_http_cookies.py +243 -0
- package/python3.4.2/lib/python3.4/test/test_httplib.py +1025 -0
- package/python3.4.2/lib/python3.4/test/test_httpservers.py +770 -0
- package/python3.4.2/lib/python3.4/test/test_idle.py +16 -0
- package/python3.4.2/lib/python3.4/test/test_imaplib.py +504 -0
- package/python3.4.2/lib/python3.4/test/test_imghdr.py +131 -0
- package/python3.4.2/lib/python3.4/test/test_imp.py +485 -0
- package/python3.4.2/lib/python3.4/test/test_import.py +1072 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/__init__.py +5 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/abc.py +94 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/builtin/__init__.py +5 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/builtin/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/builtin/test_finder.py +85 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/builtin/test_loader.py +106 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/builtin/util.py +7 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/extension/__init__.py +5 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/extension/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/extension/test_case_sensitivity.py +51 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/extension/test_finder.py +44 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/extension/test_loader.py +86 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/extension/test_path_hook.py +32 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/extension/util.py +19 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/frozen/__init__.py +5 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/frozen/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/frozen/test_finder.py +80 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/frozen/test_loader.py +222 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/__init__.py +5 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/test___loader__.py +70 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/test___package__.py +133 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_api.py +94 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_caching.py +92 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_fromlist.py +129 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_meta_path.py +119 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_packages.py +110 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_path.py +144 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_relative_imports.py +216 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/import_/util.py +20 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/both_portions/foo/one.py +1 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/both_portions/foo/two.py +1 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/missing_directory.zip +0 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test/empty +0 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test.py +1 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/nested_portion1.zip +0 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/not_a_namespace_pkg/foo/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/not_a_namespace_pkg/foo/one.py +1 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/portion1/foo/one.py +1 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/portion2/foo/two.py +1 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/project1/parent/child/one.py +1 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/project2/parent/child/two.py +1 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/project3/parent/child/three.py +1 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/top_level_portion1.zip +0 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/regrtest.py +17 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/source/__init__.py +5 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/source/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/source/test_case_sensitivity.py +83 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/source/test_file_loader.py +588 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/source/test_finder.py +232 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/source/test_path_hook.py +30 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/source/test_source_encoding.py +165 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/source/util.py +96 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/test_abc.py +951 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/test_api.py +437 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/test_locks.py +156 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/test_namespace_pkgs.py +293 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/test_spec.py +957 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/test_util.py +592 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/test_windows.py +29 -0
- package/python3.4.2/lib/python3.4/test/test_importlib/util.py +225 -0
- package/python3.4.2/lib/python3.4/test/test_index.py +275 -0
- package/python3.4.2/lib/python3.4/test/test_inspect.py +3103 -0
- package/python3.4.2/lib/python3.4/test/test_int.py +458 -0
- package/python3.4.2/lib/python3.4/test/test_int_literal.py +147 -0
- package/python3.4.2/lib/python3.4/test/test_io.py +3481 -0
- package/python3.4.2/lib/python3.4/test/test_ioctl.py +91 -0
- package/python3.4.2/lib/python3.4/test/test_ipaddress.py +1693 -0
- package/python3.4.2/lib/python3.4/test/test_isinstance.py +289 -0
- package/python3.4.2/lib/python3.4/test/test_iter.py +927 -0
- package/python3.4.2/lib/python3.4/test/test_iterlen.py +229 -0
- package/python3.4.2/lib/python3.4/test/test_itertools.py +2142 -0
- package/python3.4.2/lib/python3.4/test/test_json/__init__.py +53 -0
- package/python3.4.2/lib/python3.4/test/test_json/__main__.py +4 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_decode.py +99 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_default.py +12 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_dump.py +49 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_encode_basestring_ascii.py +44 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_enum.py +120 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_fail.py +194 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_float.py +33 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_indent.py +67 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_pass1.py +75 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_pass2.py +18 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_pass3.py +24 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_recursion.py +100 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_scanstring.py +141 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_separators.py +44 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_speedups.py +24 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_tool.py +69 -0
- package/python3.4.2/lib/python3.4/test/test_json/test_unicode.py +75 -0
- package/python3.4.2/lib/python3.4/test/test_keyword.py +138 -0
- package/python3.4.2/lib/python3.4/test/test_keywordonlyarg.py +193 -0
- package/python3.4.2/lib/python3.4/test/test_kqueue.py +219 -0
- package/python3.4.2/lib/python3.4/test/test_largefile.py +180 -0
- package/python3.4.2/lib/python3.4/test/test_lib2to3.py +22 -0
- package/python3.4.2/lib/python3.4/test/test_linecache.py +133 -0
- package/python3.4.2/lib/python3.4/test/test_list.py +125 -0
- package/python3.4.2/lib/python3.4/test/test_listcomps.py +148 -0
- package/python3.4.2/lib/python3.4/test/test_locale.py +528 -0
- package/python3.4.2/lib/python3.4/test/test_logging.py +4179 -0
- package/python3.4.2/lib/python3.4/test/test_long.py +1250 -0
- package/python3.4.2/lib/python3.4/test/test_longexp.py +14 -0
- package/python3.4.2/lib/python3.4/test/test_lzma.py +1592 -0
- package/python3.4.2/lib/python3.4/test/test_macpath.py +123 -0
- package/python3.4.2/lib/python3.4/test/test_macurl2path.py +31 -0
- package/python3.4.2/lib/python3.4/test/test_mailbox.py +2287 -0
- package/python3.4.2/lib/python3.4/test/test_mailcap.py +221 -0
- package/python3.4.2/lib/python3.4/test/test_marshal.py +451 -0
- package/python3.4.2/lib/python3.4/test/test_math.py +1107 -0
- package/python3.4.2/lib/python3.4/test/test_memoryio.py +784 -0
- package/python3.4.2/lib/python3.4/test/test_memoryview.py +478 -0
- package/python3.4.2/lib/python3.4/test/test_metaclass.py +265 -0
- package/python3.4.2/lib/python3.4/test/test_mimetypes.py +111 -0
- package/python3.4.2/lib/python3.4/test/test_minidom.py +1545 -0
- package/python3.4.2/lib/python3.4/test/test_mmap.py +774 -0
- package/python3.4.2/lib/python3.4/test/test_module.py +222 -0
- package/python3.4.2/lib/python3.4/test/test_modulefinder.py +324 -0
- package/python3.4.2/lib/python3.4/test/test_msilib.py +46 -0
- package/python3.4.2/lib/python3.4/test/test_multibytecodec.py +263 -0
- package/python3.4.2/lib/python3.4/test/test_multiprocessing_fork.py +7 -0
- package/python3.4.2/lib/python3.4/test/test_multiprocessing_forkserver.py +7 -0
- package/python3.4.2/lib/python3.4/test/test_multiprocessing_main_handling.py +289 -0
- package/python3.4.2/lib/python3.4/test/test_multiprocessing_spawn.py +7 -0
- package/python3.4.2/lib/python3.4/test/test_netrc.py +130 -0
- package/python3.4.2/lib/python3.4/test/test_nis.py +43 -0
- package/python3.4.2/lib/python3.4/test/test_nntplib.py +1429 -0
- package/python3.4.2/lib/python3.4/test/test_normalization.py +104 -0
- package/python3.4.2/lib/python3.4/test/test_ntpath.py +385 -0
- package/python3.4.2/lib/python3.4/test/test_numeric_tower.py +206 -0
- package/python3.4.2/lib/python3.4/test/test_opcodes.py +112 -0
- package/python3.4.2/lib/python3.4/test/test_openpty.py +25 -0
- package/python3.4.2/lib/python3.4/test/test_operator.py +484 -0
- package/python3.4.2/lib/python3.4/test/test_optparse.py +1657 -0
- package/python3.4.2/lib/python3.4/test/test_os.py +2550 -0
- package/python3.4.2/lib/python3.4/test/test_ossaudiodev.py +202 -0
- package/python3.4.2/lib/python3.4/test/test_osx_env.py +34 -0
- package/python3.4.2/lib/python3.4/test/test_parser.py +745 -0
- package/python3.4.2/lib/python3.4/test/test_pathlib.py +1884 -0
- package/python3.4.2/lib/python3.4/test/test_pdb.py +1052 -0
- package/python3.4.2/lib/python3.4/test/test_peepholer.py +339 -0
- package/python3.4.2/lib/python3.4/test/test_pep247.py +70 -0
- package/python3.4.2/lib/python3.4/test/test_pep277.py +201 -0
- package/python3.4.2/lib/python3.4/test/test_pep292.py +247 -0
- package/python3.4.2/lib/python3.4/test/test_pep3120.py +47 -0
- package/python3.4.2/lib/python3.4/test/test_pep3131.py +35 -0
- package/python3.4.2/lib/python3.4/test/test_pep3151.py +209 -0
- package/python3.4.2/lib/python3.4/test/test_pep352.py +184 -0
- package/python3.4.2/lib/python3.4/test/test_pep380.py +1023 -0
- package/python3.4.2/lib/python3.4/test/test_pickle.py +156 -0
- package/python3.4.2/lib/python3.4/test/test_pickletools.py +25 -0
- package/python3.4.2/lib/python3.4/test/test_pipes.py +196 -0
- package/python3.4.2/lib/python3.4/test/test_pkg.py +299 -0
- package/python3.4.2/lib/python3.4/test/test_pkgimport.py +84 -0
- package/python3.4.2/lib/python3.4/test/test_pkgutil.py +410 -0
- package/python3.4.2/lib/python3.4/test/test_platform.py +320 -0
- package/python3.4.2/lib/python3.4/test/test_plistlib.py +526 -0
- package/python3.4.2/lib/python3.4/test/test_poll.py +215 -0
- package/python3.4.2/lib/python3.4/test/test_popen.py +64 -0
- package/python3.4.2/lib/python3.4/test/test_poplib.py +507 -0
- package/python3.4.2/lib/python3.4/test/test_posix.py +1183 -0
- package/python3.4.2/lib/python3.4/test/test_posixpath.py +544 -0
- package/python3.4.2/lib/python3.4/test/test_pow.py +129 -0
- package/python3.4.2/lib/python3.4/test/test_pprint.py +602 -0
- package/python3.4.2/lib/python3.4/test/test_print.py +132 -0
- package/python3.4.2/lib/python3.4/test/test_profile.py +187 -0
- package/python3.4.2/lib/python3.4/test/test_property.py +254 -0
- package/python3.4.2/lib/python3.4/test/test_pstats.py +45 -0
- package/python3.4.2/lib/python3.4/test/test_pty.py +302 -0
- package/python3.4.2/lib/python3.4/test/test_pulldom.py +347 -0
- package/python3.4.2/lib/python3.4/test/test_pwd.py +114 -0
- package/python3.4.2/lib/python3.4/test/test_py_compile.py +103 -0
- package/python3.4.2/lib/python3.4/test/test_pyclbr.py +181 -0
- package/python3.4.2/lib/python3.4/test/test_pydoc.py +1003 -0
- package/python3.4.2/lib/python3.4/test/test_pyexpat.py +708 -0
- package/python3.4.2/lib/python3.4/test/test_queue.py +363 -0
- package/python3.4.2/lib/python3.4/test/test_quopri.py +208 -0
- package/python3.4.2/lib/python3.4/test/test_raise.py +422 -0
- package/python3.4.2/lib/python3.4/test/test_random.py +759 -0
- package/python3.4.2/lib/python3.4/test/test_range.py +652 -0
- package/python3.4.2/lib/python3.4/test/test_re.py +1451 -0
- package/python3.4.2/lib/python3.4/test/test_readline.py +60 -0
- package/python3.4.2/lib/python3.4/test/test_regrtest.py +275 -0
- package/python3.4.2/lib/python3.4/test/test_reprlib.py +383 -0
- package/python3.4.2/lib/python3.4/test/test_resource.py +166 -0
- package/python3.4.2/lib/python3.4/test/test_richcmp.py +333 -0
- package/python3.4.2/lib/python3.4/test/test_rlcompleter.py +73 -0
- package/python3.4.2/lib/python3.4/test/test_robotparser.py +320 -0
- package/python3.4.2/lib/python3.4/test/test_runpy.py +691 -0
- package/python3.4.2/lib/python3.4/test/test_sax.py +1007 -0
- package/python3.4.2/lib/python3.4/test/test_sched.py +199 -0
- package/python3.4.2/lib/python3.4/test/test_scope.py +764 -0
- package/python3.4.2/lib/python3.4/test/test_select.py +83 -0
- package/python3.4.2/lib/python3.4/test/test_selectors.py +453 -0
- package/python3.4.2/lib/python3.4/test/test_set.py +1839 -0
- package/python3.4.2/lib/python3.4/test/test_setcomps.py +151 -0
- package/python3.4.2/lib/python3.4/test/test_shelve.py +224 -0
- package/python3.4.2/lib/python3.4/test/test_shlex.py +202 -0
- package/python3.4.2/lib/python3.4/test/test_shutil.py +1766 -0
- package/python3.4.2/lib/python3.4/test/test_signal.py +940 -0
- package/python3.4.2/lib/python3.4/test/test_site.py +468 -0
- package/python3.4.2/lib/python3.4/test/test_slice.py +247 -0
- package/python3.4.2/lib/python3.4/test/test_smtpd.py +557 -0
- package/python3.4.2/lib/python3.4/test/test_smtplib.py +950 -0
- package/python3.4.2/lib/python3.4/test/test_smtpnet.py +86 -0
- package/python3.4.2/lib/python3.4/test/test_sndhdr.py +23 -0
- package/python3.4.2/lib/python3.4/test/test_socket.py +5163 -0
- package/python3.4.2/lib/python3.4/test/test_socketserver.py +314 -0
- package/python3.4.2/lib/python3.4/test/test_sort.py +285 -0
- package/python3.4.2/lib/python3.4/test/test_source_encoding.py +145 -0
- package/python3.4.2/lib/python3.4/test/test_spwd.py +60 -0
- package/python3.4.2/lib/python3.4/test/test_sqlite.py +24 -0
- package/python3.4.2/lib/python3.4/test/test_ssl.py +2908 -0
- package/python3.4.2/lib/python3.4/test/test_startfile.py +37 -0
- package/python3.4.2/lib/python3.4/test/test_stat.py +202 -0
- package/python3.4.2/lib/python3.4/test/test_statistics.py +1574 -0
- package/python3.4.2/lib/python3.4/test/test_strftime.py +204 -0
- package/python3.4.2/lib/python3.4/test/test_string.py +174 -0
- package/python3.4.2/lib/python3.4/test/test_stringprep.py +96 -0
- package/python3.4.2/lib/python3.4/test/test_strlit.py +206 -0
- package/python3.4.2/lib/python3.4/test/test_strptime.py +577 -0
- package/python3.4.2/lib/python3.4/test/test_strtod.py +436 -0
- package/python3.4.2/lib/python3.4/test/test_struct.py +667 -0
- package/python3.4.2/lib/python3.4/test/test_structmembers.py +147 -0
- package/python3.4.2/lib/python3.4/test/test_structseq.py +130 -0
- package/python3.4.2/lib/python3.4/test/test_subprocess.py +2474 -0
- package/python3.4.2/lib/python3.4/test/test_sunau.py +122 -0
- package/python3.4.2/lib/python3.4/test/test_sundry.py +59 -0
- package/python3.4.2/lib/python3.4/test/test_super.py +181 -0
- package/python3.4.2/lib/python3.4/test/test_support.py +315 -0
- package/python3.4.2/lib/python3.4/test/test_symtable.py +176 -0
- package/python3.4.2/lib/python3.4/test/test_syntax.py +593 -0
- package/python3.4.2/lib/python3.4/test/test_sys.py +1000 -0
- package/python3.4.2/lib/python3.4/test/test_sys_setprofile.py +386 -0
- package/python3.4.2/lib/python3.4/test/test_sys_settrace.py +834 -0
- package/python3.4.2/lib/python3.4/test/test_sysconfig.py +423 -0
- package/python3.4.2/lib/python3.4/test/test_syslog.py +43 -0
- package/python3.4.2/lib/python3.4/test/test_tarfile.py +2180 -0
- package/python3.4.2/lib/python3.4/test/test_tcl.py +642 -0
- package/python3.4.2/lib/python3.4/test/test_telnetlib.py +401 -0
- package/python3.4.2/lib/python3.4/test/test_tempfile.py +1248 -0
- package/python3.4.2/lib/python3.4/test/test_textwrap.py +929 -0
- package/python3.4.2/lib/python3.4/test/test_thread.py +260 -0
- package/python3.4.2/lib/python3.4/test/test_threaded_import.py +244 -0
- package/python3.4.2/lib/python3.4/test/test_threadedtempfile.py +78 -0
- package/python3.4.2/lib/python3.4/test/test_threading.py +1021 -0
- package/python3.4.2/lib/python3.4/test/test_threading_local.py +225 -0
- package/python3.4.2/lib/python3.4/test/test_threadsignals.py +227 -0
- package/python3.4.2/lib/python3.4/test/test_time.py +763 -0
- package/python3.4.2/lib/python3.4/test/test_timeit.py +306 -0
- package/python3.4.2/lib/python3.4/test/test_timeout.py +303 -0
- package/python3.4.2/lib/python3.4/test/test_tk.py +18 -0
- package/python3.4.2/lib/python3.4/test/test_tokenize.py +1233 -0
- package/python3.4.2/lib/python3.4/test/test_trace.py +415 -0
- package/python3.4.2/lib/python3.4/test/test_traceback.py +451 -0
- package/python3.4.2/lib/python3.4/test/test_tracemalloc.py +826 -0
- package/python3.4.2/lib/python3.4/test/test_ttk_guionly.py +37 -0
- package/python3.4.2/lib/python3.4/test/test_ttk_textonly.py +17 -0
- package/python3.4.2/lib/python3.4/test/test_tuple.py +208 -0
- package/python3.4.2/lib/python3.4/test/test_typechecks.py +76 -0
- package/python3.4.2/lib/python3.4/test/test_types.py +1178 -0
- package/python3.4.2/lib/python3.4/test/test_ucn.py +240 -0
- package/python3.4.2/lib/python3.4/test/test_unary.py +58 -0
- package/python3.4.2/lib/python3.4/test/test_unicode.py +2596 -0
- package/python3.4.2/lib/python3.4/test/test_unicode_file.py +144 -0
- package/python3.4.2/lib/python3.4/test/test_unicodedata.py +323 -0
- package/python3.4.2/lib/python3.4/test/test_unittest.py +16 -0
- package/python3.4.2/lib/python3.4/test/test_univnewlines.py +123 -0
- package/python3.4.2/lib/python3.4/test/test_unpack.py +130 -0
- package/python3.4.2/lib/python3.4/test/test_unpack_ex.py +174 -0
- package/python3.4.2/lib/python3.4/test/test_urllib.py +1486 -0
- package/python3.4.2/lib/python3.4/test/test_urllib2.py +1646 -0
- package/python3.4.2/lib/python3.4/test/test_urllib2_localnet.py +690 -0
- package/python3.4.2/lib/python3.4/test/test_urllib2net.py +342 -0
- package/python3.4.2/lib/python3.4/test/test_urllib_response.py +59 -0
- package/python3.4.2/lib/python3.4/test/test_urllibnet.py +212 -0
- package/python3.4.2/lib/python3.4/test/test_urlparse.py +879 -0
- package/python3.4.2/lib/python3.4/test/test_userdict.py +199 -0
- package/python3.4.2/lib/python3.4/test/test_userlist.py +65 -0
- package/python3.4.2/lib/python3.4/test/test_userstring.py +47 -0
- package/python3.4.2/lib/python3.4/test/test_uu.py +239 -0
- package/python3.4.2/lib/python3.4/test/test_uuid.py +498 -0
- package/python3.4.2/lib/python3.4/test/test_venv.py +406 -0
- package/python3.4.2/lib/python3.4/test/test_wait3.py +38 -0
- package/python3.4.2/lib/python3.4/test/test_wait4.py +38 -0
- package/python3.4.2/lib/python3.4/test/test_warnings.py +873 -0
- package/python3.4.2/lib/python3.4/test/test_wave.py +107 -0
- package/python3.4.2/lib/python3.4/test/test_weakref.py +1801 -0
- package/python3.4.2/lib/python3.4/test/test_weakset.py +450 -0
- package/python3.4.2/lib/python3.4/test/test_webbrowser.py +192 -0
- package/python3.4.2/lib/python3.4/test/test_winreg.py +485 -0
- package/python3.4.2/lib/python3.4/test/test_winsound.py +253 -0
- package/python3.4.2/lib/python3.4/test/test_with.py +750 -0
- package/python3.4.2/lib/python3.4/test/test_wsgiref.py +640 -0
- package/python3.4.2/lib/python3.4/test/test_xdrlib.py +58 -0
- package/python3.4.2/lib/python3.4/test/test_xml_dom_minicompat.py +101 -0
- package/python3.4.2/lib/python3.4/test/test_xml_etree.py +2587 -0
- package/python3.4.2/lib/python3.4/test/test_xml_etree_c.py +94 -0
- package/python3.4.2/lib/python3.4/test/test_xmlrpc.py +1114 -0
- package/python3.4.2/lib/python3.4/test/test_xmlrpc_net.py +33 -0
- package/python3.4.2/lib/python3.4/test/test_zipfile.py +1783 -0
- package/python3.4.2/lib/python3.4/test/test_zipfile64.py +118 -0
- package/python3.4.2/lib/python3.4/test/test_zipimport.py +507 -0
- package/python3.4.2/lib/python3.4/test/test_zipimport_support.py +246 -0
- package/python3.4.2/lib/python3.4/test/test_zlib.py +725 -0
- package/python3.4.2/lib/python3.4/test/testcodec.py +48 -0
- package/python3.4.2/lib/python3.4/test/testtar.tar +0 -0
- package/python3.4.2/lib/python3.4/test/tf_inherit_check.py +25 -0
- package/python3.4.2/lib/python3.4/test/threaded_import_hangers.py +45 -0
- package/python3.4.2/lib/python3.4/test/time_hashlib.py +87 -0
- package/python3.4.2/lib/python3.4/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt +13 -0
- package/python3.4.2/lib/python3.4/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt +11 -0
- package/python3.4.2/lib/python3.4/test/tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt +13 -0
- package/python3.4.2/lib/python3.4/test/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt +12 -0
- package/python3.4.2/lib/python3.4/test/tokenize_tests.txt +189 -0
- package/python3.4.2/lib/python3.4/test/tracedmodules/__init__.py +4 -0
- package/python3.4.2/lib/python3.4/test/tracedmodules/testmod.py +9 -0
- package/python3.4.2/lib/python3.4/test/warning_tests.py +9 -0
- package/python3.4.2/lib/python3.4/test/win_console_handler.py +49 -0
- package/python3.4.2/lib/python3.4/test/xmltestdata/simple-ns.xml +7 -0
- package/python3.4.2/lib/python3.4/test/xmltestdata/simple.xml +6 -0
- package/python3.4.2/lib/python3.4/test/xmltestdata/test.xml +115 -0
- package/python3.4.2/lib/python3.4/test/xmltestdata/test.xml.out +115 -0
- package/python3.4.2/lib/python3.4/test/xmltests.py +21 -0
- package/python3.4.2/lib/python3.4/test/zip_cp437_header.zip +0 -0
- package/python3.4.2/lib/python3.4/test/zipdir.zip +0 -0
- package/python3.4.2/lib/python3.4/textwrap.py +470 -0
- package/python3.4.2/lib/python3.4/this.py +28 -0
- package/python3.4.2/lib/python3.4/threading.py +1359 -0
- package/python3.4.2/lib/python3.4/timeit.py +322 -0
- package/python3.4.2/lib/python3.4/tkinter/__init__.py +3898 -0
- package/python3.4.2/lib/python3.4/tkinter/__main__.py +7 -0
- package/python3.4.2/lib/python3.4/tkinter/_fix.py +78 -0
- package/python3.4.2/lib/python3.4/tkinter/colorchooser.py +72 -0
- package/python3.4.2/lib/python3.4/tkinter/commondialog.py +60 -0
- package/python3.4.2/lib/python3.4/tkinter/constants.py +110 -0
- package/python3.4.2/lib/python3.4/tkinter/dialog.py +49 -0
- package/python3.4.2/lib/python3.4/tkinter/dnd.py +321 -0
- package/python3.4.2/lib/python3.4/tkinter/filedialog.py +479 -0
- package/python3.4.2/lib/python3.4/tkinter/font.py +234 -0
- package/python3.4.2/lib/python3.4/tkinter/messagebox.py +134 -0
- package/python3.4.2/lib/python3.4/tkinter/scrolledtext.py +54 -0
- package/python3.4.2/lib/python3.4/tkinter/simpledialog.py +423 -0
- package/python3.4.2/lib/python3.4/tkinter/test/README +14 -0
- package/python3.4.2/lib/python3.4/tkinter/test/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/tkinter/test/runtktests.py +71 -0
- package/python3.4.2/lib/python3.4/tkinter/test/support.py +104 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_font.py +27 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_geometry_managers.py +900 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_images.py +327 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_loadtk.py +46 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_misc.py +42 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_text.py +47 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_variables.py +186 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_widgets.py +1193 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/test_extensions.py +291 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/test_functions.py +462 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/test_style.py +92 -0
- package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/test_widgets.py +1598 -0
- package/python3.4.2/lib/python3.4/tkinter/test/widget_tests.py +521 -0
- package/python3.4.2/lib/python3.4/tkinter/tix.py +1944 -0
- package/python3.4.2/lib/python3.4/tkinter/ttk.py +1616 -0
- package/python3.4.2/lib/python3.4/token.py +140 -0
- package/python3.4.2/lib/python3.4/tokenize.py +691 -0
- package/python3.4.2/lib/python3.4/trace.py +858 -0
- package/python3.4.2/lib/python3.4/traceback.py +313 -0
- package/python3.4.2/lib/python3.4/tracemalloc.py +487 -0
- package/python3.4.2/lib/python3.4/tty.py +36 -0
- package/python3.4.2/lib/python3.4/turtle.py +4140 -0
- package/python3.4.2/lib/python3.4/turtledemo/__init__.py +14 -0
- package/python3.4.2/lib/python3.4/turtledemo/__main__.py +380 -0
- package/python3.4.2/lib/python3.4/turtledemo/bytedesign.py +162 -0
- package/python3.4.2/lib/python3.4/turtledemo/chaos.py +59 -0
- package/python3.4.2/lib/python3.4/turtledemo/clock.py +132 -0
- package/python3.4.2/lib/python3.4/turtledemo/colormixer.py +58 -0
- package/python3.4.2/lib/python3.4/turtledemo/forest.py +108 -0
- package/python3.4.2/lib/python3.4/turtledemo/fractalcurves.py +138 -0
- package/python3.4.2/lib/python3.4/turtledemo/lindenmayer.py +119 -0
- package/python3.4.2/lib/python3.4/turtledemo/minimal_hanoi.py +79 -0
- package/python3.4.2/lib/python3.4/turtledemo/nim.py +226 -0
- package/python3.4.2/lib/python3.4/turtledemo/paint.py +54 -0
- package/python3.4.2/lib/python3.4/turtledemo/peace.py +61 -0
- package/python3.4.2/lib/python3.4/turtledemo/penrose.py +181 -0
- package/python3.4.2/lib/python3.4/turtledemo/planet_and_moon.py +112 -0
- package/python3.4.2/lib/python3.4/turtledemo/round_dance.py +86 -0
- package/python3.4.2/lib/python3.4/turtledemo/tree.py +63 -0
- package/python3.4.2/lib/python3.4/turtledemo/turtle.cfg +10 -0
- package/python3.4.2/lib/python3.4/turtledemo/two_canvases.py +54 -0
- package/python3.4.2/lib/python3.4/turtledemo/wikipedia.py +65 -0
- package/python3.4.2/lib/python3.4/turtledemo/yinyang.py +49 -0
- package/python3.4.2/lib/python3.4/types.py +158 -0
- package/python3.4.2/lib/python3.4/unittest/__init__.py +69 -0
- package/python3.4.2/lib/python3.4/unittest/__main__.py +18 -0
- package/python3.4.2/lib/python3.4/unittest/case.py +1400 -0
- package/python3.4.2/lib/python3.4/unittest/loader.py +379 -0
- package/python3.4.2/lib/python3.4/unittest/main.py +248 -0
- package/python3.4.2/lib/python3.4/unittest/mock.py +2330 -0
- package/python3.4.2/lib/python3.4/unittest/result.py +212 -0
- package/python3.4.2/lib/python3.4/unittest/runner.py +213 -0
- package/python3.4.2/lib/python3.4/unittest/signals.py +71 -0
- package/python3.4.2/lib/python3.4/unittest/suite.py +324 -0
- package/python3.4.2/lib/python3.4/unittest/test/__init__.py +22 -0
- package/python3.4.2/lib/python3.4/unittest/test/__main__.py +18 -0
- package/python3.4.2/lib/python3.4/unittest/test/_test_warnings.py +73 -0
- package/python3.4.2/lib/python3.4/unittest/test/dummy.py +1 -0
- package/python3.4.2/lib/python3.4/unittest/test/support.py +142 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_assertions.py +398 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_break.py +288 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_case.py +1574 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_discovery.py +527 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_functiontestcase.py +148 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_loader.py +1312 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_program.py +396 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_result.py +660 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_runner.py +346 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_setups.py +506 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_skipping.py +227 -0
- package/python3.4.2/lib/python3.4/unittest/test/test_suite.py +447 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/__init__.py +17 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/__main__.py +18 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/support.py +23 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/testcallable.py +151 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/testhelpers.py +908 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/testmagicmethods.py +428 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/testmock.py +1412 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/testpatch.py +1801 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/testsentinel.py +28 -0
- package/python3.4.2/lib/python3.4/unittest/test/testmock/testwith.py +259 -0
- package/python3.4.2/lib/python3.4/unittest/util.py +177 -0
- package/python3.4.2/lib/python3.4/urllib/__init__.py +0 -0
- package/python3.4.2/lib/python3.4/urllib/error.py +76 -0
- package/python3.4.2/lib/python3.4/urllib/parse.py +973 -0
- package/python3.4.2/lib/python3.4/urllib/request.py +2559 -0
- package/python3.4.2/lib/python3.4/urllib/response.py +76 -0
- package/python3.4.2/lib/python3.4/urllib/robotparser.py +212 -0
- package/python3.4.2/lib/python3.4/uu.py +199 -0
- package/python3.4.2/lib/python3.4/uuid.py +591 -0
- package/python3.4.2/lib/python3.4/venv/__init__.py +449 -0
- package/python3.4.2/lib/python3.4/venv/__main__.py +10 -0
- package/python3.4.2/lib/python3.4/venv/scripts/posix/activate +76 -0
- package/python3.4.2/lib/python3.4/venv/scripts/posix/activate.csh +37 -0
- package/python3.4.2/lib/python3.4/venv/scripts/posix/activate.fish +74 -0
- package/python3.4.2/lib/python3.4/warnings.py +407 -0
- package/python3.4.2/lib/python3.4/wave.py +503 -0
- package/python3.4.2/lib/python3.4/weakref.py +577 -0
- package/python3.4.2/lib/python3.4/webbrowser.py +651 -0
- package/python3.4.2/lib/python3.4/wsgiref/__init__.py +23 -0
- package/python3.4.2/lib/python3.4/wsgiref/handlers.py +547 -0
- package/python3.4.2/lib/python3.4/wsgiref/headers.py +184 -0
- package/python3.4.2/lib/python3.4/wsgiref/simple_server.py +165 -0
- package/python3.4.2/lib/python3.4/wsgiref/util.py +165 -0
- package/python3.4.2/lib/python3.4/wsgiref/validate.py +443 -0
- package/python3.4.2/lib/python3.4/xdrlib.py +224 -0
- package/python3.4.2/lib/python3.4/xml/__init__.py +20 -0
- package/python3.4.2/lib/python3.4/xml/dom/NodeFilter.py +27 -0
- package/python3.4.2/lib/python3.4/xml/dom/__init__.py +140 -0
- package/python3.4.2/lib/python3.4/xml/dom/domreg.py +97 -0
- package/python3.4.2/lib/python3.4/xml/dom/expatbuilder.py +965 -0
- package/python3.4.2/lib/python3.4/xml/dom/minicompat.py +109 -0
- package/python3.4.2/lib/python3.4/xml/dom/minidom.py +1983 -0
- package/python3.4.2/lib/python3.4/xml/dom/pulldom.py +342 -0
- package/python3.4.2/lib/python3.4/xml/dom/xmlbuilder.py +386 -0
- package/python3.4.2/lib/python3.4/xml/etree/ElementInclude.py +143 -0
- package/python3.4.2/lib/python3.4/xml/etree/ElementPath.py +308 -0
- package/python3.4.2/lib/python3.4/xml/etree/ElementTree.py +1667 -0
- package/python3.4.2/lib/python3.4/xml/etree/__init__.py +33 -0
- package/python3.4.2/lib/python3.4/xml/etree/cElementTree.py +3 -0
- package/python3.4.2/lib/python3.4/xml/parsers/__init__.py +8 -0
- package/python3.4.2/lib/python3.4/xml/parsers/expat.py +8 -0
- package/python3.4.2/lib/python3.4/xml/sax/__init__.py +105 -0
- package/python3.4.2/lib/python3.4/xml/sax/_exceptions.py +131 -0
- package/python3.4.2/lib/python3.4/xml/sax/expatreader.py +417 -0
- package/python3.4.2/lib/python3.4/xml/sax/handler.py +342 -0
- package/python3.4.2/lib/python3.4/xml/sax/saxutils.py +365 -0
- package/python3.4.2/lib/python3.4/xml/sax/xmlreader.py +378 -0
- package/python3.4.2/lib/python3.4/xmlrpc/__init__.py +1 -0
- package/python3.4.2/lib/python3.4/xmlrpc/client.py +1479 -0
- package/python3.4.2/lib/python3.4/xmlrpc/server.py +986 -0
- package/python3.4.2/lib/python3.4/zipfile.py +1788 -0
- package/python3.4.2/share/man/man1/python3.1 +460 -0
- package/python3.4.2/share/man/man1/python3.4.1 +460 -0
|
@@ -0,0 +1,2253 @@
|
|
|
1
|
+
import copyreg
|
|
2
|
+
import io
|
|
3
|
+
import pickle
|
|
4
|
+
import pickletools
|
|
5
|
+
import random
|
|
6
|
+
import struct
|
|
7
|
+
import sys
|
|
8
|
+
import unittest
|
|
9
|
+
import weakref
|
|
10
|
+
from http.cookies import SimpleCookie
|
|
11
|
+
|
|
12
|
+
from test.support import (
|
|
13
|
+
TestFailed, TESTFN, run_with_locale, no_tracing,
|
|
14
|
+
_2G, _4G, bigmemtest,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
from pickle import bytes_types
|
|
18
|
+
|
|
19
|
+
# Tests that try a number of pickle protocols should have a
|
|
20
|
+
# for proto in protocols:
|
|
21
|
+
# kind of outer loop.
|
|
22
|
+
protocols = range(pickle.HIGHEST_PROTOCOL + 1)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# Return True if opcode code appears in the pickle, else False.
|
|
26
|
+
def opcode_in_pickle(code, pickle):
|
|
27
|
+
for op, dummy, dummy in pickletools.genops(pickle):
|
|
28
|
+
if op.code == code.decode("latin-1"):
|
|
29
|
+
return True
|
|
30
|
+
return False
|
|
31
|
+
|
|
32
|
+
# Return the number of times opcode code appears in pickle.
|
|
33
|
+
def count_opcode(code, pickle):
|
|
34
|
+
n = 0
|
|
35
|
+
for op, dummy, dummy in pickletools.genops(pickle):
|
|
36
|
+
if op.code == code.decode("latin-1"):
|
|
37
|
+
n += 1
|
|
38
|
+
return n
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class UnseekableIO(io.BytesIO):
|
|
42
|
+
def peek(self, *args):
|
|
43
|
+
raise NotImplementedError
|
|
44
|
+
|
|
45
|
+
def seekable(self):
|
|
46
|
+
return False
|
|
47
|
+
|
|
48
|
+
def seek(self, *args):
|
|
49
|
+
raise io.UnsupportedOperation
|
|
50
|
+
|
|
51
|
+
def tell(self):
|
|
52
|
+
raise io.UnsupportedOperation
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
# We can't very well test the extension registry without putting known stuff
|
|
56
|
+
# in it, but we have to be careful to restore its original state. Code
|
|
57
|
+
# should do this:
|
|
58
|
+
#
|
|
59
|
+
# e = ExtensionSaver(extension_code)
|
|
60
|
+
# try:
|
|
61
|
+
# fiddle w/ the extension registry's stuff for extension_code
|
|
62
|
+
# finally:
|
|
63
|
+
# e.restore()
|
|
64
|
+
|
|
65
|
+
class ExtensionSaver:
|
|
66
|
+
# Remember current registration for code (if any), and remove it (if
|
|
67
|
+
# there is one).
|
|
68
|
+
def __init__(self, code):
|
|
69
|
+
self.code = code
|
|
70
|
+
if code in copyreg._inverted_registry:
|
|
71
|
+
self.pair = copyreg._inverted_registry[code]
|
|
72
|
+
copyreg.remove_extension(self.pair[0], self.pair[1], code)
|
|
73
|
+
else:
|
|
74
|
+
self.pair = None
|
|
75
|
+
|
|
76
|
+
# Restore previous registration for code.
|
|
77
|
+
def restore(self):
|
|
78
|
+
code = self.code
|
|
79
|
+
curpair = copyreg._inverted_registry.get(code)
|
|
80
|
+
if curpair is not None:
|
|
81
|
+
copyreg.remove_extension(curpair[0], curpair[1], code)
|
|
82
|
+
pair = self.pair
|
|
83
|
+
if pair is not None:
|
|
84
|
+
copyreg.add_extension(pair[0], pair[1], code)
|
|
85
|
+
|
|
86
|
+
class C:
|
|
87
|
+
def __eq__(self, other):
|
|
88
|
+
return self.__dict__ == other.__dict__
|
|
89
|
+
|
|
90
|
+
class D(C):
|
|
91
|
+
def __init__(self, arg):
|
|
92
|
+
pass
|
|
93
|
+
|
|
94
|
+
class E(C):
|
|
95
|
+
def __getinitargs__(self):
|
|
96
|
+
return ()
|
|
97
|
+
|
|
98
|
+
class H(object):
|
|
99
|
+
pass
|
|
100
|
+
|
|
101
|
+
import __main__
|
|
102
|
+
__main__.C = C
|
|
103
|
+
C.__module__ = "__main__"
|
|
104
|
+
__main__.D = D
|
|
105
|
+
D.__module__ = "__main__"
|
|
106
|
+
__main__.E = E
|
|
107
|
+
E.__module__ = "__main__"
|
|
108
|
+
__main__.H = H
|
|
109
|
+
H.__module__ = "__main__"
|
|
110
|
+
|
|
111
|
+
class myint(int):
|
|
112
|
+
def __init__(self, x):
|
|
113
|
+
self.str = str(x)
|
|
114
|
+
|
|
115
|
+
class initarg(C):
|
|
116
|
+
|
|
117
|
+
def __init__(self, a, b):
|
|
118
|
+
self.a = a
|
|
119
|
+
self.b = b
|
|
120
|
+
|
|
121
|
+
def __getinitargs__(self):
|
|
122
|
+
return self.a, self.b
|
|
123
|
+
|
|
124
|
+
class metaclass(type):
|
|
125
|
+
pass
|
|
126
|
+
|
|
127
|
+
class use_metaclass(object, metaclass=metaclass):
|
|
128
|
+
pass
|
|
129
|
+
|
|
130
|
+
class pickling_metaclass(type):
|
|
131
|
+
def __eq__(self, other):
|
|
132
|
+
return (type(self) == type(other) and
|
|
133
|
+
self.reduce_args == other.reduce_args)
|
|
134
|
+
|
|
135
|
+
def __reduce__(self):
|
|
136
|
+
return (create_dynamic_class, self.reduce_args)
|
|
137
|
+
|
|
138
|
+
def create_dynamic_class(name, bases):
|
|
139
|
+
result = pickling_metaclass(name, bases, dict())
|
|
140
|
+
result.reduce_args = (name, bases)
|
|
141
|
+
return result
|
|
142
|
+
|
|
143
|
+
# DATA0 .. DATA2 are the pickles we expect under the various protocols, for
|
|
144
|
+
# the object returned by create_data().
|
|
145
|
+
|
|
146
|
+
DATA0 = (
|
|
147
|
+
b'(lp0\nL0L\naL1L\naF2.0\nac'
|
|
148
|
+
b'builtins\ncomplex\n'
|
|
149
|
+
b'p1\n(F3.0\nF0.0\ntp2\nRp'
|
|
150
|
+
b'3\naL1L\naL-1L\naL255L\naL-'
|
|
151
|
+
b'255L\naL-256L\naL65535L\na'
|
|
152
|
+
b'L-65535L\naL-65536L\naL2'
|
|
153
|
+
b'147483647L\naL-2147483'
|
|
154
|
+
b'647L\naL-2147483648L\na('
|
|
155
|
+
b'Vabc\np4\ng4\nccopyreg'
|
|
156
|
+
b'\n_reconstructor\np5\n('
|
|
157
|
+
b'c__main__\nC\np6\ncbu'
|
|
158
|
+
b'iltins\nobject\np7\nNt'
|
|
159
|
+
b'p8\nRp9\n(dp10\nVfoo\np1'
|
|
160
|
+
b'1\nL1L\nsVbar\np12\nL2L\nsb'
|
|
161
|
+
b'g9\ntp13\nag13\naL5L\na.'
|
|
162
|
+
)
|
|
163
|
+
|
|
164
|
+
# Disassembly of DATA0
|
|
165
|
+
DATA0_DIS = """\
|
|
166
|
+
0: ( MARK
|
|
167
|
+
1: l LIST (MARK at 0)
|
|
168
|
+
2: p PUT 0
|
|
169
|
+
5: L LONG 0
|
|
170
|
+
9: a APPEND
|
|
171
|
+
10: L LONG 1
|
|
172
|
+
14: a APPEND
|
|
173
|
+
15: F FLOAT 2.0
|
|
174
|
+
20: a APPEND
|
|
175
|
+
21: c GLOBAL 'builtins complex'
|
|
176
|
+
39: p PUT 1
|
|
177
|
+
42: ( MARK
|
|
178
|
+
43: F FLOAT 3.0
|
|
179
|
+
48: F FLOAT 0.0
|
|
180
|
+
53: t TUPLE (MARK at 42)
|
|
181
|
+
54: p PUT 2
|
|
182
|
+
57: R REDUCE
|
|
183
|
+
58: p PUT 3
|
|
184
|
+
61: a APPEND
|
|
185
|
+
62: L LONG 1
|
|
186
|
+
66: a APPEND
|
|
187
|
+
67: L LONG -1
|
|
188
|
+
72: a APPEND
|
|
189
|
+
73: L LONG 255
|
|
190
|
+
79: a APPEND
|
|
191
|
+
80: L LONG -255
|
|
192
|
+
87: a APPEND
|
|
193
|
+
88: L LONG -256
|
|
194
|
+
95: a APPEND
|
|
195
|
+
96: L LONG 65535
|
|
196
|
+
104: a APPEND
|
|
197
|
+
105: L LONG -65535
|
|
198
|
+
114: a APPEND
|
|
199
|
+
115: L LONG -65536
|
|
200
|
+
124: a APPEND
|
|
201
|
+
125: L LONG 2147483647
|
|
202
|
+
138: a APPEND
|
|
203
|
+
139: L LONG -2147483647
|
|
204
|
+
153: a APPEND
|
|
205
|
+
154: L LONG -2147483648
|
|
206
|
+
168: a APPEND
|
|
207
|
+
169: ( MARK
|
|
208
|
+
170: V UNICODE 'abc'
|
|
209
|
+
175: p PUT 4
|
|
210
|
+
178: g GET 4
|
|
211
|
+
181: c GLOBAL 'copyreg _reconstructor'
|
|
212
|
+
205: p PUT 5
|
|
213
|
+
208: ( MARK
|
|
214
|
+
209: c GLOBAL '__main__ C'
|
|
215
|
+
221: p PUT 6
|
|
216
|
+
224: c GLOBAL 'builtins object'
|
|
217
|
+
241: p PUT 7
|
|
218
|
+
244: N NONE
|
|
219
|
+
245: t TUPLE (MARK at 208)
|
|
220
|
+
246: p PUT 8
|
|
221
|
+
249: R REDUCE
|
|
222
|
+
250: p PUT 9
|
|
223
|
+
253: ( MARK
|
|
224
|
+
254: d DICT (MARK at 253)
|
|
225
|
+
255: p PUT 10
|
|
226
|
+
259: V UNICODE 'foo'
|
|
227
|
+
264: p PUT 11
|
|
228
|
+
268: L LONG 1
|
|
229
|
+
272: s SETITEM
|
|
230
|
+
273: V UNICODE 'bar'
|
|
231
|
+
278: p PUT 12
|
|
232
|
+
282: L LONG 2
|
|
233
|
+
286: s SETITEM
|
|
234
|
+
287: b BUILD
|
|
235
|
+
288: g GET 9
|
|
236
|
+
291: t TUPLE (MARK at 169)
|
|
237
|
+
292: p PUT 13
|
|
238
|
+
296: a APPEND
|
|
239
|
+
297: g GET 13
|
|
240
|
+
301: a APPEND
|
|
241
|
+
302: L LONG 5
|
|
242
|
+
306: a APPEND
|
|
243
|
+
307: . STOP
|
|
244
|
+
highest protocol among opcodes = 0
|
|
245
|
+
"""
|
|
246
|
+
|
|
247
|
+
DATA1 = (
|
|
248
|
+
b']q\x00(K\x00K\x01G@\x00\x00\x00\x00\x00\x00\x00c'
|
|
249
|
+
b'builtins\ncomplex\nq\x01'
|
|
250
|
+
b'(G@\x08\x00\x00\x00\x00\x00\x00G\x00\x00\x00\x00\x00\x00\x00\x00t'
|
|
251
|
+
b'q\x02Rq\x03K\x01J\xff\xff\xff\xffK\xffJ\x01\xff\xff\xffJ'
|
|
252
|
+
b'\x00\xff\xff\xffM\xff\xffJ\x01\x00\xff\xffJ\x00\x00\xff\xffJ\xff\xff'
|
|
253
|
+
b'\xff\x7fJ\x01\x00\x00\x80J\x00\x00\x00\x80(X\x03\x00\x00\x00ab'
|
|
254
|
+
b'cq\x04h\x04ccopyreg\n_reco'
|
|
255
|
+
b'nstructor\nq\x05(c__main'
|
|
256
|
+
b'__\nC\nq\x06cbuiltins\n'
|
|
257
|
+
b'object\nq\x07Ntq\x08Rq\t}q\n('
|
|
258
|
+
b'X\x03\x00\x00\x00fooq\x0bK\x01X\x03\x00\x00\x00bar'
|
|
259
|
+
b'q\x0cK\x02ubh\ttq\rh\rK\x05e.'
|
|
260
|
+
)
|
|
261
|
+
|
|
262
|
+
# Disassembly of DATA1
|
|
263
|
+
DATA1_DIS = """\
|
|
264
|
+
0: ] EMPTY_LIST
|
|
265
|
+
1: q BINPUT 0
|
|
266
|
+
3: ( MARK
|
|
267
|
+
4: K BININT1 0
|
|
268
|
+
6: K BININT1 1
|
|
269
|
+
8: G BINFLOAT 2.0
|
|
270
|
+
17: c GLOBAL 'builtins complex'
|
|
271
|
+
35: q BINPUT 1
|
|
272
|
+
37: ( MARK
|
|
273
|
+
38: G BINFLOAT 3.0
|
|
274
|
+
47: G BINFLOAT 0.0
|
|
275
|
+
56: t TUPLE (MARK at 37)
|
|
276
|
+
57: q BINPUT 2
|
|
277
|
+
59: R REDUCE
|
|
278
|
+
60: q BINPUT 3
|
|
279
|
+
62: K BININT1 1
|
|
280
|
+
64: J BININT -1
|
|
281
|
+
69: K BININT1 255
|
|
282
|
+
71: J BININT -255
|
|
283
|
+
76: J BININT -256
|
|
284
|
+
81: M BININT2 65535
|
|
285
|
+
84: J BININT -65535
|
|
286
|
+
89: J BININT -65536
|
|
287
|
+
94: J BININT 2147483647
|
|
288
|
+
99: J BININT -2147483647
|
|
289
|
+
104: J BININT -2147483648
|
|
290
|
+
109: ( MARK
|
|
291
|
+
110: X BINUNICODE 'abc'
|
|
292
|
+
118: q BINPUT 4
|
|
293
|
+
120: h BINGET 4
|
|
294
|
+
122: c GLOBAL 'copyreg _reconstructor'
|
|
295
|
+
146: q BINPUT 5
|
|
296
|
+
148: ( MARK
|
|
297
|
+
149: c GLOBAL '__main__ C'
|
|
298
|
+
161: q BINPUT 6
|
|
299
|
+
163: c GLOBAL 'builtins object'
|
|
300
|
+
180: q BINPUT 7
|
|
301
|
+
182: N NONE
|
|
302
|
+
183: t TUPLE (MARK at 148)
|
|
303
|
+
184: q BINPUT 8
|
|
304
|
+
186: R REDUCE
|
|
305
|
+
187: q BINPUT 9
|
|
306
|
+
189: } EMPTY_DICT
|
|
307
|
+
190: q BINPUT 10
|
|
308
|
+
192: ( MARK
|
|
309
|
+
193: X BINUNICODE 'foo'
|
|
310
|
+
201: q BINPUT 11
|
|
311
|
+
203: K BININT1 1
|
|
312
|
+
205: X BINUNICODE 'bar'
|
|
313
|
+
213: q BINPUT 12
|
|
314
|
+
215: K BININT1 2
|
|
315
|
+
217: u SETITEMS (MARK at 192)
|
|
316
|
+
218: b BUILD
|
|
317
|
+
219: h BINGET 9
|
|
318
|
+
221: t TUPLE (MARK at 109)
|
|
319
|
+
222: q BINPUT 13
|
|
320
|
+
224: h BINGET 13
|
|
321
|
+
226: K BININT1 5
|
|
322
|
+
228: e APPENDS (MARK at 3)
|
|
323
|
+
229: . STOP
|
|
324
|
+
highest protocol among opcodes = 1
|
|
325
|
+
"""
|
|
326
|
+
|
|
327
|
+
DATA2 = (
|
|
328
|
+
b'\x80\x02]q\x00(K\x00K\x01G@\x00\x00\x00\x00\x00\x00\x00c'
|
|
329
|
+
b'builtins\ncomplex\n'
|
|
330
|
+
b'q\x01G@\x08\x00\x00\x00\x00\x00\x00G\x00\x00\x00\x00\x00\x00\x00\x00'
|
|
331
|
+
b'\x86q\x02Rq\x03K\x01J\xff\xff\xff\xffK\xffJ\x01\xff\xff\xff'
|
|
332
|
+
b'J\x00\xff\xff\xffM\xff\xffJ\x01\x00\xff\xffJ\x00\x00\xff\xffJ\xff'
|
|
333
|
+
b'\xff\xff\x7fJ\x01\x00\x00\x80J\x00\x00\x00\x80(X\x03\x00\x00\x00a'
|
|
334
|
+
b'bcq\x04h\x04c__main__\nC\nq\x05'
|
|
335
|
+
b')\x81q\x06}q\x07(X\x03\x00\x00\x00fooq\x08K\x01'
|
|
336
|
+
b'X\x03\x00\x00\x00barq\tK\x02ubh\x06tq\nh'
|
|
337
|
+
b'\nK\x05e.'
|
|
338
|
+
)
|
|
339
|
+
|
|
340
|
+
# Disassembly of DATA2
|
|
341
|
+
DATA2_DIS = """\
|
|
342
|
+
0: \x80 PROTO 2
|
|
343
|
+
2: ] EMPTY_LIST
|
|
344
|
+
3: q BINPUT 0
|
|
345
|
+
5: ( MARK
|
|
346
|
+
6: K BININT1 0
|
|
347
|
+
8: K BININT1 1
|
|
348
|
+
10: G BINFLOAT 2.0
|
|
349
|
+
19: c GLOBAL 'builtins complex'
|
|
350
|
+
37: q BINPUT 1
|
|
351
|
+
39: G BINFLOAT 3.0
|
|
352
|
+
48: G BINFLOAT 0.0
|
|
353
|
+
57: \x86 TUPLE2
|
|
354
|
+
58: q BINPUT 2
|
|
355
|
+
60: R REDUCE
|
|
356
|
+
61: q BINPUT 3
|
|
357
|
+
63: K BININT1 1
|
|
358
|
+
65: J BININT -1
|
|
359
|
+
70: K BININT1 255
|
|
360
|
+
72: J BININT -255
|
|
361
|
+
77: J BININT -256
|
|
362
|
+
82: M BININT2 65535
|
|
363
|
+
85: J BININT -65535
|
|
364
|
+
90: J BININT -65536
|
|
365
|
+
95: J BININT 2147483647
|
|
366
|
+
100: J BININT -2147483647
|
|
367
|
+
105: J BININT -2147483648
|
|
368
|
+
110: ( MARK
|
|
369
|
+
111: X BINUNICODE 'abc'
|
|
370
|
+
119: q BINPUT 4
|
|
371
|
+
121: h BINGET 4
|
|
372
|
+
123: c GLOBAL '__main__ C'
|
|
373
|
+
135: q BINPUT 5
|
|
374
|
+
137: ) EMPTY_TUPLE
|
|
375
|
+
138: \x81 NEWOBJ
|
|
376
|
+
139: q BINPUT 6
|
|
377
|
+
141: } EMPTY_DICT
|
|
378
|
+
142: q BINPUT 7
|
|
379
|
+
144: ( MARK
|
|
380
|
+
145: X BINUNICODE 'foo'
|
|
381
|
+
153: q BINPUT 8
|
|
382
|
+
155: K BININT1 1
|
|
383
|
+
157: X BINUNICODE 'bar'
|
|
384
|
+
165: q BINPUT 9
|
|
385
|
+
167: K BININT1 2
|
|
386
|
+
169: u SETITEMS (MARK at 144)
|
|
387
|
+
170: b BUILD
|
|
388
|
+
171: h BINGET 6
|
|
389
|
+
173: t TUPLE (MARK at 110)
|
|
390
|
+
174: q BINPUT 10
|
|
391
|
+
176: h BINGET 10
|
|
392
|
+
178: K BININT1 5
|
|
393
|
+
180: e APPENDS (MARK at 5)
|
|
394
|
+
181: . STOP
|
|
395
|
+
highest protocol among opcodes = 2
|
|
396
|
+
"""
|
|
397
|
+
|
|
398
|
+
# set([1,2]) pickled from 2.x with protocol 2
|
|
399
|
+
DATA3 = b'\x80\x02c__builtin__\nset\nq\x00]q\x01(K\x01K\x02e\x85q\x02Rq\x03.'
|
|
400
|
+
|
|
401
|
+
# xrange(5) pickled from 2.x with protocol 2
|
|
402
|
+
DATA4 = b'\x80\x02c__builtin__\nxrange\nq\x00K\x00K\x05K\x01\x87q\x01Rq\x02.'
|
|
403
|
+
|
|
404
|
+
# a SimpleCookie() object pickled from 2.x with protocol 2
|
|
405
|
+
DATA5 = (b'\x80\x02cCookie\nSimpleCookie\nq\x00)\x81q\x01U\x03key'
|
|
406
|
+
b'q\x02cCookie\nMorsel\nq\x03)\x81q\x04(U\x07commentq\x05U'
|
|
407
|
+
b'\x00q\x06U\x06domainq\x07h\x06U\x06secureq\x08h\x06U\x07'
|
|
408
|
+
b'expiresq\th\x06U\x07max-ageq\nh\x06U\x07versionq\x0bh\x06U'
|
|
409
|
+
b'\x04pathq\x0ch\x06U\x08httponlyq\rh\x06u}q\x0e(U\x0b'
|
|
410
|
+
b'coded_valueq\x0fU\x05valueq\x10h\x10h\x10h\x02h\x02ubs}q\x11b.')
|
|
411
|
+
|
|
412
|
+
# set([3]) pickled from 2.x with protocol 2
|
|
413
|
+
DATA6 = b'\x80\x02c__builtin__\nset\nq\x00]q\x01K\x03a\x85q\x02Rq\x03.'
|
|
414
|
+
|
|
415
|
+
python2_exceptions_without_args = (
|
|
416
|
+
ArithmeticError,
|
|
417
|
+
AssertionError,
|
|
418
|
+
AttributeError,
|
|
419
|
+
BaseException,
|
|
420
|
+
BufferError,
|
|
421
|
+
BytesWarning,
|
|
422
|
+
DeprecationWarning,
|
|
423
|
+
EOFError,
|
|
424
|
+
EnvironmentError,
|
|
425
|
+
Exception,
|
|
426
|
+
FloatingPointError,
|
|
427
|
+
FutureWarning,
|
|
428
|
+
GeneratorExit,
|
|
429
|
+
IOError,
|
|
430
|
+
ImportError,
|
|
431
|
+
ImportWarning,
|
|
432
|
+
IndentationError,
|
|
433
|
+
IndexError,
|
|
434
|
+
KeyError,
|
|
435
|
+
KeyboardInterrupt,
|
|
436
|
+
LookupError,
|
|
437
|
+
MemoryError,
|
|
438
|
+
NameError,
|
|
439
|
+
NotImplementedError,
|
|
440
|
+
OSError,
|
|
441
|
+
OverflowError,
|
|
442
|
+
PendingDeprecationWarning,
|
|
443
|
+
ReferenceError,
|
|
444
|
+
RuntimeError,
|
|
445
|
+
RuntimeWarning,
|
|
446
|
+
# StandardError is gone in Python 3, we map it to Exception
|
|
447
|
+
StopIteration,
|
|
448
|
+
SyntaxError,
|
|
449
|
+
SyntaxWarning,
|
|
450
|
+
SystemError,
|
|
451
|
+
SystemExit,
|
|
452
|
+
TabError,
|
|
453
|
+
TypeError,
|
|
454
|
+
UnboundLocalError,
|
|
455
|
+
UnicodeError,
|
|
456
|
+
UnicodeWarning,
|
|
457
|
+
UserWarning,
|
|
458
|
+
ValueError,
|
|
459
|
+
Warning,
|
|
460
|
+
ZeroDivisionError,
|
|
461
|
+
)
|
|
462
|
+
|
|
463
|
+
exception_pickle = b'\x80\x02cexceptions\n?\nq\x00)Rq\x01.'
|
|
464
|
+
|
|
465
|
+
# Exception objects without arguments pickled from 2.x with protocol 2
|
|
466
|
+
DATA7 = {
|
|
467
|
+
exception :
|
|
468
|
+
exception_pickle.replace(b'?', exception.__name__.encode("ascii"))
|
|
469
|
+
for exception in python2_exceptions_without_args
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
# StandardError is mapped to Exception, test that separately
|
|
473
|
+
DATA8 = exception_pickle.replace(b'?', b'StandardError')
|
|
474
|
+
|
|
475
|
+
# UnicodeEncodeError object pickled from 2.x with protocol 2
|
|
476
|
+
DATA9 = (b'\x80\x02cexceptions\nUnicodeEncodeError\n'
|
|
477
|
+
b'q\x00(U\x05asciiq\x01X\x03\x00\x00\x00fooq\x02K\x00K\x01'
|
|
478
|
+
b'U\x03badq\x03tq\x04Rq\x05.')
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
def create_data():
|
|
482
|
+
c = C()
|
|
483
|
+
c.foo = 1
|
|
484
|
+
c.bar = 2
|
|
485
|
+
x = [0, 1, 2.0, 3.0+0j]
|
|
486
|
+
# Append some integer test cases at cPickle.c's internal size
|
|
487
|
+
# cutoffs.
|
|
488
|
+
uint1max = 0xff
|
|
489
|
+
uint2max = 0xffff
|
|
490
|
+
int4max = 0x7fffffff
|
|
491
|
+
x.extend([1, -1,
|
|
492
|
+
uint1max, -uint1max, -uint1max-1,
|
|
493
|
+
uint2max, -uint2max, -uint2max-1,
|
|
494
|
+
int4max, -int4max, -int4max-1])
|
|
495
|
+
y = ('abc', 'abc', c, c)
|
|
496
|
+
x.append(y)
|
|
497
|
+
x.append(y)
|
|
498
|
+
x.append(5)
|
|
499
|
+
return x
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
class AbstractPickleTests(unittest.TestCase):
|
|
503
|
+
# Subclass must define self.dumps, self.loads.
|
|
504
|
+
|
|
505
|
+
optimized = False
|
|
506
|
+
|
|
507
|
+
_testdata = create_data()
|
|
508
|
+
|
|
509
|
+
def setUp(self):
|
|
510
|
+
pass
|
|
511
|
+
|
|
512
|
+
def assert_is_copy(self, obj, objcopy, msg=None):
|
|
513
|
+
"""Utility method to verify if two objects are copies of each others.
|
|
514
|
+
"""
|
|
515
|
+
if msg is None:
|
|
516
|
+
msg = "{!r} is not a copy of {!r}".format(obj, objcopy)
|
|
517
|
+
self.assertEqual(obj, objcopy, msg=msg)
|
|
518
|
+
self.assertIs(type(obj), type(objcopy), msg=msg)
|
|
519
|
+
if hasattr(obj, '__dict__'):
|
|
520
|
+
self.assertDictEqual(obj.__dict__, objcopy.__dict__, msg=msg)
|
|
521
|
+
self.assertIsNot(obj.__dict__, objcopy.__dict__, msg=msg)
|
|
522
|
+
if hasattr(obj, '__slots__'):
|
|
523
|
+
self.assertListEqual(obj.__slots__, objcopy.__slots__, msg=msg)
|
|
524
|
+
for slot in obj.__slots__:
|
|
525
|
+
self.assertEqual(
|
|
526
|
+
hasattr(obj, slot), hasattr(objcopy, slot), msg=msg)
|
|
527
|
+
self.assertEqual(getattr(obj, slot, None),
|
|
528
|
+
getattr(objcopy, slot, None), msg=msg)
|
|
529
|
+
|
|
530
|
+
def test_misc(self):
|
|
531
|
+
# test various datatypes not tested by testdata
|
|
532
|
+
for proto in protocols:
|
|
533
|
+
x = myint(4)
|
|
534
|
+
s = self.dumps(x, proto)
|
|
535
|
+
y = self.loads(s)
|
|
536
|
+
self.assert_is_copy(x, y)
|
|
537
|
+
|
|
538
|
+
x = (1, ())
|
|
539
|
+
s = self.dumps(x, proto)
|
|
540
|
+
y = self.loads(s)
|
|
541
|
+
self.assert_is_copy(x, y)
|
|
542
|
+
|
|
543
|
+
x = initarg(1, x)
|
|
544
|
+
s = self.dumps(x, proto)
|
|
545
|
+
y = self.loads(s)
|
|
546
|
+
self.assert_is_copy(x, y)
|
|
547
|
+
|
|
548
|
+
# XXX test __reduce__ protocol?
|
|
549
|
+
|
|
550
|
+
def test_roundtrip_equality(self):
|
|
551
|
+
expected = self._testdata
|
|
552
|
+
for proto in protocols:
|
|
553
|
+
s = self.dumps(expected, proto)
|
|
554
|
+
got = self.loads(s)
|
|
555
|
+
self.assert_is_copy(expected, got)
|
|
556
|
+
|
|
557
|
+
def test_load_from_data0(self):
|
|
558
|
+
self.assert_is_copy(self._testdata, self.loads(DATA0))
|
|
559
|
+
|
|
560
|
+
def test_load_from_data1(self):
|
|
561
|
+
self.assert_is_copy(self._testdata, self.loads(DATA1))
|
|
562
|
+
|
|
563
|
+
def test_load_from_data2(self):
|
|
564
|
+
self.assert_is_copy(self._testdata, self.loads(DATA2))
|
|
565
|
+
|
|
566
|
+
def test_load_classic_instance(self):
|
|
567
|
+
# See issue5180. Test loading 2.x pickles that
|
|
568
|
+
# contain an instance of old style class.
|
|
569
|
+
for X, args in [(C, ()), (D, ('x',)), (E, ())]:
|
|
570
|
+
xname = X.__name__.encode('ascii')
|
|
571
|
+
# Protocol 0 (text mode pickle):
|
|
572
|
+
"""
|
|
573
|
+
0: ( MARK
|
|
574
|
+
1: i INST '__main__ X' (MARK at 0)
|
|
575
|
+
15: p PUT 0
|
|
576
|
+
18: ( MARK
|
|
577
|
+
19: d DICT (MARK at 18)
|
|
578
|
+
20: p PUT 1
|
|
579
|
+
23: b BUILD
|
|
580
|
+
24: . STOP
|
|
581
|
+
"""
|
|
582
|
+
pickle0 = (b"(i__main__\n"
|
|
583
|
+
b"X\n"
|
|
584
|
+
b"p0\n"
|
|
585
|
+
b"(dp1\nb.").replace(b'X', xname)
|
|
586
|
+
self.assert_is_copy(X(*args), self.loads(pickle0))
|
|
587
|
+
|
|
588
|
+
# Protocol 1 (binary mode pickle)
|
|
589
|
+
"""
|
|
590
|
+
0: ( MARK
|
|
591
|
+
1: c GLOBAL '__main__ X'
|
|
592
|
+
15: q BINPUT 0
|
|
593
|
+
17: o OBJ (MARK at 0)
|
|
594
|
+
18: q BINPUT 1
|
|
595
|
+
20: } EMPTY_DICT
|
|
596
|
+
21: q BINPUT 2
|
|
597
|
+
23: b BUILD
|
|
598
|
+
24: . STOP
|
|
599
|
+
"""
|
|
600
|
+
pickle1 = (b'(c__main__\n'
|
|
601
|
+
b'X\n'
|
|
602
|
+
b'q\x00oq\x01}q\x02b.').replace(b'X', xname)
|
|
603
|
+
self.assert_is_copy(X(*args), self.loads(pickle1))
|
|
604
|
+
|
|
605
|
+
# Protocol 2 (pickle2 = b'\x80\x02' + pickle1)
|
|
606
|
+
"""
|
|
607
|
+
0: \x80 PROTO 2
|
|
608
|
+
2: ( MARK
|
|
609
|
+
3: c GLOBAL '__main__ X'
|
|
610
|
+
17: q BINPUT 0
|
|
611
|
+
19: o OBJ (MARK at 2)
|
|
612
|
+
20: q BINPUT 1
|
|
613
|
+
22: } EMPTY_DICT
|
|
614
|
+
23: q BINPUT 2
|
|
615
|
+
25: b BUILD
|
|
616
|
+
26: . STOP
|
|
617
|
+
"""
|
|
618
|
+
pickle2 = (b'\x80\x02(c__main__\n'
|
|
619
|
+
b'X\n'
|
|
620
|
+
b'q\x00oq\x01}q\x02b.').replace(b'X', xname)
|
|
621
|
+
self.assert_is_copy(X(*args), self.loads(pickle2))
|
|
622
|
+
|
|
623
|
+
# There are gratuitous differences between pickles produced by
|
|
624
|
+
# pickle and cPickle, largely because cPickle starts PUT indices at
|
|
625
|
+
# 1 and pickle starts them at 0. See XXX comment in cPickle's put2() --
|
|
626
|
+
# there's a comment with an exclamation point there whose meaning
|
|
627
|
+
# is a mystery. cPickle also suppresses PUT for objects with a refcount
|
|
628
|
+
# of 1.
|
|
629
|
+
def dont_test_disassembly(self):
|
|
630
|
+
from io import StringIO
|
|
631
|
+
from pickletools import dis
|
|
632
|
+
|
|
633
|
+
for proto, expected in (0, DATA0_DIS), (1, DATA1_DIS):
|
|
634
|
+
s = self.dumps(self._testdata, proto)
|
|
635
|
+
filelike = StringIO()
|
|
636
|
+
dis(s, out=filelike)
|
|
637
|
+
got = filelike.getvalue()
|
|
638
|
+
self.assertEqual(expected, got)
|
|
639
|
+
|
|
640
|
+
def test_recursive_list(self):
|
|
641
|
+
l = []
|
|
642
|
+
l.append(l)
|
|
643
|
+
for proto in protocols:
|
|
644
|
+
s = self.dumps(l, proto)
|
|
645
|
+
x = self.loads(s)
|
|
646
|
+
self.assertIsInstance(x, list)
|
|
647
|
+
self.assertEqual(len(x), 1)
|
|
648
|
+
self.assertTrue(x is x[0])
|
|
649
|
+
|
|
650
|
+
def test_recursive_tuple(self):
|
|
651
|
+
t = ([],)
|
|
652
|
+
t[0].append(t)
|
|
653
|
+
for proto in protocols:
|
|
654
|
+
s = self.dumps(t, proto)
|
|
655
|
+
x = self.loads(s)
|
|
656
|
+
self.assertIsInstance(x, tuple)
|
|
657
|
+
self.assertEqual(len(x), 1)
|
|
658
|
+
self.assertEqual(len(x[0]), 1)
|
|
659
|
+
self.assertTrue(x is x[0][0])
|
|
660
|
+
|
|
661
|
+
def test_recursive_dict(self):
|
|
662
|
+
d = {}
|
|
663
|
+
d[1] = d
|
|
664
|
+
for proto in protocols:
|
|
665
|
+
s = self.dumps(d, proto)
|
|
666
|
+
x = self.loads(s)
|
|
667
|
+
self.assertIsInstance(x, dict)
|
|
668
|
+
self.assertEqual(list(x.keys()), [1])
|
|
669
|
+
self.assertTrue(x[1] is x)
|
|
670
|
+
|
|
671
|
+
def test_recursive_set(self):
|
|
672
|
+
h = H()
|
|
673
|
+
y = set({h})
|
|
674
|
+
h.attr = y
|
|
675
|
+
for proto in protocols:
|
|
676
|
+
s = self.dumps(y, proto)
|
|
677
|
+
x = self.loads(s)
|
|
678
|
+
self.assertIsInstance(x, set)
|
|
679
|
+
self.assertIs(list(x)[0].attr, x)
|
|
680
|
+
self.assertEqual(len(x), 1)
|
|
681
|
+
|
|
682
|
+
def test_recursive_frozenset(self):
|
|
683
|
+
h = H()
|
|
684
|
+
y = frozenset({h})
|
|
685
|
+
h.attr = y
|
|
686
|
+
for proto in protocols:
|
|
687
|
+
s = self.dumps(y, proto)
|
|
688
|
+
x = self.loads(s)
|
|
689
|
+
self.assertIsInstance(x, frozenset)
|
|
690
|
+
self.assertIs(list(x)[0].attr, x)
|
|
691
|
+
self.assertEqual(len(x), 1)
|
|
692
|
+
|
|
693
|
+
def test_recursive_inst(self):
|
|
694
|
+
i = C()
|
|
695
|
+
i.attr = i
|
|
696
|
+
for proto in protocols:
|
|
697
|
+
s = self.dumps(i, proto)
|
|
698
|
+
x = self.loads(s)
|
|
699
|
+
self.assertIsInstance(x, C)
|
|
700
|
+
self.assertEqual(dir(x), dir(i))
|
|
701
|
+
self.assertIs(x.attr, x)
|
|
702
|
+
|
|
703
|
+
def test_recursive_multi(self):
|
|
704
|
+
l = []
|
|
705
|
+
d = {1:l}
|
|
706
|
+
i = C()
|
|
707
|
+
i.attr = d
|
|
708
|
+
l.append(i)
|
|
709
|
+
for proto in protocols:
|
|
710
|
+
s = self.dumps(l, proto)
|
|
711
|
+
x = self.loads(s)
|
|
712
|
+
self.assertIsInstance(x, list)
|
|
713
|
+
self.assertEqual(len(x), 1)
|
|
714
|
+
self.assertEqual(dir(x[0]), dir(i))
|
|
715
|
+
self.assertEqual(list(x[0].attr.keys()), [1])
|
|
716
|
+
self.assertTrue(x[0].attr[1] is x)
|
|
717
|
+
|
|
718
|
+
def test_get(self):
|
|
719
|
+
self.assertRaises(KeyError, self.loads, b'g0\np0')
|
|
720
|
+
self.assert_is_copy([(100,), (100,)],
|
|
721
|
+
self.loads(b'((Kdtp0\nh\x00l.))'))
|
|
722
|
+
|
|
723
|
+
def test_unicode(self):
|
|
724
|
+
endcases = ['', '<\\u>', '<\\\u1234>', '<\n>',
|
|
725
|
+
'<\\>', '<\\\U00012345>',
|
|
726
|
+
# surrogates
|
|
727
|
+
'<\udc80>']
|
|
728
|
+
for proto in protocols:
|
|
729
|
+
for u in endcases:
|
|
730
|
+
p = self.dumps(u, proto)
|
|
731
|
+
u2 = self.loads(p)
|
|
732
|
+
self.assert_is_copy(u, u2)
|
|
733
|
+
|
|
734
|
+
def test_unicode_high_plane(self):
|
|
735
|
+
t = '\U00012345'
|
|
736
|
+
for proto in protocols:
|
|
737
|
+
p = self.dumps(t, proto)
|
|
738
|
+
t2 = self.loads(p)
|
|
739
|
+
self.assert_is_copy(t, t2)
|
|
740
|
+
|
|
741
|
+
def test_bytes(self):
|
|
742
|
+
for proto in protocols:
|
|
743
|
+
for s in b'', b'xyz', b'xyz'*100:
|
|
744
|
+
p = self.dumps(s, proto)
|
|
745
|
+
self.assert_is_copy(s, self.loads(p))
|
|
746
|
+
for s in [bytes([i]) for i in range(256)]:
|
|
747
|
+
p = self.dumps(s, proto)
|
|
748
|
+
self.assert_is_copy(s, self.loads(p))
|
|
749
|
+
for s in [bytes([i, i]) for i in range(256)]:
|
|
750
|
+
p = self.dumps(s, proto)
|
|
751
|
+
self.assert_is_copy(s, self.loads(p))
|
|
752
|
+
|
|
753
|
+
def test_ints(self):
|
|
754
|
+
import sys
|
|
755
|
+
for proto in protocols:
|
|
756
|
+
n = sys.maxsize
|
|
757
|
+
while n:
|
|
758
|
+
for expected in (-n, n):
|
|
759
|
+
s = self.dumps(expected, proto)
|
|
760
|
+
n2 = self.loads(s)
|
|
761
|
+
self.assert_is_copy(expected, n2)
|
|
762
|
+
n = n >> 1
|
|
763
|
+
|
|
764
|
+
def test_maxint64(self):
|
|
765
|
+
maxint64 = (1 << 63) - 1
|
|
766
|
+
data = b'I' + str(maxint64).encode("ascii") + b'\n.'
|
|
767
|
+
got = self.loads(data)
|
|
768
|
+
self.assert_is_copy(maxint64, got)
|
|
769
|
+
|
|
770
|
+
# Try too with a bogus literal.
|
|
771
|
+
data = b'I' + str(maxint64).encode("ascii") + b'JUNK\n.'
|
|
772
|
+
self.assertRaises(ValueError, self.loads, data)
|
|
773
|
+
|
|
774
|
+
def test_long(self):
|
|
775
|
+
for proto in protocols:
|
|
776
|
+
# 256 bytes is where LONG4 begins.
|
|
777
|
+
for nbits in 1, 8, 8*254, 8*255, 8*256, 8*257:
|
|
778
|
+
nbase = 1 << nbits
|
|
779
|
+
for npos in nbase-1, nbase, nbase+1:
|
|
780
|
+
for n in npos, -npos:
|
|
781
|
+
pickle = self.dumps(n, proto)
|
|
782
|
+
got = self.loads(pickle)
|
|
783
|
+
self.assert_is_copy(n, got)
|
|
784
|
+
# Try a monster. This is quadratic-time in protos 0 & 1, so don't
|
|
785
|
+
# bother with those.
|
|
786
|
+
nbase = int("deadbeeffeedface", 16)
|
|
787
|
+
nbase += nbase << 1000000
|
|
788
|
+
for n in nbase, -nbase:
|
|
789
|
+
p = self.dumps(n, 2)
|
|
790
|
+
got = self.loads(p)
|
|
791
|
+
# assert_is_copy is very expensive here as it precomputes
|
|
792
|
+
# a failure message by computing the repr() of n and got,
|
|
793
|
+
# we just do the check ourselves.
|
|
794
|
+
self.assertIs(type(got), int)
|
|
795
|
+
self.assertEqual(n, got)
|
|
796
|
+
|
|
797
|
+
def test_float(self):
|
|
798
|
+
test_values = [0.0, 4.94e-324, 1e-310, 7e-308, 6.626e-34, 0.1, 0.5,
|
|
799
|
+
3.14, 263.44582062374053, 6.022e23, 1e30]
|
|
800
|
+
test_values = test_values + [-x for x in test_values]
|
|
801
|
+
for proto in protocols:
|
|
802
|
+
for value in test_values:
|
|
803
|
+
pickle = self.dumps(value, proto)
|
|
804
|
+
got = self.loads(pickle)
|
|
805
|
+
self.assert_is_copy(value, got)
|
|
806
|
+
|
|
807
|
+
@run_with_locale('LC_ALL', 'de_DE', 'fr_FR')
|
|
808
|
+
def test_float_format(self):
|
|
809
|
+
# make sure that floats are formatted locale independent with proto 0
|
|
810
|
+
self.assertEqual(self.dumps(1.2, 0)[0:3], b'F1.')
|
|
811
|
+
|
|
812
|
+
def test_reduce(self):
|
|
813
|
+
for proto in protocols:
|
|
814
|
+
inst = AAA()
|
|
815
|
+
dumped = self.dumps(inst, proto)
|
|
816
|
+
loaded = self.loads(dumped)
|
|
817
|
+
self.assertEqual(loaded, REDUCE_A)
|
|
818
|
+
|
|
819
|
+
def test_getinitargs(self):
|
|
820
|
+
for proto in protocols:
|
|
821
|
+
inst = initarg(1, 2)
|
|
822
|
+
dumped = self.dumps(inst, proto)
|
|
823
|
+
loaded = self.loads(dumped)
|
|
824
|
+
self.assert_is_copy(inst, loaded)
|
|
825
|
+
|
|
826
|
+
def test_pop_empty_stack(self):
|
|
827
|
+
# Test issue7455
|
|
828
|
+
s = b'0'
|
|
829
|
+
self.assertRaises((pickle.UnpicklingError, IndexError), self.loads, s)
|
|
830
|
+
|
|
831
|
+
def test_metaclass(self):
|
|
832
|
+
a = use_metaclass()
|
|
833
|
+
for proto in protocols:
|
|
834
|
+
s = self.dumps(a, proto)
|
|
835
|
+
b = self.loads(s)
|
|
836
|
+
self.assertEqual(a.__class__, b.__class__)
|
|
837
|
+
|
|
838
|
+
def test_dynamic_class(self):
|
|
839
|
+
a = create_dynamic_class("my_dynamic_class", (object,))
|
|
840
|
+
copyreg.pickle(pickling_metaclass, pickling_metaclass.__reduce__)
|
|
841
|
+
for proto in protocols:
|
|
842
|
+
s = self.dumps(a, proto)
|
|
843
|
+
b = self.loads(s)
|
|
844
|
+
self.assertEqual(a, b)
|
|
845
|
+
self.assertIs(type(a), type(b))
|
|
846
|
+
|
|
847
|
+
def test_structseq(self):
|
|
848
|
+
import time
|
|
849
|
+
import os
|
|
850
|
+
|
|
851
|
+
t = time.localtime()
|
|
852
|
+
for proto in protocols:
|
|
853
|
+
s = self.dumps(t, proto)
|
|
854
|
+
u = self.loads(s)
|
|
855
|
+
self.assert_is_copy(t, u)
|
|
856
|
+
if hasattr(os, "stat"):
|
|
857
|
+
t = os.stat(os.curdir)
|
|
858
|
+
s = self.dumps(t, proto)
|
|
859
|
+
u = self.loads(s)
|
|
860
|
+
self.assert_is_copy(t, u)
|
|
861
|
+
if hasattr(os, "statvfs"):
|
|
862
|
+
t = os.statvfs(os.curdir)
|
|
863
|
+
s = self.dumps(t, proto)
|
|
864
|
+
u = self.loads(s)
|
|
865
|
+
self.assert_is_copy(t, u)
|
|
866
|
+
|
|
867
|
+
def test_ellipsis(self):
|
|
868
|
+
for proto in protocols:
|
|
869
|
+
s = self.dumps(..., proto)
|
|
870
|
+
u = self.loads(s)
|
|
871
|
+
self.assertIs(..., u)
|
|
872
|
+
|
|
873
|
+
def test_notimplemented(self):
|
|
874
|
+
for proto in protocols:
|
|
875
|
+
s = self.dumps(NotImplemented, proto)
|
|
876
|
+
u = self.loads(s)
|
|
877
|
+
self.assertIs(NotImplemented, u)
|
|
878
|
+
|
|
879
|
+
def test_singleton_types(self):
|
|
880
|
+
# Issue #6477: Test that types of built-in singletons can be pickled.
|
|
881
|
+
singletons = [None, ..., NotImplemented]
|
|
882
|
+
for singleton in singletons:
|
|
883
|
+
for proto in protocols:
|
|
884
|
+
s = self.dumps(type(singleton), proto)
|
|
885
|
+
u = self.loads(s)
|
|
886
|
+
self.assertIs(type(singleton), u)
|
|
887
|
+
|
|
888
|
+
# Tests for protocol 2
|
|
889
|
+
|
|
890
|
+
def test_proto(self):
|
|
891
|
+
for proto in protocols:
|
|
892
|
+
pickled = self.dumps(None, proto)
|
|
893
|
+
if proto >= 2:
|
|
894
|
+
proto_header = pickle.PROTO + bytes([proto])
|
|
895
|
+
self.assertTrue(pickled.startswith(proto_header))
|
|
896
|
+
else:
|
|
897
|
+
self.assertEqual(count_opcode(pickle.PROTO, pickled), 0)
|
|
898
|
+
|
|
899
|
+
oob = protocols[-1] + 1 # a future protocol
|
|
900
|
+
build_none = pickle.NONE + pickle.STOP
|
|
901
|
+
badpickle = pickle.PROTO + bytes([oob]) + build_none
|
|
902
|
+
try:
|
|
903
|
+
self.loads(badpickle)
|
|
904
|
+
except ValueError as err:
|
|
905
|
+
self.assertIn("unsupported pickle protocol", str(err))
|
|
906
|
+
else:
|
|
907
|
+
self.fail("expected bad protocol number to raise ValueError")
|
|
908
|
+
|
|
909
|
+
def test_long1(self):
|
|
910
|
+
x = 12345678910111213141516178920
|
|
911
|
+
for proto in protocols:
|
|
912
|
+
s = self.dumps(x, proto)
|
|
913
|
+
y = self.loads(s)
|
|
914
|
+
self.assert_is_copy(x, y)
|
|
915
|
+
self.assertEqual(opcode_in_pickle(pickle.LONG1, s), proto >= 2)
|
|
916
|
+
|
|
917
|
+
def test_long4(self):
|
|
918
|
+
x = 12345678910111213141516178920 << (256*8)
|
|
919
|
+
for proto in protocols:
|
|
920
|
+
s = self.dumps(x, proto)
|
|
921
|
+
y = self.loads(s)
|
|
922
|
+
self.assert_is_copy(x, y)
|
|
923
|
+
self.assertEqual(opcode_in_pickle(pickle.LONG4, s), proto >= 2)
|
|
924
|
+
|
|
925
|
+
def test_short_tuples(self):
|
|
926
|
+
# Map (proto, len(tuple)) to expected opcode.
|
|
927
|
+
expected_opcode = {(0, 0): pickle.TUPLE,
|
|
928
|
+
(0, 1): pickle.TUPLE,
|
|
929
|
+
(0, 2): pickle.TUPLE,
|
|
930
|
+
(0, 3): pickle.TUPLE,
|
|
931
|
+
(0, 4): pickle.TUPLE,
|
|
932
|
+
|
|
933
|
+
(1, 0): pickle.EMPTY_TUPLE,
|
|
934
|
+
(1, 1): pickle.TUPLE,
|
|
935
|
+
(1, 2): pickle.TUPLE,
|
|
936
|
+
(1, 3): pickle.TUPLE,
|
|
937
|
+
(1, 4): pickle.TUPLE,
|
|
938
|
+
|
|
939
|
+
(2, 0): pickle.EMPTY_TUPLE,
|
|
940
|
+
(2, 1): pickle.TUPLE1,
|
|
941
|
+
(2, 2): pickle.TUPLE2,
|
|
942
|
+
(2, 3): pickle.TUPLE3,
|
|
943
|
+
(2, 4): pickle.TUPLE,
|
|
944
|
+
|
|
945
|
+
(3, 0): pickle.EMPTY_TUPLE,
|
|
946
|
+
(3, 1): pickle.TUPLE1,
|
|
947
|
+
(3, 2): pickle.TUPLE2,
|
|
948
|
+
(3, 3): pickle.TUPLE3,
|
|
949
|
+
(3, 4): pickle.TUPLE,
|
|
950
|
+
}
|
|
951
|
+
a = ()
|
|
952
|
+
b = (1,)
|
|
953
|
+
c = (1, 2)
|
|
954
|
+
d = (1, 2, 3)
|
|
955
|
+
e = (1, 2, 3, 4)
|
|
956
|
+
for proto in protocols:
|
|
957
|
+
for x in a, b, c, d, e:
|
|
958
|
+
s = self.dumps(x, proto)
|
|
959
|
+
y = self.loads(s)
|
|
960
|
+
self.assert_is_copy(x, y)
|
|
961
|
+
expected = expected_opcode[min(proto, 3), len(x)]
|
|
962
|
+
self.assertTrue(opcode_in_pickle(expected, s))
|
|
963
|
+
|
|
964
|
+
def test_singletons(self):
|
|
965
|
+
# Map (proto, singleton) to expected opcode.
|
|
966
|
+
expected_opcode = {(0, None): pickle.NONE,
|
|
967
|
+
(1, None): pickle.NONE,
|
|
968
|
+
(2, None): pickle.NONE,
|
|
969
|
+
(3, None): pickle.NONE,
|
|
970
|
+
|
|
971
|
+
(0, True): pickle.INT,
|
|
972
|
+
(1, True): pickle.INT,
|
|
973
|
+
(2, True): pickle.NEWTRUE,
|
|
974
|
+
(3, True): pickle.NEWTRUE,
|
|
975
|
+
|
|
976
|
+
(0, False): pickle.INT,
|
|
977
|
+
(1, False): pickle.INT,
|
|
978
|
+
(2, False): pickle.NEWFALSE,
|
|
979
|
+
(3, False): pickle.NEWFALSE,
|
|
980
|
+
}
|
|
981
|
+
for proto in protocols:
|
|
982
|
+
for x in None, False, True:
|
|
983
|
+
s = self.dumps(x, proto)
|
|
984
|
+
y = self.loads(s)
|
|
985
|
+
self.assertTrue(x is y, (proto, x, s, y))
|
|
986
|
+
expected = expected_opcode[min(proto, 3), x]
|
|
987
|
+
self.assertTrue(opcode_in_pickle(expected, s))
|
|
988
|
+
|
|
989
|
+
def test_newobj_tuple(self):
|
|
990
|
+
x = MyTuple([1, 2, 3])
|
|
991
|
+
x.foo = 42
|
|
992
|
+
x.bar = "hello"
|
|
993
|
+
for proto in protocols:
|
|
994
|
+
s = self.dumps(x, proto)
|
|
995
|
+
y = self.loads(s)
|
|
996
|
+
self.assert_is_copy(x, y)
|
|
997
|
+
|
|
998
|
+
def test_newobj_list(self):
|
|
999
|
+
x = MyList([1, 2, 3])
|
|
1000
|
+
x.foo = 42
|
|
1001
|
+
x.bar = "hello"
|
|
1002
|
+
for proto in protocols:
|
|
1003
|
+
s = self.dumps(x, proto)
|
|
1004
|
+
y = self.loads(s)
|
|
1005
|
+
self.assert_is_copy(x, y)
|
|
1006
|
+
|
|
1007
|
+
def test_newobj_generic(self):
|
|
1008
|
+
for proto in protocols:
|
|
1009
|
+
for C in myclasses:
|
|
1010
|
+
B = C.__base__
|
|
1011
|
+
x = C(C.sample)
|
|
1012
|
+
x.foo = 42
|
|
1013
|
+
s = self.dumps(x, proto)
|
|
1014
|
+
y = self.loads(s)
|
|
1015
|
+
detail = (proto, C, B, x, y, type(y))
|
|
1016
|
+
self.assert_is_copy(x, y) # XXX revisit
|
|
1017
|
+
self.assertEqual(B(x), B(y), detail)
|
|
1018
|
+
self.assertEqual(x.__dict__, y.__dict__, detail)
|
|
1019
|
+
|
|
1020
|
+
def test_newobj_proxies(self):
|
|
1021
|
+
# NEWOBJ should use the __class__ rather than the raw type
|
|
1022
|
+
classes = myclasses[:]
|
|
1023
|
+
# Cannot create weakproxies to these classes
|
|
1024
|
+
for c in (MyInt, MyTuple):
|
|
1025
|
+
classes.remove(c)
|
|
1026
|
+
for proto in protocols:
|
|
1027
|
+
for C in classes:
|
|
1028
|
+
B = C.__base__
|
|
1029
|
+
x = C(C.sample)
|
|
1030
|
+
x.foo = 42
|
|
1031
|
+
p = weakref.proxy(x)
|
|
1032
|
+
s = self.dumps(p, proto)
|
|
1033
|
+
y = self.loads(s)
|
|
1034
|
+
self.assertEqual(type(y), type(x)) # rather than type(p)
|
|
1035
|
+
detail = (proto, C, B, x, y, type(y))
|
|
1036
|
+
self.assertEqual(B(x), B(y), detail)
|
|
1037
|
+
self.assertEqual(x.__dict__, y.__dict__, detail)
|
|
1038
|
+
|
|
1039
|
+
# Register a type with copyreg, with extension code extcode. Pickle
|
|
1040
|
+
# an object of that type. Check that the resulting pickle uses opcode
|
|
1041
|
+
# (EXT[124]) under proto 2, and not in proto 1.
|
|
1042
|
+
|
|
1043
|
+
def produce_global_ext(self, extcode, opcode):
|
|
1044
|
+
e = ExtensionSaver(extcode)
|
|
1045
|
+
try:
|
|
1046
|
+
copyreg.add_extension(__name__, "MyList", extcode)
|
|
1047
|
+
x = MyList([1, 2, 3])
|
|
1048
|
+
x.foo = 42
|
|
1049
|
+
x.bar = "hello"
|
|
1050
|
+
|
|
1051
|
+
# Dump using protocol 1 for comparison.
|
|
1052
|
+
s1 = self.dumps(x, 1)
|
|
1053
|
+
self.assertIn(__name__.encode("utf-8"), s1)
|
|
1054
|
+
self.assertIn(b"MyList", s1)
|
|
1055
|
+
self.assertFalse(opcode_in_pickle(opcode, s1))
|
|
1056
|
+
|
|
1057
|
+
y = self.loads(s1)
|
|
1058
|
+
self.assert_is_copy(x, y)
|
|
1059
|
+
|
|
1060
|
+
# Dump using protocol 2 for test.
|
|
1061
|
+
s2 = self.dumps(x, 2)
|
|
1062
|
+
self.assertNotIn(__name__.encode("utf-8"), s2)
|
|
1063
|
+
self.assertNotIn(b"MyList", s2)
|
|
1064
|
+
self.assertEqual(opcode_in_pickle(opcode, s2), True, repr(s2))
|
|
1065
|
+
|
|
1066
|
+
y = self.loads(s2)
|
|
1067
|
+
self.assert_is_copy(x, y)
|
|
1068
|
+
finally:
|
|
1069
|
+
e.restore()
|
|
1070
|
+
|
|
1071
|
+
def test_global_ext1(self):
|
|
1072
|
+
self.produce_global_ext(0x00000001, pickle.EXT1) # smallest EXT1 code
|
|
1073
|
+
self.produce_global_ext(0x000000ff, pickle.EXT1) # largest EXT1 code
|
|
1074
|
+
|
|
1075
|
+
def test_global_ext2(self):
|
|
1076
|
+
self.produce_global_ext(0x00000100, pickle.EXT2) # smallest EXT2 code
|
|
1077
|
+
self.produce_global_ext(0x0000ffff, pickle.EXT2) # largest EXT2 code
|
|
1078
|
+
self.produce_global_ext(0x0000abcd, pickle.EXT2) # check endianness
|
|
1079
|
+
|
|
1080
|
+
def test_global_ext4(self):
|
|
1081
|
+
self.produce_global_ext(0x00010000, pickle.EXT4) # smallest EXT4 code
|
|
1082
|
+
self.produce_global_ext(0x7fffffff, pickle.EXT4) # largest EXT4 code
|
|
1083
|
+
self.produce_global_ext(0x12abcdef, pickle.EXT4) # check endianness
|
|
1084
|
+
|
|
1085
|
+
def test_list_chunking(self):
|
|
1086
|
+
n = 10 # too small to chunk
|
|
1087
|
+
x = list(range(n))
|
|
1088
|
+
for proto in protocols:
|
|
1089
|
+
s = self.dumps(x, proto)
|
|
1090
|
+
y = self.loads(s)
|
|
1091
|
+
self.assert_is_copy(x, y)
|
|
1092
|
+
num_appends = count_opcode(pickle.APPENDS, s)
|
|
1093
|
+
self.assertEqual(num_appends, proto > 0)
|
|
1094
|
+
|
|
1095
|
+
n = 2500 # expect at least two chunks when proto > 0
|
|
1096
|
+
x = list(range(n))
|
|
1097
|
+
for proto in protocols:
|
|
1098
|
+
s = self.dumps(x, proto)
|
|
1099
|
+
y = self.loads(s)
|
|
1100
|
+
self.assert_is_copy(x, y)
|
|
1101
|
+
num_appends = count_opcode(pickle.APPENDS, s)
|
|
1102
|
+
if proto == 0:
|
|
1103
|
+
self.assertEqual(num_appends, 0)
|
|
1104
|
+
else:
|
|
1105
|
+
self.assertTrue(num_appends >= 2)
|
|
1106
|
+
|
|
1107
|
+
def test_dict_chunking(self):
|
|
1108
|
+
n = 10 # too small to chunk
|
|
1109
|
+
x = dict.fromkeys(range(n))
|
|
1110
|
+
for proto in protocols:
|
|
1111
|
+
s = self.dumps(x, proto)
|
|
1112
|
+
self.assertIsInstance(s, bytes_types)
|
|
1113
|
+
y = self.loads(s)
|
|
1114
|
+
self.assert_is_copy(x, y)
|
|
1115
|
+
num_setitems = count_opcode(pickle.SETITEMS, s)
|
|
1116
|
+
self.assertEqual(num_setitems, proto > 0)
|
|
1117
|
+
|
|
1118
|
+
n = 2500 # expect at least two chunks when proto > 0
|
|
1119
|
+
x = dict.fromkeys(range(n))
|
|
1120
|
+
for proto in protocols:
|
|
1121
|
+
s = self.dumps(x, proto)
|
|
1122
|
+
y = self.loads(s)
|
|
1123
|
+
self.assert_is_copy(x, y)
|
|
1124
|
+
num_setitems = count_opcode(pickle.SETITEMS, s)
|
|
1125
|
+
if proto == 0:
|
|
1126
|
+
self.assertEqual(num_setitems, 0)
|
|
1127
|
+
else:
|
|
1128
|
+
self.assertTrue(num_setitems >= 2)
|
|
1129
|
+
|
|
1130
|
+
def test_set_chunking(self):
|
|
1131
|
+
n = 10 # too small to chunk
|
|
1132
|
+
x = set(range(n))
|
|
1133
|
+
for proto in protocols:
|
|
1134
|
+
s = self.dumps(x, proto)
|
|
1135
|
+
y = self.loads(s)
|
|
1136
|
+
self.assert_is_copy(x, y)
|
|
1137
|
+
num_additems = count_opcode(pickle.ADDITEMS, s)
|
|
1138
|
+
if proto < 4:
|
|
1139
|
+
self.assertEqual(num_additems, 0)
|
|
1140
|
+
else:
|
|
1141
|
+
self.assertEqual(num_additems, 1)
|
|
1142
|
+
|
|
1143
|
+
n = 2500 # expect at least two chunks when proto >= 4
|
|
1144
|
+
x = set(range(n))
|
|
1145
|
+
for proto in protocols:
|
|
1146
|
+
s = self.dumps(x, proto)
|
|
1147
|
+
y = self.loads(s)
|
|
1148
|
+
self.assert_is_copy(x, y)
|
|
1149
|
+
num_additems = count_opcode(pickle.ADDITEMS, s)
|
|
1150
|
+
if proto < 4:
|
|
1151
|
+
self.assertEqual(num_additems, 0)
|
|
1152
|
+
else:
|
|
1153
|
+
self.assertGreaterEqual(num_additems, 2)
|
|
1154
|
+
|
|
1155
|
+
def test_simple_newobj(self):
|
|
1156
|
+
x = object.__new__(SimpleNewObj) # avoid __init__
|
|
1157
|
+
x.abc = 666
|
|
1158
|
+
for proto in protocols:
|
|
1159
|
+
s = self.dumps(x, proto)
|
|
1160
|
+
self.assertEqual(opcode_in_pickle(pickle.NEWOBJ, s),
|
|
1161
|
+
2 <= proto < 4)
|
|
1162
|
+
self.assertEqual(opcode_in_pickle(pickle.NEWOBJ_EX, s),
|
|
1163
|
+
proto >= 4)
|
|
1164
|
+
y = self.loads(s) # will raise TypeError if __init__ called
|
|
1165
|
+
self.assert_is_copy(x, y)
|
|
1166
|
+
|
|
1167
|
+
def test_newobj_list_slots(self):
|
|
1168
|
+
x = SlotList([1, 2, 3])
|
|
1169
|
+
x.foo = 42
|
|
1170
|
+
x.bar = "hello"
|
|
1171
|
+
s = self.dumps(x, 2)
|
|
1172
|
+
y = self.loads(s)
|
|
1173
|
+
self.assert_is_copy(x, y)
|
|
1174
|
+
|
|
1175
|
+
def test_reduce_overrides_default_reduce_ex(self):
|
|
1176
|
+
for proto in protocols:
|
|
1177
|
+
x = REX_one()
|
|
1178
|
+
self.assertEqual(x._reduce_called, 0)
|
|
1179
|
+
s = self.dumps(x, proto)
|
|
1180
|
+
self.assertEqual(x._reduce_called, 1)
|
|
1181
|
+
y = self.loads(s)
|
|
1182
|
+
self.assertEqual(y._reduce_called, 0)
|
|
1183
|
+
|
|
1184
|
+
def test_reduce_ex_called(self):
|
|
1185
|
+
for proto in protocols:
|
|
1186
|
+
x = REX_two()
|
|
1187
|
+
self.assertEqual(x._proto, None)
|
|
1188
|
+
s = self.dumps(x, proto)
|
|
1189
|
+
self.assertEqual(x._proto, proto)
|
|
1190
|
+
y = self.loads(s)
|
|
1191
|
+
self.assertEqual(y._proto, None)
|
|
1192
|
+
|
|
1193
|
+
def test_reduce_ex_overrides_reduce(self):
|
|
1194
|
+
for proto in protocols:
|
|
1195
|
+
x = REX_three()
|
|
1196
|
+
self.assertEqual(x._proto, None)
|
|
1197
|
+
s = self.dumps(x, proto)
|
|
1198
|
+
self.assertEqual(x._proto, proto)
|
|
1199
|
+
y = self.loads(s)
|
|
1200
|
+
self.assertEqual(y._proto, None)
|
|
1201
|
+
|
|
1202
|
+
def test_reduce_ex_calls_base(self):
|
|
1203
|
+
for proto in protocols:
|
|
1204
|
+
x = REX_four()
|
|
1205
|
+
self.assertEqual(x._proto, None)
|
|
1206
|
+
s = self.dumps(x, proto)
|
|
1207
|
+
self.assertEqual(x._proto, proto)
|
|
1208
|
+
y = self.loads(s)
|
|
1209
|
+
self.assertEqual(y._proto, proto)
|
|
1210
|
+
|
|
1211
|
+
def test_reduce_calls_base(self):
|
|
1212
|
+
for proto in protocols:
|
|
1213
|
+
x = REX_five()
|
|
1214
|
+
self.assertEqual(x._reduce_called, 0)
|
|
1215
|
+
s = self.dumps(x, proto)
|
|
1216
|
+
self.assertEqual(x._reduce_called, 1)
|
|
1217
|
+
y = self.loads(s)
|
|
1218
|
+
self.assertEqual(y._reduce_called, 1)
|
|
1219
|
+
|
|
1220
|
+
@no_tracing
|
|
1221
|
+
def test_bad_getattr(self):
|
|
1222
|
+
# Issue #3514: crash when there is an infinite loop in __getattr__
|
|
1223
|
+
x = BadGetattr()
|
|
1224
|
+
for proto in protocols:
|
|
1225
|
+
self.assertRaises(RuntimeError, self.dumps, x, proto)
|
|
1226
|
+
|
|
1227
|
+
def test_reduce_bad_iterator(self):
|
|
1228
|
+
# Issue4176: crash when 4th and 5th items of __reduce__()
|
|
1229
|
+
# are not iterators
|
|
1230
|
+
class C(object):
|
|
1231
|
+
def __reduce__(self):
|
|
1232
|
+
# 4th item is not an iterator
|
|
1233
|
+
return list, (), None, [], None
|
|
1234
|
+
class D(object):
|
|
1235
|
+
def __reduce__(self):
|
|
1236
|
+
# 5th item is not an iterator
|
|
1237
|
+
return dict, (), None, None, []
|
|
1238
|
+
|
|
1239
|
+
# Protocol 0 is less strict and also accept iterables.
|
|
1240
|
+
for proto in protocols:
|
|
1241
|
+
try:
|
|
1242
|
+
self.dumps(C(), proto)
|
|
1243
|
+
except (pickle.PickleError):
|
|
1244
|
+
pass
|
|
1245
|
+
try:
|
|
1246
|
+
self.dumps(D(), proto)
|
|
1247
|
+
except (pickle.PickleError):
|
|
1248
|
+
pass
|
|
1249
|
+
|
|
1250
|
+
def test_many_puts_and_gets(self):
|
|
1251
|
+
# Test that internal data structures correctly deal with lots of
|
|
1252
|
+
# puts/gets.
|
|
1253
|
+
keys = ("aaa" + str(i) for i in range(100))
|
|
1254
|
+
large_dict = dict((k, [4, 5, 6]) for k in keys)
|
|
1255
|
+
obj = [dict(large_dict), dict(large_dict), dict(large_dict)]
|
|
1256
|
+
|
|
1257
|
+
for proto in protocols:
|
|
1258
|
+
with self.subTest(proto=proto):
|
|
1259
|
+
dumped = self.dumps(obj, proto)
|
|
1260
|
+
loaded = self.loads(dumped)
|
|
1261
|
+
self.assert_is_copy(obj, loaded)
|
|
1262
|
+
|
|
1263
|
+
def test_attribute_name_interning(self):
|
|
1264
|
+
# Test that attribute names of pickled objects are interned when
|
|
1265
|
+
# unpickling.
|
|
1266
|
+
for proto in protocols:
|
|
1267
|
+
x = C()
|
|
1268
|
+
x.foo = 42
|
|
1269
|
+
x.bar = "hello"
|
|
1270
|
+
s = self.dumps(x, proto)
|
|
1271
|
+
y = self.loads(s)
|
|
1272
|
+
x_keys = sorted(x.__dict__)
|
|
1273
|
+
y_keys = sorted(y.__dict__)
|
|
1274
|
+
for x_key, y_key in zip(x_keys, y_keys):
|
|
1275
|
+
self.assertIs(x_key, y_key)
|
|
1276
|
+
|
|
1277
|
+
def test_unpickle_from_2x(self):
|
|
1278
|
+
# Unpickle non-trivial data from Python 2.x.
|
|
1279
|
+
loaded = self.loads(DATA3)
|
|
1280
|
+
self.assertEqual(loaded, set([1, 2]))
|
|
1281
|
+
loaded = self.loads(DATA4)
|
|
1282
|
+
self.assertEqual(type(loaded), type(range(0)))
|
|
1283
|
+
self.assertEqual(list(loaded), list(range(5)))
|
|
1284
|
+
loaded = self.loads(DATA5)
|
|
1285
|
+
self.assertEqual(type(loaded), SimpleCookie)
|
|
1286
|
+
self.assertEqual(list(loaded.keys()), ["key"])
|
|
1287
|
+
self.assertEqual(loaded["key"].value, "Set-Cookie: key=value")
|
|
1288
|
+
|
|
1289
|
+
for (exc, data) in DATA7.items():
|
|
1290
|
+
loaded = self.loads(data)
|
|
1291
|
+
self.assertIs(type(loaded), exc)
|
|
1292
|
+
|
|
1293
|
+
loaded = self.loads(DATA8)
|
|
1294
|
+
self.assertIs(type(loaded), Exception)
|
|
1295
|
+
|
|
1296
|
+
loaded = self.loads(DATA9)
|
|
1297
|
+
self.assertIs(type(loaded), UnicodeEncodeError)
|
|
1298
|
+
self.assertEqual(loaded.object, "foo")
|
|
1299
|
+
self.assertEqual(loaded.encoding, "ascii")
|
|
1300
|
+
self.assertEqual(loaded.start, 0)
|
|
1301
|
+
self.assertEqual(loaded.end, 1)
|
|
1302
|
+
self.assertEqual(loaded.reason, "bad")
|
|
1303
|
+
|
|
1304
|
+
def test_pickle_to_2x(self):
|
|
1305
|
+
# Pickle non-trivial data with protocol 2, expecting that it yields
|
|
1306
|
+
# the same result as Python 2.x did.
|
|
1307
|
+
# NOTE: this test is a bit too strong since we can produce different
|
|
1308
|
+
# bytecode that 2.x will still understand.
|
|
1309
|
+
dumped = self.dumps(range(5), 2)
|
|
1310
|
+
self.assertEqual(dumped, DATA4)
|
|
1311
|
+
dumped = self.dumps(set([3]), 2)
|
|
1312
|
+
self.assertEqual(dumped, DATA6)
|
|
1313
|
+
|
|
1314
|
+
def test_load_python2_str_as_bytes(self):
|
|
1315
|
+
# From Python 2: pickle.dumps('a\x00\xa0', protocol=0)
|
|
1316
|
+
self.assertEqual(self.loads(b"S'a\\x00\\xa0'\n.",
|
|
1317
|
+
encoding="bytes"), b'a\x00\xa0')
|
|
1318
|
+
# From Python 2: pickle.dumps('a\x00\xa0', protocol=1)
|
|
1319
|
+
self.assertEqual(self.loads(b'U\x03a\x00\xa0.',
|
|
1320
|
+
encoding="bytes"), b'a\x00\xa0')
|
|
1321
|
+
# From Python 2: pickle.dumps('a\x00\xa0', protocol=2)
|
|
1322
|
+
self.assertEqual(self.loads(b'\x80\x02U\x03a\x00\xa0.',
|
|
1323
|
+
encoding="bytes"), b'a\x00\xa0')
|
|
1324
|
+
|
|
1325
|
+
def test_load_python2_unicode_as_str(self):
|
|
1326
|
+
# From Python 2: pickle.dumps(u'π', protocol=0)
|
|
1327
|
+
self.assertEqual(self.loads(b'V\\u03c0\n.',
|
|
1328
|
+
encoding='bytes'), 'π')
|
|
1329
|
+
# From Python 2: pickle.dumps(u'π', protocol=1)
|
|
1330
|
+
self.assertEqual(self.loads(b'X\x02\x00\x00\x00\xcf\x80.',
|
|
1331
|
+
encoding="bytes"), 'π')
|
|
1332
|
+
# From Python 2: pickle.dumps(u'π', protocol=2)
|
|
1333
|
+
self.assertEqual(self.loads(b'\x80\x02X\x02\x00\x00\x00\xcf\x80.',
|
|
1334
|
+
encoding="bytes"), 'π')
|
|
1335
|
+
|
|
1336
|
+
def test_load_long_python2_str_as_bytes(self):
|
|
1337
|
+
# From Python 2: pickle.dumps('x' * 300, protocol=1)
|
|
1338
|
+
self.assertEqual(self.loads(pickle.BINSTRING +
|
|
1339
|
+
struct.pack("<I", 300) +
|
|
1340
|
+
b'x' * 300 + pickle.STOP,
|
|
1341
|
+
encoding='bytes'), b'x' * 300)
|
|
1342
|
+
|
|
1343
|
+
def test_large_pickles(self):
|
|
1344
|
+
# Test the correctness of internal buffering routines when handling
|
|
1345
|
+
# large data.
|
|
1346
|
+
for proto in protocols:
|
|
1347
|
+
data = (1, min, b'xy' * (30 * 1024), len)
|
|
1348
|
+
dumped = self.dumps(data, proto)
|
|
1349
|
+
loaded = self.loads(dumped)
|
|
1350
|
+
self.assertEqual(len(loaded), len(data))
|
|
1351
|
+
self.assertEqual(loaded, data)
|
|
1352
|
+
|
|
1353
|
+
def test_empty_bytestring(self):
|
|
1354
|
+
# issue 11286
|
|
1355
|
+
empty = self.loads(b'\x80\x03U\x00q\x00.', encoding='koi8-r')
|
|
1356
|
+
self.assertEqual(empty, '')
|
|
1357
|
+
|
|
1358
|
+
def test_int_pickling_efficiency(self):
|
|
1359
|
+
# Test compacity of int representation (see issue #12744)
|
|
1360
|
+
for proto in protocols:
|
|
1361
|
+
with self.subTest(proto=proto):
|
|
1362
|
+
pickles = [self.dumps(2**n, proto) for n in range(70)]
|
|
1363
|
+
sizes = list(map(len, pickles))
|
|
1364
|
+
# the size function is monotonic
|
|
1365
|
+
self.assertEqual(sorted(sizes), sizes)
|
|
1366
|
+
if proto >= 2:
|
|
1367
|
+
for p in pickles:
|
|
1368
|
+
self.assertFalse(opcode_in_pickle(pickle.LONG, p))
|
|
1369
|
+
|
|
1370
|
+
def check_negative_32b_binXXX(self, dumped):
|
|
1371
|
+
if sys.maxsize > 2**32:
|
|
1372
|
+
self.skipTest("test is only meaningful on 32-bit builds")
|
|
1373
|
+
# XXX Pure Python pickle reads lengths as signed and passes
|
|
1374
|
+
# them directly to read() (hence the EOFError)
|
|
1375
|
+
with self.assertRaises((pickle.UnpicklingError, EOFError,
|
|
1376
|
+
ValueError, OverflowError)):
|
|
1377
|
+
self.loads(dumped)
|
|
1378
|
+
|
|
1379
|
+
def test_negative_32b_binbytes(self):
|
|
1380
|
+
# On 32-bit builds, a BINBYTES of 2**31 or more is refused
|
|
1381
|
+
self.check_negative_32b_binXXX(b'\x80\x03B\xff\xff\xff\xffxyzq\x00.')
|
|
1382
|
+
|
|
1383
|
+
def test_negative_32b_binunicode(self):
|
|
1384
|
+
# On 32-bit builds, a BINUNICODE of 2**31 or more is refused
|
|
1385
|
+
self.check_negative_32b_binXXX(b'\x80\x03X\xff\xff\xff\xffxyzq\x00.')
|
|
1386
|
+
|
|
1387
|
+
def test_negative_put(self):
|
|
1388
|
+
# Issue #12847
|
|
1389
|
+
dumped = b'Va\np-1\n.'
|
|
1390
|
+
self.assertRaises(ValueError, self.loads, dumped)
|
|
1391
|
+
|
|
1392
|
+
def test_negative_32b_binput(self):
|
|
1393
|
+
# Issue #12847
|
|
1394
|
+
if sys.maxsize > 2**32:
|
|
1395
|
+
self.skipTest("test is only meaningful on 32-bit builds")
|
|
1396
|
+
dumped = b'\x80\x03X\x01\x00\x00\x00ar\xff\xff\xff\xff.'
|
|
1397
|
+
self.assertRaises(ValueError, self.loads, dumped)
|
|
1398
|
+
|
|
1399
|
+
def test_badly_escaped_string(self):
|
|
1400
|
+
self.assertRaises(ValueError, self.loads, b"S'\\'\n.")
|
|
1401
|
+
|
|
1402
|
+
def test_badly_quoted_string(self):
|
|
1403
|
+
# Issue #17710
|
|
1404
|
+
badpickles = [b"S'\n.",
|
|
1405
|
+
b'S"\n.',
|
|
1406
|
+
b'S\' \n.',
|
|
1407
|
+
b'S" \n.',
|
|
1408
|
+
b'S\'"\n.',
|
|
1409
|
+
b'S"\'\n.',
|
|
1410
|
+
b"S' ' \n.",
|
|
1411
|
+
b'S" " \n.',
|
|
1412
|
+
b"S ''\n.",
|
|
1413
|
+
b'S ""\n.',
|
|
1414
|
+
b'S \n.',
|
|
1415
|
+
b'S\n.',
|
|
1416
|
+
b'S.']
|
|
1417
|
+
for p in badpickles:
|
|
1418
|
+
self.assertRaises(pickle.UnpicklingError, self.loads, p)
|
|
1419
|
+
|
|
1420
|
+
def test_correctly_quoted_string(self):
|
|
1421
|
+
goodpickles = [(b"S''\n.", ''),
|
|
1422
|
+
(b'S""\n.', ''),
|
|
1423
|
+
(b'S"\\n"\n.', '\n'),
|
|
1424
|
+
(b"S'\\n'\n.", '\n')]
|
|
1425
|
+
for p, expected in goodpickles:
|
|
1426
|
+
self.assertEqual(self.loads(p), expected)
|
|
1427
|
+
|
|
1428
|
+
def _check_pickling_with_opcode(self, obj, opcode, proto):
|
|
1429
|
+
pickled = self.dumps(obj, proto)
|
|
1430
|
+
self.assertTrue(opcode_in_pickle(opcode, pickled))
|
|
1431
|
+
unpickled = self.loads(pickled)
|
|
1432
|
+
self.assertEqual(obj, unpickled)
|
|
1433
|
+
|
|
1434
|
+
def test_appends_on_non_lists(self):
|
|
1435
|
+
# Issue #17720
|
|
1436
|
+
obj = REX_six([1, 2, 3])
|
|
1437
|
+
for proto in protocols:
|
|
1438
|
+
if proto == 0:
|
|
1439
|
+
self._check_pickling_with_opcode(obj, pickle.APPEND, proto)
|
|
1440
|
+
else:
|
|
1441
|
+
self._check_pickling_with_opcode(obj, pickle.APPENDS, proto)
|
|
1442
|
+
|
|
1443
|
+
def test_setitems_on_non_dicts(self):
|
|
1444
|
+
obj = REX_seven({1: -1, 2: -2, 3: -3})
|
|
1445
|
+
for proto in protocols:
|
|
1446
|
+
if proto == 0:
|
|
1447
|
+
self._check_pickling_with_opcode(obj, pickle.SETITEM, proto)
|
|
1448
|
+
else:
|
|
1449
|
+
self._check_pickling_with_opcode(obj, pickle.SETITEMS, proto)
|
|
1450
|
+
|
|
1451
|
+
# Exercise framing (proto >= 4) for significant workloads
|
|
1452
|
+
|
|
1453
|
+
FRAME_SIZE_TARGET = 64 * 1024
|
|
1454
|
+
|
|
1455
|
+
def check_frame_opcodes(self, pickled):
|
|
1456
|
+
"""
|
|
1457
|
+
Check the arguments of FRAME opcodes in a protocol 4+ pickle.
|
|
1458
|
+
"""
|
|
1459
|
+
frame_opcode_size = 9
|
|
1460
|
+
last_arg = last_pos = None
|
|
1461
|
+
for op, arg, pos in pickletools.genops(pickled):
|
|
1462
|
+
if op.name != 'FRAME':
|
|
1463
|
+
continue
|
|
1464
|
+
if last_pos is not None:
|
|
1465
|
+
# The previous frame's size should be equal to the number
|
|
1466
|
+
# of bytes up to the current frame.
|
|
1467
|
+
frame_size = pos - last_pos - frame_opcode_size
|
|
1468
|
+
self.assertEqual(frame_size, last_arg)
|
|
1469
|
+
last_arg, last_pos = arg, pos
|
|
1470
|
+
# The last frame's size should be equal to the number of bytes up
|
|
1471
|
+
# to the pickle's end.
|
|
1472
|
+
frame_size = len(pickled) - last_pos - frame_opcode_size
|
|
1473
|
+
self.assertEqual(frame_size, last_arg)
|
|
1474
|
+
|
|
1475
|
+
def test_framing_many_objects(self):
|
|
1476
|
+
obj = list(range(10**5))
|
|
1477
|
+
for proto in range(4, pickle.HIGHEST_PROTOCOL + 1):
|
|
1478
|
+
with self.subTest(proto=proto):
|
|
1479
|
+
pickled = self.dumps(obj, proto)
|
|
1480
|
+
unpickled = self.loads(pickled)
|
|
1481
|
+
self.assertEqual(obj, unpickled)
|
|
1482
|
+
bytes_per_frame = (len(pickled) /
|
|
1483
|
+
count_opcode(pickle.FRAME, pickled))
|
|
1484
|
+
self.assertGreater(bytes_per_frame,
|
|
1485
|
+
self.FRAME_SIZE_TARGET / 2)
|
|
1486
|
+
self.assertLessEqual(bytes_per_frame,
|
|
1487
|
+
self.FRAME_SIZE_TARGET * 1)
|
|
1488
|
+
self.check_frame_opcodes(pickled)
|
|
1489
|
+
|
|
1490
|
+
def test_framing_large_objects(self):
|
|
1491
|
+
N = 1024 * 1024
|
|
1492
|
+
obj = [b'x' * N, b'y' * N, b'z' * N]
|
|
1493
|
+
for proto in range(4, pickle.HIGHEST_PROTOCOL + 1):
|
|
1494
|
+
with self.subTest(proto=proto):
|
|
1495
|
+
pickled = self.dumps(obj, proto)
|
|
1496
|
+
unpickled = self.loads(pickled)
|
|
1497
|
+
self.assertEqual(obj, unpickled)
|
|
1498
|
+
n_frames = count_opcode(pickle.FRAME, pickled)
|
|
1499
|
+
self.assertGreaterEqual(n_frames, len(obj))
|
|
1500
|
+
self.check_frame_opcodes(pickled)
|
|
1501
|
+
|
|
1502
|
+
def test_optional_frames(self):
|
|
1503
|
+
if pickle.HIGHEST_PROTOCOL < 4:
|
|
1504
|
+
return
|
|
1505
|
+
|
|
1506
|
+
def remove_frames(pickled, keep_frame=None):
|
|
1507
|
+
"""Remove frame opcodes from the given pickle."""
|
|
1508
|
+
frame_starts = []
|
|
1509
|
+
# 1 byte for the opcode and 8 for the argument
|
|
1510
|
+
frame_opcode_size = 9
|
|
1511
|
+
for opcode, _, pos in pickletools.genops(pickled):
|
|
1512
|
+
if opcode.name == 'FRAME':
|
|
1513
|
+
frame_starts.append(pos)
|
|
1514
|
+
|
|
1515
|
+
newpickle = bytearray()
|
|
1516
|
+
last_frame_end = 0
|
|
1517
|
+
for i, pos in enumerate(frame_starts):
|
|
1518
|
+
if keep_frame and keep_frame(i):
|
|
1519
|
+
continue
|
|
1520
|
+
newpickle += pickled[last_frame_end:pos]
|
|
1521
|
+
last_frame_end = pos + frame_opcode_size
|
|
1522
|
+
newpickle += pickled[last_frame_end:]
|
|
1523
|
+
return newpickle
|
|
1524
|
+
|
|
1525
|
+
frame_size = self.FRAME_SIZE_TARGET
|
|
1526
|
+
num_frames = 20
|
|
1527
|
+
obj = [bytes([i]) * frame_size for i in range(num_frames)]
|
|
1528
|
+
|
|
1529
|
+
for proto in range(4, pickle.HIGHEST_PROTOCOL + 1):
|
|
1530
|
+
pickled = self.dumps(obj, proto)
|
|
1531
|
+
|
|
1532
|
+
frameless_pickle = remove_frames(pickled)
|
|
1533
|
+
self.assertEqual(count_opcode(pickle.FRAME, frameless_pickle), 0)
|
|
1534
|
+
self.assertEqual(obj, self.loads(frameless_pickle))
|
|
1535
|
+
|
|
1536
|
+
some_frames_pickle = remove_frames(pickled, lambda i: i % 2)
|
|
1537
|
+
self.assertLess(count_opcode(pickle.FRAME, some_frames_pickle),
|
|
1538
|
+
count_opcode(pickle.FRAME, pickled))
|
|
1539
|
+
self.assertEqual(obj, self.loads(some_frames_pickle))
|
|
1540
|
+
|
|
1541
|
+
def test_nested_names(self):
|
|
1542
|
+
global Nested
|
|
1543
|
+
class Nested:
|
|
1544
|
+
class A:
|
|
1545
|
+
class B:
|
|
1546
|
+
class C:
|
|
1547
|
+
pass
|
|
1548
|
+
|
|
1549
|
+
for proto in range(4, pickle.HIGHEST_PROTOCOL + 1):
|
|
1550
|
+
for obj in [Nested.A, Nested.A.B, Nested.A.B.C]:
|
|
1551
|
+
with self.subTest(proto=proto, obj=obj):
|
|
1552
|
+
unpickled = self.loads(self.dumps(obj, proto))
|
|
1553
|
+
self.assertIs(obj, unpickled)
|
|
1554
|
+
|
|
1555
|
+
def test_py_methods(self):
|
|
1556
|
+
global PyMethodsTest
|
|
1557
|
+
class PyMethodsTest:
|
|
1558
|
+
@staticmethod
|
|
1559
|
+
def cheese():
|
|
1560
|
+
return "cheese"
|
|
1561
|
+
@classmethod
|
|
1562
|
+
def wine(cls):
|
|
1563
|
+
assert cls is PyMethodsTest
|
|
1564
|
+
return "wine"
|
|
1565
|
+
def biscuits(self):
|
|
1566
|
+
assert isinstance(self, PyMethodsTest)
|
|
1567
|
+
return "biscuits"
|
|
1568
|
+
class Nested:
|
|
1569
|
+
"Nested class"
|
|
1570
|
+
@staticmethod
|
|
1571
|
+
def ketchup():
|
|
1572
|
+
return "ketchup"
|
|
1573
|
+
@classmethod
|
|
1574
|
+
def maple(cls):
|
|
1575
|
+
assert cls is PyMethodsTest.Nested
|
|
1576
|
+
return "maple"
|
|
1577
|
+
def pie(self):
|
|
1578
|
+
assert isinstance(self, PyMethodsTest.Nested)
|
|
1579
|
+
return "pie"
|
|
1580
|
+
|
|
1581
|
+
py_methods = (
|
|
1582
|
+
PyMethodsTest.cheese,
|
|
1583
|
+
PyMethodsTest.wine,
|
|
1584
|
+
PyMethodsTest().biscuits,
|
|
1585
|
+
PyMethodsTest.Nested.ketchup,
|
|
1586
|
+
PyMethodsTest.Nested.maple,
|
|
1587
|
+
PyMethodsTest.Nested().pie
|
|
1588
|
+
)
|
|
1589
|
+
py_unbound_methods = (
|
|
1590
|
+
(PyMethodsTest.biscuits, PyMethodsTest),
|
|
1591
|
+
(PyMethodsTest.Nested.pie, PyMethodsTest.Nested)
|
|
1592
|
+
)
|
|
1593
|
+
for proto in range(4, pickle.HIGHEST_PROTOCOL + 1):
|
|
1594
|
+
for method in py_methods:
|
|
1595
|
+
with self.subTest(proto=proto, method=method):
|
|
1596
|
+
unpickled = self.loads(self.dumps(method, proto))
|
|
1597
|
+
self.assertEqual(method(), unpickled())
|
|
1598
|
+
for method, cls in py_unbound_methods:
|
|
1599
|
+
obj = cls()
|
|
1600
|
+
with self.subTest(proto=proto, method=method):
|
|
1601
|
+
unpickled = self.loads(self.dumps(method, proto))
|
|
1602
|
+
self.assertEqual(method(obj), unpickled(obj))
|
|
1603
|
+
|
|
1604
|
+
def test_c_methods(self):
|
|
1605
|
+
global Subclass
|
|
1606
|
+
class Subclass(tuple):
|
|
1607
|
+
class Nested(str):
|
|
1608
|
+
pass
|
|
1609
|
+
|
|
1610
|
+
c_methods = (
|
|
1611
|
+
# bound built-in method
|
|
1612
|
+
("abcd".index, ("c",)),
|
|
1613
|
+
# unbound built-in method
|
|
1614
|
+
(str.index, ("abcd", "c")),
|
|
1615
|
+
# bound "slot" method
|
|
1616
|
+
([1, 2, 3].__len__, ()),
|
|
1617
|
+
# unbound "slot" method
|
|
1618
|
+
(list.__len__, ([1, 2, 3],)),
|
|
1619
|
+
# bound "coexist" method
|
|
1620
|
+
({1, 2}.__contains__, (2,)),
|
|
1621
|
+
# unbound "coexist" method
|
|
1622
|
+
(set.__contains__, ({1, 2}, 2)),
|
|
1623
|
+
# built-in class method
|
|
1624
|
+
(dict.fromkeys, (("a", 1), ("b", 2))),
|
|
1625
|
+
# built-in static method
|
|
1626
|
+
(bytearray.maketrans, (b"abc", b"xyz")),
|
|
1627
|
+
# subclass methods
|
|
1628
|
+
(Subclass([1,2,2]).count, (2,)),
|
|
1629
|
+
(Subclass.count, (Subclass([1,2,2]), 2)),
|
|
1630
|
+
(Subclass.Nested("sweet").count, ("e",)),
|
|
1631
|
+
(Subclass.Nested.count, (Subclass.Nested("sweet"), "e")),
|
|
1632
|
+
)
|
|
1633
|
+
for proto in range(4, pickle.HIGHEST_PROTOCOL + 1):
|
|
1634
|
+
for method, args in c_methods:
|
|
1635
|
+
with self.subTest(proto=proto, method=method):
|
|
1636
|
+
unpickled = self.loads(self.dumps(method, proto))
|
|
1637
|
+
self.assertEqual(method(*args), unpickled(*args))
|
|
1638
|
+
|
|
1639
|
+
|
|
1640
|
+
class BigmemPickleTests(unittest.TestCase):
|
|
1641
|
+
|
|
1642
|
+
# Binary protocols can serialize longs of up to 2GB-1
|
|
1643
|
+
|
|
1644
|
+
@bigmemtest(size=_2G, memuse=3.6, dry_run=False)
|
|
1645
|
+
def test_huge_long_32b(self, size):
|
|
1646
|
+
data = 1 << (8 * size)
|
|
1647
|
+
try:
|
|
1648
|
+
for proto in protocols:
|
|
1649
|
+
if proto < 2:
|
|
1650
|
+
continue
|
|
1651
|
+
with self.subTest(proto=proto):
|
|
1652
|
+
with self.assertRaises((ValueError, OverflowError)):
|
|
1653
|
+
self.dumps(data, protocol=proto)
|
|
1654
|
+
finally:
|
|
1655
|
+
data = None
|
|
1656
|
+
|
|
1657
|
+
# Protocol 3 can serialize up to 4GB-1 as a bytes object
|
|
1658
|
+
# (older protocols don't have a dedicated opcode for bytes and are
|
|
1659
|
+
# too inefficient)
|
|
1660
|
+
|
|
1661
|
+
@bigmemtest(size=_2G, memuse=2.5, dry_run=False)
|
|
1662
|
+
def test_huge_bytes_32b(self, size):
|
|
1663
|
+
data = b"abcd" * (size // 4)
|
|
1664
|
+
try:
|
|
1665
|
+
for proto in protocols:
|
|
1666
|
+
if proto < 3:
|
|
1667
|
+
continue
|
|
1668
|
+
with self.subTest(proto=proto):
|
|
1669
|
+
try:
|
|
1670
|
+
pickled = self.dumps(data, protocol=proto)
|
|
1671
|
+
header = (pickle.BINBYTES +
|
|
1672
|
+
struct.pack("<I", len(data)))
|
|
1673
|
+
data_start = pickled.index(data)
|
|
1674
|
+
self.assertEqual(
|
|
1675
|
+
header,
|
|
1676
|
+
pickled[data_start-len(header):data_start])
|
|
1677
|
+
finally:
|
|
1678
|
+
pickled = None
|
|
1679
|
+
finally:
|
|
1680
|
+
data = None
|
|
1681
|
+
|
|
1682
|
+
@bigmemtest(size=_4G, memuse=2.5, dry_run=False)
|
|
1683
|
+
def test_huge_bytes_64b(self, size):
|
|
1684
|
+
data = b"acbd" * (size // 4)
|
|
1685
|
+
try:
|
|
1686
|
+
for proto in protocols:
|
|
1687
|
+
if proto < 3:
|
|
1688
|
+
continue
|
|
1689
|
+
with self.subTest(proto=proto):
|
|
1690
|
+
if proto == 3:
|
|
1691
|
+
# Protocol 3 does not support large bytes objects.
|
|
1692
|
+
# Verify that we do not crash when processing one.
|
|
1693
|
+
with self.assertRaises((ValueError, OverflowError)):
|
|
1694
|
+
self.dumps(data, protocol=proto)
|
|
1695
|
+
continue
|
|
1696
|
+
try:
|
|
1697
|
+
pickled = self.dumps(data, protocol=proto)
|
|
1698
|
+
header = (pickle.BINBYTES8 +
|
|
1699
|
+
struct.pack("<Q", len(data)))
|
|
1700
|
+
data_start = pickled.index(data)
|
|
1701
|
+
self.assertEqual(
|
|
1702
|
+
header,
|
|
1703
|
+
pickled[data_start-len(header):data_start])
|
|
1704
|
+
finally:
|
|
1705
|
+
pickled = None
|
|
1706
|
+
finally:
|
|
1707
|
+
data = None
|
|
1708
|
+
|
|
1709
|
+
# All protocols use 1-byte per printable ASCII character; we add another
|
|
1710
|
+
# byte because the encoded form has to be copied into the internal buffer.
|
|
1711
|
+
|
|
1712
|
+
@bigmemtest(size=_2G, memuse=8, dry_run=False)
|
|
1713
|
+
def test_huge_str_32b(self, size):
|
|
1714
|
+
data = "abcd" * (size // 4)
|
|
1715
|
+
try:
|
|
1716
|
+
for proto in protocols:
|
|
1717
|
+
if proto == 0:
|
|
1718
|
+
continue
|
|
1719
|
+
with self.subTest(proto=proto):
|
|
1720
|
+
try:
|
|
1721
|
+
pickled = self.dumps(data, protocol=proto)
|
|
1722
|
+
header = (pickle.BINUNICODE +
|
|
1723
|
+
struct.pack("<I", len(data)))
|
|
1724
|
+
data_start = pickled.index(b'abcd')
|
|
1725
|
+
self.assertEqual(
|
|
1726
|
+
header,
|
|
1727
|
+
pickled[data_start-len(header):data_start])
|
|
1728
|
+
self.assertEqual((pickled.rindex(b"abcd") + len(b"abcd") -
|
|
1729
|
+
pickled.index(b"abcd")), len(data))
|
|
1730
|
+
finally:
|
|
1731
|
+
pickled = None
|
|
1732
|
+
finally:
|
|
1733
|
+
data = None
|
|
1734
|
+
|
|
1735
|
+
# BINUNICODE (protocols 1, 2 and 3) cannot carry more than 2**32 - 1 bytes
|
|
1736
|
+
# of utf-8 encoded unicode. BINUNICODE8 (protocol 4) supports these huge
|
|
1737
|
+
# unicode strings however.
|
|
1738
|
+
|
|
1739
|
+
@bigmemtest(size=_4G, memuse=8, dry_run=False)
|
|
1740
|
+
def test_huge_str_64b(self, size):
|
|
1741
|
+
data = "abcd" * (size // 4)
|
|
1742
|
+
try:
|
|
1743
|
+
for proto in protocols:
|
|
1744
|
+
if proto == 0:
|
|
1745
|
+
continue
|
|
1746
|
+
with self.subTest(proto=proto):
|
|
1747
|
+
if proto < 4:
|
|
1748
|
+
with self.assertRaises((ValueError, OverflowError)):
|
|
1749
|
+
self.dumps(data, protocol=proto)
|
|
1750
|
+
continue
|
|
1751
|
+
try:
|
|
1752
|
+
pickled = self.dumps(data, protocol=proto)
|
|
1753
|
+
header = (pickle.BINUNICODE8 +
|
|
1754
|
+
struct.pack("<Q", len(data)))
|
|
1755
|
+
data_start = pickled.index(b'abcd')
|
|
1756
|
+
self.assertEqual(
|
|
1757
|
+
header,
|
|
1758
|
+
pickled[data_start-len(header):data_start])
|
|
1759
|
+
self.assertEqual((pickled.rindex(b"abcd") + len(b"abcd") -
|
|
1760
|
+
pickled.index(b"abcd")), len(data))
|
|
1761
|
+
finally:
|
|
1762
|
+
pickled = None
|
|
1763
|
+
finally:
|
|
1764
|
+
data = None
|
|
1765
|
+
|
|
1766
|
+
|
|
1767
|
+
# Test classes for reduce_ex
|
|
1768
|
+
|
|
1769
|
+
class REX_one(object):
|
|
1770
|
+
"""No __reduce_ex__ here, but inheriting it from object"""
|
|
1771
|
+
_reduce_called = 0
|
|
1772
|
+
def __reduce__(self):
|
|
1773
|
+
self._reduce_called = 1
|
|
1774
|
+
return REX_one, ()
|
|
1775
|
+
|
|
1776
|
+
class REX_two(object):
|
|
1777
|
+
"""No __reduce__ here, but inheriting it from object"""
|
|
1778
|
+
_proto = None
|
|
1779
|
+
def __reduce_ex__(self, proto):
|
|
1780
|
+
self._proto = proto
|
|
1781
|
+
return REX_two, ()
|
|
1782
|
+
|
|
1783
|
+
class REX_three(object):
|
|
1784
|
+
_proto = None
|
|
1785
|
+
def __reduce_ex__(self, proto):
|
|
1786
|
+
self._proto = proto
|
|
1787
|
+
return REX_two, ()
|
|
1788
|
+
def __reduce__(self):
|
|
1789
|
+
raise TestFailed("This __reduce__ shouldn't be called")
|
|
1790
|
+
|
|
1791
|
+
class REX_four(object):
|
|
1792
|
+
"""Calling base class method should succeed"""
|
|
1793
|
+
_proto = None
|
|
1794
|
+
def __reduce_ex__(self, proto):
|
|
1795
|
+
self._proto = proto
|
|
1796
|
+
return object.__reduce_ex__(self, proto)
|
|
1797
|
+
|
|
1798
|
+
class REX_five(object):
|
|
1799
|
+
"""This one used to fail with infinite recursion"""
|
|
1800
|
+
_reduce_called = 0
|
|
1801
|
+
def __reduce__(self):
|
|
1802
|
+
self._reduce_called = 1
|
|
1803
|
+
return object.__reduce__(self)
|
|
1804
|
+
|
|
1805
|
+
class REX_six(object):
|
|
1806
|
+
"""This class is used to check the 4th argument (list iterator) of
|
|
1807
|
+
the reduce protocol.
|
|
1808
|
+
"""
|
|
1809
|
+
def __init__(self, items=None):
|
|
1810
|
+
self.items = items if items is not None else []
|
|
1811
|
+
def __eq__(self, other):
|
|
1812
|
+
return type(self) is type(other) and self.items == self.items
|
|
1813
|
+
def append(self, item):
|
|
1814
|
+
self.items.append(item)
|
|
1815
|
+
def __reduce__(self):
|
|
1816
|
+
return type(self), (), None, iter(self.items), None
|
|
1817
|
+
|
|
1818
|
+
class REX_seven(object):
|
|
1819
|
+
"""This class is used to check the 5th argument (dict iterator) of
|
|
1820
|
+
the reduce protocol.
|
|
1821
|
+
"""
|
|
1822
|
+
def __init__(self, table=None):
|
|
1823
|
+
self.table = table if table is not None else {}
|
|
1824
|
+
def __eq__(self, other):
|
|
1825
|
+
return type(self) is type(other) and self.table == self.table
|
|
1826
|
+
def __setitem__(self, key, value):
|
|
1827
|
+
self.table[key] = value
|
|
1828
|
+
def __reduce__(self):
|
|
1829
|
+
return type(self), (), None, None, iter(self.table.items())
|
|
1830
|
+
|
|
1831
|
+
|
|
1832
|
+
# Test classes for newobj
|
|
1833
|
+
|
|
1834
|
+
class MyInt(int):
|
|
1835
|
+
sample = 1
|
|
1836
|
+
|
|
1837
|
+
class MyFloat(float):
|
|
1838
|
+
sample = 1.0
|
|
1839
|
+
|
|
1840
|
+
class MyComplex(complex):
|
|
1841
|
+
sample = 1.0 + 0.0j
|
|
1842
|
+
|
|
1843
|
+
class MyStr(str):
|
|
1844
|
+
sample = "hello"
|
|
1845
|
+
|
|
1846
|
+
class MyUnicode(str):
|
|
1847
|
+
sample = "hello \u1234"
|
|
1848
|
+
|
|
1849
|
+
class MyTuple(tuple):
|
|
1850
|
+
sample = (1, 2, 3)
|
|
1851
|
+
|
|
1852
|
+
class MyList(list):
|
|
1853
|
+
sample = [1, 2, 3]
|
|
1854
|
+
|
|
1855
|
+
class MyDict(dict):
|
|
1856
|
+
sample = {"a": 1, "b": 2}
|
|
1857
|
+
|
|
1858
|
+
class MySet(set):
|
|
1859
|
+
sample = {"a", "b"}
|
|
1860
|
+
|
|
1861
|
+
class MyFrozenSet(frozenset):
|
|
1862
|
+
sample = frozenset({"a", "b"})
|
|
1863
|
+
|
|
1864
|
+
myclasses = [MyInt, MyFloat,
|
|
1865
|
+
MyComplex,
|
|
1866
|
+
MyStr, MyUnicode,
|
|
1867
|
+
MyTuple, MyList, MyDict, MySet, MyFrozenSet]
|
|
1868
|
+
|
|
1869
|
+
|
|
1870
|
+
class SlotList(MyList):
|
|
1871
|
+
__slots__ = ["foo"]
|
|
1872
|
+
|
|
1873
|
+
class SimpleNewObj(object):
|
|
1874
|
+
def __init__(self, a, b, c):
|
|
1875
|
+
# raise an error, to make sure this isn't called
|
|
1876
|
+
raise TypeError("SimpleNewObj.__init__() didn't expect to get called")
|
|
1877
|
+
def __eq__(self, other):
|
|
1878
|
+
return self.__dict__ == other.__dict__
|
|
1879
|
+
|
|
1880
|
+
class BadGetattr:
|
|
1881
|
+
def __getattr__(self, key):
|
|
1882
|
+
self.foo
|
|
1883
|
+
|
|
1884
|
+
|
|
1885
|
+
class AbstractPickleModuleTests(unittest.TestCase):
|
|
1886
|
+
|
|
1887
|
+
def test_dump_closed_file(self):
|
|
1888
|
+
import os
|
|
1889
|
+
f = open(TESTFN, "wb")
|
|
1890
|
+
try:
|
|
1891
|
+
f.close()
|
|
1892
|
+
self.assertRaises(ValueError, pickle.dump, 123, f)
|
|
1893
|
+
finally:
|
|
1894
|
+
os.remove(TESTFN)
|
|
1895
|
+
|
|
1896
|
+
def test_load_closed_file(self):
|
|
1897
|
+
import os
|
|
1898
|
+
f = open(TESTFN, "wb")
|
|
1899
|
+
try:
|
|
1900
|
+
f.close()
|
|
1901
|
+
self.assertRaises(ValueError, pickle.dump, 123, f)
|
|
1902
|
+
finally:
|
|
1903
|
+
os.remove(TESTFN)
|
|
1904
|
+
|
|
1905
|
+
def test_load_from_and_dump_to_file(self):
|
|
1906
|
+
stream = io.BytesIO()
|
|
1907
|
+
data = [123, {}, 124]
|
|
1908
|
+
pickle.dump(data, stream)
|
|
1909
|
+
stream.seek(0)
|
|
1910
|
+
unpickled = pickle.load(stream)
|
|
1911
|
+
self.assertEqual(unpickled, data)
|
|
1912
|
+
|
|
1913
|
+
def test_highest_protocol(self):
|
|
1914
|
+
# Of course this needs to be changed when HIGHEST_PROTOCOL changes.
|
|
1915
|
+
self.assertEqual(pickle.HIGHEST_PROTOCOL, 4)
|
|
1916
|
+
|
|
1917
|
+
def test_callapi(self):
|
|
1918
|
+
f = io.BytesIO()
|
|
1919
|
+
# With and without keyword arguments
|
|
1920
|
+
pickle.dump(123, f, -1)
|
|
1921
|
+
pickle.dump(123, file=f, protocol=-1)
|
|
1922
|
+
pickle.dumps(123, -1)
|
|
1923
|
+
pickle.dumps(123, protocol=-1)
|
|
1924
|
+
pickle.Pickler(f, -1)
|
|
1925
|
+
pickle.Pickler(f, protocol=-1)
|
|
1926
|
+
|
|
1927
|
+
def test_bad_init(self):
|
|
1928
|
+
# Test issue3664 (pickle can segfault from a badly initialized Pickler).
|
|
1929
|
+
# Override initialization without calling __init__() of the superclass.
|
|
1930
|
+
class BadPickler(pickle.Pickler):
|
|
1931
|
+
def __init__(self): pass
|
|
1932
|
+
|
|
1933
|
+
class BadUnpickler(pickle.Unpickler):
|
|
1934
|
+
def __init__(self): pass
|
|
1935
|
+
|
|
1936
|
+
self.assertRaises(pickle.PicklingError, BadPickler().dump, 0)
|
|
1937
|
+
self.assertRaises(pickle.UnpicklingError, BadUnpickler().load)
|
|
1938
|
+
|
|
1939
|
+
def test_bad_input(self):
|
|
1940
|
+
# Test issue4298
|
|
1941
|
+
s = bytes([0x58, 0, 0, 0, 0x54])
|
|
1942
|
+
self.assertRaises(EOFError, pickle.loads, s)
|
|
1943
|
+
|
|
1944
|
+
|
|
1945
|
+
class AbstractPersistentPicklerTests(unittest.TestCase):
|
|
1946
|
+
|
|
1947
|
+
# This class defines persistent_id() and persistent_load()
|
|
1948
|
+
# functions that should be used by the pickler. All even integers
|
|
1949
|
+
# are pickled using persistent ids.
|
|
1950
|
+
|
|
1951
|
+
def persistent_id(self, object):
|
|
1952
|
+
if isinstance(object, int) and object % 2 == 0:
|
|
1953
|
+
self.id_count += 1
|
|
1954
|
+
return str(object)
|
|
1955
|
+
elif object == "test_false_value":
|
|
1956
|
+
self.false_count += 1
|
|
1957
|
+
return ""
|
|
1958
|
+
else:
|
|
1959
|
+
return None
|
|
1960
|
+
|
|
1961
|
+
def persistent_load(self, oid):
|
|
1962
|
+
if not oid:
|
|
1963
|
+
self.load_false_count += 1
|
|
1964
|
+
return "test_false_value"
|
|
1965
|
+
else:
|
|
1966
|
+
self.load_count += 1
|
|
1967
|
+
object = int(oid)
|
|
1968
|
+
assert object % 2 == 0
|
|
1969
|
+
return object
|
|
1970
|
+
|
|
1971
|
+
def test_persistence(self):
|
|
1972
|
+
L = list(range(10)) + ["test_false_value"]
|
|
1973
|
+
for proto in protocols:
|
|
1974
|
+
self.id_count = 0
|
|
1975
|
+
self.false_count = 0
|
|
1976
|
+
self.load_false_count = 0
|
|
1977
|
+
self.load_count = 0
|
|
1978
|
+
self.assertEqual(self.loads(self.dumps(L, proto)), L)
|
|
1979
|
+
self.assertEqual(self.id_count, 5)
|
|
1980
|
+
self.assertEqual(self.false_count, 1)
|
|
1981
|
+
self.assertEqual(self.load_count, 5)
|
|
1982
|
+
self.assertEqual(self.load_false_count, 1)
|
|
1983
|
+
|
|
1984
|
+
|
|
1985
|
+
class AbstractPicklerUnpicklerObjectTests(unittest.TestCase):
|
|
1986
|
+
|
|
1987
|
+
pickler_class = None
|
|
1988
|
+
unpickler_class = None
|
|
1989
|
+
|
|
1990
|
+
def setUp(self):
|
|
1991
|
+
assert self.pickler_class
|
|
1992
|
+
assert self.unpickler_class
|
|
1993
|
+
|
|
1994
|
+
def test_clear_pickler_memo(self):
|
|
1995
|
+
# To test whether clear_memo() has any effect, we pickle an object,
|
|
1996
|
+
# then pickle it again without clearing the memo; the two serialized
|
|
1997
|
+
# forms should be different. If we clear_memo() and then pickle the
|
|
1998
|
+
# object again, the third serialized form should be identical to the
|
|
1999
|
+
# first one we obtained.
|
|
2000
|
+
data = ["abcdefg", "abcdefg", 44]
|
|
2001
|
+
f = io.BytesIO()
|
|
2002
|
+
pickler = self.pickler_class(f)
|
|
2003
|
+
|
|
2004
|
+
pickler.dump(data)
|
|
2005
|
+
first_pickled = f.getvalue()
|
|
2006
|
+
|
|
2007
|
+
# Reset BytesIO object.
|
|
2008
|
+
f.seek(0)
|
|
2009
|
+
f.truncate()
|
|
2010
|
+
|
|
2011
|
+
pickler.dump(data)
|
|
2012
|
+
second_pickled = f.getvalue()
|
|
2013
|
+
|
|
2014
|
+
# Reset the Pickler and BytesIO objects.
|
|
2015
|
+
pickler.clear_memo()
|
|
2016
|
+
f.seek(0)
|
|
2017
|
+
f.truncate()
|
|
2018
|
+
|
|
2019
|
+
pickler.dump(data)
|
|
2020
|
+
third_pickled = f.getvalue()
|
|
2021
|
+
|
|
2022
|
+
self.assertNotEqual(first_pickled, second_pickled)
|
|
2023
|
+
self.assertEqual(first_pickled, third_pickled)
|
|
2024
|
+
|
|
2025
|
+
def test_priming_pickler_memo(self):
|
|
2026
|
+
# Verify that we can set the Pickler's memo attribute.
|
|
2027
|
+
data = ["abcdefg", "abcdefg", 44]
|
|
2028
|
+
f = io.BytesIO()
|
|
2029
|
+
pickler = self.pickler_class(f)
|
|
2030
|
+
|
|
2031
|
+
pickler.dump(data)
|
|
2032
|
+
first_pickled = f.getvalue()
|
|
2033
|
+
|
|
2034
|
+
f = io.BytesIO()
|
|
2035
|
+
primed = self.pickler_class(f)
|
|
2036
|
+
primed.memo = pickler.memo
|
|
2037
|
+
|
|
2038
|
+
primed.dump(data)
|
|
2039
|
+
primed_pickled = f.getvalue()
|
|
2040
|
+
|
|
2041
|
+
self.assertNotEqual(first_pickled, primed_pickled)
|
|
2042
|
+
|
|
2043
|
+
def test_priming_unpickler_memo(self):
|
|
2044
|
+
# Verify that we can set the Unpickler's memo attribute.
|
|
2045
|
+
data = ["abcdefg", "abcdefg", 44]
|
|
2046
|
+
f = io.BytesIO()
|
|
2047
|
+
pickler = self.pickler_class(f)
|
|
2048
|
+
|
|
2049
|
+
pickler.dump(data)
|
|
2050
|
+
first_pickled = f.getvalue()
|
|
2051
|
+
|
|
2052
|
+
f = io.BytesIO()
|
|
2053
|
+
primed = self.pickler_class(f)
|
|
2054
|
+
primed.memo = pickler.memo
|
|
2055
|
+
|
|
2056
|
+
primed.dump(data)
|
|
2057
|
+
primed_pickled = f.getvalue()
|
|
2058
|
+
|
|
2059
|
+
unpickler = self.unpickler_class(io.BytesIO(first_pickled))
|
|
2060
|
+
unpickled_data1 = unpickler.load()
|
|
2061
|
+
|
|
2062
|
+
self.assertEqual(unpickled_data1, data)
|
|
2063
|
+
|
|
2064
|
+
primed = self.unpickler_class(io.BytesIO(primed_pickled))
|
|
2065
|
+
primed.memo = unpickler.memo
|
|
2066
|
+
unpickled_data2 = primed.load()
|
|
2067
|
+
|
|
2068
|
+
primed.memo.clear()
|
|
2069
|
+
|
|
2070
|
+
self.assertEqual(unpickled_data2, data)
|
|
2071
|
+
self.assertTrue(unpickled_data2 is unpickled_data1)
|
|
2072
|
+
|
|
2073
|
+
def test_reusing_unpickler_objects(self):
|
|
2074
|
+
data1 = ["abcdefg", "abcdefg", 44]
|
|
2075
|
+
f = io.BytesIO()
|
|
2076
|
+
pickler = self.pickler_class(f)
|
|
2077
|
+
pickler.dump(data1)
|
|
2078
|
+
pickled1 = f.getvalue()
|
|
2079
|
+
|
|
2080
|
+
data2 = ["abcdefg", 44, 44]
|
|
2081
|
+
f = io.BytesIO()
|
|
2082
|
+
pickler = self.pickler_class(f)
|
|
2083
|
+
pickler.dump(data2)
|
|
2084
|
+
pickled2 = f.getvalue()
|
|
2085
|
+
|
|
2086
|
+
f = io.BytesIO()
|
|
2087
|
+
f.write(pickled1)
|
|
2088
|
+
f.seek(0)
|
|
2089
|
+
unpickler = self.unpickler_class(f)
|
|
2090
|
+
self.assertEqual(unpickler.load(), data1)
|
|
2091
|
+
|
|
2092
|
+
f.seek(0)
|
|
2093
|
+
f.truncate()
|
|
2094
|
+
f.write(pickled2)
|
|
2095
|
+
f.seek(0)
|
|
2096
|
+
self.assertEqual(unpickler.load(), data2)
|
|
2097
|
+
|
|
2098
|
+
def _check_multiple_unpicklings(self, ioclass):
|
|
2099
|
+
for proto in protocols:
|
|
2100
|
+
with self.subTest(proto=proto):
|
|
2101
|
+
data1 = [(x, str(x)) for x in range(2000)] + [b"abcde", len]
|
|
2102
|
+
f = ioclass()
|
|
2103
|
+
pickler = self.pickler_class(f, protocol=proto)
|
|
2104
|
+
pickler.dump(data1)
|
|
2105
|
+
pickled = f.getvalue()
|
|
2106
|
+
|
|
2107
|
+
N = 5
|
|
2108
|
+
f = ioclass(pickled * N)
|
|
2109
|
+
unpickler = self.unpickler_class(f)
|
|
2110
|
+
for i in range(N):
|
|
2111
|
+
if f.seekable():
|
|
2112
|
+
pos = f.tell()
|
|
2113
|
+
self.assertEqual(unpickler.load(), data1)
|
|
2114
|
+
if f.seekable():
|
|
2115
|
+
self.assertEqual(f.tell(), pos + len(pickled))
|
|
2116
|
+
self.assertRaises(EOFError, unpickler.load)
|
|
2117
|
+
|
|
2118
|
+
def test_multiple_unpicklings_seekable(self):
|
|
2119
|
+
self._check_multiple_unpicklings(io.BytesIO)
|
|
2120
|
+
|
|
2121
|
+
def test_multiple_unpicklings_unseekable(self):
|
|
2122
|
+
self._check_multiple_unpicklings(UnseekableIO)
|
|
2123
|
+
|
|
2124
|
+
def test_unpickling_buffering_readline(self):
|
|
2125
|
+
# Issue #12687: the unpickler's buffering logic could fail with
|
|
2126
|
+
# text mode opcodes.
|
|
2127
|
+
data = list(range(10))
|
|
2128
|
+
for proto in protocols:
|
|
2129
|
+
for buf_size in range(1, 11):
|
|
2130
|
+
f = io.BufferedRandom(io.BytesIO(), buffer_size=buf_size)
|
|
2131
|
+
pickler = self.pickler_class(f, protocol=proto)
|
|
2132
|
+
pickler.dump(data)
|
|
2133
|
+
f.seek(0)
|
|
2134
|
+
unpickler = self.unpickler_class(f)
|
|
2135
|
+
self.assertEqual(unpickler.load(), data)
|
|
2136
|
+
|
|
2137
|
+
|
|
2138
|
+
# Tests for dispatch_table attribute
|
|
2139
|
+
|
|
2140
|
+
REDUCE_A = 'reduce_A'
|
|
2141
|
+
|
|
2142
|
+
class AAA(object):
|
|
2143
|
+
def __reduce__(self):
|
|
2144
|
+
return str, (REDUCE_A,)
|
|
2145
|
+
|
|
2146
|
+
class BBB(object):
|
|
2147
|
+
pass
|
|
2148
|
+
|
|
2149
|
+
class AbstractDispatchTableTests(unittest.TestCase):
|
|
2150
|
+
|
|
2151
|
+
def test_default_dispatch_table(self):
|
|
2152
|
+
# No dispatch_table attribute by default
|
|
2153
|
+
f = io.BytesIO()
|
|
2154
|
+
p = self.pickler_class(f, 0)
|
|
2155
|
+
with self.assertRaises(AttributeError):
|
|
2156
|
+
p.dispatch_table
|
|
2157
|
+
self.assertFalse(hasattr(p, 'dispatch_table'))
|
|
2158
|
+
|
|
2159
|
+
def test_class_dispatch_table(self):
|
|
2160
|
+
# A dispatch_table attribute can be specified class-wide
|
|
2161
|
+
dt = self.get_dispatch_table()
|
|
2162
|
+
|
|
2163
|
+
class MyPickler(self.pickler_class):
|
|
2164
|
+
dispatch_table = dt
|
|
2165
|
+
|
|
2166
|
+
def dumps(obj, protocol=None):
|
|
2167
|
+
f = io.BytesIO()
|
|
2168
|
+
p = MyPickler(f, protocol)
|
|
2169
|
+
self.assertEqual(p.dispatch_table, dt)
|
|
2170
|
+
p.dump(obj)
|
|
2171
|
+
return f.getvalue()
|
|
2172
|
+
|
|
2173
|
+
self._test_dispatch_table(dumps, dt)
|
|
2174
|
+
|
|
2175
|
+
def test_instance_dispatch_table(self):
|
|
2176
|
+
# A dispatch_table attribute can also be specified instance-wide
|
|
2177
|
+
dt = self.get_dispatch_table()
|
|
2178
|
+
|
|
2179
|
+
def dumps(obj, protocol=None):
|
|
2180
|
+
f = io.BytesIO()
|
|
2181
|
+
p = self.pickler_class(f, protocol)
|
|
2182
|
+
p.dispatch_table = dt
|
|
2183
|
+
self.assertEqual(p.dispatch_table, dt)
|
|
2184
|
+
p.dump(obj)
|
|
2185
|
+
return f.getvalue()
|
|
2186
|
+
|
|
2187
|
+
self._test_dispatch_table(dumps, dt)
|
|
2188
|
+
|
|
2189
|
+
def _test_dispatch_table(self, dumps, dispatch_table):
|
|
2190
|
+
def custom_load_dump(obj):
|
|
2191
|
+
return pickle.loads(dumps(obj, 0))
|
|
2192
|
+
|
|
2193
|
+
def default_load_dump(obj):
|
|
2194
|
+
return pickle.loads(pickle.dumps(obj, 0))
|
|
2195
|
+
|
|
2196
|
+
# pickling complex numbers using protocol 0 relies on copyreg
|
|
2197
|
+
# so check pickling a complex number still works
|
|
2198
|
+
z = 1 + 2j
|
|
2199
|
+
self.assertEqual(custom_load_dump(z), z)
|
|
2200
|
+
self.assertEqual(default_load_dump(z), z)
|
|
2201
|
+
|
|
2202
|
+
# modify pickling of complex
|
|
2203
|
+
REDUCE_1 = 'reduce_1'
|
|
2204
|
+
def reduce_1(obj):
|
|
2205
|
+
return str, (REDUCE_1,)
|
|
2206
|
+
dispatch_table[complex] = reduce_1
|
|
2207
|
+
self.assertEqual(custom_load_dump(z), REDUCE_1)
|
|
2208
|
+
self.assertEqual(default_load_dump(z), z)
|
|
2209
|
+
|
|
2210
|
+
# check picklability of AAA and BBB
|
|
2211
|
+
a = AAA()
|
|
2212
|
+
b = BBB()
|
|
2213
|
+
self.assertEqual(custom_load_dump(a), REDUCE_A)
|
|
2214
|
+
self.assertIsInstance(custom_load_dump(b), BBB)
|
|
2215
|
+
self.assertEqual(default_load_dump(a), REDUCE_A)
|
|
2216
|
+
self.assertIsInstance(default_load_dump(b), BBB)
|
|
2217
|
+
|
|
2218
|
+
# modify pickling of BBB
|
|
2219
|
+
dispatch_table[BBB] = reduce_1
|
|
2220
|
+
self.assertEqual(custom_load_dump(a), REDUCE_A)
|
|
2221
|
+
self.assertEqual(custom_load_dump(b), REDUCE_1)
|
|
2222
|
+
self.assertEqual(default_load_dump(a), REDUCE_A)
|
|
2223
|
+
self.assertIsInstance(default_load_dump(b), BBB)
|
|
2224
|
+
|
|
2225
|
+
# revert pickling of BBB and modify pickling of AAA
|
|
2226
|
+
REDUCE_2 = 'reduce_2'
|
|
2227
|
+
def reduce_2(obj):
|
|
2228
|
+
return str, (REDUCE_2,)
|
|
2229
|
+
dispatch_table[AAA] = reduce_2
|
|
2230
|
+
del dispatch_table[BBB]
|
|
2231
|
+
self.assertEqual(custom_load_dump(a), REDUCE_2)
|
|
2232
|
+
self.assertIsInstance(custom_load_dump(b), BBB)
|
|
2233
|
+
self.assertEqual(default_load_dump(a), REDUCE_A)
|
|
2234
|
+
self.assertIsInstance(default_load_dump(b), BBB)
|
|
2235
|
+
|
|
2236
|
+
|
|
2237
|
+
if __name__ == "__main__":
|
|
2238
|
+
# Print some stuff that can be used to rewrite DATA{0,1,2}
|
|
2239
|
+
from pickletools import dis
|
|
2240
|
+
x = create_data()
|
|
2241
|
+
for i in range(3):
|
|
2242
|
+
p = pickle.dumps(x, i)
|
|
2243
|
+
print("DATA{0} = (".format(i))
|
|
2244
|
+
for j in range(0, len(p), 20):
|
|
2245
|
+
b = bytes(p[j:j+20])
|
|
2246
|
+
print(" {0!r}".format(b))
|
|
2247
|
+
print(")")
|
|
2248
|
+
print()
|
|
2249
|
+
print("# Disassembly of DATA{0}".format(i))
|
|
2250
|
+
print("DATA{0}_DIS = \"\"\"\\".format(i))
|
|
2251
|
+
dis(p)
|
|
2252
|
+
print("\"\"\"")
|
|
2253
|
+
print()
|