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,1646 @@
|
|
|
1
|
+
import unittest
|
|
2
|
+
from test import support
|
|
3
|
+
from test import test_urllib
|
|
4
|
+
|
|
5
|
+
import os
|
|
6
|
+
import io
|
|
7
|
+
import socket
|
|
8
|
+
import array
|
|
9
|
+
import sys
|
|
10
|
+
|
|
11
|
+
import urllib.request
|
|
12
|
+
# The proxy bypass method imported below has logic specific to the OSX
|
|
13
|
+
# proxy config data structure but is testable on all platforms.
|
|
14
|
+
from urllib.request import Request, OpenerDirector, _parse_proxy, _proxy_bypass_macosx_sysconf
|
|
15
|
+
from urllib.parse import urlparse
|
|
16
|
+
import urllib.error
|
|
17
|
+
import http.client
|
|
18
|
+
|
|
19
|
+
# XXX
|
|
20
|
+
# Request
|
|
21
|
+
# CacheFTPHandler (hard to write)
|
|
22
|
+
# parse_keqv_list, parse_http_list, HTTPDigestAuthHandler
|
|
23
|
+
|
|
24
|
+
class TrivialTests(unittest.TestCase):
|
|
25
|
+
|
|
26
|
+
def test___all__(self):
|
|
27
|
+
# Verify which names are exposed
|
|
28
|
+
for module in 'request', 'response', 'parse', 'error', 'robotparser':
|
|
29
|
+
context = {}
|
|
30
|
+
exec('from urllib.%s import *' % module, context)
|
|
31
|
+
del context['__builtins__']
|
|
32
|
+
if module == 'request' and os.name == 'nt':
|
|
33
|
+
u, p = context.pop('url2pathname'), context.pop('pathname2url')
|
|
34
|
+
self.assertEqual(u.__module__, 'nturl2path')
|
|
35
|
+
self.assertEqual(p.__module__, 'nturl2path')
|
|
36
|
+
for k, v in context.items():
|
|
37
|
+
self.assertEqual(v.__module__, 'urllib.%s' % module,
|
|
38
|
+
"%r is exposed in 'urllib.%s' but defined in %r" %
|
|
39
|
+
(k, module, v.__module__))
|
|
40
|
+
|
|
41
|
+
def test_trivial(self):
|
|
42
|
+
# A couple trivial tests
|
|
43
|
+
|
|
44
|
+
self.assertRaises(ValueError, urllib.request.urlopen, 'bogus url')
|
|
45
|
+
|
|
46
|
+
# XXX Name hacking to get this to work on Windows.
|
|
47
|
+
fname = os.path.abspath(urllib.request.__file__).replace('\\', '/')
|
|
48
|
+
|
|
49
|
+
if os.name == 'nt':
|
|
50
|
+
file_url = "file:///%s" % fname
|
|
51
|
+
else:
|
|
52
|
+
file_url = "file://%s" % fname
|
|
53
|
+
|
|
54
|
+
f = urllib.request.urlopen(file_url)
|
|
55
|
+
|
|
56
|
+
f.read()
|
|
57
|
+
f.close()
|
|
58
|
+
|
|
59
|
+
def test_parse_http_list(self):
|
|
60
|
+
tests = [
|
|
61
|
+
('a,b,c', ['a', 'b', 'c']),
|
|
62
|
+
('path"o,l"og"i"cal, example', ['path"o,l"og"i"cal', 'example']),
|
|
63
|
+
('a, b, "c", "d", "e,f", g, h',
|
|
64
|
+
['a', 'b', '"c"', '"d"', '"e,f"', 'g', 'h']),
|
|
65
|
+
('a="b\\"c", d="e\\,f", g="h\\\\i"',
|
|
66
|
+
['a="b"c"', 'd="e,f"', 'g="h\\i"'])]
|
|
67
|
+
for string, list in tests:
|
|
68
|
+
self.assertEqual(urllib.request.parse_http_list(string), list)
|
|
69
|
+
|
|
70
|
+
def test_URLError_reasonstr(self):
|
|
71
|
+
err = urllib.error.URLError('reason')
|
|
72
|
+
self.assertIn(err.reason, str(err))
|
|
73
|
+
|
|
74
|
+
class RequestHdrsTests(unittest.TestCase):
|
|
75
|
+
|
|
76
|
+
def test_request_headers_dict(self):
|
|
77
|
+
"""
|
|
78
|
+
The Request.headers dictionary is not a documented interface. It
|
|
79
|
+
should stay that way, because the complete set of headers are only
|
|
80
|
+
accessible through the .get_header(), .has_header(), .header_items()
|
|
81
|
+
interface. However, .headers pre-dates those methods, and so real code
|
|
82
|
+
will be using the dictionary.
|
|
83
|
+
|
|
84
|
+
The introduction in 2.4 of those methods was a mistake for the same
|
|
85
|
+
reason: code that previously saw all (urllib2 user)-provided headers in
|
|
86
|
+
.headers now sees only a subset.
|
|
87
|
+
|
|
88
|
+
"""
|
|
89
|
+
url = "http://example.com"
|
|
90
|
+
self.assertEqual(Request(url,
|
|
91
|
+
headers={"Spam-eggs": "blah"}
|
|
92
|
+
).headers["Spam-eggs"], "blah")
|
|
93
|
+
self.assertEqual(Request(url,
|
|
94
|
+
headers={"spam-EggS": "blah"}
|
|
95
|
+
).headers["Spam-eggs"], "blah")
|
|
96
|
+
|
|
97
|
+
def test_request_headers_methods(self):
|
|
98
|
+
"""
|
|
99
|
+
Note the case normalization of header names here, to
|
|
100
|
+
.capitalize()-case. This should be preserved for
|
|
101
|
+
backwards-compatibility. (In the HTTP case, normalization to
|
|
102
|
+
.title()-case is done by urllib2 before sending headers to
|
|
103
|
+
http.client).
|
|
104
|
+
|
|
105
|
+
Note that e.g. r.has_header("spam-EggS") is currently False, and
|
|
106
|
+
r.get_header("spam-EggS") returns None, but that could be changed in
|
|
107
|
+
future.
|
|
108
|
+
|
|
109
|
+
Method r.remove_header should remove items both from r.headers and
|
|
110
|
+
r.unredirected_hdrs dictionaries
|
|
111
|
+
"""
|
|
112
|
+
url = "http://example.com"
|
|
113
|
+
req = Request(url, headers={"Spam-eggs": "blah"})
|
|
114
|
+
self.assertTrue(req.has_header("Spam-eggs"))
|
|
115
|
+
self.assertEqual(req.header_items(), [('Spam-eggs', 'blah')])
|
|
116
|
+
|
|
117
|
+
req.add_header("Foo-Bar", "baz")
|
|
118
|
+
self.assertEqual(sorted(req.header_items()),
|
|
119
|
+
[('Foo-bar', 'baz'), ('Spam-eggs', 'blah')])
|
|
120
|
+
self.assertFalse(req.has_header("Not-there"))
|
|
121
|
+
self.assertIsNone(req.get_header("Not-there"))
|
|
122
|
+
self.assertEqual(req.get_header("Not-there", "default"), "default")
|
|
123
|
+
|
|
124
|
+
req.remove_header("Spam-eggs")
|
|
125
|
+
self.assertFalse(req.has_header("Spam-eggs"))
|
|
126
|
+
|
|
127
|
+
req.add_unredirected_header("Unredirected-spam", "Eggs")
|
|
128
|
+
self.assertTrue(req.has_header("Unredirected-spam"))
|
|
129
|
+
|
|
130
|
+
req.remove_header("Unredirected-spam")
|
|
131
|
+
self.assertFalse(req.has_header("Unredirected-spam"))
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
def test_password_manager(self):
|
|
135
|
+
mgr = urllib.request.HTTPPasswordMgr()
|
|
136
|
+
add = mgr.add_password
|
|
137
|
+
find_user_pass = mgr.find_user_password
|
|
138
|
+
add("Some Realm", "http://example.com/", "joe", "password")
|
|
139
|
+
add("Some Realm", "http://example.com/ni", "ni", "ni")
|
|
140
|
+
add("c", "http://example.com/foo", "foo", "ni")
|
|
141
|
+
add("c", "http://example.com/bar", "bar", "nini")
|
|
142
|
+
add("b", "http://example.com/", "first", "blah")
|
|
143
|
+
add("b", "http://example.com/", "second", "spam")
|
|
144
|
+
add("a", "http://example.com", "1", "a")
|
|
145
|
+
add("Some Realm", "http://c.example.com:3128", "3", "c")
|
|
146
|
+
add("Some Realm", "d.example.com", "4", "d")
|
|
147
|
+
add("Some Realm", "e.example.com:3128", "5", "e")
|
|
148
|
+
|
|
149
|
+
self.assertEqual(find_user_pass("Some Realm", "example.com"),
|
|
150
|
+
('joe', 'password'))
|
|
151
|
+
|
|
152
|
+
#self.assertEqual(find_user_pass("Some Realm", "http://example.com/ni"),
|
|
153
|
+
# ('ni', 'ni'))
|
|
154
|
+
|
|
155
|
+
self.assertEqual(find_user_pass("Some Realm", "http://example.com"),
|
|
156
|
+
('joe', 'password'))
|
|
157
|
+
self.assertEqual(find_user_pass("Some Realm", "http://example.com/"),
|
|
158
|
+
('joe', 'password'))
|
|
159
|
+
self.assertEqual(
|
|
160
|
+
find_user_pass("Some Realm", "http://example.com/spam"),
|
|
161
|
+
('joe', 'password'))
|
|
162
|
+
self.assertEqual(
|
|
163
|
+
find_user_pass("Some Realm", "http://example.com/spam/spam"),
|
|
164
|
+
('joe', 'password'))
|
|
165
|
+
self.assertEqual(find_user_pass("c", "http://example.com/foo"),
|
|
166
|
+
('foo', 'ni'))
|
|
167
|
+
self.assertEqual(find_user_pass("c", "http://example.com/bar"),
|
|
168
|
+
('bar', 'nini'))
|
|
169
|
+
self.assertEqual(find_user_pass("b", "http://example.com/"),
|
|
170
|
+
('second', 'spam'))
|
|
171
|
+
|
|
172
|
+
# No special relationship between a.example.com and example.com:
|
|
173
|
+
|
|
174
|
+
self.assertEqual(find_user_pass("a", "http://example.com/"),
|
|
175
|
+
('1', 'a'))
|
|
176
|
+
self.assertEqual(find_user_pass("a", "http://a.example.com/"),
|
|
177
|
+
(None, None))
|
|
178
|
+
|
|
179
|
+
# Ports:
|
|
180
|
+
|
|
181
|
+
self.assertEqual(find_user_pass("Some Realm", "c.example.com"),
|
|
182
|
+
(None, None))
|
|
183
|
+
self.assertEqual(find_user_pass("Some Realm", "c.example.com:3128"),
|
|
184
|
+
('3', 'c'))
|
|
185
|
+
self.assertEqual(
|
|
186
|
+
find_user_pass("Some Realm", "http://c.example.com:3128"),
|
|
187
|
+
('3', 'c'))
|
|
188
|
+
self.assertEqual(find_user_pass("Some Realm", "d.example.com"),
|
|
189
|
+
('4', 'd'))
|
|
190
|
+
self.assertEqual(find_user_pass("Some Realm", "e.example.com:3128"),
|
|
191
|
+
('5', 'e'))
|
|
192
|
+
|
|
193
|
+
def test_password_manager_default_port(self):
|
|
194
|
+
"""
|
|
195
|
+
The point to note here is that we can't guess the default port if
|
|
196
|
+
there's no scheme. This applies to both add_password and
|
|
197
|
+
find_user_password.
|
|
198
|
+
"""
|
|
199
|
+
mgr = urllib.request.HTTPPasswordMgr()
|
|
200
|
+
add = mgr.add_password
|
|
201
|
+
find_user_pass = mgr.find_user_password
|
|
202
|
+
add("f", "http://g.example.com:80", "10", "j")
|
|
203
|
+
add("g", "http://h.example.com", "11", "k")
|
|
204
|
+
add("h", "i.example.com:80", "12", "l")
|
|
205
|
+
add("i", "j.example.com", "13", "m")
|
|
206
|
+
self.assertEqual(find_user_pass("f", "g.example.com:100"),
|
|
207
|
+
(None, None))
|
|
208
|
+
self.assertEqual(find_user_pass("f", "g.example.com:80"),
|
|
209
|
+
('10', 'j'))
|
|
210
|
+
self.assertEqual(find_user_pass("f", "g.example.com"),
|
|
211
|
+
(None, None))
|
|
212
|
+
self.assertEqual(find_user_pass("f", "http://g.example.com:100"),
|
|
213
|
+
(None, None))
|
|
214
|
+
self.assertEqual(find_user_pass("f", "http://g.example.com:80"),
|
|
215
|
+
('10', 'j'))
|
|
216
|
+
self.assertEqual(find_user_pass("f", "http://g.example.com"),
|
|
217
|
+
('10', 'j'))
|
|
218
|
+
self.assertEqual(find_user_pass("g", "h.example.com"), ('11', 'k'))
|
|
219
|
+
self.assertEqual(find_user_pass("g", "h.example.com:80"), ('11', 'k'))
|
|
220
|
+
self.assertEqual(find_user_pass("g", "http://h.example.com:80"),
|
|
221
|
+
('11', 'k'))
|
|
222
|
+
self.assertEqual(find_user_pass("h", "i.example.com"), (None, None))
|
|
223
|
+
self.assertEqual(find_user_pass("h", "i.example.com:80"), ('12', 'l'))
|
|
224
|
+
self.assertEqual(find_user_pass("h", "http://i.example.com:80"),
|
|
225
|
+
('12', 'l'))
|
|
226
|
+
self.assertEqual(find_user_pass("i", "j.example.com"), ('13', 'm'))
|
|
227
|
+
self.assertEqual(find_user_pass("i", "j.example.com:80"),
|
|
228
|
+
(None, None))
|
|
229
|
+
self.assertEqual(find_user_pass("i", "http://j.example.com"),
|
|
230
|
+
('13', 'm'))
|
|
231
|
+
self.assertEqual(find_user_pass("i", "http://j.example.com:80"),
|
|
232
|
+
(None, None))
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
class MockOpener:
|
|
236
|
+
addheaders = []
|
|
237
|
+
def open(self, req, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
|
|
238
|
+
self.req, self.data, self.timeout = req, data, timeout
|
|
239
|
+
def error(self, proto, *args):
|
|
240
|
+
self.proto, self.args = proto, args
|
|
241
|
+
|
|
242
|
+
class MockFile:
|
|
243
|
+
def read(self, count=None): pass
|
|
244
|
+
def readline(self, count=None): pass
|
|
245
|
+
def close(self): pass
|
|
246
|
+
|
|
247
|
+
class MockHeaders(dict):
|
|
248
|
+
def getheaders(self, name):
|
|
249
|
+
return list(self.values())
|
|
250
|
+
|
|
251
|
+
class MockResponse(io.StringIO):
|
|
252
|
+
def __init__(self, code, msg, headers, data, url=None):
|
|
253
|
+
io.StringIO.__init__(self, data)
|
|
254
|
+
self.code, self.msg, self.headers, self.url = code, msg, headers, url
|
|
255
|
+
def info(self):
|
|
256
|
+
return self.headers
|
|
257
|
+
def geturl(self):
|
|
258
|
+
return self.url
|
|
259
|
+
|
|
260
|
+
class MockCookieJar:
|
|
261
|
+
def add_cookie_header(self, request):
|
|
262
|
+
self.ach_req = request
|
|
263
|
+
def extract_cookies(self, response, request):
|
|
264
|
+
self.ec_req, self.ec_r = request, response
|
|
265
|
+
|
|
266
|
+
class FakeMethod:
|
|
267
|
+
def __init__(self, meth_name, action, handle):
|
|
268
|
+
self.meth_name = meth_name
|
|
269
|
+
self.handle = handle
|
|
270
|
+
self.action = action
|
|
271
|
+
def __call__(self, *args):
|
|
272
|
+
return self.handle(self.meth_name, self.action, *args)
|
|
273
|
+
|
|
274
|
+
class MockHTTPResponse(io.IOBase):
|
|
275
|
+
def __init__(self, fp, msg, status, reason):
|
|
276
|
+
self.fp = fp
|
|
277
|
+
self.msg = msg
|
|
278
|
+
self.status = status
|
|
279
|
+
self.reason = reason
|
|
280
|
+
self.code = 200
|
|
281
|
+
|
|
282
|
+
def read(self):
|
|
283
|
+
return ''
|
|
284
|
+
|
|
285
|
+
def info(self):
|
|
286
|
+
return {}
|
|
287
|
+
|
|
288
|
+
def geturl(self):
|
|
289
|
+
return self.url
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
class MockHTTPClass:
|
|
293
|
+
def __init__(self):
|
|
294
|
+
self.level = 0
|
|
295
|
+
self.req_headers = []
|
|
296
|
+
self.data = None
|
|
297
|
+
self.raise_on_endheaders = False
|
|
298
|
+
self.sock = None
|
|
299
|
+
self._tunnel_headers = {}
|
|
300
|
+
|
|
301
|
+
def __call__(self, host, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
|
|
302
|
+
self.host = host
|
|
303
|
+
self.timeout = timeout
|
|
304
|
+
return self
|
|
305
|
+
|
|
306
|
+
def set_debuglevel(self, level):
|
|
307
|
+
self.level = level
|
|
308
|
+
|
|
309
|
+
def set_tunnel(self, host, port=None, headers=None):
|
|
310
|
+
self._tunnel_host = host
|
|
311
|
+
self._tunnel_port = port
|
|
312
|
+
if headers:
|
|
313
|
+
self._tunnel_headers = headers
|
|
314
|
+
else:
|
|
315
|
+
self._tunnel_headers.clear()
|
|
316
|
+
|
|
317
|
+
def request(self, method, url, body=None, headers=None):
|
|
318
|
+
self.method = method
|
|
319
|
+
self.selector = url
|
|
320
|
+
if headers is not None:
|
|
321
|
+
self.req_headers += headers.items()
|
|
322
|
+
self.req_headers.sort()
|
|
323
|
+
if body:
|
|
324
|
+
self.data = body
|
|
325
|
+
if self.raise_on_endheaders:
|
|
326
|
+
raise OSError()
|
|
327
|
+
def getresponse(self):
|
|
328
|
+
return MockHTTPResponse(MockFile(), {}, 200, "OK")
|
|
329
|
+
|
|
330
|
+
def close(self):
|
|
331
|
+
pass
|
|
332
|
+
|
|
333
|
+
class MockHandler:
|
|
334
|
+
# useful for testing handler machinery
|
|
335
|
+
# see add_ordered_mock_handlers() docstring
|
|
336
|
+
handler_order = 500
|
|
337
|
+
def __init__(self, methods):
|
|
338
|
+
self._define_methods(methods)
|
|
339
|
+
def _define_methods(self, methods):
|
|
340
|
+
for spec in methods:
|
|
341
|
+
if len(spec) == 2: name, action = spec
|
|
342
|
+
else: name, action = spec, None
|
|
343
|
+
meth = FakeMethod(name, action, self.handle)
|
|
344
|
+
setattr(self.__class__, name, meth)
|
|
345
|
+
def handle(self, fn_name, action, *args, **kwds):
|
|
346
|
+
self.parent.calls.append((self, fn_name, args, kwds))
|
|
347
|
+
if action is None:
|
|
348
|
+
return None
|
|
349
|
+
elif action == "return self":
|
|
350
|
+
return self
|
|
351
|
+
elif action == "return response":
|
|
352
|
+
res = MockResponse(200, "OK", {}, "")
|
|
353
|
+
return res
|
|
354
|
+
elif action == "return request":
|
|
355
|
+
return Request("http://blah/")
|
|
356
|
+
elif action.startswith("error"):
|
|
357
|
+
code = action[action.rfind(" ")+1:]
|
|
358
|
+
try:
|
|
359
|
+
code = int(code)
|
|
360
|
+
except ValueError:
|
|
361
|
+
pass
|
|
362
|
+
res = MockResponse(200, "OK", {}, "")
|
|
363
|
+
return self.parent.error("http", args[0], res, code, "", {})
|
|
364
|
+
elif action == "raise":
|
|
365
|
+
raise urllib.error.URLError("blah")
|
|
366
|
+
assert False
|
|
367
|
+
def close(self): pass
|
|
368
|
+
def add_parent(self, parent):
|
|
369
|
+
self.parent = parent
|
|
370
|
+
self.parent.calls = []
|
|
371
|
+
def __lt__(self, other):
|
|
372
|
+
if not hasattr(other, "handler_order"):
|
|
373
|
+
# No handler_order, leave in original order. Yuck.
|
|
374
|
+
return True
|
|
375
|
+
return self.handler_order < other.handler_order
|
|
376
|
+
|
|
377
|
+
def add_ordered_mock_handlers(opener, meth_spec):
|
|
378
|
+
"""Create MockHandlers and add them to an OpenerDirector.
|
|
379
|
+
|
|
380
|
+
meth_spec: list of lists of tuples and strings defining methods to define
|
|
381
|
+
on handlers. eg:
|
|
382
|
+
|
|
383
|
+
[["http_error", "ftp_open"], ["http_open"]]
|
|
384
|
+
|
|
385
|
+
defines methods .http_error() and .ftp_open() on one handler, and
|
|
386
|
+
.http_open() on another. These methods just record their arguments and
|
|
387
|
+
return None. Using a tuple instead of a string causes the method to
|
|
388
|
+
perform some action (see MockHandler.handle()), eg:
|
|
389
|
+
|
|
390
|
+
[["http_error"], [("http_open", "return request")]]
|
|
391
|
+
|
|
392
|
+
defines .http_error() on one handler (which simply returns None), and
|
|
393
|
+
.http_open() on another handler, which returns a Request object.
|
|
394
|
+
|
|
395
|
+
"""
|
|
396
|
+
handlers = []
|
|
397
|
+
count = 0
|
|
398
|
+
for meths in meth_spec:
|
|
399
|
+
class MockHandlerSubclass(MockHandler): pass
|
|
400
|
+
h = MockHandlerSubclass(meths)
|
|
401
|
+
h.handler_order += count
|
|
402
|
+
h.add_parent(opener)
|
|
403
|
+
count = count + 1
|
|
404
|
+
handlers.append(h)
|
|
405
|
+
opener.add_handler(h)
|
|
406
|
+
return handlers
|
|
407
|
+
|
|
408
|
+
def build_test_opener(*handler_instances):
|
|
409
|
+
opener = OpenerDirector()
|
|
410
|
+
for h in handler_instances:
|
|
411
|
+
opener.add_handler(h)
|
|
412
|
+
return opener
|
|
413
|
+
|
|
414
|
+
class MockHTTPHandler(urllib.request.BaseHandler):
|
|
415
|
+
# useful for testing redirections and auth
|
|
416
|
+
# sends supplied headers and code as first response
|
|
417
|
+
# sends 200 OK as second response
|
|
418
|
+
def __init__(self, code, headers):
|
|
419
|
+
self.code = code
|
|
420
|
+
self.headers = headers
|
|
421
|
+
self.reset()
|
|
422
|
+
def reset(self):
|
|
423
|
+
self._count = 0
|
|
424
|
+
self.requests = []
|
|
425
|
+
def http_open(self, req):
|
|
426
|
+
import email, http.client, copy
|
|
427
|
+
self.requests.append(copy.deepcopy(req))
|
|
428
|
+
if self._count == 0:
|
|
429
|
+
self._count = self._count + 1
|
|
430
|
+
name = http.client.responses[self.code]
|
|
431
|
+
msg = email.message_from_string(self.headers)
|
|
432
|
+
return self.parent.error(
|
|
433
|
+
"http", req, MockFile(), self.code, name, msg)
|
|
434
|
+
else:
|
|
435
|
+
self.req = req
|
|
436
|
+
msg = email.message_from_string("\r\n\r\n")
|
|
437
|
+
return MockResponse(200, "OK", msg, "", req.get_full_url())
|
|
438
|
+
|
|
439
|
+
class MockHTTPSHandler(urllib.request.AbstractHTTPHandler):
|
|
440
|
+
# Useful for testing the Proxy-Authorization request by verifying the
|
|
441
|
+
# properties of httpcon
|
|
442
|
+
|
|
443
|
+
def __init__(self):
|
|
444
|
+
urllib.request.AbstractHTTPHandler.__init__(self)
|
|
445
|
+
self.httpconn = MockHTTPClass()
|
|
446
|
+
|
|
447
|
+
def https_open(self, req):
|
|
448
|
+
return self.do_open(self.httpconn, req)
|
|
449
|
+
|
|
450
|
+
class MockPasswordManager:
|
|
451
|
+
def add_password(self, realm, uri, user, password):
|
|
452
|
+
self.realm = realm
|
|
453
|
+
self.url = uri
|
|
454
|
+
self.user = user
|
|
455
|
+
self.password = password
|
|
456
|
+
def find_user_password(self, realm, authuri):
|
|
457
|
+
self.target_realm = realm
|
|
458
|
+
self.target_url = authuri
|
|
459
|
+
return self.user, self.password
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
class OpenerDirectorTests(unittest.TestCase):
|
|
463
|
+
|
|
464
|
+
def test_add_non_handler(self):
|
|
465
|
+
class NonHandler(object):
|
|
466
|
+
pass
|
|
467
|
+
self.assertRaises(TypeError,
|
|
468
|
+
OpenerDirector().add_handler, NonHandler())
|
|
469
|
+
|
|
470
|
+
def test_badly_named_methods(self):
|
|
471
|
+
# test work-around for three methods that accidentally follow the
|
|
472
|
+
# naming conventions for handler methods
|
|
473
|
+
# (*_open() / *_request() / *_response())
|
|
474
|
+
|
|
475
|
+
# These used to call the accidentally-named methods, causing a
|
|
476
|
+
# TypeError in real code; here, returning self from these mock
|
|
477
|
+
# methods would either cause no exception, or AttributeError.
|
|
478
|
+
|
|
479
|
+
from urllib.error import URLError
|
|
480
|
+
|
|
481
|
+
o = OpenerDirector()
|
|
482
|
+
meth_spec = [
|
|
483
|
+
[("do_open", "return self"), ("proxy_open", "return self")],
|
|
484
|
+
[("redirect_request", "return self")],
|
|
485
|
+
]
|
|
486
|
+
add_ordered_mock_handlers(o, meth_spec)
|
|
487
|
+
o.add_handler(urllib.request.UnknownHandler())
|
|
488
|
+
for scheme in "do", "proxy", "redirect":
|
|
489
|
+
self.assertRaises(URLError, o.open, scheme+"://example.com/")
|
|
490
|
+
|
|
491
|
+
def test_handled(self):
|
|
492
|
+
# handler returning non-None means no more handlers will be called
|
|
493
|
+
o = OpenerDirector()
|
|
494
|
+
meth_spec = [
|
|
495
|
+
["http_open", "ftp_open", "http_error_302"],
|
|
496
|
+
["ftp_open"],
|
|
497
|
+
[("http_open", "return self")],
|
|
498
|
+
[("http_open", "return self")],
|
|
499
|
+
]
|
|
500
|
+
handlers = add_ordered_mock_handlers(o, meth_spec)
|
|
501
|
+
|
|
502
|
+
req = Request("http://example.com/")
|
|
503
|
+
r = o.open(req)
|
|
504
|
+
# Second .http_open() gets called, third doesn't, since second returned
|
|
505
|
+
# non-None. Handlers without .http_open() never get any methods called
|
|
506
|
+
# on them.
|
|
507
|
+
# In fact, second mock handler defining .http_open() returns self
|
|
508
|
+
# (instead of response), which becomes the OpenerDirector's return
|
|
509
|
+
# value.
|
|
510
|
+
self.assertEqual(r, handlers[2])
|
|
511
|
+
calls = [(handlers[0], "http_open"), (handlers[2], "http_open")]
|
|
512
|
+
for expected, got in zip(calls, o.calls):
|
|
513
|
+
handler, name, args, kwds = got
|
|
514
|
+
self.assertEqual((handler, name), expected)
|
|
515
|
+
self.assertEqual(args, (req,))
|
|
516
|
+
|
|
517
|
+
def test_handler_order(self):
|
|
518
|
+
o = OpenerDirector()
|
|
519
|
+
handlers = []
|
|
520
|
+
for meths, handler_order in [
|
|
521
|
+
([("http_open", "return self")], 500),
|
|
522
|
+
(["http_open"], 0),
|
|
523
|
+
]:
|
|
524
|
+
class MockHandlerSubclass(MockHandler): pass
|
|
525
|
+
h = MockHandlerSubclass(meths)
|
|
526
|
+
h.handler_order = handler_order
|
|
527
|
+
handlers.append(h)
|
|
528
|
+
o.add_handler(h)
|
|
529
|
+
|
|
530
|
+
o.open("http://example.com/")
|
|
531
|
+
# handlers called in reverse order, thanks to their sort order
|
|
532
|
+
self.assertEqual(o.calls[0][0], handlers[1])
|
|
533
|
+
self.assertEqual(o.calls[1][0], handlers[0])
|
|
534
|
+
|
|
535
|
+
def test_raise(self):
|
|
536
|
+
# raising URLError stops processing of request
|
|
537
|
+
o = OpenerDirector()
|
|
538
|
+
meth_spec = [
|
|
539
|
+
[("http_open", "raise")],
|
|
540
|
+
[("http_open", "return self")],
|
|
541
|
+
]
|
|
542
|
+
handlers = add_ordered_mock_handlers(o, meth_spec)
|
|
543
|
+
|
|
544
|
+
req = Request("http://example.com/")
|
|
545
|
+
self.assertRaises(urllib.error.URLError, o.open, req)
|
|
546
|
+
self.assertEqual(o.calls, [(handlers[0], "http_open", (req,), {})])
|
|
547
|
+
|
|
548
|
+
def test_http_error(self):
|
|
549
|
+
# XXX http_error_default
|
|
550
|
+
# http errors are a special case
|
|
551
|
+
o = OpenerDirector()
|
|
552
|
+
meth_spec = [
|
|
553
|
+
[("http_open", "error 302")],
|
|
554
|
+
[("http_error_400", "raise"), "http_open"],
|
|
555
|
+
[("http_error_302", "return response"), "http_error_303",
|
|
556
|
+
"http_error"],
|
|
557
|
+
[("http_error_302")],
|
|
558
|
+
]
|
|
559
|
+
handlers = add_ordered_mock_handlers(o, meth_spec)
|
|
560
|
+
|
|
561
|
+
class Unknown:
|
|
562
|
+
def __eq__(self, other): return True
|
|
563
|
+
|
|
564
|
+
req = Request("http://example.com/")
|
|
565
|
+
o.open(req)
|
|
566
|
+
assert len(o.calls) == 2
|
|
567
|
+
calls = [(handlers[0], "http_open", (req,)),
|
|
568
|
+
(handlers[2], "http_error_302",
|
|
569
|
+
(req, Unknown(), 302, "", {}))]
|
|
570
|
+
for expected, got in zip(calls, o.calls):
|
|
571
|
+
handler, method_name, args = expected
|
|
572
|
+
self.assertEqual((handler, method_name), got[:2])
|
|
573
|
+
self.assertEqual(args, got[2])
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
def test_processors(self):
|
|
577
|
+
# *_request / *_response methods get called appropriately
|
|
578
|
+
o = OpenerDirector()
|
|
579
|
+
meth_spec = [
|
|
580
|
+
[("http_request", "return request"),
|
|
581
|
+
("http_response", "return response")],
|
|
582
|
+
[("http_request", "return request"),
|
|
583
|
+
("http_response", "return response")],
|
|
584
|
+
]
|
|
585
|
+
handlers = add_ordered_mock_handlers(o, meth_spec)
|
|
586
|
+
|
|
587
|
+
req = Request("http://example.com/")
|
|
588
|
+
o.open(req)
|
|
589
|
+
# processor methods are called on *all* handlers that define them,
|
|
590
|
+
# not just the first handler that handles the request
|
|
591
|
+
calls = [
|
|
592
|
+
(handlers[0], "http_request"), (handlers[1], "http_request"),
|
|
593
|
+
(handlers[0], "http_response"), (handlers[1], "http_response")]
|
|
594
|
+
|
|
595
|
+
for i, (handler, name, args, kwds) in enumerate(o.calls):
|
|
596
|
+
if i < 2:
|
|
597
|
+
# *_request
|
|
598
|
+
self.assertEqual((handler, name), calls[i])
|
|
599
|
+
self.assertEqual(len(args), 1)
|
|
600
|
+
self.assertIsInstance(args[0], Request)
|
|
601
|
+
else:
|
|
602
|
+
# *_response
|
|
603
|
+
self.assertEqual((handler, name), calls[i])
|
|
604
|
+
self.assertEqual(len(args), 2)
|
|
605
|
+
self.assertIsInstance(args[0], Request)
|
|
606
|
+
# response from opener.open is None, because there's no
|
|
607
|
+
# handler that defines http_open to handle it
|
|
608
|
+
if args[1] is not None:
|
|
609
|
+
self.assertIsInstance(args[1], MockResponse)
|
|
610
|
+
|
|
611
|
+
def sanepathname2url(path):
|
|
612
|
+
try:
|
|
613
|
+
path.encode("utf-8")
|
|
614
|
+
except UnicodeEncodeError:
|
|
615
|
+
raise unittest.SkipTest("path is not encodable to utf8")
|
|
616
|
+
urlpath = urllib.request.pathname2url(path)
|
|
617
|
+
if os.name == "nt" and urlpath.startswith("///"):
|
|
618
|
+
urlpath = urlpath[2:]
|
|
619
|
+
# XXX don't ask me about the mac...
|
|
620
|
+
return urlpath
|
|
621
|
+
|
|
622
|
+
class HandlerTests(unittest.TestCase):
|
|
623
|
+
|
|
624
|
+
def test_ftp(self):
|
|
625
|
+
class MockFTPWrapper:
|
|
626
|
+
def __init__(self, data): self.data = data
|
|
627
|
+
def retrfile(self, filename, filetype):
|
|
628
|
+
self.filename, self.filetype = filename, filetype
|
|
629
|
+
return io.StringIO(self.data), len(self.data)
|
|
630
|
+
def close(self): pass
|
|
631
|
+
|
|
632
|
+
class NullFTPHandler(urllib.request.FTPHandler):
|
|
633
|
+
def __init__(self, data): self.data = data
|
|
634
|
+
def connect_ftp(self, user, passwd, host, port, dirs,
|
|
635
|
+
timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
|
|
636
|
+
self.user, self.passwd = user, passwd
|
|
637
|
+
self.host, self.port = host, port
|
|
638
|
+
self.dirs = dirs
|
|
639
|
+
self.ftpwrapper = MockFTPWrapper(self.data)
|
|
640
|
+
return self.ftpwrapper
|
|
641
|
+
|
|
642
|
+
import ftplib
|
|
643
|
+
data = "rheum rhaponicum"
|
|
644
|
+
h = NullFTPHandler(data)
|
|
645
|
+
h.parent = MockOpener()
|
|
646
|
+
|
|
647
|
+
for url, host, port, user, passwd, type_, dirs, filename, mimetype in [
|
|
648
|
+
("ftp://localhost/foo/bar/baz.html",
|
|
649
|
+
"localhost", ftplib.FTP_PORT, "", "", "I",
|
|
650
|
+
["foo", "bar"], "baz.html", "text/html"),
|
|
651
|
+
("ftp://parrot@localhost/foo/bar/baz.html",
|
|
652
|
+
"localhost", ftplib.FTP_PORT, "parrot", "", "I",
|
|
653
|
+
["foo", "bar"], "baz.html", "text/html"),
|
|
654
|
+
("ftp://%25parrot@localhost/foo/bar/baz.html",
|
|
655
|
+
"localhost", ftplib.FTP_PORT, "%parrot", "", "I",
|
|
656
|
+
["foo", "bar"], "baz.html", "text/html"),
|
|
657
|
+
("ftp://%2542parrot@localhost/foo/bar/baz.html",
|
|
658
|
+
"localhost", ftplib.FTP_PORT, "%42parrot", "", "I",
|
|
659
|
+
["foo", "bar"], "baz.html", "text/html"),
|
|
660
|
+
("ftp://localhost:80/foo/bar/",
|
|
661
|
+
"localhost", 80, "", "", "D",
|
|
662
|
+
["foo", "bar"], "", None),
|
|
663
|
+
("ftp://localhost/baz.gif;type=a",
|
|
664
|
+
"localhost", ftplib.FTP_PORT, "", "", "A",
|
|
665
|
+
[], "baz.gif", None), # XXX really this should guess image/gif
|
|
666
|
+
]:
|
|
667
|
+
req = Request(url)
|
|
668
|
+
req.timeout = None
|
|
669
|
+
r = h.ftp_open(req)
|
|
670
|
+
# ftp authentication not yet implemented by FTPHandler
|
|
671
|
+
self.assertEqual(h.user, user)
|
|
672
|
+
self.assertEqual(h.passwd, passwd)
|
|
673
|
+
self.assertEqual(h.host, socket.gethostbyname(host))
|
|
674
|
+
self.assertEqual(h.port, port)
|
|
675
|
+
self.assertEqual(h.dirs, dirs)
|
|
676
|
+
self.assertEqual(h.ftpwrapper.filename, filename)
|
|
677
|
+
self.assertEqual(h.ftpwrapper.filetype, type_)
|
|
678
|
+
headers = r.info()
|
|
679
|
+
self.assertEqual(headers.get("Content-type"), mimetype)
|
|
680
|
+
self.assertEqual(int(headers["Content-length"]), len(data))
|
|
681
|
+
|
|
682
|
+
def test_file(self):
|
|
683
|
+
import email.utils
|
|
684
|
+
h = urllib.request.FileHandler()
|
|
685
|
+
o = h.parent = MockOpener()
|
|
686
|
+
|
|
687
|
+
TESTFN = support.TESTFN
|
|
688
|
+
urlpath = sanepathname2url(os.path.abspath(TESTFN))
|
|
689
|
+
towrite = b"hello, world\n"
|
|
690
|
+
urls = [
|
|
691
|
+
"file://localhost%s" % urlpath,
|
|
692
|
+
"file://%s" % urlpath,
|
|
693
|
+
"file://%s%s" % (socket.gethostbyname('localhost'), urlpath),
|
|
694
|
+
]
|
|
695
|
+
try:
|
|
696
|
+
localaddr = socket.gethostbyname(socket.gethostname())
|
|
697
|
+
except socket.gaierror:
|
|
698
|
+
localaddr = ''
|
|
699
|
+
if localaddr:
|
|
700
|
+
urls.append("file://%s%s" % (localaddr, urlpath))
|
|
701
|
+
|
|
702
|
+
for url in urls:
|
|
703
|
+
f = open(TESTFN, "wb")
|
|
704
|
+
try:
|
|
705
|
+
try:
|
|
706
|
+
f.write(towrite)
|
|
707
|
+
finally:
|
|
708
|
+
f.close()
|
|
709
|
+
|
|
710
|
+
r = h.file_open(Request(url))
|
|
711
|
+
try:
|
|
712
|
+
data = r.read()
|
|
713
|
+
headers = r.info()
|
|
714
|
+
respurl = r.geturl()
|
|
715
|
+
finally:
|
|
716
|
+
r.close()
|
|
717
|
+
stats = os.stat(TESTFN)
|
|
718
|
+
modified = email.utils.formatdate(stats.st_mtime, usegmt=True)
|
|
719
|
+
finally:
|
|
720
|
+
os.remove(TESTFN)
|
|
721
|
+
self.assertEqual(data, towrite)
|
|
722
|
+
self.assertEqual(headers["Content-type"], "text/plain")
|
|
723
|
+
self.assertEqual(headers["Content-length"], "13")
|
|
724
|
+
self.assertEqual(headers["Last-modified"], modified)
|
|
725
|
+
self.assertEqual(respurl, url)
|
|
726
|
+
|
|
727
|
+
for url in [
|
|
728
|
+
"file://localhost:80%s" % urlpath,
|
|
729
|
+
"file:///file_does_not_exist.txt",
|
|
730
|
+
"file://not-a-local-host.com//dir/file.txt",
|
|
731
|
+
"file://%s:80%s/%s" % (socket.gethostbyname('localhost'),
|
|
732
|
+
os.getcwd(), TESTFN),
|
|
733
|
+
"file://somerandomhost.ontheinternet.com%s/%s" %
|
|
734
|
+
(os.getcwd(), TESTFN),
|
|
735
|
+
]:
|
|
736
|
+
try:
|
|
737
|
+
f = open(TESTFN, "wb")
|
|
738
|
+
try:
|
|
739
|
+
f.write(towrite)
|
|
740
|
+
finally:
|
|
741
|
+
f.close()
|
|
742
|
+
|
|
743
|
+
self.assertRaises(urllib.error.URLError,
|
|
744
|
+
h.file_open, Request(url))
|
|
745
|
+
finally:
|
|
746
|
+
os.remove(TESTFN)
|
|
747
|
+
|
|
748
|
+
h = urllib.request.FileHandler()
|
|
749
|
+
o = h.parent = MockOpener()
|
|
750
|
+
# XXXX why does // mean ftp (and /// mean not ftp!), and where
|
|
751
|
+
# is file: scheme specified? I think this is really a bug, and
|
|
752
|
+
# what was intended was to distinguish between URLs like:
|
|
753
|
+
# file:/blah.txt (a file)
|
|
754
|
+
# file://localhost/blah.txt (a file)
|
|
755
|
+
# file:///blah.txt (a file)
|
|
756
|
+
# file://ftp.example.com/blah.txt (an ftp URL)
|
|
757
|
+
for url, ftp in [
|
|
758
|
+
("file://ftp.example.com//foo.txt", False),
|
|
759
|
+
("file://ftp.example.com///foo.txt", False),
|
|
760
|
+
# XXXX bug: fails with OSError, should be URLError
|
|
761
|
+
("file://ftp.example.com/foo.txt", False),
|
|
762
|
+
("file://somehost//foo/something.txt", False),
|
|
763
|
+
("file://localhost//foo/something.txt", False),
|
|
764
|
+
]:
|
|
765
|
+
req = Request(url)
|
|
766
|
+
try:
|
|
767
|
+
h.file_open(req)
|
|
768
|
+
# XXXX remove OSError when bug fixed
|
|
769
|
+
except (urllib.error.URLError, OSError):
|
|
770
|
+
self.assertFalse(ftp)
|
|
771
|
+
else:
|
|
772
|
+
self.assertIs(o.req, req)
|
|
773
|
+
self.assertEqual(req.type, "ftp")
|
|
774
|
+
self.assertEqual(req.type == "ftp", ftp)
|
|
775
|
+
|
|
776
|
+
def test_http(self):
|
|
777
|
+
|
|
778
|
+
h = urllib.request.AbstractHTTPHandler()
|
|
779
|
+
o = h.parent = MockOpener()
|
|
780
|
+
|
|
781
|
+
url = "http://example.com/"
|
|
782
|
+
for method, data in [("GET", None), ("POST", b"blah")]:
|
|
783
|
+
req = Request(url, data, {"Foo": "bar"})
|
|
784
|
+
req.timeout = None
|
|
785
|
+
req.add_unredirected_header("Spam", "eggs")
|
|
786
|
+
http = MockHTTPClass()
|
|
787
|
+
r = h.do_open(http, req)
|
|
788
|
+
|
|
789
|
+
# result attributes
|
|
790
|
+
r.read; r.readline # wrapped MockFile methods
|
|
791
|
+
r.info; r.geturl # addinfourl methods
|
|
792
|
+
r.code, r.msg == 200, "OK" # added from MockHTTPClass.getreply()
|
|
793
|
+
hdrs = r.info()
|
|
794
|
+
hdrs.get; hdrs.__contains__ # r.info() gives dict from .getreply()
|
|
795
|
+
self.assertEqual(r.geturl(), url)
|
|
796
|
+
|
|
797
|
+
self.assertEqual(http.host, "example.com")
|
|
798
|
+
self.assertEqual(http.level, 0)
|
|
799
|
+
self.assertEqual(http.method, method)
|
|
800
|
+
self.assertEqual(http.selector, "/")
|
|
801
|
+
self.assertEqual(http.req_headers,
|
|
802
|
+
[("Connection", "close"),
|
|
803
|
+
("Foo", "bar"), ("Spam", "eggs")])
|
|
804
|
+
self.assertEqual(http.data, data)
|
|
805
|
+
|
|
806
|
+
# check OSError converted to URLError
|
|
807
|
+
http.raise_on_endheaders = True
|
|
808
|
+
self.assertRaises(urllib.error.URLError, h.do_open, http, req)
|
|
809
|
+
|
|
810
|
+
# Check for TypeError on POST data which is str.
|
|
811
|
+
req = Request("http://example.com/","badpost")
|
|
812
|
+
self.assertRaises(TypeError, h.do_request_, req)
|
|
813
|
+
|
|
814
|
+
# check adding of standard headers
|
|
815
|
+
o.addheaders = [("Spam", "eggs")]
|
|
816
|
+
for data in b"", None: # POST, GET
|
|
817
|
+
req = Request("http://example.com/", data)
|
|
818
|
+
r = MockResponse(200, "OK", {}, "")
|
|
819
|
+
newreq = h.do_request_(req)
|
|
820
|
+
if data is None: # GET
|
|
821
|
+
self.assertNotIn("Content-length", req.unredirected_hdrs)
|
|
822
|
+
self.assertNotIn("Content-type", req.unredirected_hdrs)
|
|
823
|
+
else: # POST
|
|
824
|
+
self.assertEqual(req.unredirected_hdrs["Content-length"], "0")
|
|
825
|
+
self.assertEqual(req.unredirected_hdrs["Content-type"],
|
|
826
|
+
"application/x-www-form-urlencoded")
|
|
827
|
+
# XXX the details of Host could be better tested
|
|
828
|
+
self.assertEqual(req.unredirected_hdrs["Host"], "example.com")
|
|
829
|
+
self.assertEqual(req.unredirected_hdrs["Spam"], "eggs")
|
|
830
|
+
|
|
831
|
+
# don't clobber existing headers
|
|
832
|
+
req.add_unredirected_header("Content-length", "foo")
|
|
833
|
+
req.add_unredirected_header("Content-type", "bar")
|
|
834
|
+
req.add_unredirected_header("Host", "baz")
|
|
835
|
+
req.add_unredirected_header("Spam", "foo")
|
|
836
|
+
newreq = h.do_request_(req)
|
|
837
|
+
self.assertEqual(req.unredirected_hdrs["Content-length"], "foo")
|
|
838
|
+
self.assertEqual(req.unredirected_hdrs["Content-type"], "bar")
|
|
839
|
+
self.assertEqual(req.unredirected_hdrs["Host"], "baz")
|
|
840
|
+
self.assertEqual(req.unredirected_hdrs["Spam"], "foo")
|
|
841
|
+
|
|
842
|
+
# Check iterable body support
|
|
843
|
+
def iterable_body():
|
|
844
|
+
yield b"one"
|
|
845
|
+
yield b"two"
|
|
846
|
+
yield b"three"
|
|
847
|
+
|
|
848
|
+
for headers in {}, {"Content-Length": 11}:
|
|
849
|
+
req = Request("http://example.com/", iterable_body(), headers)
|
|
850
|
+
if not headers:
|
|
851
|
+
# Having an iterable body without a Content-Length should
|
|
852
|
+
# raise an exception
|
|
853
|
+
self.assertRaises(ValueError, h.do_request_, req)
|
|
854
|
+
else:
|
|
855
|
+
newreq = h.do_request_(req)
|
|
856
|
+
|
|
857
|
+
# A file object.
|
|
858
|
+
# Test only Content-Length attribute of request.
|
|
859
|
+
|
|
860
|
+
file_obj = io.BytesIO()
|
|
861
|
+
file_obj.write(b"Something\nSomething\nSomething\n")
|
|
862
|
+
|
|
863
|
+
for headers in {}, {"Content-Length": 30}:
|
|
864
|
+
req = Request("http://example.com/", file_obj, headers)
|
|
865
|
+
if not headers:
|
|
866
|
+
# Having an iterable body without a Content-Length should
|
|
867
|
+
# raise an exception
|
|
868
|
+
self.assertRaises(ValueError, h.do_request_, req)
|
|
869
|
+
else:
|
|
870
|
+
newreq = h.do_request_(req)
|
|
871
|
+
self.assertEqual(int(newreq.get_header('Content-length')),30)
|
|
872
|
+
|
|
873
|
+
file_obj.close()
|
|
874
|
+
|
|
875
|
+
# array.array Iterable - Content Length is calculated
|
|
876
|
+
|
|
877
|
+
iterable_array = array.array("I",[1,2,3,4])
|
|
878
|
+
|
|
879
|
+
for headers in {}, {"Content-Length": 16}:
|
|
880
|
+
req = Request("http://example.com/", iterable_array, headers)
|
|
881
|
+
newreq = h.do_request_(req)
|
|
882
|
+
self.assertEqual(int(newreq.get_header('Content-length')),16)
|
|
883
|
+
|
|
884
|
+
def test_http_doubleslash(self):
|
|
885
|
+
# Checks the presence of any unnecessary double slash in url does not
|
|
886
|
+
# break anything. Previously, a double slash directly after the host
|
|
887
|
+
# could cause incorrect parsing.
|
|
888
|
+
h = urllib.request.AbstractHTTPHandler()
|
|
889
|
+
h.parent = MockOpener()
|
|
890
|
+
|
|
891
|
+
data = b""
|
|
892
|
+
ds_urls = [
|
|
893
|
+
"http://example.com/foo/bar/baz.html",
|
|
894
|
+
"http://example.com//foo/bar/baz.html",
|
|
895
|
+
"http://example.com/foo//bar/baz.html",
|
|
896
|
+
"http://example.com/foo/bar//baz.html"
|
|
897
|
+
]
|
|
898
|
+
|
|
899
|
+
for ds_url in ds_urls:
|
|
900
|
+
ds_req = Request(ds_url, data)
|
|
901
|
+
|
|
902
|
+
# Check whether host is determined correctly if there is no proxy
|
|
903
|
+
np_ds_req = h.do_request_(ds_req)
|
|
904
|
+
self.assertEqual(np_ds_req.unredirected_hdrs["Host"],"example.com")
|
|
905
|
+
|
|
906
|
+
# Check whether host is determined correctly if there is a proxy
|
|
907
|
+
ds_req.set_proxy("someproxy:3128",None)
|
|
908
|
+
p_ds_req = h.do_request_(ds_req)
|
|
909
|
+
self.assertEqual(p_ds_req.unredirected_hdrs["Host"],"example.com")
|
|
910
|
+
|
|
911
|
+
def test_full_url_setter(self):
|
|
912
|
+
# Checks to ensure that components are set correctly after setting the
|
|
913
|
+
# full_url of a Request object
|
|
914
|
+
|
|
915
|
+
urls = [
|
|
916
|
+
'http://example.com?foo=bar#baz',
|
|
917
|
+
'http://example.com?foo=bar&spam=eggs#bash',
|
|
918
|
+
'http://example.com',
|
|
919
|
+
]
|
|
920
|
+
|
|
921
|
+
# testing a reusable request instance, but the url parameter is
|
|
922
|
+
# required, so just use a dummy one to instantiate
|
|
923
|
+
r = Request('http://example.com')
|
|
924
|
+
for url in urls:
|
|
925
|
+
r.full_url = url
|
|
926
|
+
parsed = urlparse(url)
|
|
927
|
+
|
|
928
|
+
self.assertEqual(r.get_full_url(), url)
|
|
929
|
+
# full_url setter uses splittag to split into components.
|
|
930
|
+
# splittag sets the fragment as None while urlparse sets it to ''
|
|
931
|
+
self.assertEqual(r.fragment or '', parsed.fragment)
|
|
932
|
+
self.assertEqual(urlparse(r.get_full_url()).query, parsed.query)
|
|
933
|
+
|
|
934
|
+
def test_full_url_deleter(self):
|
|
935
|
+
r = Request('http://www.example.com')
|
|
936
|
+
del r.full_url
|
|
937
|
+
self.assertIsNone(r.full_url)
|
|
938
|
+
self.assertIsNone(r.fragment)
|
|
939
|
+
self.assertEqual(r.selector, '')
|
|
940
|
+
|
|
941
|
+
def test_fixpath_in_weirdurls(self):
|
|
942
|
+
# Issue4493: urllib2 to supply '/' when to urls where path does not
|
|
943
|
+
# start with'/'
|
|
944
|
+
|
|
945
|
+
h = urllib.request.AbstractHTTPHandler()
|
|
946
|
+
h.parent = MockOpener()
|
|
947
|
+
|
|
948
|
+
weird_url = 'http://www.python.org?getspam'
|
|
949
|
+
req = Request(weird_url)
|
|
950
|
+
newreq = h.do_request_(req)
|
|
951
|
+
self.assertEqual(newreq.host,'www.python.org')
|
|
952
|
+
self.assertEqual(newreq.selector,'/?getspam')
|
|
953
|
+
|
|
954
|
+
url_without_path = 'http://www.python.org'
|
|
955
|
+
req = Request(url_without_path)
|
|
956
|
+
newreq = h.do_request_(req)
|
|
957
|
+
self.assertEqual(newreq.host,'www.python.org')
|
|
958
|
+
self.assertEqual(newreq.selector,'')
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
def test_errors(self):
|
|
962
|
+
h = urllib.request.HTTPErrorProcessor()
|
|
963
|
+
o = h.parent = MockOpener()
|
|
964
|
+
|
|
965
|
+
url = "http://example.com/"
|
|
966
|
+
req = Request(url)
|
|
967
|
+
# all 2xx are passed through
|
|
968
|
+
r = MockResponse(200, "OK", {}, "", url)
|
|
969
|
+
newr = h.http_response(req, r)
|
|
970
|
+
self.assertIs(r, newr)
|
|
971
|
+
self.assertFalse(hasattr(o, "proto")) # o.error not called
|
|
972
|
+
r = MockResponse(202, "Accepted", {}, "", url)
|
|
973
|
+
newr = h.http_response(req, r)
|
|
974
|
+
self.assertIs(r, newr)
|
|
975
|
+
self.assertFalse(hasattr(o, "proto")) # o.error not called
|
|
976
|
+
r = MockResponse(206, "Partial content", {}, "", url)
|
|
977
|
+
newr = h.http_response(req, r)
|
|
978
|
+
self.assertIs(r, newr)
|
|
979
|
+
self.assertFalse(hasattr(o, "proto")) # o.error not called
|
|
980
|
+
# anything else calls o.error (and MockOpener returns None, here)
|
|
981
|
+
r = MockResponse(502, "Bad gateway", {}, "", url)
|
|
982
|
+
self.assertIsNone(h.http_response(req, r))
|
|
983
|
+
self.assertEqual(o.proto, "http") # o.error called
|
|
984
|
+
self.assertEqual(o.args, (req, r, 502, "Bad gateway", {}))
|
|
985
|
+
|
|
986
|
+
def test_cookies(self):
|
|
987
|
+
cj = MockCookieJar()
|
|
988
|
+
h = urllib.request.HTTPCookieProcessor(cj)
|
|
989
|
+
h.parent = MockOpener()
|
|
990
|
+
|
|
991
|
+
req = Request("http://example.com/")
|
|
992
|
+
r = MockResponse(200, "OK", {}, "")
|
|
993
|
+
newreq = h.http_request(req)
|
|
994
|
+
self.assertIs(cj.ach_req, req)
|
|
995
|
+
self.assertIs(cj.ach_req, newreq)
|
|
996
|
+
self.assertEqual(req.origin_req_host, "example.com")
|
|
997
|
+
self.assertFalse(req.unverifiable)
|
|
998
|
+
newr = h.http_response(req, r)
|
|
999
|
+
self.assertIs(cj.ec_req, req)
|
|
1000
|
+
self.assertIs(cj.ec_r, r)
|
|
1001
|
+
self.assertIs(r, newr)
|
|
1002
|
+
|
|
1003
|
+
def test_redirect(self):
|
|
1004
|
+
from_url = "http://example.com/a.html"
|
|
1005
|
+
to_url = "http://example.com/b.html"
|
|
1006
|
+
h = urllib.request.HTTPRedirectHandler()
|
|
1007
|
+
o = h.parent = MockOpener()
|
|
1008
|
+
|
|
1009
|
+
# ordinary redirect behaviour
|
|
1010
|
+
for code in 301, 302, 303, 307:
|
|
1011
|
+
for data in None, "blah\nblah\n":
|
|
1012
|
+
method = getattr(h, "http_error_%s" % code)
|
|
1013
|
+
req = Request(from_url, data)
|
|
1014
|
+
req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
|
|
1015
|
+
req.add_header("Nonsense", "viking=withhold")
|
|
1016
|
+
if data is not None:
|
|
1017
|
+
req.add_header("Content-Length", str(len(data)))
|
|
1018
|
+
req.add_unredirected_header("Spam", "spam")
|
|
1019
|
+
try:
|
|
1020
|
+
method(req, MockFile(), code, "Blah",
|
|
1021
|
+
MockHeaders({"location": to_url}))
|
|
1022
|
+
except urllib.error.HTTPError:
|
|
1023
|
+
# 307 in response to POST requires user OK
|
|
1024
|
+
self.assertEqual(code, 307)
|
|
1025
|
+
self.assertIsNotNone(data)
|
|
1026
|
+
self.assertEqual(o.req.get_full_url(), to_url)
|
|
1027
|
+
try:
|
|
1028
|
+
self.assertEqual(o.req.get_method(), "GET")
|
|
1029
|
+
except AttributeError:
|
|
1030
|
+
self.assertFalse(o.req.data)
|
|
1031
|
+
|
|
1032
|
+
# now it's a GET, there should not be headers regarding content
|
|
1033
|
+
# (possibly dragged from before being a POST)
|
|
1034
|
+
headers = [x.lower() for x in o.req.headers]
|
|
1035
|
+
self.assertNotIn("content-length", headers)
|
|
1036
|
+
self.assertNotIn("content-type", headers)
|
|
1037
|
+
|
|
1038
|
+
self.assertEqual(o.req.headers["Nonsense"],
|
|
1039
|
+
"viking=withhold")
|
|
1040
|
+
self.assertNotIn("Spam", o.req.headers)
|
|
1041
|
+
self.assertNotIn("Spam", o.req.unredirected_hdrs)
|
|
1042
|
+
|
|
1043
|
+
# loop detection
|
|
1044
|
+
req = Request(from_url)
|
|
1045
|
+
req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
|
|
1046
|
+
def redirect(h, req, url=to_url):
|
|
1047
|
+
h.http_error_302(req, MockFile(), 302, "Blah",
|
|
1048
|
+
MockHeaders({"location": url}))
|
|
1049
|
+
# Note that the *original* request shares the same record of
|
|
1050
|
+
# redirections with the sub-requests caused by the redirections.
|
|
1051
|
+
|
|
1052
|
+
# detect infinite loop redirect of a URL to itself
|
|
1053
|
+
req = Request(from_url, origin_req_host="example.com")
|
|
1054
|
+
count = 0
|
|
1055
|
+
req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
|
|
1056
|
+
try:
|
|
1057
|
+
while 1:
|
|
1058
|
+
redirect(h, req, "http://example.com/")
|
|
1059
|
+
count = count + 1
|
|
1060
|
+
except urllib.error.HTTPError:
|
|
1061
|
+
# don't stop until max_repeats, because cookies may introduce state
|
|
1062
|
+
self.assertEqual(count, urllib.request.HTTPRedirectHandler.max_repeats)
|
|
1063
|
+
|
|
1064
|
+
# detect endless non-repeating chain of redirects
|
|
1065
|
+
req = Request(from_url, origin_req_host="example.com")
|
|
1066
|
+
count = 0
|
|
1067
|
+
req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
|
|
1068
|
+
try:
|
|
1069
|
+
while 1:
|
|
1070
|
+
redirect(h, req, "http://example.com/%d" % count)
|
|
1071
|
+
count = count + 1
|
|
1072
|
+
except urllib.error.HTTPError:
|
|
1073
|
+
self.assertEqual(count,
|
|
1074
|
+
urllib.request.HTTPRedirectHandler.max_redirections)
|
|
1075
|
+
|
|
1076
|
+
|
|
1077
|
+
def test_invalid_redirect(self):
|
|
1078
|
+
from_url = "http://example.com/a.html"
|
|
1079
|
+
valid_schemes = ['http','https','ftp']
|
|
1080
|
+
invalid_schemes = ['file','imap','ldap']
|
|
1081
|
+
schemeless_url = "example.com/b.html"
|
|
1082
|
+
h = urllib.request.HTTPRedirectHandler()
|
|
1083
|
+
o = h.parent = MockOpener()
|
|
1084
|
+
req = Request(from_url)
|
|
1085
|
+
req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
|
|
1086
|
+
|
|
1087
|
+
for scheme in invalid_schemes:
|
|
1088
|
+
invalid_url = scheme + '://' + schemeless_url
|
|
1089
|
+
self.assertRaises(urllib.error.HTTPError, h.http_error_302,
|
|
1090
|
+
req, MockFile(), 302, "Security Loophole",
|
|
1091
|
+
MockHeaders({"location": invalid_url}))
|
|
1092
|
+
|
|
1093
|
+
for scheme in valid_schemes:
|
|
1094
|
+
valid_url = scheme + '://' + schemeless_url
|
|
1095
|
+
h.http_error_302(req, MockFile(), 302, "That's fine",
|
|
1096
|
+
MockHeaders({"location": valid_url}))
|
|
1097
|
+
self.assertEqual(o.req.get_full_url(), valid_url)
|
|
1098
|
+
|
|
1099
|
+
def test_relative_redirect(self):
|
|
1100
|
+
from_url = "http://example.com/a.html"
|
|
1101
|
+
relative_url = "/b.html"
|
|
1102
|
+
h = urllib.request.HTTPRedirectHandler()
|
|
1103
|
+
o = h.parent = MockOpener()
|
|
1104
|
+
req = Request(from_url)
|
|
1105
|
+
req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
|
|
1106
|
+
|
|
1107
|
+
valid_url = urllib.parse.urljoin(from_url,relative_url)
|
|
1108
|
+
h.http_error_302(req, MockFile(), 302, "That's fine",
|
|
1109
|
+
MockHeaders({"location": valid_url}))
|
|
1110
|
+
self.assertEqual(o.req.get_full_url(), valid_url)
|
|
1111
|
+
|
|
1112
|
+
def test_cookie_redirect(self):
|
|
1113
|
+
# cookies shouldn't leak into redirected requests
|
|
1114
|
+
from http.cookiejar import CookieJar
|
|
1115
|
+
from test.test_http_cookiejar import interact_netscape
|
|
1116
|
+
|
|
1117
|
+
cj = CookieJar()
|
|
1118
|
+
interact_netscape(cj, "http://www.example.com/", "spam=eggs")
|
|
1119
|
+
hh = MockHTTPHandler(302, "Location: http://www.cracker.com/\r\n\r\n")
|
|
1120
|
+
hdeh = urllib.request.HTTPDefaultErrorHandler()
|
|
1121
|
+
hrh = urllib.request.HTTPRedirectHandler()
|
|
1122
|
+
cp = urllib.request.HTTPCookieProcessor(cj)
|
|
1123
|
+
o = build_test_opener(hh, hdeh, hrh, cp)
|
|
1124
|
+
o.open("http://www.example.com/")
|
|
1125
|
+
self.assertFalse(hh.req.has_header("Cookie"))
|
|
1126
|
+
|
|
1127
|
+
def test_redirect_fragment(self):
|
|
1128
|
+
redirected_url = 'http://www.example.com/index.html#OK\r\n\r\n'
|
|
1129
|
+
hh = MockHTTPHandler(302, 'Location: ' + redirected_url)
|
|
1130
|
+
hdeh = urllib.request.HTTPDefaultErrorHandler()
|
|
1131
|
+
hrh = urllib.request.HTTPRedirectHandler()
|
|
1132
|
+
o = build_test_opener(hh, hdeh, hrh)
|
|
1133
|
+
fp = o.open('http://www.example.com')
|
|
1134
|
+
self.assertEqual(fp.geturl(), redirected_url.strip())
|
|
1135
|
+
|
|
1136
|
+
def test_proxy(self):
|
|
1137
|
+
o = OpenerDirector()
|
|
1138
|
+
ph = urllib.request.ProxyHandler(dict(http="proxy.example.com:3128"))
|
|
1139
|
+
o.add_handler(ph)
|
|
1140
|
+
meth_spec = [
|
|
1141
|
+
[("http_open", "return response")]
|
|
1142
|
+
]
|
|
1143
|
+
handlers = add_ordered_mock_handlers(o, meth_spec)
|
|
1144
|
+
|
|
1145
|
+
req = Request("http://acme.example.com/")
|
|
1146
|
+
self.assertEqual(req.host, "acme.example.com")
|
|
1147
|
+
o.open(req)
|
|
1148
|
+
self.assertEqual(req.host, "proxy.example.com:3128")
|
|
1149
|
+
|
|
1150
|
+
self.assertEqual([(handlers[0], "http_open")],
|
|
1151
|
+
[tup[0:2] for tup in o.calls])
|
|
1152
|
+
|
|
1153
|
+
def test_proxy_no_proxy(self):
|
|
1154
|
+
os.environ['no_proxy'] = 'python.org'
|
|
1155
|
+
o = OpenerDirector()
|
|
1156
|
+
ph = urllib.request.ProxyHandler(dict(http="proxy.example.com"))
|
|
1157
|
+
o.add_handler(ph)
|
|
1158
|
+
req = Request("http://www.perl.org/")
|
|
1159
|
+
self.assertEqual(req.host, "www.perl.org")
|
|
1160
|
+
o.open(req)
|
|
1161
|
+
self.assertEqual(req.host, "proxy.example.com")
|
|
1162
|
+
req = Request("http://www.python.org")
|
|
1163
|
+
self.assertEqual(req.host, "www.python.org")
|
|
1164
|
+
o.open(req)
|
|
1165
|
+
self.assertEqual(req.host, "www.python.org")
|
|
1166
|
+
del os.environ['no_proxy']
|
|
1167
|
+
|
|
1168
|
+
def test_proxy_no_proxy_all(self):
|
|
1169
|
+
os.environ['no_proxy'] = '*'
|
|
1170
|
+
o = OpenerDirector()
|
|
1171
|
+
ph = urllib.request.ProxyHandler(dict(http="proxy.example.com"))
|
|
1172
|
+
o.add_handler(ph)
|
|
1173
|
+
req = Request("http://www.python.org")
|
|
1174
|
+
self.assertEqual(req.host, "www.python.org")
|
|
1175
|
+
o.open(req)
|
|
1176
|
+
self.assertEqual(req.host, "www.python.org")
|
|
1177
|
+
del os.environ['no_proxy']
|
|
1178
|
+
|
|
1179
|
+
|
|
1180
|
+
def test_proxy_https(self):
|
|
1181
|
+
o = OpenerDirector()
|
|
1182
|
+
ph = urllib.request.ProxyHandler(dict(https="proxy.example.com:3128"))
|
|
1183
|
+
o.add_handler(ph)
|
|
1184
|
+
meth_spec = [
|
|
1185
|
+
[("https_open", "return response")]
|
|
1186
|
+
]
|
|
1187
|
+
handlers = add_ordered_mock_handlers(o, meth_spec)
|
|
1188
|
+
|
|
1189
|
+
req = Request("https://www.example.com/")
|
|
1190
|
+
self.assertEqual(req.host, "www.example.com")
|
|
1191
|
+
o.open(req)
|
|
1192
|
+
self.assertEqual(req.host, "proxy.example.com:3128")
|
|
1193
|
+
self.assertEqual([(handlers[0], "https_open")],
|
|
1194
|
+
[tup[0:2] for tup in o.calls])
|
|
1195
|
+
|
|
1196
|
+
def test_proxy_https_proxy_authorization(self):
|
|
1197
|
+
o = OpenerDirector()
|
|
1198
|
+
ph = urllib.request.ProxyHandler(dict(https='proxy.example.com:3128'))
|
|
1199
|
+
o.add_handler(ph)
|
|
1200
|
+
https_handler = MockHTTPSHandler()
|
|
1201
|
+
o.add_handler(https_handler)
|
|
1202
|
+
req = Request("https://www.example.com/")
|
|
1203
|
+
req.add_header("Proxy-Authorization","FooBar")
|
|
1204
|
+
req.add_header("User-Agent","Grail")
|
|
1205
|
+
self.assertEqual(req.host, "www.example.com")
|
|
1206
|
+
self.assertIsNone(req._tunnel_host)
|
|
1207
|
+
o.open(req)
|
|
1208
|
+
# Verify Proxy-Authorization gets tunneled to request.
|
|
1209
|
+
# httpsconn req_headers do not have the Proxy-Authorization header but
|
|
1210
|
+
# the req will have.
|
|
1211
|
+
self.assertNotIn(("Proxy-Authorization","FooBar"),
|
|
1212
|
+
https_handler.httpconn.req_headers)
|
|
1213
|
+
self.assertIn(("User-Agent","Grail"),
|
|
1214
|
+
https_handler.httpconn.req_headers)
|
|
1215
|
+
self.assertIsNotNone(req._tunnel_host)
|
|
1216
|
+
self.assertEqual(req.host, "proxy.example.com:3128")
|
|
1217
|
+
self.assertEqual(req.get_header("Proxy-authorization"),"FooBar")
|
|
1218
|
+
|
|
1219
|
+
# TODO: This should be only for OSX
|
|
1220
|
+
@unittest.skipUnless(sys.platform == 'darwin', "only relevant for OSX")
|
|
1221
|
+
def test_osx_proxy_bypass(self):
|
|
1222
|
+
bypass = {
|
|
1223
|
+
'exclude_simple': False,
|
|
1224
|
+
'exceptions': ['foo.bar', '*.bar.com', '127.0.0.1', '10.10',
|
|
1225
|
+
'10.0/16']
|
|
1226
|
+
}
|
|
1227
|
+
# Check hosts that should trigger the proxy bypass
|
|
1228
|
+
for host in ('foo.bar', 'www.bar.com', '127.0.0.1', '10.10.0.1',
|
|
1229
|
+
'10.0.0.1'):
|
|
1230
|
+
self.assertTrue(_proxy_bypass_macosx_sysconf(host, bypass),
|
|
1231
|
+
'expected bypass of %s to be True' % host)
|
|
1232
|
+
# Check hosts that should not trigger the proxy bypass
|
|
1233
|
+
for host in ('abc.foo.bar', 'bar.com', '127.0.0.2', '10.11.0.1',
|
|
1234
|
+
'notinbypass'):
|
|
1235
|
+
self.assertFalse(_proxy_bypass_macosx_sysconf(host, bypass),
|
|
1236
|
+
'expected bypass of %s to be False' % host)
|
|
1237
|
+
|
|
1238
|
+
# Check the exclude_simple flag
|
|
1239
|
+
bypass = {'exclude_simple': True, 'exceptions': []}
|
|
1240
|
+
self.assertTrue(_proxy_bypass_macosx_sysconf('test', bypass))
|
|
1241
|
+
|
|
1242
|
+
def test_basic_auth(self, quote_char='"'):
|
|
1243
|
+
opener = OpenerDirector()
|
|
1244
|
+
password_manager = MockPasswordManager()
|
|
1245
|
+
auth_handler = urllib.request.HTTPBasicAuthHandler(password_manager)
|
|
1246
|
+
realm = "ACME Widget Store"
|
|
1247
|
+
http_handler = MockHTTPHandler(
|
|
1248
|
+
401, 'WWW-Authenticate: Basic realm=%s%s%s\r\n\r\n' %
|
|
1249
|
+
(quote_char, realm, quote_char) )
|
|
1250
|
+
opener.add_handler(auth_handler)
|
|
1251
|
+
opener.add_handler(http_handler)
|
|
1252
|
+
self._test_basic_auth(opener, auth_handler, "Authorization",
|
|
1253
|
+
realm, http_handler, password_manager,
|
|
1254
|
+
"http://acme.example.com/protected",
|
|
1255
|
+
"http://acme.example.com/protected",
|
|
1256
|
+
)
|
|
1257
|
+
|
|
1258
|
+
def test_basic_auth_with_single_quoted_realm(self):
|
|
1259
|
+
self.test_basic_auth(quote_char="'")
|
|
1260
|
+
|
|
1261
|
+
def test_basic_auth_with_unquoted_realm(self):
|
|
1262
|
+
opener = OpenerDirector()
|
|
1263
|
+
password_manager = MockPasswordManager()
|
|
1264
|
+
auth_handler = urllib.request.HTTPBasicAuthHandler(password_manager)
|
|
1265
|
+
realm = "ACME Widget Store"
|
|
1266
|
+
http_handler = MockHTTPHandler(
|
|
1267
|
+
401, 'WWW-Authenticate: Basic realm=%s\r\n\r\n' % realm)
|
|
1268
|
+
opener.add_handler(auth_handler)
|
|
1269
|
+
opener.add_handler(http_handler)
|
|
1270
|
+
with self.assertWarns(UserWarning):
|
|
1271
|
+
self._test_basic_auth(opener, auth_handler, "Authorization",
|
|
1272
|
+
realm, http_handler, password_manager,
|
|
1273
|
+
"http://acme.example.com/protected",
|
|
1274
|
+
"http://acme.example.com/protected",
|
|
1275
|
+
)
|
|
1276
|
+
|
|
1277
|
+
def test_proxy_basic_auth(self):
|
|
1278
|
+
opener = OpenerDirector()
|
|
1279
|
+
ph = urllib.request.ProxyHandler(dict(http="proxy.example.com:3128"))
|
|
1280
|
+
opener.add_handler(ph)
|
|
1281
|
+
password_manager = MockPasswordManager()
|
|
1282
|
+
auth_handler = urllib.request.ProxyBasicAuthHandler(password_manager)
|
|
1283
|
+
realm = "ACME Networks"
|
|
1284
|
+
http_handler = MockHTTPHandler(
|
|
1285
|
+
407, 'Proxy-Authenticate: Basic realm="%s"\r\n\r\n' % realm)
|
|
1286
|
+
opener.add_handler(auth_handler)
|
|
1287
|
+
opener.add_handler(http_handler)
|
|
1288
|
+
self._test_basic_auth(opener, auth_handler, "Proxy-authorization",
|
|
1289
|
+
realm, http_handler, password_manager,
|
|
1290
|
+
"http://acme.example.com:3128/protected",
|
|
1291
|
+
"proxy.example.com:3128",
|
|
1292
|
+
)
|
|
1293
|
+
|
|
1294
|
+
def test_basic_and_digest_auth_handlers(self):
|
|
1295
|
+
# HTTPDigestAuthHandler raised an exception if it couldn't handle a 40*
|
|
1296
|
+
# response (http://python.org/sf/1479302), where it should instead
|
|
1297
|
+
# return None to allow another handler (especially
|
|
1298
|
+
# HTTPBasicAuthHandler) to handle the response.
|
|
1299
|
+
|
|
1300
|
+
# Also (http://python.org/sf/14797027, RFC 2617 section 1.2), we must
|
|
1301
|
+
# try digest first (since it's the strongest auth scheme), so we record
|
|
1302
|
+
# order of calls here to check digest comes first:
|
|
1303
|
+
class RecordingOpenerDirector(OpenerDirector):
|
|
1304
|
+
def __init__(self):
|
|
1305
|
+
OpenerDirector.__init__(self)
|
|
1306
|
+
self.recorded = []
|
|
1307
|
+
def record(self, info):
|
|
1308
|
+
self.recorded.append(info)
|
|
1309
|
+
class TestDigestAuthHandler(urllib.request.HTTPDigestAuthHandler):
|
|
1310
|
+
def http_error_401(self, *args, **kwds):
|
|
1311
|
+
self.parent.record("digest")
|
|
1312
|
+
urllib.request.HTTPDigestAuthHandler.http_error_401(self,
|
|
1313
|
+
*args, **kwds)
|
|
1314
|
+
class TestBasicAuthHandler(urllib.request.HTTPBasicAuthHandler):
|
|
1315
|
+
def http_error_401(self, *args, **kwds):
|
|
1316
|
+
self.parent.record("basic")
|
|
1317
|
+
urllib.request.HTTPBasicAuthHandler.http_error_401(self,
|
|
1318
|
+
*args, **kwds)
|
|
1319
|
+
|
|
1320
|
+
opener = RecordingOpenerDirector()
|
|
1321
|
+
password_manager = MockPasswordManager()
|
|
1322
|
+
digest_handler = TestDigestAuthHandler(password_manager)
|
|
1323
|
+
basic_handler = TestBasicAuthHandler(password_manager)
|
|
1324
|
+
realm = "ACME Networks"
|
|
1325
|
+
http_handler = MockHTTPHandler(
|
|
1326
|
+
401, 'WWW-Authenticate: Basic realm="%s"\r\n\r\n' % realm)
|
|
1327
|
+
opener.add_handler(basic_handler)
|
|
1328
|
+
opener.add_handler(digest_handler)
|
|
1329
|
+
opener.add_handler(http_handler)
|
|
1330
|
+
|
|
1331
|
+
# check basic auth isn't blocked by digest handler failing
|
|
1332
|
+
self._test_basic_auth(opener, basic_handler, "Authorization",
|
|
1333
|
+
realm, http_handler, password_manager,
|
|
1334
|
+
"http://acme.example.com/protected",
|
|
1335
|
+
"http://acme.example.com/protected",
|
|
1336
|
+
)
|
|
1337
|
+
# check digest was tried before basic (twice, because
|
|
1338
|
+
# _test_basic_auth called .open() twice)
|
|
1339
|
+
self.assertEqual(opener.recorded, ["digest", "basic"]*2)
|
|
1340
|
+
|
|
1341
|
+
def test_unsupported_auth_digest_handler(self):
|
|
1342
|
+
opener = OpenerDirector()
|
|
1343
|
+
# While using DigestAuthHandler
|
|
1344
|
+
digest_auth_handler = urllib.request.HTTPDigestAuthHandler(None)
|
|
1345
|
+
http_handler = MockHTTPHandler(
|
|
1346
|
+
401, 'WWW-Authenticate: Kerberos\r\n\r\n')
|
|
1347
|
+
opener.add_handler(digest_auth_handler)
|
|
1348
|
+
opener.add_handler(http_handler)
|
|
1349
|
+
self.assertRaises(ValueError,opener.open,"http://www.example.com")
|
|
1350
|
+
|
|
1351
|
+
def test_unsupported_auth_basic_handler(self):
|
|
1352
|
+
# While using BasicAuthHandler
|
|
1353
|
+
opener = OpenerDirector()
|
|
1354
|
+
basic_auth_handler = urllib.request.HTTPBasicAuthHandler(None)
|
|
1355
|
+
http_handler = MockHTTPHandler(
|
|
1356
|
+
401, 'WWW-Authenticate: NTLM\r\n\r\n')
|
|
1357
|
+
opener.add_handler(basic_auth_handler)
|
|
1358
|
+
opener.add_handler(http_handler)
|
|
1359
|
+
self.assertRaises(ValueError,opener.open,"http://www.example.com")
|
|
1360
|
+
|
|
1361
|
+
def _test_basic_auth(self, opener, auth_handler, auth_header,
|
|
1362
|
+
realm, http_handler, password_manager,
|
|
1363
|
+
request_url, protected_url):
|
|
1364
|
+
import base64
|
|
1365
|
+
user, password = "wile", "coyote"
|
|
1366
|
+
|
|
1367
|
+
# .add_password() fed through to password manager
|
|
1368
|
+
auth_handler.add_password(realm, request_url, user, password)
|
|
1369
|
+
self.assertEqual(realm, password_manager.realm)
|
|
1370
|
+
self.assertEqual(request_url, password_manager.url)
|
|
1371
|
+
self.assertEqual(user, password_manager.user)
|
|
1372
|
+
self.assertEqual(password, password_manager.password)
|
|
1373
|
+
|
|
1374
|
+
opener.open(request_url)
|
|
1375
|
+
|
|
1376
|
+
# should have asked the password manager for the username/password
|
|
1377
|
+
self.assertEqual(password_manager.target_realm, realm)
|
|
1378
|
+
self.assertEqual(password_manager.target_url, protected_url)
|
|
1379
|
+
|
|
1380
|
+
# expect one request without authorization, then one with
|
|
1381
|
+
self.assertEqual(len(http_handler.requests), 2)
|
|
1382
|
+
self.assertFalse(http_handler.requests[0].has_header(auth_header))
|
|
1383
|
+
userpass = bytes('%s:%s' % (user, password), "ascii")
|
|
1384
|
+
auth_hdr_value = ('Basic ' +
|
|
1385
|
+
base64.encodebytes(userpass).strip().decode())
|
|
1386
|
+
self.assertEqual(http_handler.requests[1].get_header(auth_header),
|
|
1387
|
+
auth_hdr_value)
|
|
1388
|
+
self.assertEqual(http_handler.requests[1].unredirected_hdrs[auth_header],
|
|
1389
|
+
auth_hdr_value)
|
|
1390
|
+
# if the password manager can't find a password, the handler won't
|
|
1391
|
+
# handle the HTTP auth error
|
|
1392
|
+
password_manager.user = password_manager.password = None
|
|
1393
|
+
http_handler.reset()
|
|
1394
|
+
opener.open(request_url)
|
|
1395
|
+
self.assertEqual(len(http_handler.requests), 1)
|
|
1396
|
+
self.assertFalse(http_handler.requests[0].has_header(auth_header))
|
|
1397
|
+
|
|
1398
|
+
def test_http_closed(self):
|
|
1399
|
+
"""Test the connection is cleaned up when the response is closed"""
|
|
1400
|
+
for (transfer, data) in (
|
|
1401
|
+
("Connection: close", b"data"),
|
|
1402
|
+
("Transfer-Encoding: chunked", b"4\r\ndata\r\n0\r\n\r\n"),
|
|
1403
|
+
("Content-Length: 4", b"data"),
|
|
1404
|
+
):
|
|
1405
|
+
header = "HTTP/1.1 200 OK\r\n{}\r\n\r\n".format(transfer)
|
|
1406
|
+
conn = test_urllib.fakehttp(header.encode() + data)
|
|
1407
|
+
handler = urllib.request.AbstractHTTPHandler()
|
|
1408
|
+
req = Request("http://dummy/")
|
|
1409
|
+
req.timeout = None
|
|
1410
|
+
with handler.do_open(conn, req) as resp:
|
|
1411
|
+
resp.read()
|
|
1412
|
+
self.assertTrue(conn.fakesock.closed,
|
|
1413
|
+
"Connection not closed with {!r}".format(transfer))
|
|
1414
|
+
|
|
1415
|
+
def test_invalid_closed(self):
|
|
1416
|
+
"""Test the connection is cleaned up after an invalid response"""
|
|
1417
|
+
conn = test_urllib.fakehttp(b"")
|
|
1418
|
+
handler = urllib.request.AbstractHTTPHandler()
|
|
1419
|
+
req = Request("http://dummy/")
|
|
1420
|
+
req.timeout = None
|
|
1421
|
+
with self.assertRaises(http.client.BadStatusLine):
|
|
1422
|
+
handler.do_open(conn, req)
|
|
1423
|
+
self.assertTrue(conn.fakesock.closed, "Connection not closed")
|
|
1424
|
+
|
|
1425
|
+
|
|
1426
|
+
class MiscTests(unittest.TestCase):
|
|
1427
|
+
|
|
1428
|
+
def opener_has_handler(self, opener, handler_class):
|
|
1429
|
+
self.assertTrue(any(h.__class__ == handler_class
|
|
1430
|
+
for h in opener.handlers))
|
|
1431
|
+
|
|
1432
|
+
def test_build_opener(self):
|
|
1433
|
+
class MyHTTPHandler(urllib.request.HTTPHandler): pass
|
|
1434
|
+
class FooHandler(urllib.request.BaseHandler):
|
|
1435
|
+
def foo_open(self): pass
|
|
1436
|
+
class BarHandler(urllib.request.BaseHandler):
|
|
1437
|
+
def bar_open(self): pass
|
|
1438
|
+
|
|
1439
|
+
build_opener = urllib.request.build_opener
|
|
1440
|
+
|
|
1441
|
+
o = build_opener(FooHandler, BarHandler)
|
|
1442
|
+
self.opener_has_handler(o, FooHandler)
|
|
1443
|
+
self.opener_has_handler(o, BarHandler)
|
|
1444
|
+
|
|
1445
|
+
# can take a mix of classes and instances
|
|
1446
|
+
o = build_opener(FooHandler, BarHandler())
|
|
1447
|
+
self.opener_has_handler(o, FooHandler)
|
|
1448
|
+
self.opener_has_handler(o, BarHandler)
|
|
1449
|
+
|
|
1450
|
+
# subclasses of default handlers override default handlers
|
|
1451
|
+
o = build_opener(MyHTTPHandler)
|
|
1452
|
+
self.opener_has_handler(o, MyHTTPHandler)
|
|
1453
|
+
|
|
1454
|
+
# a particular case of overriding: default handlers can be passed
|
|
1455
|
+
# in explicitly
|
|
1456
|
+
o = build_opener()
|
|
1457
|
+
self.opener_has_handler(o, urllib.request.HTTPHandler)
|
|
1458
|
+
o = build_opener(urllib.request.HTTPHandler)
|
|
1459
|
+
self.opener_has_handler(o, urllib.request.HTTPHandler)
|
|
1460
|
+
o = build_opener(urllib.request.HTTPHandler())
|
|
1461
|
+
self.opener_has_handler(o, urllib.request.HTTPHandler)
|
|
1462
|
+
|
|
1463
|
+
# Issue2670: multiple handlers sharing the same base class
|
|
1464
|
+
class MyOtherHTTPHandler(urllib.request.HTTPHandler): pass
|
|
1465
|
+
o = build_opener(MyHTTPHandler, MyOtherHTTPHandler)
|
|
1466
|
+
self.opener_has_handler(o, MyHTTPHandler)
|
|
1467
|
+
self.opener_has_handler(o, MyOtherHTTPHandler)
|
|
1468
|
+
|
|
1469
|
+
@unittest.skipUnless(support.is_resource_enabled('network'),
|
|
1470
|
+
'test requires network access')
|
|
1471
|
+
def test_issue16464(self):
|
|
1472
|
+
opener = urllib.request.build_opener()
|
|
1473
|
+
request = urllib.request.Request("http://www.example.com/")
|
|
1474
|
+
self.assertEqual(None, request.data)
|
|
1475
|
+
|
|
1476
|
+
opener.open(request, "1".encode("us-ascii"))
|
|
1477
|
+
self.assertEqual(b"1", request.data)
|
|
1478
|
+
self.assertEqual("1", request.get_header("Content-length"))
|
|
1479
|
+
|
|
1480
|
+
opener.open(request, "1234567890".encode("us-ascii"))
|
|
1481
|
+
self.assertEqual(b"1234567890", request.data)
|
|
1482
|
+
self.assertEqual("10", request.get_header("Content-length"))
|
|
1483
|
+
|
|
1484
|
+
def test_HTTPError_interface(self):
|
|
1485
|
+
"""
|
|
1486
|
+
Issue 13211 reveals that HTTPError didn't implement the URLError
|
|
1487
|
+
interface even though HTTPError is a subclass of URLError.
|
|
1488
|
+
"""
|
|
1489
|
+
msg = 'something bad happened'
|
|
1490
|
+
url = code = fp = None
|
|
1491
|
+
hdrs = 'Content-Length: 42'
|
|
1492
|
+
err = urllib.error.HTTPError(url, code, msg, hdrs, fp)
|
|
1493
|
+
self.assertTrue(hasattr(err, 'reason'))
|
|
1494
|
+
self.assertEqual(err.reason, 'something bad happened')
|
|
1495
|
+
self.assertTrue(hasattr(err, 'headers'))
|
|
1496
|
+
self.assertEqual(err.headers, 'Content-Length: 42')
|
|
1497
|
+
expected_errmsg = 'HTTP Error %s: %s' % (err.code, err.msg)
|
|
1498
|
+
self.assertEqual(str(err), expected_errmsg)
|
|
1499
|
+
|
|
1500
|
+
def test_parse_proxy(self):
|
|
1501
|
+
parse_proxy_test_cases = [
|
|
1502
|
+
('proxy.example.com',
|
|
1503
|
+
(None, None, None, 'proxy.example.com')),
|
|
1504
|
+
('proxy.example.com:3128',
|
|
1505
|
+
(None, None, None, 'proxy.example.com:3128')),
|
|
1506
|
+
('proxy.example.com', (None, None, None, 'proxy.example.com')),
|
|
1507
|
+
('proxy.example.com:3128',
|
|
1508
|
+
(None, None, None, 'proxy.example.com:3128')),
|
|
1509
|
+
# The authority component may optionally include userinfo
|
|
1510
|
+
# (assumed to be # username:password):
|
|
1511
|
+
('joe:password@proxy.example.com',
|
|
1512
|
+
(None, 'joe', 'password', 'proxy.example.com')),
|
|
1513
|
+
('joe:password@proxy.example.com:3128',
|
|
1514
|
+
(None, 'joe', 'password', 'proxy.example.com:3128')),
|
|
1515
|
+
#Examples with URLS
|
|
1516
|
+
('http://proxy.example.com/',
|
|
1517
|
+
('http', None, None, 'proxy.example.com')),
|
|
1518
|
+
('http://proxy.example.com:3128/',
|
|
1519
|
+
('http', None, None, 'proxy.example.com:3128')),
|
|
1520
|
+
('http://joe:password@proxy.example.com/',
|
|
1521
|
+
('http', 'joe', 'password', 'proxy.example.com')),
|
|
1522
|
+
('http://joe:password@proxy.example.com:3128',
|
|
1523
|
+
('http', 'joe', 'password', 'proxy.example.com:3128')),
|
|
1524
|
+
# Everything after the authority is ignored
|
|
1525
|
+
('ftp://joe:password@proxy.example.com/rubbish:3128',
|
|
1526
|
+
('ftp', 'joe', 'password', 'proxy.example.com')),
|
|
1527
|
+
# Test for no trailing '/' case
|
|
1528
|
+
('http://joe:password@proxy.example.com',
|
|
1529
|
+
('http', 'joe', 'password', 'proxy.example.com'))
|
|
1530
|
+
]
|
|
1531
|
+
|
|
1532
|
+
for tc, expected in parse_proxy_test_cases:
|
|
1533
|
+
self.assertEqual(_parse_proxy(tc), expected)
|
|
1534
|
+
|
|
1535
|
+
self.assertRaises(ValueError, _parse_proxy, 'file:/ftp.example.com'),
|
|
1536
|
+
|
|
1537
|
+
class RequestTests(unittest.TestCase):
|
|
1538
|
+
class PutRequest(Request):
|
|
1539
|
+
method='PUT'
|
|
1540
|
+
|
|
1541
|
+
def setUp(self):
|
|
1542
|
+
self.get = Request("http://www.python.org/~jeremy/")
|
|
1543
|
+
self.post = Request("http://www.python.org/~jeremy/",
|
|
1544
|
+
"data",
|
|
1545
|
+
headers={"X-Test": "test"})
|
|
1546
|
+
self.head = Request("http://www.python.org/~jeremy/", method='HEAD')
|
|
1547
|
+
self.put = self.PutRequest("http://www.python.org/~jeremy/")
|
|
1548
|
+
self.force_post = self.PutRequest("http://www.python.org/~jeremy/",
|
|
1549
|
+
method="POST")
|
|
1550
|
+
|
|
1551
|
+
def test_method(self):
|
|
1552
|
+
self.assertEqual("POST", self.post.get_method())
|
|
1553
|
+
self.assertEqual("GET", self.get.get_method())
|
|
1554
|
+
self.assertEqual("HEAD", self.head.get_method())
|
|
1555
|
+
self.assertEqual("PUT", self.put.get_method())
|
|
1556
|
+
self.assertEqual("POST", self.force_post.get_method())
|
|
1557
|
+
|
|
1558
|
+
def test_data(self):
|
|
1559
|
+
self.assertFalse(self.get.data)
|
|
1560
|
+
self.assertEqual("GET", self.get.get_method())
|
|
1561
|
+
self.get.data = "spam"
|
|
1562
|
+
self.assertTrue(self.get.data)
|
|
1563
|
+
self.assertEqual("POST", self.get.get_method())
|
|
1564
|
+
|
|
1565
|
+
# issue 16464
|
|
1566
|
+
# if we change data we need to remove content-length header
|
|
1567
|
+
# (cause it's most probably calculated for previous value)
|
|
1568
|
+
def test_setting_data_should_remove_content_length(self):
|
|
1569
|
+
self.assertNotIn("Content-length", self.get.unredirected_hdrs)
|
|
1570
|
+
self.get.add_unredirected_header("Content-length", 42)
|
|
1571
|
+
self.assertEqual(42, self.get.unredirected_hdrs["Content-length"])
|
|
1572
|
+
self.get.data = "spam"
|
|
1573
|
+
self.assertNotIn("Content-length", self.get.unredirected_hdrs)
|
|
1574
|
+
|
|
1575
|
+
# issue 17485 same for deleting data.
|
|
1576
|
+
def test_deleting_data_should_remove_content_length(self):
|
|
1577
|
+
self.assertNotIn("Content-length", self.get.unredirected_hdrs)
|
|
1578
|
+
self.get.data = 'foo'
|
|
1579
|
+
self.get.add_unredirected_header("Content-length", 3)
|
|
1580
|
+
self.assertEqual(3, self.get.unredirected_hdrs["Content-length"])
|
|
1581
|
+
del self.get.data
|
|
1582
|
+
self.assertNotIn("Content-length", self.get.unredirected_hdrs)
|
|
1583
|
+
|
|
1584
|
+
def test_get_full_url(self):
|
|
1585
|
+
self.assertEqual("http://www.python.org/~jeremy/",
|
|
1586
|
+
self.get.get_full_url())
|
|
1587
|
+
|
|
1588
|
+
def test_selector(self):
|
|
1589
|
+
self.assertEqual("/~jeremy/", self.get.selector)
|
|
1590
|
+
req = Request("http://www.python.org/")
|
|
1591
|
+
self.assertEqual("/", req.selector)
|
|
1592
|
+
|
|
1593
|
+
def test_get_type(self):
|
|
1594
|
+
self.assertEqual("http", self.get.type)
|
|
1595
|
+
|
|
1596
|
+
def test_get_host(self):
|
|
1597
|
+
self.assertEqual("www.python.org", self.get.host)
|
|
1598
|
+
|
|
1599
|
+
def test_get_host_unquote(self):
|
|
1600
|
+
req = Request("http://www.%70ython.org/")
|
|
1601
|
+
self.assertEqual("www.python.org", req.host)
|
|
1602
|
+
|
|
1603
|
+
def test_proxy(self):
|
|
1604
|
+
self.assertFalse(self.get.has_proxy())
|
|
1605
|
+
self.get.set_proxy("www.perl.org", "http")
|
|
1606
|
+
self.assertTrue(self.get.has_proxy())
|
|
1607
|
+
self.assertEqual("www.python.org", self.get.origin_req_host)
|
|
1608
|
+
self.assertEqual("www.perl.org", self.get.host)
|
|
1609
|
+
|
|
1610
|
+
def test_wrapped_url(self):
|
|
1611
|
+
req = Request("<URL:http://www.python.org>")
|
|
1612
|
+
self.assertEqual("www.python.org", req.host)
|
|
1613
|
+
|
|
1614
|
+
def test_url_fragment(self):
|
|
1615
|
+
req = Request("http://www.python.org/?qs=query#fragment=true")
|
|
1616
|
+
self.assertEqual("/?qs=query", req.selector)
|
|
1617
|
+
req = Request("http://www.python.org/#fun=true")
|
|
1618
|
+
self.assertEqual("/", req.selector)
|
|
1619
|
+
|
|
1620
|
+
# Issue 11703: geturl() omits fragment in the original URL.
|
|
1621
|
+
url = 'http://docs.python.org/library/urllib2.html#OK'
|
|
1622
|
+
req = Request(url)
|
|
1623
|
+
self.assertEqual(req.get_full_url(), url)
|
|
1624
|
+
|
|
1625
|
+
def test_url_fullurl_get_full_url(self):
|
|
1626
|
+
urls = ['http://docs.python.org',
|
|
1627
|
+
'http://docs.python.org/library/urllib2.html#OK',
|
|
1628
|
+
'http://www.python.org/?qs=query#fragment=true' ]
|
|
1629
|
+
for url in urls:
|
|
1630
|
+
req = Request(url)
|
|
1631
|
+
self.assertEqual(req.get_full_url(), req.full_url)
|
|
1632
|
+
|
|
1633
|
+
def test_main(verbose=None):
|
|
1634
|
+
from test import test_urllib2
|
|
1635
|
+
support.run_doctest(test_urllib2, verbose)
|
|
1636
|
+
support.run_doctest(urllib.request, verbose)
|
|
1637
|
+
tests = (TrivialTests,
|
|
1638
|
+
OpenerDirectorTests,
|
|
1639
|
+
HandlerTests,
|
|
1640
|
+
MiscTests,
|
|
1641
|
+
RequestTests,
|
|
1642
|
+
RequestHdrsTests)
|
|
1643
|
+
support.run_unittest(*tests)
|
|
1644
|
+
|
|
1645
|
+
if __name__ == "__main__":
|
|
1646
|
+
test_main(verbose=True)
|