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,1637 @@
|
|
|
1
|
+
# Python test set -- built-in functions
|
|
2
|
+
|
|
3
|
+
import ast
|
|
4
|
+
import builtins
|
|
5
|
+
import collections
|
|
6
|
+
import io
|
|
7
|
+
import locale
|
|
8
|
+
import os
|
|
9
|
+
import pickle
|
|
10
|
+
import platform
|
|
11
|
+
import random
|
|
12
|
+
import sys
|
|
13
|
+
import traceback
|
|
14
|
+
import types
|
|
15
|
+
import unittest
|
|
16
|
+
import warnings
|
|
17
|
+
from operator import neg
|
|
18
|
+
from test.support import TESTFN, unlink, run_unittest, check_warnings
|
|
19
|
+
from test.script_helper import assert_python_ok
|
|
20
|
+
try:
|
|
21
|
+
import pty, signal
|
|
22
|
+
except ImportError:
|
|
23
|
+
pty = signal = None
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class Squares:
|
|
27
|
+
|
|
28
|
+
def __init__(self, max):
|
|
29
|
+
self.max = max
|
|
30
|
+
self.sofar = []
|
|
31
|
+
|
|
32
|
+
def __len__(self): return len(self.sofar)
|
|
33
|
+
|
|
34
|
+
def __getitem__(self, i):
|
|
35
|
+
if not 0 <= i < self.max: raise IndexError
|
|
36
|
+
n = len(self.sofar)
|
|
37
|
+
while n <= i:
|
|
38
|
+
self.sofar.append(n*n)
|
|
39
|
+
n += 1
|
|
40
|
+
return self.sofar[i]
|
|
41
|
+
|
|
42
|
+
class StrSquares:
|
|
43
|
+
|
|
44
|
+
def __init__(self, max):
|
|
45
|
+
self.max = max
|
|
46
|
+
self.sofar = []
|
|
47
|
+
|
|
48
|
+
def __len__(self):
|
|
49
|
+
return len(self.sofar)
|
|
50
|
+
|
|
51
|
+
def __getitem__(self, i):
|
|
52
|
+
if not 0 <= i < self.max:
|
|
53
|
+
raise IndexError
|
|
54
|
+
n = len(self.sofar)
|
|
55
|
+
while n <= i:
|
|
56
|
+
self.sofar.append(str(n*n))
|
|
57
|
+
n += 1
|
|
58
|
+
return self.sofar[i]
|
|
59
|
+
|
|
60
|
+
class BitBucket:
|
|
61
|
+
def write(self, line):
|
|
62
|
+
pass
|
|
63
|
+
|
|
64
|
+
test_conv_no_sign = [
|
|
65
|
+
('0', 0),
|
|
66
|
+
('1', 1),
|
|
67
|
+
('9', 9),
|
|
68
|
+
('10', 10),
|
|
69
|
+
('99', 99),
|
|
70
|
+
('100', 100),
|
|
71
|
+
('314', 314),
|
|
72
|
+
(' 314', 314),
|
|
73
|
+
('314 ', 314),
|
|
74
|
+
(' \t\t 314 \t\t ', 314),
|
|
75
|
+
(repr(sys.maxsize), sys.maxsize),
|
|
76
|
+
(' 1x', ValueError),
|
|
77
|
+
(' 1 ', 1),
|
|
78
|
+
(' 1\02 ', ValueError),
|
|
79
|
+
('', ValueError),
|
|
80
|
+
(' ', ValueError),
|
|
81
|
+
(' \t\t ', ValueError),
|
|
82
|
+
(str(b'\u0663\u0661\u0664 ','raw-unicode-escape'), 314),
|
|
83
|
+
(chr(0x200), ValueError),
|
|
84
|
+
]
|
|
85
|
+
|
|
86
|
+
test_conv_sign = [
|
|
87
|
+
('0', 0),
|
|
88
|
+
('1', 1),
|
|
89
|
+
('9', 9),
|
|
90
|
+
('10', 10),
|
|
91
|
+
('99', 99),
|
|
92
|
+
('100', 100),
|
|
93
|
+
('314', 314),
|
|
94
|
+
(' 314', ValueError),
|
|
95
|
+
('314 ', 314),
|
|
96
|
+
(' \t\t 314 \t\t ', ValueError),
|
|
97
|
+
(repr(sys.maxsize), sys.maxsize),
|
|
98
|
+
(' 1x', ValueError),
|
|
99
|
+
(' 1 ', ValueError),
|
|
100
|
+
(' 1\02 ', ValueError),
|
|
101
|
+
('', ValueError),
|
|
102
|
+
(' ', ValueError),
|
|
103
|
+
(' \t\t ', ValueError),
|
|
104
|
+
(str(b'\u0663\u0661\u0664 ','raw-unicode-escape'), 314),
|
|
105
|
+
(chr(0x200), ValueError),
|
|
106
|
+
]
|
|
107
|
+
|
|
108
|
+
class TestFailingBool:
|
|
109
|
+
def __bool__(self):
|
|
110
|
+
raise RuntimeError
|
|
111
|
+
|
|
112
|
+
class TestFailingIter:
|
|
113
|
+
def __iter__(self):
|
|
114
|
+
raise RuntimeError
|
|
115
|
+
|
|
116
|
+
def filter_char(arg):
|
|
117
|
+
return ord(arg) > ord("d")
|
|
118
|
+
|
|
119
|
+
def map_char(arg):
|
|
120
|
+
return chr(ord(arg)+1)
|
|
121
|
+
|
|
122
|
+
class BuiltinTest(unittest.TestCase):
|
|
123
|
+
# Helper to check picklability
|
|
124
|
+
def check_iter_pickle(self, it, seq):
|
|
125
|
+
itorg = it
|
|
126
|
+
d = pickle.dumps(it)
|
|
127
|
+
it = pickle.loads(d)
|
|
128
|
+
self.assertEqual(type(itorg), type(it))
|
|
129
|
+
self.assertEqual(list(it), seq)
|
|
130
|
+
|
|
131
|
+
#test the iterator after dropping one from it
|
|
132
|
+
it = pickle.loads(d)
|
|
133
|
+
try:
|
|
134
|
+
next(it)
|
|
135
|
+
except StopIteration:
|
|
136
|
+
return
|
|
137
|
+
d = pickle.dumps(it)
|
|
138
|
+
it = pickle.loads(d)
|
|
139
|
+
self.assertEqual(list(it), seq[1:])
|
|
140
|
+
|
|
141
|
+
def test_import(self):
|
|
142
|
+
__import__('sys')
|
|
143
|
+
__import__('time')
|
|
144
|
+
__import__('string')
|
|
145
|
+
__import__(name='sys')
|
|
146
|
+
__import__(name='time', level=0)
|
|
147
|
+
self.assertRaises(ImportError, __import__, 'spamspam')
|
|
148
|
+
self.assertRaises(TypeError, __import__, 1, 2, 3, 4)
|
|
149
|
+
self.assertRaises(ValueError, __import__, '')
|
|
150
|
+
self.assertRaises(TypeError, __import__, 'sys', name='sys')
|
|
151
|
+
|
|
152
|
+
def test_abs(self):
|
|
153
|
+
# int
|
|
154
|
+
self.assertEqual(abs(0), 0)
|
|
155
|
+
self.assertEqual(abs(1234), 1234)
|
|
156
|
+
self.assertEqual(abs(-1234), 1234)
|
|
157
|
+
self.assertTrue(abs(-sys.maxsize-1) > 0)
|
|
158
|
+
# float
|
|
159
|
+
self.assertEqual(abs(0.0), 0.0)
|
|
160
|
+
self.assertEqual(abs(3.14), 3.14)
|
|
161
|
+
self.assertEqual(abs(-3.14), 3.14)
|
|
162
|
+
# str
|
|
163
|
+
self.assertRaises(TypeError, abs, 'a')
|
|
164
|
+
# bool
|
|
165
|
+
self.assertEqual(abs(True), 1)
|
|
166
|
+
self.assertEqual(abs(False), 0)
|
|
167
|
+
# other
|
|
168
|
+
self.assertRaises(TypeError, abs)
|
|
169
|
+
self.assertRaises(TypeError, abs, None)
|
|
170
|
+
class AbsClass(object):
|
|
171
|
+
def __abs__(self):
|
|
172
|
+
return -5
|
|
173
|
+
self.assertEqual(abs(AbsClass()), -5)
|
|
174
|
+
|
|
175
|
+
def test_all(self):
|
|
176
|
+
self.assertEqual(all([2, 4, 6]), True)
|
|
177
|
+
self.assertEqual(all([2, None, 6]), False)
|
|
178
|
+
self.assertRaises(RuntimeError, all, [2, TestFailingBool(), 6])
|
|
179
|
+
self.assertRaises(RuntimeError, all, TestFailingIter())
|
|
180
|
+
self.assertRaises(TypeError, all, 10) # Non-iterable
|
|
181
|
+
self.assertRaises(TypeError, all) # No args
|
|
182
|
+
self.assertRaises(TypeError, all, [2, 4, 6], []) # Too many args
|
|
183
|
+
self.assertEqual(all([]), True) # Empty iterator
|
|
184
|
+
self.assertEqual(all([0, TestFailingBool()]), False)# Short-circuit
|
|
185
|
+
S = [50, 60]
|
|
186
|
+
self.assertEqual(all(x > 42 for x in S), True)
|
|
187
|
+
S = [50, 40, 60]
|
|
188
|
+
self.assertEqual(all(x > 42 for x in S), False)
|
|
189
|
+
|
|
190
|
+
def test_any(self):
|
|
191
|
+
self.assertEqual(any([None, None, None]), False)
|
|
192
|
+
self.assertEqual(any([None, 4, None]), True)
|
|
193
|
+
self.assertRaises(RuntimeError, any, [None, TestFailingBool(), 6])
|
|
194
|
+
self.assertRaises(RuntimeError, any, TestFailingIter())
|
|
195
|
+
self.assertRaises(TypeError, any, 10) # Non-iterable
|
|
196
|
+
self.assertRaises(TypeError, any) # No args
|
|
197
|
+
self.assertRaises(TypeError, any, [2, 4, 6], []) # Too many args
|
|
198
|
+
self.assertEqual(any([]), False) # Empty iterator
|
|
199
|
+
self.assertEqual(any([1, TestFailingBool()]), True) # Short-circuit
|
|
200
|
+
S = [40, 60, 30]
|
|
201
|
+
self.assertEqual(any(x > 42 for x in S), True)
|
|
202
|
+
S = [10, 20, 30]
|
|
203
|
+
self.assertEqual(any(x > 42 for x in S), False)
|
|
204
|
+
|
|
205
|
+
def test_ascii(self):
|
|
206
|
+
self.assertEqual(ascii(''), '\'\'')
|
|
207
|
+
self.assertEqual(ascii(0), '0')
|
|
208
|
+
self.assertEqual(ascii(()), '()')
|
|
209
|
+
self.assertEqual(ascii([]), '[]')
|
|
210
|
+
self.assertEqual(ascii({}), '{}')
|
|
211
|
+
a = []
|
|
212
|
+
a.append(a)
|
|
213
|
+
self.assertEqual(ascii(a), '[[...]]')
|
|
214
|
+
a = {}
|
|
215
|
+
a[0] = a
|
|
216
|
+
self.assertEqual(ascii(a), '{0: {...}}')
|
|
217
|
+
# Advanced checks for unicode strings
|
|
218
|
+
def _check_uni(s):
|
|
219
|
+
self.assertEqual(ascii(s), repr(s))
|
|
220
|
+
_check_uni("'")
|
|
221
|
+
_check_uni('"')
|
|
222
|
+
_check_uni('"\'')
|
|
223
|
+
_check_uni('\0')
|
|
224
|
+
_check_uni('\r\n\t .')
|
|
225
|
+
# Unprintable non-ASCII characters
|
|
226
|
+
_check_uni('\x85')
|
|
227
|
+
_check_uni('\u1fff')
|
|
228
|
+
_check_uni('\U00012fff')
|
|
229
|
+
# Lone surrogates
|
|
230
|
+
_check_uni('\ud800')
|
|
231
|
+
_check_uni('\udfff')
|
|
232
|
+
# Issue #9804: surrogates should be joined even for printable
|
|
233
|
+
# wide characters (UCS-2 builds).
|
|
234
|
+
self.assertEqual(ascii('\U0001d121'), "'\\U0001d121'")
|
|
235
|
+
# All together
|
|
236
|
+
s = "'\0\"\n\r\t abcd\x85é\U00012fff\uD800\U0001D121xxx."
|
|
237
|
+
self.assertEqual(ascii(s),
|
|
238
|
+
r"""'\'\x00"\n\r\t abcd\x85\xe9\U00012fff\ud800\U0001d121xxx.'""")
|
|
239
|
+
|
|
240
|
+
def test_neg(self):
|
|
241
|
+
x = -sys.maxsize-1
|
|
242
|
+
self.assertTrue(isinstance(x, int))
|
|
243
|
+
self.assertEqual(-x, sys.maxsize+1)
|
|
244
|
+
|
|
245
|
+
def test_callable(self):
|
|
246
|
+
self.assertTrue(callable(len))
|
|
247
|
+
self.assertFalse(callable("a"))
|
|
248
|
+
self.assertTrue(callable(callable))
|
|
249
|
+
self.assertTrue(callable(lambda x, y: x + y))
|
|
250
|
+
self.assertFalse(callable(__builtins__))
|
|
251
|
+
def f(): pass
|
|
252
|
+
self.assertTrue(callable(f))
|
|
253
|
+
|
|
254
|
+
class C1:
|
|
255
|
+
def meth(self): pass
|
|
256
|
+
self.assertTrue(callable(C1))
|
|
257
|
+
c = C1()
|
|
258
|
+
self.assertTrue(callable(c.meth))
|
|
259
|
+
self.assertFalse(callable(c))
|
|
260
|
+
|
|
261
|
+
# __call__ is looked up on the class, not the instance
|
|
262
|
+
c.__call__ = None
|
|
263
|
+
self.assertFalse(callable(c))
|
|
264
|
+
c.__call__ = lambda self: 0
|
|
265
|
+
self.assertFalse(callable(c))
|
|
266
|
+
del c.__call__
|
|
267
|
+
self.assertFalse(callable(c))
|
|
268
|
+
|
|
269
|
+
class C2(object):
|
|
270
|
+
def __call__(self): pass
|
|
271
|
+
c2 = C2()
|
|
272
|
+
self.assertTrue(callable(c2))
|
|
273
|
+
c2.__call__ = None
|
|
274
|
+
self.assertTrue(callable(c2))
|
|
275
|
+
class C3(C2): pass
|
|
276
|
+
c3 = C3()
|
|
277
|
+
self.assertTrue(callable(c3))
|
|
278
|
+
|
|
279
|
+
def test_chr(self):
|
|
280
|
+
self.assertEqual(chr(32), ' ')
|
|
281
|
+
self.assertEqual(chr(65), 'A')
|
|
282
|
+
self.assertEqual(chr(97), 'a')
|
|
283
|
+
self.assertEqual(chr(0xff), '\xff')
|
|
284
|
+
self.assertRaises(ValueError, chr, 1<<24)
|
|
285
|
+
self.assertEqual(chr(sys.maxunicode),
|
|
286
|
+
str('\\U0010ffff'.encode("ascii"), 'unicode-escape'))
|
|
287
|
+
self.assertRaises(TypeError, chr)
|
|
288
|
+
self.assertEqual(chr(0x0000FFFF), "\U0000FFFF")
|
|
289
|
+
self.assertEqual(chr(0x00010000), "\U00010000")
|
|
290
|
+
self.assertEqual(chr(0x00010001), "\U00010001")
|
|
291
|
+
self.assertEqual(chr(0x000FFFFE), "\U000FFFFE")
|
|
292
|
+
self.assertEqual(chr(0x000FFFFF), "\U000FFFFF")
|
|
293
|
+
self.assertEqual(chr(0x00100000), "\U00100000")
|
|
294
|
+
self.assertEqual(chr(0x00100001), "\U00100001")
|
|
295
|
+
self.assertEqual(chr(0x0010FFFE), "\U0010FFFE")
|
|
296
|
+
self.assertEqual(chr(0x0010FFFF), "\U0010FFFF")
|
|
297
|
+
self.assertRaises(ValueError, chr, -1)
|
|
298
|
+
self.assertRaises(ValueError, chr, 0x00110000)
|
|
299
|
+
self.assertRaises((OverflowError, ValueError), chr, 2**32)
|
|
300
|
+
|
|
301
|
+
def test_cmp(self):
|
|
302
|
+
self.assertTrue(not hasattr(builtins, "cmp"))
|
|
303
|
+
|
|
304
|
+
def test_compile(self):
|
|
305
|
+
compile('print(1)\n', '', 'exec')
|
|
306
|
+
bom = b'\xef\xbb\xbf'
|
|
307
|
+
compile(bom + b'print(1)\n', '', 'exec')
|
|
308
|
+
compile(source='pass', filename='?', mode='exec')
|
|
309
|
+
compile(dont_inherit=0, filename='tmp', source='0', mode='eval')
|
|
310
|
+
compile('pass', '?', dont_inherit=1, mode='exec')
|
|
311
|
+
compile(memoryview(b"text"), "name", "exec")
|
|
312
|
+
self.assertRaises(TypeError, compile)
|
|
313
|
+
self.assertRaises(ValueError, compile, 'print(42)\n', '<string>', 'badmode')
|
|
314
|
+
self.assertRaises(ValueError, compile, 'print(42)\n', '<string>', 'single', 0xff)
|
|
315
|
+
self.assertRaises(TypeError, compile, chr(0), 'f', 'exec')
|
|
316
|
+
self.assertRaises(TypeError, compile, 'pass', '?', 'exec',
|
|
317
|
+
mode='eval', source='0', filename='tmp')
|
|
318
|
+
compile('print("\xe5")\n', '', 'exec')
|
|
319
|
+
self.assertRaises(TypeError, compile, chr(0), 'f', 'exec')
|
|
320
|
+
self.assertRaises(ValueError, compile, str('a = 1'), 'f', 'bad')
|
|
321
|
+
|
|
322
|
+
# test the optimize argument
|
|
323
|
+
|
|
324
|
+
codestr = '''def f():
|
|
325
|
+
"""doc"""
|
|
326
|
+
try:
|
|
327
|
+
assert False
|
|
328
|
+
except AssertionError:
|
|
329
|
+
return (True, f.__doc__)
|
|
330
|
+
else:
|
|
331
|
+
return (False, f.__doc__)
|
|
332
|
+
'''
|
|
333
|
+
def f(): """doc"""
|
|
334
|
+
values = [(-1, __debug__, f.__doc__),
|
|
335
|
+
(0, True, 'doc'),
|
|
336
|
+
(1, False, 'doc'),
|
|
337
|
+
(2, False, None)]
|
|
338
|
+
for optval, debugval, docstring in values:
|
|
339
|
+
# test both direct compilation and compilation via AST
|
|
340
|
+
codeobjs = []
|
|
341
|
+
codeobjs.append(compile(codestr, "<test>", "exec", optimize=optval))
|
|
342
|
+
tree = ast.parse(codestr)
|
|
343
|
+
codeobjs.append(compile(tree, "<test>", "exec", optimize=optval))
|
|
344
|
+
for code in codeobjs:
|
|
345
|
+
ns = {}
|
|
346
|
+
exec(code, ns)
|
|
347
|
+
rv = ns['f']()
|
|
348
|
+
self.assertEqual(rv, (debugval, docstring))
|
|
349
|
+
|
|
350
|
+
def test_delattr(self):
|
|
351
|
+
sys.spam = 1
|
|
352
|
+
delattr(sys, 'spam')
|
|
353
|
+
self.assertRaises(TypeError, delattr)
|
|
354
|
+
|
|
355
|
+
def test_dir(self):
|
|
356
|
+
# dir(wrong number of arguments)
|
|
357
|
+
self.assertRaises(TypeError, dir, 42, 42)
|
|
358
|
+
|
|
359
|
+
# dir() - local scope
|
|
360
|
+
local_var = 1
|
|
361
|
+
self.assertIn('local_var', dir())
|
|
362
|
+
|
|
363
|
+
# dir(module)
|
|
364
|
+
self.assertIn('exit', dir(sys))
|
|
365
|
+
|
|
366
|
+
# dir(module_with_invalid__dict__)
|
|
367
|
+
class Foo(types.ModuleType):
|
|
368
|
+
__dict__ = 8
|
|
369
|
+
f = Foo("foo")
|
|
370
|
+
self.assertRaises(TypeError, dir, f)
|
|
371
|
+
|
|
372
|
+
# dir(type)
|
|
373
|
+
self.assertIn("strip", dir(str))
|
|
374
|
+
self.assertNotIn("__mro__", dir(str))
|
|
375
|
+
|
|
376
|
+
# dir(obj)
|
|
377
|
+
class Foo(object):
|
|
378
|
+
def __init__(self):
|
|
379
|
+
self.x = 7
|
|
380
|
+
self.y = 8
|
|
381
|
+
self.z = 9
|
|
382
|
+
f = Foo()
|
|
383
|
+
self.assertIn("y", dir(f))
|
|
384
|
+
|
|
385
|
+
# dir(obj_no__dict__)
|
|
386
|
+
class Foo(object):
|
|
387
|
+
__slots__ = []
|
|
388
|
+
f = Foo()
|
|
389
|
+
self.assertIn("__repr__", dir(f))
|
|
390
|
+
|
|
391
|
+
# dir(obj_no__class__with__dict__)
|
|
392
|
+
# (an ugly trick to cause getattr(f, "__class__") to fail)
|
|
393
|
+
class Foo(object):
|
|
394
|
+
__slots__ = ["__class__", "__dict__"]
|
|
395
|
+
def __init__(self):
|
|
396
|
+
self.bar = "wow"
|
|
397
|
+
f = Foo()
|
|
398
|
+
self.assertNotIn("__repr__", dir(f))
|
|
399
|
+
self.assertIn("bar", dir(f))
|
|
400
|
+
|
|
401
|
+
# dir(obj_using __dir__)
|
|
402
|
+
class Foo(object):
|
|
403
|
+
def __dir__(self):
|
|
404
|
+
return ["kan", "ga", "roo"]
|
|
405
|
+
f = Foo()
|
|
406
|
+
self.assertTrue(dir(f) == ["ga", "kan", "roo"])
|
|
407
|
+
|
|
408
|
+
# dir(obj__dir__tuple)
|
|
409
|
+
class Foo(object):
|
|
410
|
+
def __dir__(self):
|
|
411
|
+
return ("b", "c", "a")
|
|
412
|
+
res = dir(Foo())
|
|
413
|
+
self.assertIsInstance(res, list)
|
|
414
|
+
self.assertTrue(res == ["a", "b", "c"])
|
|
415
|
+
|
|
416
|
+
# dir(obj__dir__not_sequence)
|
|
417
|
+
class Foo(object):
|
|
418
|
+
def __dir__(self):
|
|
419
|
+
return 7
|
|
420
|
+
f = Foo()
|
|
421
|
+
self.assertRaises(TypeError, dir, f)
|
|
422
|
+
|
|
423
|
+
# dir(traceback)
|
|
424
|
+
try:
|
|
425
|
+
raise IndexError
|
|
426
|
+
except:
|
|
427
|
+
self.assertEqual(len(dir(sys.exc_info()[2])), 4)
|
|
428
|
+
|
|
429
|
+
# test that object has a __dir__()
|
|
430
|
+
self.assertEqual(sorted([].__dir__()), dir([]))
|
|
431
|
+
|
|
432
|
+
def test_divmod(self):
|
|
433
|
+
self.assertEqual(divmod(12, 7), (1, 5))
|
|
434
|
+
self.assertEqual(divmod(-12, 7), (-2, 2))
|
|
435
|
+
self.assertEqual(divmod(12, -7), (-2, -2))
|
|
436
|
+
self.assertEqual(divmod(-12, -7), (1, -5))
|
|
437
|
+
|
|
438
|
+
self.assertEqual(divmod(-sys.maxsize-1, -1), (sys.maxsize+1, 0))
|
|
439
|
+
|
|
440
|
+
for num, denom, exp_result in [ (3.25, 1.0, (3.0, 0.25)),
|
|
441
|
+
(-3.25, 1.0, (-4.0, 0.75)),
|
|
442
|
+
(3.25, -1.0, (-4.0, -0.75)),
|
|
443
|
+
(-3.25, -1.0, (3.0, -0.25))]:
|
|
444
|
+
result = divmod(num, denom)
|
|
445
|
+
self.assertAlmostEqual(result[0], exp_result[0])
|
|
446
|
+
self.assertAlmostEqual(result[1], exp_result[1])
|
|
447
|
+
|
|
448
|
+
self.assertRaises(TypeError, divmod)
|
|
449
|
+
|
|
450
|
+
def test_eval(self):
|
|
451
|
+
self.assertEqual(eval('1+1'), 2)
|
|
452
|
+
self.assertEqual(eval(' 1+1\n'), 2)
|
|
453
|
+
globals = {'a': 1, 'b': 2}
|
|
454
|
+
locals = {'b': 200, 'c': 300}
|
|
455
|
+
self.assertEqual(eval('a', globals) , 1)
|
|
456
|
+
self.assertEqual(eval('a', globals, locals), 1)
|
|
457
|
+
self.assertEqual(eval('b', globals, locals), 200)
|
|
458
|
+
self.assertEqual(eval('c', globals, locals), 300)
|
|
459
|
+
globals = {'a': 1, 'b': 2}
|
|
460
|
+
locals = {'b': 200, 'c': 300}
|
|
461
|
+
bom = b'\xef\xbb\xbf'
|
|
462
|
+
self.assertEqual(eval(bom + b'a', globals, locals), 1)
|
|
463
|
+
self.assertEqual(eval('"\xe5"', globals), "\xe5")
|
|
464
|
+
self.assertRaises(TypeError, eval)
|
|
465
|
+
self.assertRaises(TypeError, eval, ())
|
|
466
|
+
self.assertRaises(SyntaxError, eval, bom[:2] + b'a')
|
|
467
|
+
|
|
468
|
+
class X:
|
|
469
|
+
def __getitem__(self, key):
|
|
470
|
+
raise ValueError
|
|
471
|
+
self.assertRaises(ValueError, eval, "foo", {}, X())
|
|
472
|
+
|
|
473
|
+
def test_general_eval(self):
|
|
474
|
+
# Tests that general mappings can be used for the locals argument
|
|
475
|
+
|
|
476
|
+
class M:
|
|
477
|
+
"Test mapping interface versus possible calls from eval()."
|
|
478
|
+
def __getitem__(self, key):
|
|
479
|
+
if key == 'a':
|
|
480
|
+
return 12
|
|
481
|
+
raise KeyError
|
|
482
|
+
def keys(self):
|
|
483
|
+
return list('xyz')
|
|
484
|
+
|
|
485
|
+
m = M()
|
|
486
|
+
g = globals()
|
|
487
|
+
self.assertEqual(eval('a', g, m), 12)
|
|
488
|
+
self.assertRaises(NameError, eval, 'b', g, m)
|
|
489
|
+
self.assertEqual(eval('dir()', g, m), list('xyz'))
|
|
490
|
+
self.assertEqual(eval('globals()', g, m), g)
|
|
491
|
+
self.assertEqual(eval('locals()', g, m), m)
|
|
492
|
+
self.assertRaises(TypeError, eval, 'a', m)
|
|
493
|
+
class A:
|
|
494
|
+
"Non-mapping"
|
|
495
|
+
pass
|
|
496
|
+
m = A()
|
|
497
|
+
self.assertRaises(TypeError, eval, 'a', g, m)
|
|
498
|
+
|
|
499
|
+
# Verify that dict subclasses work as well
|
|
500
|
+
class D(dict):
|
|
501
|
+
def __getitem__(self, key):
|
|
502
|
+
if key == 'a':
|
|
503
|
+
return 12
|
|
504
|
+
return dict.__getitem__(self, key)
|
|
505
|
+
def keys(self):
|
|
506
|
+
return list('xyz')
|
|
507
|
+
|
|
508
|
+
d = D()
|
|
509
|
+
self.assertEqual(eval('a', g, d), 12)
|
|
510
|
+
self.assertRaises(NameError, eval, 'b', g, d)
|
|
511
|
+
self.assertEqual(eval('dir()', g, d), list('xyz'))
|
|
512
|
+
self.assertEqual(eval('globals()', g, d), g)
|
|
513
|
+
self.assertEqual(eval('locals()', g, d), d)
|
|
514
|
+
|
|
515
|
+
# Verify locals stores (used by list comps)
|
|
516
|
+
eval('[locals() for i in (2,3)]', g, d)
|
|
517
|
+
eval('[locals() for i in (2,3)]', g, collections.UserDict())
|
|
518
|
+
|
|
519
|
+
class SpreadSheet:
|
|
520
|
+
"Sample application showing nested, calculated lookups."
|
|
521
|
+
_cells = {}
|
|
522
|
+
def __setitem__(self, key, formula):
|
|
523
|
+
self._cells[key] = formula
|
|
524
|
+
def __getitem__(self, key):
|
|
525
|
+
return eval(self._cells[key], globals(), self)
|
|
526
|
+
|
|
527
|
+
ss = SpreadSheet()
|
|
528
|
+
ss['a1'] = '5'
|
|
529
|
+
ss['a2'] = 'a1*6'
|
|
530
|
+
ss['a3'] = 'a2*7'
|
|
531
|
+
self.assertEqual(ss['a3'], 210)
|
|
532
|
+
|
|
533
|
+
# Verify that dir() catches a non-list returned by eval
|
|
534
|
+
# SF bug #1004669
|
|
535
|
+
class C:
|
|
536
|
+
def __getitem__(self, item):
|
|
537
|
+
raise KeyError(item)
|
|
538
|
+
def keys(self):
|
|
539
|
+
return 1 # used to be 'a' but that's no longer an error
|
|
540
|
+
self.assertRaises(TypeError, eval, 'dir()', globals(), C())
|
|
541
|
+
|
|
542
|
+
def test_exec(self):
|
|
543
|
+
g = {}
|
|
544
|
+
exec('z = 1', g)
|
|
545
|
+
if '__builtins__' in g:
|
|
546
|
+
del g['__builtins__']
|
|
547
|
+
self.assertEqual(g, {'z': 1})
|
|
548
|
+
|
|
549
|
+
exec('z = 1+1', g)
|
|
550
|
+
if '__builtins__' in g:
|
|
551
|
+
del g['__builtins__']
|
|
552
|
+
self.assertEqual(g, {'z': 2})
|
|
553
|
+
g = {}
|
|
554
|
+
l = {}
|
|
555
|
+
|
|
556
|
+
with check_warnings():
|
|
557
|
+
warnings.filterwarnings("ignore", "global statement",
|
|
558
|
+
module="<string>")
|
|
559
|
+
exec('global a; a = 1; b = 2', g, l)
|
|
560
|
+
if '__builtins__' in g:
|
|
561
|
+
del g['__builtins__']
|
|
562
|
+
if '__builtins__' in l:
|
|
563
|
+
del l['__builtins__']
|
|
564
|
+
self.assertEqual((g, l), ({'a': 1}, {'b': 2}))
|
|
565
|
+
|
|
566
|
+
def test_exec_globals(self):
|
|
567
|
+
code = compile("print('Hello World!')", "", "exec")
|
|
568
|
+
# no builtin function
|
|
569
|
+
self.assertRaisesRegex(NameError, "name 'print' is not defined",
|
|
570
|
+
exec, code, {'__builtins__': {}})
|
|
571
|
+
# __builtins__ must be a mapping type
|
|
572
|
+
self.assertRaises(TypeError,
|
|
573
|
+
exec, code, {'__builtins__': 123})
|
|
574
|
+
|
|
575
|
+
# no __build_class__ function
|
|
576
|
+
code = compile("class A: pass", "", "exec")
|
|
577
|
+
self.assertRaisesRegex(NameError, "__build_class__ not found",
|
|
578
|
+
exec, code, {'__builtins__': {}})
|
|
579
|
+
|
|
580
|
+
class frozendict_error(Exception):
|
|
581
|
+
pass
|
|
582
|
+
|
|
583
|
+
class frozendict(dict):
|
|
584
|
+
def __setitem__(self, key, value):
|
|
585
|
+
raise frozendict_error("frozendict is readonly")
|
|
586
|
+
|
|
587
|
+
# read-only builtins
|
|
588
|
+
if isinstance(__builtins__, types.ModuleType):
|
|
589
|
+
frozen_builtins = frozendict(__builtins__.__dict__)
|
|
590
|
+
else:
|
|
591
|
+
frozen_builtins = frozendict(__builtins__)
|
|
592
|
+
code = compile("__builtins__['superglobal']=2; print(superglobal)", "test", "exec")
|
|
593
|
+
self.assertRaises(frozendict_error,
|
|
594
|
+
exec, code, {'__builtins__': frozen_builtins})
|
|
595
|
+
|
|
596
|
+
# read-only globals
|
|
597
|
+
namespace = frozendict({})
|
|
598
|
+
code = compile("x=1", "test", "exec")
|
|
599
|
+
self.assertRaises(frozendict_error,
|
|
600
|
+
exec, code, namespace)
|
|
601
|
+
|
|
602
|
+
def test_exec_redirected(self):
|
|
603
|
+
savestdout = sys.stdout
|
|
604
|
+
sys.stdout = None # Whatever that cannot flush()
|
|
605
|
+
try:
|
|
606
|
+
# Used to raise SystemError('error return without exception set')
|
|
607
|
+
exec('a')
|
|
608
|
+
except NameError:
|
|
609
|
+
pass
|
|
610
|
+
finally:
|
|
611
|
+
sys.stdout = savestdout
|
|
612
|
+
|
|
613
|
+
def test_filter(self):
|
|
614
|
+
self.assertEqual(list(filter(lambda c: 'a' <= c <= 'z', 'Hello World')), list('elloorld'))
|
|
615
|
+
self.assertEqual(list(filter(None, [1, 'hello', [], [3], '', None, 9, 0])), [1, 'hello', [3], 9])
|
|
616
|
+
self.assertEqual(list(filter(lambda x: x > 0, [1, -3, 9, 0, 2])), [1, 9, 2])
|
|
617
|
+
self.assertEqual(list(filter(None, Squares(10))), [1, 4, 9, 16, 25, 36, 49, 64, 81])
|
|
618
|
+
self.assertEqual(list(filter(lambda x: x%2, Squares(10))), [1, 9, 25, 49, 81])
|
|
619
|
+
def identity(item):
|
|
620
|
+
return 1
|
|
621
|
+
filter(identity, Squares(5))
|
|
622
|
+
self.assertRaises(TypeError, filter)
|
|
623
|
+
class BadSeq(object):
|
|
624
|
+
def __getitem__(self, index):
|
|
625
|
+
if index<4:
|
|
626
|
+
return 42
|
|
627
|
+
raise ValueError
|
|
628
|
+
self.assertRaises(ValueError, list, filter(lambda x: x, BadSeq()))
|
|
629
|
+
def badfunc():
|
|
630
|
+
pass
|
|
631
|
+
self.assertRaises(TypeError, list, filter(badfunc, range(5)))
|
|
632
|
+
|
|
633
|
+
# test bltinmodule.c::filtertuple()
|
|
634
|
+
self.assertEqual(list(filter(None, (1, 2))), [1, 2])
|
|
635
|
+
self.assertEqual(list(filter(lambda x: x>=3, (1, 2, 3, 4))), [3, 4])
|
|
636
|
+
self.assertRaises(TypeError, list, filter(42, (1, 2)))
|
|
637
|
+
|
|
638
|
+
def test_filter_pickle(self):
|
|
639
|
+
f1 = filter(filter_char, "abcdeabcde")
|
|
640
|
+
f2 = filter(filter_char, "abcdeabcde")
|
|
641
|
+
self.check_iter_pickle(f1, list(f2))
|
|
642
|
+
|
|
643
|
+
def test_getattr(self):
|
|
644
|
+
self.assertTrue(getattr(sys, 'stdout') is sys.stdout)
|
|
645
|
+
self.assertRaises(TypeError, getattr, sys, 1)
|
|
646
|
+
self.assertRaises(TypeError, getattr, sys, 1, "foo")
|
|
647
|
+
self.assertRaises(TypeError, getattr)
|
|
648
|
+
self.assertRaises(AttributeError, getattr, sys, chr(sys.maxunicode))
|
|
649
|
+
# unicode surrogates are not encodable to the default encoding (utf8)
|
|
650
|
+
self.assertRaises(AttributeError, getattr, 1, "\uDAD1\uD51E")
|
|
651
|
+
|
|
652
|
+
def test_hasattr(self):
|
|
653
|
+
self.assertTrue(hasattr(sys, 'stdout'))
|
|
654
|
+
self.assertRaises(TypeError, hasattr, sys, 1)
|
|
655
|
+
self.assertRaises(TypeError, hasattr)
|
|
656
|
+
self.assertEqual(False, hasattr(sys, chr(sys.maxunicode)))
|
|
657
|
+
|
|
658
|
+
# Check that hasattr propagates all exceptions outside of
|
|
659
|
+
# AttributeError.
|
|
660
|
+
class A:
|
|
661
|
+
def __getattr__(self, what):
|
|
662
|
+
raise SystemExit
|
|
663
|
+
self.assertRaises(SystemExit, hasattr, A(), "b")
|
|
664
|
+
class B:
|
|
665
|
+
def __getattr__(self, what):
|
|
666
|
+
raise ValueError
|
|
667
|
+
self.assertRaises(ValueError, hasattr, B(), "b")
|
|
668
|
+
|
|
669
|
+
def test_hash(self):
|
|
670
|
+
hash(None)
|
|
671
|
+
self.assertEqual(hash(1), hash(1))
|
|
672
|
+
self.assertEqual(hash(1), hash(1.0))
|
|
673
|
+
hash('spam')
|
|
674
|
+
self.assertEqual(hash('spam'), hash(b'spam'))
|
|
675
|
+
hash((0,1,2,3))
|
|
676
|
+
def f(): pass
|
|
677
|
+
self.assertRaises(TypeError, hash, [])
|
|
678
|
+
self.assertRaises(TypeError, hash, {})
|
|
679
|
+
# Bug 1536021: Allow hash to return long objects
|
|
680
|
+
class X:
|
|
681
|
+
def __hash__(self):
|
|
682
|
+
return 2**100
|
|
683
|
+
self.assertEqual(type(hash(X())), int)
|
|
684
|
+
class Z(int):
|
|
685
|
+
def __hash__(self):
|
|
686
|
+
return self
|
|
687
|
+
self.assertEqual(hash(Z(42)), hash(42))
|
|
688
|
+
|
|
689
|
+
def test_hex(self):
|
|
690
|
+
self.assertEqual(hex(16), '0x10')
|
|
691
|
+
self.assertEqual(hex(-16), '-0x10')
|
|
692
|
+
self.assertRaises(TypeError, hex, {})
|
|
693
|
+
|
|
694
|
+
def test_id(self):
|
|
695
|
+
id(None)
|
|
696
|
+
id(1)
|
|
697
|
+
id(1.0)
|
|
698
|
+
id('spam')
|
|
699
|
+
id((0,1,2,3))
|
|
700
|
+
id([0,1,2,3])
|
|
701
|
+
id({'spam': 1, 'eggs': 2, 'ham': 3})
|
|
702
|
+
|
|
703
|
+
# Test input() later, alphabetized as if it were raw_input
|
|
704
|
+
|
|
705
|
+
def test_iter(self):
|
|
706
|
+
self.assertRaises(TypeError, iter)
|
|
707
|
+
self.assertRaises(TypeError, iter, 42, 42)
|
|
708
|
+
lists = [("1", "2"), ["1", "2"], "12"]
|
|
709
|
+
for l in lists:
|
|
710
|
+
i = iter(l)
|
|
711
|
+
self.assertEqual(next(i), '1')
|
|
712
|
+
self.assertEqual(next(i), '2')
|
|
713
|
+
self.assertRaises(StopIteration, next, i)
|
|
714
|
+
|
|
715
|
+
def test_isinstance(self):
|
|
716
|
+
class C:
|
|
717
|
+
pass
|
|
718
|
+
class D(C):
|
|
719
|
+
pass
|
|
720
|
+
class E:
|
|
721
|
+
pass
|
|
722
|
+
c = C()
|
|
723
|
+
d = D()
|
|
724
|
+
e = E()
|
|
725
|
+
self.assertTrue(isinstance(c, C))
|
|
726
|
+
self.assertTrue(isinstance(d, C))
|
|
727
|
+
self.assertTrue(not isinstance(e, C))
|
|
728
|
+
self.assertTrue(not isinstance(c, D))
|
|
729
|
+
self.assertTrue(not isinstance('foo', E))
|
|
730
|
+
self.assertRaises(TypeError, isinstance, E, 'foo')
|
|
731
|
+
self.assertRaises(TypeError, isinstance)
|
|
732
|
+
|
|
733
|
+
def test_issubclass(self):
|
|
734
|
+
class C:
|
|
735
|
+
pass
|
|
736
|
+
class D(C):
|
|
737
|
+
pass
|
|
738
|
+
class E:
|
|
739
|
+
pass
|
|
740
|
+
c = C()
|
|
741
|
+
d = D()
|
|
742
|
+
e = E()
|
|
743
|
+
self.assertTrue(issubclass(D, C))
|
|
744
|
+
self.assertTrue(issubclass(C, C))
|
|
745
|
+
self.assertTrue(not issubclass(C, D))
|
|
746
|
+
self.assertRaises(TypeError, issubclass, 'foo', E)
|
|
747
|
+
self.assertRaises(TypeError, issubclass, E, 'foo')
|
|
748
|
+
self.assertRaises(TypeError, issubclass)
|
|
749
|
+
|
|
750
|
+
def test_len(self):
|
|
751
|
+
self.assertEqual(len('123'), 3)
|
|
752
|
+
self.assertEqual(len(()), 0)
|
|
753
|
+
self.assertEqual(len((1, 2, 3, 4)), 4)
|
|
754
|
+
self.assertEqual(len([1, 2, 3, 4]), 4)
|
|
755
|
+
self.assertEqual(len({}), 0)
|
|
756
|
+
self.assertEqual(len({'a':1, 'b': 2}), 2)
|
|
757
|
+
class BadSeq:
|
|
758
|
+
def __len__(self):
|
|
759
|
+
raise ValueError
|
|
760
|
+
self.assertRaises(ValueError, len, BadSeq())
|
|
761
|
+
class InvalidLen:
|
|
762
|
+
def __len__(self):
|
|
763
|
+
return None
|
|
764
|
+
self.assertRaises(TypeError, len, InvalidLen())
|
|
765
|
+
class FloatLen:
|
|
766
|
+
def __len__(self):
|
|
767
|
+
return 4.5
|
|
768
|
+
self.assertRaises(TypeError, len, FloatLen())
|
|
769
|
+
class HugeLen:
|
|
770
|
+
def __len__(self):
|
|
771
|
+
return sys.maxsize + 1
|
|
772
|
+
self.assertRaises(OverflowError, len, HugeLen())
|
|
773
|
+
class NoLenMethod(object): pass
|
|
774
|
+
self.assertRaises(TypeError, len, NoLenMethod())
|
|
775
|
+
|
|
776
|
+
def test_map(self):
|
|
777
|
+
self.assertEqual(
|
|
778
|
+
list(map(lambda x: x*x, range(1,4))),
|
|
779
|
+
[1, 4, 9]
|
|
780
|
+
)
|
|
781
|
+
try:
|
|
782
|
+
from math import sqrt
|
|
783
|
+
except ImportError:
|
|
784
|
+
def sqrt(x):
|
|
785
|
+
return pow(x, 0.5)
|
|
786
|
+
self.assertEqual(
|
|
787
|
+
list(map(lambda x: list(map(sqrt, x)), [[16, 4], [81, 9]])),
|
|
788
|
+
[[4.0, 2.0], [9.0, 3.0]]
|
|
789
|
+
)
|
|
790
|
+
self.assertEqual(
|
|
791
|
+
list(map(lambda x, y: x+y, [1,3,2], [9,1,4])),
|
|
792
|
+
[10, 4, 6]
|
|
793
|
+
)
|
|
794
|
+
|
|
795
|
+
def plus(*v):
|
|
796
|
+
accu = 0
|
|
797
|
+
for i in v: accu = accu + i
|
|
798
|
+
return accu
|
|
799
|
+
self.assertEqual(
|
|
800
|
+
list(map(plus, [1, 3, 7])),
|
|
801
|
+
[1, 3, 7]
|
|
802
|
+
)
|
|
803
|
+
self.assertEqual(
|
|
804
|
+
list(map(plus, [1, 3, 7], [4, 9, 2])),
|
|
805
|
+
[1+4, 3+9, 7+2]
|
|
806
|
+
)
|
|
807
|
+
self.assertEqual(
|
|
808
|
+
list(map(plus, [1, 3, 7], [4, 9, 2], [1, 1, 0])),
|
|
809
|
+
[1+4+1, 3+9+1, 7+2+0]
|
|
810
|
+
)
|
|
811
|
+
self.assertEqual(
|
|
812
|
+
list(map(int, Squares(10))),
|
|
813
|
+
[0, 1, 4, 9, 16, 25, 36, 49, 64, 81]
|
|
814
|
+
)
|
|
815
|
+
def Max(a, b):
|
|
816
|
+
if a is None:
|
|
817
|
+
return b
|
|
818
|
+
if b is None:
|
|
819
|
+
return a
|
|
820
|
+
return max(a, b)
|
|
821
|
+
self.assertEqual(
|
|
822
|
+
list(map(Max, Squares(3), Squares(2))),
|
|
823
|
+
[0, 1]
|
|
824
|
+
)
|
|
825
|
+
self.assertRaises(TypeError, map)
|
|
826
|
+
self.assertRaises(TypeError, map, lambda x: x, 42)
|
|
827
|
+
class BadSeq:
|
|
828
|
+
def __iter__(self):
|
|
829
|
+
raise ValueError
|
|
830
|
+
yield None
|
|
831
|
+
self.assertRaises(ValueError, list, map(lambda x: x, BadSeq()))
|
|
832
|
+
def badfunc(x):
|
|
833
|
+
raise RuntimeError
|
|
834
|
+
self.assertRaises(RuntimeError, list, map(badfunc, range(5)))
|
|
835
|
+
|
|
836
|
+
def test_map_pickle(self):
|
|
837
|
+
m1 = map(map_char, "Is this the real life?")
|
|
838
|
+
m2 = map(map_char, "Is this the real life?")
|
|
839
|
+
self.check_iter_pickle(m1, list(m2))
|
|
840
|
+
|
|
841
|
+
def test_max(self):
|
|
842
|
+
self.assertEqual(max('123123'), '3')
|
|
843
|
+
self.assertEqual(max(1, 2, 3), 3)
|
|
844
|
+
self.assertEqual(max((1, 2, 3, 1, 2, 3)), 3)
|
|
845
|
+
self.assertEqual(max([1, 2, 3, 1, 2, 3]), 3)
|
|
846
|
+
|
|
847
|
+
self.assertEqual(max(1, 2, 3.0), 3.0)
|
|
848
|
+
self.assertEqual(max(1, 2.0, 3), 3)
|
|
849
|
+
self.assertEqual(max(1.0, 2, 3), 3)
|
|
850
|
+
|
|
851
|
+
self.assertRaises(TypeError, max)
|
|
852
|
+
self.assertRaises(TypeError, max, 42)
|
|
853
|
+
self.assertRaises(ValueError, max, ())
|
|
854
|
+
class BadSeq:
|
|
855
|
+
def __getitem__(self, index):
|
|
856
|
+
raise ValueError
|
|
857
|
+
self.assertRaises(ValueError, max, BadSeq())
|
|
858
|
+
|
|
859
|
+
for stmt in (
|
|
860
|
+
"max(key=int)", # no args
|
|
861
|
+
"max(default=None)",
|
|
862
|
+
"max(1, 2, default=None)", # require container for default
|
|
863
|
+
"max(default=None, key=int)",
|
|
864
|
+
"max(1, key=int)", # single arg not iterable
|
|
865
|
+
"max(1, 2, keystone=int)", # wrong keyword
|
|
866
|
+
"max(1, 2, key=int, abc=int)", # two many keywords
|
|
867
|
+
"max(1, 2, key=1)", # keyfunc is not callable
|
|
868
|
+
):
|
|
869
|
+
try:
|
|
870
|
+
exec(stmt, globals())
|
|
871
|
+
except TypeError:
|
|
872
|
+
pass
|
|
873
|
+
else:
|
|
874
|
+
self.fail(stmt)
|
|
875
|
+
|
|
876
|
+
self.assertEqual(max((1,), key=neg), 1) # one elem iterable
|
|
877
|
+
self.assertEqual(max((1,2), key=neg), 1) # two elem iterable
|
|
878
|
+
self.assertEqual(max(1, 2, key=neg), 1) # two elems
|
|
879
|
+
|
|
880
|
+
self.assertEqual(max((), default=None), None) # zero elem iterable
|
|
881
|
+
self.assertEqual(max((1,), default=None), 1) # one elem iterable
|
|
882
|
+
self.assertEqual(max((1,2), default=None), 2) # two elem iterable
|
|
883
|
+
|
|
884
|
+
self.assertEqual(max((), default=1, key=neg), 1)
|
|
885
|
+
self.assertEqual(max((1, 2), default=3, key=neg), 1)
|
|
886
|
+
|
|
887
|
+
data = [random.randrange(200) for i in range(100)]
|
|
888
|
+
keys = dict((elem, random.randrange(50)) for elem in data)
|
|
889
|
+
f = keys.__getitem__
|
|
890
|
+
self.assertEqual(max(data, key=f),
|
|
891
|
+
sorted(reversed(data), key=f)[-1])
|
|
892
|
+
|
|
893
|
+
def test_min(self):
|
|
894
|
+
self.assertEqual(min('123123'), '1')
|
|
895
|
+
self.assertEqual(min(1, 2, 3), 1)
|
|
896
|
+
self.assertEqual(min((1, 2, 3, 1, 2, 3)), 1)
|
|
897
|
+
self.assertEqual(min([1, 2, 3, 1, 2, 3]), 1)
|
|
898
|
+
|
|
899
|
+
self.assertEqual(min(1, 2, 3.0), 1)
|
|
900
|
+
self.assertEqual(min(1, 2.0, 3), 1)
|
|
901
|
+
self.assertEqual(min(1.0, 2, 3), 1.0)
|
|
902
|
+
|
|
903
|
+
self.assertRaises(TypeError, min)
|
|
904
|
+
self.assertRaises(TypeError, min, 42)
|
|
905
|
+
self.assertRaises(ValueError, min, ())
|
|
906
|
+
class BadSeq:
|
|
907
|
+
def __getitem__(self, index):
|
|
908
|
+
raise ValueError
|
|
909
|
+
self.assertRaises(ValueError, min, BadSeq())
|
|
910
|
+
|
|
911
|
+
for stmt in (
|
|
912
|
+
"min(key=int)", # no args
|
|
913
|
+
"min(default=None)",
|
|
914
|
+
"min(1, 2, default=None)", # require container for default
|
|
915
|
+
"min(default=None, key=int)",
|
|
916
|
+
"min(1, key=int)", # single arg not iterable
|
|
917
|
+
"min(1, 2, keystone=int)", # wrong keyword
|
|
918
|
+
"min(1, 2, key=int, abc=int)", # two many keywords
|
|
919
|
+
"min(1, 2, key=1)", # keyfunc is not callable
|
|
920
|
+
):
|
|
921
|
+
try:
|
|
922
|
+
exec(stmt, globals())
|
|
923
|
+
except TypeError:
|
|
924
|
+
pass
|
|
925
|
+
else:
|
|
926
|
+
self.fail(stmt)
|
|
927
|
+
|
|
928
|
+
self.assertEqual(min((1,), key=neg), 1) # one elem iterable
|
|
929
|
+
self.assertEqual(min((1,2), key=neg), 2) # two elem iterable
|
|
930
|
+
self.assertEqual(min(1, 2, key=neg), 2) # two elems
|
|
931
|
+
|
|
932
|
+
self.assertEqual(min((), default=None), None) # zero elem iterable
|
|
933
|
+
self.assertEqual(min((1,), default=None), 1) # one elem iterable
|
|
934
|
+
self.assertEqual(min((1,2), default=None), 1) # two elem iterable
|
|
935
|
+
|
|
936
|
+
self.assertEqual(min((), default=1, key=neg), 1)
|
|
937
|
+
self.assertEqual(min((1, 2), default=1, key=neg), 2)
|
|
938
|
+
|
|
939
|
+
data = [random.randrange(200) for i in range(100)]
|
|
940
|
+
keys = dict((elem, random.randrange(50)) for elem in data)
|
|
941
|
+
f = keys.__getitem__
|
|
942
|
+
self.assertEqual(min(data, key=f),
|
|
943
|
+
sorted(data, key=f)[0])
|
|
944
|
+
|
|
945
|
+
def test_next(self):
|
|
946
|
+
it = iter(range(2))
|
|
947
|
+
self.assertEqual(next(it), 0)
|
|
948
|
+
self.assertEqual(next(it), 1)
|
|
949
|
+
self.assertRaises(StopIteration, next, it)
|
|
950
|
+
self.assertRaises(StopIteration, next, it)
|
|
951
|
+
self.assertEqual(next(it, 42), 42)
|
|
952
|
+
|
|
953
|
+
class Iter(object):
|
|
954
|
+
def __iter__(self):
|
|
955
|
+
return self
|
|
956
|
+
def __next__(self):
|
|
957
|
+
raise StopIteration
|
|
958
|
+
|
|
959
|
+
it = iter(Iter())
|
|
960
|
+
self.assertEqual(next(it, 42), 42)
|
|
961
|
+
self.assertRaises(StopIteration, next, it)
|
|
962
|
+
|
|
963
|
+
def gen():
|
|
964
|
+
yield 1
|
|
965
|
+
return
|
|
966
|
+
|
|
967
|
+
it = gen()
|
|
968
|
+
self.assertEqual(next(it), 1)
|
|
969
|
+
self.assertRaises(StopIteration, next, it)
|
|
970
|
+
self.assertEqual(next(it, 42), 42)
|
|
971
|
+
|
|
972
|
+
def test_oct(self):
|
|
973
|
+
self.assertEqual(oct(100), '0o144')
|
|
974
|
+
self.assertEqual(oct(-100), '-0o144')
|
|
975
|
+
self.assertRaises(TypeError, oct, ())
|
|
976
|
+
|
|
977
|
+
def write_testfile(self):
|
|
978
|
+
# NB the first 4 lines are also used to test input, below
|
|
979
|
+
fp = open(TESTFN, 'w')
|
|
980
|
+
self.addCleanup(unlink, TESTFN)
|
|
981
|
+
with fp:
|
|
982
|
+
fp.write('1+1\n')
|
|
983
|
+
fp.write('The quick brown fox jumps over the lazy dog')
|
|
984
|
+
fp.write('.\n')
|
|
985
|
+
fp.write('Dear John\n')
|
|
986
|
+
fp.write('XXX'*100)
|
|
987
|
+
fp.write('YYY'*100)
|
|
988
|
+
|
|
989
|
+
def test_open(self):
|
|
990
|
+
self.write_testfile()
|
|
991
|
+
fp = open(TESTFN, 'r')
|
|
992
|
+
with fp:
|
|
993
|
+
self.assertEqual(fp.readline(4), '1+1\n')
|
|
994
|
+
self.assertEqual(fp.readline(), 'The quick brown fox jumps over the lazy dog.\n')
|
|
995
|
+
self.assertEqual(fp.readline(4), 'Dear')
|
|
996
|
+
self.assertEqual(fp.readline(100), ' John\n')
|
|
997
|
+
self.assertEqual(fp.read(300), 'XXX'*100)
|
|
998
|
+
self.assertEqual(fp.read(1000), 'YYY'*100)
|
|
999
|
+
|
|
1000
|
+
def test_open_default_encoding(self):
|
|
1001
|
+
old_environ = dict(os.environ)
|
|
1002
|
+
try:
|
|
1003
|
+
# try to get a user preferred encoding different than the current
|
|
1004
|
+
# locale encoding to check that open() uses the current locale
|
|
1005
|
+
# encoding and not the user preferred encoding
|
|
1006
|
+
for key in ('LC_ALL', 'LANG', 'LC_CTYPE'):
|
|
1007
|
+
if key in os.environ:
|
|
1008
|
+
del os.environ[key]
|
|
1009
|
+
|
|
1010
|
+
self.write_testfile()
|
|
1011
|
+
current_locale_encoding = locale.getpreferredencoding(False)
|
|
1012
|
+
fp = open(TESTFN, 'w')
|
|
1013
|
+
with fp:
|
|
1014
|
+
self.assertEqual(fp.encoding, current_locale_encoding)
|
|
1015
|
+
finally:
|
|
1016
|
+
os.environ.clear()
|
|
1017
|
+
os.environ.update(old_environ)
|
|
1018
|
+
|
|
1019
|
+
def test_open_non_inheritable(self):
|
|
1020
|
+
fileobj = open(__file__)
|
|
1021
|
+
with fileobj:
|
|
1022
|
+
self.assertFalse(os.get_inheritable(fileobj.fileno()))
|
|
1023
|
+
|
|
1024
|
+
def test_ord(self):
|
|
1025
|
+
self.assertEqual(ord(' '), 32)
|
|
1026
|
+
self.assertEqual(ord('A'), 65)
|
|
1027
|
+
self.assertEqual(ord('a'), 97)
|
|
1028
|
+
self.assertEqual(ord('\x80'), 128)
|
|
1029
|
+
self.assertEqual(ord('\xff'), 255)
|
|
1030
|
+
|
|
1031
|
+
self.assertEqual(ord(b' '), 32)
|
|
1032
|
+
self.assertEqual(ord(b'A'), 65)
|
|
1033
|
+
self.assertEqual(ord(b'a'), 97)
|
|
1034
|
+
self.assertEqual(ord(b'\x80'), 128)
|
|
1035
|
+
self.assertEqual(ord(b'\xff'), 255)
|
|
1036
|
+
|
|
1037
|
+
self.assertEqual(ord(chr(sys.maxunicode)), sys.maxunicode)
|
|
1038
|
+
self.assertRaises(TypeError, ord, 42)
|
|
1039
|
+
|
|
1040
|
+
self.assertEqual(ord(chr(0x10FFFF)), 0x10FFFF)
|
|
1041
|
+
self.assertEqual(ord("\U0000FFFF"), 0x0000FFFF)
|
|
1042
|
+
self.assertEqual(ord("\U00010000"), 0x00010000)
|
|
1043
|
+
self.assertEqual(ord("\U00010001"), 0x00010001)
|
|
1044
|
+
self.assertEqual(ord("\U000FFFFE"), 0x000FFFFE)
|
|
1045
|
+
self.assertEqual(ord("\U000FFFFF"), 0x000FFFFF)
|
|
1046
|
+
self.assertEqual(ord("\U00100000"), 0x00100000)
|
|
1047
|
+
self.assertEqual(ord("\U00100001"), 0x00100001)
|
|
1048
|
+
self.assertEqual(ord("\U0010FFFE"), 0x0010FFFE)
|
|
1049
|
+
self.assertEqual(ord("\U0010FFFF"), 0x0010FFFF)
|
|
1050
|
+
|
|
1051
|
+
def test_pow(self):
|
|
1052
|
+
self.assertEqual(pow(0,0), 1)
|
|
1053
|
+
self.assertEqual(pow(0,1), 0)
|
|
1054
|
+
self.assertEqual(pow(1,0), 1)
|
|
1055
|
+
self.assertEqual(pow(1,1), 1)
|
|
1056
|
+
|
|
1057
|
+
self.assertEqual(pow(2,0), 1)
|
|
1058
|
+
self.assertEqual(pow(2,10), 1024)
|
|
1059
|
+
self.assertEqual(pow(2,20), 1024*1024)
|
|
1060
|
+
self.assertEqual(pow(2,30), 1024*1024*1024)
|
|
1061
|
+
|
|
1062
|
+
self.assertEqual(pow(-2,0), 1)
|
|
1063
|
+
self.assertEqual(pow(-2,1), -2)
|
|
1064
|
+
self.assertEqual(pow(-2,2), 4)
|
|
1065
|
+
self.assertEqual(pow(-2,3), -8)
|
|
1066
|
+
|
|
1067
|
+
self.assertAlmostEqual(pow(0.,0), 1.)
|
|
1068
|
+
self.assertAlmostEqual(pow(0.,1), 0.)
|
|
1069
|
+
self.assertAlmostEqual(pow(1.,0), 1.)
|
|
1070
|
+
self.assertAlmostEqual(pow(1.,1), 1.)
|
|
1071
|
+
|
|
1072
|
+
self.assertAlmostEqual(pow(2.,0), 1.)
|
|
1073
|
+
self.assertAlmostEqual(pow(2.,10), 1024.)
|
|
1074
|
+
self.assertAlmostEqual(pow(2.,20), 1024.*1024.)
|
|
1075
|
+
self.assertAlmostEqual(pow(2.,30), 1024.*1024.*1024.)
|
|
1076
|
+
|
|
1077
|
+
self.assertAlmostEqual(pow(-2.,0), 1.)
|
|
1078
|
+
self.assertAlmostEqual(pow(-2.,1), -2.)
|
|
1079
|
+
self.assertAlmostEqual(pow(-2.,2), 4.)
|
|
1080
|
+
self.assertAlmostEqual(pow(-2.,3), -8.)
|
|
1081
|
+
|
|
1082
|
+
for x in 2, 2.0:
|
|
1083
|
+
for y in 10, 10.0:
|
|
1084
|
+
for z in 1000, 1000.0:
|
|
1085
|
+
if isinstance(x, float) or \
|
|
1086
|
+
isinstance(y, float) or \
|
|
1087
|
+
isinstance(z, float):
|
|
1088
|
+
self.assertRaises(TypeError, pow, x, y, z)
|
|
1089
|
+
else:
|
|
1090
|
+
self.assertAlmostEqual(pow(x, y, z), 24.0)
|
|
1091
|
+
|
|
1092
|
+
self.assertAlmostEqual(pow(-1, 0.5), 1j)
|
|
1093
|
+
self.assertAlmostEqual(pow(-1, 1/3), 0.5 + 0.8660254037844386j)
|
|
1094
|
+
|
|
1095
|
+
self.assertRaises(TypeError, pow, -1, -2, 3)
|
|
1096
|
+
self.assertRaises(ValueError, pow, 1, 2, 0)
|
|
1097
|
+
|
|
1098
|
+
self.assertRaises(TypeError, pow)
|
|
1099
|
+
|
|
1100
|
+
def test_input(self):
|
|
1101
|
+
self.write_testfile()
|
|
1102
|
+
fp = open(TESTFN, 'r')
|
|
1103
|
+
savestdin = sys.stdin
|
|
1104
|
+
savestdout = sys.stdout # Eats the echo
|
|
1105
|
+
try:
|
|
1106
|
+
sys.stdin = fp
|
|
1107
|
+
sys.stdout = BitBucket()
|
|
1108
|
+
self.assertEqual(input(), "1+1")
|
|
1109
|
+
self.assertEqual(input(), 'The quick brown fox jumps over the lazy dog.')
|
|
1110
|
+
self.assertEqual(input('testing\n'), 'Dear John')
|
|
1111
|
+
|
|
1112
|
+
# SF 1535165: don't segfault on closed stdin
|
|
1113
|
+
# sys.stdout must be a regular file for triggering
|
|
1114
|
+
sys.stdout = savestdout
|
|
1115
|
+
sys.stdin.close()
|
|
1116
|
+
self.assertRaises(ValueError, input)
|
|
1117
|
+
|
|
1118
|
+
sys.stdout = BitBucket()
|
|
1119
|
+
sys.stdin = io.StringIO("NULL\0")
|
|
1120
|
+
self.assertRaises(TypeError, input, 42, 42)
|
|
1121
|
+
sys.stdin = io.StringIO(" 'whitespace'")
|
|
1122
|
+
self.assertEqual(input(), " 'whitespace'")
|
|
1123
|
+
sys.stdin = io.StringIO()
|
|
1124
|
+
self.assertRaises(EOFError, input)
|
|
1125
|
+
|
|
1126
|
+
del sys.stdout
|
|
1127
|
+
self.assertRaises(RuntimeError, input, 'prompt')
|
|
1128
|
+
del sys.stdin
|
|
1129
|
+
self.assertRaises(RuntimeError, input, 'prompt')
|
|
1130
|
+
finally:
|
|
1131
|
+
sys.stdin = savestdin
|
|
1132
|
+
sys.stdout = savestdout
|
|
1133
|
+
fp.close()
|
|
1134
|
+
|
|
1135
|
+
@unittest.skipUnless(pty, "the pty and signal modules must be available")
|
|
1136
|
+
def check_input_tty(self, prompt, terminal_input, stdio_encoding=None):
|
|
1137
|
+
if not sys.stdin.isatty() or not sys.stdout.isatty():
|
|
1138
|
+
self.skipTest("stdin and stdout must be ttys")
|
|
1139
|
+
r, w = os.pipe()
|
|
1140
|
+
try:
|
|
1141
|
+
pid, fd = pty.fork()
|
|
1142
|
+
except (OSError, AttributeError) as e:
|
|
1143
|
+
os.close(r)
|
|
1144
|
+
os.close(w)
|
|
1145
|
+
self.skipTest("pty.fork() raised {}".format(e))
|
|
1146
|
+
if pid == 0:
|
|
1147
|
+
# Child
|
|
1148
|
+
try:
|
|
1149
|
+
# Make sure we don't get stuck if there's a problem
|
|
1150
|
+
signal.alarm(2)
|
|
1151
|
+
os.close(r)
|
|
1152
|
+
# Check the error handlers are accounted for
|
|
1153
|
+
if stdio_encoding:
|
|
1154
|
+
sys.stdin = io.TextIOWrapper(sys.stdin.detach(),
|
|
1155
|
+
encoding=stdio_encoding,
|
|
1156
|
+
errors='surrogateescape')
|
|
1157
|
+
sys.stdout = io.TextIOWrapper(sys.stdout.detach(),
|
|
1158
|
+
encoding=stdio_encoding,
|
|
1159
|
+
errors='replace')
|
|
1160
|
+
with open(w, "w") as wpipe:
|
|
1161
|
+
print("tty =", sys.stdin.isatty() and sys.stdout.isatty(), file=wpipe)
|
|
1162
|
+
print(ascii(input(prompt)), file=wpipe)
|
|
1163
|
+
except:
|
|
1164
|
+
traceback.print_exc()
|
|
1165
|
+
finally:
|
|
1166
|
+
# We don't want to return to unittest...
|
|
1167
|
+
os._exit(0)
|
|
1168
|
+
# Parent
|
|
1169
|
+
os.close(w)
|
|
1170
|
+
os.write(fd, terminal_input + b"\r\n")
|
|
1171
|
+
# Get results from the pipe
|
|
1172
|
+
with open(r, "r") as rpipe:
|
|
1173
|
+
lines = []
|
|
1174
|
+
while True:
|
|
1175
|
+
line = rpipe.readline().strip()
|
|
1176
|
+
if line == "":
|
|
1177
|
+
# The other end was closed => the child exited
|
|
1178
|
+
break
|
|
1179
|
+
lines.append(line)
|
|
1180
|
+
# Check the result was got and corresponds to the user's terminal input
|
|
1181
|
+
if len(lines) != 2:
|
|
1182
|
+
# Something went wrong, try to get at stderr
|
|
1183
|
+
with open(fd, "r", encoding="ascii", errors="ignore") as child_output:
|
|
1184
|
+
self.fail("got %d lines in pipe but expected 2, child output was:\n%s"
|
|
1185
|
+
% (len(lines), child_output.read()))
|
|
1186
|
+
os.close(fd)
|
|
1187
|
+
# Check we did exercise the GNU readline path
|
|
1188
|
+
self.assertIn(lines[0], {'tty = True', 'tty = False'})
|
|
1189
|
+
if lines[0] != 'tty = True':
|
|
1190
|
+
self.skipTest("standard IO in should have been a tty")
|
|
1191
|
+
input_result = eval(lines[1]) # ascii() -> eval() roundtrip
|
|
1192
|
+
if stdio_encoding:
|
|
1193
|
+
expected = terminal_input.decode(stdio_encoding, 'surrogateescape')
|
|
1194
|
+
else:
|
|
1195
|
+
expected = terminal_input.decode(sys.stdin.encoding) # what else?
|
|
1196
|
+
self.assertEqual(input_result, expected)
|
|
1197
|
+
|
|
1198
|
+
def test_input_tty(self):
|
|
1199
|
+
# Test input() functionality when wired to a tty (the code path
|
|
1200
|
+
# is different and invokes GNU readline if available).
|
|
1201
|
+
self.check_input_tty("prompt", b"quux")
|
|
1202
|
+
|
|
1203
|
+
def test_input_tty_non_ascii(self):
|
|
1204
|
+
# Check stdin/stdout encoding is used when invoking GNU readline
|
|
1205
|
+
self.check_input_tty("prompté", b"quux\xe9", "utf-8")
|
|
1206
|
+
|
|
1207
|
+
def test_input_tty_non_ascii_unicode_errors(self):
|
|
1208
|
+
# Check stdin/stdout error handler is used when invoking GNU readline
|
|
1209
|
+
self.check_input_tty("prompté", b"quux\xe9", "ascii")
|
|
1210
|
+
|
|
1211
|
+
# test_int(): see test_int.py for tests of built-in function int().
|
|
1212
|
+
|
|
1213
|
+
def test_repr(self):
|
|
1214
|
+
self.assertEqual(repr(''), '\'\'')
|
|
1215
|
+
self.assertEqual(repr(0), '0')
|
|
1216
|
+
self.assertEqual(repr(()), '()')
|
|
1217
|
+
self.assertEqual(repr([]), '[]')
|
|
1218
|
+
self.assertEqual(repr({}), '{}')
|
|
1219
|
+
a = []
|
|
1220
|
+
a.append(a)
|
|
1221
|
+
self.assertEqual(repr(a), '[[...]]')
|
|
1222
|
+
a = {}
|
|
1223
|
+
a[0] = a
|
|
1224
|
+
self.assertEqual(repr(a), '{0: {...}}')
|
|
1225
|
+
|
|
1226
|
+
def test_round(self):
|
|
1227
|
+
self.assertEqual(round(0.0), 0.0)
|
|
1228
|
+
self.assertEqual(type(round(0.0)), int)
|
|
1229
|
+
self.assertEqual(round(1.0), 1.0)
|
|
1230
|
+
self.assertEqual(round(10.0), 10.0)
|
|
1231
|
+
self.assertEqual(round(1000000000.0), 1000000000.0)
|
|
1232
|
+
self.assertEqual(round(1e20), 1e20)
|
|
1233
|
+
|
|
1234
|
+
self.assertEqual(round(-1.0), -1.0)
|
|
1235
|
+
self.assertEqual(round(-10.0), -10.0)
|
|
1236
|
+
self.assertEqual(round(-1000000000.0), -1000000000.0)
|
|
1237
|
+
self.assertEqual(round(-1e20), -1e20)
|
|
1238
|
+
|
|
1239
|
+
self.assertEqual(round(0.1), 0.0)
|
|
1240
|
+
self.assertEqual(round(1.1), 1.0)
|
|
1241
|
+
self.assertEqual(round(10.1), 10.0)
|
|
1242
|
+
self.assertEqual(round(1000000000.1), 1000000000.0)
|
|
1243
|
+
|
|
1244
|
+
self.assertEqual(round(-1.1), -1.0)
|
|
1245
|
+
self.assertEqual(round(-10.1), -10.0)
|
|
1246
|
+
self.assertEqual(round(-1000000000.1), -1000000000.0)
|
|
1247
|
+
|
|
1248
|
+
self.assertEqual(round(0.9), 1.0)
|
|
1249
|
+
self.assertEqual(round(9.9), 10.0)
|
|
1250
|
+
self.assertEqual(round(999999999.9), 1000000000.0)
|
|
1251
|
+
|
|
1252
|
+
self.assertEqual(round(-0.9), -1.0)
|
|
1253
|
+
self.assertEqual(round(-9.9), -10.0)
|
|
1254
|
+
self.assertEqual(round(-999999999.9), -1000000000.0)
|
|
1255
|
+
|
|
1256
|
+
self.assertEqual(round(-8.0, -1), -10.0)
|
|
1257
|
+
self.assertEqual(type(round(-8.0, -1)), float)
|
|
1258
|
+
|
|
1259
|
+
self.assertEqual(type(round(-8.0, 0)), float)
|
|
1260
|
+
self.assertEqual(type(round(-8.0, 1)), float)
|
|
1261
|
+
|
|
1262
|
+
# Check even / odd rounding behaviour
|
|
1263
|
+
self.assertEqual(round(5.5), 6)
|
|
1264
|
+
self.assertEqual(round(6.5), 6)
|
|
1265
|
+
self.assertEqual(round(-5.5), -6)
|
|
1266
|
+
self.assertEqual(round(-6.5), -6)
|
|
1267
|
+
|
|
1268
|
+
# Check behavior on ints
|
|
1269
|
+
self.assertEqual(round(0), 0)
|
|
1270
|
+
self.assertEqual(round(8), 8)
|
|
1271
|
+
self.assertEqual(round(-8), -8)
|
|
1272
|
+
self.assertEqual(type(round(0)), int)
|
|
1273
|
+
self.assertEqual(type(round(-8, -1)), int)
|
|
1274
|
+
self.assertEqual(type(round(-8, 0)), int)
|
|
1275
|
+
self.assertEqual(type(round(-8, 1)), int)
|
|
1276
|
+
|
|
1277
|
+
# test new kwargs
|
|
1278
|
+
self.assertEqual(round(number=-8.0, ndigits=-1), -10.0)
|
|
1279
|
+
|
|
1280
|
+
self.assertRaises(TypeError, round)
|
|
1281
|
+
|
|
1282
|
+
# test generic rounding delegation for reals
|
|
1283
|
+
class TestRound:
|
|
1284
|
+
def __round__(self):
|
|
1285
|
+
return 23
|
|
1286
|
+
|
|
1287
|
+
class TestNoRound:
|
|
1288
|
+
pass
|
|
1289
|
+
|
|
1290
|
+
self.assertEqual(round(TestRound()), 23)
|
|
1291
|
+
|
|
1292
|
+
self.assertRaises(TypeError, round, 1, 2, 3)
|
|
1293
|
+
self.assertRaises(TypeError, round, TestNoRound())
|
|
1294
|
+
|
|
1295
|
+
t = TestNoRound()
|
|
1296
|
+
t.__round__ = lambda *args: args
|
|
1297
|
+
self.assertRaises(TypeError, round, t)
|
|
1298
|
+
self.assertRaises(TypeError, round, t, 0)
|
|
1299
|
+
|
|
1300
|
+
# Some versions of glibc for alpha have a bug that affects
|
|
1301
|
+
# float -> integer rounding (floor, ceil, rint, round) for
|
|
1302
|
+
# values in the range [2**52, 2**53). See:
|
|
1303
|
+
#
|
|
1304
|
+
# http://sources.redhat.com/bugzilla/show_bug.cgi?id=5350
|
|
1305
|
+
#
|
|
1306
|
+
# We skip this test on Linux/alpha if it would fail.
|
|
1307
|
+
linux_alpha = (platform.system().startswith('Linux') and
|
|
1308
|
+
platform.machine().startswith('alpha'))
|
|
1309
|
+
system_round_bug = round(5e15+1) != 5e15+1
|
|
1310
|
+
@unittest.skipIf(linux_alpha and system_round_bug,
|
|
1311
|
+
"test will fail; failure is probably due to a "
|
|
1312
|
+
"buggy system round function")
|
|
1313
|
+
def test_round_large(self):
|
|
1314
|
+
# Issue #1869: integral floats should remain unchanged
|
|
1315
|
+
self.assertEqual(round(5e15-1), 5e15-1)
|
|
1316
|
+
self.assertEqual(round(5e15), 5e15)
|
|
1317
|
+
self.assertEqual(round(5e15+1), 5e15+1)
|
|
1318
|
+
self.assertEqual(round(5e15+2), 5e15+2)
|
|
1319
|
+
self.assertEqual(round(5e15+3), 5e15+3)
|
|
1320
|
+
|
|
1321
|
+
def test_setattr(self):
|
|
1322
|
+
setattr(sys, 'spam', 1)
|
|
1323
|
+
self.assertEqual(sys.spam, 1)
|
|
1324
|
+
self.assertRaises(TypeError, setattr, sys, 1, 'spam')
|
|
1325
|
+
self.assertRaises(TypeError, setattr)
|
|
1326
|
+
|
|
1327
|
+
# test_str(): see test_unicode.py and test_bytes.py for str() tests.
|
|
1328
|
+
|
|
1329
|
+
def test_sum(self):
|
|
1330
|
+
self.assertEqual(sum([]), 0)
|
|
1331
|
+
self.assertEqual(sum(list(range(2,8))), 27)
|
|
1332
|
+
self.assertEqual(sum(iter(list(range(2,8)))), 27)
|
|
1333
|
+
self.assertEqual(sum(Squares(10)), 285)
|
|
1334
|
+
self.assertEqual(sum(iter(Squares(10))), 285)
|
|
1335
|
+
self.assertEqual(sum([[1], [2], [3]], []), [1, 2, 3])
|
|
1336
|
+
|
|
1337
|
+
self.assertRaises(TypeError, sum)
|
|
1338
|
+
self.assertRaises(TypeError, sum, 42)
|
|
1339
|
+
self.assertRaises(TypeError, sum, ['a', 'b', 'c'])
|
|
1340
|
+
self.assertRaises(TypeError, sum, ['a', 'b', 'c'], '')
|
|
1341
|
+
self.assertRaises(TypeError, sum, [b'a', b'c'], b'')
|
|
1342
|
+
values = [bytearray(b'a'), bytearray(b'b')]
|
|
1343
|
+
self.assertRaises(TypeError, sum, values, bytearray(b''))
|
|
1344
|
+
self.assertRaises(TypeError, sum, [[1], [2], [3]])
|
|
1345
|
+
self.assertRaises(TypeError, sum, [{2:3}])
|
|
1346
|
+
self.assertRaises(TypeError, sum, [{2:3}]*2, {2:3})
|
|
1347
|
+
|
|
1348
|
+
class BadSeq:
|
|
1349
|
+
def __getitem__(self, index):
|
|
1350
|
+
raise ValueError
|
|
1351
|
+
self.assertRaises(ValueError, sum, BadSeq())
|
|
1352
|
+
|
|
1353
|
+
empty = []
|
|
1354
|
+
sum(([x] for x in range(10)), empty)
|
|
1355
|
+
self.assertEqual(empty, [])
|
|
1356
|
+
|
|
1357
|
+
def test_type(self):
|
|
1358
|
+
self.assertEqual(type(''), type('123'))
|
|
1359
|
+
self.assertNotEqual(type(''), type(()))
|
|
1360
|
+
|
|
1361
|
+
# We don't want self in vars(), so these are static methods
|
|
1362
|
+
|
|
1363
|
+
@staticmethod
|
|
1364
|
+
def get_vars_f0():
|
|
1365
|
+
return vars()
|
|
1366
|
+
|
|
1367
|
+
@staticmethod
|
|
1368
|
+
def get_vars_f2():
|
|
1369
|
+
BuiltinTest.get_vars_f0()
|
|
1370
|
+
a = 1
|
|
1371
|
+
b = 2
|
|
1372
|
+
return vars()
|
|
1373
|
+
|
|
1374
|
+
class C_get_vars(object):
|
|
1375
|
+
def getDict(self):
|
|
1376
|
+
return {'a':2}
|
|
1377
|
+
__dict__ = property(fget=getDict)
|
|
1378
|
+
|
|
1379
|
+
def test_vars(self):
|
|
1380
|
+
self.assertEqual(set(vars()), set(dir()))
|
|
1381
|
+
self.assertEqual(set(vars(sys)), set(dir(sys)))
|
|
1382
|
+
self.assertEqual(self.get_vars_f0(), {})
|
|
1383
|
+
self.assertEqual(self.get_vars_f2(), {'a': 1, 'b': 2})
|
|
1384
|
+
self.assertRaises(TypeError, vars, 42, 42)
|
|
1385
|
+
self.assertRaises(TypeError, vars, 42)
|
|
1386
|
+
self.assertEqual(vars(self.C_get_vars()), {'a':2})
|
|
1387
|
+
|
|
1388
|
+
def test_zip(self):
|
|
1389
|
+
a = (1, 2, 3)
|
|
1390
|
+
b = (4, 5, 6)
|
|
1391
|
+
t = [(1, 4), (2, 5), (3, 6)]
|
|
1392
|
+
self.assertEqual(list(zip(a, b)), t)
|
|
1393
|
+
b = [4, 5, 6]
|
|
1394
|
+
self.assertEqual(list(zip(a, b)), t)
|
|
1395
|
+
b = (4, 5, 6, 7)
|
|
1396
|
+
self.assertEqual(list(zip(a, b)), t)
|
|
1397
|
+
class I:
|
|
1398
|
+
def __getitem__(self, i):
|
|
1399
|
+
if i < 0 or i > 2: raise IndexError
|
|
1400
|
+
return i + 4
|
|
1401
|
+
self.assertEqual(list(zip(a, I())), t)
|
|
1402
|
+
self.assertEqual(list(zip()), [])
|
|
1403
|
+
self.assertEqual(list(zip(*[])), [])
|
|
1404
|
+
self.assertRaises(TypeError, zip, None)
|
|
1405
|
+
class G:
|
|
1406
|
+
pass
|
|
1407
|
+
self.assertRaises(TypeError, zip, a, G())
|
|
1408
|
+
self.assertRaises(RuntimeError, zip, a, TestFailingIter())
|
|
1409
|
+
|
|
1410
|
+
# Make sure zip doesn't try to allocate a billion elements for the
|
|
1411
|
+
# result list when one of its arguments doesn't say how long it is.
|
|
1412
|
+
# A MemoryError is the most likely failure mode.
|
|
1413
|
+
class SequenceWithoutALength:
|
|
1414
|
+
def __getitem__(self, i):
|
|
1415
|
+
if i == 5:
|
|
1416
|
+
raise IndexError
|
|
1417
|
+
else:
|
|
1418
|
+
return i
|
|
1419
|
+
self.assertEqual(
|
|
1420
|
+
list(zip(SequenceWithoutALength(), range(2**30))),
|
|
1421
|
+
list(enumerate(range(5)))
|
|
1422
|
+
)
|
|
1423
|
+
|
|
1424
|
+
class BadSeq:
|
|
1425
|
+
def __getitem__(self, i):
|
|
1426
|
+
if i == 5:
|
|
1427
|
+
raise ValueError
|
|
1428
|
+
else:
|
|
1429
|
+
return i
|
|
1430
|
+
self.assertRaises(ValueError, list, zip(BadSeq(), BadSeq()))
|
|
1431
|
+
|
|
1432
|
+
def test_zip_pickle(self):
|
|
1433
|
+
a = (1, 2, 3)
|
|
1434
|
+
b = (4, 5, 6)
|
|
1435
|
+
t = [(1, 4), (2, 5), (3, 6)]
|
|
1436
|
+
z1 = zip(a, b)
|
|
1437
|
+
self.check_iter_pickle(z1, t)
|
|
1438
|
+
|
|
1439
|
+
def test_format(self):
|
|
1440
|
+
# Test the basic machinery of the format() builtin. Don't test
|
|
1441
|
+
# the specifics of the various formatters
|
|
1442
|
+
self.assertEqual(format(3, ''), '3')
|
|
1443
|
+
|
|
1444
|
+
# Returns some classes to use for various tests. There's
|
|
1445
|
+
# an old-style version, and a new-style version
|
|
1446
|
+
def classes_new():
|
|
1447
|
+
class A(object):
|
|
1448
|
+
def __init__(self, x):
|
|
1449
|
+
self.x = x
|
|
1450
|
+
def __format__(self, format_spec):
|
|
1451
|
+
return str(self.x) + format_spec
|
|
1452
|
+
class DerivedFromA(A):
|
|
1453
|
+
pass
|
|
1454
|
+
|
|
1455
|
+
class Simple(object): pass
|
|
1456
|
+
class DerivedFromSimple(Simple):
|
|
1457
|
+
def __init__(self, x):
|
|
1458
|
+
self.x = x
|
|
1459
|
+
def __format__(self, format_spec):
|
|
1460
|
+
return str(self.x) + format_spec
|
|
1461
|
+
class DerivedFromSimple2(DerivedFromSimple): pass
|
|
1462
|
+
return A, DerivedFromA, DerivedFromSimple, DerivedFromSimple2
|
|
1463
|
+
|
|
1464
|
+
def class_test(A, DerivedFromA, DerivedFromSimple, DerivedFromSimple2):
|
|
1465
|
+
self.assertEqual(format(A(3), 'spec'), '3spec')
|
|
1466
|
+
self.assertEqual(format(DerivedFromA(4), 'spec'), '4spec')
|
|
1467
|
+
self.assertEqual(format(DerivedFromSimple(5), 'abc'), '5abc')
|
|
1468
|
+
self.assertEqual(format(DerivedFromSimple2(10), 'abcdef'),
|
|
1469
|
+
'10abcdef')
|
|
1470
|
+
|
|
1471
|
+
class_test(*classes_new())
|
|
1472
|
+
|
|
1473
|
+
def empty_format_spec(value):
|
|
1474
|
+
# test that:
|
|
1475
|
+
# format(x, '') == str(x)
|
|
1476
|
+
# format(x) == str(x)
|
|
1477
|
+
self.assertEqual(format(value, ""), str(value))
|
|
1478
|
+
self.assertEqual(format(value), str(value))
|
|
1479
|
+
|
|
1480
|
+
# for builtin types, format(x, "") == str(x)
|
|
1481
|
+
empty_format_spec(17**13)
|
|
1482
|
+
empty_format_spec(1.0)
|
|
1483
|
+
empty_format_spec(3.1415e104)
|
|
1484
|
+
empty_format_spec(-3.1415e104)
|
|
1485
|
+
empty_format_spec(3.1415e-104)
|
|
1486
|
+
empty_format_spec(-3.1415e-104)
|
|
1487
|
+
empty_format_spec(object)
|
|
1488
|
+
empty_format_spec(None)
|
|
1489
|
+
|
|
1490
|
+
# TypeError because self.__format__ returns the wrong type
|
|
1491
|
+
class BadFormatResult:
|
|
1492
|
+
def __format__(self, format_spec):
|
|
1493
|
+
return 1.0
|
|
1494
|
+
self.assertRaises(TypeError, format, BadFormatResult(), "")
|
|
1495
|
+
|
|
1496
|
+
# TypeError because format_spec is not unicode or str
|
|
1497
|
+
self.assertRaises(TypeError, format, object(), 4)
|
|
1498
|
+
self.assertRaises(TypeError, format, object(), object())
|
|
1499
|
+
|
|
1500
|
+
# tests for object.__format__ really belong elsewhere, but
|
|
1501
|
+
# there's no good place to put them
|
|
1502
|
+
x = object().__format__('')
|
|
1503
|
+
self.assertTrue(x.startswith('<object object at'))
|
|
1504
|
+
|
|
1505
|
+
# first argument to object.__format__ must be string
|
|
1506
|
+
self.assertRaises(TypeError, object().__format__, 3)
|
|
1507
|
+
self.assertRaises(TypeError, object().__format__, object())
|
|
1508
|
+
self.assertRaises(TypeError, object().__format__, None)
|
|
1509
|
+
|
|
1510
|
+
# --------------------------------------------------------------------
|
|
1511
|
+
# Issue #7994: object.__format__ with a non-empty format string is
|
|
1512
|
+
# deprecated
|
|
1513
|
+
def test_deprecated_format_string(obj, fmt_str, should_raise):
|
|
1514
|
+
if should_raise:
|
|
1515
|
+
self.assertRaises(TypeError, format, obj, fmt_str)
|
|
1516
|
+
else:
|
|
1517
|
+
format(obj, fmt_str)
|
|
1518
|
+
|
|
1519
|
+
fmt_strs = ['', 's']
|
|
1520
|
+
|
|
1521
|
+
class A:
|
|
1522
|
+
def __format__(self, fmt_str):
|
|
1523
|
+
return format('', fmt_str)
|
|
1524
|
+
|
|
1525
|
+
for fmt_str in fmt_strs:
|
|
1526
|
+
test_deprecated_format_string(A(), fmt_str, False)
|
|
1527
|
+
|
|
1528
|
+
class B:
|
|
1529
|
+
pass
|
|
1530
|
+
|
|
1531
|
+
class C(object):
|
|
1532
|
+
pass
|
|
1533
|
+
|
|
1534
|
+
for cls in [object, B, C]:
|
|
1535
|
+
for fmt_str in fmt_strs:
|
|
1536
|
+
test_deprecated_format_string(cls(), fmt_str, len(fmt_str) != 0)
|
|
1537
|
+
# --------------------------------------------------------------------
|
|
1538
|
+
|
|
1539
|
+
# make sure we can take a subclass of str as a format spec
|
|
1540
|
+
class DerivedFromStr(str): pass
|
|
1541
|
+
self.assertEqual(format(0, DerivedFromStr('10')), ' 0')
|
|
1542
|
+
|
|
1543
|
+
def test_bin(self):
|
|
1544
|
+
self.assertEqual(bin(0), '0b0')
|
|
1545
|
+
self.assertEqual(bin(1), '0b1')
|
|
1546
|
+
self.assertEqual(bin(-1), '-0b1')
|
|
1547
|
+
self.assertEqual(bin(2**65), '0b1' + '0' * 65)
|
|
1548
|
+
self.assertEqual(bin(2**65-1), '0b' + '1' * 65)
|
|
1549
|
+
self.assertEqual(bin(-(2**65)), '-0b1' + '0' * 65)
|
|
1550
|
+
self.assertEqual(bin(-(2**65-1)), '-0b' + '1' * 65)
|
|
1551
|
+
|
|
1552
|
+
def test_bytearray_translate(self):
|
|
1553
|
+
x = bytearray(b"abc")
|
|
1554
|
+
self.assertRaises(ValueError, x.translate, b"1", 1)
|
|
1555
|
+
self.assertRaises(TypeError, x.translate, b"1"*256, 1)
|
|
1556
|
+
|
|
1557
|
+
def test_construct_singletons(self):
|
|
1558
|
+
for const in None, Ellipsis, NotImplemented:
|
|
1559
|
+
tp = type(const)
|
|
1560
|
+
self.assertIs(tp(), const)
|
|
1561
|
+
self.assertRaises(TypeError, tp, 1, 2)
|
|
1562
|
+
self.assertRaises(TypeError, tp, a=1, b=2)
|
|
1563
|
+
|
|
1564
|
+
class TestSorted(unittest.TestCase):
|
|
1565
|
+
|
|
1566
|
+
def test_basic(self):
|
|
1567
|
+
data = list(range(100))
|
|
1568
|
+
copy = data[:]
|
|
1569
|
+
random.shuffle(copy)
|
|
1570
|
+
self.assertEqual(data, sorted(copy))
|
|
1571
|
+
self.assertNotEqual(data, copy)
|
|
1572
|
+
|
|
1573
|
+
data.reverse()
|
|
1574
|
+
random.shuffle(copy)
|
|
1575
|
+
self.assertEqual(data, sorted(copy, key=lambda x: -x))
|
|
1576
|
+
self.assertNotEqual(data, copy)
|
|
1577
|
+
random.shuffle(copy)
|
|
1578
|
+
self.assertEqual(data, sorted(copy, reverse=1))
|
|
1579
|
+
self.assertNotEqual(data, copy)
|
|
1580
|
+
|
|
1581
|
+
def test_inputtypes(self):
|
|
1582
|
+
s = 'abracadabra'
|
|
1583
|
+
types = [list, tuple, str]
|
|
1584
|
+
for T in types:
|
|
1585
|
+
self.assertEqual(sorted(s), sorted(T(s)))
|
|
1586
|
+
|
|
1587
|
+
s = ''.join(set(s)) # unique letters only
|
|
1588
|
+
types = [str, set, frozenset, list, tuple, dict.fromkeys]
|
|
1589
|
+
for T in types:
|
|
1590
|
+
self.assertEqual(sorted(s), sorted(T(s)))
|
|
1591
|
+
|
|
1592
|
+
def test_baddecorator(self):
|
|
1593
|
+
data = 'The quick Brown fox Jumped over The lazy Dog'.split()
|
|
1594
|
+
self.assertRaises(TypeError, sorted, data, None, lambda x,y: 0)
|
|
1595
|
+
|
|
1596
|
+
|
|
1597
|
+
class ShutdownTest(unittest.TestCase):
|
|
1598
|
+
|
|
1599
|
+
def test_cleanup(self):
|
|
1600
|
+
# Issue #19255: builtins are still available at shutdown
|
|
1601
|
+
code = """if 1:
|
|
1602
|
+
import builtins
|
|
1603
|
+
import sys
|
|
1604
|
+
|
|
1605
|
+
class C:
|
|
1606
|
+
def __del__(self):
|
|
1607
|
+
print("before")
|
|
1608
|
+
# Check that builtins still exist
|
|
1609
|
+
len(())
|
|
1610
|
+
print("after")
|
|
1611
|
+
|
|
1612
|
+
c = C()
|
|
1613
|
+
# Make this module survive until builtins and sys are cleaned
|
|
1614
|
+
builtins.here = sys.modules[__name__]
|
|
1615
|
+
sys.here = sys.modules[__name__]
|
|
1616
|
+
# Create a reference loop so that this module needs to go
|
|
1617
|
+
# through a GC phase.
|
|
1618
|
+
here = sys.modules[__name__]
|
|
1619
|
+
"""
|
|
1620
|
+
# Issue #20599: Force ASCII encoding to get a codec implemented in C,
|
|
1621
|
+
# otherwise the codec may be unloaded before C.__del__() is called, and
|
|
1622
|
+
# so print("before") fails because the codec cannot be used to encode
|
|
1623
|
+
# "before" to sys.stdout.encoding. For example, on Windows,
|
|
1624
|
+
# sys.stdout.encoding is the OEM code page and these code pages are
|
|
1625
|
+
# implemented in Python
|
|
1626
|
+
rc, out, err = assert_python_ok("-c", code,
|
|
1627
|
+
PYTHONIOENCODING="ascii")
|
|
1628
|
+
self.assertEqual(["before", "after"], out.decode().splitlines())
|
|
1629
|
+
|
|
1630
|
+
|
|
1631
|
+
def load_tests(loader, tests, pattern):
|
|
1632
|
+
from doctest import DocTestSuite
|
|
1633
|
+
tests.addTest(DocTestSuite(builtins))
|
|
1634
|
+
return tests
|
|
1635
|
+
|
|
1636
|
+
if __name__ == "__main__":
|
|
1637
|
+
unittest.main()
|