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,1766 @@
|
|
|
1
|
+
# Copyright (C) 2003 Python Software Foundation
|
|
2
|
+
|
|
3
|
+
import unittest
|
|
4
|
+
import shutil
|
|
5
|
+
import tempfile
|
|
6
|
+
import sys
|
|
7
|
+
import stat
|
|
8
|
+
import os
|
|
9
|
+
import os.path
|
|
10
|
+
import errno
|
|
11
|
+
import functools
|
|
12
|
+
import subprocess
|
|
13
|
+
from contextlib import ExitStack
|
|
14
|
+
from test import support
|
|
15
|
+
from test.support import TESTFN
|
|
16
|
+
from os.path import splitdrive
|
|
17
|
+
from distutils.spawn import find_executable, spawn
|
|
18
|
+
from shutil import (_make_tarball, _make_zipfile, make_archive,
|
|
19
|
+
register_archive_format, unregister_archive_format,
|
|
20
|
+
get_archive_formats, Error, unpack_archive,
|
|
21
|
+
register_unpack_format, RegistryError,
|
|
22
|
+
unregister_unpack_format, get_unpack_formats,
|
|
23
|
+
SameFileError)
|
|
24
|
+
import tarfile
|
|
25
|
+
import warnings
|
|
26
|
+
|
|
27
|
+
from test import support
|
|
28
|
+
from test.support import TESTFN, check_warnings, captured_stdout, requires_zlib
|
|
29
|
+
|
|
30
|
+
try:
|
|
31
|
+
import bz2
|
|
32
|
+
BZ2_SUPPORTED = True
|
|
33
|
+
except ImportError:
|
|
34
|
+
BZ2_SUPPORTED = False
|
|
35
|
+
|
|
36
|
+
TESTFN2 = TESTFN + "2"
|
|
37
|
+
|
|
38
|
+
try:
|
|
39
|
+
import grp
|
|
40
|
+
import pwd
|
|
41
|
+
UID_GID_SUPPORT = True
|
|
42
|
+
except ImportError:
|
|
43
|
+
UID_GID_SUPPORT = False
|
|
44
|
+
|
|
45
|
+
try:
|
|
46
|
+
import zipfile
|
|
47
|
+
ZIP_SUPPORT = True
|
|
48
|
+
except ImportError:
|
|
49
|
+
ZIP_SUPPORT = find_executable('zip')
|
|
50
|
+
|
|
51
|
+
def _fake_rename(*args, **kwargs):
|
|
52
|
+
# Pretend the destination path is on a different filesystem.
|
|
53
|
+
raise OSError(getattr(errno, 'EXDEV', 18), "Invalid cross-device link")
|
|
54
|
+
|
|
55
|
+
def mock_rename(func):
|
|
56
|
+
@functools.wraps(func)
|
|
57
|
+
def wrap(*args, **kwargs):
|
|
58
|
+
try:
|
|
59
|
+
builtin_rename = os.rename
|
|
60
|
+
os.rename = _fake_rename
|
|
61
|
+
return func(*args, **kwargs)
|
|
62
|
+
finally:
|
|
63
|
+
os.rename = builtin_rename
|
|
64
|
+
return wrap
|
|
65
|
+
|
|
66
|
+
def write_file(path, content, binary=False):
|
|
67
|
+
"""Write *content* to a file located at *path*.
|
|
68
|
+
|
|
69
|
+
If *path* is a tuple instead of a string, os.path.join will be used to
|
|
70
|
+
make a path. If *binary* is true, the file will be opened in binary
|
|
71
|
+
mode.
|
|
72
|
+
"""
|
|
73
|
+
if isinstance(path, tuple):
|
|
74
|
+
path = os.path.join(*path)
|
|
75
|
+
with open(path, 'wb' if binary else 'w') as fp:
|
|
76
|
+
fp.write(content)
|
|
77
|
+
|
|
78
|
+
def read_file(path, binary=False):
|
|
79
|
+
"""Return contents from a file located at *path*.
|
|
80
|
+
|
|
81
|
+
If *path* is a tuple instead of a string, os.path.join will be used to
|
|
82
|
+
make a path. If *binary* is true, the file will be opened in binary
|
|
83
|
+
mode.
|
|
84
|
+
"""
|
|
85
|
+
if isinstance(path, tuple):
|
|
86
|
+
path = os.path.join(*path)
|
|
87
|
+
with open(path, 'rb' if binary else 'r') as fp:
|
|
88
|
+
return fp.read()
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
class TestShutil(unittest.TestCase):
|
|
92
|
+
|
|
93
|
+
def setUp(self):
|
|
94
|
+
super(TestShutil, self).setUp()
|
|
95
|
+
self.tempdirs = []
|
|
96
|
+
|
|
97
|
+
def tearDown(self):
|
|
98
|
+
super(TestShutil, self).tearDown()
|
|
99
|
+
while self.tempdirs:
|
|
100
|
+
d = self.tempdirs.pop()
|
|
101
|
+
shutil.rmtree(d, os.name in ('nt', 'cygwin'))
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
def mkdtemp(self):
|
|
105
|
+
"""Create a temporary directory that will be cleaned up.
|
|
106
|
+
|
|
107
|
+
Returns the path of the directory.
|
|
108
|
+
"""
|
|
109
|
+
d = tempfile.mkdtemp()
|
|
110
|
+
self.tempdirs.append(d)
|
|
111
|
+
return d
|
|
112
|
+
|
|
113
|
+
def test_rmtree_works_on_bytes(self):
|
|
114
|
+
tmp = self.mkdtemp()
|
|
115
|
+
victim = os.path.join(tmp, 'killme')
|
|
116
|
+
os.mkdir(victim)
|
|
117
|
+
write_file(os.path.join(victim, 'somefile'), 'foo')
|
|
118
|
+
victim = os.fsencode(victim)
|
|
119
|
+
self.assertIsInstance(victim, bytes)
|
|
120
|
+
win = (os.name == 'nt')
|
|
121
|
+
with self.assertWarns(DeprecationWarning) if win else ExitStack():
|
|
122
|
+
shutil.rmtree(victim)
|
|
123
|
+
|
|
124
|
+
@support.skip_unless_symlink
|
|
125
|
+
def test_rmtree_fails_on_symlink(self):
|
|
126
|
+
tmp = self.mkdtemp()
|
|
127
|
+
dir_ = os.path.join(tmp, 'dir')
|
|
128
|
+
os.mkdir(dir_)
|
|
129
|
+
link = os.path.join(tmp, 'link')
|
|
130
|
+
os.symlink(dir_, link)
|
|
131
|
+
self.assertRaises(OSError, shutil.rmtree, link)
|
|
132
|
+
self.assertTrue(os.path.exists(dir_))
|
|
133
|
+
self.assertTrue(os.path.lexists(link))
|
|
134
|
+
errors = []
|
|
135
|
+
def onerror(*args):
|
|
136
|
+
errors.append(args)
|
|
137
|
+
shutil.rmtree(link, onerror=onerror)
|
|
138
|
+
self.assertEqual(len(errors), 1)
|
|
139
|
+
self.assertIs(errors[0][0], os.path.islink)
|
|
140
|
+
self.assertEqual(errors[0][1], link)
|
|
141
|
+
self.assertIsInstance(errors[0][2][1], OSError)
|
|
142
|
+
|
|
143
|
+
@support.skip_unless_symlink
|
|
144
|
+
def test_rmtree_works_on_symlinks(self):
|
|
145
|
+
tmp = self.mkdtemp()
|
|
146
|
+
dir1 = os.path.join(tmp, 'dir1')
|
|
147
|
+
dir2 = os.path.join(dir1, 'dir2')
|
|
148
|
+
dir3 = os.path.join(tmp, 'dir3')
|
|
149
|
+
for d in dir1, dir2, dir3:
|
|
150
|
+
os.mkdir(d)
|
|
151
|
+
file1 = os.path.join(tmp, 'file1')
|
|
152
|
+
write_file(file1, 'foo')
|
|
153
|
+
link1 = os.path.join(dir1, 'link1')
|
|
154
|
+
os.symlink(dir2, link1)
|
|
155
|
+
link2 = os.path.join(dir1, 'link2')
|
|
156
|
+
os.symlink(dir3, link2)
|
|
157
|
+
link3 = os.path.join(dir1, 'link3')
|
|
158
|
+
os.symlink(file1, link3)
|
|
159
|
+
# make sure symlinks are removed but not followed
|
|
160
|
+
shutil.rmtree(dir1)
|
|
161
|
+
self.assertFalse(os.path.exists(dir1))
|
|
162
|
+
self.assertTrue(os.path.exists(dir3))
|
|
163
|
+
self.assertTrue(os.path.exists(file1))
|
|
164
|
+
|
|
165
|
+
def test_rmtree_errors(self):
|
|
166
|
+
# filename is guaranteed not to exist
|
|
167
|
+
filename = tempfile.mktemp()
|
|
168
|
+
self.assertRaises(FileNotFoundError, shutil.rmtree, filename)
|
|
169
|
+
# test that ignore_errors option is honored
|
|
170
|
+
shutil.rmtree(filename, ignore_errors=True)
|
|
171
|
+
|
|
172
|
+
# existing file
|
|
173
|
+
tmpdir = self.mkdtemp()
|
|
174
|
+
write_file((tmpdir, "tstfile"), "")
|
|
175
|
+
filename = os.path.join(tmpdir, "tstfile")
|
|
176
|
+
with self.assertRaises(NotADirectoryError) as cm:
|
|
177
|
+
shutil.rmtree(filename)
|
|
178
|
+
# The reason for this rather odd construct is that Windows sprinkles
|
|
179
|
+
# a \*.* at the end of file names. But only sometimes on some buildbots
|
|
180
|
+
possible_args = [filename, os.path.join(filename, '*.*')]
|
|
181
|
+
self.assertIn(cm.exception.filename, possible_args)
|
|
182
|
+
self.assertTrue(os.path.exists(filename))
|
|
183
|
+
# test that ignore_errors option is honored
|
|
184
|
+
shutil.rmtree(filename, ignore_errors=True)
|
|
185
|
+
self.assertTrue(os.path.exists(filename))
|
|
186
|
+
errors = []
|
|
187
|
+
def onerror(*args):
|
|
188
|
+
errors.append(args)
|
|
189
|
+
shutil.rmtree(filename, onerror=onerror)
|
|
190
|
+
self.assertEqual(len(errors), 2)
|
|
191
|
+
self.assertIs(errors[0][0], os.listdir)
|
|
192
|
+
self.assertEqual(errors[0][1], filename)
|
|
193
|
+
self.assertIsInstance(errors[0][2][1], NotADirectoryError)
|
|
194
|
+
self.assertIn(errors[0][2][1].filename, possible_args)
|
|
195
|
+
self.assertIs(errors[1][0], os.rmdir)
|
|
196
|
+
self.assertEqual(errors[1][1], filename)
|
|
197
|
+
self.assertIsInstance(errors[1][2][1], NotADirectoryError)
|
|
198
|
+
self.assertIn(errors[1][2][1].filename, possible_args)
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
@unittest.skipUnless(hasattr(os, 'chmod'), 'requires os.chmod()')
|
|
202
|
+
@unittest.skipIf(sys.platform[:6] == 'cygwin',
|
|
203
|
+
"This test can't be run on Cygwin (issue #1071513).")
|
|
204
|
+
@unittest.skipIf(hasattr(os, 'geteuid') and os.geteuid() == 0,
|
|
205
|
+
"This test can't be run reliably as root (issue #1076467).")
|
|
206
|
+
def test_on_error(self):
|
|
207
|
+
self.errorState = 0
|
|
208
|
+
os.mkdir(TESTFN)
|
|
209
|
+
self.addCleanup(shutil.rmtree, TESTFN)
|
|
210
|
+
|
|
211
|
+
self.child_file_path = os.path.join(TESTFN, 'a')
|
|
212
|
+
self.child_dir_path = os.path.join(TESTFN, 'b')
|
|
213
|
+
support.create_empty_file(self.child_file_path)
|
|
214
|
+
os.mkdir(self.child_dir_path)
|
|
215
|
+
old_dir_mode = os.stat(TESTFN).st_mode
|
|
216
|
+
old_child_file_mode = os.stat(self.child_file_path).st_mode
|
|
217
|
+
old_child_dir_mode = os.stat(self.child_dir_path).st_mode
|
|
218
|
+
# Make unwritable.
|
|
219
|
+
new_mode = stat.S_IREAD|stat.S_IEXEC
|
|
220
|
+
os.chmod(self.child_file_path, new_mode)
|
|
221
|
+
os.chmod(self.child_dir_path, new_mode)
|
|
222
|
+
os.chmod(TESTFN, new_mode)
|
|
223
|
+
|
|
224
|
+
self.addCleanup(os.chmod, TESTFN, old_dir_mode)
|
|
225
|
+
self.addCleanup(os.chmod, self.child_file_path, old_child_file_mode)
|
|
226
|
+
self.addCleanup(os.chmod, self.child_dir_path, old_child_dir_mode)
|
|
227
|
+
|
|
228
|
+
shutil.rmtree(TESTFN, onerror=self.check_args_to_onerror)
|
|
229
|
+
# Test whether onerror has actually been called.
|
|
230
|
+
self.assertEqual(self.errorState, 3,
|
|
231
|
+
"Expected call to onerror function did not happen.")
|
|
232
|
+
|
|
233
|
+
def check_args_to_onerror(self, func, arg, exc):
|
|
234
|
+
# test_rmtree_errors deliberately runs rmtree
|
|
235
|
+
# on a directory that is chmod 500, which will fail.
|
|
236
|
+
# This function is run when shutil.rmtree fails.
|
|
237
|
+
# 99.9% of the time it initially fails to remove
|
|
238
|
+
# a file in the directory, so the first time through
|
|
239
|
+
# func is os.remove.
|
|
240
|
+
# However, some Linux machines running ZFS on
|
|
241
|
+
# FUSE experienced a failure earlier in the process
|
|
242
|
+
# at os.listdir. The first failure may legally
|
|
243
|
+
# be either.
|
|
244
|
+
if self.errorState < 2:
|
|
245
|
+
if func is os.unlink:
|
|
246
|
+
self.assertEqual(arg, self.child_file_path)
|
|
247
|
+
elif func is os.rmdir:
|
|
248
|
+
self.assertEqual(arg, self.child_dir_path)
|
|
249
|
+
else:
|
|
250
|
+
self.assertIs(func, os.listdir)
|
|
251
|
+
self.assertIn(arg, [TESTFN, self.child_dir_path])
|
|
252
|
+
self.assertTrue(issubclass(exc[0], OSError))
|
|
253
|
+
self.errorState += 1
|
|
254
|
+
else:
|
|
255
|
+
self.assertEqual(func, os.rmdir)
|
|
256
|
+
self.assertEqual(arg, TESTFN)
|
|
257
|
+
self.assertTrue(issubclass(exc[0], OSError))
|
|
258
|
+
self.errorState = 3
|
|
259
|
+
|
|
260
|
+
def test_rmtree_does_not_choke_on_failing_lstat(self):
|
|
261
|
+
try:
|
|
262
|
+
orig_lstat = os.lstat
|
|
263
|
+
def raiser(fn, *args, **kwargs):
|
|
264
|
+
if fn != TESTFN:
|
|
265
|
+
raise OSError()
|
|
266
|
+
else:
|
|
267
|
+
return orig_lstat(fn)
|
|
268
|
+
os.lstat = raiser
|
|
269
|
+
|
|
270
|
+
os.mkdir(TESTFN)
|
|
271
|
+
write_file((TESTFN, 'foo'), 'foo')
|
|
272
|
+
shutil.rmtree(TESTFN)
|
|
273
|
+
finally:
|
|
274
|
+
os.lstat = orig_lstat
|
|
275
|
+
|
|
276
|
+
@unittest.skipUnless(hasattr(os, 'chmod'), 'requires os.chmod')
|
|
277
|
+
@support.skip_unless_symlink
|
|
278
|
+
def test_copymode_follow_symlinks(self):
|
|
279
|
+
tmp_dir = self.mkdtemp()
|
|
280
|
+
src = os.path.join(tmp_dir, 'foo')
|
|
281
|
+
dst = os.path.join(tmp_dir, 'bar')
|
|
282
|
+
src_link = os.path.join(tmp_dir, 'baz')
|
|
283
|
+
dst_link = os.path.join(tmp_dir, 'quux')
|
|
284
|
+
write_file(src, 'foo')
|
|
285
|
+
write_file(dst, 'foo')
|
|
286
|
+
os.symlink(src, src_link)
|
|
287
|
+
os.symlink(dst, dst_link)
|
|
288
|
+
os.chmod(src, stat.S_IRWXU|stat.S_IRWXG)
|
|
289
|
+
# file to file
|
|
290
|
+
os.chmod(dst, stat.S_IRWXO)
|
|
291
|
+
self.assertNotEqual(os.stat(src).st_mode, os.stat(dst).st_mode)
|
|
292
|
+
shutil.copymode(src, dst)
|
|
293
|
+
self.assertEqual(os.stat(src).st_mode, os.stat(dst).st_mode)
|
|
294
|
+
# On Windows, os.chmod does not follow symlinks (issue #15411)
|
|
295
|
+
if os.name != 'nt':
|
|
296
|
+
# follow src link
|
|
297
|
+
os.chmod(dst, stat.S_IRWXO)
|
|
298
|
+
shutil.copymode(src_link, dst)
|
|
299
|
+
self.assertEqual(os.stat(src).st_mode, os.stat(dst).st_mode)
|
|
300
|
+
# follow dst link
|
|
301
|
+
os.chmod(dst, stat.S_IRWXO)
|
|
302
|
+
shutil.copymode(src, dst_link)
|
|
303
|
+
self.assertEqual(os.stat(src).st_mode, os.stat(dst).st_mode)
|
|
304
|
+
# follow both links
|
|
305
|
+
os.chmod(dst, stat.S_IRWXO)
|
|
306
|
+
shutil.copymode(src_link, dst_link)
|
|
307
|
+
self.assertEqual(os.stat(src).st_mode, os.stat(dst).st_mode)
|
|
308
|
+
|
|
309
|
+
@unittest.skipUnless(hasattr(os, 'lchmod'), 'requires os.lchmod')
|
|
310
|
+
@support.skip_unless_symlink
|
|
311
|
+
def test_copymode_symlink_to_symlink(self):
|
|
312
|
+
tmp_dir = self.mkdtemp()
|
|
313
|
+
src = os.path.join(tmp_dir, 'foo')
|
|
314
|
+
dst = os.path.join(tmp_dir, 'bar')
|
|
315
|
+
src_link = os.path.join(tmp_dir, 'baz')
|
|
316
|
+
dst_link = os.path.join(tmp_dir, 'quux')
|
|
317
|
+
write_file(src, 'foo')
|
|
318
|
+
write_file(dst, 'foo')
|
|
319
|
+
os.symlink(src, src_link)
|
|
320
|
+
os.symlink(dst, dst_link)
|
|
321
|
+
os.chmod(src, stat.S_IRWXU|stat.S_IRWXG)
|
|
322
|
+
os.chmod(dst, stat.S_IRWXU)
|
|
323
|
+
os.lchmod(src_link, stat.S_IRWXO|stat.S_IRWXG)
|
|
324
|
+
# link to link
|
|
325
|
+
os.lchmod(dst_link, stat.S_IRWXO)
|
|
326
|
+
shutil.copymode(src_link, dst_link, follow_symlinks=False)
|
|
327
|
+
self.assertEqual(os.lstat(src_link).st_mode,
|
|
328
|
+
os.lstat(dst_link).st_mode)
|
|
329
|
+
self.assertNotEqual(os.stat(src).st_mode, os.stat(dst).st_mode)
|
|
330
|
+
# src link - use chmod
|
|
331
|
+
os.lchmod(dst_link, stat.S_IRWXO)
|
|
332
|
+
shutil.copymode(src_link, dst, follow_symlinks=False)
|
|
333
|
+
self.assertEqual(os.stat(src).st_mode, os.stat(dst).st_mode)
|
|
334
|
+
# dst link - use chmod
|
|
335
|
+
os.lchmod(dst_link, stat.S_IRWXO)
|
|
336
|
+
shutil.copymode(src, dst_link, follow_symlinks=False)
|
|
337
|
+
self.assertEqual(os.stat(src).st_mode, os.stat(dst).st_mode)
|
|
338
|
+
|
|
339
|
+
@unittest.skipIf(hasattr(os, 'lchmod'), 'requires os.lchmod to be missing')
|
|
340
|
+
@support.skip_unless_symlink
|
|
341
|
+
def test_copymode_symlink_to_symlink_wo_lchmod(self):
|
|
342
|
+
tmp_dir = self.mkdtemp()
|
|
343
|
+
src = os.path.join(tmp_dir, 'foo')
|
|
344
|
+
dst = os.path.join(tmp_dir, 'bar')
|
|
345
|
+
src_link = os.path.join(tmp_dir, 'baz')
|
|
346
|
+
dst_link = os.path.join(tmp_dir, 'quux')
|
|
347
|
+
write_file(src, 'foo')
|
|
348
|
+
write_file(dst, 'foo')
|
|
349
|
+
os.symlink(src, src_link)
|
|
350
|
+
os.symlink(dst, dst_link)
|
|
351
|
+
shutil.copymode(src_link, dst_link, follow_symlinks=False) # silent fail
|
|
352
|
+
|
|
353
|
+
@support.skip_unless_symlink
|
|
354
|
+
def test_copystat_symlinks(self):
|
|
355
|
+
tmp_dir = self.mkdtemp()
|
|
356
|
+
src = os.path.join(tmp_dir, 'foo')
|
|
357
|
+
dst = os.path.join(tmp_dir, 'bar')
|
|
358
|
+
src_link = os.path.join(tmp_dir, 'baz')
|
|
359
|
+
dst_link = os.path.join(tmp_dir, 'qux')
|
|
360
|
+
write_file(src, 'foo')
|
|
361
|
+
src_stat = os.stat(src)
|
|
362
|
+
os.utime(src, (src_stat.st_atime,
|
|
363
|
+
src_stat.st_mtime - 42.0)) # ensure different mtimes
|
|
364
|
+
write_file(dst, 'bar')
|
|
365
|
+
self.assertNotEqual(os.stat(src).st_mtime, os.stat(dst).st_mtime)
|
|
366
|
+
os.symlink(src, src_link)
|
|
367
|
+
os.symlink(dst, dst_link)
|
|
368
|
+
if hasattr(os, 'lchmod'):
|
|
369
|
+
os.lchmod(src_link, stat.S_IRWXO)
|
|
370
|
+
if hasattr(os, 'lchflags') and hasattr(stat, 'UF_NODUMP'):
|
|
371
|
+
os.lchflags(src_link, stat.UF_NODUMP)
|
|
372
|
+
src_link_stat = os.lstat(src_link)
|
|
373
|
+
# follow
|
|
374
|
+
if hasattr(os, 'lchmod'):
|
|
375
|
+
shutil.copystat(src_link, dst_link, follow_symlinks=True)
|
|
376
|
+
self.assertNotEqual(src_link_stat.st_mode, os.stat(dst).st_mode)
|
|
377
|
+
# don't follow
|
|
378
|
+
shutil.copystat(src_link, dst_link, follow_symlinks=False)
|
|
379
|
+
dst_link_stat = os.lstat(dst_link)
|
|
380
|
+
if os.utime in os.supports_follow_symlinks:
|
|
381
|
+
for attr in 'st_atime', 'st_mtime':
|
|
382
|
+
# The modification times may be truncated in the new file.
|
|
383
|
+
self.assertLessEqual(getattr(src_link_stat, attr),
|
|
384
|
+
getattr(dst_link_stat, attr) + 1)
|
|
385
|
+
if hasattr(os, 'lchmod'):
|
|
386
|
+
self.assertEqual(src_link_stat.st_mode, dst_link_stat.st_mode)
|
|
387
|
+
if hasattr(os, 'lchflags') and hasattr(src_link_stat, 'st_flags'):
|
|
388
|
+
self.assertEqual(src_link_stat.st_flags, dst_link_stat.st_flags)
|
|
389
|
+
# tell to follow but dst is not a link
|
|
390
|
+
shutil.copystat(src_link, dst, follow_symlinks=False)
|
|
391
|
+
self.assertTrue(abs(os.stat(src).st_mtime - os.stat(dst).st_mtime) <
|
|
392
|
+
00000.1)
|
|
393
|
+
|
|
394
|
+
@unittest.skipUnless(hasattr(os, 'chflags') and
|
|
395
|
+
hasattr(errno, 'EOPNOTSUPP') and
|
|
396
|
+
hasattr(errno, 'ENOTSUP'),
|
|
397
|
+
"requires os.chflags, EOPNOTSUPP & ENOTSUP")
|
|
398
|
+
def test_copystat_handles_harmless_chflags_errors(self):
|
|
399
|
+
tmpdir = self.mkdtemp()
|
|
400
|
+
file1 = os.path.join(tmpdir, 'file1')
|
|
401
|
+
file2 = os.path.join(tmpdir, 'file2')
|
|
402
|
+
write_file(file1, 'xxx')
|
|
403
|
+
write_file(file2, 'xxx')
|
|
404
|
+
|
|
405
|
+
def make_chflags_raiser(err):
|
|
406
|
+
ex = OSError()
|
|
407
|
+
|
|
408
|
+
def _chflags_raiser(path, flags, *, follow_symlinks=True):
|
|
409
|
+
ex.errno = err
|
|
410
|
+
raise ex
|
|
411
|
+
return _chflags_raiser
|
|
412
|
+
old_chflags = os.chflags
|
|
413
|
+
try:
|
|
414
|
+
for err in errno.EOPNOTSUPP, errno.ENOTSUP:
|
|
415
|
+
os.chflags = make_chflags_raiser(err)
|
|
416
|
+
shutil.copystat(file1, file2)
|
|
417
|
+
# assert others errors break it
|
|
418
|
+
os.chflags = make_chflags_raiser(errno.EOPNOTSUPP + errno.ENOTSUP)
|
|
419
|
+
self.assertRaises(OSError, shutil.copystat, file1, file2)
|
|
420
|
+
finally:
|
|
421
|
+
os.chflags = old_chflags
|
|
422
|
+
|
|
423
|
+
@support.skip_unless_xattr
|
|
424
|
+
def test_copyxattr(self):
|
|
425
|
+
tmp_dir = self.mkdtemp()
|
|
426
|
+
src = os.path.join(tmp_dir, 'foo')
|
|
427
|
+
write_file(src, 'foo')
|
|
428
|
+
dst = os.path.join(tmp_dir, 'bar')
|
|
429
|
+
write_file(dst, 'bar')
|
|
430
|
+
|
|
431
|
+
# no xattr == no problem
|
|
432
|
+
shutil._copyxattr(src, dst)
|
|
433
|
+
# common case
|
|
434
|
+
os.setxattr(src, 'user.foo', b'42')
|
|
435
|
+
os.setxattr(src, 'user.bar', b'43')
|
|
436
|
+
shutil._copyxattr(src, dst)
|
|
437
|
+
self.assertEqual(sorted(os.listxattr(src)), sorted(os.listxattr(dst)))
|
|
438
|
+
self.assertEqual(
|
|
439
|
+
os.getxattr(src, 'user.foo'),
|
|
440
|
+
os.getxattr(dst, 'user.foo'))
|
|
441
|
+
# check errors don't affect other attrs
|
|
442
|
+
os.remove(dst)
|
|
443
|
+
write_file(dst, 'bar')
|
|
444
|
+
os_error = OSError(errno.EPERM, 'EPERM')
|
|
445
|
+
|
|
446
|
+
def _raise_on_user_foo(fname, attr, val, **kwargs):
|
|
447
|
+
if attr == 'user.foo':
|
|
448
|
+
raise os_error
|
|
449
|
+
else:
|
|
450
|
+
orig_setxattr(fname, attr, val, **kwargs)
|
|
451
|
+
try:
|
|
452
|
+
orig_setxattr = os.setxattr
|
|
453
|
+
os.setxattr = _raise_on_user_foo
|
|
454
|
+
shutil._copyxattr(src, dst)
|
|
455
|
+
self.assertIn('user.bar', os.listxattr(dst))
|
|
456
|
+
finally:
|
|
457
|
+
os.setxattr = orig_setxattr
|
|
458
|
+
# the source filesystem not supporting xattrs should be ok, too.
|
|
459
|
+
def _raise_on_src(fname, *, follow_symlinks=True):
|
|
460
|
+
if fname == src:
|
|
461
|
+
raise OSError(errno.ENOTSUP, 'Operation not supported')
|
|
462
|
+
return orig_listxattr(fname, follow_symlinks=follow_symlinks)
|
|
463
|
+
try:
|
|
464
|
+
orig_listxattr = os.listxattr
|
|
465
|
+
os.listxattr = _raise_on_src
|
|
466
|
+
shutil._copyxattr(src, dst)
|
|
467
|
+
finally:
|
|
468
|
+
os.listxattr = orig_listxattr
|
|
469
|
+
|
|
470
|
+
# test that shutil.copystat copies xattrs
|
|
471
|
+
src = os.path.join(tmp_dir, 'the_original')
|
|
472
|
+
write_file(src, src)
|
|
473
|
+
os.setxattr(src, 'user.the_value', b'fiddly')
|
|
474
|
+
dst = os.path.join(tmp_dir, 'the_copy')
|
|
475
|
+
write_file(dst, dst)
|
|
476
|
+
shutil.copystat(src, dst)
|
|
477
|
+
self.assertEqual(os.getxattr(dst, 'user.the_value'), b'fiddly')
|
|
478
|
+
|
|
479
|
+
@support.skip_unless_symlink
|
|
480
|
+
@support.skip_unless_xattr
|
|
481
|
+
@unittest.skipUnless(hasattr(os, 'geteuid') and os.geteuid() == 0,
|
|
482
|
+
'root privileges required')
|
|
483
|
+
def test_copyxattr_symlinks(self):
|
|
484
|
+
# On Linux, it's only possible to access non-user xattr for symlinks;
|
|
485
|
+
# which in turn require root privileges. This test should be expanded
|
|
486
|
+
# as soon as other platforms gain support for extended attributes.
|
|
487
|
+
tmp_dir = self.mkdtemp()
|
|
488
|
+
src = os.path.join(tmp_dir, 'foo')
|
|
489
|
+
src_link = os.path.join(tmp_dir, 'baz')
|
|
490
|
+
write_file(src, 'foo')
|
|
491
|
+
os.symlink(src, src_link)
|
|
492
|
+
os.setxattr(src, 'trusted.foo', b'42')
|
|
493
|
+
os.setxattr(src_link, 'trusted.foo', b'43', follow_symlinks=False)
|
|
494
|
+
dst = os.path.join(tmp_dir, 'bar')
|
|
495
|
+
dst_link = os.path.join(tmp_dir, 'qux')
|
|
496
|
+
write_file(dst, 'bar')
|
|
497
|
+
os.symlink(dst, dst_link)
|
|
498
|
+
shutil._copyxattr(src_link, dst_link, follow_symlinks=False)
|
|
499
|
+
self.assertEqual(os.getxattr(dst_link, 'trusted.foo', follow_symlinks=False), b'43')
|
|
500
|
+
self.assertRaises(OSError, os.getxattr, dst, 'trusted.foo')
|
|
501
|
+
shutil._copyxattr(src_link, dst, follow_symlinks=False)
|
|
502
|
+
self.assertEqual(os.getxattr(dst, 'trusted.foo'), b'43')
|
|
503
|
+
|
|
504
|
+
@support.skip_unless_symlink
|
|
505
|
+
def test_copy_symlinks(self):
|
|
506
|
+
tmp_dir = self.mkdtemp()
|
|
507
|
+
src = os.path.join(tmp_dir, 'foo')
|
|
508
|
+
dst = os.path.join(tmp_dir, 'bar')
|
|
509
|
+
src_link = os.path.join(tmp_dir, 'baz')
|
|
510
|
+
write_file(src, 'foo')
|
|
511
|
+
os.symlink(src, src_link)
|
|
512
|
+
if hasattr(os, 'lchmod'):
|
|
513
|
+
os.lchmod(src_link, stat.S_IRWXU | stat.S_IRWXO)
|
|
514
|
+
# don't follow
|
|
515
|
+
shutil.copy(src_link, dst, follow_symlinks=True)
|
|
516
|
+
self.assertFalse(os.path.islink(dst))
|
|
517
|
+
self.assertEqual(read_file(src), read_file(dst))
|
|
518
|
+
os.remove(dst)
|
|
519
|
+
# follow
|
|
520
|
+
shutil.copy(src_link, dst, follow_symlinks=False)
|
|
521
|
+
self.assertTrue(os.path.islink(dst))
|
|
522
|
+
self.assertEqual(os.readlink(dst), os.readlink(src_link))
|
|
523
|
+
if hasattr(os, 'lchmod'):
|
|
524
|
+
self.assertEqual(os.lstat(src_link).st_mode,
|
|
525
|
+
os.lstat(dst).st_mode)
|
|
526
|
+
|
|
527
|
+
@support.skip_unless_symlink
|
|
528
|
+
def test_copy2_symlinks(self):
|
|
529
|
+
tmp_dir = self.mkdtemp()
|
|
530
|
+
src = os.path.join(tmp_dir, 'foo')
|
|
531
|
+
dst = os.path.join(tmp_dir, 'bar')
|
|
532
|
+
src_link = os.path.join(tmp_dir, 'baz')
|
|
533
|
+
write_file(src, 'foo')
|
|
534
|
+
os.symlink(src, src_link)
|
|
535
|
+
if hasattr(os, 'lchmod'):
|
|
536
|
+
os.lchmod(src_link, stat.S_IRWXU | stat.S_IRWXO)
|
|
537
|
+
if hasattr(os, 'lchflags') and hasattr(stat, 'UF_NODUMP'):
|
|
538
|
+
os.lchflags(src_link, stat.UF_NODUMP)
|
|
539
|
+
src_stat = os.stat(src)
|
|
540
|
+
src_link_stat = os.lstat(src_link)
|
|
541
|
+
# follow
|
|
542
|
+
shutil.copy2(src_link, dst, follow_symlinks=True)
|
|
543
|
+
self.assertFalse(os.path.islink(dst))
|
|
544
|
+
self.assertEqual(read_file(src), read_file(dst))
|
|
545
|
+
os.remove(dst)
|
|
546
|
+
# don't follow
|
|
547
|
+
shutil.copy2(src_link, dst, follow_symlinks=False)
|
|
548
|
+
self.assertTrue(os.path.islink(dst))
|
|
549
|
+
self.assertEqual(os.readlink(dst), os.readlink(src_link))
|
|
550
|
+
dst_stat = os.lstat(dst)
|
|
551
|
+
if os.utime in os.supports_follow_symlinks:
|
|
552
|
+
for attr in 'st_atime', 'st_mtime':
|
|
553
|
+
# The modification times may be truncated in the new file.
|
|
554
|
+
self.assertLessEqual(getattr(src_link_stat, attr),
|
|
555
|
+
getattr(dst_stat, attr) + 1)
|
|
556
|
+
if hasattr(os, 'lchmod'):
|
|
557
|
+
self.assertEqual(src_link_stat.st_mode, dst_stat.st_mode)
|
|
558
|
+
self.assertNotEqual(src_stat.st_mode, dst_stat.st_mode)
|
|
559
|
+
if hasattr(os, 'lchflags') and hasattr(src_link_stat, 'st_flags'):
|
|
560
|
+
self.assertEqual(src_link_stat.st_flags, dst_stat.st_flags)
|
|
561
|
+
|
|
562
|
+
@support.skip_unless_xattr
|
|
563
|
+
def test_copy2_xattr(self):
|
|
564
|
+
tmp_dir = self.mkdtemp()
|
|
565
|
+
src = os.path.join(tmp_dir, 'foo')
|
|
566
|
+
dst = os.path.join(tmp_dir, 'bar')
|
|
567
|
+
write_file(src, 'foo')
|
|
568
|
+
os.setxattr(src, 'user.foo', b'42')
|
|
569
|
+
shutil.copy2(src, dst)
|
|
570
|
+
self.assertEqual(
|
|
571
|
+
os.getxattr(src, 'user.foo'),
|
|
572
|
+
os.getxattr(dst, 'user.foo'))
|
|
573
|
+
os.remove(dst)
|
|
574
|
+
|
|
575
|
+
@support.skip_unless_symlink
|
|
576
|
+
def test_copyfile_symlinks(self):
|
|
577
|
+
tmp_dir = self.mkdtemp()
|
|
578
|
+
src = os.path.join(tmp_dir, 'src')
|
|
579
|
+
dst = os.path.join(tmp_dir, 'dst')
|
|
580
|
+
dst_link = os.path.join(tmp_dir, 'dst_link')
|
|
581
|
+
link = os.path.join(tmp_dir, 'link')
|
|
582
|
+
write_file(src, 'foo')
|
|
583
|
+
os.symlink(src, link)
|
|
584
|
+
# don't follow
|
|
585
|
+
shutil.copyfile(link, dst_link, follow_symlinks=False)
|
|
586
|
+
self.assertTrue(os.path.islink(dst_link))
|
|
587
|
+
self.assertEqual(os.readlink(link), os.readlink(dst_link))
|
|
588
|
+
# follow
|
|
589
|
+
shutil.copyfile(link, dst)
|
|
590
|
+
self.assertFalse(os.path.islink(dst))
|
|
591
|
+
|
|
592
|
+
def test_rmtree_uses_safe_fd_version_if_available(self):
|
|
593
|
+
_use_fd_functions = ({os.open, os.stat, os.unlink, os.rmdir} <=
|
|
594
|
+
os.supports_dir_fd and
|
|
595
|
+
os.listdir in os.supports_fd and
|
|
596
|
+
os.stat in os.supports_follow_symlinks)
|
|
597
|
+
if _use_fd_functions:
|
|
598
|
+
self.assertTrue(shutil._use_fd_functions)
|
|
599
|
+
self.assertTrue(shutil.rmtree.avoids_symlink_attacks)
|
|
600
|
+
tmp_dir = self.mkdtemp()
|
|
601
|
+
d = os.path.join(tmp_dir, 'a')
|
|
602
|
+
os.mkdir(d)
|
|
603
|
+
try:
|
|
604
|
+
real_rmtree = shutil._rmtree_safe_fd
|
|
605
|
+
class Called(Exception): pass
|
|
606
|
+
def _raiser(*args, **kwargs):
|
|
607
|
+
raise Called
|
|
608
|
+
shutil._rmtree_safe_fd = _raiser
|
|
609
|
+
self.assertRaises(Called, shutil.rmtree, d)
|
|
610
|
+
finally:
|
|
611
|
+
shutil._rmtree_safe_fd = real_rmtree
|
|
612
|
+
else:
|
|
613
|
+
self.assertFalse(shutil._use_fd_functions)
|
|
614
|
+
self.assertFalse(shutil.rmtree.avoids_symlink_attacks)
|
|
615
|
+
|
|
616
|
+
def test_rmtree_dont_delete_file(self):
|
|
617
|
+
# When called on a file instead of a directory, don't delete it.
|
|
618
|
+
handle, path = tempfile.mkstemp()
|
|
619
|
+
os.close(handle)
|
|
620
|
+
self.assertRaises(NotADirectoryError, shutil.rmtree, path)
|
|
621
|
+
os.remove(path)
|
|
622
|
+
|
|
623
|
+
def test_copytree_simple(self):
|
|
624
|
+
src_dir = tempfile.mkdtemp()
|
|
625
|
+
dst_dir = os.path.join(tempfile.mkdtemp(), 'destination')
|
|
626
|
+
self.addCleanup(shutil.rmtree, src_dir)
|
|
627
|
+
self.addCleanup(shutil.rmtree, os.path.dirname(dst_dir))
|
|
628
|
+
write_file((src_dir, 'test.txt'), '123')
|
|
629
|
+
os.mkdir(os.path.join(src_dir, 'test_dir'))
|
|
630
|
+
write_file((src_dir, 'test_dir', 'test.txt'), '456')
|
|
631
|
+
|
|
632
|
+
shutil.copytree(src_dir, dst_dir)
|
|
633
|
+
self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test.txt')))
|
|
634
|
+
self.assertTrue(os.path.isdir(os.path.join(dst_dir, 'test_dir')))
|
|
635
|
+
self.assertTrue(os.path.isfile(os.path.join(dst_dir, 'test_dir',
|
|
636
|
+
'test.txt')))
|
|
637
|
+
actual = read_file((dst_dir, 'test.txt'))
|
|
638
|
+
self.assertEqual(actual, '123')
|
|
639
|
+
actual = read_file((dst_dir, 'test_dir', 'test.txt'))
|
|
640
|
+
self.assertEqual(actual, '456')
|
|
641
|
+
|
|
642
|
+
@support.skip_unless_symlink
|
|
643
|
+
def test_copytree_symlinks(self):
|
|
644
|
+
tmp_dir = self.mkdtemp()
|
|
645
|
+
src_dir = os.path.join(tmp_dir, 'src')
|
|
646
|
+
dst_dir = os.path.join(tmp_dir, 'dst')
|
|
647
|
+
sub_dir = os.path.join(src_dir, 'sub')
|
|
648
|
+
os.mkdir(src_dir)
|
|
649
|
+
os.mkdir(sub_dir)
|
|
650
|
+
write_file((src_dir, 'file.txt'), 'foo')
|
|
651
|
+
src_link = os.path.join(sub_dir, 'link')
|
|
652
|
+
dst_link = os.path.join(dst_dir, 'sub/link')
|
|
653
|
+
os.symlink(os.path.join(src_dir, 'file.txt'),
|
|
654
|
+
src_link)
|
|
655
|
+
if hasattr(os, 'lchmod'):
|
|
656
|
+
os.lchmod(src_link, stat.S_IRWXU | stat.S_IRWXO)
|
|
657
|
+
if hasattr(os, 'lchflags') and hasattr(stat, 'UF_NODUMP'):
|
|
658
|
+
os.lchflags(src_link, stat.UF_NODUMP)
|
|
659
|
+
src_stat = os.lstat(src_link)
|
|
660
|
+
shutil.copytree(src_dir, dst_dir, symlinks=True)
|
|
661
|
+
self.assertTrue(os.path.islink(os.path.join(dst_dir, 'sub', 'link')))
|
|
662
|
+
self.assertEqual(os.readlink(os.path.join(dst_dir, 'sub', 'link')),
|
|
663
|
+
os.path.join(src_dir, 'file.txt'))
|
|
664
|
+
dst_stat = os.lstat(dst_link)
|
|
665
|
+
if hasattr(os, 'lchmod'):
|
|
666
|
+
self.assertEqual(dst_stat.st_mode, src_stat.st_mode)
|
|
667
|
+
if hasattr(os, 'lchflags'):
|
|
668
|
+
self.assertEqual(dst_stat.st_flags, src_stat.st_flags)
|
|
669
|
+
|
|
670
|
+
def test_copytree_with_exclude(self):
|
|
671
|
+
# creating data
|
|
672
|
+
join = os.path.join
|
|
673
|
+
exists = os.path.exists
|
|
674
|
+
src_dir = tempfile.mkdtemp()
|
|
675
|
+
try:
|
|
676
|
+
dst_dir = join(tempfile.mkdtemp(), 'destination')
|
|
677
|
+
write_file((src_dir, 'test.txt'), '123')
|
|
678
|
+
write_file((src_dir, 'test.tmp'), '123')
|
|
679
|
+
os.mkdir(join(src_dir, 'test_dir'))
|
|
680
|
+
write_file((src_dir, 'test_dir', 'test.txt'), '456')
|
|
681
|
+
os.mkdir(join(src_dir, 'test_dir2'))
|
|
682
|
+
write_file((src_dir, 'test_dir2', 'test.txt'), '456')
|
|
683
|
+
os.mkdir(join(src_dir, 'test_dir2', 'subdir'))
|
|
684
|
+
os.mkdir(join(src_dir, 'test_dir2', 'subdir2'))
|
|
685
|
+
write_file((src_dir, 'test_dir2', 'subdir', 'test.txt'), '456')
|
|
686
|
+
write_file((src_dir, 'test_dir2', 'subdir2', 'test.py'), '456')
|
|
687
|
+
|
|
688
|
+
# testing glob-like patterns
|
|
689
|
+
try:
|
|
690
|
+
patterns = shutil.ignore_patterns('*.tmp', 'test_dir2')
|
|
691
|
+
shutil.copytree(src_dir, dst_dir, ignore=patterns)
|
|
692
|
+
# checking the result: some elements should not be copied
|
|
693
|
+
self.assertTrue(exists(join(dst_dir, 'test.txt')))
|
|
694
|
+
self.assertFalse(exists(join(dst_dir, 'test.tmp')))
|
|
695
|
+
self.assertFalse(exists(join(dst_dir, 'test_dir2')))
|
|
696
|
+
finally:
|
|
697
|
+
shutil.rmtree(dst_dir)
|
|
698
|
+
try:
|
|
699
|
+
patterns = shutil.ignore_patterns('*.tmp', 'subdir*')
|
|
700
|
+
shutil.copytree(src_dir, dst_dir, ignore=patterns)
|
|
701
|
+
# checking the result: some elements should not be copied
|
|
702
|
+
self.assertFalse(exists(join(dst_dir, 'test.tmp')))
|
|
703
|
+
self.assertFalse(exists(join(dst_dir, 'test_dir2', 'subdir2')))
|
|
704
|
+
self.assertFalse(exists(join(dst_dir, 'test_dir2', 'subdir')))
|
|
705
|
+
finally:
|
|
706
|
+
shutil.rmtree(dst_dir)
|
|
707
|
+
|
|
708
|
+
# testing callable-style
|
|
709
|
+
try:
|
|
710
|
+
def _filter(src, names):
|
|
711
|
+
res = []
|
|
712
|
+
for name in names:
|
|
713
|
+
path = os.path.join(src, name)
|
|
714
|
+
|
|
715
|
+
if (os.path.isdir(path) and
|
|
716
|
+
path.split()[-1] == 'subdir'):
|
|
717
|
+
res.append(name)
|
|
718
|
+
elif os.path.splitext(path)[-1] in ('.py'):
|
|
719
|
+
res.append(name)
|
|
720
|
+
return res
|
|
721
|
+
|
|
722
|
+
shutil.copytree(src_dir, dst_dir, ignore=_filter)
|
|
723
|
+
|
|
724
|
+
# checking the result: some elements should not be copied
|
|
725
|
+
self.assertFalse(exists(join(dst_dir, 'test_dir2', 'subdir2',
|
|
726
|
+
'test.py')))
|
|
727
|
+
self.assertFalse(exists(join(dst_dir, 'test_dir2', 'subdir')))
|
|
728
|
+
|
|
729
|
+
finally:
|
|
730
|
+
shutil.rmtree(dst_dir)
|
|
731
|
+
finally:
|
|
732
|
+
shutil.rmtree(src_dir)
|
|
733
|
+
shutil.rmtree(os.path.dirname(dst_dir))
|
|
734
|
+
|
|
735
|
+
def test_copytree_retains_permissions(self):
|
|
736
|
+
tmp_dir = tempfile.mkdtemp()
|
|
737
|
+
src_dir = os.path.join(tmp_dir, 'source')
|
|
738
|
+
os.mkdir(src_dir)
|
|
739
|
+
dst_dir = os.path.join(tmp_dir, 'destination')
|
|
740
|
+
self.addCleanup(shutil.rmtree, tmp_dir)
|
|
741
|
+
|
|
742
|
+
os.chmod(src_dir, 0o777)
|
|
743
|
+
write_file((src_dir, 'permissive.txt'), '123')
|
|
744
|
+
os.chmod(os.path.join(src_dir, 'permissive.txt'), 0o777)
|
|
745
|
+
write_file((src_dir, 'restrictive.txt'), '456')
|
|
746
|
+
os.chmod(os.path.join(src_dir, 'restrictive.txt'), 0o600)
|
|
747
|
+
restrictive_subdir = tempfile.mkdtemp(dir=src_dir)
|
|
748
|
+
os.chmod(restrictive_subdir, 0o600)
|
|
749
|
+
|
|
750
|
+
shutil.copytree(src_dir, dst_dir)
|
|
751
|
+
self.assertEqual(os.stat(src_dir).st_mode, os.stat(dst_dir).st_mode)
|
|
752
|
+
self.assertEqual(os.stat(os.path.join(src_dir, 'permissive.txt')).st_mode,
|
|
753
|
+
os.stat(os.path.join(dst_dir, 'permissive.txt')).st_mode)
|
|
754
|
+
self.assertEqual(os.stat(os.path.join(src_dir, 'restrictive.txt')).st_mode,
|
|
755
|
+
os.stat(os.path.join(dst_dir, 'restrictive.txt')).st_mode)
|
|
756
|
+
restrictive_subdir_dst = os.path.join(dst_dir,
|
|
757
|
+
os.path.split(restrictive_subdir)[1])
|
|
758
|
+
self.assertEqual(os.stat(restrictive_subdir).st_mode,
|
|
759
|
+
os.stat(restrictive_subdir_dst).st_mode)
|
|
760
|
+
|
|
761
|
+
@unittest.skipIf(os.name == 'nt', 'temporarily disabled on Windows')
|
|
762
|
+
@unittest.skipUnless(hasattr(os, 'link'), 'requires os.link')
|
|
763
|
+
def test_dont_copy_file_onto_link_to_itself(self):
|
|
764
|
+
# bug 851123.
|
|
765
|
+
os.mkdir(TESTFN)
|
|
766
|
+
src = os.path.join(TESTFN, 'cheese')
|
|
767
|
+
dst = os.path.join(TESTFN, 'shop')
|
|
768
|
+
try:
|
|
769
|
+
with open(src, 'w') as f:
|
|
770
|
+
f.write('cheddar')
|
|
771
|
+
os.link(src, dst)
|
|
772
|
+
self.assertRaises(shutil.SameFileError, shutil.copyfile, src, dst)
|
|
773
|
+
with open(src, 'r') as f:
|
|
774
|
+
self.assertEqual(f.read(), 'cheddar')
|
|
775
|
+
os.remove(dst)
|
|
776
|
+
finally:
|
|
777
|
+
shutil.rmtree(TESTFN, ignore_errors=True)
|
|
778
|
+
|
|
779
|
+
@support.skip_unless_symlink
|
|
780
|
+
def test_dont_copy_file_onto_symlink_to_itself(self):
|
|
781
|
+
# bug 851123.
|
|
782
|
+
os.mkdir(TESTFN)
|
|
783
|
+
src = os.path.join(TESTFN, 'cheese')
|
|
784
|
+
dst = os.path.join(TESTFN, 'shop')
|
|
785
|
+
try:
|
|
786
|
+
with open(src, 'w') as f:
|
|
787
|
+
f.write('cheddar')
|
|
788
|
+
# Using `src` here would mean we end up with a symlink pointing
|
|
789
|
+
# to TESTFN/TESTFN/cheese, while it should point at
|
|
790
|
+
# TESTFN/cheese.
|
|
791
|
+
os.symlink('cheese', dst)
|
|
792
|
+
self.assertRaises(shutil.SameFileError, shutil.copyfile, src, dst)
|
|
793
|
+
with open(src, 'r') as f:
|
|
794
|
+
self.assertEqual(f.read(), 'cheddar')
|
|
795
|
+
os.remove(dst)
|
|
796
|
+
finally:
|
|
797
|
+
shutil.rmtree(TESTFN, ignore_errors=True)
|
|
798
|
+
|
|
799
|
+
@support.skip_unless_symlink
|
|
800
|
+
def test_rmtree_on_symlink(self):
|
|
801
|
+
# bug 1669.
|
|
802
|
+
os.mkdir(TESTFN)
|
|
803
|
+
try:
|
|
804
|
+
src = os.path.join(TESTFN, 'cheese')
|
|
805
|
+
dst = os.path.join(TESTFN, 'shop')
|
|
806
|
+
os.mkdir(src)
|
|
807
|
+
os.symlink(src, dst)
|
|
808
|
+
self.assertRaises(OSError, shutil.rmtree, dst)
|
|
809
|
+
shutil.rmtree(dst, ignore_errors=True)
|
|
810
|
+
finally:
|
|
811
|
+
shutil.rmtree(TESTFN, ignore_errors=True)
|
|
812
|
+
|
|
813
|
+
# Issue #3002: copyfile and copytree block indefinitely on named pipes
|
|
814
|
+
@unittest.skipUnless(hasattr(os, "mkfifo"), 'requires os.mkfifo()')
|
|
815
|
+
def test_copyfile_named_pipe(self):
|
|
816
|
+
os.mkfifo(TESTFN)
|
|
817
|
+
try:
|
|
818
|
+
self.assertRaises(shutil.SpecialFileError,
|
|
819
|
+
shutil.copyfile, TESTFN, TESTFN2)
|
|
820
|
+
self.assertRaises(shutil.SpecialFileError,
|
|
821
|
+
shutil.copyfile, __file__, TESTFN)
|
|
822
|
+
finally:
|
|
823
|
+
os.remove(TESTFN)
|
|
824
|
+
|
|
825
|
+
@unittest.skipUnless(hasattr(os, "mkfifo"), 'requires os.mkfifo()')
|
|
826
|
+
@support.skip_unless_symlink
|
|
827
|
+
def test_copytree_named_pipe(self):
|
|
828
|
+
os.mkdir(TESTFN)
|
|
829
|
+
try:
|
|
830
|
+
subdir = os.path.join(TESTFN, "subdir")
|
|
831
|
+
os.mkdir(subdir)
|
|
832
|
+
pipe = os.path.join(subdir, "mypipe")
|
|
833
|
+
os.mkfifo(pipe)
|
|
834
|
+
try:
|
|
835
|
+
shutil.copytree(TESTFN, TESTFN2)
|
|
836
|
+
except shutil.Error as e:
|
|
837
|
+
errors = e.args[0]
|
|
838
|
+
self.assertEqual(len(errors), 1)
|
|
839
|
+
src, dst, error_msg = errors[0]
|
|
840
|
+
self.assertEqual("`%s` is a named pipe" % pipe, error_msg)
|
|
841
|
+
else:
|
|
842
|
+
self.fail("shutil.Error should have been raised")
|
|
843
|
+
finally:
|
|
844
|
+
shutil.rmtree(TESTFN, ignore_errors=True)
|
|
845
|
+
shutil.rmtree(TESTFN2, ignore_errors=True)
|
|
846
|
+
|
|
847
|
+
def test_copytree_special_func(self):
|
|
848
|
+
|
|
849
|
+
src_dir = self.mkdtemp()
|
|
850
|
+
dst_dir = os.path.join(self.mkdtemp(), 'destination')
|
|
851
|
+
write_file((src_dir, 'test.txt'), '123')
|
|
852
|
+
os.mkdir(os.path.join(src_dir, 'test_dir'))
|
|
853
|
+
write_file((src_dir, 'test_dir', 'test.txt'), '456')
|
|
854
|
+
|
|
855
|
+
copied = []
|
|
856
|
+
def _copy(src, dst):
|
|
857
|
+
copied.append((src, dst))
|
|
858
|
+
|
|
859
|
+
shutil.copytree(src_dir, dst_dir, copy_function=_copy)
|
|
860
|
+
self.assertEqual(len(copied), 2)
|
|
861
|
+
|
|
862
|
+
@support.skip_unless_symlink
|
|
863
|
+
def test_copytree_dangling_symlinks(self):
|
|
864
|
+
|
|
865
|
+
# a dangling symlink raises an error at the end
|
|
866
|
+
src_dir = self.mkdtemp()
|
|
867
|
+
dst_dir = os.path.join(self.mkdtemp(), 'destination')
|
|
868
|
+
os.symlink('IDONTEXIST', os.path.join(src_dir, 'test.txt'))
|
|
869
|
+
os.mkdir(os.path.join(src_dir, 'test_dir'))
|
|
870
|
+
write_file((src_dir, 'test_dir', 'test.txt'), '456')
|
|
871
|
+
self.assertRaises(Error, shutil.copytree, src_dir, dst_dir)
|
|
872
|
+
|
|
873
|
+
# a dangling symlink is ignored with the proper flag
|
|
874
|
+
dst_dir = os.path.join(self.mkdtemp(), 'destination2')
|
|
875
|
+
shutil.copytree(src_dir, dst_dir, ignore_dangling_symlinks=True)
|
|
876
|
+
self.assertNotIn('test.txt', os.listdir(dst_dir))
|
|
877
|
+
|
|
878
|
+
# a dangling symlink is copied if symlinks=True
|
|
879
|
+
dst_dir = os.path.join(self.mkdtemp(), 'destination3')
|
|
880
|
+
shutil.copytree(src_dir, dst_dir, symlinks=True)
|
|
881
|
+
self.assertIn('test.txt', os.listdir(dst_dir))
|
|
882
|
+
|
|
883
|
+
def _copy_file(self, method):
|
|
884
|
+
fname = 'test.txt'
|
|
885
|
+
tmpdir = self.mkdtemp()
|
|
886
|
+
write_file((tmpdir, fname), 'xxx')
|
|
887
|
+
file1 = os.path.join(tmpdir, fname)
|
|
888
|
+
tmpdir2 = self.mkdtemp()
|
|
889
|
+
method(file1, tmpdir2)
|
|
890
|
+
file2 = os.path.join(tmpdir2, fname)
|
|
891
|
+
return (file1, file2)
|
|
892
|
+
|
|
893
|
+
@unittest.skipUnless(hasattr(os, 'chmod'), 'requires os.chmod')
|
|
894
|
+
def test_copy(self):
|
|
895
|
+
# Ensure that the copied file exists and has the same mode bits.
|
|
896
|
+
file1, file2 = self._copy_file(shutil.copy)
|
|
897
|
+
self.assertTrue(os.path.exists(file2))
|
|
898
|
+
self.assertEqual(os.stat(file1).st_mode, os.stat(file2).st_mode)
|
|
899
|
+
|
|
900
|
+
@unittest.skipUnless(hasattr(os, 'chmod'), 'requires os.chmod')
|
|
901
|
+
@unittest.skipUnless(hasattr(os, 'utime'), 'requires os.utime')
|
|
902
|
+
def test_copy2(self):
|
|
903
|
+
# Ensure that the copied file exists and has the same mode and
|
|
904
|
+
# modification time bits.
|
|
905
|
+
file1, file2 = self._copy_file(shutil.copy2)
|
|
906
|
+
self.assertTrue(os.path.exists(file2))
|
|
907
|
+
file1_stat = os.stat(file1)
|
|
908
|
+
file2_stat = os.stat(file2)
|
|
909
|
+
self.assertEqual(file1_stat.st_mode, file2_stat.st_mode)
|
|
910
|
+
for attr in 'st_atime', 'st_mtime':
|
|
911
|
+
# The modification times may be truncated in the new file.
|
|
912
|
+
self.assertLessEqual(getattr(file1_stat, attr),
|
|
913
|
+
getattr(file2_stat, attr) + 1)
|
|
914
|
+
if hasattr(os, 'chflags') and hasattr(file1_stat, 'st_flags'):
|
|
915
|
+
self.assertEqual(getattr(file1_stat, 'st_flags'),
|
|
916
|
+
getattr(file2_stat, 'st_flags'))
|
|
917
|
+
|
|
918
|
+
@requires_zlib
|
|
919
|
+
def test_make_tarball(self):
|
|
920
|
+
# creating something to tar
|
|
921
|
+
tmpdir = self.mkdtemp()
|
|
922
|
+
write_file((tmpdir, 'file1'), 'xxx')
|
|
923
|
+
write_file((tmpdir, 'file2'), 'xxx')
|
|
924
|
+
os.mkdir(os.path.join(tmpdir, 'sub'))
|
|
925
|
+
write_file((tmpdir, 'sub', 'file3'), 'xxx')
|
|
926
|
+
|
|
927
|
+
tmpdir2 = self.mkdtemp()
|
|
928
|
+
# force shutil to create the directory
|
|
929
|
+
os.rmdir(tmpdir2)
|
|
930
|
+
unittest.skipUnless(splitdrive(tmpdir)[0] == splitdrive(tmpdir2)[0],
|
|
931
|
+
"source and target should be on same drive")
|
|
932
|
+
|
|
933
|
+
base_name = os.path.join(tmpdir2, 'archive')
|
|
934
|
+
|
|
935
|
+
# working with relative paths to avoid tar warnings
|
|
936
|
+
old_dir = os.getcwd()
|
|
937
|
+
os.chdir(tmpdir)
|
|
938
|
+
try:
|
|
939
|
+
_make_tarball(splitdrive(base_name)[1], '.')
|
|
940
|
+
finally:
|
|
941
|
+
os.chdir(old_dir)
|
|
942
|
+
|
|
943
|
+
# check if the compressed tarball was created
|
|
944
|
+
tarball = base_name + '.tar.gz'
|
|
945
|
+
self.assertTrue(os.path.exists(tarball))
|
|
946
|
+
|
|
947
|
+
# trying an uncompressed one
|
|
948
|
+
base_name = os.path.join(tmpdir2, 'archive')
|
|
949
|
+
old_dir = os.getcwd()
|
|
950
|
+
os.chdir(tmpdir)
|
|
951
|
+
try:
|
|
952
|
+
_make_tarball(splitdrive(base_name)[1], '.', compress=None)
|
|
953
|
+
finally:
|
|
954
|
+
os.chdir(old_dir)
|
|
955
|
+
tarball = base_name + '.tar'
|
|
956
|
+
self.assertTrue(os.path.exists(tarball))
|
|
957
|
+
|
|
958
|
+
def _tarinfo(self, path):
|
|
959
|
+
tar = tarfile.open(path)
|
|
960
|
+
try:
|
|
961
|
+
names = tar.getnames()
|
|
962
|
+
names.sort()
|
|
963
|
+
return tuple(names)
|
|
964
|
+
finally:
|
|
965
|
+
tar.close()
|
|
966
|
+
|
|
967
|
+
def _create_files(self):
|
|
968
|
+
# creating something to tar
|
|
969
|
+
tmpdir = self.mkdtemp()
|
|
970
|
+
dist = os.path.join(tmpdir, 'dist')
|
|
971
|
+
os.mkdir(dist)
|
|
972
|
+
write_file((dist, 'file1'), 'xxx')
|
|
973
|
+
write_file((dist, 'file2'), 'xxx')
|
|
974
|
+
os.mkdir(os.path.join(dist, 'sub'))
|
|
975
|
+
write_file((dist, 'sub', 'file3'), 'xxx')
|
|
976
|
+
os.mkdir(os.path.join(dist, 'sub2'))
|
|
977
|
+
tmpdir2 = self.mkdtemp()
|
|
978
|
+
base_name = os.path.join(tmpdir2, 'archive')
|
|
979
|
+
return tmpdir, tmpdir2, base_name
|
|
980
|
+
|
|
981
|
+
@requires_zlib
|
|
982
|
+
@unittest.skipUnless(find_executable('tar') and find_executable('gzip'),
|
|
983
|
+
'Need the tar command to run')
|
|
984
|
+
def test_tarfile_vs_tar(self):
|
|
985
|
+
tmpdir, tmpdir2, base_name = self._create_files()
|
|
986
|
+
old_dir = os.getcwd()
|
|
987
|
+
os.chdir(tmpdir)
|
|
988
|
+
try:
|
|
989
|
+
_make_tarball(base_name, 'dist')
|
|
990
|
+
finally:
|
|
991
|
+
os.chdir(old_dir)
|
|
992
|
+
|
|
993
|
+
# check if the compressed tarball was created
|
|
994
|
+
tarball = base_name + '.tar.gz'
|
|
995
|
+
self.assertTrue(os.path.exists(tarball))
|
|
996
|
+
|
|
997
|
+
# now create another tarball using `tar`
|
|
998
|
+
tarball2 = os.path.join(tmpdir, 'archive2.tar.gz')
|
|
999
|
+
tar_cmd = ['tar', '-cf', 'archive2.tar', 'dist']
|
|
1000
|
+
gzip_cmd = ['gzip', '-f9', 'archive2.tar']
|
|
1001
|
+
old_dir = os.getcwd()
|
|
1002
|
+
os.chdir(tmpdir)
|
|
1003
|
+
try:
|
|
1004
|
+
with captured_stdout() as s:
|
|
1005
|
+
spawn(tar_cmd)
|
|
1006
|
+
spawn(gzip_cmd)
|
|
1007
|
+
finally:
|
|
1008
|
+
os.chdir(old_dir)
|
|
1009
|
+
|
|
1010
|
+
self.assertTrue(os.path.exists(tarball2))
|
|
1011
|
+
# let's compare both tarballs
|
|
1012
|
+
self.assertEqual(self._tarinfo(tarball), self._tarinfo(tarball2))
|
|
1013
|
+
|
|
1014
|
+
# trying an uncompressed one
|
|
1015
|
+
base_name = os.path.join(tmpdir2, 'archive')
|
|
1016
|
+
old_dir = os.getcwd()
|
|
1017
|
+
os.chdir(tmpdir)
|
|
1018
|
+
try:
|
|
1019
|
+
_make_tarball(base_name, 'dist', compress=None)
|
|
1020
|
+
finally:
|
|
1021
|
+
os.chdir(old_dir)
|
|
1022
|
+
tarball = base_name + '.tar'
|
|
1023
|
+
self.assertTrue(os.path.exists(tarball))
|
|
1024
|
+
|
|
1025
|
+
# now for a dry_run
|
|
1026
|
+
base_name = os.path.join(tmpdir2, 'archive')
|
|
1027
|
+
old_dir = os.getcwd()
|
|
1028
|
+
os.chdir(tmpdir)
|
|
1029
|
+
try:
|
|
1030
|
+
_make_tarball(base_name, 'dist', compress=None, dry_run=True)
|
|
1031
|
+
finally:
|
|
1032
|
+
os.chdir(old_dir)
|
|
1033
|
+
tarball = base_name + '.tar'
|
|
1034
|
+
self.assertTrue(os.path.exists(tarball))
|
|
1035
|
+
|
|
1036
|
+
@requires_zlib
|
|
1037
|
+
@unittest.skipUnless(ZIP_SUPPORT, 'Need zip support to run')
|
|
1038
|
+
def test_make_zipfile(self):
|
|
1039
|
+
# creating something to tar
|
|
1040
|
+
tmpdir = self.mkdtemp()
|
|
1041
|
+
write_file((tmpdir, 'file1'), 'xxx')
|
|
1042
|
+
write_file((tmpdir, 'file2'), 'xxx')
|
|
1043
|
+
|
|
1044
|
+
tmpdir2 = self.mkdtemp()
|
|
1045
|
+
# force shutil to create the directory
|
|
1046
|
+
os.rmdir(tmpdir2)
|
|
1047
|
+
base_name = os.path.join(tmpdir2, 'archive')
|
|
1048
|
+
_make_zipfile(base_name, tmpdir)
|
|
1049
|
+
|
|
1050
|
+
# check if the compressed tarball was created
|
|
1051
|
+
tarball = base_name + '.zip'
|
|
1052
|
+
self.assertTrue(os.path.exists(tarball))
|
|
1053
|
+
|
|
1054
|
+
|
|
1055
|
+
def test_make_archive(self):
|
|
1056
|
+
tmpdir = self.mkdtemp()
|
|
1057
|
+
base_name = os.path.join(tmpdir, 'archive')
|
|
1058
|
+
self.assertRaises(ValueError, make_archive, base_name, 'xxx')
|
|
1059
|
+
|
|
1060
|
+
@requires_zlib
|
|
1061
|
+
def test_make_archive_owner_group(self):
|
|
1062
|
+
# testing make_archive with owner and group, with various combinations
|
|
1063
|
+
# this works even if there's not gid/uid support
|
|
1064
|
+
if UID_GID_SUPPORT:
|
|
1065
|
+
group = grp.getgrgid(0)[0]
|
|
1066
|
+
owner = pwd.getpwuid(0)[0]
|
|
1067
|
+
else:
|
|
1068
|
+
group = owner = 'root'
|
|
1069
|
+
|
|
1070
|
+
base_dir, root_dir, base_name = self._create_files()
|
|
1071
|
+
base_name = os.path.join(self.mkdtemp() , 'archive')
|
|
1072
|
+
res = make_archive(base_name, 'zip', root_dir, base_dir, owner=owner,
|
|
1073
|
+
group=group)
|
|
1074
|
+
self.assertTrue(os.path.exists(res))
|
|
1075
|
+
|
|
1076
|
+
res = make_archive(base_name, 'zip', root_dir, base_dir)
|
|
1077
|
+
self.assertTrue(os.path.exists(res))
|
|
1078
|
+
|
|
1079
|
+
res = make_archive(base_name, 'tar', root_dir, base_dir,
|
|
1080
|
+
owner=owner, group=group)
|
|
1081
|
+
self.assertTrue(os.path.exists(res))
|
|
1082
|
+
|
|
1083
|
+
res = make_archive(base_name, 'tar', root_dir, base_dir,
|
|
1084
|
+
owner='kjhkjhkjg', group='oihohoh')
|
|
1085
|
+
self.assertTrue(os.path.exists(res))
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
@requires_zlib
|
|
1089
|
+
@unittest.skipUnless(UID_GID_SUPPORT, "Requires grp and pwd support")
|
|
1090
|
+
def test_tarfile_root_owner(self):
|
|
1091
|
+
tmpdir, tmpdir2, base_name = self._create_files()
|
|
1092
|
+
old_dir = os.getcwd()
|
|
1093
|
+
os.chdir(tmpdir)
|
|
1094
|
+
group = grp.getgrgid(0)[0]
|
|
1095
|
+
owner = pwd.getpwuid(0)[0]
|
|
1096
|
+
try:
|
|
1097
|
+
archive_name = _make_tarball(base_name, 'dist', compress=None,
|
|
1098
|
+
owner=owner, group=group)
|
|
1099
|
+
finally:
|
|
1100
|
+
os.chdir(old_dir)
|
|
1101
|
+
|
|
1102
|
+
# check if the compressed tarball was created
|
|
1103
|
+
self.assertTrue(os.path.exists(archive_name))
|
|
1104
|
+
|
|
1105
|
+
# now checks the rights
|
|
1106
|
+
archive = tarfile.open(archive_name)
|
|
1107
|
+
try:
|
|
1108
|
+
for member in archive.getmembers():
|
|
1109
|
+
self.assertEqual(member.uid, 0)
|
|
1110
|
+
self.assertEqual(member.gid, 0)
|
|
1111
|
+
finally:
|
|
1112
|
+
archive.close()
|
|
1113
|
+
|
|
1114
|
+
def test_make_archive_cwd(self):
|
|
1115
|
+
current_dir = os.getcwd()
|
|
1116
|
+
def _breaks(*args, **kw):
|
|
1117
|
+
raise RuntimeError()
|
|
1118
|
+
|
|
1119
|
+
register_archive_format('xxx', _breaks, [], 'xxx file')
|
|
1120
|
+
try:
|
|
1121
|
+
try:
|
|
1122
|
+
make_archive('xxx', 'xxx', root_dir=self.mkdtemp())
|
|
1123
|
+
except Exception:
|
|
1124
|
+
pass
|
|
1125
|
+
self.assertEqual(os.getcwd(), current_dir)
|
|
1126
|
+
finally:
|
|
1127
|
+
unregister_archive_format('xxx')
|
|
1128
|
+
|
|
1129
|
+
def test_register_archive_format(self):
|
|
1130
|
+
|
|
1131
|
+
self.assertRaises(TypeError, register_archive_format, 'xxx', 1)
|
|
1132
|
+
self.assertRaises(TypeError, register_archive_format, 'xxx', lambda: x,
|
|
1133
|
+
1)
|
|
1134
|
+
self.assertRaises(TypeError, register_archive_format, 'xxx', lambda: x,
|
|
1135
|
+
[(1, 2), (1, 2, 3)])
|
|
1136
|
+
|
|
1137
|
+
register_archive_format('xxx', lambda: x, [(1, 2)], 'xxx file')
|
|
1138
|
+
formats = [name for name, params in get_archive_formats()]
|
|
1139
|
+
self.assertIn('xxx', formats)
|
|
1140
|
+
|
|
1141
|
+
unregister_archive_format('xxx')
|
|
1142
|
+
formats = [name for name, params in get_archive_formats()]
|
|
1143
|
+
self.assertNotIn('xxx', formats)
|
|
1144
|
+
|
|
1145
|
+
def _compare_dirs(self, dir1, dir2):
|
|
1146
|
+
# check that dir1 and dir2 are equivalent,
|
|
1147
|
+
# return the diff
|
|
1148
|
+
diff = []
|
|
1149
|
+
for root, dirs, files in os.walk(dir1):
|
|
1150
|
+
for file_ in files:
|
|
1151
|
+
path = os.path.join(root, file_)
|
|
1152
|
+
target_path = os.path.join(dir2, os.path.split(path)[-1])
|
|
1153
|
+
if not os.path.exists(target_path):
|
|
1154
|
+
diff.append(file_)
|
|
1155
|
+
return diff
|
|
1156
|
+
|
|
1157
|
+
@requires_zlib
|
|
1158
|
+
def test_unpack_archive(self):
|
|
1159
|
+
formats = ['tar', 'gztar', 'zip']
|
|
1160
|
+
if BZ2_SUPPORTED:
|
|
1161
|
+
formats.append('bztar')
|
|
1162
|
+
|
|
1163
|
+
for format in formats:
|
|
1164
|
+
tmpdir = self.mkdtemp()
|
|
1165
|
+
base_dir, root_dir, base_name = self._create_files()
|
|
1166
|
+
tmpdir2 = self.mkdtemp()
|
|
1167
|
+
filename = make_archive(base_name, format, root_dir, base_dir)
|
|
1168
|
+
|
|
1169
|
+
# let's try to unpack it now
|
|
1170
|
+
unpack_archive(filename, tmpdir2)
|
|
1171
|
+
diff = self._compare_dirs(tmpdir, tmpdir2)
|
|
1172
|
+
self.assertEqual(diff, [])
|
|
1173
|
+
|
|
1174
|
+
# and again, this time with the format specified
|
|
1175
|
+
tmpdir3 = self.mkdtemp()
|
|
1176
|
+
unpack_archive(filename, tmpdir3, format=format)
|
|
1177
|
+
diff = self._compare_dirs(tmpdir, tmpdir3)
|
|
1178
|
+
self.assertEqual(diff, [])
|
|
1179
|
+
self.assertRaises(shutil.ReadError, unpack_archive, TESTFN)
|
|
1180
|
+
self.assertRaises(ValueError, unpack_archive, TESTFN, format='xxx')
|
|
1181
|
+
|
|
1182
|
+
def test_unpack_registery(self):
|
|
1183
|
+
|
|
1184
|
+
formats = get_unpack_formats()
|
|
1185
|
+
|
|
1186
|
+
def _boo(filename, extract_dir, extra):
|
|
1187
|
+
self.assertEqual(extra, 1)
|
|
1188
|
+
self.assertEqual(filename, 'stuff.boo')
|
|
1189
|
+
self.assertEqual(extract_dir, 'xx')
|
|
1190
|
+
|
|
1191
|
+
register_unpack_format('Boo', ['.boo', '.b2'], _boo, [('extra', 1)])
|
|
1192
|
+
unpack_archive('stuff.boo', 'xx')
|
|
1193
|
+
|
|
1194
|
+
# trying to register a .boo unpacker again
|
|
1195
|
+
self.assertRaises(RegistryError, register_unpack_format, 'Boo2',
|
|
1196
|
+
['.boo'], _boo)
|
|
1197
|
+
|
|
1198
|
+
# should work now
|
|
1199
|
+
unregister_unpack_format('Boo')
|
|
1200
|
+
register_unpack_format('Boo2', ['.boo'], _boo)
|
|
1201
|
+
self.assertIn(('Boo2', ['.boo'], ''), get_unpack_formats())
|
|
1202
|
+
self.assertNotIn(('Boo', ['.boo'], ''), get_unpack_formats())
|
|
1203
|
+
|
|
1204
|
+
# let's leave a clean state
|
|
1205
|
+
unregister_unpack_format('Boo2')
|
|
1206
|
+
self.assertEqual(get_unpack_formats(), formats)
|
|
1207
|
+
|
|
1208
|
+
@unittest.skipUnless(hasattr(shutil, 'disk_usage'),
|
|
1209
|
+
"disk_usage not available on this platform")
|
|
1210
|
+
def test_disk_usage(self):
|
|
1211
|
+
usage = shutil.disk_usage(os.getcwd())
|
|
1212
|
+
self.assertGreater(usage.total, 0)
|
|
1213
|
+
self.assertGreater(usage.used, 0)
|
|
1214
|
+
self.assertGreaterEqual(usage.free, 0)
|
|
1215
|
+
self.assertGreaterEqual(usage.total, usage.used)
|
|
1216
|
+
self.assertGreater(usage.total, usage.free)
|
|
1217
|
+
|
|
1218
|
+
@unittest.skipUnless(UID_GID_SUPPORT, "Requires grp and pwd support")
|
|
1219
|
+
@unittest.skipUnless(hasattr(os, 'chown'), 'requires os.chown')
|
|
1220
|
+
def test_chown(self):
|
|
1221
|
+
|
|
1222
|
+
# cleaned-up automatically by TestShutil.tearDown method
|
|
1223
|
+
dirname = self.mkdtemp()
|
|
1224
|
+
filename = tempfile.mktemp(dir=dirname)
|
|
1225
|
+
write_file(filename, 'testing chown function')
|
|
1226
|
+
|
|
1227
|
+
with self.assertRaises(ValueError):
|
|
1228
|
+
shutil.chown(filename)
|
|
1229
|
+
|
|
1230
|
+
with self.assertRaises(LookupError):
|
|
1231
|
+
shutil.chown(filename, user='non-exising username')
|
|
1232
|
+
|
|
1233
|
+
with self.assertRaises(LookupError):
|
|
1234
|
+
shutil.chown(filename, group='non-exising groupname')
|
|
1235
|
+
|
|
1236
|
+
with self.assertRaises(TypeError):
|
|
1237
|
+
shutil.chown(filename, b'spam')
|
|
1238
|
+
|
|
1239
|
+
with self.assertRaises(TypeError):
|
|
1240
|
+
shutil.chown(filename, 3.14)
|
|
1241
|
+
|
|
1242
|
+
uid = os.getuid()
|
|
1243
|
+
gid = os.getgid()
|
|
1244
|
+
|
|
1245
|
+
def check_chown(path, uid=None, gid=None):
|
|
1246
|
+
s = os.stat(filename)
|
|
1247
|
+
if uid is not None:
|
|
1248
|
+
self.assertEqual(uid, s.st_uid)
|
|
1249
|
+
if gid is not None:
|
|
1250
|
+
self.assertEqual(gid, s.st_gid)
|
|
1251
|
+
|
|
1252
|
+
shutil.chown(filename, uid, gid)
|
|
1253
|
+
check_chown(filename, uid, gid)
|
|
1254
|
+
shutil.chown(filename, uid)
|
|
1255
|
+
check_chown(filename, uid)
|
|
1256
|
+
shutil.chown(filename, user=uid)
|
|
1257
|
+
check_chown(filename, uid)
|
|
1258
|
+
shutil.chown(filename, group=gid)
|
|
1259
|
+
check_chown(filename, gid=gid)
|
|
1260
|
+
|
|
1261
|
+
shutil.chown(dirname, uid, gid)
|
|
1262
|
+
check_chown(dirname, uid, gid)
|
|
1263
|
+
shutil.chown(dirname, uid)
|
|
1264
|
+
check_chown(dirname, uid)
|
|
1265
|
+
shutil.chown(dirname, user=uid)
|
|
1266
|
+
check_chown(dirname, uid)
|
|
1267
|
+
shutil.chown(dirname, group=gid)
|
|
1268
|
+
check_chown(dirname, gid=gid)
|
|
1269
|
+
|
|
1270
|
+
user = pwd.getpwuid(uid)[0]
|
|
1271
|
+
group = grp.getgrgid(gid)[0]
|
|
1272
|
+
shutil.chown(filename, user, group)
|
|
1273
|
+
check_chown(filename, uid, gid)
|
|
1274
|
+
shutil.chown(dirname, user, group)
|
|
1275
|
+
check_chown(dirname, uid, gid)
|
|
1276
|
+
|
|
1277
|
+
def test_copy_return_value(self):
|
|
1278
|
+
# copy and copy2 both return their destination path.
|
|
1279
|
+
for fn in (shutil.copy, shutil.copy2):
|
|
1280
|
+
src_dir = self.mkdtemp()
|
|
1281
|
+
dst_dir = self.mkdtemp()
|
|
1282
|
+
src = os.path.join(src_dir, 'foo')
|
|
1283
|
+
write_file(src, 'foo')
|
|
1284
|
+
rv = fn(src, dst_dir)
|
|
1285
|
+
self.assertEqual(rv, os.path.join(dst_dir, 'foo'))
|
|
1286
|
+
rv = fn(src, os.path.join(dst_dir, 'bar'))
|
|
1287
|
+
self.assertEqual(rv, os.path.join(dst_dir, 'bar'))
|
|
1288
|
+
|
|
1289
|
+
def test_copyfile_return_value(self):
|
|
1290
|
+
# copytree returns its destination path.
|
|
1291
|
+
src_dir = self.mkdtemp()
|
|
1292
|
+
dst_dir = self.mkdtemp()
|
|
1293
|
+
dst_file = os.path.join(dst_dir, 'bar')
|
|
1294
|
+
src_file = os.path.join(src_dir, 'foo')
|
|
1295
|
+
write_file(src_file, 'foo')
|
|
1296
|
+
rv = shutil.copyfile(src_file, dst_file)
|
|
1297
|
+
self.assertTrue(os.path.exists(rv))
|
|
1298
|
+
self.assertEqual(read_file(src_file), read_file(dst_file))
|
|
1299
|
+
|
|
1300
|
+
def test_copyfile_same_file(self):
|
|
1301
|
+
# copyfile() should raise SameFileError if the source and destination
|
|
1302
|
+
# are the same.
|
|
1303
|
+
src_dir = self.mkdtemp()
|
|
1304
|
+
src_file = os.path.join(src_dir, 'foo')
|
|
1305
|
+
write_file(src_file, 'foo')
|
|
1306
|
+
self.assertRaises(SameFileError, shutil.copyfile, src_file, src_file)
|
|
1307
|
+
# But Error should work too, to stay backward compatible.
|
|
1308
|
+
self.assertRaises(Error, shutil.copyfile, src_file, src_file)
|
|
1309
|
+
|
|
1310
|
+
def test_copytree_return_value(self):
|
|
1311
|
+
# copytree returns its destination path.
|
|
1312
|
+
src_dir = self.mkdtemp()
|
|
1313
|
+
dst_dir = src_dir + "dest"
|
|
1314
|
+
self.addCleanup(shutil.rmtree, dst_dir, True)
|
|
1315
|
+
src = os.path.join(src_dir, 'foo')
|
|
1316
|
+
write_file(src, 'foo')
|
|
1317
|
+
rv = shutil.copytree(src_dir, dst_dir)
|
|
1318
|
+
self.assertEqual(['foo'], os.listdir(rv))
|
|
1319
|
+
|
|
1320
|
+
|
|
1321
|
+
class TestWhich(unittest.TestCase):
|
|
1322
|
+
|
|
1323
|
+
def setUp(self):
|
|
1324
|
+
self.temp_dir = tempfile.mkdtemp(prefix="Tmp")
|
|
1325
|
+
self.addCleanup(shutil.rmtree, self.temp_dir, True)
|
|
1326
|
+
# Give the temp_file an ".exe" suffix for all.
|
|
1327
|
+
# It's needed on Windows and not harmful on other platforms.
|
|
1328
|
+
self.temp_file = tempfile.NamedTemporaryFile(dir=self.temp_dir,
|
|
1329
|
+
prefix="Tmp",
|
|
1330
|
+
suffix=".Exe")
|
|
1331
|
+
os.chmod(self.temp_file.name, stat.S_IXUSR)
|
|
1332
|
+
self.addCleanup(self.temp_file.close)
|
|
1333
|
+
self.dir, self.file = os.path.split(self.temp_file.name)
|
|
1334
|
+
|
|
1335
|
+
def test_basic(self):
|
|
1336
|
+
# Given an EXE in a directory, it should be returned.
|
|
1337
|
+
rv = shutil.which(self.file, path=self.dir)
|
|
1338
|
+
self.assertEqual(rv, self.temp_file.name)
|
|
1339
|
+
|
|
1340
|
+
def test_absolute_cmd(self):
|
|
1341
|
+
# When given the fully qualified path to an executable that exists,
|
|
1342
|
+
# it should be returned.
|
|
1343
|
+
rv = shutil.which(self.temp_file.name, path=self.temp_dir)
|
|
1344
|
+
self.assertEqual(rv, self.temp_file.name)
|
|
1345
|
+
|
|
1346
|
+
def test_relative_cmd(self):
|
|
1347
|
+
# When given the relative path with a directory part to an executable
|
|
1348
|
+
# that exists, it should be returned.
|
|
1349
|
+
base_dir, tail_dir = os.path.split(self.dir)
|
|
1350
|
+
relpath = os.path.join(tail_dir, self.file)
|
|
1351
|
+
with support.change_cwd(path=base_dir):
|
|
1352
|
+
rv = shutil.which(relpath, path=self.temp_dir)
|
|
1353
|
+
self.assertEqual(rv, relpath)
|
|
1354
|
+
# But it shouldn't be searched in PATH directories (issue #16957).
|
|
1355
|
+
with support.change_cwd(path=self.dir):
|
|
1356
|
+
rv = shutil.which(relpath, path=base_dir)
|
|
1357
|
+
self.assertIsNone(rv)
|
|
1358
|
+
|
|
1359
|
+
def test_cwd(self):
|
|
1360
|
+
# Issue #16957
|
|
1361
|
+
base_dir = os.path.dirname(self.dir)
|
|
1362
|
+
with support.change_cwd(path=self.dir):
|
|
1363
|
+
rv = shutil.which(self.file, path=base_dir)
|
|
1364
|
+
if sys.platform == "win32":
|
|
1365
|
+
# Windows: current directory implicitly on PATH
|
|
1366
|
+
self.assertEqual(rv, os.path.join(os.curdir, self.file))
|
|
1367
|
+
else:
|
|
1368
|
+
# Other platforms: shouldn't match in the current directory.
|
|
1369
|
+
self.assertIsNone(rv)
|
|
1370
|
+
|
|
1371
|
+
@unittest.skipIf(hasattr(os, 'geteuid') and os.geteuid() == 0,
|
|
1372
|
+
'non-root user required')
|
|
1373
|
+
def test_non_matching_mode(self):
|
|
1374
|
+
# Set the file read-only and ask for writeable files.
|
|
1375
|
+
os.chmod(self.temp_file.name, stat.S_IREAD)
|
|
1376
|
+
if os.access(self.temp_file.name, os.W_OK):
|
|
1377
|
+
self.skipTest("can't set the file read-only")
|
|
1378
|
+
rv = shutil.which(self.file, path=self.dir, mode=os.W_OK)
|
|
1379
|
+
self.assertIsNone(rv)
|
|
1380
|
+
|
|
1381
|
+
def test_relative_path(self):
|
|
1382
|
+
base_dir, tail_dir = os.path.split(self.dir)
|
|
1383
|
+
with support.change_cwd(path=base_dir):
|
|
1384
|
+
rv = shutil.which(self.file, path=tail_dir)
|
|
1385
|
+
self.assertEqual(rv, os.path.join(tail_dir, self.file))
|
|
1386
|
+
|
|
1387
|
+
def test_nonexistent_file(self):
|
|
1388
|
+
# Return None when no matching executable file is found on the path.
|
|
1389
|
+
rv = shutil.which("foo.exe", path=self.dir)
|
|
1390
|
+
self.assertIsNone(rv)
|
|
1391
|
+
|
|
1392
|
+
@unittest.skipUnless(sys.platform == "win32",
|
|
1393
|
+
"pathext check is Windows-only")
|
|
1394
|
+
def test_pathext_checking(self):
|
|
1395
|
+
# Ask for the file without the ".exe" extension, then ensure that
|
|
1396
|
+
# it gets found properly with the extension.
|
|
1397
|
+
rv = shutil.which(self.file[:-4], path=self.dir)
|
|
1398
|
+
self.assertEqual(rv, self.temp_file.name[:-4] + ".EXE")
|
|
1399
|
+
|
|
1400
|
+
def test_environ_path(self):
|
|
1401
|
+
with support.EnvironmentVarGuard() as env:
|
|
1402
|
+
env['PATH'] = self.dir
|
|
1403
|
+
rv = shutil.which(self.file)
|
|
1404
|
+
self.assertEqual(rv, self.temp_file.name)
|
|
1405
|
+
|
|
1406
|
+
def test_empty_path(self):
|
|
1407
|
+
base_dir = os.path.dirname(self.dir)
|
|
1408
|
+
with support.change_cwd(path=self.dir), \
|
|
1409
|
+
support.EnvironmentVarGuard() as env:
|
|
1410
|
+
env['PATH'] = self.dir
|
|
1411
|
+
rv = shutil.which(self.file, path='')
|
|
1412
|
+
self.assertIsNone(rv)
|
|
1413
|
+
|
|
1414
|
+
def test_empty_path_no_PATH(self):
|
|
1415
|
+
with support.EnvironmentVarGuard() as env:
|
|
1416
|
+
env.pop('PATH', None)
|
|
1417
|
+
rv = shutil.which(self.file)
|
|
1418
|
+
self.assertIsNone(rv)
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
class TestMove(unittest.TestCase):
|
|
1422
|
+
|
|
1423
|
+
def setUp(self):
|
|
1424
|
+
filename = "foo"
|
|
1425
|
+
self.src_dir = tempfile.mkdtemp()
|
|
1426
|
+
self.dst_dir = tempfile.mkdtemp()
|
|
1427
|
+
self.src_file = os.path.join(self.src_dir, filename)
|
|
1428
|
+
self.dst_file = os.path.join(self.dst_dir, filename)
|
|
1429
|
+
with open(self.src_file, "wb") as f:
|
|
1430
|
+
f.write(b"spam")
|
|
1431
|
+
|
|
1432
|
+
def tearDown(self):
|
|
1433
|
+
for d in (self.src_dir, self.dst_dir):
|
|
1434
|
+
try:
|
|
1435
|
+
if d:
|
|
1436
|
+
shutil.rmtree(d)
|
|
1437
|
+
except:
|
|
1438
|
+
pass
|
|
1439
|
+
|
|
1440
|
+
def _check_move_file(self, src, dst, real_dst):
|
|
1441
|
+
with open(src, "rb") as f:
|
|
1442
|
+
contents = f.read()
|
|
1443
|
+
shutil.move(src, dst)
|
|
1444
|
+
with open(real_dst, "rb") as f:
|
|
1445
|
+
self.assertEqual(contents, f.read())
|
|
1446
|
+
self.assertFalse(os.path.exists(src))
|
|
1447
|
+
|
|
1448
|
+
def _check_move_dir(self, src, dst, real_dst):
|
|
1449
|
+
contents = sorted(os.listdir(src))
|
|
1450
|
+
shutil.move(src, dst)
|
|
1451
|
+
self.assertEqual(contents, sorted(os.listdir(real_dst)))
|
|
1452
|
+
self.assertFalse(os.path.exists(src))
|
|
1453
|
+
|
|
1454
|
+
def test_move_file(self):
|
|
1455
|
+
# Move a file to another location on the same filesystem.
|
|
1456
|
+
self._check_move_file(self.src_file, self.dst_file, self.dst_file)
|
|
1457
|
+
|
|
1458
|
+
def test_move_file_to_dir(self):
|
|
1459
|
+
# Move a file inside an existing dir on the same filesystem.
|
|
1460
|
+
self._check_move_file(self.src_file, self.dst_dir, self.dst_file)
|
|
1461
|
+
|
|
1462
|
+
@mock_rename
|
|
1463
|
+
def test_move_file_other_fs(self):
|
|
1464
|
+
# Move a file to an existing dir on another filesystem.
|
|
1465
|
+
self.test_move_file()
|
|
1466
|
+
|
|
1467
|
+
@mock_rename
|
|
1468
|
+
def test_move_file_to_dir_other_fs(self):
|
|
1469
|
+
# Move a file to another location on another filesystem.
|
|
1470
|
+
self.test_move_file_to_dir()
|
|
1471
|
+
|
|
1472
|
+
def test_move_dir(self):
|
|
1473
|
+
# Move a dir to another location on the same filesystem.
|
|
1474
|
+
dst_dir = tempfile.mktemp()
|
|
1475
|
+
try:
|
|
1476
|
+
self._check_move_dir(self.src_dir, dst_dir, dst_dir)
|
|
1477
|
+
finally:
|
|
1478
|
+
try:
|
|
1479
|
+
shutil.rmtree(dst_dir)
|
|
1480
|
+
except:
|
|
1481
|
+
pass
|
|
1482
|
+
|
|
1483
|
+
@mock_rename
|
|
1484
|
+
def test_move_dir_other_fs(self):
|
|
1485
|
+
# Move a dir to another location on another filesystem.
|
|
1486
|
+
self.test_move_dir()
|
|
1487
|
+
|
|
1488
|
+
def test_move_dir_to_dir(self):
|
|
1489
|
+
# Move a dir inside an existing dir on the same filesystem.
|
|
1490
|
+
self._check_move_dir(self.src_dir, self.dst_dir,
|
|
1491
|
+
os.path.join(self.dst_dir, os.path.basename(self.src_dir)))
|
|
1492
|
+
|
|
1493
|
+
@mock_rename
|
|
1494
|
+
def test_move_dir_to_dir_other_fs(self):
|
|
1495
|
+
# Move a dir inside an existing dir on another filesystem.
|
|
1496
|
+
self.test_move_dir_to_dir()
|
|
1497
|
+
|
|
1498
|
+
def test_move_dir_sep_to_dir(self):
|
|
1499
|
+
self._check_move_dir(self.src_dir + os.path.sep, self.dst_dir,
|
|
1500
|
+
os.path.join(self.dst_dir, os.path.basename(self.src_dir)))
|
|
1501
|
+
|
|
1502
|
+
@unittest.skipUnless(os.path.altsep, 'requires os.path.altsep')
|
|
1503
|
+
def test_move_dir_altsep_to_dir(self):
|
|
1504
|
+
self._check_move_dir(self.src_dir + os.path.altsep, self.dst_dir,
|
|
1505
|
+
os.path.join(self.dst_dir, os.path.basename(self.src_dir)))
|
|
1506
|
+
|
|
1507
|
+
def test_existing_file_inside_dest_dir(self):
|
|
1508
|
+
# A file with the same name inside the destination dir already exists.
|
|
1509
|
+
with open(self.dst_file, "wb"):
|
|
1510
|
+
pass
|
|
1511
|
+
self.assertRaises(shutil.Error, shutil.move, self.src_file, self.dst_dir)
|
|
1512
|
+
|
|
1513
|
+
def test_dont_move_dir_in_itself(self):
|
|
1514
|
+
# Moving a dir inside itself raises an Error.
|
|
1515
|
+
dst = os.path.join(self.src_dir, "bar")
|
|
1516
|
+
self.assertRaises(shutil.Error, shutil.move, self.src_dir, dst)
|
|
1517
|
+
|
|
1518
|
+
def test_destinsrc_false_negative(self):
|
|
1519
|
+
os.mkdir(TESTFN)
|
|
1520
|
+
try:
|
|
1521
|
+
for src, dst in [('srcdir', 'srcdir/dest')]:
|
|
1522
|
+
src = os.path.join(TESTFN, src)
|
|
1523
|
+
dst = os.path.join(TESTFN, dst)
|
|
1524
|
+
self.assertTrue(shutil._destinsrc(src, dst),
|
|
1525
|
+
msg='_destinsrc() wrongly concluded that '
|
|
1526
|
+
'dst (%s) is not in src (%s)' % (dst, src))
|
|
1527
|
+
finally:
|
|
1528
|
+
shutil.rmtree(TESTFN, ignore_errors=True)
|
|
1529
|
+
|
|
1530
|
+
def test_destinsrc_false_positive(self):
|
|
1531
|
+
os.mkdir(TESTFN)
|
|
1532
|
+
try:
|
|
1533
|
+
for src, dst in [('srcdir', 'src/dest'), ('srcdir', 'srcdir.new')]:
|
|
1534
|
+
src = os.path.join(TESTFN, src)
|
|
1535
|
+
dst = os.path.join(TESTFN, dst)
|
|
1536
|
+
self.assertFalse(shutil._destinsrc(src, dst),
|
|
1537
|
+
msg='_destinsrc() wrongly concluded that '
|
|
1538
|
+
'dst (%s) is in src (%s)' % (dst, src))
|
|
1539
|
+
finally:
|
|
1540
|
+
shutil.rmtree(TESTFN, ignore_errors=True)
|
|
1541
|
+
|
|
1542
|
+
@support.skip_unless_symlink
|
|
1543
|
+
@mock_rename
|
|
1544
|
+
def test_move_file_symlink(self):
|
|
1545
|
+
dst = os.path.join(self.src_dir, 'bar')
|
|
1546
|
+
os.symlink(self.src_file, dst)
|
|
1547
|
+
shutil.move(dst, self.dst_file)
|
|
1548
|
+
self.assertTrue(os.path.islink(self.dst_file))
|
|
1549
|
+
self.assertTrue(os.path.samefile(self.src_file, self.dst_file))
|
|
1550
|
+
|
|
1551
|
+
@support.skip_unless_symlink
|
|
1552
|
+
@mock_rename
|
|
1553
|
+
def test_move_file_symlink_to_dir(self):
|
|
1554
|
+
filename = "bar"
|
|
1555
|
+
dst = os.path.join(self.src_dir, filename)
|
|
1556
|
+
os.symlink(self.src_file, dst)
|
|
1557
|
+
shutil.move(dst, self.dst_dir)
|
|
1558
|
+
final_link = os.path.join(self.dst_dir, filename)
|
|
1559
|
+
self.assertTrue(os.path.islink(final_link))
|
|
1560
|
+
self.assertTrue(os.path.samefile(self.src_file, final_link))
|
|
1561
|
+
|
|
1562
|
+
@support.skip_unless_symlink
|
|
1563
|
+
@mock_rename
|
|
1564
|
+
def test_move_dangling_symlink(self):
|
|
1565
|
+
src = os.path.join(self.src_dir, 'baz')
|
|
1566
|
+
dst = os.path.join(self.src_dir, 'bar')
|
|
1567
|
+
os.symlink(src, dst)
|
|
1568
|
+
dst_link = os.path.join(self.dst_dir, 'quux')
|
|
1569
|
+
shutil.move(dst, dst_link)
|
|
1570
|
+
self.assertTrue(os.path.islink(dst_link))
|
|
1571
|
+
# On Windows, os.path.realpath does not follow symlinks (issue #9949)
|
|
1572
|
+
if os.name == 'nt':
|
|
1573
|
+
self.assertEqual(os.path.realpath(src), os.readlink(dst_link))
|
|
1574
|
+
else:
|
|
1575
|
+
self.assertEqual(os.path.realpath(src), os.path.realpath(dst_link))
|
|
1576
|
+
|
|
1577
|
+
@support.skip_unless_symlink
|
|
1578
|
+
@mock_rename
|
|
1579
|
+
def test_move_dir_symlink(self):
|
|
1580
|
+
src = os.path.join(self.src_dir, 'baz')
|
|
1581
|
+
dst = os.path.join(self.src_dir, 'bar')
|
|
1582
|
+
os.mkdir(src)
|
|
1583
|
+
os.symlink(src, dst)
|
|
1584
|
+
dst_link = os.path.join(self.dst_dir, 'quux')
|
|
1585
|
+
shutil.move(dst, dst_link)
|
|
1586
|
+
self.assertTrue(os.path.islink(dst_link))
|
|
1587
|
+
self.assertTrue(os.path.samefile(src, dst_link))
|
|
1588
|
+
|
|
1589
|
+
def test_move_return_value(self):
|
|
1590
|
+
rv = shutil.move(self.src_file, self.dst_dir)
|
|
1591
|
+
self.assertEqual(rv,
|
|
1592
|
+
os.path.join(self.dst_dir, os.path.basename(self.src_file)))
|
|
1593
|
+
|
|
1594
|
+
def test_move_as_rename_return_value(self):
|
|
1595
|
+
rv = shutil.move(self.src_file, os.path.join(self.dst_dir, 'bar'))
|
|
1596
|
+
self.assertEqual(rv, os.path.join(self.dst_dir, 'bar'))
|
|
1597
|
+
|
|
1598
|
+
|
|
1599
|
+
class TestCopyFile(unittest.TestCase):
|
|
1600
|
+
|
|
1601
|
+
_delete = False
|
|
1602
|
+
|
|
1603
|
+
class Faux(object):
|
|
1604
|
+
_entered = False
|
|
1605
|
+
_exited_with = None
|
|
1606
|
+
_raised = False
|
|
1607
|
+
def __init__(self, raise_in_exit=False, suppress_at_exit=True):
|
|
1608
|
+
self._raise_in_exit = raise_in_exit
|
|
1609
|
+
self._suppress_at_exit = suppress_at_exit
|
|
1610
|
+
def read(self, *args):
|
|
1611
|
+
return ''
|
|
1612
|
+
def __enter__(self):
|
|
1613
|
+
self._entered = True
|
|
1614
|
+
def __exit__(self, exc_type, exc_val, exc_tb):
|
|
1615
|
+
self._exited_with = exc_type, exc_val, exc_tb
|
|
1616
|
+
if self._raise_in_exit:
|
|
1617
|
+
self._raised = True
|
|
1618
|
+
raise OSError("Cannot close")
|
|
1619
|
+
return self._suppress_at_exit
|
|
1620
|
+
|
|
1621
|
+
def tearDown(self):
|
|
1622
|
+
if self._delete:
|
|
1623
|
+
del shutil.open
|
|
1624
|
+
|
|
1625
|
+
def _set_shutil_open(self, func):
|
|
1626
|
+
shutil.open = func
|
|
1627
|
+
self._delete = True
|
|
1628
|
+
|
|
1629
|
+
def test_w_source_open_fails(self):
|
|
1630
|
+
def _open(filename, mode='r'):
|
|
1631
|
+
if filename == 'srcfile':
|
|
1632
|
+
raise OSError('Cannot open "srcfile"')
|
|
1633
|
+
assert 0 # shouldn't reach here.
|
|
1634
|
+
|
|
1635
|
+
self._set_shutil_open(_open)
|
|
1636
|
+
|
|
1637
|
+
self.assertRaises(OSError, shutil.copyfile, 'srcfile', 'destfile')
|
|
1638
|
+
|
|
1639
|
+
def test_w_dest_open_fails(self):
|
|
1640
|
+
|
|
1641
|
+
srcfile = self.Faux()
|
|
1642
|
+
|
|
1643
|
+
def _open(filename, mode='r'):
|
|
1644
|
+
if filename == 'srcfile':
|
|
1645
|
+
return srcfile
|
|
1646
|
+
if filename == 'destfile':
|
|
1647
|
+
raise OSError('Cannot open "destfile"')
|
|
1648
|
+
assert 0 # shouldn't reach here.
|
|
1649
|
+
|
|
1650
|
+
self._set_shutil_open(_open)
|
|
1651
|
+
|
|
1652
|
+
shutil.copyfile('srcfile', 'destfile')
|
|
1653
|
+
self.assertTrue(srcfile._entered)
|
|
1654
|
+
self.assertTrue(srcfile._exited_with[0] is OSError)
|
|
1655
|
+
self.assertEqual(srcfile._exited_with[1].args,
|
|
1656
|
+
('Cannot open "destfile"',))
|
|
1657
|
+
|
|
1658
|
+
def test_w_dest_close_fails(self):
|
|
1659
|
+
|
|
1660
|
+
srcfile = self.Faux()
|
|
1661
|
+
destfile = self.Faux(True)
|
|
1662
|
+
|
|
1663
|
+
def _open(filename, mode='r'):
|
|
1664
|
+
if filename == 'srcfile':
|
|
1665
|
+
return srcfile
|
|
1666
|
+
if filename == 'destfile':
|
|
1667
|
+
return destfile
|
|
1668
|
+
assert 0 # shouldn't reach here.
|
|
1669
|
+
|
|
1670
|
+
self._set_shutil_open(_open)
|
|
1671
|
+
|
|
1672
|
+
shutil.copyfile('srcfile', 'destfile')
|
|
1673
|
+
self.assertTrue(srcfile._entered)
|
|
1674
|
+
self.assertTrue(destfile._entered)
|
|
1675
|
+
self.assertTrue(destfile._raised)
|
|
1676
|
+
self.assertTrue(srcfile._exited_with[0] is OSError)
|
|
1677
|
+
self.assertEqual(srcfile._exited_with[1].args,
|
|
1678
|
+
('Cannot close',))
|
|
1679
|
+
|
|
1680
|
+
def test_w_source_close_fails(self):
|
|
1681
|
+
|
|
1682
|
+
srcfile = self.Faux(True)
|
|
1683
|
+
destfile = self.Faux()
|
|
1684
|
+
|
|
1685
|
+
def _open(filename, mode='r'):
|
|
1686
|
+
if filename == 'srcfile':
|
|
1687
|
+
return srcfile
|
|
1688
|
+
if filename == 'destfile':
|
|
1689
|
+
return destfile
|
|
1690
|
+
assert 0 # shouldn't reach here.
|
|
1691
|
+
|
|
1692
|
+
self._set_shutil_open(_open)
|
|
1693
|
+
|
|
1694
|
+
self.assertRaises(OSError,
|
|
1695
|
+
shutil.copyfile, 'srcfile', 'destfile')
|
|
1696
|
+
self.assertTrue(srcfile._entered)
|
|
1697
|
+
self.assertTrue(destfile._entered)
|
|
1698
|
+
self.assertFalse(destfile._raised)
|
|
1699
|
+
self.assertTrue(srcfile._exited_with[0] is None)
|
|
1700
|
+
self.assertTrue(srcfile._raised)
|
|
1701
|
+
|
|
1702
|
+
def test_move_dir_caseinsensitive(self):
|
|
1703
|
+
# Renames a folder to the same name
|
|
1704
|
+
# but a different case.
|
|
1705
|
+
|
|
1706
|
+
self.src_dir = tempfile.mkdtemp()
|
|
1707
|
+
self.addCleanup(shutil.rmtree, self.src_dir, True)
|
|
1708
|
+
dst_dir = os.path.join(
|
|
1709
|
+
os.path.dirname(self.src_dir),
|
|
1710
|
+
os.path.basename(self.src_dir).upper())
|
|
1711
|
+
self.assertNotEqual(self.src_dir, dst_dir)
|
|
1712
|
+
|
|
1713
|
+
try:
|
|
1714
|
+
shutil.move(self.src_dir, dst_dir)
|
|
1715
|
+
self.assertTrue(os.path.isdir(dst_dir))
|
|
1716
|
+
finally:
|
|
1717
|
+
os.rmdir(dst_dir)
|
|
1718
|
+
|
|
1719
|
+
class TermsizeTests(unittest.TestCase):
|
|
1720
|
+
def test_does_not_crash(self):
|
|
1721
|
+
"""Check if get_terminal_size() returns a meaningful value.
|
|
1722
|
+
|
|
1723
|
+
There's no easy portable way to actually check the size of the
|
|
1724
|
+
terminal, so let's check if it returns something sensible instead.
|
|
1725
|
+
"""
|
|
1726
|
+
size = shutil.get_terminal_size()
|
|
1727
|
+
self.assertGreaterEqual(size.columns, 0)
|
|
1728
|
+
self.assertGreaterEqual(size.lines, 0)
|
|
1729
|
+
|
|
1730
|
+
def test_os_environ_first(self):
|
|
1731
|
+
"Check if environment variables have precedence"
|
|
1732
|
+
|
|
1733
|
+
with support.EnvironmentVarGuard() as env:
|
|
1734
|
+
env['COLUMNS'] = '777'
|
|
1735
|
+
size = shutil.get_terminal_size()
|
|
1736
|
+
self.assertEqual(size.columns, 777)
|
|
1737
|
+
|
|
1738
|
+
with support.EnvironmentVarGuard() as env:
|
|
1739
|
+
env['LINES'] = '888'
|
|
1740
|
+
size = shutil.get_terminal_size()
|
|
1741
|
+
self.assertEqual(size.lines, 888)
|
|
1742
|
+
|
|
1743
|
+
@unittest.skipUnless(os.isatty(sys.__stdout__.fileno()), "not on tty")
|
|
1744
|
+
def test_stty_match(self):
|
|
1745
|
+
"""Check if stty returns the same results ignoring env
|
|
1746
|
+
|
|
1747
|
+
This test will fail if stdin and stdout are connected to
|
|
1748
|
+
different terminals with different sizes. Nevertheless, such
|
|
1749
|
+
situations should be pretty rare.
|
|
1750
|
+
"""
|
|
1751
|
+
try:
|
|
1752
|
+
size = subprocess.check_output(['stty', 'size']).decode().split()
|
|
1753
|
+
except (FileNotFoundError, subprocess.CalledProcessError):
|
|
1754
|
+
self.skipTest("stty invocation failed")
|
|
1755
|
+
expected = (int(size[1]), int(size[0])) # reversed order
|
|
1756
|
+
|
|
1757
|
+
with support.EnvironmentVarGuard() as env:
|
|
1758
|
+
del env['LINES']
|
|
1759
|
+
del env['COLUMNS']
|
|
1760
|
+
actual = shutil.get_terminal_size()
|
|
1761
|
+
|
|
1762
|
+
self.assertEqual(expected, actual)
|
|
1763
|
+
|
|
1764
|
+
|
|
1765
|
+
if __name__ == '__main__':
|
|
1766
|
+
unittest.main()
|