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,1884 @@
|
|
|
1
|
+
import collections
|
|
2
|
+
import io
|
|
3
|
+
import os
|
|
4
|
+
import errno
|
|
5
|
+
import pathlib
|
|
6
|
+
import pickle
|
|
7
|
+
import shutil
|
|
8
|
+
import socket
|
|
9
|
+
import stat
|
|
10
|
+
import sys
|
|
11
|
+
import tempfile
|
|
12
|
+
import unittest
|
|
13
|
+
from contextlib import contextmanager
|
|
14
|
+
|
|
15
|
+
from test import support
|
|
16
|
+
TESTFN = support.TESTFN
|
|
17
|
+
|
|
18
|
+
try:
|
|
19
|
+
import grp, pwd
|
|
20
|
+
except ImportError:
|
|
21
|
+
grp = pwd = None
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class _BaseFlavourTest(object):
|
|
25
|
+
|
|
26
|
+
def _check_parse_parts(self, arg, expected):
|
|
27
|
+
f = self.flavour.parse_parts
|
|
28
|
+
sep = self.flavour.sep
|
|
29
|
+
altsep = self.flavour.altsep
|
|
30
|
+
actual = f([x.replace('/', sep) for x in arg])
|
|
31
|
+
self.assertEqual(actual, expected)
|
|
32
|
+
if altsep:
|
|
33
|
+
actual = f([x.replace('/', altsep) for x in arg])
|
|
34
|
+
self.assertEqual(actual, expected)
|
|
35
|
+
|
|
36
|
+
def test_parse_parts_common(self):
|
|
37
|
+
check = self._check_parse_parts
|
|
38
|
+
sep = self.flavour.sep
|
|
39
|
+
# Unanchored parts
|
|
40
|
+
check([], ('', '', []))
|
|
41
|
+
check(['a'], ('', '', ['a']))
|
|
42
|
+
check(['a/'], ('', '', ['a']))
|
|
43
|
+
check(['a', 'b'], ('', '', ['a', 'b']))
|
|
44
|
+
# Expansion
|
|
45
|
+
check(['a/b'], ('', '', ['a', 'b']))
|
|
46
|
+
check(['a/b/'], ('', '', ['a', 'b']))
|
|
47
|
+
check(['a', 'b/c', 'd'], ('', '', ['a', 'b', 'c', 'd']))
|
|
48
|
+
# Collapsing and stripping excess slashes
|
|
49
|
+
check(['a', 'b//c', 'd'], ('', '', ['a', 'b', 'c', 'd']))
|
|
50
|
+
check(['a', 'b/c/', 'd'], ('', '', ['a', 'b', 'c', 'd']))
|
|
51
|
+
# Eliminating standalone dots
|
|
52
|
+
check(['.'], ('', '', []))
|
|
53
|
+
check(['.', '.', 'b'], ('', '', ['b']))
|
|
54
|
+
check(['a', '.', 'b'], ('', '', ['a', 'b']))
|
|
55
|
+
check(['a', '.', '.'], ('', '', ['a']))
|
|
56
|
+
# The first part is anchored
|
|
57
|
+
check(['/a/b'], ('', sep, [sep, 'a', 'b']))
|
|
58
|
+
check(['/a', 'b'], ('', sep, [sep, 'a', 'b']))
|
|
59
|
+
check(['/a/', 'b'], ('', sep, [sep, 'a', 'b']))
|
|
60
|
+
# Ignoring parts before an anchored part
|
|
61
|
+
check(['a', '/b', 'c'], ('', sep, [sep, 'b', 'c']))
|
|
62
|
+
check(['a', '/b', '/c'], ('', sep, [sep, 'c']))
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
class PosixFlavourTest(_BaseFlavourTest, unittest.TestCase):
|
|
66
|
+
flavour = pathlib._posix_flavour
|
|
67
|
+
|
|
68
|
+
def test_parse_parts(self):
|
|
69
|
+
check = self._check_parse_parts
|
|
70
|
+
# Collapsing of excess leading slashes, except for the double-slash
|
|
71
|
+
# special case.
|
|
72
|
+
check(['//a', 'b'], ('', '//', ['//', 'a', 'b']))
|
|
73
|
+
check(['///a', 'b'], ('', '/', ['/', 'a', 'b']))
|
|
74
|
+
check(['////a', 'b'], ('', '/', ['/', 'a', 'b']))
|
|
75
|
+
# Paths which look like NT paths aren't treated specially
|
|
76
|
+
check(['c:a'], ('', '', ['c:a']))
|
|
77
|
+
check(['c:\\a'], ('', '', ['c:\\a']))
|
|
78
|
+
check(['\\a'], ('', '', ['\\a']))
|
|
79
|
+
|
|
80
|
+
def test_splitroot(self):
|
|
81
|
+
f = self.flavour.splitroot
|
|
82
|
+
self.assertEqual(f(''), ('', '', ''))
|
|
83
|
+
self.assertEqual(f('a'), ('', '', 'a'))
|
|
84
|
+
self.assertEqual(f('a/b'), ('', '', 'a/b'))
|
|
85
|
+
self.assertEqual(f('a/b/'), ('', '', 'a/b/'))
|
|
86
|
+
self.assertEqual(f('/a'), ('', '/', 'a'))
|
|
87
|
+
self.assertEqual(f('/a/b'), ('', '/', 'a/b'))
|
|
88
|
+
self.assertEqual(f('/a/b/'), ('', '/', 'a/b/'))
|
|
89
|
+
# The root is collapsed when there are redundant slashes
|
|
90
|
+
# except when there are exactly two leading slashes, which
|
|
91
|
+
# is a special case in POSIX.
|
|
92
|
+
self.assertEqual(f('//a'), ('', '//', 'a'))
|
|
93
|
+
self.assertEqual(f('///a'), ('', '/', 'a'))
|
|
94
|
+
self.assertEqual(f('///a/b'), ('', '/', 'a/b'))
|
|
95
|
+
# Paths which look like NT paths aren't treated specially
|
|
96
|
+
self.assertEqual(f('c:/a/b'), ('', '', 'c:/a/b'))
|
|
97
|
+
self.assertEqual(f('\\/a/b'), ('', '', '\\/a/b'))
|
|
98
|
+
self.assertEqual(f('\\a\\b'), ('', '', '\\a\\b'))
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
class NTFlavourTest(_BaseFlavourTest, unittest.TestCase):
|
|
102
|
+
flavour = pathlib._windows_flavour
|
|
103
|
+
|
|
104
|
+
def test_parse_parts(self):
|
|
105
|
+
check = self._check_parse_parts
|
|
106
|
+
# First part is anchored
|
|
107
|
+
check(['c:'], ('c:', '', ['c:']))
|
|
108
|
+
check(['c:\\'], ('c:', '\\', ['c:\\']))
|
|
109
|
+
check(['\\'], ('', '\\', ['\\']))
|
|
110
|
+
check(['c:a'], ('c:', '', ['c:', 'a']))
|
|
111
|
+
check(['c:\\a'], ('c:', '\\', ['c:\\', 'a']))
|
|
112
|
+
check(['\\a'], ('', '\\', ['\\', 'a']))
|
|
113
|
+
# UNC paths
|
|
114
|
+
check(['\\\\a\\b'], ('\\\\a\\b', '\\', ['\\\\a\\b\\']))
|
|
115
|
+
check(['\\\\a\\b\\'], ('\\\\a\\b', '\\', ['\\\\a\\b\\']))
|
|
116
|
+
check(['\\\\a\\b\\c'], ('\\\\a\\b', '\\', ['\\\\a\\b\\', 'c']))
|
|
117
|
+
# Second part is anchored, so that the first part is ignored
|
|
118
|
+
check(['a', 'Z:b', 'c'], ('Z:', '', ['Z:', 'b', 'c']))
|
|
119
|
+
check(['a', 'Z:\\b', 'c'], ('Z:', '\\', ['Z:\\', 'b', 'c']))
|
|
120
|
+
check(['a', '\\b', 'c'], ('', '\\', ['\\', 'b', 'c']))
|
|
121
|
+
# UNC paths
|
|
122
|
+
check(['a', '\\\\b\\c', 'd'], ('\\\\b\\c', '\\', ['\\\\b\\c\\', 'd']))
|
|
123
|
+
# Collapsing and stripping excess slashes
|
|
124
|
+
check(['a', 'Z:\\\\b\\\\c\\', 'd\\'], ('Z:', '\\', ['Z:\\', 'b', 'c', 'd']))
|
|
125
|
+
# UNC paths
|
|
126
|
+
check(['a', '\\\\b\\c\\\\', 'd'], ('\\\\b\\c', '\\', ['\\\\b\\c\\', 'd']))
|
|
127
|
+
# Extended paths
|
|
128
|
+
check(['\\\\?\\c:\\'], ('\\\\?\\c:', '\\', ['\\\\?\\c:\\']))
|
|
129
|
+
check(['\\\\?\\c:\\a'], ('\\\\?\\c:', '\\', ['\\\\?\\c:\\', 'a']))
|
|
130
|
+
# Extended UNC paths (format is "\\?\UNC\server\share")
|
|
131
|
+
check(['\\\\?\\UNC\\b\\c'], ('\\\\?\\UNC\\b\\c', '\\', ['\\\\?\\UNC\\b\\c\\']))
|
|
132
|
+
check(['\\\\?\\UNC\\b\\c\\d'], ('\\\\?\\UNC\\b\\c', '\\', ['\\\\?\\UNC\\b\\c\\', 'd']))
|
|
133
|
+
|
|
134
|
+
def test_splitroot(self):
|
|
135
|
+
f = self.flavour.splitroot
|
|
136
|
+
self.assertEqual(f(''), ('', '', ''))
|
|
137
|
+
self.assertEqual(f('a'), ('', '', 'a'))
|
|
138
|
+
self.assertEqual(f('a\\b'), ('', '', 'a\\b'))
|
|
139
|
+
self.assertEqual(f('\\a'), ('', '\\', 'a'))
|
|
140
|
+
self.assertEqual(f('\\a\\b'), ('', '\\', 'a\\b'))
|
|
141
|
+
self.assertEqual(f('c:a\\b'), ('c:', '', 'a\\b'))
|
|
142
|
+
self.assertEqual(f('c:\\a\\b'), ('c:', '\\', 'a\\b'))
|
|
143
|
+
# Redundant slashes in the root are collapsed
|
|
144
|
+
self.assertEqual(f('\\\\a'), ('', '\\', 'a'))
|
|
145
|
+
self.assertEqual(f('\\\\\\a/b'), ('', '\\', 'a/b'))
|
|
146
|
+
self.assertEqual(f('c:\\\\a'), ('c:', '\\', 'a'))
|
|
147
|
+
self.assertEqual(f('c:\\\\\\a/b'), ('c:', '\\', 'a/b'))
|
|
148
|
+
# Valid UNC paths
|
|
149
|
+
self.assertEqual(f('\\\\a\\b'), ('\\\\a\\b', '\\', ''))
|
|
150
|
+
self.assertEqual(f('\\\\a\\b\\'), ('\\\\a\\b', '\\', ''))
|
|
151
|
+
self.assertEqual(f('\\\\a\\b\\c\\d'), ('\\\\a\\b', '\\', 'c\\d'))
|
|
152
|
+
# These are non-UNC paths (according to ntpath.py and test_ntpath)
|
|
153
|
+
# However, command.com says such paths are invalid, so it's
|
|
154
|
+
# difficult to know what the right semantics are
|
|
155
|
+
self.assertEqual(f('\\\\\\a\\b'), ('', '\\', 'a\\b'))
|
|
156
|
+
self.assertEqual(f('\\\\a'), ('', '\\', 'a'))
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
#
|
|
160
|
+
# Tests for the pure classes
|
|
161
|
+
#
|
|
162
|
+
|
|
163
|
+
class _BasePurePathTest(object):
|
|
164
|
+
|
|
165
|
+
# keys are canonical paths, values are list of tuples of arguments
|
|
166
|
+
# supposed to produce equal paths
|
|
167
|
+
equivalences = {
|
|
168
|
+
'a/b': [
|
|
169
|
+
('a', 'b'), ('a/', 'b'), ('a', 'b/'), ('a/', 'b/'),
|
|
170
|
+
('a/b/',), ('a//b',), ('a//b//',),
|
|
171
|
+
# empty components get removed
|
|
172
|
+
('', 'a', 'b'), ('a', '', 'b'), ('a', 'b', ''),
|
|
173
|
+
],
|
|
174
|
+
'/b/c/d': [
|
|
175
|
+
('a', '/b/c', 'd'), ('a', '///b//c', 'd/'),
|
|
176
|
+
('/a', '/b/c', 'd'),
|
|
177
|
+
# empty components get removed
|
|
178
|
+
('/', 'b', '', 'c/d'), ('/', '', 'b/c/d'), ('', '/b/c/d'),
|
|
179
|
+
],
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
def setUp(self):
|
|
183
|
+
p = self.cls('a')
|
|
184
|
+
self.flavour = p._flavour
|
|
185
|
+
self.sep = self.flavour.sep
|
|
186
|
+
self.altsep = self.flavour.altsep
|
|
187
|
+
|
|
188
|
+
def test_constructor_common(self):
|
|
189
|
+
P = self.cls
|
|
190
|
+
p = P('a')
|
|
191
|
+
self.assertIsInstance(p, P)
|
|
192
|
+
P('a', 'b', 'c')
|
|
193
|
+
P('/a', 'b', 'c')
|
|
194
|
+
P('a/b/c')
|
|
195
|
+
P('/a/b/c')
|
|
196
|
+
self.assertEqual(P(P('a')), P('a'))
|
|
197
|
+
self.assertEqual(P(P('a'), 'b'), P('a/b'))
|
|
198
|
+
self.assertEqual(P(P('a'), P('b')), P('a/b'))
|
|
199
|
+
|
|
200
|
+
def _check_str_subclass(self, *args):
|
|
201
|
+
# Issue #21127: it should be possible to construct a PurePath object
|
|
202
|
+
# from an str subclass instance, and it then gets converted to
|
|
203
|
+
# a pure str object.
|
|
204
|
+
class StrSubclass(str):
|
|
205
|
+
pass
|
|
206
|
+
P = self.cls
|
|
207
|
+
p = P(*(StrSubclass(x) for x in args))
|
|
208
|
+
self.assertEqual(p, P(*args))
|
|
209
|
+
for part in p.parts:
|
|
210
|
+
self.assertIs(type(part), str)
|
|
211
|
+
|
|
212
|
+
def test_str_subclass_common(self):
|
|
213
|
+
self._check_str_subclass('')
|
|
214
|
+
self._check_str_subclass('.')
|
|
215
|
+
self._check_str_subclass('a')
|
|
216
|
+
self._check_str_subclass('a/b.txt')
|
|
217
|
+
self._check_str_subclass('/a/b.txt')
|
|
218
|
+
|
|
219
|
+
def test_join_common(self):
|
|
220
|
+
P = self.cls
|
|
221
|
+
p = P('a/b')
|
|
222
|
+
pp = p.joinpath('c')
|
|
223
|
+
self.assertEqual(pp, P('a/b/c'))
|
|
224
|
+
self.assertIs(type(pp), type(p))
|
|
225
|
+
pp = p.joinpath('c', 'd')
|
|
226
|
+
self.assertEqual(pp, P('a/b/c/d'))
|
|
227
|
+
pp = p.joinpath(P('c'))
|
|
228
|
+
self.assertEqual(pp, P('a/b/c'))
|
|
229
|
+
pp = p.joinpath('/c')
|
|
230
|
+
self.assertEqual(pp, P('/c'))
|
|
231
|
+
|
|
232
|
+
def test_div_common(self):
|
|
233
|
+
# Basically the same as joinpath()
|
|
234
|
+
P = self.cls
|
|
235
|
+
p = P('a/b')
|
|
236
|
+
pp = p / 'c'
|
|
237
|
+
self.assertEqual(pp, P('a/b/c'))
|
|
238
|
+
self.assertIs(type(pp), type(p))
|
|
239
|
+
pp = p / 'c/d'
|
|
240
|
+
self.assertEqual(pp, P('a/b/c/d'))
|
|
241
|
+
pp = p / 'c' / 'd'
|
|
242
|
+
self.assertEqual(pp, P('a/b/c/d'))
|
|
243
|
+
pp = 'c' / p / 'd'
|
|
244
|
+
self.assertEqual(pp, P('c/a/b/d'))
|
|
245
|
+
pp = p / P('c')
|
|
246
|
+
self.assertEqual(pp, P('a/b/c'))
|
|
247
|
+
pp = p/ '/c'
|
|
248
|
+
self.assertEqual(pp, P('/c'))
|
|
249
|
+
|
|
250
|
+
def _check_str(self, expected, args):
|
|
251
|
+
p = self.cls(*args)
|
|
252
|
+
self.assertEqual(str(p), expected.replace('/', self.sep))
|
|
253
|
+
|
|
254
|
+
def test_str_common(self):
|
|
255
|
+
# Canonicalized paths roundtrip
|
|
256
|
+
for pathstr in ('a', 'a/b', 'a/b/c', '/', '/a/b', '/a/b/c'):
|
|
257
|
+
self._check_str(pathstr, (pathstr,))
|
|
258
|
+
# Special case for the empty path
|
|
259
|
+
self._check_str('.', ('',))
|
|
260
|
+
# Other tests for str() are in test_equivalences()
|
|
261
|
+
|
|
262
|
+
def test_as_posix_common(self):
|
|
263
|
+
P = self.cls
|
|
264
|
+
for pathstr in ('a', 'a/b', 'a/b/c', '/', '/a/b', '/a/b/c'):
|
|
265
|
+
self.assertEqual(P(pathstr).as_posix(), pathstr)
|
|
266
|
+
# Other tests for as_posix() are in test_equivalences()
|
|
267
|
+
|
|
268
|
+
def test_as_bytes_common(self):
|
|
269
|
+
sep = os.fsencode(self.sep)
|
|
270
|
+
P = self.cls
|
|
271
|
+
self.assertEqual(bytes(P('a/b')), b'a' + sep + b'b')
|
|
272
|
+
|
|
273
|
+
def test_as_uri_common(self):
|
|
274
|
+
P = self.cls
|
|
275
|
+
with self.assertRaises(ValueError):
|
|
276
|
+
P('a').as_uri()
|
|
277
|
+
with self.assertRaises(ValueError):
|
|
278
|
+
P().as_uri()
|
|
279
|
+
|
|
280
|
+
def test_repr_common(self):
|
|
281
|
+
for pathstr in ('a', 'a/b', 'a/b/c', '/', '/a/b', '/a/b/c'):
|
|
282
|
+
p = self.cls(pathstr)
|
|
283
|
+
clsname = p.__class__.__name__
|
|
284
|
+
r = repr(p)
|
|
285
|
+
# The repr() is in the form ClassName("forward-slashes path")
|
|
286
|
+
self.assertTrue(r.startswith(clsname + '('), r)
|
|
287
|
+
self.assertTrue(r.endswith(')'), r)
|
|
288
|
+
inner = r[len(clsname) + 1 : -1]
|
|
289
|
+
self.assertEqual(eval(inner), p.as_posix())
|
|
290
|
+
# The repr() roundtrips
|
|
291
|
+
q = eval(r, pathlib.__dict__)
|
|
292
|
+
self.assertIs(q.__class__, p.__class__)
|
|
293
|
+
self.assertEqual(q, p)
|
|
294
|
+
self.assertEqual(repr(q), r)
|
|
295
|
+
|
|
296
|
+
def test_eq_common(self):
|
|
297
|
+
P = self.cls
|
|
298
|
+
self.assertEqual(P('a/b'), P('a/b'))
|
|
299
|
+
self.assertEqual(P('a/b'), P('a', 'b'))
|
|
300
|
+
self.assertNotEqual(P('a/b'), P('a'))
|
|
301
|
+
self.assertNotEqual(P('a/b'), P('/a/b'))
|
|
302
|
+
self.assertNotEqual(P('a/b'), P())
|
|
303
|
+
self.assertNotEqual(P('/a/b'), P('/'))
|
|
304
|
+
self.assertNotEqual(P(), P('/'))
|
|
305
|
+
self.assertNotEqual(P(), "")
|
|
306
|
+
self.assertNotEqual(P(), {})
|
|
307
|
+
self.assertNotEqual(P(), int)
|
|
308
|
+
|
|
309
|
+
def test_match_common(self):
|
|
310
|
+
P = self.cls
|
|
311
|
+
self.assertRaises(ValueError, P('a').match, '')
|
|
312
|
+
self.assertRaises(ValueError, P('a').match, '.')
|
|
313
|
+
# Simple relative pattern
|
|
314
|
+
self.assertTrue(P('b.py').match('b.py'))
|
|
315
|
+
self.assertTrue(P('a/b.py').match('b.py'))
|
|
316
|
+
self.assertTrue(P('/a/b.py').match('b.py'))
|
|
317
|
+
self.assertFalse(P('a.py').match('b.py'))
|
|
318
|
+
self.assertFalse(P('b/py').match('b.py'))
|
|
319
|
+
self.assertFalse(P('/a.py').match('b.py'))
|
|
320
|
+
self.assertFalse(P('b.py/c').match('b.py'))
|
|
321
|
+
# Wilcard relative pattern
|
|
322
|
+
self.assertTrue(P('b.py').match('*.py'))
|
|
323
|
+
self.assertTrue(P('a/b.py').match('*.py'))
|
|
324
|
+
self.assertTrue(P('/a/b.py').match('*.py'))
|
|
325
|
+
self.assertFalse(P('b.pyc').match('*.py'))
|
|
326
|
+
self.assertFalse(P('b./py').match('*.py'))
|
|
327
|
+
self.assertFalse(P('b.py/c').match('*.py'))
|
|
328
|
+
# Multi-part relative pattern
|
|
329
|
+
self.assertTrue(P('ab/c.py').match('a*/*.py'))
|
|
330
|
+
self.assertTrue(P('/d/ab/c.py').match('a*/*.py'))
|
|
331
|
+
self.assertFalse(P('a.py').match('a*/*.py'))
|
|
332
|
+
self.assertFalse(P('/dab/c.py').match('a*/*.py'))
|
|
333
|
+
self.assertFalse(P('ab/c.py/d').match('a*/*.py'))
|
|
334
|
+
# Absolute pattern
|
|
335
|
+
self.assertTrue(P('/b.py').match('/*.py'))
|
|
336
|
+
self.assertFalse(P('b.py').match('/*.py'))
|
|
337
|
+
self.assertFalse(P('a/b.py').match('/*.py'))
|
|
338
|
+
self.assertFalse(P('/a/b.py').match('/*.py'))
|
|
339
|
+
# Multi-part absolute pattern
|
|
340
|
+
self.assertTrue(P('/a/b.py').match('/a/*.py'))
|
|
341
|
+
self.assertFalse(P('/ab.py').match('/a/*.py'))
|
|
342
|
+
self.assertFalse(P('/a/b/c.py').match('/a/*.py'))
|
|
343
|
+
|
|
344
|
+
def test_ordering_common(self):
|
|
345
|
+
# Ordering is tuple-alike
|
|
346
|
+
def assertLess(a, b):
|
|
347
|
+
self.assertLess(a, b)
|
|
348
|
+
self.assertGreater(b, a)
|
|
349
|
+
P = self.cls
|
|
350
|
+
a = P('a')
|
|
351
|
+
b = P('a/b')
|
|
352
|
+
c = P('abc')
|
|
353
|
+
d = P('b')
|
|
354
|
+
assertLess(a, b)
|
|
355
|
+
assertLess(a, c)
|
|
356
|
+
assertLess(a, d)
|
|
357
|
+
assertLess(b, c)
|
|
358
|
+
assertLess(c, d)
|
|
359
|
+
P = self.cls
|
|
360
|
+
a = P('/a')
|
|
361
|
+
b = P('/a/b')
|
|
362
|
+
c = P('/abc')
|
|
363
|
+
d = P('/b')
|
|
364
|
+
assertLess(a, b)
|
|
365
|
+
assertLess(a, c)
|
|
366
|
+
assertLess(a, d)
|
|
367
|
+
assertLess(b, c)
|
|
368
|
+
assertLess(c, d)
|
|
369
|
+
with self.assertRaises(TypeError):
|
|
370
|
+
P() < {}
|
|
371
|
+
|
|
372
|
+
def test_parts_common(self):
|
|
373
|
+
# `parts` returns a tuple
|
|
374
|
+
sep = self.sep
|
|
375
|
+
P = self.cls
|
|
376
|
+
p = P('a/b')
|
|
377
|
+
parts = p.parts
|
|
378
|
+
self.assertEqual(parts, ('a', 'b'))
|
|
379
|
+
# The object gets reused
|
|
380
|
+
self.assertIs(parts, p.parts)
|
|
381
|
+
# When the path is absolute, the anchor is a separate part
|
|
382
|
+
p = P('/a/b')
|
|
383
|
+
parts = p.parts
|
|
384
|
+
self.assertEqual(parts, (sep, 'a', 'b'))
|
|
385
|
+
|
|
386
|
+
def test_equivalences(self):
|
|
387
|
+
for k, tuples in self.equivalences.items():
|
|
388
|
+
canon = k.replace('/', self.sep)
|
|
389
|
+
posix = k.replace(self.sep, '/')
|
|
390
|
+
if canon != posix:
|
|
391
|
+
tuples = tuples + [
|
|
392
|
+
tuple(part.replace('/', self.sep) for part in t)
|
|
393
|
+
for t in tuples
|
|
394
|
+
]
|
|
395
|
+
tuples.append((posix, ))
|
|
396
|
+
pcanon = self.cls(canon)
|
|
397
|
+
for t in tuples:
|
|
398
|
+
p = self.cls(*t)
|
|
399
|
+
self.assertEqual(p, pcanon, "failed with args {}".format(t))
|
|
400
|
+
self.assertEqual(hash(p), hash(pcanon))
|
|
401
|
+
self.assertEqual(str(p), canon)
|
|
402
|
+
self.assertEqual(p.as_posix(), posix)
|
|
403
|
+
|
|
404
|
+
def test_parent_common(self):
|
|
405
|
+
# Relative
|
|
406
|
+
P = self.cls
|
|
407
|
+
p = P('a/b/c')
|
|
408
|
+
self.assertEqual(p.parent, P('a/b'))
|
|
409
|
+
self.assertEqual(p.parent.parent, P('a'))
|
|
410
|
+
self.assertEqual(p.parent.parent.parent, P())
|
|
411
|
+
self.assertEqual(p.parent.parent.parent.parent, P())
|
|
412
|
+
# Anchored
|
|
413
|
+
p = P('/a/b/c')
|
|
414
|
+
self.assertEqual(p.parent, P('/a/b'))
|
|
415
|
+
self.assertEqual(p.parent.parent, P('/a'))
|
|
416
|
+
self.assertEqual(p.parent.parent.parent, P('/'))
|
|
417
|
+
self.assertEqual(p.parent.parent.parent.parent, P('/'))
|
|
418
|
+
|
|
419
|
+
def test_parents_common(self):
|
|
420
|
+
# Relative
|
|
421
|
+
P = self.cls
|
|
422
|
+
p = P('a/b/c')
|
|
423
|
+
par = p.parents
|
|
424
|
+
self.assertEqual(len(par), 3)
|
|
425
|
+
self.assertEqual(par[0], P('a/b'))
|
|
426
|
+
self.assertEqual(par[1], P('a'))
|
|
427
|
+
self.assertEqual(par[2], P('.'))
|
|
428
|
+
self.assertEqual(list(par), [P('a/b'), P('a'), P('.')])
|
|
429
|
+
with self.assertRaises(IndexError):
|
|
430
|
+
par[-1]
|
|
431
|
+
with self.assertRaises(IndexError):
|
|
432
|
+
par[3]
|
|
433
|
+
with self.assertRaises(TypeError):
|
|
434
|
+
par[0] = p
|
|
435
|
+
# Anchored
|
|
436
|
+
p = P('/a/b/c')
|
|
437
|
+
par = p.parents
|
|
438
|
+
self.assertEqual(len(par), 3)
|
|
439
|
+
self.assertEqual(par[0], P('/a/b'))
|
|
440
|
+
self.assertEqual(par[1], P('/a'))
|
|
441
|
+
self.assertEqual(par[2], P('/'))
|
|
442
|
+
self.assertEqual(list(par), [P('/a/b'), P('/a'), P('/')])
|
|
443
|
+
with self.assertRaises(IndexError):
|
|
444
|
+
par[3]
|
|
445
|
+
|
|
446
|
+
def test_drive_common(self):
|
|
447
|
+
P = self.cls
|
|
448
|
+
self.assertEqual(P('a/b').drive, '')
|
|
449
|
+
self.assertEqual(P('/a/b').drive, '')
|
|
450
|
+
self.assertEqual(P('').drive, '')
|
|
451
|
+
|
|
452
|
+
def test_root_common(self):
|
|
453
|
+
P = self.cls
|
|
454
|
+
sep = self.sep
|
|
455
|
+
self.assertEqual(P('').root, '')
|
|
456
|
+
self.assertEqual(P('a/b').root, '')
|
|
457
|
+
self.assertEqual(P('/').root, sep)
|
|
458
|
+
self.assertEqual(P('/a/b').root, sep)
|
|
459
|
+
|
|
460
|
+
def test_anchor_common(self):
|
|
461
|
+
P = self.cls
|
|
462
|
+
sep = self.sep
|
|
463
|
+
self.assertEqual(P('').anchor, '')
|
|
464
|
+
self.assertEqual(P('a/b').anchor, '')
|
|
465
|
+
self.assertEqual(P('/').anchor, sep)
|
|
466
|
+
self.assertEqual(P('/a/b').anchor, sep)
|
|
467
|
+
|
|
468
|
+
def test_name_common(self):
|
|
469
|
+
P = self.cls
|
|
470
|
+
self.assertEqual(P('').name, '')
|
|
471
|
+
self.assertEqual(P('.').name, '')
|
|
472
|
+
self.assertEqual(P('/').name, '')
|
|
473
|
+
self.assertEqual(P('a/b').name, 'b')
|
|
474
|
+
self.assertEqual(P('/a/b').name, 'b')
|
|
475
|
+
self.assertEqual(P('/a/b/.').name, 'b')
|
|
476
|
+
self.assertEqual(P('a/b.py').name, 'b.py')
|
|
477
|
+
self.assertEqual(P('/a/b.py').name, 'b.py')
|
|
478
|
+
|
|
479
|
+
def test_suffix_common(self):
|
|
480
|
+
P = self.cls
|
|
481
|
+
self.assertEqual(P('').suffix, '')
|
|
482
|
+
self.assertEqual(P('.').suffix, '')
|
|
483
|
+
self.assertEqual(P('..').suffix, '')
|
|
484
|
+
self.assertEqual(P('/').suffix, '')
|
|
485
|
+
self.assertEqual(P('a/b').suffix, '')
|
|
486
|
+
self.assertEqual(P('/a/b').suffix, '')
|
|
487
|
+
self.assertEqual(P('/a/b/.').suffix, '')
|
|
488
|
+
self.assertEqual(P('a/b.py').suffix, '.py')
|
|
489
|
+
self.assertEqual(P('/a/b.py').suffix, '.py')
|
|
490
|
+
self.assertEqual(P('a/.hgrc').suffix, '')
|
|
491
|
+
self.assertEqual(P('/a/.hgrc').suffix, '')
|
|
492
|
+
self.assertEqual(P('a/.hg.rc').suffix, '.rc')
|
|
493
|
+
self.assertEqual(P('/a/.hg.rc').suffix, '.rc')
|
|
494
|
+
self.assertEqual(P('a/b.tar.gz').suffix, '.gz')
|
|
495
|
+
self.assertEqual(P('/a/b.tar.gz').suffix, '.gz')
|
|
496
|
+
self.assertEqual(P('a/Some name. Ending with a dot.').suffix, '')
|
|
497
|
+
self.assertEqual(P('/a/Some name. Ending with a dot.').suffix, '')
|
|
498
|
+
|
|
499
|
+
def test_suffixes_common(self):
|
|
500
|
+
P = self.cls
|
|
501
|
+
self.assertEqual(P('').suffixes, [])
|
|
502
|
+
self.assertEqual(P('.').suffixes, [])
|
|
503
|
+
self.assertEqual(P('/').suffixes, [])
|
|
504
|
+
self.assertEqual(P('a/b').suffixes, [])
|
|
505
|
+
self.assertEqual(P('/a/b').suffixes, [])
|
|
506
|
+
self.assertEqual(P('/a/b/.').suffixes, [])
|
|
507
|
+
self.assertEqual(P('a/b.py').suffixes, ['.py'])
|
|
508
|
+
self.assertEqual(P('/a/b.py').suffixes, ['.py'])
|
|
509
|
+
self.assertEqual(P('a/.hgrc').suffixes, [])
|
|
510
|
+
self.assertEqual(P('/a/.hgrc').suffixes, [])
|
|
511
|
+
self.assertEqual(P('a/.hg.rc').suffixes, ['.rc'])
|
|
512
|
+
self.assertEqual(P('/a/.hg.rc').suffixes, ['.rc'])
|
|
513
|
+
self.assertEqual(P('a/b.tar.gz').suffixes, ['.tar', '.gz'])
|
|
514
|
+
self.assertEqual(P('/a/b.tar.gz').suffixes, ['.tar', '.gz'])
|
|
515
|
+
self.assertEqual(P('a/Some name. Ending with a dot.').suffixes, [])
|
|
516
|
+
self.assertEqual(P('/a/Some name. Ending with a dot.').suffixes, [])
|
|
517
|
+
|
|
518
|
+
def test_stem_common(self):
|
|
519
|
+
P = self.cls
|
|
520
|
+
self.assertEqual(P('').stem, '')
|
|
521
|
+
self.assertEqual(P('.').stem, '')
|
|
522
|
+
self.assertEqual(P('..').stem, '..')
|
|
523
|
+
self.assertEqual(P('/').stem, '')
|
|
524
|
+
self.assertEqual(P('a/b').stem, 'b')
|
|
525
|
+
self.assertEqual(P('a/b.py').stem, 'b')
|
|
526
|
+
self.assertEqual(P('a/.hgrc').stem, '.hgrc')
|
|
527
|
+
self.assertEqual(P('a/.hg.rc').stem, '.hg')
|
|
528
|
+
self.assertEqual(P('a/b.tar.gz').stem, 'b.tar')
|
|
529
|
+
self.assertEqual(P('a/Some name. Ending with a dot.').stem,
|
|
530
|
+
'Some name. Ending with a dot.')
|
|
531
|
+
|
|
532
|
+
def test_with_name_common(self):
|
|
533
|
+
P = self.cls
|
|
534
|
+
self.assertEqual(P('a/b').with_name('d.xml'), P('a/d.xml'))
|
|
535
|
+
self.assertEqual(P('/a/b').with_name('d.xml'), P('/a/d.xml'))
|
|
536
|
+
self.assertEqual(P('a/b.py').with_name('d.xml'), P('a/d.xml'))
|
|
537
|
+
self.assertEqual(P('/a/b.py').with_name('d.xml'), P('/a/d.xml'))
|
|
538
|
+
self.assertEqual(P('a/Dot ending.').with_name('d.xml'), P('a/d.xml'))
|
|
539
|
+
self.assertEqual(P('/a/Dot ending.').with_name('d.xml'), P('/a/d.xml'))
|
|
540
|
+
self.assertRaises(ValueError, P('').with_name, 'd.xml')
|
|
541
|
+
self.assertRaises(ValueError, P('.').with_name, 'd.xml')
|
|
542
|
+
self.assertRaises(ValueError, P('/').with_name, 'd.xml')
|
|
543
|
+
self.assertRaises(ValueError, P('a/b').with_name, '')
|
|
544
|
+
self.assertRaises(ValueError, P('a/b').with_name, '/c')
|
|
545
|
+
self.assertRaises(ValueError, P('a/b').with_name, 'c/')
|
|
546
|
+
self.assertRaises(ValueError, P('a/b').with_name, 'c/d')
|
|
547
|
+
|
|
548
|
+
def test_with_suffix_common(self):
|
|
549
|
+
P = self.cls
|
|
550
|
+
self.assertEqual(P('a/b').with_suffix('.gz'), P('a/b.gz'))
|
|
551
|
+
self.assertEqual(P('/a/b').with_suffix('.gz'), P('/a/b.gz'))
|
|
552
|
+
self.assertEqual(P('a/b.py').with_suffix('.gz'), P('a/b.gz'))
|
|
553
|
+
self.assertEqual(P('/a/b.py').with_suffix('.gz'), P('/a/b.gz'))
|
|
554
|
+
# Stripping suffix
|
|
555
|
+
self.assertEqual(P('a/b.py').with_suffix(''), P('a/b'))
|
|
556
|
+
self.assertEqual(P('/a/b').with_suffix(''), P('/a/b'))
|
|
557
|
+
# Path doesn't have a "filename" component
|
|
558
|
+
self.assertRaises(ValueError, P('').with_suffix, '.gz')
|
|
559
|
+
self.assertRaises(ValueError, P('.').with_suffix, '.gz')
|
|
560
|
+
self.assertRaises(ValueError, P('/').with_suffix, '.gz')
|
|
561
|
+
# Invalid suffix
|
|
562
|
+
self.assertRaises(ValueError, P('a/b').with_suffix, 'gz')
|
|
563
|
+
self.assertRaises(ValueError, P('a/b').with_suffix, '/')
|
|
564
|
+
self.assertRaises(ValueError, P('a/b').with_suffix, '.')
|
|
565
|
+
self.assertRaises(ValueError, P('a/b').with_suffix, '/.gz')
|
|
566
|
+
self.assertRaises(ValueError, P('a/b').with_suffix, 'c/d')
|
|
567
|
+
self.assertRaises(ValueError, P('a/b').with_suffix, '.c/.d')
|
|
568
|
+
self.assertRaises(ValueError, P('a/b').with_suffix, './.d')
|
|
569
|
+
self.assertRaises(ValueError, P('a/b').with_suffix, '.d/.')
|
|
570
|
+
|
|
571
|
+
def test_relative_to_common(self):
|
|
572
|
+
P = self.cls
|
|
573
|
+
p = P('a/b')
|
|
574
|
+
self.assertRaises(TypeError, p.relative_to)
|
|
575
|
+
self.assertRaises(TypeError, p.relative_to, b'a')
|
|
576
|
+
self.assertEqual(p.relative_to(P()), P('a/b'))
|
|
577
|
+
self.assertEqual(p.relative_to(''), P('a/b'))
|
|
578
|
+
self.assertEqual(p.relative_to(P('a')), P('b'))
|
|
579
|
+
self.assertEqual(p.relative_to('a'), P('b'))
|
|
580
|
+
self.assertEqual(p.relative_to('a/'), P('b'))
|
|
581
|
+
self.assertEqual(p.relative_to(P('a/b')), P())
|
|
582
|
+
self.assertEqual(p.relative_to('a/b'), P())
|
|
583
|
+
# With several args
|
|
584
|
+
self.assertEqual(p.relative_to('a', 'b'), P())
|
|
585
|
+
# Unrelated paths
|
|
586
|
+
self.assertRaises(ValueError, p.relative_to, P('c'))
|
|
587
|
+
self.assertRaises(ValueError, p.relative_to, P('a/b/c'))
|
|
588
|
+
self.assertRaises(ValueError, p.relative_to, P('a/c'))
|
|
589
|
+
self.assertRaises(ValueError, p.relative_to, P('/a'))
|
|
590
|
+
p = P('/a/b')
|
|
591
|
+
self.assertEqual(p.relative_to(P('/')), P('a/b'))
|
|
592
|
+
self.assertEqual(p.relative_to('/'), P('a/b'))
|
|
593
|
+
self.assertEqual(p.relative_to(P('/a')), P('b'))
|
|
594
|
+
self.assertEqual(p.relative_to('/a'), P('b'))
|
|
595
|
+
self.assertEqual(p.relative_to('/a/'), P('b'))
|
|
596
|
+
self.assertEqual(p.relative_to(P('/a/b')), P())
|
|
597
|
+
self.assertEqual(p.relative_to('/a/b'), P())
|
|
598
|
+
# Unrelated paths
|
|
599
|
+
self.assertRaises(ValueError, p.relative_to, P('/c'))
|
|
600
|
+
self.assertRaises(ValueError, p.relative_to, P('/a/b/c'))
|
|
601
|
+
self.assertRaises(ValueError, p.relative_to, P('/a/c'))
|
|
602
|
+
self.assertRaises(ValueError, p.relative_to, P())
|
|
603
|
+
self.assertRaises(ValueError, p.relative_to, '')
|
|
604
|
+
self.assertRaises(ValueError, p.relative_to, P('a'))
|
|
605
|
+
|
|
606
|
+
def test_pickling_common(self):
|
|
607
|
+
P = self.cls
|
|
608
|
+
p = P('/a/b')
|
|
609
|
+
for proto in range(0, pickle.HIGHEST_PROTOCOL + 1):
|
|
610
|
+
dumped = pickle.dumps(p, proto)
|
|
611
|
+
pp = pickle.loads(dumped)
|
|
612
|
+
self.assertIs(pp.__class__, p.__class__)
|
|
613
|
+
self.assertEqual(pp, p)
|
|
614
|
+
self.assertEqual(hash(pp), hash(p))
|
|
615
|
+
self.assertEqual(str(pp), str(p))
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
class PurePosixPathTest(_BasePurePathTest, unittest.TestCase):
|
|
619
|
+
cls = pathlib.PurePosixPath
|
|
620
|
+
|
|
621
|
+
def test_root(self):
|
|
622
|
+
P = self.cls
|
|
623
|
+
self.assertEqual(P('/a/b').root, '/')
|
|
624
|
+
self.assertEqual(P('///a/b').root, '/')
|
|
625
|
+
# POSIX special case for two leading slashes
|
|
626
|
+
self.assertEqual(P('//a/b').root, '//')
|
|
627
|
+
|
|
628
|
+
def test_eq(self):
|
|
629
|
+
P = self.cls
|
|
630
|
+
self.assertNotEqual(P('a/b'), P('A/b'))
|
|
631
|
+
self.assertEqual(P('/a'), P('///a'))
|
|
632
|
+
self.assertNotEqual(P('/a'), P('//a'))
|
|
633
|
+
|
|
634
|
+
def test_as_uri(self):
|
|
635
|
+
P = self.cls
|
|
636
|
+
self.assertEqual(P('/').as_uri(), 'file:///')
|
|
637
|
+
self.assertEqual(P('/a/b.c').as_uri(), 'file:///a/b.c')
|
|
638
|
+
self.assertEqual(P('/a/b%#c').as_uri(), 'file:///a/b%25%23c')
|
|
639
|
+
|
|
640
|
+
def test_as_uri_non_ascii(self):
|
|
641
|
+
from urllib.parse import quote_from_bytes
|
|
642
|
+
P = self.cls
|
|
643
|
+
try:
|
|
644
|
+
os.fsencode('\xe9')
|
|
645
|
+
except UnicodeEncodeError:
|
|
646
|
+
self.skipTest("\\xe9 cannot be encoded to the filesystem encoding")
|
|
647
|
+
self.assertEqual(P('/a/b\xe9').as_uri(),
|
|
648
|
+
'file:///a/b' + quote_from_bytes(os.fsencode('\xe9')))
|
|
649
|
+
|
|
650
|
+
def test_match(self):
|
|
651
|
+
P = self.cls
|
|
652
|
+
self.assertFalse(P('A.py').match('a.PY'))
|
|
653
|
+
|
|
654
|
+
def test_is_absolute(self):
|
|
655
|
+
P = self.cls
|
|
656
|
+
self.assertFalse(P().is_absolute())
|
|
657
|
+
self.assertFalse(P('a').is_absolute())
|
|
658
|
+
self.assertFalse(P('a/b/').is_absolute())
|
|
659
|
+
self.assertTrue(P('/').is_absolute())
|
|
660
|
+
self.assertTrue(P('/a').is_absolute())
|
|
661
|
+
self.assertTrue(P('/a/b/').is_absolute())
|
|
662
|
+
self.assertTrue(P('//a').is_absolute())
|
|
663
|
+
self.assertTrue(P('//a/b').is_absolute())
|
|
664
|
+
|
|
665
|
+
def test_is_reserved(self):
|
|
666
|
+
P = self.cls
|
|
667
|
+
self.assertIs(False, P('').is_reserved())
|
|
668
|
+
self.assertIs(False, P('/').is_reserved())
|
|
669
|
+
self.assertIs(False, P('/foo/bar').is_reserved())
|
|
670
|
+
self.assertIs(False, P('/dev/con/PRN/NUL').is_reserved())
|
|
671
|
+
|
|
672
|
+
def test_join(self):
|
|
673
|
+
P = self.cls
|
|
674
|
+
p = P('//a')
|
|
675
|
+
pp = p.joinpath('b')
|
|
676
|
+
self.assertEqual(pp, P('//a/b'))
|
|
677
|
+
pp = P('/a').joinpath('//c')
|
|
678
|
+
self.assertEqual(pp, P('//c'))
|
|
679
|
+
pp = P('//a').joinpath('/c')
|
|
680
|
+
self.assertEqual(pp, P('/c'))
|
|
681
|
+
|
|
682
|
+
def test_div(self):
|
|
683
|
+
# Basically the same as joinpath()
|
|
684
|
+
P = self.cls
|
|
685
|
+
p = P('//a')
|
|
686
|
+
pp = p / 'b'
|
|
687
|
+
self.assertEqual(pp, P('//a/b'))
|
|
688
|
+
pp = P('/a') / '//c'
|
|
689
|
+
self.assertEqual(pp, P('//c'))
|
|
690
|
+
pp = P('//a') / '/c'
|
|
691
|
+
self.assertEqual(pp, P('/c'))
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
class PureWindowsPathTest(_BasePurePathTest, unittest.TestCase):
|
|
695
|
+
cls = pathlib.PureWindowsPath
|
|
696
|
+
|
|
697
|
+
equivalences = _BasePurePathTest.equivalences.copy()
|
|
698
|
+
equivalences.update({
|
|
699
|
+
'c:a': [ ('c:', 'a'), ('c:', 'a/'), ('/', 'c:', 'a') ],
|
|
700
|
+
'c:/a': [
|
|
701
|
+
('c:/', 'a'), ('c:', '/', 'a'), ('c:', '/a'),
|
|
702
|
+
('/z', 'c:/', 'a'), ('//x/y', 'c:/', 'a'),
|
|
703
|
+
],
|
|
704
|
+
'//a/b/': [ ('//a/b',) ],
|
|
705
|
+
'//a/b/c': [
|
|
706
|
+
('//a/b', 'c'), ('//a/b/', 'c'),
|
|
707
|
+
],
|
|
708
|
+
})
|
|
709
|
+
|
|
710
|
+
def test_str(self):
|
|
711
|
+
p = self.cls('a/b/c')
|
|
712
|
+
self.assertEqual(str(p), 'a\\b\\c')
|
|
713
|
+
p = self.cls('c:/a/b/c')
|
|
714
|
+
self.assertEqual(str(p), 'c:\\a\\b\\c')
|
|
715
|
+
p = self.cls('//a/b')
|
|
716
|
+
self.assertEqual(str(p), '\\\\a\\b\\')
|
|
717
|
+
p = self.cls('//a/b/c')
|
|
718
|
+
self.assertEqual(str(p), '\\\\a\\b\\c')
|
|
719
|
+
p = self.cls('//a/b/c/d')
|
|
720
|
+
self.assertEqual(str(p), '\\\\a\\b\\c\\d')
|
|
721
|
+
|
|
722
|
+
def test_str_subclass(self):
|
|
723
|
+
self._check_str_subclass('c:')
|
|
724
|
+
self._check_str_subclass('c:a')
|
|
725
|
+
self._check_str_subclass('c:a\\b.txt')
|
|
726
|
+
self._check_str_subclass('c:\\')
|
|
727
|
+
self._check_str_subclass('c:\\a')
|
|
728
|
+
self._check_str_subclass('c:\\a\\b.txt')
|
|
729
|
+
self._check_str_subclass('\\\\some\\share')
|
|
730
|
+
self._check_str_subclass('\\\\some\\share\\a')
|
|
731
|
+
self._check_str_subclass('\\\\some\\share\\a\\b.txt')
|
|
732
|
+
|
|
733
|
+
def test_eq(self):
|
|
734
|
+
P = self.cls
|
|
735
|
+
self.assertEqual(P('c:a/b'), P('c:a/b'))
|
|
736
|
+
self.assertEqual(P('c:a/b'), P('c:', 'a', 'b'))
|
|
737
|
+
self.assertNotEqual(P('c:a/b'), P('d:a/b'))
|
|
738
|
+
self.assertNotEqual(P('c:a/b'), P('c:/a/b'))
|
|
739
|
+
self.assertNotEqual(P('/a/b'), P('c:/a/b'))
|
|
740
|
+
# Case-insensitivity
|
|
741
|
+
self.assertEqual(P('a/B'), P('A/b'))
|
|
742
|
+
self.assertEqual(P('C:a/B'), P('c:A/b'))
|
|
743
|
+
self.assertEqual(P('//Some/SHARE/a/B'), P('//somE/share/A/b'))
|
|
744
|
+
|
|
745
|
+
def test_as_uri(self):
|
|
746
|
+
from urllib.parse import quote_from_bytes
|
|
747
|
+
P = self.cls
|
|
748
|
+
with self.assertRaises(ValueError):
|
|
749
|
+
P('/a/b').as_uri()
|
|
750
|
+
with self.assertRaises(ValueError):
|
|
751
|
+
P('c:a/b').as_uri()
|
|
752
|
+
self.assertEqual(P('c:/').as_uri(), 'file:///c:/')
|
|
753
|
+
self.assertEqual(P('c:/a/b.c').as_uri(), 'file:///c:/a/b.c')
|
|
754
|
+
self.assertEqual(P('c:/a/b%#c').as_uri(), 'file:///c:/a/b%25%23c')
|
|
755
|
+
self.assertEqual(P('c:/a/b\xe9').as_uri(), 'file:///c:/a/b%C3%A9')
|
|
756
|
+
self.assertEqual(P('//some/share/').as_uri(), 'file://some/share/')
|
|
757
|
+
self.assertEqual(P('//some/share/a/b.c').as_uri(),
|
|
758
|
+
'file://some/share/a/b.c')
|
|
759
|
+
self.assertEqual(P('//some/share/a/b%#c\xe9').as_uri(),
|
|
760
|
+
'file://some/share/a/b%25%23c%C3%A9')
|
|
761
|
+
|
|
762
|
+
def test_match_common(self):
|
|
763
|
+
P = self.cls
|
|
764
|
+
# Absolute patterns
|
|
765
|
+
self.assertTrue(P('c:/b.py').match('/*.py'))
|
|
766
|
+
self.assertTrue(P('c:/b.py').match('c:*.py'))
|
|
767
|
+
self.assertTrue(P('c:/b.py').match('c:/*.py'))
|
|
768
|
+
self.assertFalse(P('d:/b.py').match('c:/*.py')) # wrong drive
|
|
769
|
+
self.assertFalse(P('b.py').match('/*.py'))
|
|
770
|
+
self.assertFalse(P('b.py').match('c:*.py'))
|
|
771
|
+
self.assertFalse(P('b.py').match('c:/*.py'))
|
|
772
|
+
self.assertFalse(P('c:b.py').match('/*.py'))
|
|
773
|
+
self.assertFalse(P('c:b.py').match('c:/*.py'))
|
|
774
|
+
self.assertFalse(P('/b.py').match('c:*.py'))
|
|
775
|
+
self.assertFalse(P('/b.py').match('c:/*.py'))
|
|
776
|
+
# UNC patterns
|
|
777
|
+
self.assertTrue(P('//some/share/a.py').match('/*.py'))
|
|
778
|
+
self.assertTrue(P('//some/share/a.py').match('//some/share/*.py'))
|
|
779
|
+
self.assertFalse(P('//other/share/a.py').match('//some/share/*.py'))
|
|
780
|
+
self.assertFalse(P('//some/share/a/b.py').match('//some/share/*.py'))
|
|
781
|
+
# Case-insensitivity
|
|
782
|
+
self.assertTrue(P('B.py').match('b.PY'))
|
|
783
|
+
self.assertTrue(P('c:/a/B.Py').match('C:/A/*.pY'))
|
|
784
|
+
self.assertTrue(P('//Some/Share/B.Py').match('//somE/sharE/*.pY'))
|
|
785
|
+
|
|
786
|
+
def test_ordering_common(self):
|
|
787
|
+
# Case-insensitivity
|
|
788
|
+
def assertOrderedEqual(a, b):
|
|
789
|
+
self.assertLessEqual(a, b)
|
|
790
|
+
self.assertGreaterEqual(b, a)
|
|
791
|
+
P = self.cls
|
|
792
|
+
p = P('c:A/b')
|
|
793
|
+
q = P('C:a/B')
|
|
794
|
+
assertOrderedEqual(p, q)
|
|
795
|
+
self.assertFalse(p < q)
|
|
796
|
+
self.assertFalse(p > q)
|
|
797
|
+
p = P('//some/Share/A/b')
|
|
798
|
+
q = P('//Some/SHARE/a/B')
|
|
799
|
+
assertOrderedEqual(p, q)
|
|
800
|
+
self.assertFalse(p < q)
|
|
801
|
+
self.assertFalse(p > q)
|
|
802
|
+
|
|
803
|
+
def test_parts(self):
|
|
804
|
+
P = self.cls
|
|
805
|
+
p = P('c:a/b')
|
|
806
|
+
parts = p.parts
|
|
807
|
+
self.assertEqual(parts, ('c:', 'a', 'b'))
|
|
808
|
+
p = P('c:/a/b')
|
|
809
|
+
parts = p.parts
|
|
810
|
+
self.assertEqual(parts, ('c:\\', 'a', 'b'))
|
|
811
|
+
p = P('//a/b/c/d')
|
|
812
|
+
parts = p.parts
|
|
813
|
+
self.assertEqual(parts, ('\\\\a\\b\\', 'c', 'd'))
|
|
814
|
+
|
|
815
|
+
def test_parent(self):
|
|
816
|
+
# Anchored
|
|
817
|
+
P = self.cls
|
|
818
|
+
p = P('z:a/b/c')
|
|
819
|
+
self.assertEqual(p.parent, P('z:a/b'))
|
|
820
|
+
self.assertEqual(p.parent.parent, P('z:a'))
|
|
821
|
+
self.assertEqual(p.parent.parent.parent, P('z:'))
|
|
822
|
+
self.assertEqual(p.parent.parent.parent.parent, P('z:'))
|
|
823
|
+
p = P('z:/a/b/c')
|
|
824
|
+
self.assertEqual(p.parent, P('z:/a/b'))
|
|
825
|
+
self.assertEqual(p.parent.parent, P('z:/a'))
|
|
826
|
+
self.assertEqual(p.parent.parent.parent, P('z:/'))
|
|
827
|
+
self.assertEqual(p.parent.parent.parent.parent, P('z:/'))
|
|
828
|
+
p = P('//a/b/c/d')
|
|
829
|
+
self.assertEqual(p.parent, P('//a/b/c'))
|
|
830
|
+
self.assertEqual(p.parent.parent, P('//a/b'))
|
|
831
|
+
self.assertEqual(p.parent.parent.parent, P('//a/b'))
|
|
832
|
+
|
|
833
|
+
def test_parents(self):
|
|
834
|
+
# Anchored
|
|
835
|
+
P = self.cls
|
|
836
|
+
p = P('z:a/b/')
|
|
837
|
+
par = p.parents
|
|
838
|
+
self.assertEqual(len(par), 2)
|
|
839
|
+
self.assertEqual(par[0], P('z:a'))
|
|
840
|
+
self.assertEqual(par[1], P('z:'))
|
|
841
|
+
self.assertEqual(list(par), [P('z:a'), P('z:')])
|
|
842
|
+
with self.assertRaises(IndexError):
|
|
843
|
+
par[2]
|
|
844
|
+
p = P('z:/a/b/')
|
|
845
|
+
par = p.parents
|
|
846
|
+
self.assertEqual(len(par), 2)
|
|
847
|
+
self.assertEqual(par[0], P('z:/a'))
|
|
848
|
+
self.assertEqual(par[1], P('z:/'))
|
|
849
|
+
self.assertEqual(list(par), [P('z:/a'), P('z:/')])
|
|
850
|
+
with self.assertRaises(IndexError):
|
|
851
|
+
par[2]
|
|
852
|
+
p = P('//a/b/c/d')
|
|
853
|
+
par = p.parents
|
|
854
|
+
self.assertEqual(len(par), 2)
|
|
855
|
+
self.assertEqual(par[0], P('//a/b/c'))
|
|
856
|
+
self.assertEqual(par[1], P('//a/b'))
|
|
857
|
+
self.assertEqual(list(par), [P('//a/b/c'), P('//a/b')])
|
|
858
|
+
with self.assertRaises(IndexError):
|
|
859
|
+
par[2]
|
|
860
|
+
|
|
861
|
+
def test_drive(self):
|
|
862
|
+
P = self.cls
|
|
863
|
+
self.assertEqual(P('c:').drive, 'c:')
|
|
864
|
+
self.assertEqual(P('c:a/b').drive, 'c:')
|
|
865
|
+
self.assertEqual(P('c:/').drive, 'c:')
|
|
866
|
+
self.assertEqual(P('c:/a/b/').drive, 'c:')
|
|
867
|
+
self.assertEqual(P('//a/b').drive, '\\\\a\\b')
|
|
868
|
+
self.assertEqual(P('//a/b/').drive, '\\\\a\\b')
|
|
869
|
+
self.assertEqual(P('//a/b/c/d').drive, '\\\\a\\b')
|
|
870
|
+
|
|
871
|
+
def test_root(self):
|
|
872
|
+
P = self.cls
|
|
873
|
+
self.assertEqual(P('c:').root, '')
|
|
874
|
+
self.assertEqual(P('c:a/b').root, '')
|
|
875
|
+
self.assertEqual(P('c:/').root, '\\')
|
|
876
|
+
self.assertEqual(P('c:/a/b/').root, '\\')
|
|
877
|
+
self.assertEqual(P('//a/b').root, '\\')
|
|
878
|
+
self.assertEqual(P('//a/b/').root, '\\')
|
|
879
|
+
self.assertEqual(P('//a/b/c/d').root, '\\')
|
|
880
|
+
|
|
881
|
+
def test_anchor(self):
|
|
882
|
+
P = self.cls
|
|
883
|
+
self.assertEqual(P('c:').anchor, 'c:')
|
|
884
|
+
self.assertEqual(P('c:a/b').anchor, 'c:')
|
|
885
|
+
self.assertEqual(P('c:/').anchor, 'c:\\')
|
|
886
|
+
self.assertEqual(P('c:/a/b/').anchor, 'c:\\')
|
|
887
|
+
self.assertEqual(P('//a/b').anchor, '\\\\a\\b\\')
|
|
888
|
+
self.assertEqual(P('//a/b/').anchor, '\\\\a\\b\\')
|
|
889
|
+
self.assertEqual(P('//a/b/c/d').anchor, '\\\\a\\b\\')
|
|
890
|
+
|
|
891
|
+
def test_name(self):
|
|
892
|
+
P = self.cls
|
|
893
|
+
self.assertEqual(P('c:').name, '')
|
|
894
|
+
self.assertEqual(P('c:/').name, '')
|
|
895
|
+
self.assertEqual(P('c:a/b').name, 'b')
|
|
896
|
+
self.assertEqual(P('c:/a/b').name, 'b')
|
|
897
|
+
self.assertEqual(P('c:a/b.py').name, 'b.py')
|
|
898
|
+
self.assertEqual(P('c:/a/b.py').name, 'b.py')
|
|
899
|
+
self.assertEqual(P('//My.py/Share.php').name, '')
|
|
900
|
+
self.assertEqual(P('//My.py/Share.php/a/b').name, 'b')
|
|
901
|
+
|
|
902
|
+
def test_suffix(self):
|
|
903
|
+
P = self.cls
|
|
904
|
+
self.assertEqual(P('c:').suffix, '')
|
|
905
|
+
self.assertEqual(P('c:/').suffix, '')
|
|
906
|
+
self.assertEqual(P('c:a/b').suffix, '')
|
|
907
|
+
self.assertEqual(P('c:/a/b').suffix, '')
|
|
908
|
+
self.assertEqual(P('c:a/b.py').suffix, '.py')
|
|
909
|
+
self.assertEqual(P('c:/a/b.py').suffix, '.py')
|
|
910
|
+
self.assertEqual(P('c:a/.hgrc').suffix, '')
|
|
911
|
+
self.assertEqual(P('c:/a/.hgrc').suffix, '')
|
|
912
|
+
self.assertEqual(P('c:a/.hg.rc').suffix, '.rc')
|
|
913
|
+
self.assertEqual(P('c:/a/.hg.rc').suffix, '.rc')
|
|
914
|
+
self.assertEqual(P('c:a/b.tar.gz').suffix, '.gz')
|
|
915
|
+
self.assertEqual(P('c:/a/b.tar.gz').suffix, '.gz')
|
|
916
|
+
self.assertEqual(P('c:a/Some name. Ending with a dot.').suffix, '')
|
|
917
|
+
self.assertEqual(P('c:/a/Some name. Ending with a dot.').suffix, '')
|
|
918
|
+
self.assertEqual(P('//My.py/Share.php').suffix, '')
|
|
919
|
+
self.assertEqual(P('//My.py/Share.php/a/b').suffix, '')
|
|
920
|
+
|
|
921
|
+
def test_suffixes(self):
|
|
922
|
+
P = self.cls
|
|
923
|
+
self.assertEqual(P('c:').suffixes, [])
|
|
924
|
+
self.assertEqual(P('c:/').suffixes, [])
|
|
925
|
+
self.assertEqual(P('c:a/b').suffixes, [])
|
|
926
|
+
self.assertEqual(P('c:/a/b').suffixes, [])
|
|
927
|
+
self.assertEqual(P('c:a/b.py').suffixes, ['.py'])
|
|
928
|
+
self.assertEqual(P('c:/a/b.py').suffixes, ['.py'])
|
|
929
|
+
self.assertEqual(P('c:a/.hgrc').suffixes, [])
|
|
930
|
+
self.assertEqual(P('c:/a/.hgrc').suffixes, [])
|
|
931
|
+
self.assertEqual(P('c:a/.hg.rc').suffixes, ['.rc'])
|
|
932
|
+
self.assertEqual(P('c:/a/.hg.rc').suffixes, ['.rc'])
|
|
933
|
+
self.assertEqual(P('c:a/b.tar.gz').suffixes, ['.tar', '.gz'])
|
|
934
|
+
self.assertEqual(P('c:/a/b.tar.gz').suffixes, ['.tar', '.gz'])
|
|
935
|
+
self.assertEqual(P('//My.py/Share.php').suffixes, [])
|
|
936
|
+
self.assertEqual(P('//My.py/Share.php/a/b').suffixes, [])
|
|
937
|
+
self.assertEqual(P('c:a/Some name. Ending with a dot.').suffixes, [])
|
|
938
|
+
self.assertEqual(P('c:/a/Some name. Ending with a dot.').suffixes, [])
|
|
939
|
+
|
|
940
|
+
def test_stem(self):
|
|
941
|
+
P = self.cls
|
|
942
|
+
self.assertEqual(P('c:').stem, '')
|
|
943
|
+
self.assertEqual(P('c:.').stem, '')
|
|
944
|
+
self.assertEqual(P('c:..').stem, '..')
|
|
945
|
+
self.assertEqual(P('c:/').stem, '')
|
|
946
|
+
self.assertEqual(P('c:a/b').stem, 'b')
|
|
947
|
+
self.assertEqual(P('c:a/b.py').stem, 'b')
|
|
948
|
+
self.assertEqual(P('c:a/.hgrc').stem, '.hgrc')
|
|
949
|
+
self.assertEqual(P('c:a/.hg.rc').stem, '.hg')
|
|
950
|
+
self.assertEqual(P('c:a/b.tar.gz').stem, 'b.tar')
|
|
951
|
+
self.assertEqual(P('c:a/Some name. Ending with a dot.').stem,
|
|
952
|
+
'Some name. Ending with a dot.')
|
|
953
|
+
|
|
954
|
+
def test_with_name(self):
|
|
955
|
+
P = self.cls
|
|
956
|
+
self.assertEqual(P('c:a/b').with_name('d.xml'), P('c:a/d.xml'))
|
|
957
|
+
self.assertEqual(P('c:/a/b').with_name('d.xml'), P('c:/a/d.xml'))
|
|
958
|
+
self.assertEqual(P('c:a/Dot ending.').with_name('d.xml'), P('c:a/d.xml'))
|
|
959
|
+
self.assertEqual(P('c:/a/Dot ending.').with_name('d.xml'), P('c:/a/d.xml'))
|
|
960
|
+
self.assertRaises(ValueError, P('c:').with_name, 'd.xml')
|
|
961
|
+
self.assertRaises(ValueError, P('c:/').with_name, 'd.xml')
|
|
962
|
+
self.assertRaises(ValueError, P('//My/Share').with_name, 'd.xml')
|
|
963
|
+
self.assertRaises(ValueError, P('c:a/b').with_name, 'd:')
|
|
964
|
+
self.assertRaises(ValueError, P('c:a/b').with_name, 'd:e')
|
|
965
|
+
self.assertRaises(ValueError, P('c:a/b').with_name, 'd:/e')
|
|
966
|
+
self.assertRaises(ValueError, P('c:a/b').with_name, '//My/Share')
|
|
967
|
+
|
|
968
|
+
def test_with_suffix(self):
|
|
969
|
+
P = self.cls
|
|
970
|
+
self.assertEqual(P('c:a/b').with_suffix('.gz'), P('c:a/b.gz'))
|
|
971
|
+
self.assertEqual(P('c:/a/b').with_suffix('.gz'), P('c:/a/b.gz'))
|
|
972
|
+
self.assertEqual(P('c:a/b.py').with_suffix('.gz'), P('c:a/b.gz'))
|
|
973
|
+
self.assertEqual(P('c:/a/b.py').with_suffix('.gz'), P('c:/a/b.gz'))
|
|
974
|
+
# Path doesn't have a "filename" component
|
|
975
|
+
self.assertRaises(ValueError, P('').with_suffix, '.gz')
|
|
976
|
+
self.assertRaises(ValueError, P('.').with_suffix, '.gz')
|
|
977
|
+
self.assertRaises(ValueError, P('/').with_suffix, '.gz')
|
|
978
|
+
self.assertRaises(ValueError, P('//My/Share').with_suffix, '.gz')
|
|
979
|
+
# Invalid suffix
|
|
980
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, 'gz')
|
|
981
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, '/')
|
|
982
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, '\\')
|
|
983
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, 'c:')
|
|
984
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, '/.gz')
|
|
985
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, '\\.gz')
|
|
986
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, 'c:.gz')
|
|
987
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, 'c/d')
|
|
988
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, 'c\\d')
|
|
989
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, '.c/d')
|
|
990
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, '.c\\d')
|
|
991
|
+
|
|
992
|
+
def test_relative_to(self):
|
|
993
|
+
P = self.cls
|
|
994
|
+
p = P('C:Foo/Bar')
|
|
995
|
+
self.assertEqual(p.relative_to(P('c:')), P('Foo/Bar'))
|
|
996
|
+
self.assertEqual(p.relative_to('c:'), P('Foo/Bar'))
|
|
997
|
+
self.assertEqual(p.relative_to(P('c:foO')), P('Bar'))
|
|
998
|
+
self.assertEqual(p.relative_to('c:foO'), P('Bar'))
|
|
999
|
+
self.assertEqual(p.relative_to('c:foO/'), P('Bar'))
|
|
1000
|
+
self.assertEqual(p.relative_to(P('c:foO/baR')), P())
|
|
1001
|
+
self.assertEqual(p.relative_to('c:foO/baR'), P())
|
|
1002
|
+
# Unrelated paths
|
|
1003
|
+
self.assertRaises(ValueError, p.relative_to, P())
|
|
1004
|
+
self.assertRaises(ValueError, p.relative_to, '')
|
|
1005
|
+
self.assertRaises(ValueError, p.relative_to, P('d:'))
|
|
1006
|
+
self.assertRaises(ValueError, p.relative_to, P('/'))
|
|
1007
|
+
self.assertRaises(ValueError, p.relative_to, P('Foo'))
|
|
1008
|
+
self.assertRaises(ValueError, p.relative_to, P('/Foo'))
|
|
1009
|
+
self.assertRaises(ValueError, p.relative_to, P('C:/Foo'))
|
|
1010
|
+
self.assertRaises(ValueError, p.relative_to, P('C:Foo/Bar/Baz'))
|
|
1011
|
+
self.assertRaises(ValueError, p.relative_to, P('C:Foo/Baz'))
|
|
1012
|
+
p = P('C:/Foo/Bar')
|
|
1013
|
+
self.assertEqual(p.relative_to(P('c:')), P('/Foo/Bar'))
|
|
1014
|
+
self.assertEqual(p.relative_to('c:'), P('/Foo/Bar'))
|
|
1015
|
+
self.assertEqual(str(p.relative_to(P('c:'))), '\\Foo\\Bar')
|
|
1016
|
+
self.assertEqual(str(p.relative_to('c:')), '\\Foo\\Bar')
|
|
1017
|
+
self.assertEqual(p.relative_to(P('c:/')), P('Foo/Bar'))
|
|
1018
|
+
self.assertEqual(p.relative_to('c:/'), P('Foo/Bar'))
|
|
1019
|
+
self.assertEqual(p.relative_to(P('c:/foO')), P('Bar'))
|
|
1020
|
+
self.assertEqual(p.relative_to('c:/foO'), P('Bar'))
|
|
1021
|
+
self.assertEqual(p.relative_to('c:/foO/'), P('Bar'))
|
|
1022
|
+
self.assertEqual(p.relative_to(P('c:/foO/baR')), P())
|
|
1023
|
+
self.assertEqual(p.relative_to('c:/foO/baR'), P())
|
|
1024
|
+
# Unrelated paths
|
|
1025
|
+
self.assertRaises(ValueError, p.relative_to, P('C:/Baz'))
|
|
1026
|
+
self.assertRaises(ValueError, p.relative_to, P('C:/Foo/Bar/Baz'))
|
|
1027
|
+
self.assertRaises(ValueError, p.relative_to, P('C:/Foo/Baz'))
|
|
1028
|
+
self.assertRaises(ValueError, p.relative_to, P('C:Foo'))
|
|
1029
|
+
self.assertRaises(ValueError, p.relative_to, P('d:'))
|
|
1030
|
+
self.assertRaises(ValueError, p.relative_to, P('d:/'))
|
|
1031
|
+
self.assertRaises(ValueError, p.relative_to, P('/'))
|
|
1032
|
+
self.assertRaises(ValueError, p.relative_to, P('/Foo'))
|
|
1033
|
+
self.assertRaises(ValueError, p.relative_to, P('//C/Foo'))
|
|
1034
|
+
# UNC paths
|
|
1035
|
+
p = P('//Server/Share/Foo/Bar')
|
|
1036
|
+
self.assertEqual(p.relative_to(P('//sErver/sHare')), P('Foo/Bar'))
|
|
1037
|
+
self.assertEqual(p.relative_to('//sErver/sHare'), P('Foo/Bar'))
|
|
1038
|
+
self.assertEqual(p.relative_to('//sErver/sHare/'), P('Foo/Bar'))
|
|
1039
|
+
self.assertEqual(p.relative_to(P('//sErver/sHare/Foo')), P('Bar'))
|
|
1040
|
+
self.assertEqual(p.relative_to('//sErver/sHare/Foo'), P('Bar'))
|
|
1041
|
+
self.assertEqual(p.relative_to('//sErver/sHare/Foo/'), P('Bar'))
|
|
1042
|
+
self.assertEqual(p.relative_to(P('//sErver/sHare/Foo/Bar')), P())
|
|
1043
|
+
self.assertEqual(p.relative_to('//sErver/sHare/Foo/Bar'), P())
|
|
1044
|
+
# Unrelated paths
|
|
1045
|
+
self.assertRaises(ValueError, p.relative_to, P('/Server/Share/Foo'))
|
|
1046
|
+
self.assertRaises(ValueError, p.relative_to, P('c:/Server/Share/Foo'))
|
|
1047
|
+
self.assertRaises(ValueError, p.relative_to, P('//z/Share/Foo'))
|
|
1048
|
+
self.assertRaises(ValueError, p.relative_to, P('//Server/z/Foo'))
|
|
1049
|
+
|
|
1050
|
+
def test_is_absolute(self):
|
|
1051
|
+
P = self.cls
|
|
1052
|
+
# Under NT, only paths with both a drive and a root are absolute
|
|
1053
|
+
self.assertFalse(P().is_absolute())
|
|
1054
|
+
self.assertFalse(P('a').is_absolute())
|
|
1055
|
+
self.assertFalse(P('a/b/').is_absolute())
|
|
1056
|
+
self.assertFalse(P('/').is_absolute())
|
|
1057
|
+
self.assertFalse(P('/a').is_absolute())
|
|
1058
|
+
self.assertFalse(P('/a/b/').is_absolute())
|
|
1059
|
+
self.assertFalse(P('c:').is_absolute())
|
|
1060
|
+
self.assertFalse(P('c:a').is_absolute())
|
|
1061
|
+
self.assertFalse(P('c:a/b/').is_absolute())
|
|
1062
|
+
self.assertTrue(P('c:/').is_absolute())
|
|
1063
|
+
self.assertTrue(P('c:/a').is_absolute())
|
|
1064
|
+
self.assertTrue(P('c:/a/b/').is_absolute())
|
|
1065
|
+
# UNC paths are absolute by definition
|
|
1066
|
+
self.assertTrue(P('//a/b').is_absolute())
|
|
1067
|
+
self.assertTrue(P('//a/b/').is_absolute())
|
|
1068
|
+
self.assertTrue(P('//a/b/c').is_absolute())
|
|
1069
|
+
self.assertTrue(P('//a/b/c/d').is_absolute())
|
|
1070
|
+
|
|
1071
|
+
def test_join(self):
|
|
1072
|
+
P = self.cls
|
|
1073
|
+
p = P('C:/a/b')
|
|
1074
|
+
pp = p.joinpath('x/y')
|
|
1075
|
+
self.assertEqual(pp, P('C:/a/b/x/y'))
|
|
1076
|
+
pp = p.joinpath('/x/y')
|
|
1077
|
+
self.assertEqual(pp, P('C:/x/y'))
|
|
1078
|
+
# Joining with a different drive => the first path is ignored, even
|
|
1079
|
+
# if the second path is relative.
|
|
1080
|
+
pp = p.joinpath('D:x/y')
|
|
1081
|
+
self.assertEqual(pp, P('D:x/y'))
|
|
1082
|
+
pp = p.joinpath('D:/x/y')
|
|
1083
|
+
self.assertEqual(pp, P('D:/x/y'))
|
|
1084
|
+
pp = p.joinpath('//host/share/x/y')
|
|
1085
|
+
self.assertEqual(pp, P('//host/share/x/y'))
|
|
1086
|
+
# Joining with the same drive => the first path is appended to if
|
|
1087
|
+
# the second path is relative.
|
|
1088
|
+
pp = p.joinpath('c:x/y')
|
|
1089
|
+
self.assertEqual(pp, P('C:/a/b/x/y'))
|
|
1090
|
+
pp = p.joinpath('c:/x/y')
|
|
1091
|
+
self.assertEqual(pp, P('C:/x/y'))
|
|
1092
|
+
|
|
1093
|
+
def test_div(self):
|
|
1094
|
+
# Basically the same as joinpath()
|
|
1095
|
+
P = self.cls
|
|
1096
|
+
p = P('C:/a/b')
|
|
1097
|
+
self.assertEqual(p / 'x/y', P('C:/a/b/x/y'))
|
|
1098
|
+
self.assertEqual(p / 'x' / 'y', P('C:/a/b/x/y'))
|
|
1099
|
+
self.assertEqual(p / '/x/y', P('C:/x/y'))
|
|
1100
|
+
self.assertEqual(p / '/x' / 'y', P('C:/x/y'))
|
|
1101
|
+
# Joining with a different drive => the first path is ignored, even
|
|
1102
|
+
# if the second path is relative.
|
|
1103
|
+
self.assertEqual(p / 'D:x/y', P('D:x/y'))
|
|
1104
|
+
self.assertEqual(p / 'D:' / 'x/y', P('D:x/y'))
|
|
1105
|
+
self.assertEqual(p / 'D:/x/y', P('D:/x/y'))
|
|
1106
|
+
self.assertEqual(p / 'D:' / '/x/y', P('D:/x/y'))
|
|
1107
|
+
self.assertEqual(p / '//host/share/x/y', P('//host/share/x/y'))
|
|
1108
|
+
# Joining with the same drive => the first path is appended to if
|
|
1109
|
+
# the second path is relative.
|
|
1110
|
+
self.assertEqual(p / 'c:x/y', P('C:/a/b/x/y'))
|
|
1111
|
+
self.assertEqual(p / 'c:/x/y', P('C:/x/y'))
|
|
1112
|
+
|
|
1113
|
+
def test_is_reserved(self):
|
|
1114
|
+
P = self.cls
|
|
1115
|
+
self.assertIs(False, P('').is_reserved())
|
|
1116
|
+
self.assertIs(False, P('/').is_reserved())
|
|
1117
|
+
self.assertIs(False, P('/foo/bar').is_reserved())
|
|
1118
|
+
self.assertIs(True, P('con').is_reserved())
|
|
1119
|
+
self.assertIs(True, P('NUL').is_reserved())
|
|
1120
|
+
self.assertIs(True, P('NUL.txt').is_reserved())
|
|
1121
|
+
self.assertIs(True, P('com1').is_reserved())
|
|
1122
|
+
self.assertIs(True, P('com9.bar').is_reserved())
|
|
1123
|
+
self.assertIs(False, P('bar.com9').is_reserved())
|
|
1124
|
+
self.assertIs(True, P('lpt1').is_reserved())
|
|
1125
|
+
self.assertIs(True, P('lpt9.bar').is_reserved())
|
|
1126
|
+
self.assertIs(False, P('bar.lpt9').is_reserved())
|
|
1127
|
+
# Only the last component matters
|
|
1128
|
+
self.assertIs(False, P('c:/NUL/con/baz').is_reserved())
|
|
1129
|
+
# UNC paths are never reserved
|
|
1130
|
+
self.assertIs(False, P('//my/share/nul/con/aux').is_reserved())
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
class PurePathTest(_BasePurePathTest, unittest.TestCase):
|
|
1134
|
+
cls = pathlib.PurePath
|
|
1135
|
+
|
|
1136
|
+
def test_concrete_class(self):
|
|
1137
|
+
p = self.cls('a')
|
|
1138
|
+
self.assertIs(type(p),
|
|
1139
|
+
pathlib.PureWindowsPath if os.name == 'nt' else pathlib.PurePosixPath)
|
|
1140
|
+
|
|
1141
|
+
def test_different_flavours_unequal(self):
|
|
1142
|
+
p = pathlib.PurePosixPath('a')
|
|
1143
|
+
q = pathlib.PureWindowsPath('a')
|
|
1144
|
+
self.assertNotEqual(p, q)
|
|
1145
|
+
|
|
1146
|
+
def test_different_flavours_unordered(self):
|
|
1147
|
+
p = pathlib.PurePosixPath('a')
|
|
1148
|
+
q = pathlib.PureWindowsPath('a')
|
|
1149
|
+
with self.assertRaises(TypeError):
|
|
1150
|
+
p < q
|
|
1151
|
+
with self.assertRaises(TypeError):
|
|
1152
|
+
p <= q
|
|
1153
|
+
with self.assertRaises(TypeError):
|
|
1154
|
+
p > q
|
|
1155
|
+
with self.assertRaises(TypeError):
|
|
1156
|
+
p >= q
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
#
|
|
1160
|
+
# Tests for the concrete classes
|
|
1161
|
+
#
|
|
1162
|
+
|
|
1163
|
+
# Make sure any symbolic links in the base test path are resolved
|
|
1164
|
+
BASE = os.path.realpath(TESTFN)
|
|
1165
|
+
join = lambda *x: os.path.join(BASE, *x)
|
|
1166
|
+
rel_join = lambda *x: os.path.join(TESTFN, *x)
|
|
1167
|
+
|
|
1168
|
+
def symlink_skip_reason():
|
|
1169
|
+
if not pathlib.supports_symlinks:
|
|
1170
|
+
return "no system support for symlinks"
|
|
1171
|
+
try:
|
|
1172
|
+
os.symlink(__file__, BASE)
|
|
1173
|
+
except OSError as e:
|
|
1174
|
+
return str(e)
|
|
1175
|
+
else:
|
|
1176
|
+
support.unlink(BASE)
|
|
1177
|
+
return None
|
|
1178
|
+
|
|
1179
|
+
symlink_skip_reason = symlink_skip_reason()
|
|
1180
|
+
|
|
1181
|
+
only_nt = unittest.skipIf(os.name != 'nt',
|
|
1182
|
+
'test requires a Windows-compatible system')
|
|
1183
|
+
only_posix = unittest.skipIf(os.name == 'nt',
|
|
1184
|
+
'test requires a POSIX-compatible system')
|
|
1185
|
+
with_symlinks = unittest.skipIf(symlink_skip_reason, symlink_skip_reason)
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
@only_posix
|
|
1189
|
+
class PosixPathAsPureTest(PurePosixPathTest):
|
|
1190
|
+
cls = pathlib.PosixPath
|
|
1191
|
+
|
|
1192
|
+
@only_nt
|
|
1193
|
+
class WindowsPathAsPureTest(PureWindowsPathTest):
|
|
1194
|
+
cls = pathlib.WindowsPath
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
class _BasePathTest(object):
|
|
1198
|
+
"""Tests for the FS-accessing functionalities of the Path classes."""
|
|
1199
|
+
|
|
1200
|
+
# (BASE)
|
|
1201
|
+
# |
|
|
1202
|
+
# |-- dirA/
|
|
1203
|
+
# |-- linkC -> "../dirB"
|
|
1204
|
+
# |-- dirB/
|
|
1205
|
+
# | |-- fileB
|
|
1206
|
+
# |-- linkD -> "../dirB"
|
|
1207
|
+
# |-- dirC/
|
|
1208
|
+
# | |-- fileC
|
|
1209
|
+
# | |-- fileD
|
|
1210
|
+
# |-- fileA
|
|
1211
|
+
# |-- linkA -> "fileA"
|
|
1212
|
+
# |-- linkB -> "dirB"
|
|
1213
|
+
#
|
|
1214
|
+
|
|
1215
|
+
def setUp(self):
|
|
1216
|
+
os.mkdir(BASE)
|
|
1217
|
+
self.addCleanup(support.rmtree, BASE)
|
|
1218
|
+
os.mkdir(join('dirA'))
|
|
1219
|
+
os.mkdir(join('dirB'))
|
|
1220
|
+
os.mkdir(join('dirC'))
|
|
1221
|
+
os.mkdir(join('dirC', 'dirD'))
|
|
1222
|
+
with open(join('fileA'), 'wb') as f:
|
|
1223
|
+
f.write(b"this is file A\n")
|
|
1224
|
+
with open(join('dirB', 'fileB'), 'wb') as f:
|
|
1225
|
+
f.write(b"this is file B\n")
|
|
1226
|
+
with open(join('dirC', 'fileC'), 'wb') as f:
|
|
1227
|
+
f.write(b"this is file C\n")
|
|
1228
|
+
with open(join('dirC', 'dirD', 'fileD'), 'wb') as f:
|
|
1229
|
+
f.write(b"this is file D\n")
|
|
1230
|
+
if not symlink_skip_reason:
|
|
1231
|
+
# Relative symlinks
|
|
1232
|
+
os.symlink('fileA', join('linkA'))
|
|
1233
|
+
os.symlink('non-existing', join('brokenLink'))
|
|
1234
|
+
self.dirlink('dirB', join('linkB'))
|
|
1235
|
+
self.dirlink(os.path.join('..', 'dirB'), join('dirA', 'linkC'))
|
|
1236
|
+
# This one goes upwards but doesn't create a loop
|
|
1237
|
+
self.dirlink(os.path.join('..', 'dirB'), join('dirB', 'linkD'))
|
|
1238
|
+
|
|
1239
|
+
if os.name == 'nt':
|
|
1240
|
+
# Workaround for http://bugs.python.org/issue13772
|
|
1241
|
+
def dirlink(self, src, dest):
|
|
1242
|
+
os.symlink(src, dest, target_is_directory=True)
|
|
1243
|
+
else:
|
|
1244
|
+
def dirlink(self, src, dest):
|
|
1245
|
+
os.symlink(src, dest)
|
|
1246
|
+
|
|
1247
|
+
def assertSame(self, path_a, path_b):
|
|
1248
|
+
self.assertTrue(os.path.samefile(str(path_a), str(path_b)),
|
|
1249
|
+
"%r and %r don't point to the same file" %
|
|
1250
|
+
(path_a, path_b))
|
|
1251
|
+
|
|
1252
|
+
def assertFileNotFound(self, func, *args, **kwargs):
|
|
1253
|
+
with self.assertRaises(FileNotFoundError) as cm:
|
|
1254
|
+
func(*args, **kwargs)
|
|
1255
|
+
self.assertEqual(cm.exception.errno, errno.ENOENT)
|
|
1256
|
+
|
|
1257
|
+
def _test_cwd(self, p):
|
|
1258
|
+
q = self.cls(os.getcwd())
|
|
1259
|
+
self.assertEqual(p, q)
|
|
1260
|
+
self.assertEqual(str(p), str(q))
|
|
1261
|
+
self.assertIs(type(p), type(q))
|
|
1262
|
+
self.assertTrue(p.is_absolute())
|
|
1263
|
+
|
|
1264
|
+
def test_cwd(self):
|
|
1265
|
+
p = self.cls.cwd()
|
|
1266
|
+
self._test_cwd(p)
|
|
1267
|
+
|
|
1268
|
+
def test_empty_path(self):
|
|
1269
|
+
# The empty path points to '.'
|
|
1270
|
+
p = self.cls('')
|
|
1271
|
+
self.assertEqual(p.stat(), os.stat('.'))
|
|
1272
|
+
|
|
1273
|
+
def test_exists(self):
|
|
1274
|
+
P = self.cls
|
|
1275
|
+
p = P(BASE)
|
|
1276
|
+
self.assertIs(True, p.exists())
|
|
1277
|
+
self.assertIs(True, (p / 'dirA').exists())
|
|
1278
|
+
self.assertIs(True, (p / 'fileA').exists())
|
|
1279
|
+
if not symlink_skip_reason:
|
|
1280
|
+
self.assertIs(True, (p / 'linkA').exists())
|
|
1281
|
+
self.assertIs(True, (p / 'linkB').exists())
|
|
1282
|
+
self.assertIs(False, (p / 'foo').exists())
|
|
1283
|
+
self.assertIs(False, P('/xyzzy').exists())
|
|
1284
|
+
|
|
1285
|
+
def test_open_common(self):
|
|
1286
|
+
p = self.cls(BASE)
|
|
1287
|
+
with (p / 'fileA').open('r') as f:
|
|
1288
|
+
self.assertIsInstance(f, io.TextIOBase)
|
|
1289
|
+
self.assertEqual(f.read(), "this is file A\n")
|
|
1290
|
+
with (p / 'fileA').open('rb') as f:
|
|
1291
|
+
self.assertIsInstance(f, io.BufferedIOBase)
|
|
1292
|
+
self.assertEqual(f.read().strip(), b"this is file A")
|
|
1293
|
+
with (p / 'fileA').open('rb', buffering=0) as f:
|
|
1294
|
+
self.assertIsInstance(f, io.RawIOBase)
|
|
1295
|
+
self.assertEqual(f.read().strip(), b"this is file A")
|
|
1296
|
+
|
|
1297
|
+
def test_iterdir(self):
|
|
1298
|
+
P = self.cls
|
|
1299
|
+
p = P(BASE)
|
|
1300
|
+
it = p.iterdir()
|
|
1301
|
+
paths = set(it)
|
|
1302
|
+
expected = ['dirA', 'dirB', 'dirC', 'fileA']
|
|
1303
|
+
if not symlink_skip_reason:
|
|
1304
|
+
expected += ['linkA', 'linkB', 'brokenLink']
|
|
1305
|
+
self.assertEqual(paths, { P(BASE, q) for q in expected })
|
|
1306
|
+
|
|
1307
|
+
@with_symlinks
|
|
1308
|
+
def test_iterdir_symlink(self):
|
|
1309
|
+
# __iter__ on a symlink to a directory
|
|
1310
|
+
P = self.cls
|
|
1311
|
+
p = P(BASE, 'linkB')
|
|
1312
|
+
paths = set(p.iterdir())
|
|
1313
|
+
expected = { P(BASE, 'linkB', q) for q in ['fileB', 'linkD'] }
|
|
1314
|
+
self.assertEqual(paths, expected)
|
|
1315
|
+
|
|
1316
|
+
def test_iterdir_nodir(self):
|
|
1317
|
+
# __iter__ on something that is not a directory
|
|
1318
|
+
p = self.cls(BASE, 'fileA')
|
|
1319
|
+
with self.assertRaises(OSError) as cm:
|
|
1320
|
+
next(p.iterdir())
|
|
1321
|
+
# ENOENT or EINVAL under Windows, ENOTDIR otherwise
|
|
1322
|
+
# (see issue #12802)
|
|
1323
|
+
self.assertIn(cm.exception.errno, (errno.ENOTDIR,
|
|
1324
|
+
errno.ENOENT, errno.EINVAL))
|
|
1325
|
+
|
|
1326
|
+
def test_glob_common(self):
|
|
1327
|
+
def _check(glob, expected):
|
|
1328
|
+
self.assertEqual(set(glob), { P(BASE, q) for q in expected })
|
|
1329
|
+
P = self.cls
|
|
1330
|
+
p = P(BASE)
|
|
1331
|
+
it = p.glob("fileA")
|
|
1332
|
+
self.assertIsInstance(it, collections.Iterator)
|
|
1333
|
+
_check(it, ["fileA"])
|
|
1334
|
+
_check(p.glob("fileB"), [])
|
|
1335
|
+
_check(p.glob("dir*/file*"), ["dirB/fileB", "dirC/fileC"])
|
|
1336
|
+
if symlink_skip_reason:
|
|
1337
|
+
_check(p.glob("*A"), ['dirA', 'fileA'])
|
|
1338
|
+
else:
|
|
1339
|
+
_check(p.glob("*A"), ['dirA', 'fileA', 'linkA'])
|
|
1340
|
+
if symlink_skip_reason:
|
|
1341
|
+
_check(p.glob("*B/*"), ['dirB/fileB'])
|
|
1342
|
+
else:
|
|
1343
|
+
_check(p.glob("*B/*"), ['dirB/fileB', 'dirB/linkD',
|
|
1344
|
+
'linkB/fileB', 'linkB/linkD'])
|
|
1345
|
+
if symlink_skip_reason:
|
|
1346
|
+
_check(p.glob("*/fileB"), ['dirB/fileB'])
|
|
1347
|
+
else:
|
|
1348
|
+
_check(p.glob("*/fileB"), ['dirB/fileB', 'linkB/fileB'])
|
|
1349
|
+
|
|
1350
|
+
def test_rglob_common(self):
|
|
1351
|
+
def _check(glob, expected):
|
|
1352
|
+
self.assertEqual(set(glob), { P(BASE, q) for q in expected })
|
|
1353
|
+
P = self.cls
|
|
1354
|
+
p = P(BASE)
|
|
1355
|
+
it = p.rglob("fileA")
|
|
1356
|
+
self.assertIsInstance(it, collections.Iterator)
|
|
1357
|
+
# XXX cannot test because of symlink loops in the test setup
|
|
1358
|
+
#_check(it, ["fileA"])
|
|
1359
|
+
#_check(p.rglob("fileB"), ["dirB/fileB"])
|
|
1360
|
+
#_check(p.rglob("*/fileA"), [""])
|
|
1361
|
+
#_check(p.rglob("*/fileB"), ["dirB/fileB"])
|
|
1362
|
+
#_check(p.rglob("file*"), ["fileA", "dirB/fileB"])
|
|
1363
|
+
# No symlink loops here
|
|
1364
|
+
p = P(BASE, "dirC")
|
|
1365
|
+
_check(p.rglob("file*"), ["dirC/fileC", "dirC/dirD/fileD"])
|
|
1366
|
+
_check(p.rglob("*/*"), ["dirC/dirD/fileD"])
|
|
1367
|
+
|
|
1368
|
+
def test_glob_dotdot(self):
|
|
1369
|
+
# ".." is not special in globs
|
|
1370
|
+
P = self.cls
|
|
1371
|
+
p = P(BASE)
|
|
1372
|
+
self.assertEqual(set(p.glob("..")), { P(BASE, "..") })
|
|
1373
|
+
self.assertEqual(set(p.glob("dirA/../file*")), { P(BASE, "dirA/../fileA") })
|
|
1374
|
+
self.assertEqual(set(p.glob("../xyzzy")), set())
|
|
1375
|
+
|
|
1376
|
+
def _check_resolve_relative(self, p, expected):
|
|
1377
|
+
q = p.resolve()
|
|
1378
|
+
self.assertEqual(q, expected)
|
|
1379
|
+
|
|
1380
|
+
def _check_resolve_absolute(self, p, expected):
|
|
1381
|
+
q = p.resolve()
|
|
1382
|
+
self.assertEqual(q, expected)
|
|
1383
|
+
|
|
1384
|
+
@with_symlinks
|
|
1385
|
+
def test_resolve_common(self):
|
|
1386
|
+
P = self.cls
|
|
1387
|
+
p = P(BASE, 'foo')
|
|
1388
|
+
with self.assertRaises(OSError) as cm:
|
|
1389
|
+
p.resolve()
|
|
1390
|
+
self.assertEqual(cm.exception.errno, errno.ENOENT)
|
|
1391
|
+
# These are all relative symlinks
|
|
1392
|
+
p = P(BASE, 'dirB', 'fileB')
|
|
1393
|
+
self._check_resolve_relative(p, p)
|
|
1394
|
+
p = P(BASE, 'linkA')
|
|
1395
|
+
self._check_resolve_relative(p, P(BASE, 'fileA'))
|
|
1396
|
+
p = P(BASE, 'dirA', 'linkC', 'fileB')
|
|
1397
|
+
self._check_resolve_relative(p, P(BASE, 'dirB', 'fileB'))
|
|
1398
|
+
p = P(BASE, 'dirB', 'linkD', 'fileB')
|
|
1399
|
+
self._check_resolve_relative(p, P(BASE, 'dirB', 'fileB'))
|
|
1400
|
+
# Now create absolute symlinks
|
|
1401
|
+
d = tempfile.mkdtemp(suffix='-dirD')
|
|
1402
|
+
self.addCleanup(support.rmtree, d)
|
|
1403
|
+
os.symlink(os.path.join(d), join('dirA', 'linkX'))
|
|
1404
|
+
os.symlink(join('dirB'), os.path.join(d, 'linkY'))
|
|
1405
|
+
p = P(BASE, 'dirA', 'linkX', 'linkY', 'fileB')
|
|
1406
|
+
self._check_resolve_absolute(p, P(BASE, 'dirB', 'fileB'))
|
|
1407
|
+
|
|
1408
|
+
@with_symlinks
|
|
1409
|
+
def test_resolve_dot(self):
|
|
1410
|
+
# See https://bitbucket.org/pitrou/pathlib/issue/9/pathresolve-fails-on-complex-symlinks
|
|
1411
|
+
p = self.cls(BASE)
|
|
1412
|
+
self.dirlink('.', join('0'))
|
|
1413
|
+
self.dirlink(os.path.join('0', '0'), join('1'))
|
|
1414
|
+
self.dirlink(os.path.join('1', '1'), join('2'))
|
|
1415
|
+
q = p / '2'
|
|
1416
|
+
self.assertEqual(q.resolve(), p)
|
|
1417
|
+
|
|
1418
|
+
def test_with(self):
|
|
1419
|
+
p = self.cls(BASE)
|
|
1420
|
+
it = p.iterdir()
|
|
1421
|
+
it2 = p.iterdir()
|
|
1422
|
+
next(it2)
|
|
1423
|
+
with p:
|
|
1424
|
+
pass
|
|
1425
|
+
# I/O operation on closed path
|
|
1426
|
+
self.assertRaises(ValueError, next, it)
|
|
1427
|
+
self.assertRaises(ValueError, next, it2)
|
|
1428
|
+
self.assertRaises(ValueError, p.open)
|
|
1429
|
+
self.assertRaises(ValueError, p.resolve)
|
|
1430
|
+
self.assertRaises(ValueError, p.absolute)
|
|
1431
|
+
self.assertRaises(ValueError, p.__enter__)
|
|
1432
|
+
|
|
1433
|
+
def test_chmod(self):
|
|
1434
|
+
p = self.cls(BASE) / 'fileA'
|
|
1435
|
+
mode = p.stat().st_mode
|
|
1436
|
+
# Clear writable bit
|
|
1437
|
+
new_mode = mode & ~0o222
|
|
1438
|
+
p.chmod(new_mode)
|
|
1439
|
+
self.assertEqual(p.stat().st_mode, new_mode)
|
|
1440
|
+
# Set writable bit
|
|
1441
|
+
new_mode = mode | 0o222
|
|
1442
|
+
p.chmod(new_mode)
|
|
1443
|
+
self.assertEqual(p.stat().st_mode, new_mode)
|
|
1444
|
+
|
|
1445
|
+
# XXX also need a test for lchmod
|
|
1446
|
+
|
|
1447
|
+
def test_stat(self):
|
|
1448
|
+
p = self.cls(BASE) / 'fileA'
|
|
1449
|
+
st = p.stat()
|
|
1450
|
+
self.assertEqual(p.stat(), st)
|
|
1451
|
+
# Change file mode by flipping write bit
|
|
1452
|
+
p.chmod(st.st_mode ^ 0o222)
|
|
1453
|
+
self.addCleanup(p.chmod, st.st_mode)
|
|
1454
|
+
self.assertNotEqual(p.stat(), st)
|
|
1455
|
+
|
|
1456
|
+
@with_symlinks
|
|
1457
|
+
def test_lstat(self):
|
|
1458
|
+
p = self.cls(BASE)/ 'linkA'
|
|
1459
|
+
st = p.stat()
|
|
1460
|
+
self.assertNotEqual(st, p.lstat())
|
|
1461
|
+
|
|
1462
|
+
def test_lstat_nosymlink(self):
|
|
1463
|
+
p = self.cls(BASE) / 'fileA'
|
|
1464
|
+
st = p.stat()
|
|
1465
|
+
self.assertEqual(st, p.lstat())
|
|
1466
|
+
|
|
1467
|
+
@unittest.skipUnless(pwd, "the pwd module is needed for this test")
|
|
1468
|
+
def test_owner(self):
|
|
1469
|
+
p = self.cls(BASE) / 'fileA'
|
|
1470
|
+
uid = p.stat().st_uid
|
|
1471
|
+
try:
|
|
1472
|
+
name = pwd.getpwuid(uid).pw_name
|
|
1473
|
+
except KeyError:
|
|
1474
|
+
self.skipTest(
|
|
1475
|
+
"user %d doesn't have an entry in the system database" % uid)
|
|
1476
|
+
self.assertEqual(name, p.owner())
|
|
1477
|
+
|
|
1478
|
+
@unittest.skipUnless(grp, "the grp module is needed for this test")
|
|
1479
|
+
def test_group(self):
|
|
1480
|
+
p = self.cls(BASE) / 'fileA'
|
|
1481
|
+
gid = p.stat().st_gid
|
|
1482
|
+
try:
|
|
1483
|
+
name = grp.getgrgid(gid).gr_name
|
|
1484
|
+
except KeyError:
|
|
1485
|
+
self.skipTest(
|
|
1486
|
+
"group %d doesn't have an entry in the system database" % gid)
|
|
1487
|
+
self.assertEqual(name, p.group())
|
|
1488
|
+
|
|
1489
|
+
def test_unlink(self):
|
|
1490
|
+
p = self.cls(BASE) / 'fileA'
|
|
1491
|
+
p.unlink()
|
|
1492
|
+
self.assertFileNotFound(p.stat)
|
|
1493
|
+
self.assertFileNotFound(p.unlink)
|
|
1494
|
+
|
|
1495
|
+
def test_rmdir(self):
|
|
1496
|
+
p = self.cls(BASE) / 'dirA'
|
|
1497
|
+
for q in p.iterdir():
|
|
1498
|
+
q.unlink()
|
|
1499
|
+
p.rmdir()
|
|
1500
|
+
self.assertFileNotFound(p.stat)
|
|
1501
|
+
self.assertFileNotFound(p.unlink)
|
|
1502
|
+
|
|
1503
|
+
def test_rename(self):
|
|
1504
|
+
P = self.cls(BASE)
|
|
1505
|
+
p = P / 'fileA'
|
|
1506
|
+
size = p.stat().st_size
|
|
1507
|
+
# Renaming to another path
|
|
1508
|
+
q = P / 'dirA' / 'fileAA'
|
|
1509
|
+
p.rename(q)
|
|
1510
|
+
self.assertEqual(q.stat().st_size, size)
|
|
1511
|
+
self.assertFileNotFound(p.stat)
|
|
1512
|
+
# Renaming to a str of a relative path
|
|
1513
|
+
r = rel_join('fileAAA')
|
|
1514
|
+
q.rename(r)
|
|
1515
|
+
self.assertEqual(os.stat(r).st_size, size)
|
|
1516
|
+
self.assertFileNotFound(q.stat)
|
|
1517
|
+
|
|
1518
|
+
def test_replace(self):
|
|
1519
|
+
P = self.cls(BASE)
|
|
1520
|
+
p = P / 'fileA'
|
|
1521
|
+
size = p.stat().st_size
|
|
1522
|
+
# Replacing a non-existing path
|
|
1523
|
+
q = P / 'dirA' / 'fileAA'
|
|
1524
|
+
p.replace(q)
|
|
1525
|
+
self.assertEqual(q.stat().st_size, size)
|
|
1526
|
+
self.assertFileNotFound(p.stat)
|
|
1527
|
+
# Replacing another (existing) path
|
|
1528
|
+
r = rel_join('dirB', 'fileB')
|
|
1529
|
+
q.replace(r)
|
|
1530
|
+
self.assertEqual(os.stat(r).st_size, size)
|
|
1531
|
+
self.assertFileNotFound(q.stat)
|
|
1532
|
+
|
|
1533
|
+
def test_touch_common(self):
|
|
1534
|
+
P = self.cls(BASE)
|
|
1535
|
+
p = P / 'newfileA'
|
|
1536
|
+
self.assertFalse(p.exists())
|
|
1537
|
+
p.touch()
|
|
1538
|
+
self.assertTrue(p.exists())
|
|
1539
|
+
st = p.stat()
|
|
1540
|
+
old_mtime = st.st_mtime
|
|
1541
|
+
old_mtime_ns = st.st_mtime_ns
|
|
1542
|
+
# Rewind the mtime sufficiently far in the past to work around
|
|
1543
|
+
# filesystem-specific timestamp granularity.
|
|
1544
|
+
os.utime(str(p), (old_mtime - 10, old_mtime - 10))
|
|
1545
|
+
# The file mtime should be refreshed by calling touch() again
|
|
1546
|
+
p.touch()
|
|
1547
|
+
st = p.stat()
|
|
1548
|
+
self.assertGreaterEqual(st.st_mtime_ns, old_mtime_ns)
|
|
1549
|
+
self.assertGreaterEqual(st.st_mtime, old_mtime)
|
|
1550
|
+
# Now with exist_ok=False
|
|
1551
|
+
p = P / 'newfileB'
|
|
1552
|
+
self.assertFalse(p.exists())
|
|
1553
|
+
p.touch(mode=0o700, exist_ok=False)
|
|
1554
|
+
self.assertTrue(p.exists())
|
|
1555
|
+
self.assertRaises(OSError, p.touch, exist_ok=False)
|
|
1556
|
+
|
|
1557
|
+
def test_touch_nochange(self):
|
|
1558
|
+
P = self.cls(BASE)
|
|
1559
|
+
p = P / 'fileA'
|
|
1560
|
+
p.touch()
|
|
1561
|
+
with p.open('rb') as f:
|
|
1562
|
+
self.assertEqual(f.read().strip(), b"this is file A")
|
|
1563
|
+
|
|
1564
|
+
def test_mkdir(self):
|
|
1565
|
+
P = self.cls(BASE)
|
|
1566
|
+
p = P / 'newdirA'
|
|
1567
|
+
self.assertFalse(p.exists())
|
|
1568
|
+
p.mkdir()
|
|
1569
|
+
self.assertTrue(p.exists())
|
|
1570
|
+
self.assertTrue(p.is_dir())
|
|
1571
|
+
with self.assertRaises(OSError) as cm:
|
|
1572
|
+
p.mkdir()
|
|
1573
|
+
self.assertEqual(cm.exception.errno, errno.EEXIST)
|
|
1574
|
+
|
|
1575
|
+
def test_mkdir_parents(self):
|
|
1576
|
+
# Creating a chain of directories
|
|
1577
|
+
p = self.cls(BASE, 'newdirB', 'newdirC')
|
|
1578
|
+
self.assertFalse(p.exists())
|
|
1579
|
+
with self.assertRaises(OSError) as cm:
|
|
1580
|
+
p.mkdir()
|
|
1581
|
+
self.assertEqual(cm.exception.errno, errno.ENOENT)
|
|
1582
|
+
p.mkdir(parents=True)
|
|
1583
|
+
self.assertTrue(p.exists())
|
|
1584
|
+
self.assertTrue(p.is_dir())
|
|
1585
|
+
with self.assertRaises(OSError) as cm:
|
|
1586
|
+
p.mkdir(parents=True)
|
|
1587
|
+
self.assertEqual(cm.exception.errno, errno.EEXIST)
|
|
1588
|
+
# test `mode` arg
|
|
1589
|
+
mode = stat.S_IMODE(p.stat().st_mode) # default mode
|
|
1590
|
+
p = self.cls(BASE, 'newdirD', 'newdirE')
|
|
1591
|
+
p.mkdir(0o555, parents=True)
|
|
1592
|
+
self.assertTrue(p.exists())
|
|
1593
|
+
self.assertTrue(p.is_dir())
|
|
1594
|
+
if os.name != 'nt':
|
|
1595
|
+
# the directory's permissions follow the mode argument
|
|
1596
|
+
self.assertEqual(stat.S_IMODE(p.stat().st_mode), 0o7555 & mode)
|
|
1597
|
+
# the parent's permissions follow the default process settings
|
|
1598
|
+
self.assertEqual(stat.S_IMODE(p.parent.stat().st_mode), mode)
|
|
1599
|
+
|
|
1600
|
+
@with_symlinks
|
|
1601
|
+
def test_symlink_to(self):
|
|
1602
|
+
P = self.cls(BASE)
|
|
1603
|
+
target = P / 'fileA'
|
|
1604
|
+
# Symlinking a path target
|
|
1605
|
+
link = P / 'dirA' / 'linkAA'
|
|
1606
|
+
link.symlink_to(target)
|
|
1607
|
+
self.assertEqual(link.stat(), target.stat())
|
|
1608
|
+
self.assertNotEqual(link.lstat(), target.stat())
|
|
1609
|
+
# Symlinking a str target
|
|
1610
|
+
link = P / 'dirA' / 'linkAAA'
|
|
1611
|
+
link.symlink_to(str(target))
|
|
1612
|
+
self.assertEqual(link.stat(), target.stat())
|
|
1613
|
+
self.assertNotEqual(link.lstat(), target.stat())
|
|
1614
|
+
self.assertFalse(link.is_dir())
|
|
1615
|
+
# Symlinking to a directory
|
|
1616
|
+
target = P / 'dirB'
|
|
1617
|
+
link = P / 'dirA' / 'linkAAAA'
|
|
1618
|
+
link.symlink_to(target, target_is_directory=True)
|
|
1619
|
+
self.assertEqual(link.stat(), target.stat())
|
|
1620
|
+
self.assertNotEqual(link.lstat(), target.stat())
|
|
1621
|
+
self.assertTrue(link.is_dir())
|
|
1622
|
+
self.assertTrue(list(link.iterdir()))
|
|
1623
|
+
|
|
1624
|
+
def test_is_dir(self):
|
|
1625
|
+
P = self.cls(BASE)
|
|
1626
|
+
self.assertTrue((P / 'dirA').is_dir())
|
|
1627
|
+
self.assertFalse((P / 'fileA').is_dir())
|
|
1628
|
+
self.assertFalse((P / 'non-existing').is_dir())
|
|
1629
|
+
if not symlink_skip_reason:
|
|
1630
|
+
self.assertFalse((P / 'linkA').is_dir())
|
|
1631
|
+
self.assertTrue((P / 'linkB').is_dir())
|
|
1632
|
+
self.assertFalse((P/ 'brokenLink').is_dir())
|
|
1633
|
+
|
|
1634
|
+
def test_is_file(self):
|
|
1635
|
+
P = self.cls(BASE)
|
|
1636
|
+
self.assertTrue((P / 'fileA').is_file())
|
|
1637
|
+
self.assertFalse((P / 'dirA').is_file())
|
|
1638
|
+
self.assertFalse((P / 'non-existing').is_file())
|
|
1639
|
+
if not symlink_skip_reason:
|
|
1640
|
+
self.assertTrue((P / 'linkA').is_file())
|
|
1641
|
+
self.assertFalse((P / 'linkB').is_file())
|
|
1642
|
+
self.assertFalse((P/ 'brokenLink').is_file())
|
|
1643
|
+
|
|
1644
|
+
def test_is_symlink(self):
|
|
1645
|
+
P = self.cls(BASE)
|
|
1646
|
+
self.assertFalse((P / 'fileA').is_symlink())
|
|
1647
|
+
self.assertFalse((P / 'dirA').is_symlink())
|
|
1648
|
+
self.assertFalse((P / 'non-existing').is_symlink())
|
|
1649
|
+
if not symlink_skip_reason:
|
|
1650
|
+
self.assertTrue((P / 'linkA').is_symlink())
|
|
1651
|
+
self.assertTrue((P / 'linkB').is_symlink())
|
|
1652
|
+
self.assertTrue((P/ 'brokenLink').is_symlink())
|
|
1653
|
+
|
|
1654
|
+
def test_is_fifo_false(self):
|
|
1655
|
+
P = self.cls(BASE)
|
|
1656
|
+
self.assertFalse((P / 'fileA').is_fifo())
|
|
1657
|
+
self.assertFalse((P / 'dirA').is_fifo())
|
|
1658
|
+
self.assertFalse((P / 'non-existing').is_fifo())
|
|
1659
|
+
|
|
1660
|
+
@unittest.skipUnless(hasattr(os, "mkfifo"), "os.mkfifo() required")
|
|
1661
|
+
def test_is_fifo_true(self):
|
|
1662
|
+
P = self.cls(BASE, 'myfifo')
|
|
1663
|
+
os.mkfifo(str(P))
|
|
1664
|
+
self.assertTrue(P.is_fifo())
|
|
1665
|
+
self.assertFalse(P.is_socket())
|
|
1666
|
+
self.assertFalse(P.is_file())
|
|
1667
|
+
|
|
1668
|
+
def test_is_socket_false(self):
|
|
1669
|
+
P = self.cls(BASE)
|
|
1670
|
+
self.assertFalse((P / 'fileA').is_socket())
|
|
1671
|
+
self.assertFalse((P / 'dirA').is_socket())
|
|
1672
|
+
self.assertFalse((P / 'non-existing').is_socket())
|
|
1673
|
+
|
|
1674
|
+
@unittest.skipUnless(hasattr(socket, "AF_UNIX"), "Unix sockets required")
|
|
1675
|
+
def test_is_socket_true(self):
|
|
1676
|
+
P = self.cls(BASE, 'mysock')
|
|
1677
|
+
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
|
1678
|
+
self.addCleanup(sock.close)
|
|
1679
|
+
try:
|
|
1680
|
+
sock.bind(str(P))
|
|
1681
|
+
except OSError as e:
|
|
1682
|
+
if "AF_UNIX path too long" in str(e):
|
|
1683
|
+
self.skipTest("cannot bind Unix socket: " + str(e))
|
|
1684
|
+
self.assertTrue(P.is_socket())
|
|
1685
|
+
self.assertFalse(P.is_fifo())
|
|
1686
|
+
self.assertFalse(P.is_file())
|
|
1687
|
+
|
|
1688
|
+
def test_is_block_device_false(self):
|
|
1689
|
+
P = self.cls(BASE)
|
|
1690
|
+
self.assertFalse((P / 'fileA').is_block_device())
|
|
1691
|
+
self.assertFalse((P / 'dirA').is_block_device())
|
|
1692
|
+
self.assertFalse((P / 'non-existing').is_block_device())
|
|
1693
|
+
|
|
1694
|
+
def test_is_char_device_false(self):
|
|
1695
|
+
P = self.cls(BASE)
|
|
1696
|
+
self.assertFalse((P / 'fileA').is_char_device())
|
|
1697
|
+
self.assertFalse((P / 'dirA').is_char_device())
|
|
1698
|
+
self.assertFalse((P / 'non-existing').is_char_device())
|
|
1699
|
+
|
|
1700
|
+
def test_is_char_device_true(self):
|
|
1701
|
+
# Under Unix, /dev/null should generally be a char device
|
|
1702
|
+
P = self.cls('/dev/null')
|
|
1703
|
+
if not P.exists():
|
|
1704
|
+
self.skipTest("/dev/null required")
|
|
1705
|
+
self.assertTrue(P.is_char_device())
|
|
1706
|
+
self.assertFalse(P.is_block_device())
|
|
1707
|
+
self.assertFalse(P.is_file())
|
|
1708
|
+
|
|
1709
|
+
def test_pickling_common(self):
|
|
1710
|
+
p = self.cls(BASE, 'fileA')
|
|
1711
|
+
for proto in range(0, pickle.HIGHEST_PROTOCOL + 1):
|
|
1712
|
+
dumped = pickle.dumps(p, proto)
|
|
1713
|
+
pp = pickle.loads(dumped)
|
|
1714
|
+
self.assertEqual(pp.stat(), p.stat())
|
|
1715
|
+
|
|
1716
|
+
def test_parts_interning(self):
|
|
1717
|
+
P = self.cls
|
|
1718
|
+
p = P('/usr/bin/foo')
|
|
1719
|
+
q = P('/usr/local/bin')
|
|
1720
|
+
# 'usr'
|
|
1721
|
+
self.assertIs(p.parts[1], q.parts[1])
|
|
1722
|
+
# 'bin'
|
|
1723
|
+
self.assertIs(p.parts[2], q.parts[3])
|
|
1724
|
+
|
|
1725
|
+
def _check_complex_symlinks(self, link0_target):
|
|
1726
|
+
# Test solving a non-looping chain of symlinks (issue #19887)
|
|
1727
|
+
P = self.cls(BASE)
|
|
1728
|
+
self.dirlink(os.path.join('link0', 'link0'), join('link1'))
|
|
1729
|
+
self.dirlink(os.path.join('link1', 'link1'), join('link2'))
|
|
1730
|
+
self.dirlink(os.path.join('link2', 'link2'), join('link3'))
|
|
1731
|
+
self.dirlink(link0_target, join('link0'))
|
|
1732
|
+
|
|
1733
|
+
# Resolve absolute paths
|
|
1734
|
+
p = (P / 'link0').resolve()
|
|
1735
|
+
self.assertEqual(p, P)
|
|
1736
|
+
self.assertEqual(str(p), BASE)
|
|
1737
|
+
p = (P / 'link1').resolve()
|
|
1738
|
+
self.assertEqual(p, P)
|
|
1739
|
+
self.assertEqual(str(p), BASE)
|
|
1740
|
+
p = (P / 'link2').resolve()
|
|
1741
|
+
self.assertEqual(p, P)
|
|
1742
|
+
self.assertEqual(str(p), BASE)
|
|
1743
|
+
p = (P / 'link3').resolve()
|
|
1744
|
+
self.assertEqual(p, P)
|
|
1745
|
+
self.assertEqual(str(p), BASE)
|
|
1746
|
+
|
|
1747
|
+
# Resolve relative paths
|
|
1748
|
+
old_path = os.getcwd()
|
|
1749
|
+
os.chdir(BASE)
|
|
1750
|
+
try:
|
|
1751
|
+
p = self.cls('link0').resolve()
|
|
1752
|
+
self.assertEqual(p, P)
|
|
1753
|
+
self.assertEqual(str(p), BASE)
|
|
1754
|
+
p = self.cls('link1').resolve()
|
|
1755
|
+
self.assertEqual(p, P)
|
|
1756
|
+
self.assertEqual(str(p), BASE)
|
|
1757
|
+
p = self.cls('link2').resolve()
|
|
1758
|
+
self.assertEqual(p, P)
|
|
1759
|
+
self.assertEqual(str(p), BASE)
|
|
1760
|
+
p = self.cls('link3').resolve()
|
|
1761
|
+
self.assertEqual(p, P)
|
|
1762
|
+
self.assertEqual(str(p), BASE)
|
|
1763
|
+
finally:
|
|
1764
|
+
os.chdir(old_path)
|
|
1765
|
+
|
|
1766
|
+
@with_symlinks
|
|
1767
|
+
def test_complex_symlinks_absolute(self):
|
|
1768
|
+
self._check_complex_symlinks(BASE)
|
|
1769
|
+
|
|
1770
|
+
@with_symlinks
|
|
1771
|
+
def test_complex_symlinks_relative(self):
|
|
1772
|
+
self._check_complex_symlinks('.')
|
|
1773
|
+
|
|
1774
|
+
@with_symlinks
|
|
1775
|
+
def test_complex_symlinks_relative_dot_dot(self):
|
|
1776
|
+
self._check_complex_symlinks(os.path.join('dirA', '..'))
|
|
1777
|
+
|
|
1778
|
+
|
|
1779
|
+
class PathTest(_BasePathTest, unittest.TestCase):
|
|
1780
|
+
cls = pathlib.Path
|
|
1781
|
+
|
|
1782
|
+
def test_concrete_class(self):
|
|
1783
|
+
p = self.cls('a')
|
|
1784
|
+
self.assertIs(type(p),
|
|
1785
|
+
pathlib.WindowsPath if os.name == 'nt' else pathlib.PosixPath)
|
|
1786
|
+
|
|
1787
|
+
def test_unsupported_flavour(self):
|
|
1788
|
+
if os.name == 'nt':
|
|
1789
|
+
self.assertRaises(NotImplementedError, pathlib.PosixPath)
|
|
1790
|
+
else:
|
|
1791
|
+
self.assertRaises(NotImplementedError, pathlib.WindowsPath)
|
|
1792
|
+
|
|
1793
|
+
|
|
1794
|
+
@only_posix
|
|
1795
|
+
class PosixPathTest(_BasePathTest, unittest.TestCase):
|
|
1796
|
+
cls = pathlib.PosixPath
|
|
1797
|
+
|
|
1798
|
+
def _check_symlink_loop(self, *args):
|
|
1799
|
+
path = self.cls(*args)
|
|
1800
|
+
with self.assertRaises(RuntimeError):
|
|
1801
|
+
print(path.resolve())
|
|
1802
|
+
|
|
1803
|
+
def test_open_mode(self):
|
|
1804
|
+
old_mask = os.umask(0)
|
|
1805
|
+
self.addCleanup(os.umask, old_mask)
|
|
1806
|
+
p = self.cls(BASE)
|
|
1807
|
+
with (p / 'new_file').open('wb'):
|
|
1808
|
+
pass
|
|
1809
|
+
st = os.stat(join('new_file'))
|
|
1810
|
+
self.assertEqual(stat.S_IMODE(st.st_mode), 0o666)
|
|
1811
|
+
os.umask(0o022)
|
|
1812
|
+
with (p / 'other_new_file').open('wb'):
|
|
1813
|
+
pass
|
|
1814
|
+
st = os.stat(join('other_new_file'))
|
|
1815
|
+
self.assertEqual(stat.S_IMODE(st.st_mode), 0o644)
|
|
1816
|
+
|
|
1817
|
+
def test_touch_mode(self):
|
|
1818
|
+
old_mask = os.umask(0)
|
|
1819
|
+
self.addCleanup(os.umask, old_mask)
|
|
1820
|
+
p = self.cls(BASE)
|
|
1821
|
+
(p / 'new_file').touch()
|
|
1822
|
+
st = os.stat(join('new_file'))
|
|
1823
|
+
self.assertEqual(stat.S_IMODE(st.st_mode), 0o666)
|
|
1824
|
+
os.umask(0o022)
|
|
1825
|
+
(p / 'other_new_file').touch()
|
|
1826
|
+
st = os.stat(join('other_new_file'))
|
|
1827
|
+
self.assertEqual(stat.S_IMODE(st.st_mode), 0o644)
|
|
1828
|
+
(p / 'masked_new_file').touch(mode=0o750)
|
|
1829
|
+
st = os.stat(join('masked_new_file'))
|
|
1830
|
+
self.assertEqual(stat.S_IMODE(st.st_mode), 0o750)
|
|
1831
|
+
|
|
1832
|
+
@with_symlinks
|
|
1833
|
+
def test_resolve_loop(self):
|
|
1834
|
+
# Loop detection for broken symlinks under POSIX
|
|
1835
|
+
P = self.cls
|
|
1836
|
+
# Loops with relative symlinks
|
|
1837
|
+
os.symlink('linkX/inside', join('linkX'))
|
|
1838
|
+
self._check_symlink_loop(BASE, 'linkX')
|
|
1839
|
+
os.symlink('linkY', join('linkY'))
|
|
1840
|
+
self._check_symlink_loop(BASE, 'linkY')
|
|
1841
|
+
os.symlink('linkZ/../linkZ', join('linkZ'))
|
|
1842
|
+
self._check_symlink_loop(BASE, 'linkZ')
|
|
1843
|
+
# Loops with absolute symlinks
|
|
1844
|
+
os.symlink(join('linkU/inside'), join('linkU'))
|
|
1845
|
+
self._check_symlink_loop(BASE, 'linkU')
|
|
1846
|
+
os.symlink(join('linkV'), join('linkV'))
|
|
1847
|
+
self._check_symlink_loop(BASE, 'linkV')
|
|
1848
|
+
os.symlink(join('linkW/../linkW'), join('linkW'))
|
|
1849
|
+
self._check_symlink_loop(BASE, 'linkW')
|
|
1850
|
+
|
|
1851
|
+
def test_glob(self):
|
|
1852
|
+
P = self.cls
|
|
1853
|
+
p = P(BASE)
|
|
1854
|
+
given = set(p.glob("FILEa"))
|
|
1855
|
+
expect = set() if not support.fs_is_case_insensitive(BASE) else given
|
|
1856
|
+
self.assertEqual(given, expect)
|
|
1857
|
+
self.assertEqual(set(p.glob("FILEa*")), set())
|
|
1858
|
+
|
|
1859
|
+
def test_rglob(self):
|
|
1860
|
+
P = self.cls
|
|
1861
|
+
p = P(BASE, "dirC")
|
|
1862
|
+
given = set(p.rglob("FILEd"))
|
|
1863
|
+
expect = set() if not support.fs_is_case_insensitive(BASE) else given
|
|
1864
|
+
self.assertEqual(given, expect)
|
|
1865
|
+
self.assertEqual(set(p.rglob("FILEd*")), set())
|
|
1866
|
+
|
|
1867
|
+
|
|
1868
|
+
@only_nt
|
|
1869
|
+
class WindowsPathTest(_BasePathTest, unittest.TestCase):
|
|
1870
|
+
cls = pathlib.WindowsPath
|
|
1871
|
+
|
|
1872
|
+
def test_glob(self):
|
|
1873
|
+
P = self.cls
|
|
1874
|
+
p = P(BASE)
|
|
1875
|
+
self.assertEqual(set(p.glob("FILEa")), { P(BASE, "fileA") })
|
|
1876
|
+
|
|
1877
|
+
def test_rglob(self):
|
|
1878
|
+
P = self.cls
|
|
1879
|
+
p = P(BASE, "dirC")
|
|
1880
|
+
self.assertEqual(set(p.rglob("FILEd")), { P(BASE, "dirC/dirD/fileD") })
|
|
1881
|
+
|
|
1882
|
+
|
|
1883
|
+
if __name__ == "__main__":
|
|
1884
|
+
unittest.main()
|