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,1983 @@
|
|
|
1
|
+
"""Simple implementation of the Level 1 DOM.
|
|
2
|
+
|
|
3
|
+
Namespaces and other minor Level 2 features are also supported.
|
|
4
|
+
|
|
5
|
+
parse("foo.xml")
|
|
6
|
+
|
|
7
|
+
parseString("<foo><bar/></foo>")
|
|
8
|
+
|
|
9
|
+
Todo:
|
|
10
|
+
=====
|
|
11
|
+
* convenience methods for getting elements and text.
|
|
12
|
+
* more testing
|
|
13
|
+
* bring some of the writer and linearizer code into conformance with this
|
|
14
|
+
interface
|
|
15
|
+
* SAX 2 namespaces
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
import io
|
|
19
|
+
import xml.dom
|
|
20
|
+
|
|
21
|
+
from xml.dom import EMPTY_NAMESPACE, EMPTY_PREFIX, XMLNS_NAMESPACE, domreg
|
|
22
|
+
from xml.dom.minicompat import *
|
|
23
|
+
from xml.dom.xmlbuilder import DOMImplementationLS, DocumentLS
|
|
24
|
+
|
|
25
|
+
# This is used by the ID-cache invalidation checks; the list isn't
|
|
26
|
+
# actually complete, since the nodes being checked will never be the
|
|
27
|
+
# DOCUMENT_NODE or DOCUMENT_FRAGMENT_NODE. (The node being checked is
|
|
28
|
+
# the node being added or removed, not the node being modified.)
|
|
29
|
+
#
|
|
30
|
+
_nodeTypes_with_children = (xml.dom.Node.ELEMENT_NODE,
|
|
31
|
+
xml.dom.Node.ENTITY_REFERENCE_NODE)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class Node(xml.dom.Node):
|
|
35
|
+
namespaceURI = None # this is non-null only for elements and attributes
|
|
36
|
+
parentNode = None
|
|
37
|
+
ownerDocument = None
|
|
38
|
+
nextSibling = None
|
|
39
|
+
previousSibling = None
|
|
40
|
+
|
|
41
|
+
prefix = EMPTY_PREFIX # non-null only for NS elements and attributes
|
|
42
|
+
|
|
43
|
+
def __bool__(self):
|
|
44
|
+
return True
|
|
45
|
+
|
|
46
|
+
def toxml(self, encoding=None):
|
|
47
|
+
return self.toprettyxml("", "", encoding)
|
|
48
|
+
|
|
49
|
+
def toprettyxml(self, indent="\t", newl="\n", encoding=None):
|
|
50
|
+
if encoding is None:
|
|
51
|
+
writer = io.StringIO()
|
|
52
|
+
else:
|
|
53
|
+
writer = io.TextIOWrapper(io.BytesIO(),
|
|
54
|
+
encoding=encoding,
|
|
55
|
+
errors="xmlcharrefreplace",
|
|
56
|
+
newline='\n')
|
|
57
|
+
if self.nodeType == Node.DOCUMENT_NODE:
|
|
58
|
+
# Can pass encoding only to document, to put it into XML header
|
|
59
|
+
self.writexml(writer, "", indent, newl, encoding)
|
|
60
|
+
else:
|
|
61
|
+
self.writexml(writer, "", indent, newl)
|
|
62
|
+
if encoding is None:
|
|
63
|
+
return writer.getvalue()
|
|
64
|
+
else:
|
|
65
|
+
return writer.detach().getvalue()
|
|
66
|
+
|
|
67
|
+
def hasChildNodes(self):
|
|
68
|
+
return bool(self.childNodes)
|
|
69
|
+
|
|
70
|
+
def _get_childNodes(self):
|
|
71
|
+
return self.childNodes
|
|
72
|
+
|
|
73
|
+
def _get_firstChild(self):
|
|
74
|
+
if self.childNodes:
|
|
75
|
+
return self.childNodes[0]
|
|
76
|
+
|
|
77
|
+
def _get_lastChild(self):
|
|
78
|
+
if self.childNodes:
|
|
79
|
+
return self.childNodes[-1]
|
|
80
|
+
|
|
81
|
+
def insertBefore(self, newChild, refChild):
|
|
82
|
+
if newChild.nodeType == self.DOCUMENT_FRAGMENT_NODE:
|
|
83
|
+
for c in tuple(newChild.childNodes):
|
|
84
|
+
self.insertBefore(c, refChild)
|
|
85
|
+
### The DOM does not clearly specify what to return in this case
|
|
86
|
+
return newChild
|
|
87
|
+
if newChild.nodeType not in self._child_node_types:
|
|
88
|
+
raise xml.dom.HierarchyRequestErr(
|
|
89
|
+
"%s cannot be child of %s" % (repr(newChild), repr(self)))
|
|
90
|
+
if newChild.parentNode is not None:
|
|
91
|
+
newChild.parentNode.removeChild(newChild)
|
|
92
|
+
if refChild is None:
|
|
93
|
+
self.appendChild(newChild)
|
|
94
|
+
else:
|
|
95
|
+
try:
|
|
96
|
+
index = self.childNodes.index(refChild)
|
|
97
|
+
except ValueError:
|
|
98
|
+
raise xml.dom.NotFoundErr()
|
|
99
|
+
if newChild.nodeType in _nodeTypes_with_children:
|
|
100
|
+
_clear_id_cache(self)
|
|
101
|
+
self.childNodes.insert(index, newChild)
|
|
102
|
+
newChild.nextSibling = refChild
|
|
103
|
+
refChild.previousSibling = newChild
|
|
104
|
+
if index:
|
|
105
|
+
node = self.childNodes[index-1]
|
|
106
|
+
node.nextSibling = newChild
|
|
107
|
+
newChild.previousSibling = node
|
|
108
|
+
else:
|
|
109
|
+
newChild.previousSibling = None
|
|
110
|
+
newChild.parentNode = self
|
|
111
|
+
return newChild
|
|
112
|
+
|
|
113
|
+
def appendChild(self, node):
|
|
114
|
+
if node.nodeType == self.DOCUMENT_FRAGMENT_NODE:
|
|
115
|
+
for c in tuple(node.childNodes):
|
|
116
|
+
self.appendChild(c)
|
|
117
|
+
### The DOM does not clearly specify what to return in this case
|
|
118
|
+
return node
|
|
119
|
+
if node.nodeType not in self._child_node_types:
|
|
120
|
+
raise xml.dom.HierarchyRequestErr(
|
|
121
|
+
"%s cannot be child of %s" % (repr(node), repr(self)))
|
|
122
|
+
elif node.nodeType in _nodeTypes_with_children:
|
|
123
|
+
_clear_id_cache(self)
|
|
124
|
+
if node.parentNode is not None:
|
|
125
|
+
node.parentNode.removeChild(node)
|
|
126
|
+
_append_child(self, node)
|
|
127
|
+
node.nextSibling = None
|
|
128
|
+
return node
|
|
129
|
+
|
|
130
|
+
def replaceChild(self, newChild, oldChild):
|
|
131
|
+
if newChild.nodeType == self.DOCUMENT_FRAGMENT_NODE:
|
|
132
|
+
refChild = oldChild.nextSibling
|
|
133
|
+
self.removeChild(oldChild)
|
|
134
|
+
return self.insertBefore(newChild, refChild)
|
|
135
|
+
if newChild.nodeType not in self._child_node_types:
|
|
136
|
+
raise xml.dom.HierarchyRequestErr(
|
|
137
|
+
"%s cannot be child of %s" % (repr(newChild), repr(self)))
|
|
138
|
+
if newChild is oldChild:
|
|
139
|
+
return
|
|
140
|
+
if newChild.parentNode is not None:
|
|
141
|
+
newChild.parentNode.removeChild(newChild)
|
|
142
|
+
try:
|
|
143
|
+
index = self.childNodes.index(oldChild)
|
|
144
|
+
except ValueError:
|
|
145
|
+
raise xml.dom.NotFoundErr()
|
|
146
|
+
self.childNodes[index] = newChild
|
|
147
|
+
newChild.parentNode = self
|
|
148
|
+
oldChild.parentNode = None
|
|
149
|
+
if (newChild.nodeType in _nodeTypes_with_children
|
|
150
|
+
or oldChild.nodeType in _nodeTypes_with_children):
|
|
151
|
+
_clear_id_cache(self)
|
|
152
|
+
newChild.nextSibling = oldChild.nextSibling
|
|
153
|
+
newChild.previousSibling = oldChild.previousSibling
|
|
154
|
+
oldChild.nextSibling = None
|
|
155
|
+
oldChild.previousSibling = None
|
|
156
|
+
if newChild.previousSibling:
|
|
157
|
+
newChild.previousSibling.nextSibling = newChild
|
|
158
|
+
if newChild.nextSibling:
|
|
159
|
+
newChild.nextSibling.previousSibling = newChild
|
|
160
|
+
return oldChild
|
|
161
|
+
|
|
162
|
+
def removeChild(self, oldChild):
|
|
163
|
+
try:
|
|
164
|
+
self.childNodes.remove(oldChild)
|
|
165
|
+
except ValueError:
|
|
166
|
+
raise xml.dom.NotFoundErr()
|
|
167
|
+
if oldChild.nextSibling is not None:
|
|
168
|
+
oldChild.nextSibling.previousSibling = oldChild.previousSibling
|
|
169
|
+
if oldChild.previousSibling is not None:
|
|
170
|
+
oldChild.previousSibling.nextSibling = oldChild.nextSibling
|
|
171
|
+
oldChild.nextSibling = oldChild.previousSibling = None
|
|
172
|
+
if oldChild.nodeType in _nodeTypes_with_children:
|
|
173
|
+
_clear_id_cache(self)
|
|
174
|
+
|
|
175
|
+
oldChild.parentNode = None
|
|
176
|
+
return oldChild
|
|
177
|
+
|
|
178
|
+
def normalize(self):
|
|
179
|
+
L = []
|
|
180
|
+
for child in self.childNodes:
|
|
181
|
+
if child.nodeType == Node.TEXT_NODE:
|
|
182
|
+
if not child.data:
|
|
183
|
+
# empty text node; discard
|
|
184
|
+
if L:
|
|
185
|
+
L[-1].nextSibling = child.nextSibling
|
|
186
|
+
if child.nextSibling:
|
|
187
|
+
child.nextSibling.previousSibling = child.previousSibling
|
|
188
|
+
child.unlink()
|
|
189
|
+
elif L and L[-1].nodeType == child.nodeType:
|
|
190
|
+
# collapse text node
|
|
191
|
+
node = L[-1]
|
|
192
|
+
node.data = node.data + child.data
|
|
193
|
+
node.nextSibling = child.nextSibling
|
|
194
|
+
if child.nextSibling:
|
|
195
|
+
child.nextSibling.previousSibling = node
|
|
196
|
+
child.unlink()
|
|
197
|
+
else:
|
|
198
|
+
L.append(child)
|
|
199
|
+
else:
|
|
200
|
+
L.append(child)
|
|
201
|
+
if child.nodeType == Node.ELEMENT_NODE:
|
|
202
|
+
child.normalize()
|
|
203
|
+
self.childNodes[:] = L
|
|
204
|
+
|
|
205
|
+
def cloneNode(self, deep):
|
|
206
|
+
return _clone_node(self, deep, self.ownerDocument or self)
|
|
207
|
+
|
|
208
|
+
def isSupported(self, feature, version):
|
|
209
|
+
return self.ownerDocument.implementation.hasFeature(feature, version)
|
|
210
|
+
|
|
211
|
+
def _get_localName(self):
|
|
212
|
+
# Overridden in Element and Attr where localName can be Non-Null
|
|
213
|
+
return None
|
|
214
|
+
|
|
215
|
+
# Node interfaces from Level 3 (WD 9 April 2002)
|
|
216
|
+
|
|
217
|
+
def isSameNode(self, other):
|
|
218
|
+
return self is other
|
|
219
|
+
|
|
220
|
+
def getInterface(self, feature):
|
|
221
|
+
if self.isSupported(feature, None):
|
|
222
|
+
return self
|
|
223
|
+
else:
|
|
224
|
+
return None
|
|
225
|
+
|
|
226
|
+
# The "user data" functions use a dictionary that is only present
|
|
227
|
+
# if some user data has been set, so be careful not to assume it
|
|
228
|
+
# exists.
|
|
229
|
+
|
|
230
|
+
def getUserData(self, key):
|
|
231
|
+
try:
|
|
232
|
+
return self._user_data[key][0]
|
|
233
|
+
except (AttributeError, KeyError):
|
|
234
|
+
return None
|
|
235
|
+
|
|
236
|
+
def setUserData(self, key, data, handler):
|
|
237
|
+
old = None
|
|
238
|
+
try:
|
|
239
|
+
d = self._user_data
|
|
240
|
+
except AttributeError:
|
|
241
|
+
d = {}
|
|
242
|
+
self._user_data = d
|
|
243
|
+
if key in d:
|
|
244
|
+
old = d[key][0]
|
|
245
|
+
if data is None:
|
|
246
|
+
# ignore handlers passed for None
|
|
247
|
+
handler = None
|
|
248
|
+
if old is not None:
|
|
249
|
+
del d[key]
|
|
250
|
+
else:
|
|
251
|
+
d[key] = (data, handler)
|
|
252
|
+
return old
|
|
253
|
+
|
|
254
|
+
def _call_user_data_handler(self, operation, src, dst):
|
|
255
|
+
if hasattr(self, "_user_data"):
|
|
256
|
+
for key, (data, handler) in list(self._user_data.items()):
|
|
257
|
+
if handler is not None:
|
|
258
|
+
handler.handle(operation, key, data, src, dst)
|
|
259
|
+
|
|
260
|
+
# minidom-specific API:
|
|
261
|
+
|
|
262
|
+
def unlink(self):
|
|
263
|
+
self.parentNode = self.ownerDocument = None
|
|
264
|
+
if self.childNodes:
|
|
265
|
+
for child in self.childNodes:
|
|
266
|
+
child.unlink()
|
|
267
|
+
self.childNodes = NodeList()
|
|
268
|
+
self.previousSibling = None
|
|
269
|
+
self.nextSibling = None
|
|
270
|
+
|
|
271
|
+
# A Node is its own context manager, to ensure that an unlink() call occurs.
|
|
272
|
+
# This is similar to how a file object works.
|
|
273
|
+
def __enter__(self):
|
|
274
|
+
return self
|
|
275
|
+
|
|
276
|
+
def __exit__(self, et, ev, tb):
|
|
277
|
+
self.unlink()
|
|
278
|
+
|
|
279
|
+
defproperty(Node, "firstChild", doc="First child node, or None.")
|
|
280
|
+
defproperty(Node, "lastChild", doc="Last child node, or None.")
|
|
281
|
+
defproperty(Node, "localName", doc="Namespace-local name of this node.")
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
def _append_child(self, node):
|
|
285
|
+
# fast path with less checks; usable by DOM builders if careful
|
|
286
|
+
childNodes = self.childNodes
|
|
287
|
+
if childNodes:
|
|
288
|
+
last = childNodes[-1]
|
|
289
|
+
node.previousSibling = last
|
|
290
|
+
last.nextSibling = node
|
|
291
|
+
childNodes.append(node)
|
|
292
|
+
node.parentNode = self
|
|
293
|
+
|
|
294
|
+
def _in_document(node):
|
|
295
|
+
# return True iff node is part of a document tree
|
|
296
|
+
while node is not None:
|
|
297
|
+
if node.nodeType == Node.DOCUMENT_NODE:
|
|
298
|
+
return True
|
|
299
|
+
node = node.parentNode
|
|
300
|
+
return False
|
|
301
|
+
|
|
302
|
+
def _write_data(writer, data):
|
|
303
|
+
"Writes datachars to writer."
|
|
304
|
+
if data:
|
|
305
|
+
data = data.replace("&", "&").replace("<", "<"). \
|
|
306
|
+
replace("\"", """).replace(">", ">")
|
|
307
|
+
writer.write(data)
|
|
308
|
+
|
|
309
|
+
def _get_elements_by_tagName_helper(parent, name, rc):
|
|
310
|
+
for node in parent.childNodes:
|
|
311
|
+
if node.nodeType == Node.ELEMENT_NODE and \
|
|
312
|
+
(name == "*" or node.tagName == name):
|
|
313
|
+
rc.append(node)
|
|
314
|
+
_get_elements_by_tagName_helper(node, name, rc)
|
|
315
|
+
return rc
|
|
316
|
+
|
|
317
|
+
def _get_elements_by_tagName_ns_helper(parent, nsURI, localName, rc):
|
|
318
|
+
for node in parent.childNodes:
|
|
319
|
+
if node.nodeType == Node.ELEMENT_NODE:
|
|
320
|
+
if ((localName == "*" or node.localName == localName) and
|
|
321
|
+
(nsURI == "*" or node.namespaceURI == nsURI)):
|
|
322
|
+
rc.append(node)
|
|
323
|
+
_get_elements_by_tagName_ns_helper(node, nsURI, localName, rc)
|
|
324
|
+
return rc
|
|
325
|
+
|
|
326
|
+
class DocumentFragment(Node):
|
|
327
|
+
nodeType = Node.DOCUMENT_FRAGMENT_NODE
|
|
328
|
+
nodeName = "#document-fragment"
|
|
329
|
+
nodeValue = None
|
|
330
|
+
attributes = None
|
|
331
|
+
parentNode = None
|
|
332
|
+
_child_node_types = (Node.ELEMENT_NODE,
|
|
333
|
+
Node.TEXT_NODE,
|
|
334
|
+
Node.CDATA_SECTION_NODE,
|
|
335
|
+
Node.ENTITY_REFERENCE_NODE,
|
|
336
|
+
Node.PROCESSING_INSTRUCTION_NODE,
|
|
337
|
+
Node.COMMENT_NODE,
|
|
338
|
+
Node.NOTATION_NODE)
|
|
339
|
+
|
|
340
|
+
def __init__(self):
|
|
341
|
+
self.childNodes = NodeList()
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
class Attr(Node):
|
|
345
|
+
__slots__=('_name', '_value', 'namespaceURI',
|
|
346
|
+
'_prefix', 'childNodes', '_localName', 'ownerDocument', 'ownerElement')
|
|
347
|
+
nodeType = Node.ATTRIBUTE_NODE
|
|
348
|
+
attributes = None
|
|
349
|
+
specified = False
|
|
350
|
+
_is_id = False
|
|
351
|
+
|
|
352
|
+
_child_node_types = (Node.TEXT_NODE, Node.ENTITY_REFERENCE_NODE)
|
|
353
|
+
|
|
354
|
+
def __init__(self, qName, namespaceURI=EMPTY_NAMESPACE, localName=None,
|
|
355
|
+
prefix=None):
|
|
356
|
+
self.ownerElement = None
|
|
357
|
+
self._name = qName
|
|
358
|
+
self.namespaceURI = namespaceURI
|
|
359
|
+
self._prefix = prefix
|
|
360
|
+
self.childNodes = NodeList()
|
|
361
|
+
|
|
362
|
+
# Add the single child node that represents the value of the attr
|
|
363
|
+
self.childNodes.append(Text())
|
|
364
|
+
|
|
365
|
+
# nodeValue and value are set elsewhere
|
|
366
|
+
|
|
367
|
+
def _get_localName(self):
|
|
368
|
+
try:
|
|
369
|
+
return self._localName
|
|
370
|
+
except AttributeError:
|
|
371
|
+
return self.nodeName.split(":", 1)[-1]
|
|
372
|
+
|
|
373
|
+
def _get_specified(self):
|
|
374
|
+
return self.specified
|
|
375
|
+
|
|
376
|
+
def _get_name(self):
|
|
377
|
+
return self._name
|
|
378
|
+
|
|
379
|
+
def _set_name(self, value):
|
|
380
|
+
self._name = value
|
|
381
|
+
if self.ownerElement is not None:
|
|
382
|
+
_clear_id_cache(self.ownerElement)
|
|
383
|
+
|
|
384
|
+
nodeName = name = property(_get_name, _set_name)
|
|
385
|
+
|
|
386
|
+
def _get_value(self):
|
|
387
|
+
return self._value
|
|
388
|
+
|
|
389
|
+
def _set_value(self, value):
|
|
390
|
+
self._value = value
|
|
391
|
+
self.childNodes[0].data = value
|
|
392
|
+
if self.ownerElement is not None:
|
|
393
|
+
_clear_id_cache(self.ownerElement)
|
|
394
|
+
self.childNodes[0].data = value
|
|
395
|
+
|
|
396
|
+
nodeValue = value = property(_get_value, _set_value)
|
|
397
|
+
|
|
398
|
+
def _get_prefix(self):
|
|
399
|
+
return self._prefix
|
|
400
|
+
|
|
401
|
+
def _set_prefix(self, prefix):
|
|
402
|
+
nsuri = self.namespaceURI
|
|
403
|
+
if prefix == "xmlns":
|
|
404
|
+
if nsuri and nsuri != XMLNS_NAMESPACE:
|
|
405
|
+
raise xml.dom.NamespaceErr(
|
|
406
|
+
"illegal use of 'xmlns' prefix for the wrong namespace")
|
|
407
|
+
self._prefix = prefix
|
|
408
|
+
if prefix is None:
|
|
409
|
+
newName = self.localName
|
|
410
|
+
else:
|
|
411
|
+
newName = "%s:%s" % (prefix, self.localName)
|
|
412
|
+
if self.ownerElement:
|
|
413
|
+
_clear_id_cache(self.ownerElement)
|
|
414
|
+
self.name = newName
|
|
415
|
+
|
|
416
|
+
prefix = property(_get_prefix, _set_prefix)
|
|
417
|
+
|
|
418
|
+
def unlink(self):
|
|
419
|
+
# This implementation does not call the base implementation
|
|
420
|
+
# since most of that is not needed, and the expense of the
|
|
421
|
+
# method call is not warranted. We duplicate the removal of
|
|
422
|
+
# children, but that's all we needed from the base class.
|
|
423
|
+
elem = self.ownerElement
|
|
424
|
+
if elem is not None:
|
|
425
|
+
del elem._attrs[self.nodeName]
|
|
426
|
+
del elem._attrsNS[(self.namespaceURI, self.localName)]
|
|
427
|
+
if self._is_id:
|
|
428
|
+
self._is_id = False
|
|
429
|
+
elem._magic_id_nodes -= 1
|
|
430
|
+
self.ownerDocument._magic_id_count -= 1
|
|
431
|
+
for child in self.childNodes:
|
|
432
|
+
child.unlink()
|
|
433
|
+
del self.childNodes[:]
|
|
434
|
+
|
|
435
|
+
def _get_isId(self):
|
|
436
|
+
if self._is_id:
|
|
437
|
+
return True
|
|
438
|
+
doc = self.ownerDocument
|
|
439
|
+
elem = self.ownerElement
|
|
440
|
+
if doc is None or elem is None:
|
|
441
|
+
return False
|
|
442
|
+
|
|
443
|
+
info = doc._get_elem_info(elem)
|
|
444
|
+
if info is None:
|
|
445
|
+
return False
|
|
446
|
+
if self.namespaceURI:
|
|
447
|
+
return info.isIdNS(self.namespaceURI, self.localName)
|
|
448
|
+
else:
|
|
449
|
+
return info.isId(self.nodeName)
|
|
450
|
+
|
|
451
|
+
def _get_schemaType(self):
|
|
452
|
+
doc = self.ownerDocument
|
|
453
|
+
elem = self.ownerElement
|
|
454
|
+
if doc is None or elem is None:
|
|
455
|
+
return _no_type
|
|
456
|
+
|
|
457
|
+
info = doc._get_elem_info(elem)
|
|
458
|
+
if info is None:
|
|
459
|
+
return _no_type
|
|
460
|
+
if self.namespaceURI:
|
|
461
|
+
return info.getAttributeTypeNS(self.namespaceURI, self.localName)
|
|
462
|
+
else:
|
|
463
|
+
return info.getAttributeType(self.nodeName)
|
|
464
|
+
|
|
465
|
+
defproperty(Attr, "isId", doc="True if this attribute is an ID.")
|
|
466
|
+
defproperty(Attr, "localName", doc="Namespace-local name of this attribute.")
|
|
467
|
+
defproperty(Attr, "schemaType", doc="Schema type for this attribute.")
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
class NamedNodeMap(object):
|
|
471
|
+
"""The attribute list is a transient interface to the underlying
|
|
472
|
+
dictionaries. Mutations here will change the underlying element's
|
|
473
|
+
dictionary.
|
|
474
|
+
|
|
475
|
+
Ordering is imposed artificially and does not reflect the order of
|
|
476
|
+
attributes as found in an input document.
|
|
477
|
+
"""
|
|
478
|
+
|
|
479
|
+
__slots__ = ('_attrs', '_attrsNS', '_ownerElement')
|
|
480
|
+
|
|
481
|
+
def __init__(self, attrs, attrsNS, ownerElement):
|
|
482
|
+
self._attrs = attrs
|
|
483
|
+
self._attrsNS = attrsNS
|
|
484
|
+
self._ownerElement = ownerElement
|
|
485
|
+
|
|
486
|
+
def _get_length(self):
|
|
487
|
+
return len(self._attrs)
|
|
488
|
+
|
|
489
|
+
def item(self, index):
|
|
490
|
+
try:
|
|
491
|
+
return self[list(self._attrs.keys())[index]]
|
|
492
|
+
except IndexError:
|
|
493
|
+
return None
|
|
494
|
+
|
|
495
|
+
def items(self):
|
|
496
|
+
L = []
|
|
497
|
+
for node in self._attrs.values():
|
|
498
|
+
L.append((node.nodeName, node.value))
|
|
499
|
+
return L
|
|
500
|
+
|
|
501
|
+
def itemsNS(self):
|
|
502
|
+
L = []
|
|
503
|
+
for node in self._attrs.values():
|
|
504
|
+
L.append(((node.namespaceURI, node.localName), node.value))
|
|
505
|
+
return L
|
|
506
|
+
|
|
507
|
+
def __contains__(self, key):
|
|
508
|
+
if isinstance(key, str):
|
|
509
|
+
return key in self._attrs
|
|
510
|
+
else:
|
|
511
|
+
return key in self._attrsNS
|
|
512
|
+
|
|
513
|
+
def keys(self):
|
|
514
|
+
return self._attrs.keys()
|
|
515
|
+
|
|
516
|
+
def keysNS(self):
|
|
517
|
+
return self._attrsNS.keys()
|
|
518
|
+
|
|
519
|
+
def values(self):
|
|
520
|
+
return self._attrs.values()
|
|
521
|
+
|
|
522
|
+
def get(self, name, value=None):
|
|
523
|
+
return self._attrs.get(name, value)
|
|
524
|
+
|
|
525
|
+
__len__ = _get_length
|
|
526
|
+
|
|
527
|
+
def _cmp(self, other):
|
|
528
|
+
if self._attrs is getattr(other, "_attrs", None):
|
|
529
|
+
return 0
|
|
530
|
+
else:
|
|
531
|
+
return (id(self) > id(other)) - (id(self) < id(other))
|
|
532
|
+
|
|
533
|
+
def __eq__(self, other):
|
|
534
|
+
return self._cmp(other) == 0
|
|
535
|
+
|
|
536
|
+
def __ge__(self, other):
|
|
537
|
+
return self._cmp(other) >= 0
|
|
538
|
+
|
|
539
|
+
def __gt__(self, other):
|
|
540
|
+
return self._cmp(other) > 0
|
|
541
|
+
|
|
542
|
+
def __le__(self, other):
|
|
543
|
+
return self._cmp(other) <= 0
|
|
544
|
+
|
|
545
|
+
def __lt__(self, other):
|
|
546
|
+
return self._cmp(other) < 0
|
|
547
|
+
|
|
548
|
+
def __ne__(self, other):
|
|
549
|
+
return self._cmp(other) != 0
|
|
550
|
+
|
|
551
|
+
def __getitem__(self, attname_or_tuple):
|
|
552
|
+
if isinstance(attname_or_tuple, tuple):
|
|
553
|
+
return self._attrsNS[attname_or_tuple]
|
|
554
|
+
else:
|
|
555
|
+
return self._attrs[attname_or_tuple]
|
|
556
|
+
|
|
557
|
+
# same as set
|
|
558
|
+
def __setitem__(self, attname, value):
|
|
559
|
+
if isinstance(value, str):
|
|
560
|
+
try:
|
|
561
|
+
node = self._attrs[attname]
|
|
562
|
+
except KeyError:
|
|
563
|
+
node = Attr(attname)
|
|
564
|
+
node.ownerDocument = self._ownerElement.ownerDocument
|
|
565
|
+
self.setNamedItem(node)
|
|
566
|
+
node.value = value
|
|
567
|
+
else:
|
|
568
|
+
if not isinstance(value, Attr):
|
|
569
|
+
raise TypeError("value must be a string or Attr object")
|
|
570
|
+
node = value
|
|
571
|
+
self.setNamedItem(node)
|
|
572
|
+
|
|
573
|
+
def getNamedItem(self, name):
|
|
574
|
+
try:
|
|
575
|
+
return self._attrs[name]
|
|
576
|
+
except KeyError:
|
|
577
|
+
return None
|
|
578
|
+
|
|
579
|
+
def getNamedItemNS(self, namespaceURI, localName):
|
|
580
|
+
try:
|
|
581
|
+
return self._attrsNS[(namespaceURI, localName)]
|
|
582
|
+
except KeyError:
|
|
583
|
+
return None
|
|
584
|
+
|
|
585
|
+
def removeNamedItem(self, name):
|
|
586
|
+
n = self.getNamedItem(name)
|
|
587
|
+
if n is not None:
|
|
588
|
+
_clear_id_cache(self._ownerElement)
|
|
589
|
+
del self._attrs[n.nodeName]
|
|
590
|
+
del self._attrsNS[(n.namespaceURI, n.localName)]
|
|
591
|
+
if hasattr(n, 'ownerElement'):
|
|
592
|
+
n.ownerElement = None
|
|
593
|
+
return n
|
|
594
|
+
else:
|
|
595
|
+
raise xml.dom.NotFoundErr()
|
|
596
|
+
|
|
597
|
+
def removeNamedItemNS(self, namespaceURI, localName):
|
|
598
|
+
n = self.getNamedItemNS(namespaceURI, localName)
|
|
599
|
+
if n is not None:
|
|
600
|
+
_clear_id_cache(self._ownerElement)
|
|
601
|
+
del self._attrsNS[(n.namespaceURI, n.localName)]
|
|
602
|
+
del self._attrs[n.nodeName]
|
|
603
|
+
if hasattr(n, 'ownerElement'):
|
|
604
|
+
n.ownerElement = None
|
|
605
|
+
return n
|
|
606
|
+
else:
|
|
607
|
+
raise xml.dom.NotFoundErr()
|
|
608
|
+
|
|
609
|
+
def setNamedItem(self, node):
|
|
610
|
+
if not isinstance(node, Attr):
|
|
611
|
+
raise xml.dom.HierarchyRequestErr(
|
|
612
|
+
"%s cannot be child of %s" % (repr(node), repr(self)))
|
|
613
|
+
old = self._attrs.get(node.name)
|
|
614
|
+
if old:
|
|
615
|
+
old.unlink()
|
|
616
|
+
self._attrs[node.name] = node
|
|
617
|
+
self._attrsNS[(node.namespaceURI, node.localName)] = node
|
|
618
|
+
node.ownerElement = self._ownerElement
|
|
619
|
+
_clear_id_cache(node.ownerElement)
|
|
620
|
+
return old
|
|
621
|
+
|
|
622
|
+
def setNamedItemNS(self, node):
|
|
623
|
+
return self.setNamedItem(node)
|
|
624
|
+
|
|
625
|
+
def __delitem__(self, attname_or_tuple):
|
|
626
|
+
node = self[attname_or_tuple]
|
|
627
|
+
_clear_id_cache(node.ownerElement)
|
|
628
|
+
node.unlink()
|
|
629
|
+
|
|
630
|
+
def __getstate__(self):
|
|
631
|
+
return self._attrs, self._attrsNS, self._ownerElement
|
|
632
|
+
|
|
633
|
+
def __setstate__(self, state):
|
|
634
|
+
self._attrs, self._attrsNS, self._ownerElement = state
|
|
635
|
+
|
|
636
|
+
defproperty(NamedNodeMap, "length",
|
|
637
|
+
doc="Number of nodes in the NamedNodeMap.")
|
|
638
|
+
|
|
639
|
+
AttributeList = NamedNodeMap
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
class TypeInfo(object):
|
|
643
|
+
__slots__ = 'namespace', 'name'
|
|
644
|
+
|
|
645
|
+
def __init__(self, namespace, name):
|
|
646
|
+
self.namespace = namespace
|
|
647
|
+
self.name = name
|
|
648
|
+
|
|
649
|
+
def __repr__(self):
|
|
650
|
+
if self.namespace:
|
|
651
|
+
return "<TypeInfo %r (from %r)>" % (self.name, self.namespace)
|
|
652
|
+
else:
|
|
653
|
+
return "<TypeInfo %r>" % self.name
|
|
654
|
+
|
|
655
|
+
def _get_name(self):
|
|
656
|
+
return self.name
|
|
657
|
+
|
|
658
|
+
def _get_namespace(self):
|
|
659
|
+
return self.namespace
|
|
660
|
+
|
|
661
|
+
_no_type = TypeInfo(None, None)
|
|
662
|
+
|
|
663
|
+
class Element(Node):
|
|
664
|
+
__slots__=('ownerDocument', 'parentNode', 'tagName', 'nodeName', 'prefix',
|
|
665
|
+
'namespaceURI', '_localName', 'childNodes', '_attrs', '_attrsNS',
|
|
666
|
+
'nextSibling', 'previousSibling')
|
|
667
|
+
nodeType = Node.ELEMENT_NODE
|
|
668
|
+
nodeValue = None
|
|
669
|
+
schemaType = _no_type
|
|
670
|
+
|
|
671
|
+
_magic_id_nodes = 0
|
|
672
|
+
|
|
673
|
+
_child_node_types = (Node.ELEMENT_NODE,
|
|
674
|
+
Node.PROCESSING_INSTRUCTION_NODE,
|
|
675
|
+
Node.COMMENT_NODE,
|
|
676
|
+
Node.TEXT_NODE,
|
|
677
|
+
Node.CDATA_SECTION_NODE,
|
|
678
|
+
Node.ENTITY_REFERENCE_NODE)
|
|
679
|
+
|
|
680
|
+
def __init__(self, tagName, namespaceURI=EMPTY_NAMESPACE, prefix=None,
|
|
681
|
+
localName=None):
|
|
682
|
+
self.parentNode = None
|
|
683
|
+
self.tagName = self.nodeName = tagName
|
|
684
|
+
self.prefix = prefix
|
|
685
|
+
self.namespaceURI = namespaceURI
|
|
686
|
+
self.childNodes = NodeList()
|
|
687
|
+
self.nextSibling = self.previousSibling = None
|
|
688
|
+
|
|
689
|
+
# Attribute dictionaries are lazily created
|
|
690
|
+
# attributes are double-indexed:
|
|
691
|
+
# tagName -> Attribute
|
|
692
|
+
# URI,localName -> Attribute
|
|
693
|
+
# in the future: consider lazy generation
|
|
694
|
+
# of attribute objects this is too tricky
|
|
695
|
+
# for now because of headaches with
|
|
696
|
+
# namespaces.
|
|
697
|
+
self._attrs = None
|
|
698
|
+
self._attrsNS = None
|
|
699
|
+
|
|
700
|
+
def _ensure_attributes(self):
|
|
701
|
+
if self._attrs is None:
|
|
702
|
+
self._attrs = {}
|
|
703
|
+
self._attrsNS = {}
|
|
704
|
+
|
|
705
|
+
def _get_localName(self):
|
|
706
|
+
try:
|
|
707
|
+
return self._localName
|
|
708
|
+
except AttributeError:
|
|
709
|
+
return self.tagName.split(":", 1)[-1]
|
|
710
|
+
|
|
711
|
+
def _get_tagName(self):
|
|
712
|
+
return self.tagName
|
|
713
|
+
|
|
714
|
+
def unlink(self):
|
|
715
|
+
if self._attrs is not None:
|
|
716
|
+
for attr in list(self._attrs.values()):
|
|
717
|
+
attr.unlink()
|
|
718
|
+
self._attrs = None
|
|
719
|
+
self._attrsNS = None
|
|
720
|
+
Node.unlink(self)
|
|
721
|
+
|
|
722
|
+
def getAttribute(self, attname):
|
|
723
|
+
if self._attrs is None:
|
|
724
|
+
return ""
|
|
725
|
+
try:
|
|
726
|
+
return self._attrs[attname].value
|
|
727
|
+
except KeyError:
|
|
728
|
+
return ""
|
|
729
|
+
|
|
730
|
+
def getAttributeNS(self, namespaceURI, localName):
|
|
731
|
+
if self._attrsNS is None:
|
|
732
|
+
return ""
|
|
733
|
+
try:
|
|
734
|
+
return self._attrsNS[(namespaceURI, localName)].value
|
|
735
|
+
except KeyError:
|
|
736
|
+
return ""
|
|
737
|
+
|
|
738
|
+
def setAttribute(self, attname, value):
|
|
739
|
+
attr = self.getAttributeNode(attname)
|
|
740
|
+
if attr is None:
|
|
741
|
+
attr = Attr(attname)
|
|
742
|
+
attr.value = value # also sets nodeValue
|
|
743
|
+
attr.ownerDocument = self.ownerDocument
|
|
744
|
+
self.setAttributeNode(attr)
|
|
745
|
+
elif value != attr.value:
|
|
746
|
+
attr.value = value
|
|
747
|
+
if attr.isId:
|
|
748
|
+
_clear_id_cache(self)
|
|
749
|
+
|
|
750
|
+
def setAttributeNS(self, namespaceURI, qualifiedName, value):
|
|
751
|
+
prefix, localname = _nssplit(qualifiedName)
|
|
752
|
+
attr = self.getAttributeNodeNS(namespaceURI, localname)
|
|
753
|
+
if attr is None:
|
|
754
|
+
attr = Attr(qualifiedName, namespaceURI, localname, prefix)
|
|
755
|
+
attr.value = value
|
|
756
|
+
attr.ownerDocument = self.ownerDocument
|
|
757
|
+
self.setAttributeNode(attr)
|
|
758
|
+
else:
|
|
759
|
+
if value != attr.value:
|
|
760
|
+
attr.value = value
|
|
761
|
+
if attr.isId:
|
|
762
|
+
_clear_id_cache(self)
|
|
763
|
+
if attr.prefix != prefix:
|
|
764
|
+
attr.prefix = prefix
|
|
765
|
+
attr.nodeName = qualifiedName
|
|
766
|
+
|
|
767
|
+
def getAttributeNode(self, attrname):
|
|
768
|
+
if self._attrs is None:
|
|
769
|
+
return None
|
|
770
|
+
return self._attrs.get(attrname)
|
|
771
|
+
|
|
772
|
+
def getAttributeNodeNS(self, namespaceURI, localName):
|
|
773
|
+
if self._attrsNS is None:
|
|
774
|
+
return None
|
|
775
|
+
return self._attrsNS.get((namespaceURI, localName))
|
|
776
|
+
|
|
777
|
+
def setAttributeNode(self, attr):
|
|
778
|
+
if attr.ownerElement not in (None, self):
|
|
779
|
+
raise xml.dom.InuseAttributeErr("attribute node already owned")
|
|
780
|
+
self._ensure_attributes()
|
|
781
|
+
old1 = self._attrs.get(attr.name, None)
|
|
782
|
+
if old1 is not None:
|
|
783
|
+
self.removeAttributeNode(old1)
|
|
784
|
+
old2 = self._attrsNS.get((attr.namespaceURI, attr.localName), None)
|
|
785
|
+
if old2 is not None and old2 is not old1:
|
|
786
|
+
self.removeAttributeNode(old2)
|
|
787
|
+
_set_attribute_node(self, attr)
|
|
788
|
+
|
|
789
|
+
if old1 is not attr:
|
|
790
|
+
# It might have already been part of this node, in which case
|
|
791
|
+
# it doesn't represent a change, and should not be returned.
|
|
792
|
+
return old1
|
|
793
|
+
if old2 is not attr:
|
|
794
|
+
return old2
|
|
795
|
+
|
|
796
|
+
setAttributeNodeNS = setAttributeNode
|
|
797
|
+
|
|
798
|
+
def removeAttribute(self, name):
|
|
799
|
+
if self._attrsNS is None:
|
|
800
|
+
raise xml.dom.NotFoundErr()
|
|
801
|
+
try:
|
|
802
|
+
attr = self._attrs[name]
|
|
803
|
+
except KeyError:
|
|
804
|
+
raise xml.dom.NotFoundErr()
|
|
805
|
+
self.removeAttributeNode(attr)
|
|
806
|
+
|
|
807
|
+
def removeAttributeNS(self, namespaceURI, localName):
|
|
808
|
+
if self._attrsNS is None:
|
|
809
|
+
raise xml.dom.NotFoundErr()
|
|
810
|
+
try:
|
|
811
|
+
attr = self._attrsNS[(namespaceURI, localName)]
|
|
812
|
+
except KeyError:
|
|
813
|
+
raise xml.dom.NotFoundErr()
|
|
814
|
+
self.removeAttributeNode(attr)
|
|
815
|
+
|
|
816
|
+
def removeAttributeNode(self, node):
|
|
817
|
+
if node is None:
|
|
818
|
+
raise xml.dom.NotFoundErr()
|
|
819
|
+
try:
|
|
820
|
+
self._attrs[node.name]
|
|
821
|
+
except KeyError:
|
|
822
|
+
raise xml.dom.NotFoundErr()
|
|
823
|
+
_clear_id_cache(self)
|
|
824
|
+
node.unlink()
|
|
825
|
+
# Restore this since the node is still useful and otherwise
|
|
826
|
+
# unlinked
|
|
827
|
+
node.ownerDocument = self.ownerDocument
|
|
828
|
+
|
|
829
|
+
removeAttributeNodeNS = removeAttributeNode
|
|
830
|
+
|
|
831
|
+
def hasAttribute(self, name):
|
|
832
|
+
if self._attrs is None:
|
|
833
|
+
return False
|
|
834
|
+
return name in self._attrs
|
|
835
|
+
|
|
836
|
+
def hasAttributeNS(self, namespaceURI, localName):
|
|
837
|
+
if self._attrsNS is None:
|
|
838
|
+
return False
|
|
839
|
+
return (namespaceURI, localName) in self._attrsNS
|
|
840
|
+
|
|
841
|
+
def getElementsByTagName(self, name):
|
|
842
|
+
return _get_elements_by_tagName_helper(self, name, NodeList())
|
|
843
|
+
|
|
844
|
+
def getElementsByTagNameNS(self, namespaceURI, localName):
|
|
845
|
+
return _get_elements_by_tagName_ns_helper(
|
|
846
|
+
self, namespaceURI, localName, NodeList())
|
|
847
|
+
|
|
848
|
+
def __repr__(self):
|
|
849
|
+
return "<DOM Element: %s at %#x>" % (self.tagName, id(self))
|
|
850
|
+
|
|
851
|
+
def writexml(self, writer, indent="", addindent="", newl=""):
|
|
852
|
+
# indent = current indentation
|
|
853
|
+
# addindent = indentation to add to higher levels
|
|
854
|
+
# newl = newline string
|
|
855
|
+
writer.write(indent+"<" + self.tagName)
|
|
856
|
+
|
|
857
|
+
attrs = self._get_attributes()
|
|
858
|
+
a_names = sorted(attrs.keys())
|
|
859
|
+
|
|
860
|
+
for a_name in a_names:
|
|
861
|
+
writer.write(" %s=\"" % a_name)
|
|
862
|
+
_write_data(writer, attrs[a_name].value)
|
|
863
|
+
writer.write("\"")
|
|
864
|
+
if self.childNodes:
|
|
865
|
+
writer.write(">")
|
|
866
|
+
if (len(self.childNodes) == 1 and
|
|
867
|
+
self.childNodes[0].nodeType == Node.TEXT_NODE):
|
|
868
|
+
self.childNodes[0].writexml(writer, '', '', '')
|
|
869
|
+
else:
|
|
870
|
+
writer.write(newl)
|
|
871
|
+
for node in self.childNodes:
|
|
872
|
+
node.writexml(writer, indent+addindent, addindent, newl)
|
|
873
|
+
writer.write(indent)
|
|
874
|
+
writer.write("</%s>%s" % (self.tagName, newl))
|
|
875
|
+
else:
|
|
876
|
+
writer.write("/>%s"%(newl))
|
|
877
|
+
|
|
878
|
+
def _get_attributes(self):
|
|
879
|
+
self._ensure_attributes()
|
|
880
|
+
return NamedNodeMap(self._attrs, self._attrsNS, self)
|
|
881
|
+
|
|
882
|
+
def hasAttributes(self):
|
|
883
|
+
if self._attrs:
|
|
884
|
+
return True
|
|
885
|
+
else:
|
|
886
|
+
return False
|
|
887
|
+
|
|
888
|
+
# DOM Level 3 attributes, based on the 22 Oct 2002 draft
|
|
889
|
+
|
|
890
|
+
def setIdAttribute(self, name):
|
|
891
|
+
idAttr = self.getAttributeNode(name)
|
|
892
|
+
self.setIdAttributeNode(idAttr)
|
|
893
|
+
|
|
894
|
+
def setIdAttributeNS(self, namespaceURI, localName):
|
|
895
|
+
idAttr = self.getAttributeNodeNS(namespaceURI, localName)
|
|
896
|
+
self.setIdAttributeNode(idAttr)
|
|
897
|
+
|
|
898
|
+
def setIdAttributeNode(self, idAttr):
|
|
899
|
+
if idAttr is None or not self.isSameNode(idAttr.ownerElement):
|
|
900
|
+
raise xml.dom.NotFoundErr()
|
|
901
|
+
if _get_containing_entref(self) is not None:
|
|
902
|
+
raise xml.dom.NoModificationAllowedErr()
|
|
903
|
+
if not idAttr._is_id:
|
|
904
|
+
idAttr._is_id = True
|
|
905
|
+
self._magic_id_nodes += 1
|
|
906
|
+
self.ownerDocument._magic_id_count += 1
|
|
907
|
+
_clear_id_cache(self)
|
|
908
|
+
|
|
909
|
+
defproperty(Element, "attributes",
|
|
910
|
+
doc="NamedNodeMap of attributes on the element.")
|
|
911
|
+
defproperty(Element, "localName",
|
|
912
|
+
doc="Namespace-local name of this element.")
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
def _set_attribute_node(element, attr):
|
|
916
|
+
_clear_id_cache(element)
|
|
917
|
+
element._ensure_attributes()
|
|
918
|
+
element._attrs[attr.name] = attr
|
|
919
|
+
element._attrsNS[(attr.namespaceURI, attr.localName)] = attr
|
|
920
|
+
|
|
921
|
+
# This creates a circular reference, but Element.unlink()
|
|
922
|
+
# breaks the cycle since the references to the attribute
|
|
923
|
+
# dictionaries are tossed.
|
|
924
|
+
attr.ownerElement = element
|
|
925
|
+
|
|
926
|
+
class Childless:
|
|
927
|
+
"""Mixin that makes childless-ness easy to implement and avoids
|
|
928
|
+
the complexity of the Node methods that deal with children.
|
|
929
|
+
"""
|
|
930
|
+
__slots__ = ()
|
|
931
|
+
|
|
932
|
+
attributes = None
|
|
933
|
+
childNodes = EmptyNodeList()
|
|
934
|
+
firstChild = None
|
|
935
|
+
lastChild = None
|
|
936
|
+
|
|
937
|
+
def _get_firstChild(self):
|
|
938
|
+
return None
|
|
939
|
+
|
|
940
|
+
def _get_lastChild(self):
|
|
941
|
+
return None
|
|
942
|
+
|
|
943
|
+
def appendChild(self, node):
|
|
944
|
+
raise xml.dom.HierarchyRequestErr(
|
|
945
|
+
self.nodeName + " nodes cannot have children")
|
|
946
|
+
|
|
947
|
+
def hasChildNodes(self):
|
|
948
|
+
return False
|
|
949
|
+
|
|
950
|
+
def insertBefore(self, newChild, refChild):
|
|
951
|
+
raise xml.dom.HierarchyRequestErr(
|
|
952
|
+
self.nodeName + " nodes do not have children")
|
|
953
|
+
|
|
954
|
+
def removeChild(self, oldChild):
|
|
955
|
+
raise xml.dom.NotFoundErr(
|
|
956
|
+
self.nodeName + " nodes do not have children")
|
|
957
|
+
|
|
958
|
+
def normalize(self):
|
|
959
|
+
# For childless nodes, normalize() has nothing to do.
|
|
960
|
+
pass
|
|
961
|
+
|
|
962
|
+
def replaceChild(self, newChild, oldChild):
|
|
963
|
+
raise xml.dom.HierarchyRequestErr(
|
|
964
|
+
self.nodeName + " nodes do not have children")
|
|
965
|
+
|
|
966
|
+
|
|
967
|
+
class ProcessingInstruction(Childless, Node):
|
|
968
|
+
nodeType = Node.PROCESSING_INSTRUCTION_NODE
|
|
969
|
+
__slots__ = ('target', 'data')
|
|
970
|
+
|
|
971
|
+
def __init__(self, target, data):
|
|
972
|
+
self.target = target
|
|
973
|
+
self.data = data
|
|
974
|
+
|
|
975
|
+
# nodeValue is an alias for data
|
|
976
|
+
def _get_nodeValue(self):
|
|
977
|
+
return self.data
|
|
978
|
+
def _set_nodeValue(self, value):
|
|
979
|
+
self.data = value
|
|
980
|
+
nodeValue = property(_get_nodeValue, _set_nodeValue)
|
|
981
|
+
|
|
982
|
+
# nodeName is an alias for target
|
|
983
|
+
def _get_nodeName(self):
|
|
984
|
+
return self.target
|
|
985
|
+
def _set_nodeName(self, value):
|
|
986
|
+
self.target = value
|
|
987
|
+
nodeName = property(_get_nodeName, _set_nodeName)
|
|
988
|
+
|
|
989
|
+
def writexml(self, writer, indent="", addindent="", newl=""):
|
|
990
|
+
writer.write("%s<?%s %s?>%s" % (indent,self.target, self.data, newl))
|
|
991
|
+
|
|
992
|
+
|
|
993
|
+
class CharacterData(Childless, Node):
|
|
994
|
+
__slots__=('_data', 'ownerDocument','parentNode', 'previousSibling', 'nextSibling')
|
|
995
|
+
|
|
996
|
+
def __init__(self):
|
|
997
|
+
self.ownerDocument = self.parentNode = None
|
|
998
|
+
self.previousSibling = self.nextSibling = None
|
|
999
|
+
self._data = ''
|
|
1000
|
+
Node.__init__(self)
|
|
1001
|
+
|
|
1002
|
+
def _get_length(self):
|
|
1003
|
+
return len(self.data)
|
|
1004
|
+
__len__ = _get_length
|
|
1005
|
+
|
|
1006
|
+
def _get_data(self):
|
|
1007
|
+
return self._data
|
|
1008
|
+
def _set_data(self, data):
|
|
1009
|
+
self._data = data
|
|
1010
|
+
|
|
1011
|
+
data = nodeValue = property(_get_data, _set_data)
|
|
1012
|
+
|
|
1013
|
+
def __repr__(self):
|
|
1014
|
+
data = self.data
|
|
1015
|
+
if len(data) > 10:
|
|
1016
|
+
dotdotdot = "..."
|
|
1017
|
+
else:
|
|
1018
|
+
dotdotdot = ""
|
|
1019
|
+
return '<DOM %s node "%r%s">' % (
|
|
1020
|
+
self.__class__.__name__, data[0:10], dotdotdot)
|
|
1021
|
+
|
|
1022
|
+
def substringData(self, offset, count):
|
|
1023
|
+
if offset < 0:
|
|
1024
|
+
raise xml.dom.IndexSizeErr("offset cannot be negative")
|
|
1025
|
+
if offset >= len(self.data):
|
|
1026
|
+
raise xml.dom.IndexSizeErr("offset cannot be beyond end of data")
|
|
1027
|
+
if count < 0:
|
|
1028
|
+
raise xml.dom.IndexSizeErr("count cannot be negative")
|
|
1029
|
+
return self.data[offset:offset+count]
|
|
1030
|
+
|
|
1031
|
+
def appendData(self, arg):
|
|
1032
|
+
self.data = self.data + arg
|
|
1033
|
+
|
|
1034
|
+
def insertData(self, offset, arg):
|
|
1035
|
+
if offset < 0:
|
|
1036
|
+
raise xml.dom.IndexSizeErr("offset cannot be negative")
|
|
1037
|
+
if offset >= len(self.data):
|
|
1038
|
+
raise xml.dom.IndexSizeErr("offset cannot be beyond end of data")
|
|
1039
|
+
if arg:
|
|
1040
|
+
self.data = "%s%s%s" % (
|
|
1041
|
+
self.data[:offset], arg, self.data[offset:])
|
|
1042
|
+
|
|
1043
|
+
def deleteData(self, offset, count):
|
|
1044
|
+
if offset < 0:
|
|
1045
|
+
raise xml.dom.IndexSizeErr("offset cannot be negative")
|
|
1046
|
+
if offset >= len(self.data):
|
|
1047
|
+
raise xml.dom.IndexSizeErr("offset cannot be beyond end of data")
|
|
1048
|
+
if count < 0:
|
|
1049
|
+
raise xml.dom.IndexSizeErr("count cannot be negative")
|
|
1050
|
+
if count:
|
|
1051
|
+
self.data = self.data[:offset] + self.data[offset+count:]
|
|
1052
|
+
|
|
1053
|
+
def replaceData(self, offset, count, arg):
|
|
1054
|
+
if offset < 0:
|
|
1055
|
+
raise xml.dom.IndexSizeErr("offset cannot be negative")
|
|
1056
|
+
if offset >= len(self.data):
|
|
1057
|
+
raise xml.dom.IndexSizeErr("offset cannot be beyond end of data")
|
|
1058
|
+
if count < 0:
|
|
1059
|
+
raise xml.dom.IndexSizeErr("count cannot be negative")
|
|
1060
|
+
if count:
|
|
1061
|
+
self.data = "%s%s%s" % (
|
|
1062
|
+
self.data[:offset], arg, self.data[offset+count:])
|
|
1063
|
+
|
|
1064
|
+
defproperty(CharacterData, "length", doc="Length of the string data.")
|
|
1065
|
+
|
|
1066
|
+
|
|
1067
|
+
class Text(CharacterData):
|
|
1068
|
+
__slots__ = ()
|
|
1069
|
+
|
|
1070
|
+
nodeType = Node.TEXT_NODE
|
|
1071
|
+
nodeName = "#text"
|
|
1072
|
+
attributes = None
|
|
1073
|
+
|
|
1074
|
+
def splitText(self, offset):
|
|
1075
|
+
if offset < 0 or offset > len(self.data):
|
|
1076
|
+
raise xml.dom.IndexSizeErr("illegal offset value")
|
|
1077
|
+
newText = self.__class__()
|
|
1078
|
+
newText.data = self.data[offset:]
|
|
1079
|
+
newText.ownerDocument = self.ownerDocument
|
|
1080
|
+
next = self.nextSibling
|
|
1081
|
+
if self.parentNode and self in self.parentNode.childNodes:
|
|
1082
|
+
if next is None:
|
|
1083
|
+
self.parentNode.appendChild(newText)
|
|
1084
|
+
else:
|
|
1085
|
+
self.parentNode.insertBefore(newText, next)
|
|
1086
|
+
self.data = self.data[:offset]
|
|
1087
|
+
return newText
|
|
1088
|
+
|
|
1089
|
+
def writexml(self, writer, indent="", addindent="", newl=""):
|
|
1090
|
+
_write_data(writer, "%s%s%s" % (indent, self.data, newl))
|
|
1091
|
+
|
|
1092
|
+
# DOM Level 3 (WD 9 April 2002)
|
|
1093
|
+
|
|
1094
|
+
def _get_wholeText(self):
|
|
1095
|
+
L = [self.data]
|
|
1096
|
+
n = self.previousSibling
|
|
1097
|
+
while n is not None:
|
|
1098
|
+
if n.nodeType in (Node.TEXT_NODE, Node.CDATA_SECTION_NODE):
|
|
1099
|
+
L.insert(0, n.data)
|
|
1100
|
+
n = n.previousSibling
|
|
1101
|
+
else:
|
|
1102
|
+
break
|
|
1103
|
+
n = self.nextSibling
|
|
1104
|
+
while n is not None:
|
|
1105
|
+
if n.nodeType in (Node.TEXT_NODE, Node.CDATA_SECTION_NODE):
|
|
1106
|
+
L.append(n.data)
|
|
1107
|
+
n = n.nextSibling
|
|
1108
|
+
else:
|
|
1109
|
+
break
|
|
1110
|
+
return ''.join(L)
|
|
1111
|
+
|
|
1112
|
+
def replaceWholeText(self, content):
|
|
1113
|
+
# XXX This needs to be seriously changed if minidom ever
|
|
1114
|
+
# supports EntityReference nodes.
|
|
1115
|
+
parent = self.parentNode
|
|
1116
|
+
n = self.previousSibling
|
|
1117
|
+
while n is not None:
|
|
1118
|
+
if n.nodeType in (Node.TEXT_NODE, Node.CDATA_SECTION_NODE):
|
|
1119
|
+
next = n.previousSibling
|
|
1120
|
+
parent.removeChild(n)
|
|
1121
|
+
n = next
|
|
1122
|
+
else:
|
|
1123
|
+
break
|
|
1124
|
+
n = self.nextSibling
|
|
1125
|
+
if not content:
|
|
1126
|
+
parent.removeChild(self)
|
|
1127
|
+
while n is not None:
|
|
1128
|
+
if n.nodeType in (Node.TEXT_NODE, Node.CDATA_SECTION_NODE):
|
|
1129
|
+
next = n.nextSibling
|
|
1130
|
+
parent.removeChild(n)
|
|
1131
|
+
n = next
|
|
1132
|
+
else:
|
|
1133
|
+
break
|
|
1134
|
+
if content:
|
|
1135
|
+
self.data = content
|
|
1136
|
+
return self
|
|
1137
|
+
else:
|
|
1138
|
+
return None
|
|
1139
|
+
|
|
1140
|
+
def _get_isWhitespaceInElementContent(self):
|
|
1141
|
+
if self.data.strip():
|
|
1142
|
+
return False
|
|
1143
|
+
elem = _get_containing_element(self)
|
|
1144
|
+
if elem is None:
|
|
1145
|
+
return False
|
|
1146
|
+
info = self.ownerDocument._get_elem_info(elem)
|
|
1147
|
+
if info is None:
|
|
1148
|
+
return False
|
|
1149
|
+
else:
|
|
1150
|
+
return info.isElementContent()
|
|
1151
|
+
|
|
1152
|
+
defproperty(Text, "isWhitespaceInElementContent",
|
|
1153
|
+
doc="True iff this text node contains only whitespace"
|
|
1154
|
+
" and is in element content.")
|
|
1155
|
+
defproperty(Text, "wholeText",
|
|
1156
|
+
doc="The text of all logically-adjacent text nodes.")
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
def _get_containing_element(node):
|
|
1160
|
+
c = node.parentNode
|
|
1161
|
+
while c is not None:
|
|
1162
|
+
if c.nodeType == Node.ELEMENT_NODE:
|
|
1163
|
+
return c
|
|
1164
|
+
c = c.parentNode
|
|
1165
|
+
return None
|
|
1166
|
+
|
|
1167
|
+
def _get_containing_entref(node):
|
|
1168
|
+
c = node.parentNode
|
|
1169
|
+
while c is not None:
|
|
1170
|
+
if c.nodeType == Node.ENTITY_REFERENCE_NODE:
|
|
1171
|
+
return c
|
|
1172
|
+
c = c.parentNode
|
|
1173
|
+
return None
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
class Comment(CharacterData):
|
|
1177
|
+
nodeType = Node.COMMENT_NODE
|
|
1178
|
+
nodeName = "#comment"
|
|
1179
|
+
|
|
1180
|
+
def __init__(self, data):
|
|
1181
|
+
CharacterData.__init__(self)
|
|
1182
|
+
self._data = data
|
|
1183
|
+
|
|
1184
|
+
def writexml(self, writer, indent="", addindent="", newl=""):
|
|
1185
|
+
if "--" in self.data:
|
|
1186
|
+
raise ValueError("'--' is not allowed in a comment node")
|
|
1187
|
+
writer.write("%s<!--%s-->%s" % (indent, self.data, newl))
|
|
1188
|
+
|
|
1189
|
+
|
|
1190
|
+
class CDATASection(Text):
|
|
1191
|
+
__slots__ = ()
|
|
1192
|
+
|
|
1193
|
+
nodeType = Node.CDATA_SECTION_NODE
|
|
1194
|
+
nodeName = "#cdata-section"
|
|
1195
|
+
|
|
1196
|
+
def writexml(self, writer, indent="", addindent="", newl=""):
|
|
1197
|
+
if self.data.find("]]>") >= 0:
|
|
1198
|
+
raise ValueError("']]>' not allowed in a CDATA section")
|
|
1199
|
+
writer.write("<![CDATA[%s]]>" % self.data)
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
class ReadOnlySequentialNamedNodeMap(object):
|
|
1203
|
+
__slots__ = '_seq',
|
|
1204
|
+
|
|
1205
|
+
def __init__(self, seq=()):
|
|
1206
|
+
# seq should be a list or tuple
|
|
1207
|
+
self._seq = seq
|
|
1208
|
+
|
|
1209
|
+
def __len__(self):
|
|
1210
|
+
return len(self._seq)
|
|
1211
|
+
|
|
1212
|
+
def _get_length(self):
|
|
1213
|
+
return len(self._seq)
|
|
1214
|
+
|
|
1215
|
+
def getNamedItem(self, name):
|
|
1216
|
+
for n in self._seq:
|
|
1217
|
+
if n.nodeName == name:
|
|
1218
|
+
return n
|
|
1219
|
+
|
|
1220
|
+
def getNamedItemNS(self, namespaceURI, localName):
|
|
1221
|
+
for n in self._seq:
|
|
1222
|
+
if n.namespaceURI == namespaceURI and n.localName == localName:
|
|
1223
|
+
return n
|
|
1224
|
+
|
|
1225
|
+
def __getitem__(self, name_or_tuple):
|
|
1226
|
+
if isinstance(name_or_tuple, tuple):
|
|
1227
|
+
node = self.getNamedItemNS(*name_or_tuple)
|
|
1228
|
+
else:
|
|
1229
|
+
node = self.getNamedItem(name_or_tuple)
|
|
1230
|
+
if node is None:
|
|
1231
|
+
raise KeyError(name_or_tuple)
|
|
1232
|
+
return node
|
|
1233
|
+
|
|
1234
|
+
def item(self, index):
|
|
1235
|
+
if index < 0:
|
|
1236
|
+
return None
|
|
1237
|
+
try:
|
|
1238
|
+
return self._seq[index]
|
|
1239
|
+
except IndexError:
|
|
1240
|
+
return None
|
|
1241
|
+
|
|
1242
|
+
def removeNamedItem(self, name):
|
|
1243
|
+
raise xml.dom.NoModificationAllowedErr(
|
|
1244
|
+
"NamedNodeMap instance is read-only")
|
|
1245
|
+
|
|
1246
|
+
def removeNamedItemNS(self, namespaceURI, localName):
|
|
1247
|
+
raise xml.dom.NoModificationAllowedErr(
|
|
1248
|
+
"NamedNodeMap instance is read-only")
|
|
1249
|
+
|
|
1250
|
+
def setNamedItem(self, node):
|
|
1251
|
+
raise xml.dom.NoModificationAllowedErr(
|
|
1252
|
+
"NamedNodeMap instance is read-only")
|
|
1253
|
+
|
|
1254
|
+
def setNamedItemNS(self, node):
|
|
1255
|
+
raise xml.dom.NoModificationAllowedErr(
|
|
1256
|
+
"NamedNodeMap instance is read-only")
|
|
1257
|
+
|
|
1258
|
+
def __getstate__(self):
|
|
1259
|
+
return [self._seq]
|
|
1260
|
+
|
|
1261
|
+
def __setstate__(self, state):
|
|
1262
|
+
self._seq = state[0]
|
|
1263
|
+
|
|
1264
|
+
defproperty(ReadOnlySequentialNamedNodeMap, "length",
|
|
1265
|
+
doc="Number of entries in the NamedNodeMap.")
|
|
1266
|
+
|
|
1267
|
+
|
|
1268
|
+
class Identified:
|
|
1269
|
+
"""Mix-in class that supports the publicId and systemId attributes."""
|
|
1270
|
+
|
|
1271
|
+
__slots__ = 'publicId', 'systemId'
|
|
1272
|
+
|
|
1273
|
+
def _identified_mixin_init(self, publicId, systemId):
|
|
1274
|
+
self.publicId = publicId
|
|
1275
|
+
self.systemId = systemId
|
|
1276
|
+
|
|
1277
|
+
def _get_publicId(self):
|
|
1278
|
+
return self.publicId
|
|
1279
|
+
|
|
1280
|
+
def _get_systemId(self):
|
|
1281
|
+
return self.systemId
|
|
1282
|
+
|
|
1283
|
+
class DocumentType(Identified, Childless, Node):
|
|
1284
|
+
nodeType = Node.DOCUMENT_TYPE_NODE
|
|
1285
|
+
nodeValue = None
|
|
1286
|
+
name = None
|
|
1287
|
+
publicId = None
|
|
1288
|
+
systemId = None
|
|
1289
|
+
internalSubset = None
|
|
1290
|
+
|
|
1291
|
+
def __init__(self, qualifiedName):
|
|
1292
|
+
self.entities = ReadOnlySequentialNamedNodeMap()
|
|
1293
|
+
self.notations = ReadOnlySequentialNamedNodeMap()
|
|
1294
|
+
if qualifiedName:
|
|
1295
|
+
prefix, localname = _nssplit(qualifiedName)
|
|
1296
|
+
self.name = localname
|
|
1297
|
+
self.nodeName = self.name
|
|
1298
|
+
|
|
1299
|
+
def _get_internalSubset(self):
|
|
1300
|
+
return self.internalSubset
|
|
1301
|
+
|
|
1302
|
+
def cloneNode(self, deep):
|
|
1303
|
+
if self.ownerDocument is None:
|
|
1304
|
+
# it's ok
|
|
1305
|
+
clone = DocumentType(None)
|
|
1306
|
+
clone.name = self.name
|
|
1307
|
+
clone.nodeName = self.name
|
|
1308
|
+
operation = xml.dom.UserDataHandler.NODE_CLONED
|
|
1309
|
+
if deep:
|
|
1310
|
+
clone.entities._seq = []
|
|
1311
|
+
clone.notations._seq = []
|
|
1312
|
+
for n in self.notations._seq:
|
|
1313
|
+
notation = Notation(n.nodeName, n.publicId, n.systemId)
|
|
1314
|
+
clone.notations._seq.append(notation)
|
|
1315
|
+
n._call_user_data_handler(operation, n, notation)
|
|
1316
|
+
for e in self.entities._seq:
|
|
1317
|
+
entity = Entity(e.nodeName, e.publicId, e.systemId,
|
|
1318
|
+
e.notationName)
|
|
1319
|
+
entity.actualEncoding = e.actualEncoding
|
|
1320
|
+
entity.encoding = e.encoding
|
|
1321
|
+
entity.version = e.version
|
|
1322
|
+
clone.entities._seq.append(entity)
|
|
1323
|
+
e._call_user_data_handler(operation, n, entity)
|
|
1324
|
+
self._call_user_data_handler(operation, self, clone)
|
|
1325
|
+
return clone
|
|
1326
|
+
else:
|
|
1327
|
+
return None
|
|
1328
|
+
|
|
1329
|
+
def writexml(self, writer, indent="", addindent="", newl=""):
|
|
1330
|
+
writer.write("<!DOCTYPE ")
|
|
1331
|
+
writer.write(self.name)
|
|
1332
|
+
if self.publicId:
|
|
1333
|
+
writer.write("%s PUBLIC '%s'%s '%s'"
|
|
1334
|
+
% (newl, self.publicId, newl, self.systemId))
|
|
1335
|
+
elif self.systemId:
|
|
1336
|
+
writer.write("%s SYSTEM '%s'" % (newl, self.systemId))
|
|
1337
|
+
if self.internalSubset is not None:
|
|
1338
|
+
writer.write(" [")
|
|
1339
|
+
writer.write(self.internalSubset)
|
|
1340
|
+
writer.write("]")
|
|
1341
|
+
writer.write(">"+newl)
|
|
1342
|
+
|
|
1343
|
+
class Entity(Identified, Node):
|
|
1344
|
+
attributes = None
|
|
1345
|
+
nodeType = Node.ENTITY_NODE
|
|
1346
|
+
nodeValue = None
|
|
1347
|
+
|
|
1348
|
+
actualEncoding = None
|
|
1349
|
+
encoding = None
|
|
1350
|
+
version = None
|
|
1351
|
+
|
|
1352
|
+
def __init__(self, name, publicId, systemId, notation):
|
|
1353
|
+
self.nodeName = name
|
|
1354
|
+
self.notationName = notation
|
|
1355
|
+
self.childNodes = NodeList()
|
|
1356
|
+
self._identified_mixin_init(publicId, systemId)
|
|
1357
|
+
|
|
1358
|
+
def _get_actualEncoding(self):
|
|
1359
|
+
return self.actualEncoding
|
|
1360
|
+
|
|
1361
|
+
def _get_encoding(self):
|
|
1362
|
+
return self.encoding
|
|
1363
|
+
|
|
1364
|
+
def _get_version(self):
|
|
1365
|
+
return self.version
|
|
1366
|
+
|
|
1367
|
+
def appendChild(self, newChild):
|
|
1368
|
+
raise xml.dom.HierarchyRequestErr(
|
|
1369
|
+
"cannot append children to an entity node")
|
|
1370
|
+
|
|
1371
|
+
def insertBefore(self, newChild, refChild):
|
|
1372
|
+
raise xml.dom.HierarchyRequestErr(
|
|
1373
|
+
"cannot insert children below an entity node")
|
|
1374
|
+
|
|
1375
|
+
def removeChild(self, oldChild):
|
|
1376
|
+
raise xml.dom.HierarchyRequestErr(
|
|
1377
|
+
"cannot remove children from an entity node")
|
|
1378
|
+
|
|
1379
|
+
def replaceChild(self, newChild, oldChild):
|
|
1380
|
+
raise xml.dom.HierarchyRequestErr(
|
|
1381
|
+
"cannot replace children of an entity node")
|
|
1382
|
+
|
|
1383
|
+
class Notation(Identified, Childless, Node):
|
|
1384
|
+
nodeType = Node.NOTATION_NODE
|
|
1385
|
+
nodeValue = None
|
|
1386
|
+
|
|
1387
|
+
def __init__(self, name, publicId, systemId):
|
|
1388
|
+
self.nodeName = name
|
|
1389
|
+
self._identified_mixin_init(publicId, systemId)
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
class DOMImplementation(DOMImplementationLS):
|
|
1393
|
+
_features = [("core", "1.0"),
|
|
1394
|
+
("core", "2.0"),
|
|
1395
|
+
("core", None),
|
|
1396
|
+
("xml", "1.0"),
|
|
1397
|
+
("xml", "2.0"),
|
|
1398
|
+
("xml", None),
|
|
1399
|
+
("ls-load", "3.0"),
|
|
1400
|
+
("ls-load", None),
|
|
1401
|
+
]
|
|
1402
|
+
|
|
1403
|
+
def hasFeature(self, feature, version):
|
|
1404
|
+
if version == "":
|
|
1405
|
+
version = None
|
|
1406
|
+
return (feature.lower(), version) in self._features
|
|
1407
|
+
|
|
1408
|
+
def createDocument(self, namespaceURI, qualifiedName, doctype):
|
|
1409
|
+
if doctype and doctype.parentNode is not None:
|
|
1410
|
+
raise xml.dom.WrongDocumentErr(
|
|
1411
|
+
"doctype object owned by another DOM tree")
|
|
1412
|
+
doc = self._create_document()
|
|
1413
|
+
|
|
1414
|
+
add_root_element = not (namespaceURI is None
|
|
1415
|
+
and qualifiedName is None
|
|
1416
|
+
and doctype is None)
|
|
1417
|
+
|
|
1418
|
+
if not qualifiedName and add_root_element:
|
|
1419
|
+
# The spec is unclear what to raise here; SyntaxErr
|
|
1420
|
+
# would be the other obvious candidate. Since Xerces raises
|
|
1421
|
+
# InvalidCharacterErr, and since SyntaxErr is not listed
|
|
1422
|
+
# for createDocument, that seems to be the better choice.
|
|
1423
|
+
# XXX: need to check for illegal characters here and in
|
|
1424
|
+
# createElement.
|
|
1425
|
+
|
|
1426
|
+
# DOM Level III clears this up when talking about the return value
|
|
1427
|
+
# of this function. If namespaceURI, qName and DocType are
|
|
1428
|
+
# Null the document is returned without a document element
|
|
1429
|
+
# Otherwise if doctype or namespaceURI are not None
|
|
1430
|
+
# Then we go back to the above problem
|
|
1431
|
+
raise xml.dom.InvalidCharacterErr("Element with no name")
|
|
1432
|
+
|
|
1433
|
+
if add_root_element:
|
|
1434
|
+
prefix, localname = _nssplit(qualifiedName)
|
|
1435
|
+
if prefix == "xml" \
|
|
1436
|
+
and namespaceURI != "http://www.w3.org/XML/1998/namespace":
|
|
1437
|
+
raise xml.dom.NamespaceErr("illegal use of 'xml' prefix")
|
|
1438
|
+
if prefix and not namespaceURI:
|
|
1439
|
+
raise xml.dom.NamespaceErr(
|
|
1440
|
+
"illegal use of prefix without namespaces")
|
|
1441
|
+
element = doc.createElementNS(namespaceURI, qualifiedName)
|
|
1442
|
+
if doctype:
|
|
1443
|
+
doc.appendChild(doctype)
|
|
1444
|
+
doc.appendChild(element)
|
|
1445
|
+
|
|
1446
|
+
if doctype:
|
|
1447
|
+
doctype.parentNode = doctype.ownerDocument = doc
|
|
1448
|
+
|
|
1449
|
+
doc.doctype = doctype
|
|
1450
|
+
doc.implementation = self
|
|
1451
|
+
return doc
|
|
1452
|
+
|
|
1453
|
+
def createDocumentType(self, qualifiedName, publicId, systemId):
|
|
1454
|
+
doctype = DocumentType(qualifiedName)
|
|
1455
|
+
doctype.publicId = publicId
|
|
1456
|
+
doctype.systemId = systemId
|
|
1457
|
+
return doctype
|
|
1458
|
+
|
|
1459
|
+
# DOM Level 3 (WD 9 April 2002)
|
|
1460
|
+
|
|
1461
|
+
def getInterface(self, feature):
|
|
1462
|
+
if self.hasFeature(feature, None):
|
|
1463
|
+
return self
|
|
1464
|
+
else:
|
|
1465
|
+
return None
|
|
1466
|
+
|
|
1467
|
+
# internal
|
|
1468
|
+
def _create_document(self):
|
|
1469
|
+
return Document()
|
|
1470
|
+
|
|
1471
|
+
class ElementInfo(object):
|
|
1472
|
+
"""Object that represents content-model information for an element.
|
|
1473
|
+
|
|
1474
|
+
This implementation is not expected to be used in practice; DOM
|
|
1475
|
+
builders should provide implementations which do the right thing
|
|
1476
|
+
using information available to it.
|
|
1477
|
+
|
|
1478
|
+
"""
|
|
1479
|
+
|
|
1480
|
+
__slots__ = 'tagName',
|
|
1481
|
+
|
|
1482
|
+
def __init__(self, name):
|
|
1483
|
+
self.tagName = name
|
|
1484
|
+
|
|
1485
|
+
def getAttributeType(self, aname):
|
|
1486
|
+
return _no_type
|
|
1487
|
+
|
|
1488
|
+
def getAttributeTypeNS(self, namespaceURI, localName):
|
|
1489
|
+
return _no_type
|
|
1490
|
+
|
|
1491
|
+
def isElementContent(self):
|
|
1492
|
+
return False
|
|
1493
|
+
|
|
1494
|
+
def isEmpty(self):
|
|
1495
|
+
"""Returns true iff this element is declared to have an EMPTY
|
|
1496
|
+
content model."""
|
|
1497
|
+
return False
|
|
1498
|
+
|
|
1499
|
+
def isId(self, aname):
|
|
1500
|
+
"""Returns true iff the named attribute is a DTD-style ID."""
|
|
1501
|
+
return False
|
|
1502
|
+
|
|
1503
|
+
def isIdNS(self, namespaceURI, localName):
|
|
1504
|
+
"""Returns true iff the identified attribute is a DTD-style ID."""
|
|
1505
|
+
return False
|
|
1506
|
+
|
|
1507
|
+
def __getstate__(self):
|
|
1508
|
+
return self.tagName
|
|
1509
|
+
|
|
1510
|
+
def __setstate__(self, state):
|
|
1511
|
+
self.tagName = state
|
|
1512
|
+
|
|
1513
|
+
def _clear_id_cache(node):
|
|
1514
|
+
if node.nodeType == Node.DOCUMENT_NODE:
|
|
1515
|
+
node._id_cache.clear()
|
|
1516
|
+
node._id_search_stack = None
|
|
1517
|
+
elif _in_document(node):
|
|
1518
|
+
node.ownerDocument._id_cache.clear()
|
|
1519
|
+
node.ownerDocument._id_search_stack= None
|
|
1520
|
+
|
|
1521
|
+
class Document(Node, DocumentLS):
|
|
1522
|
+
__slots__ = ('_elem_info', 'doctype',
|
|
1523
|
+
'_id_search_stack', 'childNodes', '_id_cache')
|
|
1524
|
+
_child_node_types = (Node.ELEMENT_NODE, Node.PROCESSING_INSTRUCTION_NODE,
|
|
1525
|
+
Node.COMMENT_NODE, Node.DOCUMENT_TYPE_NODE)
|
|
1526
|
+
|
|
1527
|
+
implementation = DOMImplementation()
|
|
1528
|
+
nodeType = Node.DOCUMENT_NODE
|
|
1529
|
+
nodeName = "#document"
|
|
1530
|
+
nodeValue = None
|
|
1531
|
+
attributes = None
|
|
1532
|
+
parentNode = None
|
|
1533
|
+
previousSibling = nextSibling = None
|
|
1534
|
+
|
|
1535
|
+
|
|
1536
|
+
# Document attributes from Level 3 (WD 9 April 2002)
|
|
1537
|
+
|
|
1538
|
+
actualEncoding = None
|
|
1539
|
+
encoding = None
|
|
1540
|
+
standalone = None
|
|
1541
|
+
version = None
|
|
1542
|
+
strictErrorChecking = False
|
|
1543
|
+
errorHandler = None
|
|
1544
|
+
documentURI = None
|
|
1545
|
+
|
|
1546
|
+
_magic_id_count = 0
|
|
1547
|
+
|
|
1548
|
+
def __init__(self):
|
|
1549
|
+
self.doctype = None
|
|
1550
|
+
self.childNodes = NodeList()
|
|
1551
|
+
# mapping of (namespaceURI, localName) -> ElementInfo
|
|
1552
|
+
# and tagName -> ElementInfo
|
|
1553
|
+
self._elem_info = {}
|
|
1554
|
+
self._id_cache = {}
|
|
1555
|
+
self._id_search_stack = None
|
|
1556
|
+
|
|
1557
|
+
def _get_elem_info(self, element):
|
|
1558
|
+
if element.namespaceURI:
|
|
1559
|
+
key = element.namespaceURI, element.localName
|
|
1560
|
+
else:
|
|
1561
|
+
key = element.tagName
|
|
1562
|
+
return self._elem_info.get(key)
|
|
1563
|
+
|
|
1564
|
+
def _get_actualEncoding(self):
|
|
1565
|
+
return self.actualEncoding
|
|
1566
|
+
|
|
1567
|
+
def _get_doctype(self):
|
|
1568
|
+
return self.doctype
|
|
1569
|
+
|
|
1570
|
+
def _get_documentURI(self):
|
|
1571
|
+
return self.documentURI
|
|
1572
|
+
|
|
1573
|
+
def _get_encoding(self):
|
|
1574
|
+
return self.encoding
|
|
1575
|
+
|
|
1576
|
+
def _get_errorHandler(self):
|
|
1577
|
+
return self.errorHandler
|
|
1578
|
+
|
|
1579
|
+
def _get_standalone(self):
|
|
1580
|
+
return self.standalone
|
|
1581
|
+
|
|
1582
|
+
def _get_strictErrorChecking(self):
|
|
1583
|
+
return self.strictErrorChecking
|
|
1584
|
+
|
|
1585
|
+
def _get_version(self):
|
|
1586
|
+
return self.version
|
|
1587
|
+
|
|
1588
|
+
def appendChild(self, node):
|
|
1589
|
+
if node.nodeType not in self._child_node_types:
|
|
1590
|
+
raise xml.dom.HierarchyRequestErr(
|
|
1591
|
+
"%s cannot be child of %s" % (repr(node), repr(self)))
|
|
1592
|
+
if node.parentNode is not None:
|
|
1593
|
+
# This needs to be done before the next test since this
|
|
1594
|
+
# may *be* the document element, in which case it should
|
|
1595
|
+
# end up re-ordered to the end.
|
|
1596
|
+
node.parentNode.removeChild(node)
|
|
1597
|
+
|
|
1598
|
+
if node.nodeType == Node.ELEMENT_NODE \
|
|
1599
|
+
and self._get_documentElement():
|
|
1600
|
+
raise xml.dom.HierarchyRequestErr(
|
|
1601
|
+
"two document elements disallowed")
|
|
1602
|
+
return Node.appendChild(self, node)
|
|
1603
|
+
|
|
1604
|
+
def removeChild(self, oldChild):
|
|
1605
|
+
try:
|
|
1606
|
+
self.childNodes.remove(oldChild)
|
|
1607
|
+
except ValueError:
|
|
1608
|
+
raise xml.dom.NotFoundErr()
|
|
1609
|
+
oldChild.nextSibling = oldChild.previousSibling = None
|
|
1610
|
+
oldChild.parentNode = None
|
|
1611
|
+
if self.documentElement is oldChild:
|
|
1612
|
+
self.documentElement = None
|
|
1613
|
+
|
|
1614
|
+
return oldChild
|
|
1615
|
+
|
|
1616
|
+
def _get_documentElement(self):
|
|
1617
|
+
for node in self.childNodes:
|
|
1618
|
+
if node.nodeType == Node.ELEMENT_NODE:
|
|
1619
|
+
return node
|
|
1620
|
+
|
|
1621
|
+
def unlink(self):
|
|
1622
|
+
if self.doctype is not None:
|
|
1623
|
+
self.doctype.unlink()
|
|
1624
|
+
self.doctype = None
|
|
1625
|
+
Node.unlink(self)
|
|
1626
|
+
|
|
1627
|
+
def cloneNode(self, deep):
|
|
1628
|
+
if not deep:
|
|
1629
|
+
return None
|
|
1630
|
+
clone = self.implementation.createDocument(None, None, None)
|
|
1631
|
+
clone.encoding = self.encoding
|
|
1632
|
+
clone.standalone = self.standalone
|
|
1633
|
+
clone.version = self.version
|
|
1634
|
+
for n in self.childNodes:
|
|
1635
|
+
childclone = _clone_node(n, deep, clone)
|
|
1636
|
+
assert childclone.ownerDocument.isSameNode(clone)
|
|
1637
|
+
clone.childNodes.append(childclone)
|
|
1638
|
+
if childclone.nodeType == Node.DOCUMENT_NODE:
|
|
1639
|
+
assert clone.documentElement is None
|
|
1640
|
+
elif childclone.nodeType == Node.DOCUMENT_TYPE_NODE:
|
|
1641
|
+
assert clone.doctype is None
|
|
1642
|
+
clone.doctype = childclone
|
|
1643
|
+
childclone.parentNode = clone
|
|
1644
|
+
self._call_user_data_handler(xml.dom.UserDataHandler.NODE_CLONED,
|
|
1645
|
+
self, clone)
|
|
1646
|
+
return clone
|
|
1647
|
+
|
|
1648
|
+
def createDocumentFragment(self):
|
|
1649
|
+
d = DocumentFragment()
|
|
1650
|
+
d.ownerDocument = self
|
|
1651
|
+
return d
|
|
1652
|
+
|
|
1653
|
+
def createElement(self, tagName):
|
|
1654
|
+
e = Element(tagName)
|
|
1655
|
+
e.ownerDocument = self
|
|
1656
|
+
return e
|
|
1657
|
+
|
|
1658
|
+
def createTextNode(self, data):
|
|
1659
|
+
if not isinstance(data, str):
|
|
1660
|
+
raise TypeError("node contents must be a string")
|
|
1661
|
+
t = Text()
|
|
1662
|
+
t.data = data
|
|
1663
|
+
t.ownerDocument = self
|
|
1664
|
+
return t
|
|
1665
|
+
|
|
1666
|
+
def createCDATASection(self, data):
|
|
1667
|
+
if not isinstance(data, str):
|
|
1668
|
+
raise TypeError("node contents must be a string")
|
|
1669
|
+
c = CDATASection()
|
|
1670
|
+
c.data = data
|
|
1671
|
+
c.ownerDocument = self
|
|
1672
|
+
return c
|
|
1673
|
+
|
|
1674
|
+
def createComment(self, data):
|
|
1675
|
+
c = Comment(data)
|
|
1676
|
+
c.ownerDocument = self
|
|
1677
|
+
return c
|
|
1678
|
+
|
|
1679
|
+
def createProcessingInstruction(self, target, data):
|
|
1680
|
+
p = ProcessingInstruction(target, data)
|
|
1681
|
+
p.ownerDocument = self
|
|
1682
|
+
return p
|
|
1683
|
+
|
|
1684
|
+
def createAttribute(self, qName):
|
|
1685
|
+
a = Attr(qName)
|
|
1686
|
+
a.ownerDocument = self
|
|
1687
|
+
a.value = ""
|
|
1688
|
+
return a
|
|
1689
|
+
|
|
1690
|
+
def createElementNS(self, namespaceURI, qualifiedName):
|
|
1691
|
+
prefix, localName = _nssplit(qualifiedName)
|
|
1692
|
+
e = Element(qualifiedName, namespaceURI, prefix)
|
|
1693
|
+
e.ownerDocument = self
|
|
1694
|
+
return e
|
|
1695
|
+
|
|
1696
|
+
def createAttributeNS(self, namespaceURI, qualifiedName):
|
|
1697
|
+
prefix, localName = _nssplit(qualifiedName)
|
|
1698
|
+
a = Attr(qualifiedName, namespaceURI, localName, prefix)
|
|
1699
|
+
a.ownerDocument = self
|
|
1700
|
+
a.value = ""
|
|
1701
|
+
return a
|
|
1702
|
+
|
|
1703
|
+
# A couple of implementation-specific helpers to create node types
|
|
1704
|
+
# not supported by the W3C DOM specs:
|
|
1705
|
+
|
|
1706
|
+
def _create_entity(self, name, publicId, systemId, notationName):
|
|
1707
|
+
e = Entity(name, publicId, systemId, notationName)
|
|
1708
|
+
e.ownerDocument = self
|
|
1709
|
+
return e
|
|
1710
|
+
|
|
1711
|
+
def _create_notation(self, name, publicId, systemId):
|
|
1712
|
+
n = Notation(name, publicId, systemId)
|
|
1713
|
+
n.ownerDocument = self
|
|
1714
|
+
return n
|
|
1715
|
+
|
|
1716
|
+
def getElementById(self, id):
|
|
1717
|
+
if id in self._id_cache:
|
|
1718
|
+
return self._id_cache[id]
|
|
1719
|
+
if not (self._elem_info or self._magic_id_count):
|
|
1720
|
+
return None
|
|
1721
|
+
|
|
1722
|
+
stack = self._id_search_stack
|
|
1723
|
+
if stack is None:
|
|
1724
|
+
# we never searched before, or the cache has been cleared
|
|
1725
|
+
stack = [self.documentElement]
|
|
1726
|
+
self._id_search_stack = stack
|
|
1727
|
+
elif not stack:
|
|
1728
|
+
# Previous search was completed and cache is still valid;
|
|
1729
|
+
# no matching node.
|
|
1730
|
+
return None
|
|
1731
|
+
|
|
1732
|
+
result = None
|
|
1733
|
+
while stack:
|
|
1734
|
+
node = stack.pop()
|
|
1735
|
+
# add child elements to stack for continued searching
|
|
1736
|
+
stack.extend([child for child in node.childNodes
|
|
1737
|
+
if child.nodeType in _nodeTypes_with_children])
|
|
1738
|
+
# check this node
|
|
1739
|
+
info = self._get_elem_info(node)
|
|
1740
|
+
if info:
|
|
1741
|
+
# We have to process all ID attributes before
|
|
1742
|
+
# returning in order to get all the attributes set to
|
|
1743
|
+
# be IDs using Element.setIdAttribute*().
|
|
1744
|
+
for attr in node.attributes.values():
|
|
1745
|
+
if attr.namespaceURI:
|
|
1746
|
+
if info.isIdNS(attr.namespaceURI, attr.localName):
|
|
1747
|
+
self._id_cache[attr.value] = node
|
|
1748
|
+
if attr.value == id:
|
|
1749
|
+
result = node
|
|
1750
|
+
elif not node._magic_id_nodes:
|
|
1751
|
+
break
|
|
1752
|
+
elif info.isId(attr.name):
|
|
1753
|
+
self._id_cache[attr.value] = node
|
|
1754
|
+
if attr.value == id:
|
|
1755
|
+
result = node
|
|
1756
|
+
elif not node._magic_id_nodes:
|
|
1757
|
+
break
|
|
1758
|
+
elif attr._is_id:
|
|
1759
|
+
self._id_cache[attr.value] = node
|
|
1760
|
+
if attr.value == id:
|
|
1761
|
+
result = node
|
|
1762
|
+
elif node._magic_id_nodes == 1:
|
|
1763
|
+
break
|
|
1764
|
+
elif node._magic_id_nodes:
|
|
1765
|
+
for attr in node.attributes.values():
|
|
1766
|
+
if attr._is_id:
|
|
1767
|
+
self._id_cache[attr.value] = node
|
|
1768
|
+
if attr.value == id:
|
|
1769
|
+
result = node
|
|
1770
|
+
if result is not None:
|
|
1771
|
+
break
|
|
1772
|
+
return result
|
|
1773
|
+
|
|
1774
|
+
def getElementsByTagName(self, name):
|
|
1775
|
+
return _get_elements_by_tagName_helper(self, name, NodeList())
|
|
1776
|
+
|
|
1777
|
+
def getElementsByTagNameNS(self, namespaceURI, localName):
|
|
1778
|
+
return _get_elements_by_tagName_ns_helper(
|
|
1779
|
+
self, namespaceURI, localName, NodeList())
|
|
1780
|
+
|
|
1781
|
+
def isSupported(self, feature, version):
|
|
1782
|
+
return self.implementation.hasFeature(feature, version)
|
|
1783
|
+
|
|
1784
|
+
def importNode(self, node, deep):
|
|
1785
|
+
if node.nodeType == Node.DOCUMENT_NODE:
|
|
1786
|
+
raise xml.dom.NotSupportedErr("cannot import document nodes")
|
|
1787
|
+
elif node.nodeType == Node.DOCUMENT_TYPE_NODE:
|
|
1788
|
+
raise xml.dom.NotSupportedErr("cannot import document type nodes")
|
|
1789
|
+
return _clone_node(node, deep, self)
|
|
1790
|
+
|
|
1791
|
+
def writexml(self, writer, indent="", addindent="", newl="", encoding=None):
|
|
1792
|
+
if encoding is None:
|
|
1793
|
+
writer.write('<?xml version="1.0" ?>'+newl)
|
|
1794
|
+
else:
|
|
1795
|
+
writer.write('<?xml version="1.0" encoding="%s"?>%s' % (
|
|
1796
|
+
encoding, newl))
|
|
1797
|
+
for node in self.childNodes:
|
|
1798
|
+
node.writexml(writer, indent, addindent, newl)
|
|
1799
|
+
|
|
1800
|
+
# DOM Level 3 (WD 9 April 2002)
|
|
1801
|
+
|
|
1802
|
+
def renameNode(self, n, namespaceURI, name):
|
|
1803
|
+
if n.ownerDocument is not self:
|
|
1804
|
+
raise xml.dom.WrongDocumentErr(
|
|
1805
|
+
"cannot rename nodes from other documents;\n"
|
|
1806
|
+
"expected %s,\nfound %s" % (self, n.ownerDocument))
|
|
1807
|
+
if n.nodeType not in (Node.ELEMENT_NODE, Node.ATTRIBUTE_NODE):
|
|
1808
|
+
raise xml.dom.NotSupportedErr(
|
|
1809
|
+
"renameNode() only applies to element and attribute nodes")
|
|
1810
|
+
if namespaceURI != EMPTY_NAMESPACE:
|
|
1811
|
+
if ':' in name:
|
|
1812
|
+
prefix, localName = name.split(':', 1)
|
|
1813
|
+
if ( prefix == "xmlns"
|
|
1814
|
+
and namespaceURI != xml.dom.XMLNS_NAMESPACE):
|
|
1815
|
+
raise xml.dom.NamespaceErr(
|
|
1816
|
+
"illegal use of 'xmlns' prefix")
|
|
1817
|
+
else:
|
|
1818
|
+
if ( name == "xmlns"
|
|
1819
|
+
and namespaceURI != xml.dom.XMLNS_NAMESPACE
|
|
1820
|
+
and n.nodeType == Node.ATTRIBUTE_NODE):
|
|
1821
|
+
raise xml.dom.NamespaceErr(
|
|
1822
|
+
"illegal use of the 'xmlns' attribute")
|
|
1823
|
+
prefix = None
|
|
1824
|
+
localName = name
|
|
1825
|
+
else:
|
|
1826
|
+
prefix = None
|
|
1827
|
+
localName = None
|
|
1828
|
+
if n.nodeType == Node.ATTRIBUTE_NODE:
|
|
1829
|
+
element = n.ownerElement
|
|
1830
|
+
if element is not None:
|
|
1831
|
+
is_id = n._is_id
|
|
1832
|
+
element.removeAttributeNode(n)
|
|
1833
|
+
else:
|
|
1834
|
+
element = None
|
|
1835
|
+
n.prefix = prefix
|
|
1836
|
+
n._localName = localName
|
|
1837
|
+
n.namespaceURI = namespaceURI
|
|
1838
|
+
n.nodeName = name
|
|
1839
|
+
if n.nodeType == Node.ELEMENT_NODE:
|
|
1840
|
+
n.tagName = name
|
|
1841
|
+
else:
|
|
1842
|
+
# attribute node
|
|
1843
|
+
n.name = name
|
|
1844
|
+
if element is not None:
|
|
1845
|
+
element.setAttributeNode(n)
|
|
1846
|
+
if is_id:
|
|
1847
|
+
element.setIdAttributeNode(n)
|
|
1848
|
+
# It's not clear from a semantic perspective whether we should
|
|
1849
|
+
# call the user data handlers for the NODE_RENAMED event since
|
|
1850
|
+
# we're re-using the existing node. The draft spec has been
|
|
1851
|
+
# interpreted as meaning "no, don't call the handler unless a
|
|
1852
|
+
# new node is created."
|
|
1853
|
+
return n
|
|
1854
|
+
|
|
1855
|
+
defproperty(Document, "documentElement",
|
|
1856
|
+
doc="Top-level element of this document.")
|
|
1857
|
+
|
|
1858
|
+
|
|
1859
|
+
def _clone_node(node, deep, newOwnerDocument):
|
|
1860
|
+
"""
|
|
1861
|
+
Clone a node and give it the new owner document.
|
|
1862
|
+
Called by Node.cloneNode and Document.importNode
|
|
1863
|
+
"""
|
|
1864
|
+
if node.ownerDocument.isSameNode(newOwnerDocument):
|
|
1865
|
+
operation = xml.dom.UserDataHandler.NODE_CLONED
|
|
1866
|
+
else:
|
|
1867
|
+
operation = xml.dom.UserDataHandler.NODE_IMPORTED
|
|
1868
|
+
if node.nodeType == Node.ELEMENT_NODE:
|
|
1869
|
+
clone = newOwnerDocument.createElementNS(node.namespaceURI,
|
|
1870
|
+
node.nodeName)
|
|
1871
|
+
for attr in node.attributes.values():
|
|
1872
|
+
clone.setAttributeNS(attr.namespaceURI, attr.nodeName, attr.value)
|
|
1873
|
+
a = clone.getAttributeNodeNS(attr.namespaceURI, attr.localName)
|
|
1874
|
+
a.specified = attr.specified
|
|
1875
|
+
|
|
1876
|
+
if deep:
|
|
1877
|
+
for child in node.childNodes:
|
|
1878
|
+
c = _clone_node(child, deep, newOwnerDocument)
|
|
1879
|
+
clone.appendChild(c)
|
|
1880
|
+
|
|
1881
|
+
elif node.nodeType == Node.DOCUMENT_FRAGMENT_NODE:
|
|
1882
|
+
clone = newOwnerDocument.createDocumentFragment()
|
|
1883
|
+
if deep:
|
|
1884
|
+
for child in node.childNodes:
|
|
1885
|
+
c = _clone_node(child, deep, newOwnerDocument)
|
|
1886
|
+
clone.appendChild(c)
|
|
1887
|
+
|
|
1888
|
+
elif node.nodeType == Node.TEXT_NODE:
|
|
1889
|
+
clone = newOwnerDocument.createTextNode(node.data)
|
|
1890
|
+
elif node.nodeType == Node.CDATA_SECTION_NODE:
|
|
1891
|
+
clone = newOwnerDocument.createCDATASection(node.data)
|
|
1892
|
+
elif node.nodeType == Node.PROCESSING_INSTRUCTION_NODE:
|
|
1893
|
+
clone = newOwnerDocument.createProcessingInstruction(node.target,
|
|
1894
|
+
node.data)
|
|
1895
|
+
elif node.nodeType == Node.COMMENT_NODE:
|
|
1896
|
+
clone = newOwnerDocument.createComment(node.data)
|
|
1897
|
+
elif node.nodeType == Node.ATTRIBUTE_NODE:
|
|
1898
|
+
clone = newOwnerDocument.createAttributeNS(node.namespaceURI,
|
|
1899
|
+
node.nodeName)
|
|
1900
|
+
clone.specified = True
|
|
1901
|
+
clone.value = node.value
|
|
1902
|
+
elif node.nodeType == Node.DOCUMENT_TYPE_NODE:
|
|
1903
|
+
assert node.ownerDocument is not newOwnerDocument
|
|
1904
|
+
operation = xml.dom.UserDataHandler.NODE_IMPORTED
|
|
1905
|
+
clone = newOwnerDocument.implementation.createDocumentType(
|
|
1906
|
+
node.name, node.publicId, node.systemId)
|
|
1907
|
+
clone.ownerDocument = newOwnerDocument
|
|
1908
|
+
if deep:
|
|
1909
|
+
clone.entities._seq = []
|
|
1910
|
+
clone.notations._seq = []
|
|
1911
|
+
for n in node.notations._seq:
|
|
1912
|
+
notation = Notation(n.nodeName, n.publicId, n.systemId)
|
|
1913
|
+
notation.ownerDocument = newOwnerDocument
|
|
1914
|
+
clone.notations._seq.append(notation)
|
|
1915
|
+
if hasattr(n, '_call_user_data_handler'):
|
|
1916
|
+
n._call_user_data_handler(operation, n, notation)
|
|
1917
|
+
for e in node.entities._seq:
|
|
1918
|
+
entity = Entity(e.nodeName, e.publicId, e.systemId,
|
|
1919
|
+
e.notationName)
|
|
1920
|
+
entity.actualEncoding = e.actualEncoding
|
|
1921
|
+
entity.encoding = e.encoding
|
|
1922
|
+
entity.version = e.version
|
|
1923
|
+
entity.ownerDocument = newOwnerDocument
|
|
1924
|
+
clone.entities._seq.append(entity)
|
|
1925
|
+
if hasattr(e, '_call_user_data_handler'):
|
|
1926
|
+
e._call_user_data_handler(operation, n, entity)
|
|
1927
|
+
else:
|
|
1928
|
+
# Note the cloning of Document and DocumentType nodes is
|
|
1929
|
+
# implementation specific. minidom handles those cases
|
|
1930
|
+
# directly in the cloneNode() methods.
|
|
1931
|
+
raise xml.dom.NotSupportedErr("Cannot clone node %s" % repr(node))
|
|
1932
|
+
|
|
1933
|
+
# Check for _call_user_data_handler() since this could conceivably
|
|
1934
|
+
# used with other DOM implementations (one of the FourThought
|
|
1935
|
+
# DOMs, perhaps?).
|
|
1936
|
+
if hasattr(node, '_call_user_data_handler'):
|
|
1937
|
+
node._call_user_data_handler(operation, node, clone)
|
|
1938
|
+
return clone
|
|
1939
|
+
|
|
1940
|
+
|
|
1941
|
+
def _nssplit(qualifiedName):
|
|
1942
|
+
fields = qualifiedName.split(':', 1)
|
|
1943
|
+
if len(fields) == 2:
|
|
1944
|
+
return fields
|
|
1945
|
+
else:
|
|
1946
|
+
return (None, fields[0])
|
|
1947
|
+
|
|
1948
|
+
|
|
1949
|
+
def _do_pulldom_parse(func, args, kwargs):
|
|
1950
|
+
events = func(*args, **kwargs)
|
|
1951
|
+
toktype, rootNode = events.getEvent()
|
|
1952
|
+
events.expandNode(rootNode)
|
|
1953
|
+
events.clear()
|
|
1954
|
+
return rootNode
|
|
1955
|
+
|
|
1956
|
+
def parse(file, parser=None, bufsize=None):
|
|
1957
|
+
"""Parse a file into a DOM by filename or file object."""
|
|
1958
|
+
if parser is None and not bufsize:
|
|
1959
|
+
from xml.dom import expatbuilder
|
|
1960
|
+
return expatbuilder.parse(file)
|
|
1961
|
+
else:
|
|
1962
|
+
from xml.dom import pulldom
|
|
1963
|
+
return _do_pulldom_parse(pulldom.parse, (file,),
|
|
1964
|
+
{'parser': parser, 'bufsize': bufsize})
|
|
1965
|
+
|
|
1966
|
+
def parseString(string, parser=None):
|
|
1967
|
+
"""Parse a file into a DOM from a string."""
|
|
1968
|
+
if parser is None:
|
|
1969
|
+
from xml.dom import expatbuilder
|
|
1970
|
+
return expatbuilder.parseString(string)
|
|
1971
|
+
else:
|
|
1972
|
+
from xml.dom import pulldom
|
|
1973
|
+
return _do_pulldom_parse(pulldom.parseString, (string,),
|
|
1974
|
+
{'parser': parser})
|
|
1975
|
+
|
|
1976
|
+
def getDOMImplementation(features=None):
|
|
1977
|
+
if features:
|
|
1978
|
+
if isinstance(features, str):
|
|
1979
|
+
features = domreg._parse_feature_string(features)
|
|
1980
|
+
for f, v in features:
|
|
1981
|
+
if not Document.implementation.hasFeature(f, v):
|
|
1982
|
+
return None
|
|
1983
|
+
return Document.implementation
|