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,1788 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Read and write ZIP files.
|
|
3
|
+
|
|
4
|
+
XXX references to utf-8 need further investigation.
|
|
5
|
+
"""
|
|
6
|
+
import io
|
|
7
|
+
import os
|
|
8
|
+
import re
|
|
9
|
+
import importlib.util
|
|
10
|
+
import sys
|
|
11
|
+
import time
|
|
12
|
+
import stat
|
|
13
|
+
import shutil
|
|
14
|
+
import struct
|
|
15
|
+
import binascii
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
try:
|
|
19
|
+
import zlib # We may need its compression method
|
|
20
|
+
crc32 = zlib.crc32
|
|
21
|
+
except ImportError:
|
|
22
|
+
zlib = None
|
|
23
|
+
crc32 = binascii.crc32
|
|
24
|
+
|
|
25
|
+
try:
|
|
26
|
+
import bz2 # We may need its compression method
|
|
27
|
+
except ImportError:
|
|
28
|
+
bz2 = None
|
|
29
|
+
|
|
30
|
+
try:
|
|
31
|
+
import lzma # We may need its compression method
|
|
32
|
+
except ImportError:
|
|
33
|
+
lzma = None
|
|
34
|
+
|
|
35
|
+
__all__ = ["BadZipFile", "BadZipfile", "error",
|
|
36
|
+
"ZIP_STORED", "ZIP_DEFLATED", "ZIP_BZIP2", "ZIP_LZMA",
|
|
37
|
+
"is_zipfile", "ZipInfo", "ZipFile", "PyZipFile", "LargeZipFile"]
|
|
38
|
+
|
|
39
|
+
class BadZipFile(Exception):
|
|
40
|
+
pass
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
class LargeZipFile(Exception):
|
|
44
|
+
"""
|
|
45
|
+
Raised when writing a zipfile, the zipfile requires ZIP64 extensions
|
|
46
|
+
and those extensions are disabled.
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
error = BadZipfile = BadZipFile # Pre-3.2 compatibility names
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
ZIP64_LIMIT = (1 << 31) - 1
|
|
53
|
+
ZIP_FILECOUNT_LIMIT = 1 << 16
|
|
54
|
+
ZIP_MAX_COMMENT = (1 << 16) - 1
|
|
55
|
+
|
|
56
|
+
# constants for Zip file compression methods
|
|
57
|
+
ZIP_STORED = 0
|
|
58
|
+
ZIP_DEFLATED = 8
|
|
59
|
+
ZIP_BZIP2 = 12
|
|
60
|
+
ZIP_LZMA = 14
|
|
61
|
+
# Other ZIP compression methods not supported
|
|
62
|
+
|
|
63
|
+
DEFAULT_VERSION = 20
|
|
64
|
+
ZIP64_VERSION = 45
|
|
65
|
+
BZIP2_VERSION = 46
|
|
66
|
+
LZMA_VERSION = 63
|
|
67
|
+
# we recognize (but not necessarily support) all features up to that version
|
|
68
|
+
MAX_EXTRACT_VERSION = 63
|
|
69
|
+
|
|
70
|
+
# Below are some formats and associated data for reading/writing headers using
|
|
71
|
+
# the struct module. The names and structures of headers/records are those used
|
|
72
|
+
# in the PKWARE description of the ZIP file format:
|
|
73
|
+
# http://www.pkware.com/documents/casestudies/APPNOTE.TXT
|
|
74
|
+
# (URL valid as of January 2008)
|
|
75
|
+
|
|
76
|
+
# The "end of central directory" structure, magic number, size, and indices
|
|
77
|
+
# (section V.I in the format document)
|
|
78
|
+
structEndArchive = b"<4s4H2LH"
|
|
79
|
+
stringEndArchive = b"PK\005\006"
|
|
80
|
+
sizeEndCentDir = struct.calcsize(structEndArchive)
|
|
81
|
+
|
|
82
|
+
_ECD_SIGNATURE = 0
|
|
83
|
+
_ECD_DISK_NUMBER = 1
|
|
84
|
+
_ECD_DISK_START = 2
|
|
85
|
+
_ECD_ENTRIES_THIS_DISK = 3
|
|
86
|
+
_ECD_ENTRIES_TOTAL = 4
|
|
87
|
+
_ECD_SIZE = 5
|
|
88
|
+
_ECD_OFFSET = 6
|
|
89
|
+
_ECD_COMMENT_SIZE = 7
|
|
90
|
+
# These last two indices are not part of the structure as defined in the
|
|
91
|
+
# spec, but they are used internally by this module as a convenience
|
|
92
|
+
_ECD_COMMENT = 8
|
|
93
|
+
_ECD_LOCATION = 9
|
|
94
|
+
|
|
95
|
+
# The "central directory" structure, magic number, size, and indices
|
|
96
|
+
# of entries in the structure (section V.F in the format document)
|
|
97
|
+
structCentralDir = "<4s4B4HL2L5H2L"
|
|
98
|
+
stringCentralDir = b"PK\001\002"
|
|
99
|
+
sizeCentralDir = struct.calcsize(structCentralDir)
|
|
100
|
+
|
|
101
|
+
# indexes of entries in the central directory structure
|
|
102
|
+
_CD_SIGNATURE = 0
|
|
103
|
+
_CD_CREATE_VERSION = 1
|
|
104
|
+
_CD_CREATE_SYSTEM = 2
|
|
105
|
+
_CD_EXTRACT_VERSION = 3
|
|
106
|
+
_CD_EXTRACT_SYSTEM = 4
|
|
107
|
+
_CD_FLAG_BITS = 5
|
|
108
|
+
_CD_COMPRESS_TYPE = 6
|
|
109
|
+
_CD_TIME = 7
|
|
110
|
+
_CD_DATE = 8
|
|
111
|
+
_CD_CRC = 9
|
|
112
|
+
_CD_COMPRESSED_SIZE = 10
|
|
113
|
+
_CD_UNCOMPRESSED_SIZE = 11
|
|
114
|
+
_CD_FILENAME_LENGTH = 12
|
|
115
|
+
_CD_EXTRA_FIELD_LENGTH = 13
|
|
116
|
+
_CD_COMMENT_LENGTH = 14
|
|
117
|
+
_CD_DISK_NUMBER_START = 15
|
|
118
|
+
_CD_INTERNAL_FILE_ATTRIBUTES = 16
|
|
119
|
+
_CD_EXTERNAL_FILE_ATTRIBUTES = 17
|
|
120
|
+
_CD_LOCAL_HEADER_OFFSET = 18
|
|
121
|
+
|
|
122
|
+
# The "local file header" structure, magic number, size, and indices
|
|
123
|
+
# (section V.A in the format document)
|
|
124
|
+
structFileHeader = "<4s2B4HL2L2H"
|
|
125
|
+
stringFileHeader = b"PK\003\004"
|
|
126
|
+
sizeFileHeader = struct.calcsize(structFileHeader)
|
|
127
|
+
|
|
128
|
+
_FH_SIGNATURE = 0
|
|
129
|
+
_FH_EXTRACT_VERSION = 1
|
|
130
|
+
_FH_EXTRACT_SYSTEM = 2
|
|
131
|
+
_FH_GENERAL_PURPOSE_FLAG_BITS = 3
|
|
132
|
+
_FH_COMPRESSION_METHOD = 4
|
|
133
|
+
_FH_LAST_MOD_TIME = 5
|
|
134
|
+
_FH_LAST_MOD_DATE = 6
|
|
135
|
+
_FH_CRC = 7
|
|
136
|
+
_FH_COMPRESSED_SIZE = 8
|
|
137
|
+
_FH_UNCOMPRESSED_SIZE = 9
|
|
138
|
+
_FH_FILENAME_LENGTH = 10
|
|
139
|
+
_FH_EXTRA_FIELD_LENGTH = 11
|
|
140
|
+
|
|
141
|
+
# The "Zip64 end of central directory locator" structure, magic number, and size
|
|
142
|
+
structEndArchive64Locator = "<4sLQL"
|
|
143
|
+
stringEndArchive64Locator = b"PK\x06\x07"
|
|
144
|
+
sizeEndCentDir64Locator = struct.calcsize(structEndArchive64Locator)
|
|
145
|
+
|
|
146
|
+
# The "Zip64 end of central directory" record, magic number, size, and indices
|
|
147
|
+
# (section V.G in the format document)
|
|
148
|
+
structEndArchive64 = "<4sQ2H2L4Q"
|
|
149
|
+
stringEndArchive64 = b"PK\x06\x06"
|
|
150
|
+
sizeEndCentDir64 = struct.calcsize(structEndArchive64)
|
|
151
|
+
|
|
152
|
+
_CD64_SIGNATURE = 0
|
|
153
|
+
_CD64_DIRECTORY_RECSIZE = 1
|
|
154
|
+
_CD64_CREATE_VERSION = 2
|
|
155
|
+
_CD64_EXTRACT_VERSION = 3
|
|
156
|
+
_CD64_DISK_NUMBER = 4
|
|
157
|
+
_CD64_DISK_NUMBER_START = 5
|
|
158
|
+
_CD64_NUMBER_ENTRIES_THIS_DISK = 6
|
|
159
|
+
_CD64_NUMBER_ENTRIES_TOTAL = 7
|
|
160
|
+
_CD64_DIRECTORY_SIZE = 8
|
|
161
|
+
_CD64_OFFSET_START_CENTDIR = 9
|
|
162
|
+
|
|
163
|
+
def _check_zipfile(fp):
|
|
164
|
+
try:
|
|
165
|
+
if _EndRecData(fp):
|
|
166
|
+
return True # file has correct magic number
|
|
167
|
+
except OSError:
|
|
168
|
+
pass
|
|
169
|
+
return False
|
|
170
|
+
|
|
171
|
+
def is_zipfile(filename):
|
|
172
|
+
"""Quickly see if a file is a ZIP file by checking the magic number.
|
|
173
|
+
|
|
174
|
+
The filename argument may be a file or file-like object too.
|
|
175
|
+
"""
|
|
176
|
+
result = False
|
|
177
|
+
try:
|
|
178
|
+
if hasattr(filename, "read"):
|
|
179
|
+
result = _check_zipfile(fp=filename)
|
|
180
|
+
else:
|
|
181
|
+
with open(filename, "rb") as fp:
|
|
182
|
+
result = _check_zipfile(fp)
|
|
183
|
+
except OSError:
|
|
184
|
+
pass
|
|
185
|
+
return result
|
|
186
|
+
|
|
187
|
+
def _EndRecData64(fpin, offset, endrec):
|
|
188
|
+
"""
|
|
189
|
+
Read the ZIP64 end-of-archive records and use that to update endrec
|
|
190
|
+
"""
|
|
191
|
+
try:
|
|
192
|
+
fpin.seek(offset - sizeEndCentDir64Locator, 2)
|
|
193
|
+
except OSError:
|
|
194
|
+
# If the seek fails, the file is not large enough to contain a ZIP64
|
|
195
|
+
# end-of-archive record, so just return the end record we were given.
|
|
196
|
+
return endrec
|
|
197
|
+
|
|
198
|
+
data = fpin.read(sizeEndCentDir64Locator)
|
|
199
|
+
if len(data) != sizeEndCentDir64Locator:
|
|
200
|
+
return endrec
|
|
201
|
+
sig, diskno, reloff, disks = struct.unpack(structEndArchive64Locator, data)
|
|
202
|
+
if sig != stringEndArchive64Locator:
|
|
203
|
+
return endrec
|
|
204
|
+
|
|
205
|
+
if diskno != 0 or disks != 1:
|
|
206
|
+
raise BadZipFile("zipfiles that span multiple disks are not supported")
|
|
207
|
+
|
|
208
|
+
# Assume no 'zip64 extensible data'
|
|
209
|
+
fpin.seek(offset - sizeEndCentDir64Locator - sizeEndCentDir64, 2)
|
|
210
|
+
data = fpin.read(sizeEndCentDir64)
|
|
211
|
+
if len(data) != sizeEndCentDir64:
|
|
212
|
+
return endrec
|
|
213
|
+
sig, sz, create_version, read_version, disk_num, disk_dir, \
|
|
214
|
+
dircount, dircount2, dirsize, diroffset = \
|
|
215
|
+
struct.unpack(structEndArchive64, data)
|
|
216
|
+
if sig != stringEndArchive64:
|
|
217
|
+
return endrec
|
|
218
|
+
|
|
219
|
+
# Update the original endrec using data from the ZIP64 record
|
|
220
|
+
endrec[_ECD_SIGNATURE] = sig
|
|
221
|
+
endrec[_ECD_DISK_NUMBER] = disk_num
|
|
222
|
+
endrec[_ECD_DISK_START] = disk_dir
|
|
223
|
+
endrec[_ECD_ENTRIES_THIS_DISK] = dircount
|
|
224
|
+
endrec[_ECD_ENTRIES_TOTAL] = dircount2
|
|
225
|
+
endrec[_ECD_SIZE] = dirsize
|
|
226
|
+
endrec[_ECD_OFFSET] = diroffset
|
|
227
|
+
return endrec
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
def _EndRecData(fpin):
|
|
231
|
+
"""Return data from the "End of Central Directory" record, or None.
|
|
232
|
+
|
|
233
|
+
The data is a list of the nine items in the ZIP "End of central dir"
|
|
234
|
+
record followed by a tenth item, the file seek offset of this record."""
|
|
235
|
+
|
|
236
|
+
# Determine file size
|
|
237
|
+
fpin.seek(0, 2)
|
|
238
|
+
filesize = fpin.tell()
|
|
239
|
+
|
|
240
|
+
# Check to see if this is ZIP file with no archive comment (the
|
|
241
|
+
# "end of central directory" structure should be the last item in the
|
|
242
|
+
# file if this is the case).
|
|
243
|
+
try:
|
|
244
|
+
fpin.seek(-sizeEndCentDir, 2)
|
|
245
|
+
except OSError:
|
|
246
|
+
return None
|
|
247
|
+
data = fpin.read()
|
|
248
|
+
if (len(data) == sizeEndCentDir and
|
|
249
|
+
data[0:4] == stringEndArchive and
|
|
250
|
+
data[-2:] == b"\000\000"):
|
|
251
|
+
# the signature is correct and there's no comment, unpack structure
|
|
252
|
+
endrec = struct.unpack(structEndArchive, data)
|
|
253
|
+
endrec=list(endrec)
|
|
254
|
+
|
|
255
|
+
# Append a blank comment and record start offset
|
|
256
|
+
endrec.append(b"")
|
|
257
|
+
endrec.append(filesize - sizeEndCentDir)
|
|
258
|
+
|
|
259
|
+
# Try to read the "Zip64 end of central directory" structure
|
|
260
|
+
return _EndRecData64(fpin, -sizeEndCentDir, endrec)
|
|
261
|
+
|
|
262
|
+
# Either this is not a ZIP file, or it is a ZIP file with an archive
|
|
263
|
+
# comment. Search the end of the file for the "end of central directory"
|
|
264
|
+
# record signature. The comment is the last item in the ZIP file and may be
|
|
265
|
+
# up to 64K long. It is assumed that the "end of central directory" magic
|
|
266
|
+
# number does not appear in the comment.
|
|
267
|
+
maxCommentStart = max(filesize - (1 << 16) - sizeEndCentDir, 0)
|
|
268
|
+
fpin.seek(maxCommentStart, 0)
|
|
269
|
+
data = fpin.read()
|
|
270
|
+
start = data.rfind(stringEndArchive)
|
|
271
|
+
if start >= 0:
|
|
272
|
+
# found the magic number; attempt to unpack and interpret
|
|
273
|
+
recData = data[start:start+sizeEndCentDir]
|
|
274
|
+
if len(recData) != sizeEndCentDir:
|
|
275
|
+
# Zip file is corrupted.
|
|
276
|
+
return None
|
|
277
|
+
endrec = list(struct.unpack(structEndArchive, recData))
|
|
278
|
+
commentSize = endrec[_ECD_COMMENT_SIZE] #as claimed by the zip file
|
|
279
|
+
comment = data[start+sizeEndCentDir:start+sizeEndCentDir+commentSize]
|
|
280
|
+
endrec.append(comment)
|
|
281
|
+
endrec.append(maxCommentStart + start)
|
|
282
|
+
|
|
283
|
+
# Try to read the "Zip64 end of central directory" structure
|
|
284
|
+
return _EndRecData64(fpin, maxCommentStart + start - filesize,
|
|
285
|
+
endrec)
|
|
286
|
+
|
|
287
|
+
# Unable to find a valid end of central directory structure
|
|
288
|
+
return None
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
class ZipInfo (object):
|
|
292
|
+
"""Class with attributes describing each file in the ZIP archive."""
|
|
293
|
+
|
|
294
|
+
__slots__ = (
|
|
295
|
+
'orig_filename',
|
|
296
|
+
'filename',
|
|
297
|
+
'date_time',
|
|
298
|
+
'compress_type',
|
|
299
|
+
'comment',
|
|
300
|
+
'extra',
|
|
301
|
+
'create_system',
|
|
302
|
+
'create_version',
|
|
303
|
+
'extract_version',
|
|
304
|
+
'reserved',
|
|
305
|
+
'flag_bits',
|
|
306
|
+
'volume',
|
|
307
|
+
'internal_attr',
|
|
308
|
+
'external_attr',
|
|
309
|
+
'header_offset',
|
|
310
|
+
'CRC',
|
|
311
|
+
'compress_size',
|
|
312
|
+
'file_size',
|
|
313
|
+
'_raw_time',
|
|
314
|
+
)
|
|
315
|
+
|
|
316
|
+
def __init__(self, filename="NoName", date_time=(1980,1,1,0,0,0)):
|
|
317
|
+
self.orig_filename = filename # Original file name in archive
|
|
318
|
+
|
|
319
|
+
# Terminate the file name at the first null byte. Null bytes in file
|
|
320
|
+
# names are used as tricks by viruses in archives.
|
|
321
|
+
null_byte = filename.find(chr(0))
|
|
322
|
+
if null_byte >= 0:
|
|
323
|
+
filename = filename[0:null_byte]
|
|
324
|
+
# This is used to ensure paths in generated ZIP files always use
|
|
325
|
+
# forward slashes as the directory separator, as required by the
|
|
326
|
+
# ZIP format specification.
|
|
327
|
+
if os.sep != "/" and os.sep in filename:
|
|
328
|
+
filename = filename.replace(os.sep, "/")
|
|
329
|
+
|
|
330
|
+
self.filename = filename # Normalized file name
|
|
331
|
+
self.date_time = date_time # year, month, day, hour, min, sec
|
|
332
|
+
|
|
333
|
+
if date_time[0] < 1980:
|
|
334
|
+
raise ValueError('ZIP does not support timestamps before 1980')
|
|
335
|
+
|
|
336
|
+
# Standard values:
|
|
337
|
+
self.compress_type = ZIP_STORED # Type of compression for the file
|
|
338
|
+
self.comment = b"" # Comment for each file
|
|
339
|
+
self.extra = b"" # ZIP extra data
|
|
340
|
+
if sys.platform == 'win32':
|
|
341
|
+
self.create_system = 0 # System which created ZIP archive
|
|
342
|
+
else:
|
|
343
|
+
# Assume everything else is unix-y
|
|
344
|
+
self.create_system = 3 # System which created ZIP archive
|
|
345
|
+
self.create_version = DEFAULT_VERSION # Version which created ZIP archive
|
|
346
|
+
self.extract_version = DEFAULT_VERSION # Version needed to extract archive
|
|
347
|
+
self.reserved = 0 # Must be zero
|
|
348
|
+
self.flag_bits = 0 # ZIP flag bits
|
|
349
|
+
self.volume = 0 # Volume number of file header
|
|
350
|
+
self.internal_attr = 0 # Internal attributes
|
|
351
|
+
self.external_attr = 0 # External file attributes
|
|
352
|
+
# Other attributes are set by class ZipFile:
|
|
353
|
+
# header_offset Byte offset to the file header
|
|
354
|
+
# CRC CRC-32 of the uncompressed file
|
|
355
|
+
# compress_size Size of the compressed file
|
|
356
|
+
# file_size Size of the uncompressed file
|
|
357
|
+
|
|
358
|
+
def FileHeader(self, zip64=None):
|
|
359
|
+
"""Return the per-file header as a string."""
|
|
360
|
+
dt = self.date_time
|
|
361
|
+
dosdate = (dt[0] - 1980) << 9 | dt[1] << 5 | dt[2]
|
|
362
|
+
dostime = dt[3] << 11 | dt[4] << 5 | (dt[5] // 2)
|
|
363
|
+
if self.flag_bits & 0x08:
|
|
364
|
+
# Set these to zero because we write them after the file data
|
|
365
|
+
CRC = compress_size = file_size = 0
|
|
366
|
+
else:
|
|
367
|
+
CRC = self.CRC
|
|
368
|
+
compress_size = self.compress_size
|
|
369
|
+
file_size = self.file_size
|
|
370
|
+
|
|
371
|
+
extra = self.extra
|
|
372
|
+
|
|
373
|
+
min_version = 0
|
|
374
|
+
if zip64 is None:
|
|
375
|
+
zip64 = file_size > ZIP64_LIMIT or compress_size > ZIP64_LIMIT
|
|
376
|
+
if zip64:
|
|
377
|
+
fmt = '<HHQQ'
|
|
378
|
+
extra = extra + struct.pack(fmt,
|
|
379
|
+
1, struct.calcsize(fmt)-4, file_size, compress_size)
|
|
380
|
+
if file_size > ZIP64_LIMIT or compress_size > ZIP64_LIMIT:
|
|
381
|
+
if not zip64:
|
|
382
|
+
raise LargeZipFile("Filesize would require ZIP64 extensions")
|
|
383
|
+
# File is larger than what fits into a 4 byte integer,
|
|
384
|
+
# fall back to the ZIP64 extension
|
|
385
|
+
file_size = 0xffffffff
|
|
386
|
+
compress_size = 0xffffffff
|
|
387
|
+
min_version = ZIP64_VERSION
|
|
388
|
+
|
|
389
|
+
if self.compress_type == ZIP_BZIP2:
|
|
390
|
+
min_version = max(BZIP2_VERSION, min_version)
|
|
391
|
+
elif self.compress_type == ZIP_LZMA:
|
|
392
|
+
min_version = max(LZMA_VERSION, min_version)
|
|
393
|
+
|
|
394
|
+
self.extract_version = max(min_version, self.extract_version)
|
|
395
|
+
self.create_version = max(min_version, self.create_version)
|
|
396
|
+
filename, flag_bits = self._encodeFilenameFlags()
|
|
397
|
+
header = struct.pack(structFileHeader, stringFileHeader,
|
|
398
|
+
self.extract_version, self.reserved, flag_bits,
|
|
399
|
+
self.compress_type, dostime, dosdate, CRC,
|
|
400
|
+
compress_size, file_size,
|
|
401
|
+
len(filename), len(extra))
|
|
402
|
+
return header + filename + extra
|
|
403
|
+
|
|
404
|
+
def _encodeFilenameFlags(self):
|
|
405
|
+
try:
|
|
406
|
+
return self.filename.encode('ascii'), self.flag_bits
|
|
407
|
+
except UnicodeEncodeError:
|
|
408
|
+
return self.filename.encode('utf-8'), self.flag_bits | 0x800
|
|
409
|
+
|
|
410
|
+
def _decodeExtra(self):
|
|
411
|
+
# Try to decode the extra field.
|
|
412
|
+
extra = self.extra
|
|
413
|
+
unpack = struct.unpack
|
|
414
|
+
while len(extra) >= 4:
|
|
415
|
+
tp, ln = unpack('<HH', extra[:4])
|
|
416
|
+
if tp == 1:
|
|
417
|
+
if ln >= 24:
|
|
418
|
+
counts = unpack('<QQQ', extra[4:28])
|
|
419
|
+
elif ln == 16:
|
|
420
|
+
counts = unpack('<QQ', extra[4:20])
|
|
421
|
+
elif ln == 8:
|
|
422
|
+
counts = unpack('<Q', extra[4:12])
|
|
423
|
+
elif ln == 0:
|
|
424
|
+
counts = ()
|
|
425
|
+
else:
|
|
426
|
+
raise RuntimeError("Corrupt extra field %s"%(ln,))
|
|
427
|
+
|
|
428
|
+
idx = 0
|
|
429
|
+
|
|
430
|
+
# ZIP64 extension (large files and/or large archives)
|
|
431
|
+
if self.file_size in (0xffffffffffffffff, 0xffffffff):
|
|
432
|
+
self.file_size = counts[idx]
|
|
433
|
+
idx += 1
|
|
434
|
+
|
|
435
|
+
if self.compress_size == 0xFFFFFFFF:
|
|
436
|
+
self.compress_size = counts[idx]
|
|
437
|
+
idx += 1
|
|
438
|
+
|
|
439
|
+
if self.header_offset == 0xffffffff:
|
|
440
|
+
old = self.header_offset
|
|
441
|
+
self.header_offset = counts[idx]
|
|
442
|
+
idx+=1
|
|
443
|
+
|
|
444
|
+
extra = extra[ln+4:]
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
class _ZipDecrypter:
|
|
448
|
+
"""Class to handle decryption of files stored within a ZIP archive.
|
|
449
|
+
|
|
450
|
+
ZIP supports a password-based form of encryption. Even though known
|
|
451
|
+
plaintext attacks have been found against it, it is still useful
|
|
452
|
+
to be able to get data out of such a file.
|
|
453
|
+
|
|
454
|
+
Usage:
|
|
455
|
+
zd = _ZipDecrypter(mypwd)
|
|
456
|
+
plain_char = zd(cypher_char)
|
|
457
|
+
plain_text = map(zd, cypher_text)
|
|
458
|
+
"""
|
|
459
|
+
|
|
460
|
+
def _GenerateCRCTable():
|
|
461
|
+
"""Generate a CRC-32 table.
|
|
462
|
+
|
|
463
|
+
ZIP encryption uses the CRC32 one-byte primitive for scrambling some
|
|
464
|
+
internal keys. We noticed that a direct implementation is faster than
|
|
465
|
+
relying on binascii.crc32().
|
|
466
|
+
"""
|
|
467
|
+
poly = 0xedb88320
|
|
468
|
+
table = [0] * 256
|
|
469
|
+
for i in range(256):
|
|
470
|
+
crc = i
|
|
471
|
+
for j in range(8):
|
|
472
|
+
if crc & 1:
|
|
473
|
+
crc = ((crc >> 1) & 0x7FFFFFFF) ^ poly
|
|
474
|
+
else:
|
|
475
|
+
crc = ((crc >> 1) & 0x7FFFFFFF)
|
|
476
|
+
table[i] = crc
|
|
477
|
+
return table
|
|
478
|
+
crctable = None
|
|
479
|
+
|
|
480
|
+
def _crc32(self, ch, crc):
|
|
481
|
+
"""Compute the CRC32 primitive on one byte."""
|
|
482
|
+
return ((crc >> 8) & 0xffffff) ^ self.crctable[(crc ^ ch) & 0xff]
|
|
483
|
+
|
|
484
|
+
def __init__(self, pwd):
|
|
485
|
+
if _ZipDecrypter.crctable is None:
|
|
486
|
+
_ZipDecrypter.crctable = _ZipDecrypter._GenerateCRCTable()
|
|
487
|
+
self.key0 = 305419896
|
|
488
|
+
self.key1 = 591751049
|
|
489
|
+
self.key2 = 878082192
|
|
490
|
+
for p in pwd:
|
|
491
|
+
self._UpdateKeys(p)
|
|
492
|
+
|
|
493
|
+
def _UpdateKeys(self, c):
|
|
494
|
+
self.key0 = self._crc32(c, self.key0)
|
|
495
|
+
self.key1 = (self.key1 + (self.key0 & 255)) & 4294967295
|
|
496
|
+
self.key1 = (self.key1 * 134775813 + 1) & 4294967295
|
|
497
|
+
self.key2 = self._crc32((self.key1 >> 24) & 255, self.key2)
|
|
498
|
+
|
|
499
|
+
def __call__(self, c):
|
|
500
|
+
"""Decrypt a single character."""
|
|
501
|
+
assert isinstance(c, int)
|
|
502
|
+
k = self.key2 | 2
|
|
503
|
+
c = c ^ (((k * (k^1)) >> 8) & 255)
|
|
504
|
+
self._UpdateKeys(c)
|
|
505
|
+
return c
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
class LZMACompressor:
|
|
509
|
+
|
|
510
|
+
def __init__(self):
|
|
511
|
+
self._comp = None
|
|
512
|
+
|
|
513
|
+
def _init(self):
|
|
514
|
+
props = lzma._encode_filter_properties({'id': lzma.FILTER_LZMA1})
|
|
515
|
+
self._comp = lzma.LZMACompressor(lzma.FORMAT_RAW, filters=[
|
|
516
|
+
lzma._decode_filter_properties(lzma.FILTER_LZMA1, props)
|
|
517
|
+
])
|
|
518
|
+
return struct.pack('<BBH', 9, 4, len(props)) + props
|
|
519
|
+
|
|
520
|
+
def compress(self, data):
|
|
521
|
+
if self._comp is None:
|
|
522
|
+
return self._init() + self._comp.compress(data)
|
|
523
|
+
return self._comp.compress(data)
|
|
524
|
+
|
|
525
|
+
def flush(self):
|
|
526
|
+
if self._comp is None:
|
|
527
|
+
return self._init() + self._comp.flush()
|
|
528
|
+
return self._comp.flush()
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
class LZMADecompressor:
|
|
532
|
+
|
|
533
|
+
def __init__(self):
|
|
534
|
+
self._decomp = None
|
|
535
|
+
self._unconsumed = b''
|
|
536
|
+
self.eof = False
|
|
537
|
+
|
|
538
|
+
def decompress(self, data):
|
|
539
|
+
if self._decomp is None:
|
|
540
|
+
self._unconsumed += data
|
|
541
|
+
if len(self._unconsumed) <= 4:
|
|
542
|
+
return b''
|
|
543
|
+
psize, = struct.unpack('<H', self._unconsumed[2:4])
|
|
544
|
+
if len(self._unconsumed) <= 4 + psize:
|
|
545
|
+
return b''
|
|
546
|
+
|
|
547
|
+
self._decomp = lzma.LZMADecompressor(lzma.FORMAT_RAW, filters=[
|
|
548
|
+
lzma._decode_filter_properties(lzma.FILTER_LZMA1,
|
|
549
|
+
self._unconsumed[4:4 + psize])
|
|
550
|
+
])
|
|
551
|
+
data = self._unconsumed[4 + psize:]
|
|
552
|
+
del self._unconsumed
|
|
553
|
+
|
|
554
|
+
result = self._decomp.decompress(data)
|
|
555
|
+
self.eof = self._decomp.eof
|
|
556
|
+
return result
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
compressor_names = {
|
|
560
|
+
0: 'store',
|
|
561
|
+
1: 'shrink',
|
|
562
|
+
2: 'reduce',
|
|
563
|
+
3: 'reduce',
|
|
564
|
+
4: 'reduce',
|
|
565
|
+
5: 'reduce',
|
|
566
|
+
6: 'implode',
|
|
567
|
+
7: 'tokenize',
|
|
568
|
+
8: 'deflate',
|
|
569
|
+
9: 'deflate64',
|
|
570
|
+
10: 'implode',
|
|
571
|
+
12: 'bzip2',
|
|
572
|
+
14: 'lzma',
|
|
573
|
+
18: 'terse',
|
|
574
|
+
19: 'lz77',
|
|
575
|
+
97: 'wavpack',
|
|
576
|
+
98: 'ppmd',
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
def _check_compression(compression):
|
|
580
|
+
if compression == ZIP_STORED:
|
|
581
|
+
pass
|
|
582
|
+
elif compression == ZIP_DEFLATED:
|
|
583
|
+
if not zlib:
|
|
584
|
+
raise RuntimeError(
|
|
585
|
+
"Compression requires the (missing) zlib module")
|
|
586
|
+
elif compression == ZIP_BZIP2:
|
|
587
|
+
if not bz2:
|
|
588
|
+
raise RuntimeError(
|
|
589
|
+
"Compression requires the (missing) bz2 module")
|
|
590
|
+
elif compression == ZIP_LZMA:
|
|
591
|
+
if not lzma:
|
|
592
|
+
raise RuntimeError(
|
|
593
|
+
"Compression requires the (missing) lzma module")
|
|
594
|
+
else:
|
|
595
|
+
raise RuntimeError("That compression method is not supported")
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
def _get_compressor(compress_type):
|
|
599
|
+
if compress_type == ZIP_DEFLATED:
|
|
600
|
+
return zlib.compressobj(zlib.Z_DEFAULT_COMPRESSION,
|
|
601
|
+
zlib.DEFLATED, -15)
|
|
602
|
+
elif compress_type == ZIP_BZIP2:
|
|
603
|
+
return bz2.BZ2Compressor()
|
|
604
|
+
elif compress_type == ZIP_LZMA:
|
|
605
|
+
return LZMACompressor()
|
|
606
|
+
else:
|
|
607
|
+
return None
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
def _get_decompressor(compress_type):
|
|
611
|
+
if compress_type == ZIP_STORED:
|
|
612
|
+
return None
|
|
613
|
+
elif compress_type == ZIP_DEFLATED:
|
|
614
|
+
return zlib.decompressobj(-15)
|
|
615
|
+
elif compress_type == ZIP_BZIP2:
|
|
616
|
+
return bz2.BZ2Decompressor()
|
|
617
|
+
elif compress_type == ZIP_LZMA:
|
|
618
|
+
return LZMADecompressor()
|
|
619
|
+
else:
|
|
620
|
+
descr = compressor_names.get(compress_type)
|
|
621
|
+
if descr:
|
|
622
|
+
raise NotImplementedError("compression type %d (%s)" % (compress_type, descr))
|
|
623
|
+
else:
|
|
624
|
+
raise NotImplementedError("compression type %d" % (compress_type,))
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
class ZipExtFile(io.BufferedIOBase):
|
|
628
|
+
"""File-like object for reading an archive member.
|
|
629
|
+
Is returned by ZipFile.open().
|
|
630
|
+
"""
|
|
631
|
+
|
|
632
|
+
# Max size supported by decompressor.
|
|
633
|
+
MAX_N = 1 << 31 - 1
|
|
634
|
+
|
|
635
|
+
# Read from compressed files in 4k blocks.
|
|
636
|
+
MIN_READ_SIZE = 4096
|
|
637
|
+
|
|
638
|
+
# Search for universal newlines or line chunks.
|
|
639
|
+
PATTERN = re.compile(br'^(?P<chunk>[^\r\n]+)|(?P<newline>\n|\r\n?)')
|
|
640
|
+
|
|
641
|
+
def __init__(self, fileobj, mode, zipinfo, decrypter=None,
|
|
642
|
+
close_fileobj=False):
|
|
643
|
+
self._fileobj = fileobj
|
|
644
|
+
self._decrypter = decrypter
|
|
645
|
+
self._close_fileobj = close_fileobj
|
|
646
|
+
|
|
647
|
+
self._compress_type = zipinfo.compress_type
|
|
648
|
+
self._compress_left = zipinfo.compress_size
|
|
649
|
+
self._left = zipinfo.file_size
|
|
650
|
+
|
|
651
|
+
self._decompressor = _get_decompressor(self._compress_type)
|
|
652
|
+
|
|
653
|
+
self._eof = False
|
|
654
|
+
self._readbuffer = b''
|
|
655
|
+
self._offset = 0
|
|
656
|
+
|
|
657
|
+
self._universal = 'U' in mode
|
|
658
|
+
self.newlines = None
|
|
659
|
+
|
|
660
|
+
# Adjust read size for encrypted files since the first 12 bytes
|
|
661
|
+
# are for the encryption/password information.
|
|
662
|
+
if self._decrypter is not None:
|
|
663
|
+
self._compress_left -= 12
|
|
664
|
+
|
|
665
|
+
self.mode = mode
|
|
666
|
+
self.name = zipinfo.filename
|
|
667
|
+
|
|
668
|
+
if hasattr(zipinfo, 'CRC'):
|
|
669
|
+
self._expected_crc = zipinfo.CRC
|
|
670
|
+
self._running_crc = crc32(b'') & 0xffffffff
|
|
671
|
+
else:
|
|
672
|
+
self._expected_crc = None
|
|
673
|
+
|
|
674
|
+
def readline(self, limit=-1):
|
|
675
|
+
"""Read and return a line from the stream.
|
|
676
|
+
|
|
677
|
+
If limit is specified, at most limit bytes will be read.
|
|
678
|
+
"""
|
|
679
|
+
|
|
680
|
+
if not self._universal and limit < 0:
|
|
681
|
+
# Shortcut common case - newline found in buffer.
|
|
682
|
+
i = self._readbuffer.find(b'\n', self._offset) + 1
|
|
683
|
+
if i > 0:
|
|
684
|
+
line = self._readbuffer[self._offset: i]
|
|
685
|
+
self._offset = i
|
|
686
|
+
return line
|
|
687
|
+
|
|
688
|
+
if not self._universal:
|
|
689
|
+
return io.BufferedIOBase.readline(self, limit)
|
|
690
|
+
|
|
691
|
+
line = b''
|
|
692
|
+
while limit < 0 or len(line) < limit:
|
|
693
|
+
readahead = self.peek(2)
|
|
694
|
+
if readahead == b'':
|
|
695
|
+
return line
|
|
696
|
+
|
|
697
|
+
#
|
|
698
|
+
# Search for universal newlines or line chunks.
|
|
699
|
+
#
|
|
700
|
+
# The pattern returns either a line chunk or a newline, but not
|
|
701
|
+
# both. Combined with peek(2), we are assured that the sequence
|
|
702
|
+
# '\r\n' is always retrieved completely and never split into
|
|
703
|
+
# separate newlines - '\r', '\n' due to coincidental readaheads.
|
|
704
|
+
#
|
|
705
|
+
match = self.PATTERN.search(readahead)
|
|
706
|
+
newline = match.group('newline')
|
|
707
|
+
if newline is not None:
|
|
708
|
+
if self.newlines is None:
|
|
709
|
+
self.newlines = []
|
|
710
|
+
if newline not in self.newlines:
|
|
711
|
+
self.newlines.append(newline)
|
|
712
|
+
self._offset += len(newline)
|
|
713
|
+
return line + b'\n'
|
|
714
|
+
|
|
715
|
+
chunk = match.group('chunk')
|
|
716
|
+
if limit >= 0:
|
|
717
|
+
chunk = chunk[: limit - len(line)]
|
|
718
|
+
|
|
719
|
+
self._offset += len(chunk)
|
|
720
|
+
line += chunk
|
|
721
|
+
|
|
722
|
+
return line
|
|
723
|
+
|
|
724
|
+
def peek(self, n=1):
|
|
725
|
+
"""Returns buffered bytes without advancing the position."""
|
|
726
|
+
if n > len(self._readbuffer) - self._offset:
|
|
727
|
+
chunk = self.read(n)
|
|
728
|
+
if len(chunk) > self._offset:
|
|
729
|
+
self._readbuffer = chunk + self._readbuffer[self._offset:]
|
|
730
|
+
self._offset = 0
|
|
731
|
+
else:
|
|
732
|
+
self._offset -= len(chunk)
|
|
733
|
+
|
|
734
|
+
# Return up to 512 bytes to reduce allocation overhead for tight loops.
|
|
735
|
+
return self._readbuffer[self._offset: self._offset + 512]
|
|
736
|
+
|
|
737
|
+
def readable(self):
|
|
738
|
+
return True
|
|
739
|
+
|
|
740
|
+
def read(self, n=-1):
|
|
741
|
+
"""Read and return up to n bytes.
|
|
742
|
+
If the argument is omitted, None, or negative, data is read and returned until EOF is reached..
|
|
743
|
+
"""
|
|
744
|
+
if n is None or n < 0:
|
|
745
|
+
buf = self._readbuffer[self._offset:]
|
|
746
|
+
self._readbuffer = b''
|
|
747
|
+
self._offset = 0
|
|
748
|
+
while not self._eof:
|
|
749
|
+
buf += self._read1(self.MAX_N)
|
|
750
|
+
return buf
|
|
751
|
+
|
|
752
|
+
end = n + self._offset
|
|
753
|
+
if end < len(self._readbuffer):
|
|
754
|
+
buf = self._readbuffer[self._offset:end]
|
|
755
|
+
self._offset = end
|
|
756
|
+
return buf
|
|
757
|
+
|
|
758
|
+
n = end - len(self._readbuffer)
|
|
759
|
+
buf = self._readbuffer[self._offset:]
|
|
760
|
+
self._readbuffer = b''
|
|
761
|
+
self._offset = 0
|
|
762
|
+
while n > 0 and not self._eof:
|
|
763
|
+
data = self._read1(n)
|
|
764
|
+
if n < len(data):
|
|
765
|
+
self._readbuffer = data
|
|
766
|
+
self._offset = n
|
|
767
|
+
buf += data[:n]
|
|
768
|
+
break
|
|
769
|
+
buf += data
|
|
770
|
+
n -= len(data)
|
|
771
|
+
return buf
|
|
772
|
+
|
|
773
|
+
def _update_crc(self, newdata):
|
|
774
|
+
# Update the CRC using the given data.
|
|
775
|
+
if self._expected_crc is None:
|
|
776
|
+
# No need to compute the CRC if we don't have a reference value
|
|
777
|
+
return
|
|
778
|
+
self._running_crc = crc32(newdata, self._running_crc) & 0xffffffff
|
|
779
|
+
# Check the CRC if we're at the end of the file
|
|
780
|
+
if self._eof and self._running_crc != self._expected_crc:
|
|
781
|
+
raise BadZipFile("Bad CRC-32 for file %r" % self.name)
|
|
782
|
+
|
|
783
|
+
def read1(self, n):
|
|
784
|
+
"""Read up to n bytes with at most one read() system call."""
|
|
785
|
+
|
|
786
|
+
if n is None or n < 0:
|
|
787
|
+
buf = self._readbuffer[self._offset:]
|
|
788
|
+
self._readbuffer = b''
|
|
789
|
+
self._offset = 0
|
|
790
|
+
while not self._eof:
|
|
791
|
+
data = self._read1(self.MAX_N)
|
|
792
|
+
if data:
|
|
793
|
+
buf += data
|
|
794
|
+
break
|
|
795
|
+
return buf
|
|
796
|
+
|
|
797
|
+
end = n + self._offset
|
|
798
|
+
if end < len(self._readbuffer):
|
|
799
|
+
buf = self._readbuffer[self._offset:end]
|
|
800
|
+
self._offset = end
|
|
801
|
+
return buf
|
|
802
|
+
|
|
803
|
+
n = end - len(self._readbuffer)
|
|
804
|
+
buf = self._readbuffer[self._offset:]
|
|
805
|
+
self._readbuffer = b''
|
|
806
|
+
self._offset = 0
|
|
807
|
+
if n > 0:
|
|
808
|
+
while not self._eof:
|
|
809
|
+
data = self._read1(n)
|
|
810
|
+
if n < len(data):
|
|
811
|
+
self._readbuffer = data
|
|
812
|
+
self._offset = n
|
|
813
|
+
buf += data[:n]
|
|
814
|
+
break
|
|
815
|
+
if data:
|
|
816
|
+
buf += data
|
|
817
|
+
break
|
|
818
|
+
return buf
|
|
819
|
+
|
|
820
|
+
def _read1(self, n):
|
|
821
|
+
# Read up to n compressed bytes with at most one read() system call,
|
|
822
|
+
# decrypt and decompress them.
|
|
823
|
+
if self._eof or n <= 0:
|
|
824
|
+
return b''
|
|
825
|
+
|
|
826
|
+
# Read from file.
|
|
827
|
+
if self._compress_type == ZIP_DEFLATED:
|
|
828
|
+
## Handle unconsumed data.
|
|
829
|
+
data = self._decompressor.unconsumed_tail
|
|
830
|
+
if n > len(data):
|
|
831
|
+
data += self._read2(n - len(data))
|
|
832
|
+
else:
|
|
833
|
+
data = self._read2(n)
|
|
834
|
+
|
|
835
|
+
if self._compress_type == ZIP_STORED:
|
|
836
|
+
self._eof = self._compress_left <= 0
|
|
837
|
+
elif self._compress_type == ZIP_DEFLATED:
|
|
838
|
+
n = max(n, self.MIN_READ_SIZE)
|
|
839
|
+
data = self._decompressor.decompress(data, n)
|
|
840
|
+
self._eof = (self._decompressor.eof or
|
|
841
|
+
self._compress_left <= 0 and
|
|
842
|
+
not self._decompressor.unconsumed_tail)
|
|
843
|
+
if self._eof:
|
|
844
|
+
data += self._decompressor.flush()
|
|
845
|
+
else:
|
|
846
|
+
data = self._decompressor.decompress(data)
|
|
847
|
+
self._eof = self._decompressor.eof or self._compress_left <= 0
|
|
848
|
+
|
|
849
|
+
data = data[:self._left]
|
|
850
|
+
self._left -= len(data)
|
|
851
|
+
if self._left <= 0:
|
|
852
|
+
self._eof = True
|
|
853
|
+
self._update_crc(data)
|
|
854
|
+
return data
|
|
855
|
+
|
|
856
|
+
def _read2(self, n):
|
|
857
|
+
if self._compress_left <= 0:
|
|
858
|
+
return b''
|
|
859
|
+
|
|
860
|
+
n = max(n, self.MIN_READ_SIZE)
|
|
861
|
+
n = min(n, self._compress_left)
|
|
862
|
+
|
|
863
|
+
data = self._fileobj.read(n)
|
|
864
|
+
self._compress_left -= len(data)
|
|
865
|
+
if not data:
|
|
866
|
+
raise EOFError
|
|
867
|
+
|
|
868
|
+
if self._decrypter is not None:
|
|
869
|
+
data = bytes(map(self._decrypter, data))
|
|
870
|
+
return data
|
|
871
|
+
|
|
872
|
+
def close(self):
|
|
873
|
+
try:
|
|
874
|
+
if self._close_fileobj:
|
|
875
|
+
self._fileobj.close()
|
|
876
|
+
finally:
|
|
877
|
+
super().close()
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
class ZipFile:
|
|
881
|
+
""" Class with methods to open, read, write, close, list zip files.
|
|
882
|
+
|
|
883
|
+
z = ZipFile(file, mode="r", compression=ZIP_STORED, allowZip64=True)
|
|
884
|
+
|
|
885
|
+
file: Either the path to the file, or a file-like object.
|
|
886
|
+
If it is a path, the file will be opened and closed by ZipFile.
|
|
887
|
+
mode: The mode can be either read "r", write "w" or append "a".
|
|
888
|
+
compression: ZIP_STORED (no compression), ZIP_DEFLATED (requires zlib),
|
|
889
|
+
ZIP_BZIP2 (requires bz2) or ZIP_LZMA (requires lzma).
|
|
890
|
+
allowZip64: if True ZipFile will create files with ZIP64 extensions when
|
|
891
|
+
needed, otherwise it will raise an exception when this would
|
|
892
|
+
be necessary.
|
|
893
|
+
|
|
894
|
+
"""
|
|
895
|
+
|
|
896
|
+
fp = None # Set here since __del__ checks it
|
|
897
|
+
_windows_illegal_name_trans_table = None
|
|
898
|
+
|
|
899
|
+
def __init__(self, file, mode="r", compression=ZIP_STORED, allowZip64=True):
|
|
900
|
+
"""Open the ZIP file with mode read "r", write "w" or append "a"."""
|
|
901
|
+
if mode not in ("r", "w", "a"):
|
|
902
|
+
raise RuntimeError('ZipFile() requires mode "r", "w", or "a"')
|
|
903
|
+
|
|
904
|
+
_check_compression(compression)
|
|
905
|
+
|
|
906
|
+
self._allowZip64 = allowZip64
|
|
907
|
+
self._didModify = False
|
|
908
|
+
self.debug = 0 # Level of printing: 0 through 3
|
|
909
|
+
self.NameToInfo = {} # Find file info given name
|
|
910
|
+
self.filelist = [] # List of ZipInfo instances for archive
|
|
911
|
+
self.compression = compression # Method of compression
|
|
912
|
+
self.mode = key = mode.replace('b', '')[0]
|
|
913
|
+
self.pwd = None
|
|
914
|
+
self._comment = b''
|
|
915
|
+
|
|
916
|
+
# Check if we were passed a file-like object
|
|
917
|
+
if isinstance(file, str):
|
|
918
|
+
# No, it's a filename
|
|
919
|
+
self._filePassed = 0
|
|
920
|
+
self.filename = file
|
|
921
|
+
modeDict = {'r' : 'rb', 'w': 'wb', 'a' : 'r+b'}
|
|
922
|
+
try:
|
|
923
|
+
self.fp = io.open(file, modeDict[mode])
|
|
924
|
+
except OSError:
|
|
925
|
+
if mode == 'a':
|
|
926
|
+
mode = key = 'w'
|
|
927
|
+
self.fp = io.open(file, modeDict[mode])
|
|
928
|
+
else:
|
|
929
|
+
raise
|
|
930
|
+
else:
|
|
931
|
+
self._filePassed = 1
|
|
932
|
+
self.fp = file
|
|
933
|
+
self.filename = getattr(file, 'name', None)
|
|
934
|
+
|
|
935
|
+
try:
|
|
936
|
+
if key == 'r':
|
|
937
|
+
self._RealGetContents()
|
|
938
|
+
elif key == 'w':
|
|
939
|
+
# set the modified flag so central directory gets written
|
|
940
|
+
# even if no files are added to the archive
|
|
941
|
+
self._didModify = True
|
|
942
|
+
elif key == 'a':
|
|
943
|
+
try:
|
|
944
|
+
# See if file is a zip file
|
|
945
|
+
self._RealGetContents()
|
|
946
|
+
# seek to start of directory and overwrite
|
|
947
|
+
self.fp.seek(self.start_dir, 0)
|
|
948
|
+
except BadZipFile:
|
|
949
|
+
# file is not a zip file, just append
|
|
950
|
+
self.fp.seek(0, 2)
|
|
951
|
+
|
|
952
|
+
# set the modified flag so central directory gets written
|
|
953
|
+
# even if no files are added to the archive
|
|
954
|
+
self._didModify = True
|
|
955
|
+
else:
|
|
956
|
+
raise RuntimeError('Mode must be "r", "w" or "a"')
|
|
957
|
+
except:
|
|
958
|
+
fp = self.fp
|
|
959
|
+
self.fp = None
|
|
960
|
+
if not self._filePassed:
|
|
961
|
+
fp.close()
|
|
962
|
+
raise
|
|
963
|
+
|
|
964
|
+
def __enter__(self):
|
|
965
|
+
return self
|
|
966
|
+
|
|
967
|
+
def __exit__(self, type, value, traceback):
|
|
968
|
+
self.close()
|
|
969
|
+
|
|
970
|
+
def _RealGetContents(self):
|
|
971
|
+
"""Read in the table of contents for the ZIP file."""
|
|
972
|
+
fp = self.fp
|
|
973
|
+
try:
|
|
974
|
+
endrec = _EndRecData(fp)
|
|
975
|
+
except OSError:
|
|
976
|
+
raise BadZipFile("File is not a zip file")
|
|
977
|
+
if not endrec:
|
|
978
|
+
raise BadZipFile("File is not a zip file")
|
|
979
|
+
if self.debug > 1:
|
|
980
|
+
print(endrec)
|
|
981
|
+
size_cd = endrec[_ECD_SIZE] # bytes in central directory
|
|
982
|
+
offset_cd = endrec[_ECD_OFFSET] # offset of central directory
|
|
983
|
+
self._comment = endrec[_ECD_COMMENT] # archive comment
|
|
984
|
+
|
|
985
|
+
# "concat" is zero, unless zip was concatenated to another file
|
|
986
|
+
concat = endrec[_ECD_LOCATION] - size_cd - offset_cd
|
|
987
|
+
if endrec[_ECD_SIGNATURE] == stringEndArchive64:
|
|
988
|
+
# If Zip64 extension structures are present, account for them
|
|
989
|
+
concat -= (sizeEndCentDir64 + sizeEndCentDir64Locator)
|
|
990
|
+
|
|
991
|
+
if self.debug > 2:
|
|
992
|
+
inferred = concat + offset_cd
|
|
993
|
+
print("given, inferred, offset", offset_cd, inferred, concat)
|
|
994
|
+
# self.start_dir: Position of start of central directory
|
|
995
|
+
self.start_dir = offset_cd + concat
|
|
996
|
+
fp.seek(self.start_dir, 0)
|
|
997
|
+
data = fp.read(size_cd)
|
|
998
|
+
fp = io.BytesIO(data)
|
|
999
|
+
total = 0
|
|
1000
|
+
while total < size_cd:
|
|
1001
|
+
centdir = fp.read(sizeCentralDir)
|
|
1002
|
+
if len(centdir) != sizeCentralDir:
|
|
1003
|
+
raise BadZipFile("Truncated central directory")
|
|
1004
|
+
centdir = struct.unpack(structCentralDir, centdir)
|
|
1005
|
+
if centdir[_CD_SIGNATURE] != stringCentralDir:
|
|
1006
|
+
raise BadZipFile("Bad magic number for central directory")
|
|
1007
|
+
if self.debug > 2:
|
|
1008
|
+
print(centdir)
|
|
1009
|
+
filename = fp.read(centdir[_CD_FILENAME_LENGTH])
|
|
1010
|
+
flags = centdir[5]
|
|
1011
|
+
if flags & 0x800:
|
|
1012
|
+
# UTF-8 file names extension
|
|
1013
|
+
filename = filename.decode('utf-8')
|
|
1014
|
+
else:
|
|
1015
|
+
# Historical ZIP filename encoding
|
|
1016
|
+
filename = filename.decode('cp437')
|
|
1017
|
+
# Create ZipInfo instance to store file information
|
|
1018
|
+
x = ZipInfo(filename)
|
|
1019
|
+
x.extra = fp.read(centdir[_CD_EXTRA_FIELD_LENGTH])
|
|
1020
|
+
x.comment = fp.read(centdir[_CD_COMMENT_LENGTH])
|
|
1021
|
+
x.header_offset = centdir[_CD_LOCAL_HEADER_OFFSET]
|
|
1022
|
+
(x.create_version, x.create_system, x.extract_version, x.reserved,
|
|
1023
|
+
x.flag_bits, x.compress_type, t, d,
|
|
1024
|
+
x.CRC, x.compress_size, x.file_size) = centdir[1:12]
|
|
1025
|
+
if x.extract_version > MAX_EXTRACT_VERSION:
|
|
1026
|
+
raise NotImplementedError("zip file version %.1f" %
|
|
1027
|
+
(x.extract_version / 10))
|
|
1028
|
+
x.volume, x.internal_attr, x.external_attr = centdir[15:18]
|
|
1029
|
+
# Convert date/time code to (year, month, day, hour, min, sec)
|
|
1030
|
+
x._raw_time = t
|
|
1031
|
+
x.date_time = ( (d>>9)+1980, (d>>5)&0xF, d&0x1F,
|
|
1032
|
+
t>>11, (t>>5)&0x3F, (t&0x1F) * 2 )
|
|
1033
|
+
|
|
1034
|
+
x._decodeExtra()
|
|
1035
|
+
x.header_offset = x.header_offset + concat
|
|
1036
|
+
self.filelist.append(x)
|
|
1037
|
+
self.NameToInfo[x.filename] = x
|
|
1038
|
+
|
|
1039
|
+
# update total bytes read from central directory
|
|
1040
|
+
total = (total + sizeCentralDir + centdir[_CD_FILENAME_LENGTH]
|
|
1041
|
+
+ centdir[_CD_EXTRA_FIELD_LENGTH]
|
|
1042
|
+
+ centdir[_CD_COMMENT_LENGTH])
|
|
1043
|
+
|
|
1044
|
+
if self.debug > 2:
|
|
1045
|
+
print("total", total)
|
|
1046
|
+
|
|
1047
|
+
|
|
1048
|
+
def namelist(self):
|
|
1049
|
+
"""Return a list of file names in the archive."""
|
|
1050
|
+
return [data.filename for data in self.filelist]
|
|
1051
|
+
|
|
1052
|
+
def infolist(self):
|
|
1053
|
+
"""Return a list of class ZipInfo instances for files in the
|
|
1054
|
+
archive."""
|
|
1055
|
+
return self.filelist
|
|
1056
|
+
|
|
1057
|
+
def printdir(self, file=None):
|
|
1058
|
+
"""Print a table of contents for the zip file."""
|
|
1059
|
+
print("%-46s %19s %12s" % ("File Name", "Modified ", "Size"),
|
|
1060
|
+
file=file)
|
|
1061
|
+
for zinfo in self.filelist:
|
|
1062
|
+
date = "%d-%02d-%02d %02d:%02d:%02d" % zinfo.date_time[:6]
|
|
1063
|
+
print("%-46s %s %12d" % (zinfo.filename, date, zinfo.file_size),
|
|
1064
|
+
file=file)
|
|
1065
|
+
|
|
1066
|
+
def testzip(self):
|
|
1067
|
+
"""Read all the files and check the CRC."""
|
|
1068
|
+
chunk_size = 2 ** 20
|
|
1069
|
+
for zinfo in self.filelist:
|
|
1070
|
+
try:
|
|
1071
|
+
# Read by chunks, to avoid an OverflowError or a
|
|
1072
|
+
# MemoryError with very large embedded files.
|
|
1073
|
+
with self.open(zinfo.filename, "r") as f:
|
|
1074
|
+
while f.read(chunk_size): # Check CRC-32
|
|
1075
|
+
pass
|
|
1076
|
+
except BadZipFile:
|
|
1077
|
+
return zinfo.filename
|
|
1078
|
+
|
|
1079
|
+
def getinfo(self, name):
|
|
1080
|
+
"""Return the instance of ZipInfo given 'name'."""
|
|
1081
|
+
info = self.NameToInfo.get(name)
|
|
1082
|
+
if info is None:
|
|
1083
|
+
raise KeyError(
|
|
1084
|
+
'There is no item named %r in the archive' % name)
|
|
1085
|
+
|
|
1086
|
+
return info
|
|
1087
|
+
|
|
1088
|
+
def setpassword(self, pwd):
|
|
1089
|
+
"""Set default password for encrypted files."""
|
|
1090
|
+
if pwd and not isinstance(pwd, bytes):
|
|
1091
|
+
raise TypeError("pwd: expected bytes, got %s" % type(pwd))
|
|
1092
|
+
if pwd:
|
|
1093
|
+
self.pwd = pwd
|
|
1094
|
+
else:
|
|
1095
|
+
self.pwd = None
|
|
1096
|
+
|
|
1097
|
+
@property
|
|
1098
|
+
def comment(self):
|
|
1099
|
+
"""The comment text associated with the ZIP file."""
|
|
1100
|
+
return self._comment
|
|
1101
|
+
|
|
1102
|
+
@comment.setter
|
|
1103
|
+
def comment(self, comment):
|
|
1104
|
+
if not isinstance(comment, bytes):
|
|
1105
|
+
raise TypeError("comment: expected bytes, got %s" % type(comment))
|
|
1106
|
+
# check for valid comment length
|
|
1107
|
+
if len(comment) > ZIP_MAX_COMMENT:
|
|
1108
|
+
import warnings
|
|
1109
|
+
warnings.warn('Archive comment is too long; truncating to %d bytes'
|
|
1110
|
+
% ZIP_MAX_COMMENT, stacklevel=2)
|
|
1111
|
+
comment = comment[:ZIP_MAX_COMMENT]
|
|
1112
|
+
self._comment = comment
|
|
1113
|
+
self._didModify = True
|
|
1114
|
+
|
|
1115
|
+
def read(self, name, pwd=None):
|
|
1116
|
+
"""Return file bytes (as a string) for name."""
|
|
1117
|
+
with self.open(name, "r", pwd) as fp:
|
|
1118
|
+
return fp.read()
|
|
1119
|
+
|
|
1120
|
+
def open(self, name, mode="r", pwd=None):
|
|
1121
|
+
"""Return file-like object for 'name'."""
|
|
1122
|
+
if mode not in ("r", "U", "rU"):
|
|
1123
|
+
raise RuntimeError('open() requires mode "r", "U", or "rU"')
|
|
1124
|
+
if 'U' in mode:
|
|
1125
|
+
import warnings
|
|
1126
|
+
warnings.warn("'U' mode is deprecated",
|
|
1127
|
+
DeprecationWarning, 2)
|
|
1128
|
+
if pwd and not isinstance(pwd, bytes):
|
|
1129
|
+
raise TypeError("pwd: expected bytes, got %s" % type(pwd))
|
|
1130
|
+
if not self.fp:
|
|
1131
|
+
raise RuntimeError(
|
|
1132
|
+
"Attempt to read ZIP archive that was already closed")
|
|
1133
|
+
|
|
1134
|
+
# Only open a new file for instances where we were not
|
|
1135
|
+
# given a file object in the constructor
|
|
1136
|
+
if self._filePassed:
|
|
1137
|
+
zef_file = self.fp
|
|
1138
|
+
else:
|
|
1139
|
+
zef_file = io.open(self.filename, 'rb')
|
|
1140
|
+
|
|
1141
|
+
try:
|
|
1142
|
+
# Make sure we have an info object
|
|
1143
|
+
if isinstance(name, ZipInfo):
|
|
1144
|
+
# 'name' is already an info object
|
|
1145
|
+
zinfo = name
|
|
1146
|
+
else:
|
|
1147
|
+
# Get info object for name
|
|
1148
|
+
zinfo = self.getinfo(name)
|
|
1149
|
+
zef_file.seek(zinfo.header_offset, 0)
|
|
1150
|
+
|
|
1151
|
+
# Skip the file header:
|
|
1152
|
+
fheader = zef_file.read(sizeFileHeader)
|
|
1153
|
+
if len(fheader) != sizeFileHeader:
|
|
1154
|
+
raise BadZipFile("Truncated file header")
|
|
1155
|
+
fheader = struct.unpack(structFileHeader, fheader)
|
|
1156
|
+
if fheader[_FH_SIGNATURE] != stringFileHeader:
|
|
1157
|
+
raise BadZipFile("Bad magic number for file header")
|
|
1158
|
+
|
|
1159
|
+
fname = zef_file.read(fheader[_FH_FILENAME_LENGTH])
|
|
1160
|
+
if fheader[_FH_EXTRA_FIELD_LENGTH]:
|
|
1161
|
+
zef_file.read(fheader[_FH_EXTRA_FIELD_LENGTH])
|
|
1162
|
+
|
|
1163
|
+
if zinfo.flag_bits & 0x20:
|
|
1164
|
+
# Zip 2.7: compressed patched data
|
|
1165
|
+
raise NotImplementedError("compressed patched data (flag bit 5)")
|
|
1166
|
+
|
|
1167
|
+
if zinfo.flag_bits & 0x40:
|
|
1168
|
+
# strong encryption
|
|
1169
|
+
raise NotImplementedError("strong encryption (flag bit 6)")
|
|
1170
|
+
|
|
1171
|
+
if zinfo.flag_bits & 0x800:
|
|
1172
|
+
# UTF-8 filename
|
|
1173
|
+
fname_str = fname.decode("utf-8")
|
|
1174
|
+
else:
|
|
1175
|
+
fname_str = fname.decode("cp437")
|
|
1176
|
+
|
|
1177
|
+
if fname_str != zinfo.orig_filename:
|
|
1178
|
+
raise BadZipFile(
|
|
1179
|
+
'File name in directory %r and header %r differ.'
|
|
1180
|
+
% (zinfo.orig_filename, fname))
|
|
1181
|
+
|
|
1182
|
+
# check for encrypted flag & handle password
|
|
1183
|
+
is_encrypted = zinfo.flag_bits & 0x1
|
|
1184
|
+
zd = None
|
|
1185
|
+
if is_encrypted:
|
|
1186
|
+
if not pwd:
|
|
1187
|
+
pwd = self.pwd
|
|
1188
|
+
if not pwd:
|
|
1189
|
+
raise RuntimeError("File %s is encrypted, password "
|
|
1190
|
+
"required for extraction" % name)
|
|
1191
|
+
|
|
1192
|
+
zd = _ZipDecrypter(pwd)
|
|
1193
|
+
# The first 12 bytes in the cypher stream is an encryption header
|
|
1194
|
+
# used to strengthen the algorithm. The first 11 bytes are
|
|
1195
|
+
# completely random, while the 12th contains the MSB of the CRC,
|
|
1196
|
+
# or the MSB of the file time depending on the header type
|
|
1197
|
+
# and is used to check the correctness of the password.
|
|
1198
|
+
header = zef_file.read(12)
|
|
1199
|
+
h = list(map(zd, header[0:12]))
|
|
1200
|
+
if zinfo.flag_bits & 0x8:
|
|
1201
|
+
# compare against the file type from extended local headers
|
|
1202
|
+
check_byte = (zinfo._raw_time >> 8) & 0xff
|
|
1203
|
+
else:
|
|
1204
|
+
# compare against the CRC otherwise
|
|
1205
|
+
check_byte = (zinfo.CRC >> 24) & 0xff
|
|
1206
|
+
if h[11] != check_byte:
|
|
1207
|
+
raise RuntimeError("Bad password for file", name)
|
|
1208
|
+
|
|
1209
|
+
return ZipExtFile(zef_file, mode, zinfo, zd,
|
|
1210
|
+
close_fileobj=not self._filePassed)
|
|
1211
|
+
except:
|
|
1212
|
+
if not self._filePassed:
|
|
1213
|
+
zef_file.close()
|
|
1214
|
+
raise
|
|
1215
|
+
|
|
1216
|
+
def extract(self, member, path=None, pwd=None):
|
|
1217
|
+
"""Extract a member from the archive to the current working directory,
|
|
1218
|
+
using its full name. Its file information is extracted as accurately
|
|
1219
|
+
as possible. `member' may be a filename or a ZipInfo object. You can
|
|
1220
|
+
specify a different directory using `path'.
|
|
1221
|
+
"""
|
|
1222
|
+
if not isinstance(member, ZipInfo):
|
|
1223
|
+
member = self.getinfo(member)
|
|
1224
|
+
|
|
1225
|
+
if path is None:
|
|
1226
|
+
path = os.getcwd()
|
|
1227
|
+
|
|
1228
|
+
return self._extract_member(member, path, pwd)
|
|
1229
|
+
|
|
1230
|
+
def extractall(self, path=None, members=None, pwd=None):
|
|
1231
|
+
"""Extract all members from the archive to the current working
|
|
1232
|
+
directory. `path' specifies a different directory to extract to.
|
|
1233
|
+
`members' is optional and must be a subset of the list returned
|
|
1234
|
+
by namelist().
|
|
1235
|
+
"""
|
|
1236
|
+
if members is None:
|
|
1237
|
+
members = self.namelist()
|
|
1238
|
+
|
|
1239
|
+
for zipinfo in members:
|
|
1240
|
+
self.extract(zipinfo, path, pwd)
|
|
1241
|
+
|
|
1242
|
+
@classmethod
|
|
1243
|
+
def _sanitize_windows_name(cls, arcname, pathsep):
|
|
1244
|
+
"""Replace bad characters and remove trailing dots from parts."""
|
|
1245
|
+
table = cls._windows_illegal_name_trans_table
|
|
1246
|
+
if not table:
|
|
1247
|
+
illegal = ':<>|"?*'
|
|
1248
|
+
table = str.maketrans(illegal, '_' * len(illegal))
|
|
1249
|
+
cls._windows_illegal_name_trans_table = table
|
|
1250
|
+
arcname = arcname.translate(table)
|
|
1251
|
+
# remove trailing dots
|
|
1252
|
+
arcname = (x.rstrip('.') for x in arcname.split(pathsep))
|
|
1253
|
+
# rejoin, removing empty parts.
|
|
1254
|
+
arcname = pathsep.join(x for x in arcname if x)
|
|
1255
|
+
return arcname
|
|
1256
|
+
|
|
1257
|
+
def _extract_member(self, member, targetpath, pwd):
|
|
1258
|
+
"""Extract the ZipInfo object 'member' to a physical
|
|
1259
|
+
file on the path targetpath.
|
|
1260
|
+
"""
|
|
1261
|
+
# build the destination pathname, replacing
|
|
1262
|
+
# forward slashes to platform specific separators.
|
|
1263
|
+
arcname = member.filename.replace('/', os.path.sep)
|
|
1264
|
+
|
|
1265
|
+
if os.path.altsep:
|
|
1266
|
+
arcname = arcname.replace(os.path.altsep, os.path.sep)
|
|
1267
|
+
# interpret absolute pathname as relative, remove drive letter or
|
|
1268
|
+
# UNC path, redundant separators, "." and ".." components.
|
|
1269
|
+
arcname = os.path.splitdrive(arcname)[1]
|
|
1270
|
+
invalid_path_parts = ('', os.path.curdir, os.path.pardir)
|
|
1271
|
+
arcname = os.path.sep.join(x for x in arcname.split(os.path.sep)
|
|
1272
|
+
if x not in invalid_path_parts)
|
|
1273
|
+
if os.path.sep == '\\':
|
|
1274
|
+
# filter illegal characters on Windows
|
|
1275
|
+
arcname = self._sanitize_windows_name(arcname, os.path.sep)
|
|
1276
|
+
|
|
1277
|
+
targetpath = os.path.join(targetpath, arcname)
|
|
1278
|
+
targetpath = os.path.normpath(targetpath)
|
|
1279
|
+
|
|
1280
|
+
# Create all upper directories if necessary.
|
|
1281
|
+
upperdirs = os.path.dirname(targetpath)
|
|
1282
|
+
if upperdirs and not os.path.exists(upperdirs):
|
|
1283
|
+
os.makedirs(upperdirs)
|
|
1284
|
+
|
|
1285
|
+
if member.filename[-1] == '/':
|
|
1286
|
+
if not os.path.isdir(targetpath):
|
|
1287
|
+
os.mkdir(targetpath)
|
|
1288
|
+
return targetpath
|
|
1289
|
+
|
|
1290
|
+
with self.open(member, pwd=pwd) as source, \
|
|
1291
|
+
open(targetpath, "wb") as target:
|
|
1292
|
+
shutil.copyfileobj(source, target)
|
|
1293
|
+
|
|
1294
|
+
return targetpath
|
|
1295
|
+
|
|
1296
|
+
def _writecheck(self, zinfo):
|
|
1297
|
+
"""Check for errors before writing a file to the archive."""
|
|
1298
|
+
if zinfo.filename in self.NameToInfo:
|
|
1299
|
+
import warnings
|
|
1300
|
+
warnings.warn('Duplicate name: %r' % zinfo.filename, stacklevel=3)
|
|
1301
|
+
if self.mode not in ("w", "a"):
|
|
1302
|
+
raise RuntimeError('write() requires mode "w" or "a"')
|
|
1303
|
+
if not self.fp:
|
|
1304
|
+
raise RuntimeError(
|
|
1305
|
+
"Attempt to write ZIP archive that was already closed")
|
|
1306
|
+
_check_compression(zinfo.compress_type)
|
|
1307
|
+
if zinfo.file_size > ZIP64_LIMIT:
|
|
1308
|
+
if not self._allowZip64:
|
|
1309
|
+
raise LargeZipFile("Filesize would require ZIP64 extensions")
|
|
1310
|
+
if zinfo.header_offset > ZIP64_LIMIT:
|
|
1311
|
+
if not self._allowZip64:
|
|
1312
|
+
raise LargeZipFile(
|
|
1313
|
+
"Zipfile size would require ZIP64 extensions")
|
|
1314
|
+
|
|
1315
|
+
def write(self, filename, arcname=None, compress_type=None):
|
|
1316
|
+
"""Put the bytes from filename into the archive under the name
|
|
1317
|
+
arcname."""
|
|
1318
|
+
if not self.fp:
|
|
1319
|
+
raise RuntimeError(
|
|
1320
|
+
"Attempt to write to ZIP archive that was already closed")
|
|
1321
|
+
|
|
1322
|
+
st = os.stat(filename)
|
|
1323
|
+
isdir = stat.S_ISDIR(st.st_mode)
|
|
1324
|
+
mtime = time.localtime(st.st_mtime)
|
|
1325
|
+
date_time = mtime[0:6]
|
|
1326
|
+
# Create ZipInfo instance to store file information
|
|
1327
|
+
if arcname is None:
|
|
1328
|
+
arcname = filename
|
|
1329
|
+
arcname = os.path.normpath(os.path.splitdrive(arcname)[1])
|
|
1330
|
+
while arcname[0] in (os.sep, os.altsep):
|
|
1331
|
+
arcname = arcname[1:]
|
|
1332
|
+
if isdir:
|
|
1333
|
+
arcname += '/'
|
|
1334
|
+
zinfo = ZipInfo(arcname, date_time)
|
|
1335
|
+
zinfo.external_attr = (st[0] & 0xFFFF) << 16 # Unix attributes
|
|
1336
|
+
if compress_type is None:
|
|
1337
|
+
zinfo.compress_type = self.compression
|
|
1338
|
+
else:
|
|
1339
|
+
zinfo.compress_type = compress_type
|
|
1340
|
+
|
|
1341
|
+
zinfo.file_size = st.st_size
|
|
1342
|
+
zinfo.flag_bits = 0x00
|
|
1343
|
+
zinfo.header_offset = self.fp.tell() # Start of header bytes
|
|
1344
|
+
if zinfo.compress_type == ZIP_LZMA:
|
|
1345
|
+
# Compressed data includes an end-of-stream (EOS) marker
|
|
1346
|
+
zinfo.flag_bits |= 0x02
|
|
1347
|
+
|
|
1348
|
+
self._writecheck(zinfo)
|
|
1349
|
+
self._didModify = True
|
|
1350
|
+
|
|
1351
|
+
if isdir:
|
|
1352
|
+
zinfo.file_size = 0
|
|
1353
|
+
zinfo.compress_size = 0
|
|
1354
|
+
zinfo.CRC = 0
|
|
1355
|
+
self.filelist.append(zinfo)
|
|
1356
|
+
self.NameToInfo[zinfo.filename] = zinfo
|
|
1357
|
+
self.fp.write(zinfo.FileHeader(False))
|
|
1358
|
+
return
|
|
1359
|
+
|
|
1360
|
+
cmpr = _get_compressor(zinfo.compress_type)
|
|
1361
|
+
with open(filename, "rb") as fp:
|
|
1362
|
+
# Must overwrite CRC and sizes with correct data later
|
|
1363
|
+
zinfo.CRC = CRC = 0
|
|
1364
|
+
zinfo.compress_size = compress_size = 0
|
|
1365
|
+
# Compressed size can be larger than uncompressed size
|
|
1366
|
+
zip64 = self._allowZip64 and \
|
|
1367
|
+
zinfo.file_size * 1.05 > ZIP64_LIMIT
|
|
1368
|
+
self.fp.write(zinfo.FileHeader(zip64))
|
|
1369
|
+
file_size = 0
|
|
1370
|
+
while 1:
|
|
1371
|
+
buf = fp.read(1024 * 8)
|
|
1372
|
+
if not buf:
|
|
1373
|
+
break
|
|
1374
|
+
file_size = file_size + len(buf)
|
|
1375
|
+
CRC = crc32(buf, CRC) & 0xffffffff
|
|
1376
|
+
if cmpr:
|
|
1377
|
+
buf = cmpr.compress(buf)
|
|
1378
|
+
compress_size = compress_size + len(buf)
|
|
1379
|
+
self.fp.write(buf)
|
|
1380
|
+
if cmpr:
|
|
1381
|
+
buf = cmpr.flush()
|
|
1382
|
+
compress_size = compress_size + len(buf)
|
|
1383
|
+
self.fp.write(buf)
|
|
1384
|
+
zinfo.compress_size = compress_size
|
|
1385
|
+
else:
|
|
1386
|
+
zinfo.compress_size = file_size
|
|
1387
|
+
zinfo.CRC = CRC
|
|
1388
|
+
zinfo.file_size = file_size
|
|
1389
|
+
if not zip64 and self._allowZip64:
|
|
1390
|
+
if file_size > ZIP64_LIMIT:
|
|
1391
|
+
raise RuntimeError('File size has increased during compressing')
|
|
1392
|
+
if compress_size > ZIP64_LIMIT:
|
|
1393
|
+
raise RuntimeError('Compressed size larger than uncompressed size')
|
|
1394
|
+
# Seek backwards and write file header (which will now include
|
|
1395
|
+
# correct CRC and file sizes)
|
|
1396
|
+
position = self.fp.tell() # Preserve current position in file
|
|
1397
|
+
self.fp.seek(zinfo.header_offset, 0)
|
|
1398
|
+
self.fp.write(zinfo.FileHeader(zip64))
|
|
1399
|
+
self.fp.seek(position, 0)
|
|
1400
|
+
self.filelist.append(zinfo)
|
|
1401
|
+
self.NameToInfo[zinfo.filename] = zinfo
|
|
1402
|
+
|
|
1403
|
+
def writestr(self, zinfo_or_arcname, data, compress_type=None):
|
|
1404
|
+
"""Write a file into the archive. The contents is 'data', which
|
|
1405
|
+
may be either a 'str' or a 'bytes' instance; if it is a 'str',
|
|
1406
|
+
it is encoded as UTF-8 first.
|
|
1407
|
+
'zinfo_or_arcname' is either a ZipInfo instance or
|
|
1408
|
+
the name of the file in the archive."""
|
|
1409
|
+
if isinstance(data, str):
|
|
1410
|
+
data = data.encode("utf-8")
|
|
1411
|
+
if not isinstance(zinfo_or_arcname, ZipInfo):
|
|
1412
|
+
zinfo = ZipInfo(filename=zinfo_or_arcname,
|
|
1413
|
+
date_time=time.localtime(time.time())[:6])
|
|
1414
|
+
zinfo.compress_type = self.compression
|
|
1415
|
+
zinfo.external_attr = 0o600 << 16
|
|
1416
|
+
else:
|
|
1417
|
+
zinfo = zinfo_or_arcname
|
|
1418
|
+
|
|
1419
|
+
if not self.fp:
|
|
1420
|
+
raise RuntimeError(
|
|
1421
|
+
"Attempt to write to ZIP archive that was already closed")
|
|
1422
|
+
|
|
1423
|
+
zinfo.file_size = len(data) # Uncompressed size
|
|
1424
|
+
zinfo.header_offset = self.fp.tell() # Start of header data
|
|
1425
|
+
if compress_type is not None:
|
|
1426
|
+
zinfo.compress_type = compress_type
|
|
1427
|
+
if zinfo.compress_type == ZIP_LZMA:
|
|
1428
|
+
# Compressed data includes an end-of-stream (EOS) marker
|
|
1429
|
+
zinfo.flag_bits |= 0x02
|
|
1430
|
+
|
|
1431
|
+
self._writecheck(zinfo)
|
|
1432
|
+
self._didModify = True
|
|
1433
|
+
zinfo.CRC = crc32(data) & 0xffffffff # CRC-32 checksum
|
|
1434
|
+
co = _get_compressor(zinfo.compress_type)
|
|
1435
|
+
if co:
|
|
1436
|
+
data = co.compress(data) + co.flush()
|
|
1437
|
+
zinfo.compress_size = len(data) # Compressed size
|
|
1438
|
+
else:
|
|
1439
|
+
zinfo.compress_size = zinfo.file_size
|
|
1440
|
+
zip64 = zinfo.file_size > ZIP64_LIMIT or \
|
|
1441
|
+
zinfo.compress_size > ZIP64_LIMIT
|
|
1442
|
+
if zip64 and not self._allowZip64:
|
|
1443
|
+
raise LargeZipFile("Filesize would require ZIP64 extensions")
|
|
1444
|
+
self.fp.write(zinfo.FileHeader(zip64))
|
|
1445
|
+
self.fp.write(data)
|
|
1446
|
+
if zinfo.flag_bits & 0x08:
|
|
1447
|
+
# Write CRC and file sizes after the file data
|
|
1448
|
+
fmt = '<LQQ' if zip64 else '<LLL'
|
|
1449
|
+
self.fp.write(struct.pack(fmt, zinfo.CRC, zinfo.compress_size,
|
|
1450
|
+
zinfo.file_size))
|
|
1451
|
+
self.fp.flush()
|
|
1452
|
+
self.filelist.append(zinfo)
|
|
1453
|
+
self.NameToInfo[zinfo.filename] = zinfo
|
|
1454
|
+
|
|
1455
|
+
def __del__(self):
|
|
1456
|
+
"""Call the "close()" method in case the user forgot."""
|
|
1457
|
+
self.close()
|
|
1458
|
+
|
|
1459
|
+
def close(self):
|
|
1460
|
+
"""Close the file, and for mode "w" and "a" write the ending
|
|
1461
|
+
records."""
|
|
1462
|
+
if self.fp is None:
|
|
1463
|
+
return
|
|
1464
|
+
|
|
1465
|
+
try:
|
|
1466
|
+
if self.mode in ("w", "a") and self._didModify: # write ending records
|
|
1467
|
+
count = 0
|
|
1468
|
+
pos1 = self.fp.tell()
|
|
1469
|
+
for zinfo in self.filelist: # write central directory
|
|
1470
|
+
count = count + 1
|
|
1471
|
+
dt = zinfo.date_time
|
|
1472
|
+
dosdate = (dt[0] - 1980) << 9 | dt[1] << 5 | dt[2]
|
|
1473
|
+
dostime = dt[3] << 11 | dt[4] << 5 | (dt[5] // 2)
|
|
1474
|
+
extra = []
|
|
1475
|
+
if zinfo.file_size > ZIP64_LIMIT \
|
|
1476
|
+
or zinfo.compress_size > ZIP64_LIMIT:
|
|
1477
|
+
extra.append(zinfo.file_size)
|
|
1478
|
+
extra.append(zinfo.compress_size)
|
|
1479
|
+
file_size = 0xffffffff
|
|
1480
|
+
compress_size = 0xffffffff
|
|
1481
|
+
else:
|
|
1482
|
+
file_size = zinfo.file_size
|
|
1483
|
+
compress_size = zinfo.compress_size
|
|
1484
|
+
|
|
1485
|
+
if zinfo.header_offset > ZIP64_LIMIT:
|
|
1486
|
+
extra.append(zinfo.header_offset)
|
|
1487
|
+
header_offset = 0xffffffff
|
|
1488
|
+
else:
|
|
1489
|
+
header_offset = zinfo.header_offset
|
|
1490
|
+
|
|
1491
|
+
extra_data = zinfo.extra
|
|
1492
|
+
min_version = 0
|
|
1493
|
+
if extra:
|
|
1494
|
+
# Append a ZIP64 field to the extra's
|
|
1495
|
+
extra_data = struct.pack(
|
|
1496
|
+
'<HH' + 'Q'*len(extra),
|
|
1497
|
+
1, 8*len(extra), *extra) + extra_data
|
|
1498
|
+
|
|
1499
|
+
min_version = ZIP64_VERSION
|
|
1500
|
+
|
|
1501
|
+
if zinfo.compress_type == ZIP_BZIP2:
|
|
1502
|
+
min_version = max(BZIP2_VERSION, min_version)
|
|
1503
|
+
elif zinfo.compress_type == ZIP_LZMA:
|
|
1504
|
+
min_version = max(LZMA_VERSION, min_version)
|
|
1505
|
+
|
|
1506
|
+
extract_version = max(min_version, zinfo.extract_version)
|
|
1507
|
+
create_version = max(min_version, zinfo.create_version)
|
|
1508
|
+
try:
|
|
1509
|
+
filename, flag_bits = zinfo._encodeFilenameFlags()
|
|
1510
|
+
centdir = struct.pack(structCentralDir,
|
|
1511
|
+
stringCentralDir, create_version,
|
|
1512
|
+
zinfo.create_system, extract_version, zinfo.reserved,
|
|
1513
|
+
flag_bits, zinfo.compress_type, dostime, dosdate,
|
|
1514
|
+
zinfo.CRC, compress_size, file_size,
|
|
1515
|
+
len(filename), len(extra_data), len(zinfo.comment),
|
|
1516
|
+
0, zinfo.internal_attr, zinfo.external_attr,
|
|
1517
|
+
header_offset)
|
|
1518
|
+
except DeprecationWarning:
|
|
1519
|
+
print((structCentralDir, stringCentralDir, create_version,
|
|
1520
|
+
zinfo.create_system, extract_version, zinfo.reserved,
|
|
1521
|
+
zinfo.flag_bits, zinfo.compress_type, dostime, dosdate,
|
|
1522
|
+
zinfo.CRC, compress_size, file_size,
|
|
1523
|
+
len(zinfo.filename), len(extra_data), len(zinfo.comment),
|
|
1524
|
+
0, zinfo.internal_attr, zinfo.external_attr,
|
|
1525
|
+
header_offset), file=sys.stderr)
|
|
1526
|
+
raise
|
|
1527
|
+
self.fp.write(centdir)
|
|
1528
|
+
self.fp.write(filename)
|
|
1529
|
+
self.fp.write(extra_data)
|
|
1530
|
+
self.fp.write(zinfo.comment)
|
|
1531
|
+
|
|
1532
|
+
pos2 = self.fp.tell()
|
|
1533
|
+
# Write end-of-zip-archive record
|
|
1534
|
+
centDirCount = count
|
|
1535
|
+
centDirSize = pos2 - pos1
|
|
1536
|
+
centDirOffset = pos1
|
|
1537
|
+
if (centDirCount >= ZIP_FILECOUNT_LIMIT or
|
|
1538
|
+
centDirOffset > ZIP64_LIMIT or
|
|
1539
|
+
centDirSize > ZIP64_LIMIT):
|
|
1540
|
+
# Need to write the ZIP64 end-of-archive records
|
|
1541
|
+
zip64endrec = struct.pack(
|
|
1542
|
+
structEndArchive64, stringEndArchive64,
|
|
1543
|
+
44, 45, 45, 0, 0, centDirCount, centDirCount,
|
|
1544
|
+
centDirSize, centDirOffset)
|
|
1545
|
+
self.fp.write(zip64endrec)
|
|
1546
|
+
|
|
1547
|
+
zip64locrec = struct.pack(
|
|
1548
|
+
structEndArchive64Locator,
|
|
1549
|
+
stringEndArchive64Locator, 0, pos2, 1)
|
|
1550
|
+
self.fp.write(zip64locrec)
|
|
1551
|
+
centDirCount = min(centDirCount, 0xFFFF)
|
|
1552
|
+
centDirSize = min(centDirSize, 0xFFFFFFFF)
|
|
1553
|
+
centDirOffset = min(centDirOffset, 0xFFFFFFFF)
|
|
1554
|
+
|
|
1555
|
+
endrec = struct.pack(structEndArchive, stringEndArchive,
|
|
1556
|
+
0, 0, centDirCount, centDirCount,
|
|
1557
|
+
centDirSize, centDirOffset, len(self._comment))
|
|
1558
|
+
self.fp.write(endrec)
|
|
1559
|
+
self.fp.write(self._comment)
|
|
1560
|
+
self.fp.flush()
|
|
1561
|
+
finally:
|
|
1562
|
+
fp = self.fp
|
|
1563
|
+
self.fp = None
|
|
1564
|
+
if not self._filePassed:
|
|
1565
|
+
fp.close()
|
|
1566
|
+
|
|
1567
|
+
|
|
1568
|
+
class PyZipFile(ZipFile):
|
|
1569
|
+
"""Class to create ZIP archives with Python library files and packages."""
|
|
1570
|
+
|
|
1571
|
+
def __init__(self, file, mode="r", compression=ZIP_STORED,
|
|
1572
|
+
allowZip64=True, optimize=-1):
|
|
1573
|
+
ZipFile.__init__(self, file, mode=mode, compression=compression,
|
|
1574
|
+
allowZip64=allowZip64)
|
|
1575
|
+
self._optimize = optimize
|
|
1576
|
+
|
|
1577
|
+
def writepy(self, pathname, basename="", filterfunc=None):
|
|
1578
|
+
"""Add all files from "pathname" to the ZIP archive.
|
|
1579
|
+
|
|
1580
|
+
If pathname is a package directory, search the directory and
|
|
1581
|
+
all package subdirectories recursively for all *.py and enter
|
|
1582
|
+
the modules into the archive. If pathname is a plain
|
|
1583
|
+
directory, listdir *.py and enter all modules. Else, pathname
|
|
1584
|
+
must be a Python *.py file and the module will be put into the
|
|
1585
|
+
archive. Added modules are always module.pyo or module.pyc.
|
|
1586
|
+
This method will compile the module.py into module.pyc if
|
|
1587
|
+
necessary.
|
|
1588
|
+
If filterfunc(pathname) is given, it is called with every argument.
|
|
1589
|
+
When it is False, the file or directory is skipped.
|
|
1590
|
+
"""
|
|
1591
|
+
if filterfunc and not filterfunc(pathname):
|
|
1592
|
+
if self.debug:
|
|
1593
|
+
label = 'path' if os.path.isdir(pathname) else 'file'
|
|
1594
|
+
print('%s "%s" skipped by filterfunc' % (label, pathname))
|
|
1595
|
+
return
|
|
1596
|
+
dir, name = os.path.split(pathname)
|
|
1597
|
+
if os.path.isdir(pathname):
|
|
1598
|
+
initname = os.path.join(pathname, "__init__.py")
|
|
1599
|
+
if os.path.isfile(initname):
|
|
1600
|
+
# This is a package directory, add it
|
|
1601
|
+
if basename:
|
|
1602
|
+
basename = "%s/%s" % (basename, name)
|
|
1603
|
+
else:
|
|
1604
|
+
basename = name
|
|
1605
|
+
if self.debug:
|
|
1606
|
+
print("Adding package in", pathname, "as", basename)
|
|
1607
|
+
fname, arcname = self._get_codename(initname[0:-3], basename)
|
|
1608
|
+
if self.debug:
|
|
1609
|
+
print("Adding", arcname)
|
|
1610
|
+
self.write(fname, arcname)
|
|
1611
|
+
dirlist = os.listdir(pathname)
|
|
1612
|
+
dirlist.remove("__init__.py")
|
|
1613
|
+
# Add all *.py files and package subdirectories
|
|
1614
|
+
for filename in dirlist:
|
|
1615
|
+
path = os.path.join(pathname, filename)
|
|
1616
|
+
root, ext = os.path.splitext(filename)
|
|
1617
|
+
if os.path.isdir(path):
|
|
1618
|
+
if os.path.isfile(os.path.join(path, "__init__.py")):
|
|
1619
|
+
# This is a package directory, add it
|
|
1620
|
+
self.writepy(path, basename,
|
|
1621
|
+
filterfunc=filterfunc) # Recursive call
|
|
1622
|
+
elif ext == ".py":
|
|
1623
|
+
if filterfunc and not filterfunc(path):
|
|
1624
|
+
if self.debug:
|
|
1625
|
+
print('file "%s" skipped by filterfunc' % path)
|
|
1626
|
+
continue
|
|
1627
|
+
fname, arcname = self._get_codename(path[0:-3],
|
|
1628
|
+
basename)
|
|
1629
|
+
if self.debug:
|
|
1630
|
+
print("Adding", arcname)
|
|
1631
|
+
self.write(fname, arcname)
|
|
1632
|
+
else:
|
|
1633
|
+
# This is NOT a package directory, add its files at top level
|
|
1634
|
+
if self.debug:
|
|
1635
|
+
print("Adding files from directory", pathname)
|
|
1636
|
+
for filename in os.listdir(pathname):
|
|
1637
|
+
path = os.path.join(pathname, filename)
|
|
1638
|
+
root, ext = os.path.splitext(filename)
|
|
1639
|
+
if ext == ".py":
|
|
1640
|
+
if filterfunc and not filterfunc(path):
|
|
1641
|
+
if self.debug:
|
|
1642
|
+
print('file "%s" skipped by filterfunc' % path)
|
|
1643
|
+
continue
|
|
1644
|
+
fname, arcname = self._get_codename(path[0:-3],
|
|
1645
|
+
basename)
|
|
1646
|
+
if self.debug:
|
|
1647
|
+
print("Adding", arcname)
|
|
1648
|
+
self.write(fname, arcname)
|
|
1649
|
+
else:
|
|
1650
|
+
if pathname[-3:] != ".py":
|
|
1651
|
+
raise RuntimeError(
|
|
1652
|
+
'Files added with writepy() must end with ".py"')
|
|
1653
|
+
fname, arcname = self._get_codename(pathname[0:-3], basename)
|
|
1654
|
+
if self.debug:
|
|
1655
|
+
print("Adding file", arcname)
|
|
1656
|
+
self.write(fname, arcname)
|
|
1657
|
+
|
|
1658
|
+
def _get_codename(self, pathname, basename):
|
|
1659
|
+
"""Return (filename, archivename) for the path.
|
|
1660
|
+
|
|
1661
|
+
Given a module name path, return the correct file path and
|
|
1662
|
+
archive name, compiling if necessary. For example, given
|
|
1663
|
+
/python/lib/string, return (/python/lib/string.pyc, string).
|
|
1664
|
+
"""
|
|
1665
|
+
def _compile(file, optimize=-1):
|
|
1666
|
+
import py_compile
|
|
1667
|
+
if self.debug:
|
|
1668
|
+
print("Compiling", file)
|
|
1669
|
+
try:
|
|
1670
|
+
py_compile.compile(file, doraise=True, optimize=optimize)
|
|
1671
|
+
except py_compile.PyCompileError as err:
|
|
1672
|
+
print(err.msg)
|
|
1673
|
+
return False
|
|
1674
|
+
return True
|
|
1675
|
+
|
|
1676
|
+
file_py = pathname + ".py"
|
|
1677
|
+
file_pyc = pathname + ".pyc"
|
|
1678
|
+
file_pyo = pathname + ".pyo"
|
|
1679
|
+
pycache_pyc = importlib.util.cache_from_source(file_py, True)
|
|
1680
|
+
pycache_pyo = importlib.util.cache_from_source(file_py, False)
|
|
1681
|
+
if self._optimize == -1:
|
|
1682
|
+
# legacy mode: use whatever file is present
|
|
1683
|
+
if (os.path.isfile(file_pyo) and
|
|
1684
|
+
os.stat(file_pyo).st_mtime >= os.stat(file_py).st_mtime):
|
|
1685
|
+
# Use .pyo file.
|
|
1686
|
+
arcname = fname = file_pyo
|
|
1687
|
+
elif (os.path.isfile(file_pyc) and
|
|
1688
|
+
os.stat(file_pyc).st_mtime >= os.stat(file_py).st_mtime):
|
|
1689
|
+
# Use .pyc file.
|
|
1690
|
+
arcname = fname = file_pyc
|
|
1691
|
+
elif (os.path.isfile(pycache_pyc) and
|
|
1692
|
+
os.stat(pycache_pyc).st_mtime >= os.stat(file_py).st_mtime):
|
|
1693
|
+
# Use the __pycache__/*.pyc file, but write it to the legacy pyc
|
|
1694
|
+
# file name in the archive.
|
|
1695
|
+
fname = pycache_pyc
|
|
1696
|
+
arcname = file_pyc
|
|
1697
|
+
elif (os.path.isfile(pycache_pyo) and
|
|
1698
|
+
os.stat(pycache_pyo).st_mtime >= os.stat(file_py).st_mtime):
|
|
1699
|
+
# Use the __pycache__/*.pyo file, but write it to the legacy pyo
|
|
1700
|
+
# file name in the archive.
|
|
1701
|
+
fname = pycache_pyo
|
|
1702
|
+
arcname = file_pyo
|
|
1703
|
+
else:
|
|
1704
|
+
# Compile py into PEP 3147 pyc file.
|
|
1705
|
+
if _compile(file_py):
|
|
1706
|
+
fname = (pycache_pyc if __debug__ else pycache_pyo)
|
|
1707
|
+
arcname = (file_pyc if __debug__ else file_pyo)
|
|
1708
|
+
else:
|
|
1709
|
+
fname = arcname = file_py
|
|
1710
|
+
else:
|
|
1711
|
+
# new mode: use given optimization level
|
|
1712
|
+
if self._optimize == 0:
|
|
1713
|
+
fname = pycache_pyc
|
|
1714
|
+
arcname = file_pyc
|
|
1715
|
+
else:
|
|
1716
|
+
fname = pycache_pyo
|
|
1717
|
+
arcname = file_pyo
|
|
1718
|
+
if not (os.path.isfile(fname) and
|
|
1719
|
+
os.stat(fname).st_mtime >= os.stat(file_py).st_mtime):
|
|
1720
|
+
if not _compile(file_py, optimize=self._optimize):
|
|
1721
|
+
fname = arcname = file_py
|
|
1722
|
+
archivename = os.path.split(arcname)[1]
|
|
1723
|
+
if basename:
|
|
1724
|
+
archivename = "%s/%s" % (basename, archivename)
|
|
1725
|
+
return (fname, archivename)
|
|
1726
|
+
|
|
1727
|
+
|
|
1728
|
+
def main(args = None):
|
|
1729
|
+
import textwrap
|
|
1730
|
+
USAGE=textwrap.dedent("""\
|
|
1731
|
+
Usage:
|
|
1732
|
+
zipfile.py -l zipfile.zip # Show listing of a zipfile
|
|
1733
|
+
zipfile.py -t zipfile.zip # Test if a zipfile is valid
|
|
1734
|
+
zipfile.py -e zipfile.zip target # Extract zipfile into target dir
|
|
1735
|
+
zipfile.py -c zipfile.zip src ... # Create zipfile from sources
|
|
1736
|
+
""")
|
|
1737
|
+
if args is None:
|
|
1738
|
+
args = sys.argv[1:]
|
|
1739
|
+
|
|
1740
|
+
if not args or args[0] not in ('-l', '-c', '-e', '-t'):
|
|
1741
|
+
print(USAGE)
|
|
1742
|
+
sys.exit(1)
|
|
1743
|
+
|
|
1744
|
+
if args[0] == '-l':
|
|
1745
|
+
if len(args) != 2:
|
|
1746
|
+
print(USAGE)
|
|
1747
|
+
sys.exit(1)
|
|
1748
|
+
with ZipFile(args[1], 'r') as zf:
|
|
1749
|
+
zf.printdir()
|
|
1750
|
+
|
|
1751
|
+
elif args[0] == '-t':
|
|
1752
|
+
if len(args) != 2:
|
|
1753
|
+
print(USAGE)
|
|
1754
|
+
sys.exit(1)
|
|
1755
|
+
with ZipFile(args[1], 'r') as zf:
|
|
1756
|
+
badfile = zf.testzip()
|
|
1757
|
+
if badfile:
|
|
1758
|
+
print("The following enclosed file is corrupted: {!r}".format(badfile))
|
|
1759
|
+
print("Done testing")
|
|
1760
|
+
|
|
1761
|
+
elif args[0] == '-e':
|
|
1762
|
+
if len(args) != 3:
|
|
1763
|
+
print(USAGE)
|
|
1764
|
+
sys.exit(1)
|
|
1765
|
+
|
|
1766
|
+
with ZipFile(args[1], 'r') as zf:
|
|
1767
|
+
zf.extractall(args[2])
|
|
1768
|
+
|
|
1769
|
+
elif args[0] == '-c':
|
|
1770
|
+
if len(args) < 3:
|
|
1771
|
+
print(USAGE)
|
|
1772
|
+
sys.exit(1)
|
|
1773
|
+
|
|
1774
|
+
def addToZip(zf, path, zippath):
|
|
1775
|
+
if os.path.isfile(path):
|
|
1776
|
+
zf.write(path, zippath, ZIP_DEFLATED)
|
|
1777
|
+
elif os.path.isdir(path):
|
|
1778
|
+
for nm in os.listdir(path):
|
|
1779
|
+
addToZip(zf,
|
|
1780
|
+
os.path.join(path, nm), os.path.join(zippath, nm))
|
|
1781
|
+
# else: ignore
|
|
1782
|
+
|
|
1783
|
+
with ZipFile(args[1], 'w') as zf:
|
|
1784
|
+
for src in args[2:]:
|
|
1785
|
+
addToZip(zf, src, os.path.basename(src))
|
|
1786
|
+
|
|
1787
|
+
if __name__ == "__main__":
|
|
1788
|
+
main()
|