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,1768 @@
|
|
|
1
|
+
import collections
|
|
2
|
+
import configparser
|
|
3
|
+
import io
|
|
4
|
+
import os
|
|
5
|
+
import sys
|
|
6
|
+
import textwrap
|
|
7
|
+
import unittest
|
|
8
|
+
import warnings
|
|
9
|
+
|
|
10
|
+
from test import support
|
|
11
|
+
|
|
12
|
+
class SortedDict(collections.UserDict):
|
|
13
|
+
|
|
14
|
+
def items(self):
|
|
15
|
+
return sorted(self.data.items())
|
|
16
|
+
|
|
17
|
+
def keys(self):
|
|
18
|
+
return sorted(self.data.keys())
|
|
19
|
+
|
|
20
|
+
def values(self):
|
|
21
|
+
return [i[1] for i in self.items()]
|
|
22
|
+
|
|
23
|
+
def iteritems(self):
|
|
24
|
+
return iter(self.items())
|
|
25
|
+
|
|
26
|
+
def iterkeys(self):
|
|
27
|
+
return iter(self.keys())
|
|
28
|
+
|
|
29
|
+
def itervalues(self):
|
|
30
|
+
return iter(self.values())
|
|
31
|
+
|
|
32
|
+
__iter__ = iterkeys
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class CfgParserTestCaseClass:
|
|
36
|
+
allow_no_value = False
|
|
37
|
+
delimiters = ('=', ':')
|
|
38
|
+
comment_prefixes = (';', '#')
|
|
39
|
+
inline_comment_prefixes = (';', '#')
|
|
40
|
+
empty_lines_in_values = True
|
|
41
|
+
dict_type = configparser._default_dict
|
|
42
|
+
strict = False
|
|
43
|
+
default_section = configparser.DEFAULTSECT
|
|
44
|
+
interpolation = configparser._UNSET
|
|
45
|
+
|
|
46
|
+
def newconfig(self, defaults=None):
|
|
47
|
+
arguments = dict(
|
|
48
|
+
defaults=defaults,
|
|
49
|
+
allow_no_value=self.allow_no_value,
|
|
50
|
+
delimiters=self.delimiters,
|
|
51
|
+
comment_prefixes=self.comment_prefixes,
|
|
52
|
+
inline_comment_prefixes=self.inline_comment_prefixes,
|
|
53
|
+
empty_lines_in_values=self.empty_lines_in_values,
|
|
54
|
+
dict_type=self.dict_type,
|
|
55
|
+
strict=self.strict,
|
|
56
|
+
default_section=self.default_section,
|
|
57
|
+
interpolation=self.interpolation,
|
|
58
|
+
)
|
|
59
|
+
instance = self.config_class(**arguments)
|
|
60
|
+
return instance
|
|
61
|
+
|
|
62
|
+
def fromstring(self, string, defaults=None):
|
|
63
|
+
cf = self.newconfig(defaults)
|
|
64
|
+
cf.read_string(string)
|
|
65
|
+
return cf
|
|
66
|
+
|
|
67
|
+
class BasicTestCase(CfgParserTestCaseClass):
|
|
68
|
+
|
|
69
|
+
def basic_test(self, cf):
|
|
70
|
+
E = ['Commented Bar',
|
|
71
|
+
'Foo Bar',
|
|
72
|
+
'Internationalized Stuff',
|
|
73
|
+
'Long Line',
|
|
74
|
+
'Section\\with$weird%characters[\t',
|
|
75
|
+
'Spaces',
|
|
76
|
+
'Spacey Bar',
|
|
77
|
+
'Spacey Bar From The Beginning',
|
|
78
|
+
'Types',
|
|
79
|
+
]
|
|
80
|
+
|
|
81
|
+
if self.allow_no_value:
|
|
82
|
+
E.append('NoValue')
|
|
83
|
+
E.sort()
|
|
84
|
+
F = [('baz', 'qwe'), ('foo', 'bar3')]
|
|
85
|
+
|
|
86
|
+
# API access
|
|
87
|
+
L = cf.sections()
|
|
88
|
+
L.sort()
|
|
89
|
+
eq = self.assertEqual
|
|
90
|
+
eq(L, E)
|
|
91
|
+
L = cf.items('Spacey Bar From The Beginning')
|
|
92
|
+
L.sort()
|
|
93
|
+
eq(L, F)
|
|
94
|
+
|
|
95
|
+
# mapping access
|
|
96
|
+
L = [section for section in cf]
|
|
97
|
+
L.sort()
|
|
98
|
+
E.append(self.default_section)
|
|
99
|
+
E.sort()
|
|
100
|
+
eq(L, E)
|
|
101
|
+
L = cf['Spacey Bar From The Beginning'].items()
|
|
102
|
+
L = sorted(list(L))
|
|
103
|
+
eq(L, F)
|
|
104
|
+
L = cf.items()
|
|
105
|
+
L = sorted(list(L))
|
|
106
|
+
self.assertEqual(len(L), len(E))
|
|
107
|
+
for name, section in L:
|
|
108
|
+
eq(name, section.name)
|
|
109
|
+
eq(cf.defaults(), cf[self.default_section])
|
|
110
|
+
|
|
111
|
+
# The use of spaces in the section names serves as a
|
|
112
|
+
# regression test for SourceForge bug #583248:
|
|
113
|
+
# http://www.python.org/sf/583248
|
|
114
|
+
|
|
115
|
+
# API access
|
|
116
|
+
eq(cf.get('Foo Bar', 'foo'), 'bar1')
|
|
117
|
+
eq(cf.get('Spacey Bar', 'foo'), 'bar2')
|
|
118
|
+
eq(cf.get('Spacey Bar From The Beginning', 'foo'), 'bar3')
|
|
119
|
+
eq(cf.get('Spacey Bar From The Beginning', 'baz'), 'qwe')
|
|
120
|
+
eq(cf.get('Commented Bar', 'foo'), 'bar4')
|
|
121
|
+
eq(cf.get('Commented Bar', 'baz'), 'qwe')
|
|
122
|
+
eq(cf.get('Spaces', 'key with spaces'), 'value')
|
|
123
|
+
eq(cf.get('Spaces', 'another with spaces'), 'splat!')
|
|
124
|
+
eq(cf.getint('Types', 'int'), 42)
|
|
125
|
+
eq(cf.get('Types', 'int'), "42")
|
|
126
|
+
self.assertAlmostEqual(cf.getfloat('Types', 'float'), 0.44)
|
|
127
|
+
eq(cf.get('Types', 'float'), "0.44")
|
|
128
|
+
eq(cf.getboolean('Types', 'boolean'), False)
|
|
129
|
+
eq(cf.get('Types', '123'), 'strange but acceptable')
|
|
130
|
+
if self.allow_no_value:
|
|
131
|
+
eq(cf.get('NoValue', 'option-without-value'), None)
|
|
132
|
+
|
|
133
|
+
# test vars= and fallback=
|
|
134
|
+
eq(cf.get('Foo Bar', 'foo', fallback='baz'), 'bar1')
|
|
135
|
+
eq(cf.get('Foo Bar', 'foo', vars={'foo': 'baz'}), 'baz')
|
|
136
|
+
with self.assertRaises(configparser.NoSectionError):
|
|
137
|
+
cf.get('No Such Foo Bar', 'foo')
|
|
138
|
+
with self.assertRaises(configparser.NoOptionError):
|
|
139
|
+
cf.get('Foo Bar', 'no-such-foo')
|
|
140
|
+
eq(cf.get('No Such Foo Bar', 'foo', fallback='baz'), 'baz')
|
|
141
|
+
eq(cf.get('Foo Bar', 'no-such-foo', fallback='baz'), 'baz')
|
|
142
|
+
eq(cf.get('Spacey Bar', 'foo', fallback=None), 'bar2')
|
|
143
|
+
eq(cf.get('No Such Spacey Bar', 'foo', fallback=None), None)
|
|
144
|
+
eq(cf.getint('Types', 'int', fallback=18), 42)
|
|
145
|
+
eq(cf.getint('Types', 'no-such-int', fallback=18), 18)
|
|
146
|
+
eq(cf.getint('Types', 'no-such-int', fallback="18"), "18") # sic!
|
|
147
|
+
with self.assertRaises(configparser.NoOptionError):
|
|
148
|
+
cf.getint('Types', 'no-such-int')
|
|
149
|
+
self.assertAlmostEqual(cf.getfloat('Types', 'float',
|
|
150
|
+
fallback=0.0), 0.44)
|
|
151
|
+
self.assertAlmostEqual(cf.getfloat('Types', 'no-such-float',
|
|
152
|
+
fallback=0.0), 0.0)
|
|
153
|
+
eq(cf.getfloat('Types', 'no-such-float', fallback="0.0"), "0.0") # sic!
|
|
154
|
+
with self.assertRaises(configparser.NoOptionError):
|
|
155
|
+
cf.getfloat('Types', 'no-such-float')
|
|
156
|
+
eq(cf.getboolean('Types', 'boolean', fallback=True), False)
|
|
157
|
+
eq(cf.getboolean('Types', 'no-such-boolean', fallback="yes"),
|
|
158
|
+
"yes") # sic!
|
|
159
|
+
eq(cf.getboolean('Types', 'no-such-boolean', fallback=True), True)
|
|
160
|
+
with self.assertRaises(configparser.NoOptionError):
|
|
161
|
+
cf.getboolean('Types', 'no-such-boolean')
|
|
162
|
+
eq(cf.getboolean('No Such Types', 'boolean', fallback=True), True)
|
|
163
|
+
if self.allow_no_value:
|
|
164
|
+
eq(cf.get('NoValue', 'option-without-value', fallback=False), None)
|
|
165
|
+
eq(cf.get('NoValue', 'no-such-option-without-value',
|
|
166
|
+
fallback=False), False)
|
|
167
|
+
|
|
168
|
+
# mapping access
|
|
169
|
+
eq(cf['Foo Bar']['foo'], 'bar1')
|
|
170
|
+
eq(cf['Spacey Bar']['foo'], 'bar2')
|
|
171
|
+
section = cf['Spacey Bar From The Beginning']
|
|
172
|
+
eq(section.name, 'Spacey Bar From The Beginning')
|
|
173
|
+
self.assertIs(section.parser, cf)
|
|
174
|
+
with self.assertRaises(AttributeError):
|
|
175
|
+
section.name = 'Name is read-only'
|
|
176
|
+
with self.assertRaises(AttributeError):
|
|
177
|
+
section.parser = 'Parser is read-only'
|
|
178
|
+
eq(section['foo'], 'bar3')
|
|
179
|
+
eq(section['baz'], 'qwe')
|
|
180
|
+
eq(cf['Commented Bar']['foo'], 'bar4')
|
|
181
|
+
eq(cf['Commented Bar']['baz'], 'qwe')
|
|
182
|
+
eq(cf['Spaces']['key with spaces'], 'value')
|
|
183
|
+
eq(cf['Spaces']['another with spaces'], 'splat!')
|
|
184
|
+
eq(cf['Long Line']['foo'],
|
|
185
|
+
'this line is much, much longer than my editor\nlikes it.')
|
|
186
|
+
if self.allow_no_value:
|
|
187
|
+
eq(cf['NoValue']['option-without-value'], None)
|
|
188
|
+
# test vars= and fallback=
|
|
189
|
+
eq(cf['Foo Bar'].get('foo', 'baz'), 'bar1')
|
|
190
|
+
eq(cf['Foo Bar'].get('foo', fallback='baz'), 'bar1')
|
|
191
|
+
eq(cf['Foo Bar'].get('foo', vars={'foo': 'baz'}), 'baz')
|
|
192
|
+
with self.assertRaises(KeyError):
|
|
193
|
+
cf['No Such Foo Bar']['foo']
|
|
194
|
+
with self.assertRaises(KeyError):
|
|
195
|
+
cf['Foo Bar']['no-such-foo']
|
|
196
|
+
with self.assertRaises(KeyError):
|
|
197
|
+
cf['No Such Foo Bar'].get('foo', fallback='baz')
|
|
198
|
+
eq(cf['Foo Bar'].get('no-such-foo', 'baz'), 'baz')
|
|
199
|
+
eq(cf['Foo Bar'].get('no-such-foo', fallback='baz'), 'baz')
|
|
200
|
+
eq(cf['Foo Bar'].get('no-such-foo'), None)
|
|
201
|
+
eq(cf['Spacey Bar'].get('foo', None), 'bar2')
|
|
202
|
+
eq(cf['Spacey Bar'].get('foo', fallback=None), 'bar2')
|
|
203
|
+
with self.assertRaises(KeyError):
|
|
204
|
+
cf['No Such Spacey Bar'].get('foo', None)
|
|
205
|
+
eq(cf['Types'].getint('int', 18), 42)
|
|
206
|
+
eq(cf['Types'].getint('int', fallback=18), 42)
|
|
207
|
+
eq(cf['Types'].getint('no-such-int', 18), 18)
|
|
208
|
+
eq(cf['Types'].getint('no-such-int', fallback=18), 18)
|
|
209
|
+
eq(cf['Types'].getint('no-such-int', "18"), "18") # sic!
|
|
210
|
+
eq(cf['Types'].getint('no-such-int', fallback="18"), "18") # sic!
|
|
211
|
+
eq(cf['Types'].getint('no-such-int'), None)
|
|
212
|
+
self.assertAlmostEqual(cf['Types'].getfloat('float', 0.0), 0.44)
|
|
213
|
+
self.assertAlmostEqual(cf['Types'].getfloat('float',
|
|
214
|
+
fallback=0.0), 0.44)
|
|
215
|
+
self.assertAlmostEqual(cf['Types'].getfloat('no-such-float', 0.0), 0.0)
|
|
216
|
+
self.assertAlmostEqual(cf['Types'].getfloat('no-such-float',
|
|
217
|
+
fallback=0.0), 0.0)
|
|
218
|
+
eq(cf['Types'].getfloat('no-such-float', "0.0"), "0.0") # sic!
|
|
219
|
+
eq(cf['Types'].getfloat('no-such-float', fallback="0.0"), "0.0") # sic!
|
|
220
|
+
eq(cf['Types'].getfloat('no-such-float'), None)
|
|
221
|
+
eq(cf['Types'].getboolean('boolean', True), False)
|
|
222
|
+
eq(cf['Types'].getboolean('boolean', fallback=True), False)
|
|
223
|
+
eq(cf['Types'].getboolean('no-such-boolean', "yes"), "yes") # sic!
|
|
224
|
+
eq(cf['Types'].getboolean('no-such-boolean', fallback="yes"),
|
|
225
|
+
"yes") # sic!
|
|
226
|
+
eq(cf['Types'].getboolean('no-such-boolean', True), True)
|
|
227
|
+
eq(cf['Types'].getboolean('no-such-boolean', fallback=True), True)
|
|
228
|
+
eq(cf['Types'].getboolean('no-such-boolean'), None)
|
|
229
|
+
if self.allow_no_value:
|
|
230
|
+
eq(cf['NoValue'].get('option-without-value', False), None)
|
|
231
|
+
eq(cf['NoValue'].get('option-without-value', fallback=False), None)
|
|
232
|
+
eq(cf['NoValue'].get('no-such-option-without-value', False), False)
|
|
233
|
+
eq(cf['NoValue'].get('no-such-option-without-value',
|
|
234
|
+
fallback=False), False)
|
|
235
|
+
|
|
236
|
+
# Make sure the right things happen for remove_section() and
|
|
237
|
+
# remove_option(); added to include check for SourceForge bug #123324.
|
|
238
|
+
|
|
239
|
+
cf[self.default_section]['this_value'] = '1'
|
|
240
|
+
cf[self.default_section]['that_value'] = '2'
|
|
241
|
+
|
|
242
|
+
# API access
|
|
243
|
+
self.assertTrue(cf.remove_section('Spaces'))
|
|
244
|
+
self.assertFalse(cf.has_option('Spaces', 'key with spaces'))
|
|
245
|
+
self.assertFalse(cf.remove_section('Spaces'))
|
|
246
|
+
self.assertFalse(cf.remove_section(self.default_section))
|
|
247
|
+
self.assertTrue(cf.remove_option('Foo Bar', 'foo'),
|
|
248
|
+
"remove_option() failed to report existence of option")
|
|
249
|
+
self.assertFalse(cf.has_option('Foo Bar', 'foo'),
|
|
250
|
+
"remove_option() failed to remove option")
|
|
251
|
+
self.assertFalse(cf.remove_option('Foo Bar', 'foo'),
|
|
252
|
+
"remove_option() failed to report non-existence of option"
|
|
253
|
+
" that was removed")
|
|
254
|
+
self.assertTrue(cf.has_option('Foo Bar', 'this_value'))
|
|
255
|
+
self.assertFalse(cf.remove_option('Foo Bar', 'this_value'))
|
|
256
|
+
self.assertTrue(cf.remove_option(self.default_section, 'this_value'))
|
|
257
|
+
self.assertFalse(cf.has_option('Foo Bar', 'this_value'))
|
|
258
|
+
self.assertFalse(cf.remove_option(self.default_section, 'this_value'))
|
|
259
|
+
|
|
260
|
+
with self.assertRaises(configparser.NoSectionError) as cm:
|
|
261
|
+
cf.remove_option('No Such Section', 'foo')
|
|
262
|
+
self.assertEqual(cm.exception.args, ('No Such Section',))
|
|
263
|
+
|
|
264
|
+
eq(cf.get('Long Line', 'foo'),
|
|
265
|
+
'this line is much, much longer than my editor\nlikes it.')
|
|
266
|
+
|
|
267
|
+
# mapping access
|
|
268
|
+
del cf['Types']
|
|
269
|
+
self.assertFalse('Types' in cf)
|
|
270
|
+
with self.assertRaises(KeyError):
|
|
271
|
+
del cf['Types']
|
|
272
|
+
with self.assertRaises(ValueError):
|
|
273
|
+
del cf[self.default_section]
|
|
274
|
+
del cf['Spacey Bar']['foo']
|
|
275
|
+
self.assertFalse('foo' in cf['Spacey Bar'])
|
|
276
|
+
with self.assertRaises(KeyError):
|
|
277
|
+
del cf['Spacey Bar']['foo']
|
|
278
|
+
self.assertTrue('that_value' in cf['Spacey Bar'])
|
|
279
|
+
with self.assertRaises(KeyError):
|
|
280
|
+
del cf['Spacey Bar']['that_value']
|
|
281
|
+
del cf[self.default_section]['that_value']
|
|
282
|
+
self.assertFalse('that_value' in cf['Spacey Bar'])
|
|
283
|
+
with self.assertRaises(KeyError):
|
|
284
|
+
del cf[self.default_section]['that_value']
|
|
285
|
+
with self.assertRaises(KeyError):
|
|
286
|
+
del cf['No Such Section']['foo']
|
|
287
|
+
|
|
288
|
+
# Don't add new asserts below in this method as most of the options
|
|
289
|
+
# and sections are now removed.
|
|
290
|
+
|
|
291
|
+
def test_basic(self):
|
|
292
|
+
config_string = """\
|
|
293
|
+
[Foo Bar]
|
|
294
|
+
foo{0[0]}bar1
|
|
295
|
+
[Spacey Bar]
|
|
296
|
+
foo {0[0]} bar2
|
|
297
|
+
[Spacey Bar From The Beginning]
|
|
298
|
+
foo {0[0]} bar3
|
|
299
|
+
baz {0[0]} qwe
|
|
300
|
+
[Commented Bar]
|
|
301
|
+
foo{0[1]} bar4 {1[1]} comment
|
|
302
|
+
baz{0[0]}qwe {1[0]}another one
|
|
303
|
+
[Long Line]
|
|
304
|
+
foo{0[1]} this line is much, much longer than my editor
|
|
305
|
+
likes it.
|
|
306
|
+
[Section\\with$weird%characters[\t]
|
|
307
|
+
[Internationalized Stuff]
|
|
308
|
+
foo[bg]{0[1]} Bulgarian
|
|
309
|
+
foo{0[0]}Default
|
|
310
|
+
foo[en]{0[0]}English
|
|
311
|
+
foo[de]{0[0]}Deutsch
|
|
312
|
+
[Spaces]
|
|
313
|
+
key with spaces {0[1]} value
|
|
314
|
+
another with spaces {0[0]} splat!
|
|
315
|
+
[Types]
|
|
316
|
+
int {0[1]} 42
|
|
317
|
+
float {0[0]} 0.44
|
|
318
|
+
boolean {0[0]} NO
|
|
319
|
+
123 {0[1]} strange but acceptable
|
|
320
|
+
""".format(self.delimiters, self.comment_prefixes)
|
|
321
|
+
if self.allow_no_value:
|
|
322
|
+
config_string += (
|
|
323
|
+
"[NoValue]\n"
|
|
324
|
+
"option-without-value\n"
|
|
325
|
+
)
|
|
326
|
+
cf = self.fromstring(config_string)
|
|
327
|
+
self.basic_test(cf)
|
|
328
|
+
if self.strict:
|
|
329
|
+
with self.assertRaises(configparser.DuplicateOptionError):
|
|
330
|
+
cf.read_string(textwrap.dedent("""\
|
|
331
|
+
[Duplicate Options Here]
|
|
332
|
+
option {0[0]} with a value
|
|
333
|
+
option {0[1]} with another value
|
|
334
|
+
""".format(self.delimiters)))
|
|
335
|
+
with self.assertRaises(configparser.DuplicateSectionError):
|
|
336
|
+
cf.read_string(textwrap.dedent("""\
|
|
337
|
+
[And Now For Something]
|
|
338
|
+
completely different {0[0]} True
|
|
339
|
+
[And Now For Something]
|
|
340
|
+
the larch {0[1]} 1
|
|
341
|
+
""".format(self.delimiters)))
|
|
342
|
+
else:
|
|
343
|
+
cf.read_string(textwrap.dedent("""\
|
|
344
|
+
[Duplicate Options Here]
|
|
345
|
+
option {0[0]} with a value
|
|
346
|
+
option {0[1]} with another value
|
|
347
|
+
""".format(self.delimiters)))
|
|
348
|
+
|
|
349
|
+
cf.read_string(textwrap.dedent("""\
|
|
350
|
+
[And Now For Something]
|
|
351
|
+
completely different {0[0]} True
|
|
352
|
+
[And Now For Something]
|
|
353
|
+
the larch {0[1]} 1
|
|
354
|
+
""".format(self.delimiters)))
|
|
355
|
+
|
|
356
|
+
def test_basic_from_dict(self):
|
|
357
|
+
config = {
|
|
358
|
+
"Foo Bar": {
|
|
359
|
+
"foo": "bar1",
|
|
360
|
+
},
|
|
361
|
+
"Spacey Bar": {
|
|
362
|
+
"foo": "bar2",
|
|
363
|
+
},
|
|
364
|
+
"Spacey Bar From The Beginning": {
|
|
365
|
+
"foo": "bar3",
|
|
366
|
+
"baz": "qwe",
|
|
367
|
+
},
|
|
368
|
+
"Commented Bar": {
|
|
369
|
+
"foo": "bar4",
|
|
370
|
+
"baz": "qwe",
|
|
371
|
+
},
|
|
372
|
+
"Long Line": {
|
|
373
|
+
"foo": "this line is much, much longer than my editor\nlikes "
|
|
374
|
+
"it.",
|
|
375
|
+
},
|
|
376
|
+
"Section\\with$weird%characters[\t": {
|
|
377
|
+
},
|
|
378
|
+
"Internationalized Stuff": {
|
|
379
|
+
"foo[bg]": "Bulgarian",
|
|
380
|
+
"foo": "Default",
|
|
381
|
+
"foo[en]": "English",
|
|
382
|
+
"foo[de]": "Deutsch",
|
|
383
|
+
},
|
|
384
|
+
"Spaces": {
|
|
385
|
+
"key with spaces": "value",
|
|
386
|
+
"another with spaces": "splat!",
|
|
387
|
+
},
|
|
388
|
+
"Types": {
|
|
389
|
+
"int": 42,
|
|
390
|
+
"float": 0.44,
|
|
391
|
+
"boolean": False,
|
|
392
|
+
123: "strange but acceptable",
|
|
393
|
+
},
|
|
394
|
+
}
|
|
395
|
+
if self.allow_no_value:
|
|
396
|
+
config.update({
|
|
397
|
+
"NoValue": {
|
|
398
|
+
"option-without-value": None,
|
|
399
|
+
}
|
|
400
|
+
})
|
|
401
|
+
cf = self.newconfig()
|
|
402
|
+
cf.read_dict(config)
|
|
403
|
+
self.basic_test(cf)
|
|
404
|
+
if self.strict:
|
|
405
|
+
with self.assertRaises(configparser.DuplicateSectionError):
|
|
406
|
+
cf.read_dict({
|
|
407
|
+
'1': {'key': 'value'},
|
|
408
|
+
1: {'key2': 'value2'},
|
|
409
|
+
})
|
|
410
|
+
with self.assertRaises(configparser.DuplicateOptionError):
|
|
411
|
+
cf.read_dict({
|
|
412
|
+
"Duplicate Options Here": {
|
|
413
|
+
'option': 'with a value',
|
|
414
|
+
'OPTION': 'with another value',
|
|
415
|
+
},
|
|
416
|
+
})
|
|
417
|
+
else:
|
|
418
|
+
cf.read_dict({
|
|
419
|
+
'section': {'key': 'value'},
|
|
420
|
+
'SECTION': {'key2': 'value2'},
|
|
421
|
+
})
|
|
422
|
+
cf.read_dict({
|
|
423
|
+
"Duplicate Options Here": {
|
|
424
|
+
'option': 'with a value',
|
|
425
|
+
'OPTION': 'with another value',
|
|
426
|
+
},
|
|
427
|
+
})
|
|
428
|
+
|
|
429
|
+
def test_case_sensitivity(self):
|
|
430
|
+
cf = self.newconfig()
|
|
431
|
+
cf.add_section("A")
|
|
432
|
+
cf.add_section("a")
|
|
433
|
+
cf.add_section("B")
|
|
434
|
+
L = cf.sections()
|
|
435
|
+
L.sort()
|
|
436
|
+
eq = self.assertEqual
|
|
437
|
+
eq(L, ["A", "B", "a"])
|
|
438
|
+
cf.set("a", "B", "value")
|
|
439
|
+
eq(cf.options("a"), ["b"])
|
|
440
|
+
eq(cf.get("a", "b"), "value",
|
|
441
|
+
"could not locate option, expecting case-insensitive option names")
|
|
442
|
+
with self.assertRaises(configparser.NoSectionError):
|
|
443
|
+
# section names are case-sensitive
|
|
444
|
+
cf.set("b", "A", "value")
|
|
445
|
+
self.assertTrue(cf.has_option("a", "b"))
|
|
446
|
+
self.assertFalse(cf.has_option("b", "b"))
|
|
447
|
+
cf.set("A", "A-B", "A-B value")
|
|
448
|
+
for opt in ("a-b", "A-b", "a-B", "A-B"):
|
|
449
|
+
self.assertTrue(
|
|
450
|
+
cf.has_option("A", opt),
|
|
451
|
+
"has_option() returned false for option which should exist")
|
|
452
|
+
eq(cf.options("A"), ["a-b"])
|
|
453
|
+
eq(cf.options("a"), ["b"])
|
|
454
|
+
cf.remove_option("a", "B")
|
|
455
|
+
eq(cf.options("a"), [])
|
|
456
|
+
|
|
457
|
+
# SF bug #432369:
|
|
458
|
+
cf = self.fromstring(
|
|
459
|
+
"[MySection]\nOption{} first line \n\tsecond line \n".format(
|
|
460
|
+
self.delimiters[0]))
|
|
461
|
+
eq(cf.options("MySection"), ["option"])
|
|
462
|
+
eq(cf.get("MySection", "Option"), "first line\nsecond line")
|
|
463
|
+
|
|
464
|
+
# SF bug #561822:
|
|
465
|
+
cf = self.fromstring("[section]\n"
|
|
466
|
+
"nekey{}nevalue\n".format(self.delimiters[0]),
|
|
467
|
+
defaults={"key":"value"})
|
|
468
|
+
self.assertTrue(cf.has_option("section", "Key"))
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
def test_case_sensitivity_mapping_access(self):
|
|
472
|
+
cf = self.newconfig()
|
|
473
|
+
cf["A"] = {}
|
|
474
|
+
cf["a"] = {"B": "value"}
|
|
475
|
+
cf["B"] = {}
|
|
476
|
+
L = [section for section in cf]
|
|
477
|
+
L.sort()
|
|
478
|
+
eq = self.assertEqual
|
|
479
|
+
elem_eq = self.assertCountEqual
|
|
480
|
+
eq(L, sorted(["A", "B", self.default_section, "a"]))
|
|
481
|
+
eq(cf["a"].keys(), {"b"})
|
|
482
|
+
eq(cf["a"]["b"], "value",
|
|
483
|
+
"could not locate option, expecting case-insensitive option names")
|
|
484
|
+
with self.assertRaises(KeyError):
|
|
485
|
+
# section names are case-sensitive
|
|
486
|
+
cf["b"]["A"] = "value"
|
|
487
|
+
self.assertTrue("b" in cf["a"])
|
|
488
|
+
cf["A"]["A-B"] = "A-B value"
|
|
489
|
+
for opt in ("a-b", "A-b", "a-B", "A-B"):
|
|
490
|
+
self.assertTrue(
|
|
491
|
+
opt in cf["A"],
|
|
492
|
+
"has_option() returned false for option which should exist")
|
|
493
|
+
eq(cf["A"].keys(), {"a-b"})
|
|
494
|
+
eq(cf["a"].keys(), {"b"})
|
|
495
|
+
del cf["a"]["B"]
|
|
496
|
+
elem_eq(cf["a"].keys(), {})
|
|
497
|
+
|
|
498
|
+
# SF bug #432369:
|
|
499
|
+
cf = self.fromstring(
|
|
500
|
+
"[MySection]\nOption{} first line \n\tsecond line \n".format(
|
|
501
|
+
self.delimiters[0]))
|
|
502
|
+
eq(cf["MySection"].keys(), {"option"})
|
|
503
|
+
eq(cf["MySection"]["Option"], "first line\nsecond line")
|
|
504
|
+
|
|
505
|
+
# SF bug #561822:
|
|
506
|
+
cf = self.fromstring("[section]\n"
|
|
507
|
+
"nekey{}nevalue\n".format(self.delimiters[0]),
|
|
508
|
+
defaults={"key":"value"})
|
|
509
|
+
self.assertTrue("Key" in cf["section"])
|
|
510
|
+
|
|
511
|
+
def test_default_case_sensitivity(self):
|
|
512
|
+
cf = self.newconfig({"foo": "Bar"})
|
|
513
|
+
self.assertEqual(
|
|
514
|
+
cf.get(self.default_section, "Foo"), "Bar",
|
|
515
|
+
"could not locate option, expecting case-insensitive option names")
|
|
516
|
+
cf = self.newconfig({"Foo": "Bar"})
|
|
517
|
+
self.assertEqual(
|
|
518
|
+
cf.get(self.default_section, "Foo"), "Bar",
|
|
519
|
+
"could not locate option, expecting case-insensitive defaults")
|
|
520
|
+
|
|
521
|
+
def test_parse_errors(self):
|
|
522
|
+
cf = self.newconfig()
|
|
523
|
+
self.parse_error(cf, configparser.ParsingError,
|
|
524
|
+
"[Foo]\n"
|
|
525
|
+
"{}val-without-opt-name\n".format(self.delimiters[0]))
|
|
526
|
+
self.parse_error(cf, configparser.ParsingError,
|
|
527
|
+
"[Foo]\n"
|
|
528
|
+
"{}val-without-opt-name\n".format(self.delimiters[1]))
|
|
529
|
+
e = self.parse_error(cf, configparser.MissingSectionHeaderError,
|
|
530
|
+
"No Section!\n")
|
|
531
|
+
self.assertEqual(e.args, ('<???>', 1, "No Section!\n"))
|
|
532
|
+
if not self.allow_no_value:
|
|
533
|
+
e = self.parse_error(cf, configparser.ParsingError,
|
|
534
|
+
"[Foo]\n wrong-indent\n")
|
|
535
|
+
self.assertEqual(e.args, ('<???>',))
|
|
536
|
+
# read_file on a real file
|
|
537
|
+
tricky = support.findfile("cfgparser.3")
|
|
538
|
+
if self.delimiters[0] == '=':
|
|
539
|
+
error = configparser.ParsingError
|
|
540
|
+
expected = (tricky,)
|
|
541
|
+
else:
|
|
542
|
+
error = configparser.MissingSectionHeaderError
|
|
543
|
+
expected = (tricky, 1,
|
|
544
|
+
' # INI with as many tricky parts as possible\n')
|
|
545
|
+
with open(tricky, encoding='utf-8') as f:
|
|
546
|
+
e = self.parse_error(cf, error, f)
|
|
547
|
+
self.assertEqual(e.args, expected)
|
|
548
|
+
|
|
549
|
+
def parse_error(self, cf, exc, src):
|
|
550
|
+
if hasattr(src, 'readline'):
|
|
551
|
+
sio = src
|
|
552
|
+
else:
|
|
553
|
+
sio = io.StringIO(src)
|
|
554
|
+
with self.assertRaises(exc) as cm:
|
|
555
|
+
cf.read_file(sio)
|
|
556
|
+
return cm.exception
|
|
557
|
+
|
|
558
|
+
def test_query_errors(self):
|
|
559
|
+
cf = self.newconfig()
|
|
560
|
+
self.assertEqual(cf.sections(), [],
|
|
561
|
+
"new ConfigParser should have no defined sections")
|
|
562
|
+
self.assertFalse(cf.has_section("Foo"),
|
|
563
|
+
"new ConfigParser should have no acknowledged "
|
|
564
|
+
"sections")
|
|
565
|
+
with self.assertRaises(configparser.NoSectionError):
|
|
566
|
+
cf.options("Foo")
|
|
567
|
+
with self.assertRaises(configparser.NoSectionError):
|
|
568
|
+
cf.set("foo", "bar", "value")
|
|
569
|
+
e = self.get_error(cf, configparser.NoSectionError, "foo", "bar")
|
|
570
|
+
self.assertEqual(e.args, ("foo",))
|
|
571
|
+
cf.add_section("foo")
|
|
572
|
+
e = self.get_error(cf, configparser.NoOptionError, "foo", "bar")
|
|
573
|
+
self.assertEqual(e.args, ("bar", "foo"))
|
|
574
|
+
|
|
575
|
+
def get_error(self, cf, exc, section, option):
|
|
576
|
+
try:
|
|
577
|
+
cf.get(section, option)
|
|
578
|
+
except exc as e:
|
|
579
|
+
return e
|
|
580
|
+
else:
|
|
581
|
+
self.fail("expected exception type %s.%s"
|
|
582
|
+
% (exc.__module__, exc.__name__))
|
|
583
|
+
|
|
584
|
+
def test_boolean(self):
|
|
585
|
+
cf = self.fromstring(
|
|
586
|
+
"[BOOLTEST]\n"
|
|
587
|
+
"T1{equals}1\n"
|
|
588
|
+
"T2{equals}TRUE\n"
|
|
589
|
+
"T3{equals}True\n"
|
|
590
|
+
"T4{equals}oN\n"
|
|
591
|
+
"T5{equals}yes\n"
|
|
592
|
+
"F1{equals}0\n"
|
|
593
|
+
"F2{equals}FALSE\n"
|
|
594
|
+
"F3{equals}False\n"
|
|
595
|
+
"F4{equals}oFF\n"
|
|
596
|
+
"F5{equals}nO\n"
|
|
597
|
+
"E1{equals}2\n"
|
|
598
|
+
"E2{equals}foo\n"
|
|
599
|
+
"E3{equals}-1\n"
|
|
600
|
+
"E4{equals}0.1\n"
|
|
601
|
+
"E5{equals}FALSE AND MORE".format(equals=self.delimiters[0])
|
|
602
|
+
)
|
|
603
|
+
for x in range(1, 5):
|
|
604
|
+
self.assertTrue(cf.getboolean('BOOLTEST', 't%d' % x))
|
|
605
|
+
self.assertFalse(cf.getboolean('BOOLTEST', 'f%d' % x))
|
|
606
|
+
self.assertRaises(ValueError,
|
|
607
|
+
cf.getboolean, 'BOOLTEST', 'e%d' % x)
|
|
608
|
+
|
|
609
|
+
def test_weird_errors(self):
|
|
610
|
+
cf = self.newconfig()
|
|
611
|
+
cf.add_section("Foo")
|
|
612
|
+
with self.assertRaises(configparser.DuplicateSectionError) as cm:
|
|
613
|
+
cf.add_section("Foo")
|
|
614
|
+
e = cm.exception
|
|
615
|
+
self.assertEqual(str(e), "Section 'Foo' already exists")
|
|
616
|
+
self.assertEqual(e.args, ("Foo", None, None))
|
|
617
|
+
|
|
618
|
+
if self.strict:
|
|
619
|
+
with self.assertRaises(configparser.DuplicateSectionError) as cm:
|
|
620
|
+
cf.read_string(textwrap.dedent("""\
|
|
621
|
+
[Foo]
|
|
622
|
+
will this be added{equals}True
|
|
623
|
+
[Bar]
|
|
624
|
+
what about this{equals}True
|
|
625
|
+
[Foo]
|
|
626
|
+
oops{equals}this won't
|
|
627
|
+
""".format(equals=self.delimiters[0])), source='<foo-bar>')
|
|
628
|
+
e = cm.exception
|
|
629
|
+
self.assertEqual(str(e), "While reading from '<foo-bar>' "
|
|
630
|
+
"[line 5]: section 'Foo' already exists")
|
|
631
|
+
self.assertEqual(e.args, ("Foo", '<foo-bar>', 5))
|
|
632
|
+
|
|
633
|
+
with self.assertRaises(configparser.DuplicateOptionError) as cm:
|
|
634
|
+
cf.read_dict({'Bar': {'opt': 'val', 'OPT': 'is really `opt`'}})
|
|
635
|
+
e = cm.exception
|
|
636
|
+
self.assertEqual(str(e), "While reading from '<dict>': option "
|
|
637
|
+
"'opt' in section 'Bar' already exists")
|
|
638
|
+
self.assertEqual(e.args, ("Bar", "opt", "<dict>", None))
|
|
639
|
+
|
|
640
|
+
def test_write(self):
|
|
641
|
+
config_string = (
|
|
642
|
+
"[Long Line]\n"
|
|
643
|
+
"foo{0[0]} this line is much, much longer than my editor\n"
|
|
644
|
+
" likes it.\n"
|
|
645
|
+
"[{default_section}]\n"
|
|
646
|
+
"foo{0[1]} another very\n"
|
|
647
|
+
" long line\n"
|
|
648
|
+
"[Long Line - With Comments!]\n"
|
|
649
|
+
"test {0[1]} we {comment} can\n"
|
|
650
|
+
" also {comment} place\n"
|
|
651
|
+
" comments {comment} in\n"
|
|
652
|
+
" multiline {comment} values"
|
|
653
|
+
"\n".format(self.delimiters, comment=self.comment_prefixes[0],
|
|
654
|
+
default_section=self.default_section)
|
|
655
|
+
)
|
|
656
|
+
if self.allow_no_value:
|
|
657
|
+
config_string += (
|
|
658
|
+
"[Valueless]\n"
|
|
659
|
+
"option-without-value\n"
|
|
660
|
+
)
|
|
661
|
+
|
|
662
|
+
cf = self.fromstring(config_string)
|
|
663
|
+
for space_around_delimiters in (True, False):
|
|
664
|
+
output = io.StringIO()
|
|
665
|
+
cf.write(output, space_around_delimiters=space_around_delimiters)
|
|
666
|
+
delimiter = self.delimiters[0]
|
|
667
|
+
if space_around_delimiters:
|
|
668
|
+
delimiter = " {} ".format(delimiter)
|
|
669
|
+
expect_string = (
|
|
670
|
+
"[{default_section}]\n"
|
|
671
|
+
"foo{equals}another very\n"
|
|
672
|
+
"\tlong line\n"
|
|
673
|
+
"\n"
|
|
674
|
+
"[Long Line]\n"
|
|
675
|
+
"foo{equals}this line is much, much longer than my editor\n"
|
|
676
|
+
"\tlikes it.\n"
|
|
677
|
+
"\n"
|
|
678
|
+
"[Long Line - With Comments!]\n"
|
|
679
|
+
"test{equals}we\n"
|
|
680
|
+
"\talso\n"
|
|
681
|
+
"\tcomments\n"
|
|
682
|
+
"\tmultiline\n"
|
|
683
|
+
"\n".format(equals=delimiter,
|
|
684
|
+
default_section=self.default_section)
|
|
685
|
+
)
|
|
686
|
+
if self.allow_no_value:
|
|
687
|
+
expect_string += (
|
|
688
|
+
"[Valueless]\n"
|
|
689
|
+
"option-without-value\n"
|
|
690
|
+
"\n"
|
|
691
|
+
)
|
|
692
|
+
self.assertEqual(output.getvalue(), expect_string)
|
|
693
|
+
|
|
694
|
+
def test_set_string_types(self):
|
|
695
|
+
cf = self.fromstring("[sect]\n"
|
|
696
|
+
"option1{eq}foo\n".format(eq=self.delimiters[0]))
|
|
697
|
+
# Check that we don't get an exception when setting values in
|
|
698
|
+
# an existing section using strings:
|
|
699
|
+
class mystr(str):
|
|
700
|
+
pass
|
|
701
|
+
cf.set("sect", "option1", "splat")
|
|
702
|
+
cf.set("sect", "option1", mystr("splat"))
|
|
703
|
+
cf.set("sect", "option2", "splat")
|
|
704
|
+
cf.set("sect", "option2", mystr("splat"))
|
|
705
|
+
cf.set("sect", "option1", "splat")
|
|
706
|
+
cf.set("sect", "option2", "splat")
|
|
707
|
+
|
|
708
|
+
def test_read_returns_file_list(self):
|
|
709
|
+
if self.delimiters[0] != '=':
|
|
710
|
+
self.skipTest('incompatible format')
|
|
711
|
+
file1 = support.findfile("cfgparser.1")
|
|
712
|
+
# check when we pass a mix of readable and non-readable files:
|
|
713
|
+
cf = self.newconfig()
|
|
714
|
+
parsed_files = cf.read([file1, "nonexistent-file"])
|
|
715
|
+
self.assertEqual(parsed_files, [file1])
|
|
716
|
+
self.assertEqual(cf.get("Foo Bar", "foo"), "newbar")
|
|
717
|
+
# check when we pass only a filename:
|
|
718
|
+
cf = self.newconfig()
|
|
719
|
+
parsed_files = cf.read(file1)
|
|
720
|
+
self.assertEqual(parsed_files, [file1])
|
|
721
|
+
self.assertEqual(cf.get("Foo Bar", "foo"), "newbar")
|
|
722
|
+
# check when we pass only missing files:
|
|
723
|
+
cf = self.newconfig()
|
|
724
|
+
parsed_files = cf.read(["nonexistent-file"])
|
|
725
|
+
self.assertEqual(parsed_files, [])
|
|
726
|
+
# check when we pass no files:
|
|
727
|
+
cf = self.newconfig()
|
|
728
|
+
parsed_files = cf.read([])
|
|
729
|
+
self.assertEqual(parsed_files, [])
|
|
730
|
+
|
|
731
|
+
# shared by subclasses
|
|
732
|
+
def get_interpolation_config(self):
|
|
733
|
+
return self.fromstring(
|
|
734
|
+
"[Foo]\n"
|
|
735
|
+
"bar{equals}something %(with1)s interpolation (1 step)\n"
|
|
736
|
+
"bar9{equals}something %(with9)s lots of interpolation (9 steps)\n"
|
|
737
|
+
"bar10{equals}something %(with10)s lots of interpolation (10 steps)\n"
|
|
738
|
+
"bar11{equals}something %(with11)s lots of interpolation (11 steps)\n"
|
|
739
|
+
"with11{equals}%(with10)s\n"
|
|
740
|
+
"with10{equals}%(with9)s\n"
|
|
741
|
+
"with9{equals}%(with8)s\n"
|
|
742
|
+
"with8{equals}%(With7)s\n"
|
|
743
|
+
"with7{equals}%(WITH6)s\n"
|
|
744
|
+
"with6{equals}%(with5)s\n"
|
|
745
|
+
"With5{equals}%(with4)s\n"
|
|
746
|
+
"WITH4{equals}%(with3)s\n"
|
|
747
|
+
"with3{equals}%(with2)s\n"
|
|
748
|
+
"with2{equals}%(with1)s\n"
|
|
749
|
+
"with1{equals}with\n"
|
|
750
|
+
"\n"
|
|
751
|
+
"[Mutual Recursion]\n"
|
|
752
|
+
"foo{equals}%(bar)s\n"
|
|
753
|
+
"bar{equals}%(foo)s\n"
|
|
754
|
+
"\n"
|
|
755
|
+
"[Interpolation Error]\n"
|
|
756
|
+
# no definition for 'reference'
|
|
757
|
+
"name{equals}%(reference)s\n".format(equals=self.delimiters[0]))
|
|
758
|
+
|
|
759
|
+
def check_items_config(self, expected):
|
|
760
|
+
cf = self.fromstring("""
|
|
761
|
+
[section]
|
|
762
|
+
name {0[0]} %(value)s
|
|
763
|
+
key{0[1]} |%(name)s|
|
|
764
|
+
getdefault{0[1]} |%(default)s|
|
|
765
|
+
""".format(self.delimiters), defaults={"default": "<default>"})
|
|
766
|
+
L = list(cf.items("section", vars={'value': 'value'}))
|
|
767
|
+
L.sort()
|
|
768
|
+
self.assertEqual(L, expected)
|
|
769
|
+
with self.assertRaises(configparser.NoSectionError):
|
|
770
|
+
cf.items("no such section")
|
|
771
|
+
|
|
772
|
+
def test_popitem(self):
|
|
773
|
+
cf = self.fromstring("""
|
|
774
|
+
[section1]
|
|
775
|
+
name1 {0[0]} value1
|
|
776
|
+
[section2]
|
|
777
|
+
name2 {0[0]} value2
|
|
778
|
+
[section3]
|
|
779
|
+
name3 {0[0]} value3
|
|
780
|
+
""".format(self.delimiters), defaults={"default": "<default>"})
|
|
781
|
+
self.assertEqual(cf.popitem()[0], 'section1')
|
|
782
|
+
self.assertEqual(cf.popitem()[0], 'section2')
|
|
783
|
+
self.assertEqual(cf.popitem()[0], 'section3')
|
|
784
|
+
with self.assertRaises(KeyError):
|
|
785
|
+
cf.popitem()
|
|
786
|
+
|
|
787
|
+
def test_clear(self):
|
|
788
|
+
cf = self.newconfig({"foo": "Bar"})
|
|
789
|
+
self.assertEqual(
|
|
790
|
+
cf.get(self.default_section, "Foo"), "Bar",
|
|
791
|
+
"could not locate option, expecting case-insensitive option names")
|
|
792
|
+
cf['zing'] = {'option1': 'value1', 'option2': 'value2'}
|
|
793
|
+
self.assertEqual(cf.sections(), ['zing'])
|
|
794
|
+
self.assertEqual(set(cf['zing'].keys()), {'option1', 'option2', 'foo'})
|
|
795
|
+
cf.clear()
|
|
796
|
+
self.assertEqual(set(cf.sections()), set())
|
|
797
|
+
self.assertEqual(set(cf[self.default_section].keys()), {'foo'})
|
|
798
|
+
|
|
799
|
+
def test_setitem(self):
|
|
800
|
+
cf = self.fromstring("""
|
|
801
|
+
[section1]
|
|
802
|
+
name1 {0[0]} value1
|
|
803
|
+
[section2]
|
|
804
|
+
name2 {0[0]} value2
|
|
805
|
+
[section3]
|
|
806
|
+
name3 {0[0]} value3
|
|
807
|
+
""".format(self.delimiters), defaults={"nameD": "valueD"})
|
|
808
|
+
self.assertEqual(set(cf['section1'].keys()), {'name1', 'named'})
|
|
809
|
+
self.assertEqual(set(cf['section2'].keys()), {'name2', 'named'})
|
|
810
|
+
self.assertEqual(set(cf['section3'].keys()), {'name3', 'named'})
|
|
811
|
+
self.assertEqual(cf['section1']['name1'], 'value1')
|
|
812
|
+
self.assertEqual(cf['section2']['name2'], 'value2')
|
|
813
|
+
self.assertEqual(cf['section3']['name3'], 'value3')
|
|
814
|
+
self.assertEqual(cf.sections(), ['section1', 'section2', 'section3'])
|
|
815
|
+
cf['section2'] = {'name22': 'value22'}
|
|
816
|
+
self.assertEqual(set(cf['section2'].keys()), {'name22', 'named'})
|
|
817
|
+
self.assertEqual(cf['section2']['name22'], 'value22')
|
|
818
|
+
self.assertNotIn('name2', cf['section2'])
|
|
819
|
+
self.assertEqual(cf.sections(), ['section1', 'section2', 'section3'])
|
|
820
|
+
cf['section3'] = {}
|
|
821
|
+
self.assertEqual(set(cf['section3'].keys()), {'named'})
|
|
822
|
+
self.assertNotIn('name3', cf['section3'])
|
|
823
|
+
self.assertEqual(cf.sections(), ['section1', 'section2', 'section3'])
|
|
824
|
+
cf[self.default_section] = {}
|
|
825
|
+
self.assertEqual(set(cf[self.default_section].keys()), set())
|
|
826
|
+
self.assertEqual(set(cf['section1'].keys()), {'name1'})
|
|
827
|
+
self.assertEqual(set(cf['section2'].keys()), {'name22'})
|
|
828
|
+
self.assertEqual(set(cf['section3'].keys()), set())
|
|
829
|
+
self.assertEqual(cf.sections(), ['section1', 'section2', 'section3'])
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
class StrictTestCase(BasicTestCase, unittest.TestCase):
|
|
833
|
+
config_class = configparser.RawConfigParser
|
|
834
|
+
strict = True
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
class ConfigParserTestCase(BasicTestCase, unittest.TestCase):
|
|
838
|
+
config_class = configparser.ConfigParser
|
|
839
|
+
|
|
840
|
+
def test_interpolation(self):
|
|
841
|
+
cf = self.get_interpolation_config()
|
|
842
|
+
eq = self.assertEqual
|
|
843
|
+
eq(cf.get("Foo", "bar"), "something with interpolation (1 step)")
|
|
844
|
+
eq(cf.get("Foo", "bar9"),
|
|
845
|
+
"something with lots of interpolation (9 steps)")
|
|
846
|
+
eq(cf.get("Foo", "bar10"),
|
|
847
|
+
"something with lots of interpolation (10 steps)")
|
|
848
|
+
e = self.get_error(cf, configparser.InterpolationDepthError, "Foo", "bar11")
|
|
849
|
+
if self.interpolation == configparser._UNSET:
|
|
850
|
+
self.assertEqual(e.args, ("bar11", "Foo", "%(with1)s"))
|
|
851
|
+
elif isinstance(self.interpolation, configparser.LegacyInterpolation):
|
|
852
|
+
self.assertEqual(e.args, ("bar11", "Foo",
|
|
853
|
+
"something %(with11)s lots of interpolation (11 steps)"))
|
|
854
|
+
|
|
855
|
+
def test_interpolation_missing_value(self):
|
|
856
|
+
cf = self.get_interpolation_config()
|
|
857
|
+
e = self.get_error(cf, configparser.InterpolationMissingOptionError,
|
|
858
|
+
"Interpolation Error", "name")
|
|
859
|
+
self.assertEqual(e.reference, "reference")
|
|
860
|
+
self.assertEqual(e.section, "Interpolation Error")
|
|
861
|
+
self.assertEqual(e.option, "name")
|
|
862
|
+
if self.interpolation == configparser._UNSET:
|
|
863
|
+
self.assertEqual(e.args, ('name', 'Interpolation Error',
|
|
864
|
+
'', 'reference'))
|
|
865
|
+
elif isinstance(self.interpolation, configparser.LegacyInterpolation):
|
|
866
|
+
self.assertEqual(e.args, ('name', 'Interpolation Error',
|
|
867
|
+
'%(reference)s', 'reference'))
|
|
868
|
+
|
|
869
|
+
def test_items(self):
|
|
870
|
+
self.check_items_config([('default', '<default>'),
|
|
871
|
+
('getdefault', '|<default>|'),
|
|
872
|
+
('key', '|value|'),
|
|
873
|
+
('name', 'value'),
|
|
874
|
+
('value', 'value')])
|
|
875
|
+
|
|
876
|
+
def test_safe_interpolation(self):
|
|
877
|
+
# See http://www.python.org/sf/511737
|
|
878
|
+
cf = self.fromstring("[section]\n"
|
|
879
|
+
"option1{eq}xxx\n"
|
|
880
|
+
"option2{eq}%(option1)s/xxx\n"
|
|
881
|
+
"ok{eq}%(option1)s/%%s\n"
|
|
882
|
+
"not_ok{eq}%(option2)s/%%s".format(
|
|
883
|
+
eq=self.delimiters[0]))
|
|
884
|
+
self.assertEqual(cf.get("section", "ok"), "xxx/%s")
|
|
885
|
+
if self.interpolation == configparser._UNSET:
|
|
886
|
+
self.assertEqual(cf.get("section", "not_ok"), "xxx/xxx/%s")
|
|
887
|
+
elif isinstance(self.interpolation, configparser.LegacyInterpolation):
|
|
888
|
+
with self.assertRaises(TypeError):
|
|
889
|
+
cf.get("section", "not_ok")
|
|
890
|
+
|
|
891
|
+
def test_set_malformatted_interpolation(self):
|
|
892
|
+
cf = self.fromstring("[sect]\n"
|
|
893
|
+
"option1{eq}foo\n".format(eq=self.delimiters[0]))
|
|
894
|
+
|
|
895
|
+
self.assertEqual(cf.get('sect', "option1"), "foo")
|
|
896
|
+
|
|
897
|
+
self.assertRaises(ValueError, cf.set, "sect", "option1", "%foo")
|
|
898
|
+
self.assertRaises(ValueError, cf.set, "sect", "option1", "foo%")
|
|
899
|
+
self.assertRaises(ValueError, cf.set, "sect", "option1", "f%oo")
|
|
900
|
+
|
|
901
|
+
self.assertEqual(cf.get('sect', "option1"), "foo")
|
|
902
|
+
|
|
903
|
+
# bug #5741: double percents are *not* malformed
|
|
904
|
+
cf.set("sect", "option2", "foo%%bar")
|
|
905
|
+
self.assertEqual(cf.get("sect", "option2"), "foo%bar")
|
|
906
|
+
|
|
907
|
+
def test_set_nonstring_types(self):
|
|
908
|
+
cf = self.fromstring("[sect]\n"
|
|
909
|
+
"option1{eq}foo\n".format(eq=self.delimiters[0]))
|
|
910
|
+
# Check that we get a TypeError when setting non-string values
|
|
911
|
+
# in an existing section:
|
|
912
|
+
self.assertRaises(TypeError, cf.set, "sect", "option1", 1)
|
|
913
|
+
self.assertRaises(TypeError, cf.set, "sect", "option1", 1.0)
|
|
914
|
+
self.assertRaises(TypeError, cf.set, "sect", "option1", object())
|
|
915
|
+
self.assertRaises(TypeError, cf.set, "sect", "option2", 1)
|
|
916
|
+
self.assertRaises(TypeError, cf.set, "sect", "option2", 1.0)
|
|
917
|
+
self.assertRaises(TypeError, cf.set, "sect", "option2", object())
|
|
918
|
+
self.assertRaises(TypeError, cf.set, "sect", 123, "invalid opt name!")
|
|
919
|
+
self.assertRaises(TypeError, cf.add_section, 123)
|
|
920
|
+
|
|
921
|
+
def test_add_section_default(self):
|
|
922
|
+
cf = self.newconfig()
|
|
923
|
+
self.assertRaises(ValueError, cf.add_section, self.default_section)
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
class ConfigParserTestCaseNoInterpolation(BasicTestCase, unittest.TestCase):
|
|
927
|
+
config_class = configparser.ConfigParser
|
|
928
|
+
interpolation = None
|
|
929
|
+
ini = textwrap.dedent("""
|
|
930
|
+
[numbers]
|
|
931
|
+
one = 1
|
|
932
|
+
two = %(one)s * 2
|
|
933
|
+
three = ${common:one} * 3
|
|
934
|
+
|
|
935
|
+
[hexen]
|
|
936
|
+
sixteen = ${numbers:two} * 8
|
|
937
|
+
""").strip()
|
|
938
|
+
|
|
939
|
+
def assertMatchesIni(self, cf):
|
|
940
|
+
self.assertEqual(cf['numbers']['one'], '1')
|
|
941
|
+
self.assertEqual(cf['numbers']['two'], '%(one)s * 2')
|
|
942
|
+
self.assertEqual(cf['numbers']['three'], '${common:one} * 3')
|
|
943
|
+
self.assertEqual(cf['hexen']['sixteen'], '${numbers:two} * 8')
|
|
944
|
+
|
|
945
|
+
def test_no_interpolation(self):
|
|
946
|
+
cf = self.fromstring(self.ini)
|
|
947
|
+
self.assertMatchesIni(cf)
|
|
948
|
+
|
|
949
|
+
def test_empty_case(self):
|
|
950
|
+
cf = self.newconfig()
|
|
951
|
+
self.assertIsNone(cf.read_string(""))
|
|
952
|
+
|
|
953
|
+
def test_none_as_default_interpolation(self):
|
|
954
|
+
class CustomConfigParser(configparser.ConfigParser):
|
|
955
|
+
_DEFAULT_INTERPOLATION = None
|
|
956
|
+
|
|
957
|
+
cf = CustomConfigParser()
|
|
958
|
+
cf.read_string(self.ini)
|
|
959
|
+
self.assertMatchesIni(cf)
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
class ConfigParserTestCaseLegacyInterpolation(ConfigParserTestCase):
|
|
963
|
+
config_class = configparser.ConfigParser
|
|
964
|
+
interpolation = configparser.LegacyInterpolation()
|
|
965
|
+
|
|
966
|
+
def test_set_malformatted_interpolation(self):
|
|
967
|
+
cf = self.fromstring("[sect]\n"
|
|
968
|
+
"option1{eq}foo\n".format(eq=self.delimiters[0]))
|
|
969
|
+
|
|
970
|
+
self.assertEqual(cf.get('sect', "option1"), "foo")
|
|
971
|
+
|
|
972
|
+
cf.set("sect", "option1", "%foo")
|
|
973
|
+
self.assertEqual(cf.get('sect', "option1"), "%foo")
|
|
974
|
+
cf.set("sect", "option1", "foo%")
|
|
975
|
+
self.assertEqual(cf.get('sect', "option1"), "foo%")
|
|
976
|
+
cf.set("sect", "option1", "f%oo")
|
|
977
|
+
self.assertEqual(cf.get('sect', "option1"), "f%oo")
|
|
978
|
+
|
|
979
|
+
# bug #5741: double percents are *not* malformed
|
|
980
|
+
cf.set("sect", "option2", "foo%%bar")
|
|
981
|
+
self.assertEqual(cf.get("sect", "option2"), "foo%%bar")
|
|
982
|
+
|
|
983
|
+
class ConfigParserTestCaseNonStandardDelimiters(ConfigParserTestCase):
|
|
984
|
+
delimiters = (':=', '$')
|
|
985
|
+
comment_prefixes = ('//', '"')
|
|
986
|
+
inline_comment_prefixes = ('//', '"')
|
|
987
|
+
|
|
988
|
+
class ConfigParserTestCaseNonStandardDefaultSection(ConfigParserTestCase):
|
|
989
|
+
default_section = 'general'
|
|
990
|
+
|
|
991
|
+
class MultilineValuesTestCase(BasicTestCase, unittest.TestCase):
|
|
992
|
+
config_class = configparser.ConfigParser
|
|
993
|
+
wonderful_spam = ("I'm having spam spam spam spam "
|
|
994
|
+
"spam spam spam beaked beans spam "
|
|
995
|
+
"spam spam and spam!").replace(' ', '\t\n')
|
|
996
|
+
|
|
997
|
+
def setUp(self):
|
|
998
|
+
cf = self.newconfig()
|
|
999
|
+
for i in range(100):
|
|
1000
|
+
s = 'section{}'.format(i)
|
|
1001
|
+
cf.add_section(s)
|
|
1002
|
+
for j in range(10):
|
|
1003
|
+
cf.set(s, 'lovely_spam{}'.format(j), self.wonderful_spam)
|
|
1004
|
+
with open(support.TESTFN, 'w') as f:
|
|
1005
|
+
cf.write(f)
|
|
1006
|
+
|
|
1007
|
+
def tearDown(self):
|
|
1008
|
+
os.unlink(support.TESTFN)
|
|
1009
|
+
|
|
1010
|
+
def test_dominating_multiline_values(self):
|
|
1011
|
+
# We're reading from file because this is where the code changed
|
|
1012
|
+
# during performance updates in Python 3.2
|
|
1013
|
+
cf_from_file = self.newconfig()
|
|
1014
|
+
with open(support.TESTFN) as f:
|
|
1015
|
+
cf_from_file.read_file(f)
|
|
1016
|
+
self.assertEqual(cf_from_file.get('section8', 'lovely_spam4'),
|
|
1017
|
+
self.wonderful_spam.replace('\t\n', '\n'))
|
|
1018
|
+
|
|
1019
|
+
class RawConfigParserTestCase(BasicTestCase, unittest.TestCase):
|
|
1020
|
+
config_class = configparser.RawConfigParser
|
|
1021
|
+
|
|
1022
|
+
def test_interpolation(self):
|
|
1023
|
+
cf = self.get_interpolation_config()
|
|
1024
|
+
eq = self.assertEqual
|
|
1025
|
+
eq(cf.get("Foo", "bar"),
|
|
1026
|
+
"something %(with1)s interpolation (1 step)")
|
|
1027
|
+
eq(cf.get("Foo", "bar9"),
|
|
1028
|
+
"something %(with9)s lots of interpolation (9 steps)")
|
|
1029
|
+
eq(cf.get("Foo", "bar10"),
|
|
1030
|
+
"something %(with10)s lots of interpolation (10 steps)")
|
|
1031
|
+
eq(cf.get("Foo", "bar11"),
|
|
1032
|
+
"something %(with11)s lots of interpolation (11 steps)")
|
|
1033
|
+
|
|
1034
|
+
def test_items(self):
|
|
1035
|
+
self.check_items_config([('default', '<default>'),
|
|
1036
|
+
('getdefault', '|%(default)s|'),
|
|
1037
|
+
('key', '|%(name)s|'),
|
|
1038
|
+
('name', '%(value)s'),
|
|
1039
|
+
('value', 'value')])
|
|
1040
|
+
|
|
1041
|
+
def test_set_nonstring_types(self):
|
|
1042
|
+
cf = self.newconfig()
|
|
1043
|
+
cf.add_section('non-string')
|
|
1044
|
+
cf.set('non-string', 'int', 1)
|
|
1045
|
+
cf.set('non-string', 'list', [0, 1, 1, 2, 3, 5, 8, 13])
|
|
1046
|
+
cf.set('non-string', 'dict', {'pi': 3.14159})
|
|
1047
|
+
self.assertEqual(cf.get('non-string', 'int'), 1)
|
|
1048
|
+
self.assertEqual(cf.get('non-string', 'list'),
|
|
1049
|
+
[0, 1, 1, 2, 3, 5, 8, 13])
|
|
1050
|
+
self.assertEqual(cf.get('non-string', 'dict'), {'pi': 3.14159})
|
|
1051
|
+
cf.add_section(123)
|
|
1052
|
+
cf.set(123, 'this is sick', True)
|
|
1053
|
+
self.assertEqual(cf.get(123, 'this is sick'), True)
|
|
1054
|
+
if cf._dict is configparser._default_dict:
|
|
1055
|
+
# would not work for SortedDict; only checking for the most common
|
|
1056
|
+
# default dictionary (OrderedDict)
|
|
1057
|
+
cf.optionxform = lambda x: x
|
|
1058
|
+
cf.set('non-string', 1, 1)
|
|
1059
|
+
self.assertEqual(cf.get('non-string', 1), 1)
|
|
1060
|
+
|
|
1061
|
+
class RawConfigParserTestCaseNonStandardDelimiters(RawConfigParserTestCase):
|
|
1062
|
+
delimiters = (':=', '$')
|
|
1063
|
+
comment_prefixes = ('//', '"')
|
|
1064
|
+
inline_comment_prefixes = ('//', '"')
|
|
1065
|
+
|
|
1066
|
+
class RawConfigParserTestSambaConf(CfgParserTestCaseClass, unittest.TestCase):
|
|
1067
|
+
config_class = configparser.RawConfigParser
|
|
1068
|
+
comment_prefixes = ('#', ';', '----')
|
|
1069
|
+
inline_comment_prefixes = ('//',)
|
|
1070
|
+
empty_lines_in_values = False
|
|
1071
|
+
|
|
1072
|
+
def test_reading(self):
|
|
1073
|
+
smbconf = support.findfile("cfgparser.2")
|
|
1074
|
+
# check when we pass a mix of readable and non-readable files:
|
|
1075
|
+
cf = self.newconfig()
|
|
1076
|
+
parsed_files = cf.read([smbconf, "nonexistent-file"], encoding='utf-8')
|
|
1077
|
+
self.assertEqual(parsed_files, [smbconf])
|
|
1078
|
+
sections = ['global', 'homes', 'printers',
|
|
1079
|
+
'print$', 'pdf-generator', 'tmp', 'Agustin']
|
|
1080
|
+
self.assertEqual(cf.sections(), sections)
|
|
1081
|
+
self.assertEqual(cf.get("global", "workgroup"), "MDKGROUP")
|
|
1082
|
+
self.assertEqual(cf.getint("global", "max log size"), 50)
|
|
1083
|
+
self.assertEqual(cf.get("global", "hosts allow"), "127.")
|
|
1084
|
+
self.assertEqual(cf.get("tmp", "echo command"), "cat %s; rm %s")
|
|
1085
|
+
|
|
1086
|
+
class ConfigParserTestCaseExtendedInterpolation(BasicTestCase, unittest.TestCase):
|
|
1087
|
+
config_class = configparser.ConfigParser
|
|
1088
|
+
interpolation = configparser.ExtendedInterpolation()
|
|
1089
|
+
default_section = 'common'
|
|
1090
|
+
strict = True
|
|
1091
|
+
|
|
1092
|
+
def fromstring(self, string, defaults=None, optionxform=None):
|
|
1093
|
+
cf = self.newconfig(defaults)
|
|
1094
|
+
if optionxform:
|
|
1095
|
+
cf.optionxform = optionxform
|
|
1096
|
+
cf.read_string(string)
|
|
1097
|
+
return cf
|
|
1098
|
+
|
|
1099
|
+
def test_extended_interpolation(self):
|
|
1100
|
+
cf = self.fromstring(textwrap.dedent("""
|
|
1101
|
+
[common]
|
|
1102
|
+
favourite Beatle = Paul
|
|
1103
|
+
favourite color = green
|
|
1104
|
+
|
|
1105
|
+
[tom]
|
|
1106
|
+
favourite band = ${favourite color} day
|
|
1107
|
+
favourite pope = John ${favourite Beatle} II
|
|
1108
|
+
sequel = ${favourite pope}I
|
|
1109
|
+
|
|
1110
|
+
[ambv]
|
|
1111
|
+
favourite Beatle = George
|
|
1112
|
+
son of Edward VII = ${favourite Beatle} V
|
|
1113
|
+
son of George V = ${son of Edward VII}I
|
|
1114
|
+
|
|
1115
|
+
[stanley]
|
|
1116
|
+
favourite Beatle = ${ambv:favourite Beatle}
|
|
1117
|
+
favourite pope = ${tom:favourite pope}
|
|
1118
|
+
favourite color = black
|
|
1119
|
+
favourite state of mind = paranoid
|
|
1120
|
+
favourite movie = soylent ${common:favourite color}
|
|
1121
|
+
favourite song = ${favourite color} sabbath - ${favourite state of mind}
|
|
1122
|
+
""").strip())
|
|
1123
|
+
|
|
1124
|
+
eq = self.assertEqual
|
|
1125
|
+
eq(cf['common']['favourite Beatle'], 'Paul')
|
|
1126
|
+
eq(cf['common']['favourite color'], 'green')
|
|
1127
|
+
eq(cf['tom']['favourite Beatle'], 'Paul')
|
|
1128
|
+
eq(cf['tom']['favourite color'], 'green')
|
|
1129
|
+
eq(cf['tom']['favourite band'], 'green day')
|
|
1130
|
+
eq(cf['tom']['favourite pope'], 'John Paul II')
|
|
1131
|
+
eq(cf['tom']['sequel'], 'John Paul III')
|
|
1132
|
+
eq(cf['ambv']['favourite Beatle'], 'George')
|
|
1133
|
+
eq(cf['ambv']['favourite color'], 'green')
|
|
1134
|
+
eq(cf['ambv']['son of Edward VII'], 'George V')
|
|
1135
|
+
eq(cf['ambv']['son of George V'], 'George VI')
|
|
1136
|
+
eq(cf['stanley']['favourite Beatle'], 'George')
|
|
1137
|
+
eq(cf['stanley']['favourite color'], 'black')
|
|
1138
|
+
eq(cf['stanley']['favourite state of mind'], 'paranoid')
|
|
1139
|
+
eq(cf['stanley']['favourite movie'], 'soylent green')
|
|
1140
|
+
eq(cf['stanley']['favourite pope'], 'John Paul II')
|
|
1141
|
+
eq(cf['stanley']['favourite song'],
|
|
1142
|
+
'black sabbath - paranoid')
|
|
1143
|
+
|
|
1144
|
+
def test_endless_loop(self):
|
|
1145
|
+
cf = self.fromstring(textwrap.dedent("""
|
|
1146
|
+
[one for you]
|
|
1147
|
+
ping = ${one for me:pong}
|
|
1148
|
+
|
|
1149
|
+
[one for me]
|
|
1150
|
+
pong = ${one for you:ping}
|
|
1151
|
+
|
|
1152
|
+
[selfish]
|
|
1153
|
+
me = ${me}
|
|
1154
|
+
""").strip())
|
|
1155
|
+
|
|
1156
|
+
with self.assertRaises(configparser.InterpolationDepthError):
|
|
1157
|
+
cf['one for you']['ping']
|
|
1158
|
+
with self.assertRaises(configparser.InterpolationDepthError):
|
|
1159
|
+
cf['selfish']['me']
|
|
1160
|
+
|
|
1161
|
+
def test_strange_options(self):
|
|
1162
|
+
cf = self.fromstring("""
|
|
1163
|
+
[dollars]
|
|
1164
|
+
$var = $$value
|
|
1165
|
+
$var2 = ${$var}
|
|
1166
|
+
${sick} = cannot interpolate me
|
|
1167
|
+
|
|
1168
|
+
[interpolated]
|
|
1169
|
+
$other = ${dollars:$var}
|
|
1170
|
+
$trying = ${dollars:${sick}}
|
|
1171
|
+
""")
|
|
1172
|
+
|
|
1173
|
+
self.assertEqual(cf['dollars']['$var'], '$value')
|
|
1174
|
+
self.assertEqual(cf['interpolated']['$other'], '$value')
|
|
1175
|
+
self.assertEqual(cf['dollars']['${sick}'], 'cannot interpolate me')
|
|
1176
|
+
exception_class = configparser.InterpolationMissingOptionError
|
|
1177
|
+
with self.assertRaises(exception_class) as cm:
|
|
1178
|
+
cf['interpolated']['$trying']
|
|
1179
|
+
self.assertEqual(cm.exception.reference, 'dollars:${sick')
|
|
1180
|
+
self.assertEqual(cm.exception.args[2], '}') #rawval
|
|
1181
|
+
|
|
1182
|
+
def test_case_sensitivity_basic(self):
|
|
1183
|
+
ini = textwrap.dedent("""
|
|
1184
|
+
[common]
|
|
1185
|
+
optionlower = value
|
|
1186
|
+
OptionUpper = Value
|
|
1187
|
+
|
|
1188
|
+
[Common]
|
|
1189
|
+
optionlower = a better ${common:optionlower}
|
|
1190
|
+
OptionUpper = A Better ${common:OptionUpper}
|
|
1191
|
+
|
|
1192
|
+
[random]
|
|
1193
|
+
foolower = ${common:optionlower} redefined
|
|
1194
|
+
FooUpper = ${Common:OptionUpper} Redefined
|
|
1195
|
+
""").strip()
|
|
1196
|
+
|
|
1197
|
+
cf = self.fromstring(ini)
|
|
1198
|
+
eq = self.assertEqual
|
|
1199
|
+
eq(cf['common']['optionlower'], 'value')
|
|
1200
|
+
eq(cf['common']['OptionUpper'], 'Value')
|
|
1201
|
+
eq(cf['Common']['optionlower'], 'a better value')
|
|
1202
|
+
eq(cf['Common']['OptionUpper'], 'A Better Value')
|
|
1203
|
+
eq(cf['random']['foolower'], 'value redefined')
|
|
1204
|
+
eq(cf['random']['FooUpper'], 'A Better Value Redefined')
|
|
1205
|
+
|
|
1206
|
+
def test_case_sensitivity_conflicts(self):
|
|
1207
|
+
ini = textwrap.dedent("""
|
|
1208
|
+
[common]
|
|
1209
|
+
option = value
|
|
1210
|
+
Option = Value
|
|
1211
|
+
|
|
1212
|
+
[Common]
|
|
1213
|
+
option = a better ${common:option}
|
|
1214
|
+
Option = A Better ${common:Option}
|
|
1215
|
+
|
|
1216
|
+
[random]
|
|
1217
|
+
foo = ${common:option} redefined
|
|
1218
|
+
Foo = ${Common:Option} Redefined
|
|
1219
|
+
""").strip()
|
|
1220
|
+
with self.assertRaises(configparser.DuplicateOptionError):
|
|
1221
|
+
cf = self.fromstring(ini)
|
|
1222
|
+
|
|
1223
|
+
# raw options
|
|
1224
|
+
cf = self.fromstring(ini, optionxform=lambda opt: opt)
|
|
1225
|
+
eq = self.assertEqual
|
|
1226
|
+
eq(cf['common']['option'], 'value')
|
|
1227
|
+
eq(cf['common']['Option'], 'Value')
|
|
1228
|
+
eq(cf['Common']['option'], 'a better value')
|
|
1229
|
+
eq(cf['Common']['Option'], 'A Better Value')
|
|
1230
|
+
eq(cf['random']['foo'], 'value redefined')
|
|
1231
|
+
eq(cf['random']['Foo'], 'A Better Value Redefined')
|
|
1232
|
+
|
|
1233
|
+
def test_other_errors(self):
|
|
1234
|
+
cf = self.fromstring("""
|
|
1235
|
+
[interpolation fail]
|
|
1236
|
+
case1 = ${where's the brace
|
|
1237
|
+
case2 = ${does_not_exist}
|
|
1238
|
+
case3 = ${wrong_section:wrong_value}
|
|
1239
|
+
case4 = ${i:like:colon:characters}
|
|
1240
|
+
case5 = $100 for Fail No 5!
|
|
1241
|
+
""")
|
|
1242
|
+
|
|
1243
|
+
with self.assertRaises(configparser.InterpolationSyntaxError):
|
|
1244
|
+
cf['interpolation fail']['case1']
|
|
1245
|
+
with self.assertRaises(configparser.InterpolationMissingOptionError):
|
|
1246
|
+
cf['interpolation fail']['case2']
|
|
1247
|
+
with self.assertRaises(configparser.InterpolationMissingOptionError):
|
|
1248
|
+
cf['interpolation fail']['case3']
|
|
1249
|
+
with self.assertRaises(configparser.InterpolationSyntaxError):
|
|
1250
|
+
cf['interpolation fail']['case4']
|
|
1251
|
+
with self.assertRaises(configparser.InterpolationSyntaxError):
|
|
1252
|
+
cf['interpolation fail']['case5']
|
|
1253
|
+
with self.assertRaises(ValueError):
|
|
1254
|
+
cf['interpolation fail']['case6'] = "BLACK $ABBATH"
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
class ConfigParserTestCaseNoValue(ConfigParserTestCase):
|
|
1258
|
+
allow_no_value = True
|
|
1259
|
+
|
|
1260
|
+
class ConfigParserTestCaseTrickyFile(CfgParserTestCaseClass, unittest.TestCase):
|
|
1261
|
+
config_class = configparser.ConfigParser
|
|
1262
|
+
delimiters = {'='}
|
|
1263
|
+
comment_prefixes = {'#'}
|
|
1264
|
+
allow_no_value = True
|
|
1265
|
+
|
|
1266
|
+
def test_cfgparser_dot_3(self):
|
|
1267
|
+
tricky = support.findfile("cfgparser.3")
|
|
1268
|
+
cf = self.newconfig()
|
|
1269
|
+
self.assertEqual(len(cf.read(tricky, encoding='utf-8')), 1)
|
|
1270
|
+
self.assertEqual(cf.sections(), ['strange',
|
|
1271
|
+
'corruption',
|
|
1272
|
+
'yeah, sections can be '
|
|
1273
|
+
'indented as well',
|
|
1274
|
+
'another one!',
|
|
1275
|
+
'no values here',
|
|
1276
|
+
'tricky interpolation',
|
|
1277
|
+
'more interpolation'])
|
|
1278
|
+
self.assertEqual(cf.getint(self.default_section, 'go',
|
|
1279
|
+
vars={'interpolate': '-1'}), -1)
|
|
1280
|
+
with self.assertRaises(ValueError):
|
|
1281
|
+
# no interpolation will happen
|
|
1282
|
+
cf.getint(self.default_section, 'go', raw=True,
|
|
1283
|
+
vars={'interpolate': '-1'})
|
|
1284
|
+
self.assertEqual(len(cf.get('strange', 'other').split('\n')), 4)
|
|
1285
|
+
self.assertEqual(len(cf.get('corruption', 'value').split('\n')), 10)
|
|
1286
|
+
longname = 'yeah, sections can be indented as well'
|
|
1287
|
+
self.assertFalse(cf.getboolean(longname, 'are they subsections'))
|
|
1288
|
+
self.assertEqual(cf.get(longname, 'lets use some Unicode'), '片仮名')
|
|
1289
|
+
self.assertEqual(len(cf.items('another one!')), 5) # 4 in section and
|
|
1290
|
+
# `go` from DEFAULT
|
|
1291
|
+
with self.assertRaises(configparser.InterpolationMissingOptionError):
|
|
1292
|
+
cf.items('no values here')
|
|
1293
|
+
self.assertEqual(cf.get('tricky interpolation', 'lets'), 'do this')
|
|
1294
|
+
self.assertEqual(cf.get('tricky interpolation', 'lets'),
|
|
1295
|
+
cf.get('tricky interpolation', 'go'))
|
|
1296
|
+
self.assertEqual(cf.get('more interpolation', 'lets'), 'go shopping')
|
|
1297
|
+
|
|
1298
|
+
def test_unicode_failure(self):
|
|
1299
|
+
tricky = support.findfile("cfgparser.3")
|
|
1300
|
+
cf = self.newconfig()
|
|
1301
|
+
with self.assertRaises(UnicodeDecodeError):
|
|
1302
|
+
cf.read(tricky, encoding='ascii')
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
class Issue7005TestCase(unittest.TestCase):
|
|
1306
|
+
"""Test output when None is set() as a value and allow_no_value == False.
|
|
1307
|
+
|
|
1308
|
+
http://bugs.python.org/issue7005
|
|
1309
|
+
|
|
1310
|
+
"""
|
|
1311
|
+
|
|
1312
|
+
expected_output = "[section]\noption = None\n\n"
|
|
1313
|
+
|
|
1314
|
+
def prepare(self, config_class):
|
|
1315
|
+
# This is the default, but that's the point.
|
|
1316
|
+
cp = config_class(allow_no_value=False)
|
|
1317
|
+
cp.add_section("section")
|
|
1318
|
+
cp.set("section", "option", None)
|
|
1319
|
+
sio = io.StringIO()
|
|
1320
|
+
cp.write(sio)
|
|
1321
|
+
return sio.getvalue()
|
|
1322
|
+
|
|
1323
|
+
def test_none_as_value_stringified(self):
|
|
1324
|
+
cp = configparser.ConfigParser(allow_no_value=False)
|
|
1325
|
+
cp.add_section("section")
|
|
1326
|
+
with self.assertRaises(TypeError):
|
|
1327
|
+
cp.set("section", "option", None)
|
|
1328
|
+
|
|
1329
|
+
def test_none_as_value_stringified_raw(self):
|
|
1330
|
+
output = self.prepare(configparser.RawConfigParser)
|
|
1331
|
+
self.assertEqual(output, self.expected_output)
|
|
1332
|
+
|
|
1333
|
+
|
|
1334
|
+
class SortedTestCase(RawConfigParserTestCase):
|
|
1335
|
+
dict_type = SortedDict
|
|
1336
|
+
|
|
1337
|
+
def test_sorted(self):
|
|
1338
|
+
cf = self.fromstring("[b]\n"
|
|
1339
|
+
"o4=1\n"
|
|
1340
|
+
"o3=2\n"
|
|
1341
|
+
"o2=3\n"
|
|
1342
|
+
"o1=4\n"
|
|
1343
|
+
"[a]\n"
|
|
1344
|
+
"k=v\n")
|
|
1345
|
+
output = io.StringIO()
|
|
1346
|
+
cf.write(output)
|
|
1347
|
+
self.assertEqual(output.getvalue(),
|
|
1348
|
+
"[a]\n"
|
|
1349
|
+
"k = v\n\n"
|
|
1350
|
+
"[b]\n"
|
|
1351
|
+
"o1 = 4\n"
|
|
1352
|
+
"o2 = 3\n"
|
|
1353
|
+
"o3 = 2\n"
|
|
1354
|
+
"o4 = 1\n\n")
|
|
1355
|
+
|
|
1356
|
+
|
|
1357
|
+
class CompatibleTestCase(CfgParserTestCaseClass, unittest.TestCase):
|
|
1358
|
+
config_class = configparser.RawConfigParser
|
|
1359
|
+
comment_prefixes = '#;'
|
|
1360
|
+
inline_comment_prefixes = ';'
|
|
1361
|
+
|
|
1362
|
+
def test_comment_handling(self):
|
|
1363
|
+
config_string = textwrap.dedent("""\
|
|
1364
|
+
[Commented Bar]
|
|
1365
|
+
baz=qwe ; a comment
|
|
1366
|
+
foo: bar # not a comment!
|
|
1367
|
+
# but this is a comment
|
|
1368
|
+
; another comment
|
|
1369
|
+
quirk: this;is not a comment
|
|
1370
|
+
; a space must precede an inline comment
|
|
1371
|
+
""")
|
|
1372
|
+
cf = self.fromstring(config_string)
|
|
1373
|
+
self.assertEqual(cf.get('Commented Bar', 'foo'),
|
|
1374
|
+
'bar # not a comment!')
|
|
1375
|
+
self.assertEqual(cf.get('Commented Bar', 'baz'), 'qwe')
|
|
1376
|
+
self.assertEqual(cf.get('Commented Bar', 'quirk'),
|
|
1377
|
+
'this;is not a comment')
|
|
1378
|
+
|
|
1379
|
+
class CopyTestCase(BasicTestCase, unittest.TestCase):
|
|
1380
|
+
config_class = configparser.ConfigParser
|
|
1381
|
+
|
|
1382
|
+
def fromstring(self, string, defaults=None):
|
|
1383
|
+
cf = self.newconfig(defaults)
|
|
1384
|
+
cf.read_string(string)
|
|
1385
|
+
cf_copy = self.newconfig()
|
|
1386
|
+
cf_copy.read_dict(cf)
|
|
1387
|
+
# we have to clean up option duplicates that appeared because of
|
|
1388
|
+
# the magic DEFAULTSECT behaviour.
|
|
1389
|
+
for section in cf_copy.values():
|
|
1390
|
+
if section.name == self.default_section:
|
|
1391
|
+
continue
|
|
1392
|
+
for default, value in cf[self.default_section].items():
|
|
1393
|
+
if section[default] == value:
|
|
1394
|
+
del section[default]
|
|
1395
|
+
return cf_copy
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
class FakeFile:
|
|
1399
|
+
def __init__(self):
|
|
1400
|
+
file_path = support.findfile("cfgparser.1")
|
|
1401
|
+
with open(file_path) as f:
|
|
1402
|
+
self.lines = f.readlines()
|
|
1403
|
+
self.lines.reverse()
|
|
1404
|
+
|
|
1405
|
+
def readline(self):
|
|
1406
|
+
if len(self.lines):
|
|
1407
|
+
return self.lines.pop()
|
|
1408
|
+
return ''
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
def readline_generator(f):
|
|
1412
|
+
"""As advised in Doc/library/configparser.rst."""
|
|
1413
|
+
line = f.readline()
|
|
1414
|
+
while line:
|
|
1415
|
+
yield line
|
|
1416
|
+
line = f.readline()
|
|
1417
|
+
|
|
1418
|
+
|
|
1419
|
+
class ReadFileTestCase(unittest.TestCase):
|
|
1420
|
+
def test_file(self):
|
|
1421
|
+
file_paths = [support.findfile("cfgparser.1")]
|
|
1422
|
+
try:
|
|
1423
|
+
file_paths.append(file_paths[0].encode('utf8'))
|
|
1424
|
+
except UnicodeEncodeError:
|
|
1425
|
+
pass # unfortunately we can't test bytes on this path
|
|
1426
|
+
for file_path in file_paths:
|
|
1427
|
+
parser = configparser.ConfigParser()
|
|
1428
|
+
with open(file_path) as f:
|
|
1429
|
+
parser.read_file(f)
|
|
1430
|
+
self.assertIn("Foo Bar", parser)
|
|
1431
|
+
self.assertIn("foo", parser["Foo Bar"])
|
|
1432
|
+
self.assertEqual(parser["Foo Bar"]["foo"], "newbar")
|
|
1433
|
+
|
|
1434
|
+
def test_iterable(self):
|
|
1435
|
+
lines = textwrap.dedent("""
|
|
1436
|
+
[Foo Bar]
|
|
1437
|
+
foo=newbar""").strip().split('\n')
|
|
1438
|
+
parser = configparser.ConfigParser()
|
|
1439
|
+
parser.read_file(lines)
|
|
1440
|
+
self.assertIn("Foo Bar", parser)
|
|
1441
|
+
self.assertIn("foo", parser["Foo Bar"])
|
|
1442
|
+
self.assertEqual(parser["Foo Bar"]["foo"], "newbar")
|
|
1443
|
+
|
|
1444
|
+
def test_readline_generator(self):
|
|
1445
|
+
"""Issue #11670."""
|
|
1446
|
+
parser = configparser.ConfigParser()
|
|
1447
|
+
with self.assertRaises(TypeError):
|
|
1448
|
+
parser.read_file(FakeFile())
|
|
1449
|
+
parser.read_file(readline_generator(FakeFile()))
|
|
1450
|
+
self.assertIn("Foo Bar", parser)
|
|
1451
|
+
self.assertIn("foo", parser["Foo Bar"])
|
|
1452
|
+
self.assertEqual(parser["Foo Bar"]["foo"], "newbar")
|
|
1453
|
+
|
|
1454
|
+
def test_source_as_bytes(self):
|
|
1455
|
+
"""Issue #18260."""
|
|
1456
|
+
lines = textwrap.dedent("""
|
|
1457
|
+
[badbad]
|
|
1458
|
+
[badbad]""").strip().split('\n')
|
|
1459
|
+
parser = configparser.ConfigParser()
|
|
1460
|
+
with self.assertRaises(configparser.DuplicateSectionError) as dse:
|
|
1461
|
+
parser.read_file(lines, source=b"badbad")
|
|
1462
|
+
self.assertEqual(
|
|
1463
|
+
str(dse.exception),
|
|
1464
|
+
"While reading from b'badbad' [line 2]: section 'badbad' "
|
|
1465
|
+
"already exists"
|
|
1466
|
+
)
|
|
1467
|
+
lines = textwrap.dedent("""
|
|
1468
|
+
[badbad]
|
|
1469
|
+
bad = bad
|
|
1470
|
+
bad = bad""").strip().split('\n')
|
|
1471
|
+
parser = configparser.ConfigParser()
|
|
1472
|
+
with self.assertRaises(configparser.DuplicateOptionError) as dse:
|
|
1473
|
+
parser.read_file(lines, source=b"badbad")
|
|
1474
|
+
self.assertEqual(
|
|
1475
|
+
str(dse.exception),
|
|
1476
|
+
"While reading from b'badbad' [line 3]: option 'bad' in section "
|
|
1477
|
+
"'badbad' already exists"
|
|
1478
|
+
)
|
|
1479
|
+
lines = textwrap.dedent("""
|
|
1480
|
+
[badbad]
|
|
1481
|
+
= bad""").strip().split('\n')
|
|
1482
|
+
parser = configparser.ConfigParser()
|
|
1483
|
+
with self.assertRaises(configparser.ParsingError) as dse:
|
|
1484
|
+
parser.read_file(lines, source=b"badbad")
|
|
1485
|
+
self.assertEqual(
|
|
1486
|
+
str(dse.exception),
|
|
1487
|
+
"Source contains parsing errors: b'badbad'\n\t[line 2]: '= bad'"
|
|
1488
|
+
)
|
|
1489
|
+
lines = textwrap.dedent("""
|
|
1490
|
+
[badbad
|
|
1491
|
+
bad = bad""").strip().split('\n')
|
|
1492
|
+
parser = configparser.ConfigParser()
|
|
1493
|
+
with self.assertRaises(configparser.MissingSectionHeaderError) as dse:
|
|
1494
|
+
parser.read_file(lines, source=b"badbad")
|
|
1495
|
+
self.assertEqual(
|
|
1496
|
+
str(dse.exception),
|
|
1497
|
+
"File contains no section headers.\nfile: b'badbad', line: 1\n"
|
|
1498
|
+
"'[badbad'"
|
|
1499
|
+
)
|
|
1500
|
+
|
|
1501
|
+
|
|
1502
|
+
class CoverageOneHundredTestCase(unittest.TestCase):
|
|
1503
|
+
"""Covers edge cases in the codebase."""
|
|
1504
|
+
|
|
1505
|
+
def test_duplicate_option_error(self):
|
|
1506
|
+
error = configparser.DuplicateOptionError('section', 'option')
|
|
1507
|
+
self.assertEqual(error.section, 'section')
|
|
1508
|
+
self.assertEqual(error.option, 'option')
|
|
1509
|
+
self.assertEqual(error.source, None)
|
|
1510
|
+
self.assertEqual(error.lineno, None)
|
|
1511
|
+
self.assertEqual(error.args, ('section', 'option', None, None))
|
|
1512
|
+
self.assertEqual(str(error), "Option 'option' in section 'section' "
|
|
1513
|
+
"already exists")
|
|
1514
|
+
|
|
1515
|
+
def test_interpolation_depth_error(self):
|
|
1516
|
+
error = configparser.InterpolationDepthError('option', 'section',
|
|
1517
|
+
'rawval')
|
|
1518
|
+
self.assertEqual(error.args, ('option', 'section', 'rawval'))
|
|
1519
|
+
self.assertEqual(error.option, 'option')
|
|
1520
|
+
self.assertEqual(error.section, 'section')
|
|
1521
|
+
|
|
1522
|
+
def test_parsing_error(self):
|
|
1523
|
+
with self.assertRaises(ValueError) as cm:
|
|
1524
|
+
configparser.ParsingError()
|
|
1525
|
+
self.assertEqual(str(cm.exception), "Required argument `source' not "
|
|
1526
|
+
"given.")
|
|
1527
|
+
with self.assertRaises(ValueError) as cm:
|
|
1528
|
+
configparser.ParsingError(source='source', filename='filename')
|
|
1529
|
+
self.assertEqual(str(cm.exception), "Cannot specify both `filename' "
|
|
1530
|
+
"and `source'. Use `source'.")
|
|
1531
|
+
error = configparser.ParsingError(filename='source')
|
|
1532
|
+
self.assertEqual(error.source, 'source')
|
|
1533
|
+
with warnings.catch_warnings(record=True) as w:
|
|
1534
|
+
warnings.simplefilter("always", DeprecationWarning)
|
|
1535
|
+
self.assertEqual(error.filename, 'source')
|
|
1536
|
+
error.filename = 'filename'
|
|
1537
|
+
self.assertEqual(error.source, 'filename')
|
|
1538
|
+
for warning in w:
|
|
1539
|
+
self.assertTrue(warning.category is DeprecationWarning)
|
|
1540
|
+
|
|
1541
|
+
def test_interpolation_validation(self):
|
|
1542
|
+
parser = configparser.ConfigParser()
|
|
1543
|
+
parser.read_string("""
|
|
1544
|
+
[section]
|
|
1545
|
+
invalid_percent = %
|
|
1546
|
+
invalid_reference = %(()
|
|
1547
|
+
invalid_variable = %(does_not_exist)s
|
|
1548
|
+
""")
|
|
1549
|
+
with self.assertRaises(configparser.InterpolationSyntaxError) as cm:
|
|
1550
|
+
parser['section']['invalid_percent']
|
|
1551
|
+
self.assertEqual(str(cm.exception), "'%' must be followed by '%' or "
|
|
1552
|
+
"'(', found: '%'")
|
|
1553
|
+
with self.assertRaises(configparser.InterpolationSyntaxError) as cm:
|
|
1554
|
+
parser['section']['invalid_reference']
|
|
1555
|
+
self.assertEqual(str(cm.exception), "bad interpolation variable "
|
|
1556
|
+
"reference '%(()'")
|
|
1557
|
+
|
|
1558
|
+
def test_readfp_deprecation(self):
|
|
1559
|
+
sio = io.StringIO("""
|
|
1560
|
+
[section]
|
|
1561
|
+
option = value
|
|
1562
|
+
""")
|
|
1563
|
+
parser = configparser.ConfigParser()
|
|
1564
|
+
with warnings.catch_warnings(record=True) as w:
|
|
1565
|
+
warnings.simplefilter("always", DeprecationWarning)
|
|
1566
|
+
parser.readfp(sio, filename='StringIO')
|
|
1567
|
+
for warning in w:
|
|
1568
|
+
self.assertTrue(warning.category is DeprecationWarning)
|
|
1569
|
+
self.assertEqual(len(parser), 2)
|
|
1570
|
+
self.assertEqual(parser['section']['option'], 'value')
|
|
1571
|
+
|
|
1572
|
+
def test_safeconfigparser_deprecation(self):
|
|
1573
|
+
with warnings.catch_warnings(record=True) as w:
|
|
1574
|
+
warnings.simplefilter("always", DeprecationWarning)
|
|
1575
|
+
parser = configparser.SafeConfigParser()
|
|
1576
|
+
for warning in w:
|
|
1577
|
+
self.assertTrue(warning.category is DeprecationWarning)
|
|
1578
|
+
|
|
1579
|
+
def test_sectionproxy_repr(self):
|
|
1580
|
+
parser = configparser.ConfigParser()
|
|
1581
|
+
parser.read_string("""
|
|
1582
|
+
[section]
|
|
1583
|
+
key = value
|
|
1584
|
+
""")
|
|
1585
|
+
self.assertEqual(repr(parser['section']), '<Section: section>')
|
|
1586
|
+
|
|
1587
|
+
|
|
1588
|
+
class ExceptionPicklingTestCase(unittest.TestCase):
|
|
1589
|
+
"""Tests for issue #13760: ConfigParser exceptions are not picklable."""
|
|
1590
|
+
|
|
1591
|
+
def test_error(self):
|
|
1592
|
+
import pickle
|
|
1593
|
+
e1 = configparser.Error('value')
|
|
1594
|
+
pickled = pickle.dumps(e1)
|
|
1595
|
+
e2 = pickle.loads(pickled)
|
|
1596
|
+
self.assertEqual(e1.message, e2.message)
|
|
1597
|
+
self.assertEqual(repr(e1), repr(e2))
|
|
1598
|
+
|
|
1599
|
+
def test_nosectionerror(self):
|
|
1600
|
+
import pickle
|
|
1601
|
+
e1 = configparser.NoSectionError('section')
|
|
1602
|
+
pickled = pickle.dumps(e1)
|
|
1603
|
+
e2 = pickle.loads(pickled)
|
|
1604
|
+
self.assertEqual(e1.message, e2.message)
|
|
1605
|
+
self.assertEqual(e1.args, e2.args)
|
|
1606
|
+
self.assertEqual(e1.section, e2.section)
|
|
1607
|
+
self.assertEqual(repr(e1), repr(e2))
|
|
1608
|
+
|
|
1609
|
+
def test_nooptionerror(self):
|
|
1610
|
+
import pickle
|
|
1611
|
+
e1 = configparser.NoOptionError('option', 'section')
|
|
1612
|
+
pickled = pickle.dumps(e1)
|
|
1613
|
+
e2 = pickle.loads(pickled)
|
|
1614
|
+
self.assertEqual(e1.message, e2.message)
|
|
1615
|
+
self.assertEqual(e1.args, e2.args)
|
|
1616
|
+
self.assertEqual(e1.section, e2.section)
|
|
1617
|
+
self.assertEqual(e1.option, e2.option)
|
|
1618
|
+
self.assertEqual(repr(e1), repr(e2))
|
|
1619
|
+
|
|
1620
|
+
def test_duplicatesectionerror(self):
|
|
1621
|
+
import pickle
|
|
1622
|
+
e1 = configparser.DuplicateSectionError('section', 'source', 123)
|
|
1623
|
+
pickled = pickle.dumps(e1)
|
|
1624
|
+
e2 = pickle.loads(pickled)
|
|
1625
|
+
self.assertEqual(e1.message, e2.message)
|
|
1626
|
+
self.assertEqual(e1.args, e2.args)
|
|
1627
|
+
self.assertEqual(e1.section, e2.section)
|
|
1628
|
+
self.assertEqual(e1.source, e2.source)
|
|
1629
|
+
self.assertEqual(e1.lineno, e2.lineno)
|
|
1630
|
+
self.assertEqual(repr(e1), repr(e2))
|
|
1631
|
+
|
|
1632
|
+
def test_duplicateoptionerror(self):
|
|
1633
|
+
import pickle
|
|
1634
|
+
e1 = configparser.DuplicateOptionError('section', 'option', 'source',
|
|
1635
|
+
123)
|
|
1636
|
+
pickled = pickle.dumps(e1)
|
|
1637
|
+
e2 = pickle.loads(pickled)
|
|
1638
|
+
self.assertEqual(e1.message, e2.message)
|
|
1639
|
+
self.assertEqual(e1.args, e2.args)
|
|
1640
|
+
self.assertEqual(e1.section, e2.section)
|
|
1641
|
+
self.assertEqual(e1.option, e2.option)
|
|
1642
|
+
self.assertEqual(e1.source, e2.source)
|
|
1643
|
+
self.assertEqual(e1.lineno, e2.lineno)
|
|
1644
|
+
self.assertEqual(repr(e1), repr(e2))
|
|
1645
|
+
|
|
1646
|
+
def test_interpolationerror(self):
|
|
1647
|
+
import pickle
|
|
1648
|
+
e1 = configparser.InterpolationError('option', 'section', 'msg')
|
|
1649
|
+
pickled = pickle.dumps(e1)
|
|
1650
|
+
e2 = pickle.loads(pickled)
|
|
1651
|
+
self.assertEqual(e1.message, e2.message)
|
|
1652
|
+
self.assertEqual(e1.args, e2.args)
|
|
1653
|
+
self.assertEqual(e1.section, e2.section)
|
|
1654
|
+
self.assertEqual(e1.option, e2.option)
|
|
1655
|
+
self.assertEqual(repr(e1), repr(e2))
|
|
1656
|
+
|
|
1657
|
+
def test_interpolationmissingoptionerror(self):
|
|
1658
|
+
import pickle
|
|
1659
|
+
e1 = configparser.InterpolationMissingOptionError('option', 'section',
|
|
1660
|
+
'rawval', 'reference')
|
|
1661
|
+
pickled = pickle.dumps(e1)
|
|
1662
|
+
e2 = pickle.loads(pickled)
|
|
1663
|
+
self.assertEqual(e1.message, e2.message)
|
|
1664
|
+
self.assertEqual(e1.args, e2.args)
|
|
1665
|
+
self.assertEqual(e1.section, e2.section)
|
|
1666
|
+
self.assertEqual(e1.option, e2.option)
|
|
1667
|
+
self.assertEqual(e1.reference, e2.reference)
|
|
1668
|
+
self.assertEqual(repr(e1), repr(e2))
|
|
1669
|
+
|
|
1670
|
+
def test_interpolationsyntaxerror(self):
|
|
1671
|
+
import pickle
|
|
1672
|
+
e1 = configparser.InterpolationSyntaxError('option', 'section', 'msg')
|
|
1673
|
+
pickled = pickle.dumps(e1)
|
|
1674
|
+
e2 = pickle.loads(pickled)
|
|
1675
|
+
self.assertEqual(e1.message, e2.message)
|
|
1676
|
+
self.assertEqual(e1.args, e2.args)
|
|
1677
|
+
self.assertEqual(e1.section, e2.section)
|
|
1678
|
+
self.assertEqual(e1.option, e2.option)
|
|
1679
|
+
self.assertEqual(repr(e1), repr(e2))
|
|
1680
|
+
|
|
1681
|
+
def test_interpolationdeptherror(self):
|
|
1682
|
+
import pickle
|
|
1683
|
+
e1 = configparser.InterpolationDepthError('option', 'section',
|
|
1684
|
+
'rawval')
|
|
1685
|
+
pickled = pickle.dumps(e1)
|
|
1686
|
+
e2 = pickle.loads(pickled)
|
|
1687
|
+
self.assertEqual(e1.message, e2.message)
|
|
1688
|
+
self.assertEqual(e1.args, e2.args)
|
|
1689
|
+
self.assertEqual(e1.section, e2.section)
|
|
1690
|
+
self.assertEqual(e1.option, e2.option)
|
|
1691
|
+
self.assertEqual(repr(e1), repr(e2))
|
|
1692
|
+
|
|
1693
|
+
def test_parsingerror(self):
|
|
1694
|
+
import pickle
|
|
1695
|
+
e1 = configparser.ParsingError('source')
|
|
1696
|
+
e1.append(1, 'line1')
|
|
1697
|
+
e1.append(2, 'line2')
|
|
1698
|
+
e1.append(3, 'line3')
|
|
1699
|
+
pickled = pickle.dumps(e1)
|
|
1700
|
+
e2 = pickle.loads(pickled)
|
|
1701
|
+
self.assertEqual(e1.message, e2.message)
|
|
1702
|
+
self.assertEqual(e1.args, e2.args)
|
|
1703
|
+
self.assertEqual(e1.source, e2.source)
|
|
1704
|
+
self.assertEqual(e1.errors, e2.errors)
|
|
1705
|
+
self.assertEqual(repr(e1), repr(e2))
|
|
1706
|
+
e1 = configparser.ParsingError(filename='filename')
|
|
1707
|
+
e1.append(1, 'line1')
|
|
1708
|
+
e1.append(2, 'line2')
|
|
1709
|
+
e1.append(3, 'line3')
|
|
1710
|
+
pickled = pickle.dumps(e1)
|
|
1711
|
+
e2 = pickle.loads(pickled)
|
|
1712
|
+
self.assertEqual(e1.message, e2.message)
|
|
1713
|
+
self.assertEqual(e1.args, e2.args)
|
|
1714
|
+
self.assertEqual(e1.source, e2.source)
|
|
1715
|
+
self.assertEqual(e1.errors, e2.errors)
|
|
1716
|
+
self.assertEqual(repr(e1), repr(e2))
|
|
1717
|
+
|
|
1718
|
+
def test_missingsectionheadererror(self):
|
|
1719
|
+
import pickle
|
|
1720
|
+
e1 = configparser.MissingSectionHeaderError('filename', 123, 'line')
|
|
1721
|
+
pickled = pickle.dumps(e1)
|
|
1722
|
+
e2 = pickle.loads(pickled)
|
|
1723
|
+
self.assertEqual(e1.message, e2.message)
|
|
1724
|
+
self.assertEqual(e1.args, e2.args)
|
|
1725
|
+
self.assertEqual(e1.line, e2.line)
|
|
1726
|
+
self.assertEqual(e1.source, e2.source)
|
|
1727
|
+
self.assertEqual(e1.lineno, e2.lineno)
|
|
1728
|
+
self.assertEqual(repr(e1), repr(e2))
|
|
1729
|
+
|
|
1730
|
+
|
|
1731
|
+
class InlineCommentStrippingTestCase(unittest.TestCase):
|
|
1732
|
+
"""Tests for issue #14590: ConfigParser doesn't strip inline comment when
|
|
1733
|
+
delimiter occurs earlier without preceding space.."""
|
|
1734
|
+
|
|
1735
|
+
def test_stripping(self):
|
|
1736
|
+
cfg = configparser.ConfigParser(inline_comment_prefixes=(';', '#',
|
|
1737
|
+
'//'))
|
|
1738
|
+
cfg.read_string("""
|
|
1739
|
+
[section]
|
|
1740
|
+
k1 = v1;still v1
|
|
1741
|
+
k2 = v2 ;a comment
|
|
1742
|
+
k3 = v3 ; also a comment
|
|
1743
|
+
k4 = v4;still v4 ;a comment
|
|
1744
|
+
k5 = v5;still v5 ; also a comment
|
|
1745
|
+
k6 = v6;still v6; and still v6 ;a comment
|
|
1746
|
+
k7 = v7;still v7; and still v7 ; also a comment
|
|
1747
|
+
|
|
1748
|
+
[multiprefix]
|
|
1749
|
+
k1 = v1;still v1 #a comment ; yeah, pretty much
|
|
1750
|
+
k2 = v2 // this already is a comment ; continued
|
|
1751
|
+
k3 = v3;#//still v3# and still v3 ; a comment
|
|
1752
|
+
""")
|
|
1753
|
+
s = cfg['section']
|
|
1754
|
+
self.assertEqual(s['k1'], 'v1;still v1')
|
|
1755
|
+
self.assertEqual(s['k2'], 'v2')
|
|
1756
|
+
self.assertEqual(s['k3'], 'v3')
|
|
1757
|
+
self.assertEqual(s['k4'], 'v4;still v4')
|
|
1758
|
+
self.assertEqual(s['k5'], 'v5;still v5')
|
|
1759
|
+
self.assertEqual(s['k6'], 'v6;still v6; and still v6')
|
|
1760
|
+
self.assertEqual(s['k7'], 'v7;still v7; and still v7')
|
|
1761
|
+
s = cfg['multiprefix']
|
|
1762
|
+
self.assertEqual(s['k1'], 'v1;still v1')
|
|
1763
|
+
self.assertEqual(s['k2'], 'v2')
|
|
1764
|
+
self.assertEqual(s['k3'], 'v3;#//still v3# and still v3')
|
|
1765
|
+
|
|
1766
|
+
|
|
1767
|
+
if __name__ == '__main__':
|
|
1768
|
+
unittest.main()
|