com.googler.python 1.1.4 → 1.1.5
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 +1 -1
- package/python3.6.2/lib/libcrypto.so.1.0.0 +0 -0
- package/python3.6.2/lib/libformw.so.5 +0 -0
- package/python3.6.2/lib/libformw.so.5.9 +0 -0
- package/python3.6.2/lib/libhistory.so.6 +0 -0
- package/python3.6.2/lib/libhistory.so.6.3 +0 -0
- package/python3.6.2/lib/libmenuw.so.5 +0 -0
- package/python3.6.2/lib/libmenuw.so.5.9 +0 -0
- package/python3.6.2/lib/libncursesw.so.5 +0 -0
- package/python3.6.2/lib/libncursesw.so.5.9 +0 -0
- package/python3.6.2/lib/libpanelw.so.5 +0 -0
- package/python3.6.2/lib/libpanelw.so.5.9 +0 -0
- package/python3.6.2/lib/libpython3.6m.so.1.0 +0 -0
- package/python3.6.2/lib/libpython3.so +0 -0
- package/python3.6.2/lib/libreadline.so.6 +0 -0
- package/python3.6.2/lib/libreadline.so.6.3 +0 -0
- package/python3.6.2/lib/libssl.so.1.0.0 +0 -0
- package/python3.6.2/lib/libtinfow.so.5 +0 -0
- package/python3.6.2/lib/libtinfow.so.5.9 +0 -0
- package/python3.6.2/lib/python3.6/__future__.py +140 -0
- package/python3.6.2/lib/python3.6/__phello__.foo.py +1 -0
- package/python3.6.2/lib/python3.6/_bootlocale.py +34 -0
- package/python3.6.2/lib/python3.6/_collections_abc.py +1008 -0
- package/python3.6.2/lib/python3.6/_compat_pickle.py +251 -0
- package/python3.6.2/lib/python3.6/_compression.py +152 -0
- package/python3.6.2/lib/python3.6/_dummy_thread.py +163 -0
- package/python3.6.2/lib/python3.6/_markupbase.py +395 -0
- package/python3.6.2/lib/python3.6/_osx_support.py +502 -0
- package/python3.6.2/lib/python3.6/_pydecimal.py +6449 -0
- package/python3.6.2/lib/python3.6/_pyio.py +2531 -0
- package/python3.6.2/lib/python3.6/_sitebuiltins.py +103 -0
- package/python3.6.2/lib/python3.6/_strptime.py +576 -0
- package/python3.6.2/lib/python3.6/_threading_local.py +246 -0
- package/python3.6.2/lib/python3.6/_weakrefset.py +196 -0
- package/python3.6.2/lib/python3.6/abc.py +248 -0
- package/python3.6.2/lib/python3.6/aifc.py +943 -0
- package/python3.6.2/lib/python3.6/antigravity.py +17 -0
- package/python3.6.2/lib/python3.6/argparse.py +2389 -0
- package/python3.6.2/lib/python3.6/ast.py +322 -0
- package/python3.6.2/lib/python3.6/asynchat.py +307 -0
- package/python3.6.2/lib/python3.6/asyncio/__init__.py +50 -0
- package/python3.6.2/lib/python3.6/asyncio/base_events.py +1474 -0
- package/python3.6.2/lib/python3.6/asyncio/base_futures.py +71 -0
- package/python3.6.2/lib/python3.6/asyncio/base_subprocess.py +293 -0
- package/python3.6.2/lib/python3.6/asyncio/base_tasks.py +76 -0
- package/python3.6.2/lib/python3.6/asyncio/compat.py +18 -0
- package/python3.6.2/lib/python3.6/asyncio/constants.py +12 -0
- package/python3.6.2/lib/python3.6/asyncio/coroutines.py +346 -0
- package/python3.6.2/lib/python3.6/asyncio/events.py +715 -0
- package/python3.6.2/lib/python3.6/asyncio/futures.py +439 -0
- package/python3.6.2/lib/python3.6/asyncio/locks.py +485 -0
- package/python3.6.2/lib/python3.6/asyncio/log.py +7 -0
- package/python3.6.2/lib/python3.6/asyncio/proactor_events.py +551 -0
- package/python3.6.2/lib/python3.6/asyncio/protocols.py +134 -0
- package/python3.6.2/lib/python3.6/asyncio/queues.py +259 -0
- package/python3.6.2/lib/python3.6/asyncio/selector_events.py +1141 -0
- package/python3.6.2/lib/python3.6/asyncio/sslproto.py +697 -0
- package/python3.6.2/lib/python3.6/asyncio/streams.py +701 -0
- package/python3.6.2/lib/python3.6/asyncio/subprocess.py +226 -0
- package/python3.6.2/lib/python3.6/asyncio/tasks.py +717 -0
- package/python3.6.2/lib/python3.6/asyncio/test_utils.py +519 -0
- package/python3.6.2/lib/python3.6/asyncio/transports.py +306 -0
- package/python3.6.2/lib/python3.6/asyncio/unix_events.py +1074 -0
- package/python3.6.2/lib/python3.6/asyncio/windows_events.py +779 -0
- package/python3.6.2/lib/python3.6/asyncio/windows_utils.py +224 -0
- package/python3.6.2/lib/python3.6/asyncore.py +645 -0
- package/python3.6.2/lib/python3.6/base64.py +602 -0
- package/python3.6.2/lib/python3.6/bdb.py +673 -0
- package/python3.6.2/lib/python3.6/binhex.py +479 -0
- package/python3.6.2/lib/python3.6/bisect.py +92 -0
- package/python3.6.2/lib/python3.6/bz2.py +361 -0
- package/python3.6.2/lib/python3.6/cProfile.py +160 -0
- package/python3.6.2/lib/python3.6/calendar.py +713 -0
- package/python3.6.2/lib/python3.6/cgi.py +1077 -0
- package/python3.6.2/lib/python3.6/cgitb.py +319 -0
- package/python3.6.2/lib/python3.6/chunk.py +169 -0
- package/python3.6.2/lib/python3.6/cmd.py +401 -0
- package/python3.6.2/lib/python3.6/code.py +314 -0
- package/python3.6.2/lib/python3.6/codecs.py +1113 -0
- package/python3.6.2/lib/python3.6/codeop.py +168 -0
- package/python3.6.2/lib/python3.6/collections/__init__.py +1244 -0
- package/python3.6.2/lib/python3.6/collections/abc.py +2 -0
- package/python3.6.2/lib/python3.6/colorsys.py +164 -0
- package/python3.6.2/lib/python3.6/compileall.py +295 -0
- package/python3.6.2/lib/python3.6/concurrent/__init__.py +1 -0
- package/python3.6.2/lib/python3.6/concurrent/futures/__init__.py +18 -0
- package/python3.6.2/lib/python3.6/concurrent/futures/_base.py +612 -0
- package/python3.6.2/lib/python3.6/concurrent/futures/process.py +515 -0
- package/python3.6.2/lib/python3.6/concurrent/futures/thread.py +153 -0
- package/python3.6.2/lib/python3.6/configparser.py +1342 -0
- package/python3.6.2/lib/python3.6/contextlib.py +384 -0
- package/python3.6.2/lib/python3.6/copy.py +313 -0
- package/python3.6.2/lib/python3.6/copyreg.py +206 -0
- package/python3.6.2/lib/python3.6/crypt.py +61 -0
- package/python3.6.2/lib/python3.6/csv.py +449 -0
- package/python3.6.2/lib/python3.6/ctypes/__init__.py +538 -0
- package/python3.6.2/lib/python3.6/ctypes/_endian.py +61 -0
- package/python3.6.2/lib/python3.6/ctypes/macholib/__init__.py +9 -0
- package/python3.6.2/lib/python3.6/ctypes/macholib/dyld.py +159 -0
- package/python3.6.2/lib/python3.6/ctypes/macholib/dylib.py +63 -0
- package/python3.6.2/lib/python3.6/ctypes/macholib/framework.py +65 -0
- package/python3.6.2/lib/python3.6/ctypes/test/__init__.py +14 -0
- package/python3.6.2/lib/python3.6/ctypes/test/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_anon.py +73 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_array_in_pointer.py +64 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_arrays.py +185 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_as_parameter.py +226 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_bitfields.py +290 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_buffers.py +64 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_bytes.py +65 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_byteswap.py +315 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_callbacks.py +293 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_cast.py +86 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_cfuncs.py +212 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_checkretval.py +36 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_delattr.py +21 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_errno.py +79 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_find.py +116 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_frombuffer.py +141 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_funcptr.py +132 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_functions.py +402 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_incomplete.py +42 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_init.py +40 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_internals.py +100 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_keeprefs.py +153 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_libc.py +33 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_loading.py +116 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_macholib.py +63 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_memfunctions.py +79 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_numbers.py +290 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_objects.py +67 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_parameters.py +207 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_pep3118.py +233 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_pickling.py +81 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_pointers.py +223 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_prototypes.py +222 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_python_api.py +89 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_random_things.py +74 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_refcounts.py +101 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_repr.py +29 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_returnfuncptrs.py +66 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_simplesubclasses.py +55 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_sizes.py +33 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_slicing.py +167 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_stringptr.py +77 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_strings.py +225 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_struct_fields.py +74 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_structures.py +491 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_unaligned_structures.py +45 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_unicode.py +56 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_values.py +100 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_varsize_struct.py +50 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_win32.py +147 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_wintypes.py +41 -0
- package/python3.6.2/lib/python3.6/ctypes/util.py +337 -0
- package/python3.6.2/lib/python3.6/ctypes/wintypes.py +202 -0
- package/python3.6.2/lib/python3.6/curses/__init__.py +101 -0
- package/python3.6.2/lib/python3.6/curses/ascii.py +99 -0
- package/python3.6.2/lib/python3.6/curses/has_key.py +192 -0
- package/python3.6.2/lib/python3.6/curses/panel.py +6 -0
- package/python3.6.2/lib/python3.6/curses/textpad.py +201 -0
- package/python3.6.2/lib/python3.6/datetime.py +2280 -0
- package/python3.6.2/lib/python3.6/dbm/__init__.py +188 -0
- package/python3.6.2/lib/python3.6/dbm/dumb.py +324 -0
- package/python3.6.2/lib/python3.6/dbm/gnu.py +3 -0
- package/python3.6.2/lib/python3.6/dbm/ndbm.py +3 -0
- package/python3.6.2/lib/python3.6/decimal.py +11 -0
- package/python3.6.2/lib/python3.6/difflib.py +2093 -0
- package/python3.6.2/lib/python3.6/dis.py +490 -0
- package/python3.6.2/lib/python3.6/distutils/__init__.py +13 -0
- package/python3.6.2/lib/python3.6/distutils/_msvccompiler.py +574 -0
- package/python3.6.2/lib/python3.6/distutils/archive_util.py +248 -0
- package/python3.6.2/lib/python3.6/distutils/bcppcompiler.py +393 -0
- package/python3.6.2/lib/python3.6/distutils/ccompiler.py +1115 -0
- package/python3.6.2/lib/python3.6/distutils/cmd.py +434 -0
- package/python3.6.2/lib/python3.6/distutils/command/__init__.py +31 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist.py +143 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist_dumb.py +123 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist_msi.py +741 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist_rpm.py +582 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist_wininst.py +365 -0
- package/python3.6.2/lib/python3.6/distutils/command/build.py +157 -0
- package/python3.6.2/lib/python3.6/distutils/command/build_clib.py +209 -0
- package/python3.6.2/lib/python3.6/distutils/command/build_ext.py +755 -0
- package/python3.6.2/lib/python3.6/distutils/command/build_py.py +416 -0
- package/python3.6.2/lib/python3.6/distutils/command/build_scripts.py +160 -0
- package/python3.6.2/lib/python3.6/distutils/command/check.py +145 -0
- package/python3.6.2/lib/python3.6/distutils/command/clean.py +76 -0
- package/python3.6.2/lib/python3.6/distutils/command/config.py +347 -0
- package/python3.6.2/lib/python3.6/distutils/command/install.py +656 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_data.py +79 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_egg_info.py +77 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_headers.py +47 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_lib.py +217 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_scripts.py +60 -0
- package/python3.6.2/lib/python3.6/distutils/command/register.py +304 -0
- package/python3.6.2/lib/python3.6/distutils/command/sdist.py +456 -0
- package/python3.6.2/lib/python3.6/distutils/command/upload.py +201 -0
- package/python3.6.2/lib/python3.6/distutils/command/wininst-10.0-amd64.exe +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/wininst-10.0.exe +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/wininst-14.0-amd64.exe +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/wininst-14.0.exe +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/wininst-6.0.exe +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/wininst-7.1.exe +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/wininst-8.0.exe +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/wininst-9.0-amd64.exe +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/wininst-9.0.exe +0 -0
- package/python3.6.2/lib/python3.6/distutils/config.py +131 -0
- package/python3.6.2/lib/python3.6/distutils/core.py +234 -0
- package/python3.6.2/lib/python3.6/distutils/cygwinccompiler.py +405 -0
- package/python3.6.2/lib/python3.6/distutils/debug.py +5 -0
- package/python3.6.2/lib/python3.6/distutils/dep_util.py +92 -0
- package/python3.6.2/lib/python3.6/distutils/dir_util.py +210 -0
- package/python3.6.2/lib/python3.6/distutils/dist.py +1236 -0
- package/python3.6.2/lib/python3.6/distutils/errors.py +97 -0
- package/python3.6.2/lib/python3.6/distutils/extension.py +240 -0
- package/python3.6.2/lib/python3.6/distutils/fancy_getopt.py +457 -0
- package/python3.6.2/lib/python3.6/distutils/file_util.py +238 -0
- package/python3.6.2/lib/python3.6/distutils/filelist.py +327 -0
- package/python3.6.2/lib/python3.6/distutils/log.py +75 -0
- package/python3.6.2/lib/python3.6/distutils/msvc9compiler.py +791 -0
- package/python3.6.2/lib/python3.6/distutils/msvccompiler.py +643 -0
- package/python3.6.2/lib/python3.6/distutils/spawn.py +192 -0
- package/python3.6.2/lib/python3.6/distutils/sysconfig.py +532 -0
- package/python3.6.2/lib/python3.6/distutils/tests/Setup.sample +67 -0
- package/python3.6.2/lib/python3.6/distutils/tests/__init__.py +36 -0
- package/python3.6.2/lib/python3.6/distutils/tests/support.py +210 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_archive_util.py +395 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist.py +50 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_dumb.py +97 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_msi.py +25 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_rpm.py +135 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_wininst.py +31 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_build.py +56 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_build_clib.py +135 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_build_ext.py +521 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_build_py.py +179 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_build_scripts.py +112 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_check.py +149 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_clean.py +49 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_cmd.py +126 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_config.py +140 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_config_cmd.py +92 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_core.py +140 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_cygwinccompiler.py +154 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_dep_util.py +80 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_dir_util.py +139 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_dist.py +456 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_extension.py +69 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_file_util.py +114 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_filelist.py +340 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_install.py +248 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_install_data.py +75 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_install_headers.py +39 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_install_lib.py +115 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_install_scripts.py +82 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_log.py +38 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_msvc9compiler.py +184 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_msvccompiler.py +132 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_register.py +323 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_sdist.py +484 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_spawn.py +58 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_sysconfig.py +198 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_text_file.py +107 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_unixccompiler.py +149 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_upload.py +181 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_util.py +300 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_version.py +71 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_versionpredicate.py +13 -0
- package/python3.6.2/lib/python3.6/distutils/text_file.py +286 -0
- package/python3.6.2/lib/python3.6/distutils/unixccompiler.py +322 -0
- package/python3.6.2/lib/python3.6/distutils/util.py +557 -0
- package/python3.6.2/lib/python3.6/distutils/version.py +343 -0
- package/python3.6.2/lib/python3.6/distutils/versionpredicate.py +166 -0
- package/python3.6.2/lib/python3.6/doctest.py +2787 -0
- package/python3.6.2/lib/python3.6/dummy_threading.py +78 -0
- package/python3.6.2/lib/python3.6/email/__init__.py +62 -0
- package/python3.6.2/lib/python3.6/email/_encoded_words.py +221 -0
- package/python3.6.2/lib/python3.6/email/_header_value_parser.py +2811 -0
- package/python3.6.2/lib/python3.6/email/_parseaddr.py +540 -0
- package/python3.6.2/lib/python3.6/email/_policybase.py +374 -0
- package/python3.6.2/lib/python3.6/email/base64mime.py +119 -0
- package/python3.6.2/lib/python3.6/email/charset.py +406 -0
- package/python3.6.2/lib/python3.6/email/contentmanager.py +250 -0
- package/python3.6.2/lib/python3.6/email/encoders.py +69 -0
- package/python3.6.2/lib/python3.6/email/errors.py +107 -0
- package/python3.6.2/lib/python3.6/email/feedparser.py +536 -0
- package/python3.6.2/lib/python3.6/email/generator.py +508 -0
- package/python3.6.2/lib/python3.6/email/header.py +578 -0
- package/python3.6.2/lib/python3.6/email/headerregistry.py +589 -0
- package/python3.6.2/lib/python3.6/email/iterators.py +71 -0
- package/python3.6.2/lib/python3.6/email/message.py +1164 -0
- package/python3.6.2/lib/python3.6/email/mime/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/email/mime/application.py +37 -0
- package/python3.6.2/lib/python3.6/email/mime/audio.py +74 -0
- package/python3.6.2/lib/python3.6/email/mime/base.py +30 -0
- package/python3.6.2/lib/python3.6/email/mime/image.py +47 -0
- package/python3.6.2/lib/python3.6/email/mime/message.py +34 -0
- package/python3.6.2/lib/python3.6/email/mime/multipart.py +48 -0
- package/python3.6.2/lib/python3.6/email/mime/nonmultipart.py +22 -0
- package/python3.6.2/lib/python3.6/email/mime/text.py +42 -0
- package/python3.6.2/lib/python3.6/email/parser.py +132 -0
- package/python3.6.2/lib/python3.6/email/policy.py +223 -0
- package/python3.6.2/lib/python3.6/email/quoprimime.py +299 -0
- package/python3.6.2/lib/python3.6/email/utils.py +388 -0
- package/python3.6.2/lib/python3.6/encodings/__init__.py +169 -0
- package/python3.6.2/lib/python3.6/encodings/aliases.py +550 -0
- package/python3.6.2/lib/python3.6/encodings/ascii.py +50 -0
- package/python3.6.2/lib/python3.6/encodings/base64_codec.py +55 -0
- package/python3.6.2/lib/python3.6/encodings/big5.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/big5hkscs.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/bz2_codec.py +78 -0
- package/python3.6.2/lib/python3.6/encodings/charmap.py +69 -0
- package/python3.6.2/lib/python3.6/encodings/cp037.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1006.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1026.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1125.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp1140.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1250.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1251.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1252.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1253.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1254.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1255.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1256.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1257.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1258.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp273.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp424.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp437.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp500.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp65001.py +43 -0
- package/python3.6.2/lib/python3.6/encodings/cp720.py +309 -0
- package/python3.6.2/lib/python3.6/encodings/cp737.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp775.py +697 -0
- package/python3.6.2/lib/python3.6/encodings/cp850.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp852.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp855.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp856.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp857.py +694 -0
- package/python3.6.2/lib/python3.6/encodings/cp858.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp860.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp861.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp862.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp863.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp864.py +690 -0
- package/python3.6.2/lib/python3.6/encodings/cp865.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp866.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp869.py +689 -0
- package/python3.6.2/lib/python3.6/encodings/cp874.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp875.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp932.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/cp949.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/cp950.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/euc_jis_2004.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/euc_jisx0213.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/euc_jp.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/euc_kr.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/gb18030.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/gb2312.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/gbk.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/hex_codec.py +55 -0
- package/python3.6.2/lib/python3.6/encodings/hp_roman8.py +314 -0
- package/python3.6.2/lib/python3.6/encodings/hz.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/idna.py +309 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_1.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_2.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_2004.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_3.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_ext.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_kr.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_1.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_10.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_11.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_13.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_14.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_15.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_16.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_2.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_3.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_4.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_5.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_6.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_7.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_8.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_9.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/johab.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/koi8_r.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/koi8_t.py +308 -0
- package/python3.6.2/lib/python3.6/encodings/koi8_u.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/kz1048.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/latin_1.py +50 -0
- package/python3.6.2/lib/python3.6/encodings/mac_arabic.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/mac_centeuro.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/mac_croatian.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/mac_cyrillic.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/mac_farsi.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/mac_greek.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/mac_iceland.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/mac_latin2.py +312 -0
- package/python3.6.2/lib/python3.6/encodings/mac_roman.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/mac_romanian.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/mac_turkish.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/mbcs.py +47 -0
- package/python3.6.2/lib/python3.6/encodings/oem.py +41 -0
- package/python3.6.2/lib/python3.6/encodings/palmos.py +308 -0
- package/python3.6.2/lib/python3.6/encodings/ptcp154.py +312 -0
- package/python3.6.2/lib/python3.6/encodings/punycode.py +237 -0
- package/python3.6.2/lib/python3.6/encodings/quopri_codec.py +56 -0
- package/python3.6.2/lib/python3.6/encodings/raw_unicode_escape.py +45 -0
- package/python3.6.2/lib/python3.6/encodings/rot_13.py +113 -0
- package/python3.6.2/lib/python3.6/encodings/shift_jis.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/shift_jis_2004.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/shift_jisx0213.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/tis_620.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/undefined.py +49 -0
- package/python3.6.2/lib/python3.6/encodings/unicode_escape.py +45 -0
- package/python3.6.2/lib/python3.6/encodings/unicode_internal.py +45 -0
- package/python3.6.2/lib/python3.6/encodings/utf_16.py +155 -0
- package/python3.6.2/lib/python3.6/encodings/utf_16_be.py +42 -0
- package/python3.6.2/lib/python3.6/encodings/utf_16_le.py +42 -0
- package/python3.6.2/lib/python3.6/encodings/utf_32.py +150 -0
- package/python3.6.2/lib/python3.6/encodings/utf_32_be.py +37 -0
- package/python3.6.2/lib/python3.6/encodings/utf_32_le.py +37 -0
- package/python3.6.2/lib/python3.6/encodings/utf_7.py +38 -0
- package/python3.6.2/lib/python3.6/encodings/utf_8.py +42 -0
- package/python3.6.2/lib/python3.6/encodings/utf_8_sig.py +130 -0
- package/python3.6.2/lib/python3.6/encodings/uu_codec.py +99 -0
- package/python3.6.2/lib/python3.6/encodings/zlib_codec.py +77 -0
- package/python3.6.2/lib/python3.6/ensurepip/__init__.py +205 -0
- package/python3.6.2/lib/python3.6/ensurepip/__main__.py +5 -0
- package/python3.6.2/lib/python3.6/ensurepip/_uninstall.py +31 -0
- package/python3.6.2/lib/python3.6/enum.py +875 -0
- package/python3.6.2/lib/python3.6/filecmp.py +305 -0
- package/python3.6.2/lib/python3.6/fileinput.py +425 -0
- package/python3.6.2/lib/python3.6/fnmatch.py +109 -0
- package/python3.6.2/lib/python3.6/formatter.py +452 -0
- package/python3.6.2/lib/python3.6/fractions.py +643 -0
- package/python3.6.2/lib/python3.6/ftplib.py +989 -0
- package/python3.6.2/lib/python3.6/functools.py +811 -0
- package/python3.6.2/lib/python3.6/genericpath.py +151 -0
- package/python3.6.2/lib/python3.6/getopt.py +215 -0
- package/python3.6.2/lib/python3.6/getpass.py +185 -0
- package/python3.6.2/lib/python3.6/gettext.py +637 -0
- package/python3.6.2/lib/python3.6/glob.py +171 -0
- package/python3.6.2/lib/python3.6/gzip.py +574 -0
- package/python3.6.2/lib/python3.6/hashlib.py +251 -0
- package/python3.6.2/lib/python3.6/heapq.py +607 -0
- package/python3.6.2/lib/python3.6/hmac.py +144 -0
- package/python3.6.2/lib/python3.6/html/__init__.py +132 -0
- package/python3.6.2/lib/python3.6/html/entities.py +2509 -0
- package/python3.6.2/lib/python3.6/html/parser.py +470 -0
- package/python3.6.2/lib/python3.6/http/__init__.py +134 -0
- package/python3.6.2/lib/python3.6/http/client.py +1478 -0
- package/python3.6.2/lib/python3.6/http/cookiejar.py +2098 -0
- package/python3.6.2/lib/python3.6/http/cookies.py +635 -0
- package/python3.6.2/lib/python3.6/http/server.py +1211 -0
- package/python3.6.2/lib/python3.6/idlelib/CREDITS.txt +37 -0
- package/python3.6.2/lib/python3.6/idlelib/ChangeLog +1591 -0
- package/python3.6.2/lib/python3.6/idlelib/HISTORY.txt +296 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/folder.gif +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/idle.icns +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/idle.ico +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/idle_16.gif +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/idle_16.png +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/idle_32.gif +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/idle_32.png +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/idle_48.gif +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/idle_48.png +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/minusnode.gif +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/openfolder.gif +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/plusnode.gif +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/python.gif +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/tk.gif +0 -0
- package/python3.6.2/lib/python3.6/idlelib/NEWS.txt +749 -0
- package/python3.6.2/lib/python3.6/idlelib/NEWS2x.txt +660 -0
- package/python3.6.2/lib/python3.6/idlelib/README.txt +251 -0
- package/python3.6.2/lib/python3.6/idlelib/TODO.txt +210 -0
- package/python3.6.2/lib/python3.6/idlelib/__init__.py +10 -0
- package/python3.6.2/lib/python3.6/idlelib/__main__.py +8 -0
- package/python3.6.2/lib/python3.6/idlelib/_pyclbr.py +402 -0
- package/python3.6.2/lib/python3.6/idlelib/autocomplete.py +232 -0
- package/python3.6.2/lib/python3.6/idlelib/autocomplete_w.py +460 -0
- package/python3.6.2/lib/python3.6/idlelib/autoexpand.py +96 -0
- package/python3.6.2/lib/python3.6/idlelib/browser.py +248 -0
- package/python3.6.2/lib/python3.6/idlelib/calltip_w.py +164 -0
- package/python3.6.2/lib/python3.6/idlelib/calltips.py +178 -0
- package/python3.6.2/lib/python3.6/idlelib/codecontext.py +185 -0
- package/python3.6.2/lib/python3.6/idlelib/colorizer.py +289 -0
- package/python3.6.2/lib/python3.6/idlelib/config-extensions.def +65 -0
- package/python3.6.2/lib/python3.6/idlelib/config-highlight.def +93 -0
- package/python3.6.2/lib/python3.6/idlelib/config-keys.def +304 -0
- package/python3.6.2/lib/python3.6/idlelib/config-main.def +88 -0
- package/python3.6.2/lib/python3.6/idlelib/config.py +929 -0
- package/python3.6.2/lib/python3.6/idlelib/config_key.py +298 -0
- package/python3.6.2/lib/python3.6/idlelib/configdialog.py +2254 -0
- package/python3.6.2/lib/python3.6/idlelib/debugger.py +544 -0
- package/python3.6.2/lib/python3.6/idlelib/debugger_r.py +388 -0
- package/python3.6.2/lib/python3.6/idlelib/debugobj.py +139 -0
- package/python3.6.2/lib/python3.6/idlelib/debugobj_r.py +36 -0
- package/python3.6.2/lib/python3.6/idlelib/delegator.py +33 -0
- package/python3.6.2/lib/python3.6/idlelib/dynoption.py +58 -0
- package/python3.6.2/lib/python3.6/idlelib/editor.py +1688 -0
- package/python3.6.2/lib/python3.6/idlelib/extend.txt +83 -0
- package/python3.6.2/lib/python3.6/idlelib/filelist.py +132 -0
- package/python3.6.2/lib/python3.6/idlelib/grep.py +200 -0
- package/python3.6.2/lib/python3.6/idlelib/help.html +791 -0
- package/python3.6.2/lib/python3.6/idlelib/help.py +275 -0
- package/python3.6.2/lib/python3.6/idlelib/help_about.py +205 -0
- package/python3.6.2/lib/python3.6/idlelib/history.py +106 -0
- package/python3.6.2/lib/python3.6/idlelib/hyperparser.py +312 -0
- package/python3.6.2/lib/python3.6/idlelib/idle.bat +4 -0
- package/python3.6.2/lib/python3.6/idlelib/idle.py +14 -0
- package/python3.6.2/lib/python3.6/idlelib/idle.pyw +17 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/README.txt +226 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/__init__.py +17 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/htest.py +421 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/mock_idle.py +60 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/mock_tk.py +303 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_autocomplete.py +149 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_autoexpand.py +143 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_browser.py +253 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_calltips.py +203 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_colorizer.py +56 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_config.py +824 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_config_key.py +102 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_configdialog.py +1415 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_debugger.py +29 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_delegator.py +40 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_editmenu.py +74 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_editor.py +14 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_grep.py +80 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_help.py +34 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_help_about.py +177 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_history.py +168 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_hyperparser.py +274 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_iomenu.py +234 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_macosx.py +106 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_outwin.py +172 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_paragraph.py +376 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_parenmatch.py +112 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_pathbrowser.py +88 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_percolator.py +118 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_query.py +354 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_redirector.py +124 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_replace.py +293 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_rstrip.py +49 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_run.py +35 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_scrolledlist.py +29 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_search.py +82 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_searchbase.py +156 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_searchengine.py +329 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_text.py +236 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_textview.py +179 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_tree.py +35 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_undo.py +135 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_warning.py +73 -0
- package/python3.6.2/lib/python3.6/idlelib/iomenu.py +574 -0
- package/python3.6.2/lib/python3.6/idlelib/macosx.py +252 -0
- package/python3.6.2/lib/python3.6/idlelib/mainmenu.py +108 -0
- package/python3.6.2/lib/python3.6/idlelib/multicall.py +445 -0
- package/python3.6.2/lib/python3.6/idlelib/outwin.py +188 -0
- package/python3.6.2/lib/python3.6/idlelib/paragraph.py +195 -0
- package/python3.6.2/lib/python3.6/idlelib/parenmatch.py +183 -0
- package/python3.6.2/lib/python3.6/idlelib/pathbrowser.py +111 -0
- package/python3.6.2/lib/python3.6/idlelib/percolator.py +104 -0
- package/python3.6.2/lib/python3.6/idlelib/pyparse.py +617 -0
- package/python3.6.2/lib/python3.6/idlelib/pyshell.py +1542 -0
- package/python3.6.2/lib/python3.6/idlelib/query.py +308 -0
- package/python3.6.2/lib/python3.6/idlelib/redirector.py +175 -0
- package/python3.6.2/lib/python3.6/idlelib/replace.py +243 -0
- package/python3.6.2/lib/python3.6/idlelib/rpc.py +627 -0
- package/python3.6.2/lib/python3.6/idlelib/rstrip.py +29 -0
- package/python3.6.2/lib/python3.6/idlelib/run.py +525 -0
- package/python3.6.2/lib/python3.6/idlelib/runscript.py +195 -0
- package/python3.6.2/lib/python3.6/idlelib/scrolledlist.py +147 -0
- package/python3.6.2/lib/python3.6/idlelib/search.py +102 -0
- package/python3.6.2/lib/python3.6/idlelib/searchbase.py +200 -0
- package/python3.6.2/lib/python3.6/idlelib/searchengine.py +236 -0
- package/python3.6.2/lib/python3.6/idlelib/stackviewer.py +152 -0
- package/python3.6.2/lib/python3.6/idlelib/statusbar.py +46 -0
- package/python3.6.2/lib/python3.6/idlelib/textview.py +136 -0
- package/python3.6.2/lib/python3.6/idlelib/tooltip.py +96 -0
- package/python3.6.2/lib/python3.6/idlelib/tree.py +467 -0
- package/python3.6.2/lib/python3.6/idlelib/undo.py +366 -0
- package/python3.6.2/lib/python3.6/idlelib/windows.py +92 -0
- package/python3.6.2/lib/python3.6/idlelib/zoomheight.py +48 -0
- package/python3.6.2/lib/python3.6/idlelib/zzdummy.py +42 -0
- package/python3.6.2/lib/python3.6/imaplib.py +1609 -0
- package/python3.6.2/lib/python3.6/imghdr.py +168 -0
- package/python3.6.2/lib/python3.6/imp.py +346 -0
- package/python3.6.2/lib/python3.6/importlib/__init__.py +173 -0
- package/python3.6.2/lib/python3.6/importlib/_bootstrap.py +1161 -0
- package/python3.6.2/lib/python3.6/importlib/_bootstrap_external.py +1443 -0
- package/python3.6.2/lib/python3.6/importlib/abc.py +329 -0
- package/python3.6.2/lib/python3.6/importlib/machinery.py +21 -0
- package/python3.6.2/lib/python3.6/importlib/util.py +288 -0
- package/python3.6.2/lib/python3.6/inspect.py +3098 -0
- package/python3.6.2/lib/python3.6/io.py +99 -0
- package/python3.6.2/lib/python3.6/ipaddress.py +2299 -0
- package/python3.6.2/lib/python3.6/json/__init__.py +367 -0
- package/python3.6.2/lib/python3.6/json/decoder.py +358 -0
- package/python3.6.2/lib/python3.6/json/encoder.py +441 -0
- package/python3.6.2/lib/python3.6/json/scanner.py +73 -0
- package/python3.6.2/lib/python3.6/json/tool.py +50 -0
- package/python3.6.2/lib/python3.6/keyword.py +94 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_asyncio.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_bisect.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_blake2.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_bz2.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_codecs_cn.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_codecs_hk.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_codecs_iso2022.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_codecs_jp.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_codecs_kr.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_codecs_tw.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_crypt.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_csv.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_ctypes.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_ctypes_test.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_curses.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_curses_panel.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_datetime.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_elementtree.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_hashlib.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_heapq.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_json.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_lsprof.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_md5.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_multibytecodec.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_multiprocessing.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_opcode.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_pickle.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_random.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_sha1.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_sha256.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_sha3.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_sha512.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_socket.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_sqlite3.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_ssl.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_struct.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_sysconfigdata_m_linux_arm-linux-androideabi.py +743 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_testbuffer.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_testcapi.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_testimportmultiple.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_testmultiphase.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/array.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/audioop.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/binascii.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/cmath.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/fcntl.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/grp.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/math.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/mmap.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/ossaudiodev.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/parser.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/pyexpat.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/readline.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/resource.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/select.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/syslog.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/termios.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/unicodedata.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/xxlimited.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/zlib.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/__init__.py +1 -0
- package/python3.6.2/lib/python3.6/lib2to3/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/lib2to3/btm_matcher.py +168 -0
- package/python3.6.2/lib/python3.6/lib2to3/btm_utils.py +281 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixer_base.py +186 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixer_util.py +453 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/__init__.py +1 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_apply.py +70 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_asserts.py +34 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_basestring.py +14 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_buffer.py +22 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_dict.py +106 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_except.py +93 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_exec.py +39 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_execfile.py +52 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_exitfunc.py +72 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_filter.py +90 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_funcattrs.py +21 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_future.py +22 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_getcwdu.py +19 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_has_key.py +109 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_idioms.py +152 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_import.py +99 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_imports.py +145 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_imports2.py +16 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_input.py +26 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_intern.py +41 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_isinstance.py +52 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_itertools.py +43 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_itertools_imports.py +57 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_long.py +19 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_map.py +110 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_metaclass.py +228 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_methodattrs.py +24 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_ne.py +23 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_next.py +103 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_nonzero.py +21 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_numliterals.py +28 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_operator.py +98 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_paren.py +44 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_print.py +87 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_raise.py +90 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_raw_input.py +17 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_reduce.py +35 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_reload.py +38 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_renames.py +70 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_repr.py +23 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_set_literal.py +53 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_standarderror.py +18 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_sys_exc.py +30 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_throw.py +56 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_tuple_params.py +175 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_types.py +61 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_unicode.py +42 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_urllib.py +196 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_ws_comma.py +39 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_xrange.py +73 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_xreadlines.py +25 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_zip.py +46 -0
- package/python3.6.2/lib/python3.6/lib2to3/main.py +268 -0
- package/python3.6.2/lib/python3.6/lib2to3/patcomp.py +205 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/__init__.py +4 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/conv.py +257 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/driver.py +160 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/grammar.py +207 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/literals.py +60 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/parse.py +201 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/pgen.py +386 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/token.py +85 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/tokenize.py +590 -0
- package/python3.6.2/lib/python3.6/lib2to3/pygram.py +40 -0
- package/python3.6.2/lib/python3.6/lib2to3/pytree.py +854 -0
- package/python3.6.2/lib/python3.6/lib2to3/refactor.py +744 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/__init__.py +9 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/README +6 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/bom.py +2 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/crlf.py +3 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/different_encoding.py +6 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/false_encoding.py +2 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/bad_order.py +5 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_explicit.py +6 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_first.py +6 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_last.py +7 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_parrot.py +13 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_preorder.py +6 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/no_fixer_cls.py +1 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/parrot_example.py +2 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/infinite_recursion.py +2669 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/py2_test_grammar.py +974 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/py3_test_grammar.py +945 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/pytree_idempotency.py +94 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/support.py +52 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_all_fixers.py +27 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_fixers.py +4640 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_main.py +139 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_parser.py +472 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_pytree.py +472 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_refactor.py +316 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_util.py +591 -0
- package/python3.6.2/lib/python3.6/linecache.py +177 -0
- package/python3.6.2/lib/python3.6/locale.py +1684 -0
- package/python3.6.2/lib/python3.6/logging/__init__.py +2019 -0
- package/python3.6.2/lib/python3.6/logging/config.py +933 -0
- package/python3.6.2/lib/python3.6/logging/handlers.py +1505 -0
- package/python3.6.2/lib/python3.6/lzma.py +347 -0
- package/python3.6.2/lib/python3.6/macpath.py +211 -0
- package/python3.6.2/lib/python3.6/macurl2path.py +77 -0
- package/python3.6.2/lib/python3.6/mailbox.py +2146 -0
- package/python3.6.2/lib/python3.6/mailcap.py +275 -0
- package/python3.6.2/lib/python3.6/mimetypes.py +598 -0
- package/python3.6.2/lib/python3.6/modulefinder.py +633 -0
- package/python3.6.2/lib/python3.6/msilib/__init__.py +483 -0
- package/python3.6.2/lib/python3.6/msilib/schema.py +1007 -0
- package/python3.6.2/lib/python3.6/msilib/sequence.py +126 -0
- package/python3.6.2/lib/python3.6/msilib/text.py +129 -0
- package/python3.6.2/lib/python3.6/multiprocessing/__init__.py +38 -0
- package/python3.6.2/lib/python3.6/multiprocessing/connection.py +953 -0
- package/python3.6.2/lib/python3.6/multiprocessing/context.py +357 -0
- package/python3.6.2/lib/python3.6/multiprocessing/dummy/__init__.py +119 -0
- package/python3.6.2/lib/python3.6/multiprocessing/dummy/connection.py +73 -0
- package/python3.6.2/lib/python3.6/multiprocessing/forkserver.py +266 -0
- package/python3.6.2/lib/python3.6/multiprocessing/heap.py +254 -0
- package/python3.6.2/lib/python3.6/multiprocessing/managers.py +1160 -0
- package/python3.6.2/lib/python3.6/multiprocessing/pool.py +803 -0
- package/python3.6.2/lib/python3.6/multiprocessing/popen_fork.py +86 -0
- package/python3.6.2/lib/python3.6/multiprocessing/popen_forkserver.py +68 -0
- package/python3.6.2/lib/python3.6/multiprocessing/popen_spawn_posix.py +68 -0
- package/python3.6.2/lib/python3.6/multiprocessing/popen_spawn_win32.py +98 -0
- package/python3.6.2/lib/python3.6/multiprocessing/process.py +336 -0
- package/python3.6.2/lib/python3.6/multiprocessing/queues.py +347 -0
- package/python3.6.2/lib/python3.6/multiprocessing/reduction.py +274 -0
- package/python3.6.2/lib/python3.6/multiprocessing/resource_sharer.py +158 -0
- package/python3.6.2/lib/python3.6/multiprocessing/semaphore_tracker.py +157 -0
- package/python3.6.2/lib/python3.6/multiprocessing/sharedctypes.py +239 -0
- package/python3.6.2/lib/python3.6/multiprocessing/spawn.py +286 -0
- package/python3.6.2/lib/python3.6/multiprocessing/synchronize.py +406 -0
- package/python3.6.2/lib/python3.6/multiprocessing/util.py +406 -0
- package/python3.6.2/lib/python3.6/netrc.py +142 -0
- package/python3.6.2/lib/python3.6/nntplib.py +1147 -0
- package/python3.6.2/lib/python3.6/ntpath.py +692 -0
- package/python3.6.2/lib/python3.6/nturl2path.py +68 -0
- package/python3.6.2/lib/python3.6/numbers.py +389 -0
- package/python3.6.2/lib/python3.6/opcode.py +215 -0
- package/python3.6.2/lib/python3.6/operator.py +464 -0
- package/python3.6.2/lib/python3.6/optparse.py +1681 -0
- package/python3.6.2/lib/python3.6/os.py +1069 -0
- package/python3.6.2/lib/python3.6/pathlib.py +1434 -0
- package/python3.6.2/lib/python3.6/pdb.py +1694 -0
- package/python3.6.2/lib/python3.6/pickle.py +1605 -0
- package/python3.6.2/lib/python3.6/pickletools.py +2840 -0
- package/python3.6.2/lib/python3.6/pipes.py +247 -0
- package/python3.6.2/lib/python3.6/pkgutil.py +634 -0
- package/python3.6.2/lib/python3.6/platform.py +1400 -0
- package/python3.6.2/lib/python3.6/plistlib.py +1043 -0
- package/python3.6.2/lib/python3.6/poplib.py +478 -0
- package/python3.6.2/lib/python3.6/posixpath.py +520 -0
- package/python3.6.2/lib/python3.6/pprint.py +597 -0
- package/python3.6.2/lib/python3.6/profile.py +589 -0
- package/python3.6.2/lib/python3.6/pstats.py +697 -0
- package/python3.6.2/lib/python3.6/pty.py +170 -0
- package/python3.6.2/lib/python3.6/py_compile.py +186 -0
- package/python3.6.2/lib/python3.6/pyclbr.py +352 -0
- package/python3.6.2/lib/python3.6/pydoc.py +2663 -0
- package/python3.6.2/lib/python3.6/pydoc_data/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/pydoc_data/topics.py +12951 -0
- package/python3.6.2/lib/python3.6/queue.py +246 -0
- package/python3.6.2/lib/python3.6/quopri.py +242 -0
- package/python3.6.2/lib/python3.6/random.py +768 -0
- package/python3.6.2/lib/python3.6/re.py +381 -0
- package/python3.6.2/lib/python3.6/reprlib.py +164 -0
- package/python3.6.2/lib/python3.6/rlcompleter.py +205 -0
- package/python3.6.2/lib/python3.6/runpy.py +294 -0
- package/python3.6.2/lib/python3.6/sched.py +170 -0
- package/python3.6.2/lib/python3.6/secrets.py +73 -0
- package/python3.6.2/lib/python3.6/selectors.py +611 -0
- package/python3.6.2/lib/python3.6/shelve.py +243 -0
- package/python3.6.2/lib/python3.6/shlex.py +335 -0
- package/python3.6.2/lib/python3.6/shutil.py +1153 -0
- package/python3.6.2/lib/python3.6/signal.py +79 -0
- package/python3.6.2/lib/python3.6/site.py +598 -0
- package/python3.6.2/lib/python3.6/smtpd.py +965 -0
- package/python3.6.2/lib/python3.6/smtplib.py +1115 -0
- package/python3.6.2/lib/python3.6/sndhdr.py +257 -0
- package/python3.6.2/lib/python3.6/socket.py +750 -0
- package/python3.6.2/lib/python3.6/socketserver.py +793 -0
- package/python3.6.2/lib/python3.6/sqlite3/__init__.py +23 -0
- package/python3.6.2/lib/python3.6/sqlite3/dbapi2.py +89 -0
- package/python3.6.2/lib/python3.6/sqlite3/dump.py +70 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/dbapi.py +938 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/dump.py +81 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/factory.py +293 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/hooks.py +264 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/regression.py +410 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/transactions.py +214 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/types.py +421 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/userfunctions.py +473 -0
- package/python3.6.2/lib/python3.6/sre_compile.py +580 -0
- package/python3.6.2/lib/python3.6/sre_constants.py +233 -0
- package/python3.6.2/lib/python3.6/sre_parse.py +973 -0
- package/python3.6.2/lib/python3.6/ssl.py +1228 -0
- package/python3.6.2/lib/python3.6/stat.py +178 -0
- package/python3.6.2/lib/python3.6/statistics.py +670 -0
- package/python3.6.2/lib/python3.6/string.py +309 -0
- package/python3.6.2/lib/python3.6/stringprep.py +272 -0
- package/python3.6.2/lib/python3.6/struct.py +15 -0
- package/python3.6.2/lib/python3.6/subprocess.py +1590 -0
- package/python3.6.2/lib/python3.6/sunau.py +525 -0
- package/python3.6.2/lib/python3.6/symbol.py +115 -0
- package/python3.6.2/lib/python3.6/symtable.py +238 -0
- package/python3.6.2/lib/python3.6/sysconfig.py +721 -0
- package/python3.6.2/lib/python3.6/tabnanny.py +332 -0
- package/python3.6.2/lib/python3.6/tarfile.py +2547 -0
- package/python3.6.2/lib/python3.6/telnetlib.py +675 -0
- package/python3.6.2/lib/python3.6/tempfile.py +811 -0
- package/python3.6.2/lib/python3.6/test/Sine-1000Hz-300ms.aif +0 -0
- package/python3.6.2/lib/python3.6/test/__init__.py +1 -0
- package/python3.6.2/lib/python3.6/test/__main__.py +2 -0
- package/python3.6.2/lib/python3.6/test/_test_multiprocessing.py +4458 -0
- package/python3.6.2/lib/python3.6/test/allsans.pem +37 -0
- package/python3.6.2/lib/python3.6/test/ann_module.py +53 -0
- package/python3.6.2/lib/python3.6/test/ann_module2.py +36 -0
- package/python3.6.2/lib/python3.6/test/ann_module3.py +18 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-alaw.aifc +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm16.aiff +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm16.au +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm16.wav +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm24.aiff +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm24.au +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm24.wav +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm32.aiff +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm32.au +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm32.wav +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm8.aiff +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm8.au +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm8.wav +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-ulaw.aifc +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-ulaw.au +0 -0
- package/python3.6.2/lib/python3.6/test/audiotest.au +0 -0
- package/python3.6.2/lib/python3.6/test/audiotests.py +329 -0
- package/python3.6.2/lib/python3.6/test/autotest.py +5 -0
- package/python3.6.2/lib/python3.6/test/bad_coding.py +1 -0
- package/python3.6.2/lib/python3.6/test/bad_coding2.py +2 -0
- package/python3.6.2/lib/python3.6/test/badcert.pem +36 -0
- package/python3.6.2/lib/python3.6/test/badkey.pem +40 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_3131.py +2 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_future10.py +3 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_future3.py +10 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_future4.py +10 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_future5.py +12 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_future6.py +10 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_future7.py +11 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_future8.py +10 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_future9.py +10 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_pep3120.py +1 -0
- package/python3.6.2/lib/python3.6/test/bisect.py +167 -0
- package/python3.6.2/lib/python3.6/test/bytecode_helper.py +41 -0
- package/python3.6.2/lib/python3.6/test/capath/4e1295a3.0 +14 -0
- package/python3.6.2/lib/python3.6/test/capath/5ed36f99.0 +41 -0
- package/python3.6.2/lib/python3.6/test/capath/6e88d7b8.0 +14 -0
- package/python3.6.2/lib/python3.6/test/capath/99d0fa06.0 +41 -0
- package/python3.6.2/lib/python3.6/test/capath/b1930218.0 +21 -0
- package/python3.6.2/lib/python3.6/test/capath/ceff1710.0 +21 -0
- package/python3.6.2/lib/python3.6/test/cfgparser.1 +3 -0
- package/python3.6.2/lib/python3.6/test/cfgparser.2 +537 -0
- package/python3.6.2/lib/python3.6/test/cfgparser.3 +69 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/big5-utf8.txt +9 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/big5.txt +9 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/big5hkscs-utf8.txt +2 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/big5hkscs.txt +2 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/cp949-utf8.txt +9 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/cp949.txt +9 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jisx0213-utf8.txt +8 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jisx0213.txt +8 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jp-utf8.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jp.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_kr-utf8.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_kr.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/gb18030-utf8.txt +15 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/gb18030.txt +15 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/gb2312-utf8.txt +6 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/gb2312.txt +6 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/gbk-utf8.txt +14 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/gbk.txt +14 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/hz-utf8.txt +2 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/hz.txt +2 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_jp-utf8.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_jp.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_kr-utf8.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_kr.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/johab-utf8.txt +9 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/johab.txt +9 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jis-utf8.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jis.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jisx0213-utf8.txt +8 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jisx0213.txt +8 -0
- package/python3.6.2/lib/python3.6/test/cmath_testcases.txt +2511 -0
- package/python3.6.2/lib/python3.6/test/coding20731.py +4 -0
- package/python3.6.2/lib/python3.6/test/crashers/README +20 -0
- package/python3.6.2/lib/python3.6/test/crashers/bogus_code_obj.py +19 -0
- package/python3.6.2/lib/python3.6/test/crashers/gc_inspection.py +32 -0
- package/python3.6.2/lib/python3.6/test/crashers/infinite_loop_re.py +16 -0
- package/python3.6.2/lib/python3.6/test/crashers/mutation_inside_cyclegc.py +31 -0
- package/python3.6.2/lib/python3.6/test/crashers/recursive_call.py +15 -0
- package/python3.6.2/lib/python3.6/test/crashers/trace_at_recursion_limit.py +27 -0
- package/python3.6.2/lib/python3.6/test/crashers/underlying_dict.py +20 -0
- package/python3.6.2/lib/python3.6/test/curses_tests.py +46 -0
- package/python3.6.2/lib/python3.6/test/data/README +2 -0
- package/python3.6.2/lib/python3.6/test/datetimetester.py +4929 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/abs.decTest +161 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/add.decTest +2716 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/and.decTest +338 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/base.decTest +1411 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/clamp.decTest +211 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/class.decTest +131 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/compare.decTest +758 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/comparetotal.decTest +798 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/comparetotmag.decTest +790 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/copy.decTest +86 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/copyabs.decTest +86 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/copynegate.decTest +86 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/copysign.decTest +177 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddAbs.decTest +126 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddAdd.decTest +1328 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddAnd.decTest +347 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddBase.decTest +1104 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCanonical.decTest +357 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddClass.decTest +76 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompare.decTest +744 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompareSig.decTest +647 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompareTotal.decTest +706 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompareTotalMag.decTest +706 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopy.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopyAbs.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopyNegate.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopySign.decTest +175 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddDivide.decTest +863 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddDivideInt.decTest +449 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddEncode.decTest +495 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddFMA.decTest +1698 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddInvert.decTest +202 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddLogB.decTest +159 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMax.decTest +322 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMaxMag.decTest +304 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMin.decTest +309 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMinMag.decTest +293 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMinus.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMultiply.decTest +553 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddNextMinus.decTest +126 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddNextPlus.decTest +124 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddNextToward.decTest +374 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddOr.decTest +292 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddPlus.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddQuantize.decTest +833 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddReduce.decTest +182 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddRemainder.decTest +600 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddRemainderNear.decTest +629 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddRotate.decTest +262 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddSameQuantum.decTest +389 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddScaleB.decTest +243 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddShift.decTest +262 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddSubtract.decTest +629 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddToIntegral.decTest +257 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddXor.decTest +337 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/decDouble.decTest +65 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/decQuad.decTest +65 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/decSingle.decTest +25 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/divide.decTest +854 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/divideint.decTest +486 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqAbs.decTest +126 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqAdd.decTest +1215 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqAnd.decTest +420 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqBase.decTest +1081 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCanonical.decTest +372 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqClass.decTest +77 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompare.decTest +753 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompareSig.decTest +647 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompareTotal.decTest +706 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompareTotalMag.decTest +706 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopy.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopyAbs.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopyNegate.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopySign.decTest +175 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqDivide.decTest +808 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqDivideInt.decTest +453 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqEncode.decTest +477 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqFMA.decTest +1786 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqInvert.decTest +245 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqLogB.decTest +160 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMax.decTest +322 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMaxMag.decTest +304 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMin.decTest +309 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMinMag.decTest +293 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMinus.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMultiply.decTest +589 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqNextMinus.decTest +126 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqNextPlus.decTest +124 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqNextToward.decTest +375 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqOr.decTest +401 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqPlus.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqQuantize.decTest +836 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqReduce.decTest +183 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqRemainder.decTest +597 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqRemainderNear.decTest +631 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqRotate.decTest +298 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqSameQuantum.decTest +389 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqScaleB.decTest +260 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqShift.decTest +298 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqSubtract.decTest +635 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqToIntegral.decTest +257 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqXor.decTest +410 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dsBase.decTest +1062 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dsEncode.decTest +372 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/exp.decTest +674 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/extra.decTest +2830 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/fma.decTest +3426 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/inexact.decTest +215 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/invert.decTest +176 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ln.decTest +611 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/log10.decTest +551 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/logb.decTest +188 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/max.decTest +424 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/maxmag.decTest +404 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/min.decTest +407 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/minmag.decTest +390 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/minus.decTest +182 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/multiply.decTest +731 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/nextminus.decTest +148 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/nextplus.decTest +150 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/nexttoward.decTest +426 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/or.decTest +334 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/plus.decTest +195 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/power.decTest +1624 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/powersqrt.decTest +2970 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/quantize.decTest +948 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/randomBound32.decTest +2443 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/randoms.decTest +4030 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/reduce.decTest +234 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/remainder.decTest +640 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/remainderNear.decTest +572 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/rescale.decTest +764 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/rotate.decTest +247 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/rounding.decTest +1303 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/samequantum.decTest +389 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/scaleb.decTest +209 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/shift.decTest +250 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/squareroot.decTest +3834 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/subtract.decTest +873 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/testall.decTest +87 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/tointegral.decTest +241 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/tointegralx.decTest +255 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/xor.decTest +335 -0
- package/python3.6.2/lib/python3.6/test/dh1024.pem +7 -0
- package/python3.6.2/lib/python3.6/test/dis_module.py +5 -0
- package/python3.6.2/lib/python3.6/test/doctest_aliases.py +13 -0
- package/python3.6.2/lib/python3.6/test/double_const.py +30 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/assert_usable.d +5 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/assert_usable.stp +5 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.d +31 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.d.expected +18 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.py +30 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.stp +41 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.stp.expected +14 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.d +18 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.d.expected +8 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.py +13 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.stp +26 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.stp.expected +8 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/instance.py +24 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/line.d +7 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/line.d.expected +20 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/line.py +17 -0
- package/python3.6.2/lib/python3.6/test/eintrdata/eintr_tester.py +493 -0
- package/python3.6.2/lib/python3.6/test/empty.vbs +1 -0
- package/python3.6.2/lib/python3.6/test/encoded_modules/__init__.py +23 -0
- package/python3.6.2/lib/python3.6/test/encoded_modules/module_iso_8859_1.py +5 -0
- package/python3.6.2/lib/python3.6/test/encoded_modules/module_koi8_r.py +3 -0
- package/python3.6.2/lib/python3.6/test/exception_hierarchy.txt +64 -0
- package/python3.6.2/lib/python3.6/test/final_a.py +19 -0
- package/python3.6.2/lib/python3.6/test/final_b.py +19 -0
- package/python3.6.2/lib/python3.6/test/floating_points.txt +1028 -0
- package/python3.6.2/lib/python3.6/test/fork_wait.py +91 -0
- package/python3.6.2/lib/python3.6/test/formatfloat_testcases.txt +355 -0
- package/python3.6.2/lib/python3.6/test/future_test1.py +11 -0
- package/python3.6.2/lib/python3.6/test/future_test2.py +10 -0
- package/python3.6.2/lib/python3.6/test/gdb_sample.py +12 -0
- package/python3.6.2/lib/python3.6/test/ieee754.txt +185 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.bmp +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.exr +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.gif +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.jpg +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.pbm +3 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.pgm +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.png +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.ppm +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.ras +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.sgi +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.tiff +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.webp +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.xbm +6 -0
- package/python3.6.2/lib/python3.6/test/imp_dummy.py +3 -0
- package/python3.6.2/lib/python3.6/test/inspect_fodder.py +76 -0
- package/python3.6.2/lib/python3.6/test/inspect_fodder2.py +139 -0
- package/python3.6.2/lib/python3.6/test/keycert.passwd.pem +33 -0
- package/python3.6.2/lib/python3.6/test/keycert.pem +31 -0
- package/python3.6.2/lib/python3.6/test/keycert2.pem +31 -0
- package/python3.6.2/lib/python3.6/test/keycert3.pem +73 -0
- package/python3.6.2/lib/python3.6/test/keycert4.pem +73 -0
- package/python3.6.2/lib/python3.6/test/leakers/README.txt +32 -0
- package/python3.6.2/lib/python3.6/test/leakers/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/test/leakers/test_ctypes.py +15 -0
- package/python3.6.2/lib/python3.6/test/leakers/test_selftype.py +13 -0
- package/python3.6.2/lib/python3.6/test/libregrtest/__init__.py +5 -0
- package/python3.6.2/lib/python3.6/test/libregrtest/cmdline.py +387 -0
- package/python3.6.2/lib/python3.6/test/libregrtest/main.py +584 -0
- package/python3.6.2/lib/python3.6/test/libregrtest/refleak.py +294 -0
- package/python3.6.2/lib/python3.6/test/libregrtest/runtest.py +254 -0
- package/python3.6.2/lib/python3.6/test/libregrtest/runtest_mp.py +244 -0
- package/python3.6.2/lib/python3.6/test/libregrtest/save_env.py +284 -0
- package/python3.6.2/lib/python3.6/test/libregrtest/setup.py +140 -0
- package/python3.6.2/lib/python3.6/test/list_tests.py +618 -0
- package/python3.6.2/lib/python3.6/test/lock_tests.py +936 -0
- package/python3.6.2/lib/python3.6/test/mailcap.txt +39 -0
- package/python3.6.2/lib/python3.6/test/make_ssl_certs.py +216 -0
- package/python3.6.2/lib/python3.6/test/mapping_tests.py +657 -0
- package/python3.6.2/lib/python3.6/test/math_testcases.txt +633 -0
- package/python3.6.2/lib/python3.6/test/memory_watchdog.py +28 -0
- package/python3.6.2/lib/python3.6/test/mime.types +1445 -0
- package/python3.6.2/lib/python3.6/test/mock_socket.py +159 -0
- package/python3.6.2/lib/python3.6/test/mod_generics_cache.py +53 -0
- package/python3.6.2/lib/python3.6/test/mp_fork_bomb.py +18 -0
- package/python3.6.2/lib/python3.6/test/mp_preload.py +18 -0
- package/python3.6.2/lib/python3.6/test/multibytecodec_support.py +384 -0
- package/python3.6.2/lib/python3.6/test/nokia.pem +31 -0
- package/python3.6.2/lib/python3.6/test/nullbytecert.pem +90 -0
- package/python3.6.2/lib/python3.6/test/nullcert.pem +0 -0
- package/python3.6.2/lib/python3.6/test/outstanding_bugs.py +18 -0
- package/python3.6.2/lib/python3.6/test/pickletester.py +2922 -0
- package/python3.6.2/lib/python3.6/test/profilee.py +115 -0
- package/python3.6.2/lib/python3.6/test/pstats.pck +0 -0
- package/python3.6.2/lib/python3.6/test/pycacert.pem +78 -0
- package/python3.6.2/lib/python3.6/test/pycakey.pem +28 -0
- package/python3.6.2/lib/python3.6/test/pyclbr_input.py +33 -0
- package/python3.6.2/lib/python3.6/test/pydoc_mod.py +37 -0
- package/python3.6.2/lib/python3.6/test/pydocfodder.py +216 -0
- package/python3.6.2/lib/python3.6/test/pystone.py +277 -0
- package/python3.6.2/lib/python3.6/test/pythoninfo.py +486 -0
- package/python3.6.2/lib/python3.6/test/randv2_32.pck +633 -0
- package/python3.6.2/lib/python3.6/test/randv2_64.pck +633 -0
- package/python3.6.2/lib/python3.6/test/randv3.pck +633 -0
- package/python3.6.2/lib/python3.6/test/re_tests.py +670 -0
- package/python3.6.2/lib/python3.6/test/regrtest.py +50 -0
- package/python3.6.2/lib/python3.6/test/relimport.py +1 -0
- package/python3.6.2/lib/python3.6/test/reperf.py +23 -0
- package/python3.6.2/lib/python3.6/test/revocation.crl +11 -0
- package/python3.6.2/lib/python3.6/test/sample_doctest.py +76 -0
- package/python3.6.2/lib/python3.6/test/sample_doctest_no_docstrings.py +12 -0
- package/python3.6.2/lib/python3.6/test/sample_doctest_no_doctests.py +15 -0
- package/python3.6.2/lib/python3.6/test/selfsigned_pythontestdotnet.pem +16 -0
- package/python3.6.2/lib/python3.6/test/seq_tests.py +414 -0
- package/python3.6.2/lib/python3.6/test/sgml_input.html +212 -0
- package/python3.6.2/lib/python3.6/test/signalinterproctester.py +84 -0
- package/python3.6.2/lib/python3.6/test/sndhdrdata/README +5 -0
- package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.8svx +0 -0
- package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.aifc +0 -0
- package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.aiff +0 -0
- package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.au +0 -0
- package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.hcom +0 -0
- package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.sndt +0 -0
- package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.voc +0 -0
- package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.wav +0 -0
- package/python3.6.2/lib/python3.6/test/sortperf.py +169 -0
- package/python3.6.2/lib/python3.6/test/ssl_cert.pem +15 -0
- package/python3.6.2/lib/python3.6/test/ssl_key.passwd.pem +18 -0
- package/python3.6.2/lib/python3.6/test/ssl_key.pem +16 -0
- package/python3.6.2/lib/python3.6/test/ssl_servers.py +209 -0
- package/python3.6.2/lib/python3.6/test/ssltests.py +37 -0
- package/python3.6.2/lib/python3.6/test/string_tests.py +1383 -0
- package/python3.6.2/lib/python3.6/test/subprocessdata/fd_status.py +34 -0
- package/python3.6.2/lib/python3.6/test/subprocessdata/input_reader.py +7 -0
- package/python3.6.2/lib/python3.6/test/subprocessdata/qcat.py +7 -0
- package/python3.6.2/lib/python3.6/test/subprocessdata/qgrep.py +10 -0
- package/python3.6.2/lib/python3.6/test/subprocessdata/sigchild_ignore.py +15 -0
- package/python3.6.2/lib/python3.6/test/support/__init__.py +2706 -0
- package/python3.6.2/lib/python3.6/test/support/script_helper.py +259 -0
- package/python3.6.2/lib/python3.6/test/test___all__.py +109 -0
- package/python3.6.2/lib/python3.6/test/test___future__.py +61 -0
- package/python3.6.2/lib/python3.6/test/test__locale.py +193 -0
- package/python3.6.2/lib/python3.6/test/test__opcode.py +20 -0
- package/python3.6.2/lib/python3.6/test/test__osx_support.py +276 -0
- package/python3.6.2/lib/python3.6/test/test_abc.py +420 -0
- package/python3.6.2/lib/python3.6/test/test_abstract_numbers.py +44 -0
- package/python3.6.2/lib/python3.6/test/test_aifc.py +399 -0
- package/python3.6.2/lib/python3.6/test/test_argparse.py +5006 -0
- package/python3.6.2/lib/python3.6/test/test_array.py +1388 -0
- package/python3.6.2/lib/python3.6/test/test_asdl_parser.py +122 -0
- package/python3.6.2/lib/python3.6/test/test_ast.py +1170 -0
- package/python3.6.2/lib/python3.6/test/test_asyncgen.py +1044 -0
- package/python3.6.2/lib/python3.6/test/test_asynchat.py +308 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/__init__.py +10 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/echo.py +8 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/echo2.py +6 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/echo3.py +11 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/keycert3.pem +73 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/pycacert.pem +78 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/ssl_cert.pem +15 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/ssl_key.pem +16 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_base_events.py +1761 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_events.py +2791 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_futures.py +692 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_locks.py +943 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_pep492.py +232 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_proactor_events.py +593 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_queues.py +643 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_selector_events.py +1833 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_sslproto.py +134 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_streams.py +868 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_subprocess.py +532 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_tasks.py +2598 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_transports.py +91 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_unix_events.py +1621 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_windows_events.py +164 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_windows_utils.py +182 -0
- package/python3.6.2/lib/python3.6/test/test_asyncore.py +847 -0
- package/python3.6.2/lib/python3.6/test/test_atexit.py +192 -0
- package/python3.6.2/lib/python3.6/test/test_audioop.py +565 -0
- package/python3.6.2/lib/python3.6/test/test_augassign.py +326 -0
- package/python3.6.2/lib/python3.6/test/test_base64.py +681 -0
- package/python3.6.2/lib/python3.6/test/test_baseexception.py +183 -0
- package/python3.6.2/lib/python3.6/test/test_bigaddrspace.py +101 -0
- package/python3.6.2/lib/python3.6/test/test_bigmem.py +1256 -0
- package/python3.6.2/lib/python3.6/test/test_binascii.py +373 -0
- package/python3.6.2/lib/python3.6/test/test_binhex.py +55 -0
- package/python3.6.2/lib/python3.6/test/test_binop.py +441 -0
- package/python3.6.2/lib/python3.6/test/test_bisect.py +328 -0
- package/python3.6.2/lib/python3.6/test/test_bool.py +368 -0
- package/python3.6.2/lib/python3.6/test/test_buffer.py +4396 -0
- package/python3.6.2/lib/python3.6/test/test_bufio.py +73 -0
- package/python3.6.2/lib/python3.6/test/test_builtin.py +1851 -0
- package/python3.6.2/lib/python3.6/test/test_bytes.py +1759 -0
- package/python3.6.2/lib/python3.6/test/test_bz2.py +1002 -0
- package/python3.6.2/lib/python3.6/test/test_calendar.py +848 -0
- package/python3.6.2/lib/python3.6/test/test_call.py +302 -0
- package/python3.6.2/lib/python3.6/test/test_capi.py +753 -0
- package/python3.6.2/lib/python3.6/test/test_cgi.py +539 -0
- package/python3.6.2/lib/python3.6/test/test_cgitb.py +67 -0
- package/python3.6.2/lib/python3.6/test/test_charmapcodec.py +53 -0
- package/python3.6.2/lib/python3.6/test/test_class.py +599 -0
- package/python3.6.2/lib/python3.6/test/test_cmath.py +643 -0
- package/python3.6.2/lib/python3.6/test/test_cmd.py +243 -0
- package/python3.6.2/lib/python3.6/test/test_cmd_line.py +494 -0
- package/python3.6.2/lib/python3.6/test/test_cmd_line_script.py +648 -0
- package/python3.6.2/lib/python3.6/test/test_code.py +367 -0
- package/python3.6.2/lib/python3.6/test/test_code_module.py +154 -0
- package/python3.6.2/lib/python3.6/test/test_codeccallbacks.py +1074 -0
- package/python3.6.2/lib/python3.6/test/test_codecencodings_cn.py +96 -0
- package/python3.6.2/lib/python3.6/test/test_codecencodings_hk.py +22 -0
- package/python3.6.2/lib/python3.6/test/test_codecencodings_iso2022.py +41 -0
- package/python3.6.2/lib/python3.6/test/test_codecencodings_jp.py +126 -0
- package/python3.6.2/lib/python3.6/test/test_codecencodings_kr.py +69 -0
- package/python3.6.2/lib/python3.6/test/test_codecencodings_tw.py +22 -0
- package/python3.6.2/lib/python3.6/test/test_codecmaps_cn.py +26 -0
- package/python3.6.2/lib/python3.6/test/test_codecmaps_hk.py +15 -0
- package/python3.6.2/lib/python3.6/test/test_codecmaps_jp.py +60 -0
- package/python3.6.2/lib/python3.6/test/test_codecmaps_kr.py +37 -0
- package/python3.6.2/lib/python3.6/test/test_codecmaps_tw.py +27 -0
- package/python3.6.2/lib/python3.6/test/test_codecs.py +3272 -0
- package/python3.6.2/lib/python3.6/test/test_codeop.py +299 -0
- package/python3.6.2/lib/python3.6/test/test_collections.py +1926 -0
- package/python3.6.2/lib/python3.6/test/test_colorsys.py +100 -0
- package/python3.6.2/lib/python3.6/test/test_compare.py +124 -0
- package/python3.6.2/lib/python3.6/test/test_compile.py +720 -0
- package/python3.6.2/lib/python3.6/test/test_compileall.py +547 -0
- package/python3.6.2/lib/python3.6/test/test_complex.py +688 -0
- package/python3.6.2/lib/python3.6/test/test_concurrent_futures.py +836 -0
- package/python3.6.2/lib/python3.6/test/test_configparser.py +2096 -0
- package/python3.6.2/lib/python3.6/test/test_contains.py +114 -0
- package/python3.6.2/lib/python3.6/test/test_contextlib.py +990 -0
- package/python3.6.2/lib/python3.6/test/test_copy.py +888 -0
- package/python3.6.2/lib/python3.6/test/test_copyreg.py +126 -0
- package/python3.6.2/lib/python3.6/test/test_coroutines.py +2151 -0
- package/python3.6.2/lib/python3.6/test/test_cprofile.py +98 -0
- package/python3.6.2/lib/python3.6/test/test_crashers.py +37 -0
- package/python3.6.2/lib/python3.6/test/test_crypt.py +45 -0
- package/python3.6.2/lib/python3.6/test/test_csv.py +1175 -0
- package/python3.6.2/lib/python3.6/test/test_ctypes.py +9 -0
- package/python3.6.2/lib/python3.6/test/test_curses.py +549 -0
- package/python3.6.2/lib/python3.6/test/test_datetime.py +57 -0
- package/python3.6.2/lib/python3.6/test/test_dbm.py +192 -0
- package/python3.6.2/lib/python3.6/test/test_dbm_dumb.py +286 -0
- package/python3.6.2/lib/python3.6/test/test_dbm_gnu.py +97 -0
- package/python3.6.2/lib/python3.6/test/test_dbm_ndbm.py +52 -0
- package/python3.6.2/lib/python3.6/test/test_decimal.py +5707 -0
- package/python3.6.2/lib/python3.6/test/test_decorators.py +304 -0
- package/python3.6.2/lib/python3.6/test/test_defaultdict.py +187 -0
- package/python3.6.2/lib/python3.6/test/test_deque.py +1059 -0
- package/python3.6.2/lib/python3.6/test/test_descr.py +5452 -0
- package/python3.6.2/lib/python3.6/test/test_descrtut.py +486 -0
- package/python3.6.2/lib/python3.6/test/test_devpoll.py +145 -0
- package/python3.6.2/lib/python3.6/test/test_dict.py +1217 -0
- package/python3.6.2/lib/python3.6/test/test_dict_version.py +186 -0
- package/python3.6.2/lib/python3.6/test/test_dictcomps.py +86 -0
- package/python3.6.2/lib/python3.6/test/test_dictviews.py +272 -0
- package/python3.6.2/lib/python3.6/test/test_difflib.py +478 -0
- package/python3.6.2/lib/python3.6/test/test_difflib_expect.html +526 -0
- package/python3.6.2/lib/python3.6/test/test_dis.py +960 -0
- package/python3.6.2/lib/python3.6/test/test_distutils.py +18 -0
- package/python3.6.2/lib/python3.6/test/test_doctest.py +2962 -0
- package/python3.6.2/lib/python3.6/test/test_doctest.txt +17 -0
- package/python3.6.2/lib/python3.6/test/test_doctest2.py +123 -0
- package/python3.6.2/lib/python3.6/test/test_doctest2.txt +14 -0
- package/python3.6.2/lib/python3.6/test/test_doctest3.txt +5 -0
- package/python3.6.2/lib/python3.6/test/test_doctest4.txt +11 -0
- package/python3.6.2/lib/python3.6/test/test_docxmlrpc.py +198 -0
- package/python3.6.2/lib/python3.6/test/test_dtrace.py +178 -0
- package/python3.6.2/lib/python3.6/test/test_dummy_thread.py +256 -0
- package/python3.6.2/lib/python3.6/test/test_dummy_threading.py +60 -0
- package/python3.6.2/lib/python3.6/test/test_dynamic.py +138 -0
- package/python3.6.2/lib/python3.6/test/test_dynamicclassattribute.py +300 -0
- package/python3.6.2/lib/python3.6/test/test_eintr.py +22 -0
- package/python3.6.2/lib/python3.6/test/test_email/__init__.py +166 -0
- package/python3.6.2/lib/python3.6/test/test_email/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/PyBanner048.gif +0 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/audiotest.au +0 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_01.txt +19 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_02.txt +136 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_03.txt +16 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_04.txt +37 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_05.txt +28 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_06.txt +33 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_07.txt +83 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_08.txt +24 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_09.txt +24 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_10.txt +39 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_11.txt +7 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_12.txt +36 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_12a.txt +38 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_13.txt +94 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_14.txt +23 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_15.txt +52 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_16.txt +123 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_17.txt +12 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_18.txt +6 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_19.txt +43 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_20.txt +22 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_21.txt +20 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_22.txt +46 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_23.txt +8 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_24.txt +10 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_25.txt +117 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_26.txt +46 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_27.txt +15 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_28.txt +25 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_29.txt +22 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_30.txt +23 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_31.txt +15 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_32.txt +14 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_33.txt +29 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_34.txt +19 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_35.txt +4 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_36.txt +40 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_37.txt +22 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_38.txt +101 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_39.txt +83 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_40.txt +10 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_41.txt +8 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_42.txt +20 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_43.txt +217 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_44.txt +33 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_45.txt +33 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_46.txt +23 -0
- package/python3.6.2/lib/python3.6/test/test_email/test__encoded_words.py +192 -0
- package/python3.6.2/lib/python3.6/test/test_email/test__header_value_parser.py +2723 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_asian_codecs.py +81 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_contentmanager.py +796 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_defect_handling.py +320 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_email.py +5402 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_generator.py +296 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_headerregistry.py +1653 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_inversion.py +70 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_message.py +803 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_parser.py +110 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_pickleable.py +76 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_policy.py +346 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_utils.py +163 -0
- package/python3.6.2/lib/python3.6/test/test_email/torture_test.py +133 -0
- package/python3.6.2/lib/python3.6/test/test_ensurepip.py +310 -0
- package/python3.6.2/lib/python3.6/test/test_enum.py +2618 -0
- package/python3.6.2/lib/python3.6/test/test_enumerate.py +269 -0
- package/python3.6.2/lib/python3.6/test/test_eof.py +28 -0
- package/python3.6.2/lib/python3.6/test/test_epoll.py +255 -0
- package/python3.6.2/lib/python3.6/test/test_errno.py +35 -0
- package/python3.6.2/lib/python3.6/test/test_exception_hierarchy.py +204 -0
- package/python3.6.2/lib/python3.6/test/test_exception_variations.py +176 -0
- package/python3.6.2/lib/python3.6/test/test_exceptions.py +1288 -0
- package/python3.6.2/lib/python3.6/test/test_extcall.py +465 -0
- package/python3.6.2/lib/python3.6/test/test_faulthandler.py +817 -0
- package/python3.6.2/lib/python3.6/test/test_fcntl.py +152 -0
- package/python3.6.2/lib/python3.6/test/test_file.py +329 -0
- package/python3.6.2/lib/python3.6/test/test_file_eintr.py +252 -0
- package/python3.6.2/lib/python3.6/test/test_filecmp.py +217 -0
- package/python3.6.2/lib/python3.6/test/test_fileinput.py +1015 -0
- package/python3.6.2/lib/python3.6/test/test_fileio.py +595 -0
- package/python3.6.2/lib/python3.6/test/test_finalization.py +519 -0
- package/python3.6.2/lib/python3.6/test/test_float.py +1422 -0
- package/python3.6.2/lib/python3.6/test/test_flufl.py +22 -0
- package/python3.6.2/lib/python3.6/test/test_fnmatch.py +128 -0
- package/python3.6.2/lib/python3.6/test/test_fork1.py +112 -0
- package/python3.6.2/lib/python3.6/test/test_format.py +494 -0
- package/python3.6.2/lib/python3.6/test/test_fractions.py +635 -0
- package/python3.6.2/lib/python3.6/test/test_frame.py +165 -0
- package/python3.6.2/lib/python3.6/test/test_fstring.py +1038 -0
- package/python3.6.2/lib/python3.6/test/test_ftplib.py +1091 -0
- package/python3.6.2/lib/python3.6/test/test_funcattrs.py +377 -0
- package/python3.6.2/lib/python3.6/test/test_functools.py +2083 -0
- package/python3.6.2/lib/python3.6/test/test_future.py +108 -0
- package/python3.6.2/lib/python3.6/test/test_future3.py +26 -0
- package/python3.6.2/lib/python3.6/test/test_future4.py +6 -0
- package/python3.6.2/lib/python3.6/test/test_future5.py +21 -0
- package/python3.6.2/lib/python3.6/test/test_gc.py +1031 -0
- package/python3.6.2/lib/python3.6/test/test_gdb.py +936 -0
- package/python3.6.2/lib/python3.6/test/test_generator_stop.py +34 -0
- package/python3.6.2/lib/python3.6/test/test_generators.py +2232 -0
- package/python3.6.2/lib/python3.6/test/test_genericpath.py +537 -0
- package/python3.6.2/lib/python3.6/test/test_genexps.py +285 -0
- package/python3.6.2/lib/python3.6/test/test_getargs2.py +958 -0
- package/python3.6.2/lib/python3.6/test/test_getopt.py +184 -0
- package/python3.6.2/lib/python3.6/test/test_getpass.py +163 -0
- package/python3.6.2/lib/python3.6/test/test_gettext.py +770 -0
- package/python3.6.2/lib/python3.6/test/test_glob.py +317 -0
- package/python3.6.2/lib/python3.6/test/test_global.py +61 -0
- package/python3.6.2/lib/python3.6/test/test_grammar.py +1417 -0
- package/python3.6.2/lib/python3.6/test/test_grp.py +108 -0
- package/python3.6.2/lib/python3.6/test/test_gzip.py +672 -0
- package/python3.6.2/lib/python3.6/test/test_hash.py +346 -0
- package/python3.6.2/lib/python3.6/test/test_hashlib.py +954 -0
- package/python3.6.2/lib/python3.6/test/test_heapq.py +427 -0
- package/python3.6.2/lib/python3.6/test/test_hmac.py +496 -0
- package/python3.6.2/lib/python3.6/test/test_html.py +103 -0
- package/python3.6.2/lib/python3.6/test/test_htmlparser.py +778 -0
- package/python3.6.2/lib/python3.6/test/test_http_cookiejar.py +1772 -0
- package/python3.6.2/lib/python3.6/test/test_http_cookies.py +472 -0
- package/python3.6.2/lib/python3.6/test/test_httplib.py +1903 -0
- package/python3.6.2/lib/python3.6/test/test_httpservers.py +1060 -0
- package/python3.6.2/lib/python3.6/test/test_idle.py +23 -0
- package/python3.6.2/lib/python3.6/test/test_imaplib.py +998 -0
- package/python3.6.2/lib/python3.6/test/test_imghdr.py +140 -0
- package/python3.6.2/lib/python3.6/test/test_imp.py +416 -0
- package/python3.6.2/lib/python3.6/test/test_import/__init__.py +1199 -0
- package/python3.6.2/lib/python3.6/test/test_import/__main__.py +3 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/basic.py +2 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/basic2.py +1 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/indirect.py +1 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/rebinding.py +3 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/rebinding2.py +3 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/subpackage.py +2 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/subpkg/subpackage2.py +2 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/subpkg/util.py +2 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/util.py +2 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/package/__init__.py +2 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/package/submodule.py +0 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/package2/submodule1.py +3 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/package2/submodule2.py +0 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/__init__.py +5 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/abc.py +94 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/builtin/__init__.py +5 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/builtin/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/builtin/test_finder.py +90 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/builtin/test_loader.py +108 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/__init__.py +5 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_case_sensitivity.py +46 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_finder.py +44 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_loader.py +277 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_path_hook.py +31 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/frozen/__init__.py +5 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/frozen/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/frozen/test_finder.py +84 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/frozen/test_loader.py +225 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/__init__.py +5 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test___loader__.py +75 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test___package__.py +163 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_api.py +119 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_caching.py +93 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_fromlist.py +175 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_meta_path.py +125 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_packages.py +110 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_path.py +257 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_relative_imports.py +232 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/both_portions/foo/one.py +1 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/both_portions/foo/two.py +1 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/missing_directory.zip +0 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test/empty +0 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test.py +1 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/nested_portion1.zip +0 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/not_a_namespace_pkg/foo/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/not_a_namespace_pkg/foo/one.py +1 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/portion1/foo/one.py +1 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/portion2/foo/two.py +1 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/project1/parent/child/one.py +1 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/project2/parent/child/two.py +1 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/project3/parent/child/three.py +1 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/top_level_portion1.zip +0 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/source/__init__.py +5 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/source/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_case_sensitivity.py +85 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_file_loader.py +602 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_finder.py +236 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_path_hook.py +41 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_source_encoding.py +175 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/test_abc.py +953 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/test_api.py +449 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/test_lazy.py +145 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/test_locks.py +175 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/test_namespace_pkgs.py +321 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/test_spec.py +819 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/test_util.py +805 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/test_windows.py +109 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/util.py +388 -0
- package/python3.6.2/lib/python3.6/test/test_index.py +275 -0
- package/python3.6.2/lib/python3.6/test/test_inspect.py +3725 -0
- package/python3.6.2/lib/python3.6/test/test_int.py +518 -0
- package/python3.6.2/lib/python3.6/test/test_int_literal.py +143 -0
- package/python3.6.2/lib/python3.6/test/test_io.py +4054 -0
- package/python3.6.2/lib/python3.6/test/test_ioctl.py +91 -0
- package/python3.6.2/lib/python3.6/test/test_ipaddress.py +1972 -0
- package/python3.6.2/lib/python3.6/test/test_isinstance.py +280 -0
- package/python3.6.2/lib/python3.6/test/test_iter.py +1016 -0
- package/python3.6.2/lib/python3.6/test/test_iterlen.py +228 -0
- package/python3.6.2/lib/python3.6/test/test_itertools.py +2340 -0
- package/python3.6.2/lib/python3.6/test/test_json/__init__.py +56 -0
- package/python3.6.2/lib/python3.6/test/test_json/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_decode.py +97 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_default.py +12 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_dump.py +68 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_encode_basestring_ascii.py +48 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_enum.py +120 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_fail.py +216 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_float.py +33 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_indent.py +67 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_pass1.py +75 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_pass2.py +18 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_pass3.py +24 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_recursion.py +100 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_scanstring.py +141 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_separators.py +50 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_speedups.py +71 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_tool.py +107 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_unicode.py +98 -0
- package/python3.6.2/lib/python3.6/test/test_keyword.py +138 -0
- package/python3.6.2/lib/python3.6/test/test_keywordonlyarg.py +189 -0
- package/python3.6.2/lib/python3.6/test/test_kqueue.py +263 -0
- package/python3.6.2/lib/python3.6/test/test_largefile.py +180 -0
- package/python3.6.2/lib/python3.6/test/test_lib2to3.py +5 -0
- package/python3.6.2/lib/python3.6/test/test_linecache.py +242 -0
- package/python3.6.2/lib/python3.6/test/test_list.py +155 -0
- package/python3.6.2/lib/python3.6/test/test_listcomps.py +148 -0
- package/python3.6.2/lib/python3.6/test/test_locale.py +587 -0
- package/python3.6.2/lib/python3.6/test/test_logging.py +4442 -0
- package/python3.6.2/lib/python3.6/test/test_long.py +1322 -0
- package/python3.6.2/lib/python3.6/test/test_longexp.py +10 -0
- package/python3.6.2/lib/python3.6/test/test_lzma.py +1764 -0
- package/python3.6.2/lib/python3.6/test/test_macpath.py +149 -0
- package/python3.6.2/lib/python3.6/test/test_macurl2path.py +31 -0
- package/python3.6.2/lib/python3.6/test/test_mailbox.py +2288 -0
- package/python3.6.2/lib/python3.6/test/test_mailcap.py +239 -0
- package/python3.6.2/lib/python3.6/test/test_marshal.py +556 -0
- package/python3.6.2/lib/python3.6/test/test_math.py +1422 -0
- package/python3.6.2/lib/python3.6/test/test_memoryio.py +842 -0
- package/python3.6.2/lib/python3.6/test/test_memoryview.py +537 -0
- package/python3.6.2/lib/python3.6/test/test_metaclass.py +265 -0
- package/python3.6.2/lib/python3.6/test/test_mimetypes.py +111 -0
- package/python3.6.2/lib/python3.6/test/test_minidom.py +1574 -0
- package/python3.6.2/lib/python3.6/test/test_mmap.py +803 -0
- package/python3.6.2/lib/python3.6/test/test_module.py +244 -0
- package/python3.6.2/lib/python3.6/test/test_modulefinder.py +337 -0
- package/python3.6.2/lib/python3.6/test/test_msilib.py +99 -0
- package/python3.6.2/lib/python3.6/test/test_multibytecodec.py +270 -0
- package/python3.6.2/lib/python3.6/test/test_multiprocessing_fork.py +13 -0
- package/python3.6.2/lib/python3.6/test/test_multiprocessing_forkserver.py +12 -0
- package/python3.6.2/lib/python3.6/test/test_multiprocessing_main_handling.py +290 -0
- package/python3.6.2/lib/python3.6/test/test_multiprocessing_spawn.py +12 -0
- package/python3.6.2/lib/python3.6/test/test_netrc.py +133 -0
- package/python3.6.2/lib/python3.6/test/test_nis.py +39 -0
- package/python3.6.2/lib/python3.6/test/test_nntplib.py +1581 -0
- package/python3.6.2/lib/python3.6/test/test_normalization.py +108 -0
- package/python3.6.2/lib/python3.6/test/test_ntpath.py +539 -0
- package/python3.6.2/lib/python3.6/test/test_numeric_tower.py +202 -0
- package/python3.6.2/lib/python3.6/test/test_opcodes.py +135 -0
- package/python3.6.2/lib/python3.6/test/test_openpty.py +21 -0
- package/python3.6.2/lib/python3.6/test/test_operator.py +609 -0
- package/python3.6.2/lib/python3.6/test/test_optparse.py +1664 -0
- package/python3.6.2/lib/python3.6/test/test_ordered_dict.py +787 -0
- package/python3.6.2/lib/python3.6/test/test_os.py +3548 -0
- package/python3.6.2/lib/python3.6/test/test_ossaudiodev.py +202 -0
- package/python3.6.2/lib/python3.6/test/test_osx_env.py +34 -0
- package/python3.6.2/lib/python3.6/test/test_parser.py +905 -0
- package/python3.6.2/lib/python3.6/test/test_pathlib.py +2252 -0
- package/python3.6.2/lib/python3.6/test/test_pdb.py +1124 -0
- package/python3.6.2/lib/python3.6/test/test_peepholer.py +325 -0
- package/python3.6.2/lib/python3.6/test/test_pickle.py +514 -0
- package/python3.6.2/lib/python3.6/test/test_pickletools.py +99 -0
- package/python3.6.2/lib/python3.6/test/test_pipes.py +203 -0
- package/python3.6.2/lib/python3.6/test/test_pkg.py +295 -0
- package/python3.6.2/lib/python3.6/test/test_pkgimport.py +80 -0
- package/python3.6.2/lib/python3.6/test/test_pkgutil.py +491 -0
- package/python3.6.2/lib/python3.6/test/test_platform.py +370 -0
- package/python3.6.2/lib/python3.6/test/test_plistlib.py +662 -0
- package/python3.6.2/lib/python3.6/test/test_poll.py +238 -0
- package/python3.6.2/lib/python3.6/test/test_popen.py +65 -0
- package/python3.6.2/lib/python3.6/test/test_poplib.py +520 -0
- package/python3.6.2/lib/python3.6/test/test_posix.py +1298 -0
- package/python3.6.2/lib/python3.6/test/test_posixpath.py +680 -0
- package/python3.6.2/lib/python3.6/test/test_pow.py +123 -0
- package/python3.6.2/lib/python3.6/test/test_pprint.py +1012 -0
- package/python3.6.2/lib/python3.6/test/test_print.py +193 -0
- package/python3.6.2/lib/python3.6/test/test_profile.py +187 -0
- package/python3.6.2/lib/python3.6/test/test_property.py +272 -0
- package/python3.6.2/lib/python3.6/test/test_pstats.py +38 -0
- package/python3.6.2/lib/python3.6/test/test_pty.py +316 -0
- package/python3.6.2/lib/python3.6/test/test_pulldom.py +342 -0
- package/python3.6.2/lib/python3.6/test/test_pwd.py +125 -0
- package/python3.6.2/lib/python3.6/test/test_py_compile.py +127 -0
- package/python3.6.2/lib/python3.6/test/test_pyclbr.py +176 -0
- package/python3.6.2/lib/python3.6/test/test_pydoc.py +1107 -0
- package/python3.6.2/lib/python3.6/test/test_pyexpat.py +733 -0
- package/python3.6.2/lib/python3.6/test/test_queue.py +362 -0
- package/python3.6.2/lib/python3.6/test/test_quopri.py +210 -0
- package/python3.6.2/lib/python3.6/test/test_raise.py +419 -0
- package/python3.6.2/lib/python3.6/test/test_random.py +939 -0
- package/python3.6.2/lib/python3.6/test/test_range.py +693 -0
- package/python3.6.2/lib/python3.6/test/test_re.py +2087 -0
- package/python3.6.2/lib/python3.6/test/test_readline.py +309 -0
- package/python3.6.2/lib/python3.6/test/test_regrtest.py +967 -0
- package/python3.6.2/lib/python3.6/test/test_repl.py +62 -0
- package/python3.6.2/lib/python3.6/test/test_reprlib.py +405 -0
- package/python3.6.2/lib/python3.6/test/test_resource.py +180 -0
- package/python3.6.2/lib/python3.6/test/test_richcmp.py +355 -0
- package/python3.6.2/lib/python3.6/test/test_rlcompleter.py +141 -0
- package/python3.6.2/lib/python3.6/test/test_robotparser.py +335 -0
- package/python3.6.2/lib/python3.6/test/test_runpy.py +749 -0
- package/python3.6.2/lib/python3.6/test/test_sax.py +1273 -0
- package/python3.6.2/lib/python3.6/test/test_sched.py +204 -0
- package/python3.6.2/lib/python3.6/test/test_scope.py +761 -0
- package/python3.6.2/lib/python3.6/test/test_script_helper.py +110 -0
- package/python3.6.2/lib/python3.6/test/test_secrets.py +124 -0
- package/python3.6.2/lib/python3.6/test/test_select.py +82 -0
- package/python3.6.2/lib/python3.6/test/test_selectors.py +526 -0
- package/python3.6.2/lib/python3.6/test/test_set.py +1903 -0
- package/python3.6.2/lib/python3.6/test/test_setcomps.py +151 -0
- package/python3.6.2/lib/python3.6/test/test_shelve.py +228 -0
- package/python3.6.2/lib/python3.6/test/test_shlex.py +318 -0
- package/python3.6.2/lib/python3.6/test/test_shutil.py +1925 -0
- package/python3.6.2/lib/python3.6/test/test_signal.py +1093 -0
- package/python3.6.2/lib/python3.6/test/test_site.py +595 -0
- package/python3.6.2/lib/python3.6/test/test_slice.py +255 -0
- package/python3.6.2/lib/python3.6/test/test_smtpd.py +1013 -0
- package/python3.6.2/lib/python3.6/test/test_smtplib.py +1292 -0
- package/python3.6.2/lib/python3.6/test/test_smtpnet.py +83 -0
- package/python3.6.2/lib/python3.6/test/test_sndhdr.py +37 -0
- package/python3.6.2/lib/python3.6/test/test_socket.py +5648 -0
- package/python3.6.2/lib/python3.6/test/test_socketserver.py +505 -0
- package/python3.6.2/lib/python3.6/test/test_sort.py +265 -0
- package/python3.6.2/lib/python3.6/test/test_source_encoding.py +225 -0
- package/python3.6.2/lib/python3.6/test/test_spwd.py +75 -0
- package/python3.6.2/lib/python3.6/test/test_sqlite.py +24 -0
- package/python3.6.2/lib/python3.6/test/test_ssl.py +3663 -0
- package/python3.6.2/lib/python3.6/test/test_startfile.py +34 -0
- package/python3.6.2/lib/python3.6/test/test_stat.py +234 -0
- package/python3.6.2/lib/python3.6/test/test_statistics.py +1992 -0
- package/python3.6.2/lib/python3.6/test/test_strftime.py +206 -0
- package/python3.6.2/lib/python3.6/test/test_string.py +439 -0
- package/python3.6.2/lib/python3.6/test/test_string_literals.py +249 -0
- package/python3.6.2/lib/python3.6/test/test_stringprep.py +92 -0
- package/python3.6.2/lib/python3.6/test/test_strptime.py +673 -0
- package/python3.6.2/lib/python3.6/test/test_strtod.py +433 -0
- package/python3.6.2/lib/python3.6/test/test_struct.py +756 -0
- package/python3.6.2/lib/python3.6/test/test_structmembers.py +144 -0
- package/python3.6.2/lib/python3.6/test/test_structseq.py +126 -0
- package/python3.6.2/lib/python3.6/test/test_subclassinit.py +284 -0
- package/python3.6.2/lib/python3.6/test/test_subprocess.py +3005 -0
- package/python3.6.2/lib/python3.6/test/test_sunau.py +121 -0
- package/python3.6.2/lib/python3.6/test/test_sundry.py +57 -0
- package/python3.6.2/lib/python3.6/test/test_super.py +347 -0
- package/python3.6.2/lib/python3.6/test/test_support.py +459 -0
- package/python3.6.2/lib/python3.6/test/test_symbol.py +54 -0
- package/python3.6.2/lib/python3.6/test/test_symtable.py +193 -0
- package/python3.6.2/lib/python3.6/test/test_syntax.py +618 -0
- package/python3.6.2/lib/python3.6/test/test_sys.py +1270 -0
- package/python3.6.2/lib/python3.6/test/test_sys_setprofile.py +376 -0
- package/python3.6.2/lib/python3.6/test/test_sys_settrace.py +854 -0
- package/python3.6.2/lib/python3.6/test/test_sysconfig.py +445 -0
- package/python3.6.2/lib/python3.6/test/test_syslog.py +40 -0
- package/python3.6.2/lib/python3.6/test/test_tarfile.py +2635 -0
- package/python3.6.2/lib/python3.6/test/test_tcl.py +715 -0
- package/python3.6.2/lib/python3.6/test/test_telnetlib.py +401 -0
- package/python3.6.2/lib/python3.6/test/test_tempfile.py +1458 -0
- package/python3.6.2/lib/python3.6/test/test_textwrap.py +981 -0
- package/python3.6.2/lib/python3.6/test/test_thread.py +269 -0
- package/python3.6.2/lib/python3.6/test/test_threaded_import.py +254 -0
- package/python3.6.2/lib/python3.6/test/test_threadedtempfile.py +62 -0
- package/python3.6.2/lib/python3.6/test/test_threading.py +1170 -0
- package/python3.6.2/lib/python3.6/test/test_threading_local.py +220 -0
- package/python3.6.2/lib/python3.6/test/test_threadsignals.py +227 -0
- package/python3.6.2/lib/python3.6/test/test_time.py +1000 -0
- package/python3.6.2/lib/python3.6/test/test_timeit.py +381 -0
- package/python3.6.2/lib/python3.6/test/test_timeout.py +303 -0
- package/python3.6.2/lib/python3.6/test/test_tix.py +32 -0
- package/python3.6.2/lib/python3.6/test/test_tk.py +15 -0
- package/python3.6.2/lib/python3.6/test/test_tokenize.py +1590 -0
- package/python3.6.2/lib/python3.6/test/test_tools/__init__.py +24 -0
- package/python3.6.2/lib/python3.6/test/test_tools/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_tools/test_fixcid.py +92 -0
- package/python3.6.2/lib/python3.6/test/test_tools/test_gprof2html.py +35 -0
- package/python3.6.2/lib/python3.6/test/test_tools/test_i18n.py +72 -0
- package/python3.6.2/lib/python3.6/test/test_tools/test_md5sum.py +76 -0
- package/python3.6.2/lib/python3.6/test/test_tools/test_pdeps.py +32 -0
- package/python3.6.2/lib/python3.6/test/test_tools/test_pindent.py +339 -0
- package/python3.6.2/lib/python3.6/test/test_tools/test_reindent.py +35 -0
- package/python3.6.2/lib/python3.6/test/test_tools/test_sundry.py +53 -0
- package/python3.6.2/lib/python3.6/test/test_tools/test_unparse.py +313 -0
- package/python3.6.2/lib/python3.6/test/test_trace.py +391 -0
- package/python3.6.2/lib/python3.6/test/test_traceback.py +1111 -0
- package/python3.6.2/lib/python3.6/test/test_tracemalloc.py +994 -0
- package/python3.6.2/lib/python3.6/test/test_ttk_guionly.py +34 -0
- package/python3.6.2/lib/python3.6/test/test_ttk_textonly.py +13 -0
- package/python3.6.2/lib/python3.6/test/test_tuple.py +221 -0
- package/python3.6.2/lib/python3.6/test/test_turtle.py +436 -0
- package/python3.6.2/lib/python3.6/test/test_typechecks.py +71 -0
- package/python3.6.2/lib/python3.6/test/test_types.py +1550 -0
- package/python3.6.2/lib/python3.6/test/test_typing.py +2577 -0
- package/python3.6.2/lib/python3.6/test/test_ucn.py +237 -0
- package/python3.6.2/lib/python3.6/test/test_unary.py +53 -0
- package/python3.6.2/lib/python3.6/test/test_unicode.py +2894 -0
- package/python3.6.2/lib/python3.6/test/test_unicode_file.py +140 -0
- package/python3.6.2/lib/python3.6/test/test_unicode_file_functions.py +195 -0
- package/python3.6.2/lib/python3.6/test/test_unicode_identifiers.py +31 -0
- package/python3.6.2/lib/python3.6/test/test_unicodedata.py +316 -0
- package/python3.6.2/lib/python3.6/test/test_unittest.py +16 -0
- package/python3.6.2/lib/python3.6/test/test_univnewlines.py +123 -0
- package/python3.6.2/lib/python3.6/test/test_unpack.py +151 -0
- package/python3.6.2/lib/python3.6/test/test_unpack_ex.py +365 -0
- package/python3.6.2/lib/python3.6/test/test_urllib.py +1572 -0
- package/python3.6.2/lib/python3.6/test/test_urllib2.py +1930 -0
- package/python3.6.2/lib/python3.6/test/test_urllib2_localnet.py +679 -0
- package/python3.6.2/lib/python3.6/test/test_urllib2net.py +329 -0
- package/python3.6.2/lib/python3.6/test/test_urllib_response.py +59 -0
- package/python3.6.2/lib/python3.6/test/test_urllibnet.py +218 -0
- package/python3.6.2/lib/python3.6/test/test_urlparse.py +1122 -0
- package/python3.6.2/lib/python3.6/test/test_userdict.py +220 -0
- package/python3.6.2/lib/python3.6/test/test_userlist.py +63 -0
- package/python3.6.2/lib/python3.6/test/test_userstring.py +44 -0
- package/python3.6.2/lib/python3.6/test/test_utf8source.py +43 -0
- package/python3.6.2/lib/python3.6/test/test_uu.py +260 -0
- package/python3.6.2/lib/python3.6/test/test_uuid.py +511 -0
- package/python3.6.2/lib/python3.6/test/test_venv.py +433 -0
- package/python3.6.2/lib/python3.6/test/test_wait3.py +38 -0
- package/python3.6.2/lib/python3.6/test/test_wait4.py +39 -0
- package/python3.6.2/lib/python3.6/test/test_warnings/__init__.py +1216 -0
- package/python3.6.2/lib/python3.6/test/test_warnings/__main__.py +3 -0
- package/python3.6.2/lib/python3.6/test/test_warnings/data/import_warning.py +3 -0
- package/python3.6.2/lib/python3.6/test/test_warnings/data/stacklevel.py +9 -0
- package/python3.6.2/lib/python3.6/test/test_wave.py +113 -0
- package/python3.6.2/lib/python3.6/test/test_weakref.py +1952 -0
- package/python3.6.2/lib/python3.6/test/test_weakset.py +439 -0
- package/python3.6.2/lib/python3.6/test/test_webbrowser.py +217 -0
- package/python3.6.2/lib/python3.6/test/test_winconsoleio.py +191 -0
- package/python3.6.2/lib/python3.6/test/test_winreg.py +498 -0
- package/python3.6.2/lib/python3.6/test/test_winsound.py +150 -0
- package/python3.6.2/lib/python3.6/test/test_with.py +746 -0
- package/python3.6.2/lib/python3.6/test/test_wsgiref.py +785 -0
- package/python3.6.2/lib/python3.6/test/test_xdrlib.py +77 -0
- package/python3.6.2/lib/python3.6/test/test_xml_dom_minicompat.py +138 -0
- package/python3.6.2/lib/python3.6/test/test_xml_etree.py +3166 -0
- package/python3.6.2/lib/python3.6/test/test_xml_etree_c.py +188 -0
- package/python3.6.2/lib/python3.6/test/test_xmlrpc.py +1415 -0
- package/python3.6.2/lib/python3.6/test/test_xmlrpc_net.py +32 -0
- package/python3.6.2/lib/python3.6/test/test_yield_from.py +1052 -0
- package/python3.6.2/lib/python3.6/test/test_zipapp.py +349 -0
- package/python3.6.2/lib/python3.6/test/test_zipfile.py +2241 -0
- package/python3.6.2/lib/python3.6/test/test_zipfile64.py +155 -0
- package/python3.6.2/lib/python3.6/test/test_zipimport.py +759 -0
- package/python3.6.2/lib/python3.6/test/test_zipimport_support.py +244 -0
- package/python3.6.2/lib/python3.6/test/test_zlib.py +898 -0
- package/python3.6.2/lib/python3.6/test/testcodec.py +48 -0
- package/python3.6.2/lib/python3.6/test/testtar.tar +0 -0
- package/python3.6.2/lib/python3.6/test/tf_inherit_check.py +27 -0
- package/python3.6.2/lib/python3.6/test/threaded_import_hangers.py +45 -0
- package/python3.6.2/lib/python3.6/test/time_hashlib.py +88 -0
- package/python3.6.2/lib/python3.6/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt +13 -0
- package/python3.6.2/lib/python3.6/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt +11 -0
- package/python3.6.2/lib/python3.6/test/tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt +13 -0
- package/python3.6.2/lib/python3.6/test/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt +12 -0
- package/python3.6.2/lib/python3.6/test/tokenize_tests.txt +189 -0
- package/python3.6.2/lib/python3.6/test/tracedmodules/__init__.py +4 -0
- package/python3.6.2/lib/python3.6/test/tracedmodules/testmod.py +9 -0
- package/python3.6.2/lib/python3.6/test/win_console_handler.py +49 -0
- package/python3.6.2/lib/python3.6/test/wrongcert.pem +32 -0
- package/python3.6.2/lib/python3.6/test/xmltestdata/expat224_utf8_bug.xml +2 -0
- package/python3.6.2/lib/python3.6/test/xmltestdata/simple-ns.xml +7 -0
- package/python3.6.2/lib/python3.6/test/xmltestdata/simple.xml +6 -0
- package/python3.6.2/lib/python3.6/test/xmltestdata/test.xml +115 -0
- package/python3.6.2/lib/python3.6/test/xmltestdata/test.xml.out +115 -0
- package/python3.6.2/lib/python3.6/test/xmltests.py +21 -0
- package/python3.6.2/lib/python3.6/test/zip_cp437_header.zip +0 -0
- package/python3.6.2/lib/python3.6/test/zipdir.zip +0 -0
- package/python3.6.2/lib/python3.6/textwrap.py +488 -0
- package/python3.6.2/lib/python3.6/this.py +28 -0
- package/python3.6.2/lib/python3.6/threading.py +1357 -0
- package/python3.6.2/lib/python3.6/timeit.py +362 -0
- package/python3.6.2/lib/python3.6/tkinter/__init__.py +4002 -0
- package/python3.6.2/lib/python3.6/tkinter/__main__.py +7 -0
- package/python3.6.2/lib/python3.6/tkinter/colorchooser.py +72 -0
- package/python3.6.2/lib/python3.6/tkinter/commondialog.py +55 -0
- package/python3.6.2/lib/python3.6/tkinter/constants.py +110 -0
- package/python3.6.2/lib/python3.6/tkinter/dialog.py +46 -0
- package/python3.6.2/lib/python3.6/tkinter/dnd.py +321 -0
- package/python3.6.2/lib/python3.6/tkinter/filedialog.py +479 -0
- package/python3.6.2/lib/python3.6/tkinter/font.py +232 -0
- package/python3.6.2/lib/python3.6/tkinter/messagebox.py +134 -0
- package/python3.6.2/lib/python3.6/tkinter/scrolledtext.py +54 -0
- package/python3.6.2/lib/python3.6/tkinter/simpledialog.py +423 -0
- package/python3.6.2/lib/python3.6/tkinter/test/README +14 -0
- package/python3.6.2/lib/python3.6/tkinter/test/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/tkinter/test/runtktests.py +69 -0
- package/python3.6.2/lib/python3.6/tkinter/test/support.py +105 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_font.py +96 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_geometry_managers.py +906 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_images.py +327 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_loadtk.py +46 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_misc.py +55 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_text.py +47 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_variables.py +310 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_widgets.py +1204 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/test_extensions.py +323 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/test_functions.py +461 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/test_style.py +92 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/test_widgets.py +1707 -0
- package/python3.6.2/lib/python3.6/tkinter/test/widget_tests.py +548 -0
- package/python3.6.2/lib/python3.6/tkinter/tix.py +1946 -0
- package/python3.6.2/lib/python3.6/tkinter/ttk.py +1655 -0
- package/python3.6.2/lib/python3.6/token.py +143 -0
- package/python3.6.2/lib/python3.6/tokenize.py +793 -0
- package/python3.6.2/lib/python3.6/trace.py +742 -0
- package/python3.6.2/lib/python3.6/traceback.py +600 -0
- package/python3.6.2/lib/python3.6/tracemalloc.py +524 -0
- package/python3.6.2/lib/python3.6/tty.py +36 -0
- package/python3.6.2/lib/python3.6/turtle.py +4139 -0
- package/python3.6.2/lib/python3.6/turtledemo/__init__.py +14 -0
- package/python3.6.2/lib/python3.6/turtledemo/__main__.py +386 -0
- package/python3.6.2/lib/python3.6/turtledemo/bytedesign.py +161 -0
- package/python3.6.2/lib/python3.6/turtledemo/chaos.py +59 -0
- package/python3.6.2/lib/python3.6/turtledemo/clock.py +132 -0
- package/python3.6.2/lib/python3.6/turtledemo/colormixer.py +58 -0
- package/python3.6.2/lib/python3.6/turtledemo/forest.py +108 -0
- package/python3.6.2/lib/python3.6/turtledemo/fractalcurves.py +138 -0
- package/python3.6.2/lib/python3.6/turtledemo/lindenmayer.py +119 -0
- package/python3.6.2/lib/python3.6/turtledemo/minimal_hanoi.py +79 -0
- package/python3.6.2/lib/python3.6/turtledemo/nim.py +226 -0
- package/python3.6.2/lib/python3.6/turtledemo/paint.py +54 -0
- package/python3.6.2/lib/python3.6/turtledemo/peace.py +61 -0
- package/python3.6.2/lib/python3.6/turtledemo/penrose.py +181 -0
- package/python3.6.2/lib/python3.6/turtledemo/planet_and_moon.py +111 -0
- package/python3.6.2/lib/python3.6/turtledemo/round_dance.py +86 -0
- package/python3.6.2/lib/python3.6/turtledemo/sorting_animate.py +204 -0
- package/python3.6.2/lib/python3.6/turtledemo/tree.py +63 -0
- package/python3.6.2/lib/python3.6/turtledemo/turtle.cfg +10 -0
- package/python3.6.2/lib/python3.6/turtledemo/two_canvases.py +54 -0
- package/python3.6.2/lib/python3.6/turtledemo/wikipedia.py +65 -0
- package/python3.6.2/lib/python3.6/turtledemo/yinyang.py +49 -0
- package/python3.6.2/lib/python3.6/types.py +266 -0
- package/python3.6.2/lib/python3.6/typing.py +2403 -0
- package/python3.6.2/lib/python3.6/unittest/__init__.py +78 -0
- package/python3.6.2/lib/python3.6/unittest/__main__.py +18 -0
- package/python3.6.2/lib/python3.6/unittest/case.py +1429 -0
- package/python3.6.2/lib/python3.6/unittest/loader.py +508 -0
- package/python3.6.2/lib/python3.6/unittest/main.py +260 -0
- package/python3.6.2/lib/python3.6/unittest/mock.py +2407 -0
- package/python3.6.2/lib/python3.6/unittest/result.py +216 -0
- package/python3.6.2/lib/python3.6/unittest/runner.py +221 -0
- package/python3.6.2/lib/python3.6/unittest/signals.py +71 -0
- package/python3.6.2/lib/python3.6/unittest/suite.py +321 -0
- package/python3.6.2/lib/python3.6/unittest/test/__init__.py +22 -0
- package/python3.6.2/lib/python3.6/unittest/test/__main__.py +18 -0
- package/python3.6.2/lib/python3.6/unittest/test/_test_warnings.py +73 -0
- package/python3.6.2/lib/python3.6/unittest/test/dummy.py +1 -0
- package/python3.6.2/lib/python3.6/unittest/test/support.py +138 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_assertions.py +411 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_break.py +291 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_case.py +1833 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_discovery.py +872 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_functiontestcase.py +148 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_loader.py +1529 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_program.py +414 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_result.py +695 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_runner.py +353 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_setups.py +507 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_skipping.py +260 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_suite.py +447 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/__init__.py +17 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/__main__.py +18 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/support.py +21 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testcallable.py +151 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testhelpers.py +946 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testmagicmethods.py +468 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testmock.py +1569 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testpatch.py +1853 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testsentinel.py +28 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testwith.py +301 -0
- package/python3.6.2/lib/python3.6/unittest/util.py +177 -0
- package/python3.6.2/lib/python3.6/urllib/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/urllib/error.py +77 -0
- package/python3.6.2/lib/python3.6/urllib/parse.py +1021 -0
- package/python3.6.2/lib/python3.6/urllib/request.py +2739 -0
- package/python3.6.2/lib/python3.6/urllib/response.py +80 -0
- package/python3.6.2/lib/python3.6/urllib/robotparser.py +250 -0
- package/python3.6.2/lib/python3.6/uu.py +199 -0
- package/python3.6.2/lib/python3.6/uuid.py +629 -0
- package/python3.6.2/lib/python3.6/venv/__init__.py +425 -0
- package/python3.6.2/lib/python3.6/venv/__main__.py +10 -0
- package/python3.6.2/lib/python3.6/venv/scripts/nt/Activate.ps1 +51 -0
- package/python3.6.2/lib/python3.6/venv/scripts/nt/activate.bat +32 -0
- package/python3.6.2/lib/python3.6/venv/scripts/nt/deactivate.bat +21 -0
- package/python3.6.2/lib/python3.6/warnings.py +526 -0
- package/python3.6.2/lib/python3.6/wave.py +505 -0
- package/python3.6.2/lib/python3.6/weakref.py +632 -0
- package/python3.6.2/lib/python3.6/webbrowser.py +664 -0
- package/python3.6.2/lib/python3.6/wsgiref/__init__.py +23 -0
- package/python3.6.2/lib/python3.6/wsgiref/handlers.py +557 -0
- package/python3.6.2/lib/python3.6/wsgiref/headers.py +184 -0
- package/python3.6.2/lib/python3.6/wsgiref/simple_server.py +164 -0
- package/python3.6.2/lib/python3.6/wsgiref/util.py +165 -0
- package/python3.6.2/lib/python3.6/wsgiref/validate.py +443 -0
- package/python3.6.2/lib/python3.6/xdrlib.py +241 -0
- package/python3.6.2/lib/python3.6/xml/__init__.py +20 -0
- package/python3.6.2/lib/python3.6/xml/dom/NodeFilter.py +27 -0
- package/python3.6.2/lib/python3.6/xml/dom/__init__.py +140 -0
- package/python3.6.2/lib/python3.6/xml/dom/domreg.py +97 -0
- package/python3.6.2/lib/python3.6/xml/dom/expatbuilder.py +965 -0
- package/python3.6.2/lib/python3.6/xml/dom/minicompat.py +109 -0
- package/python3.6.2/lib/python3.6/xml/dom/minidom.py +1981 -0
- package/python3.6.2/lib/python3.6/xml/dom/pulldom.py +342 -0
- package/python3.6.2/lib/python3.6/xml/dom/xmlbuilder.py +410 -0
- package/python3.6.2/lib/python3.6/xml/etree/ElementInclude.py +143 -0
- package/python3.6.2/lib/python3.6/xml/etree/ElementPath.py +314 -0
- package/python3.6.2/lib/python3.6/xml/etree/ElementTree.py +1656 -0
- package/python3.6.2/lib/python3.6/xml/etree/__init__.py +33 -0
- package/python3.6.2/lib/python3.6/xml/etree/cElementTree.py +3 -0
- package/python3.6.2/lib/python3.6/xml/parsers/__init__.py +8 -0
- package/python3.6.2/lib/python3.6/xml/parsers/expat.py +8 -0
- package/python3.6.2/lib/python3.6/xml/sax/__init__.py +107 -0
- package/python3.6.2/lib/python3.6/xml/sax/_exceptions.py +131 -0
- package/python3.6.2/lib/python3.6/xml/sax/expatreader.py +446 -0
- package/python3.6.2/lib/python3.6/xml/sax/handler.py +342 -0
- package/python3.6.2/lib/python3.6/xml/sax/saxutils.py +368 -0
- package/python3.6.2/lib/python3.6/xml/sax/xmlreader.py +380 -0
- package/python3.6.2/lib/python3.6/xmlrpc/__init__.py +1 -0
- package/python3.6.2/lib/python3.6/xmlrpc/client.py +1518 -0
- package/python3.6.2/lib/python3.6/xmlrpc/server.py +1002 -0
- package/python3.6.2/lib/python3.6/zipapp.py +201 -0
- package/python3.6.2/lib/python3.6/zipfile.py +2036 -0
- package/python3.6.2/lib/python3.6/LICENSE.txt +0 -254
- package/python3.6.2/lib/python3.6/__future__.pyc +0 -0
- package/python3.6.2/lib/python3.6/__phello__.foo.pyc +0 -0
- package/python3.6.2/lib/python3.6/_bootlocale.pyc +0 -0
- package/python3.6.2/lib/python3.6/_collections_abc.pyc +0 -0
- package/python3.6.2/lib/python3.6/_compat_pickle.pyc +0 -0
- package/python3.6.2/lib/python3.6/_compression.pyc +0 -0
- package/python3.6.2/lib/python3.6/_dummy_thread.pyc +0 -0
- package/python3.6.2/lib/python3.6/_markupbase.pyc +0 -0
- package/python3.6.2/lib/python3.6/_osx_support.pyc +0 -0
- package/python3.6.2/lib/python3.6/_pydecimal.pyc +0 -0
- package/python3.6.2/lib/python3.6/_pyio.pyc +0 -0
- package/python3.6.2/lib/python3.6/_sitebuiltins.pyc +0 -0
- package/python3.6.2/lib/python3.6/_strptime.pyc +0 -0
- package/python3.6.2/lib/python3.6/_threading_local.pyc +0 -0
- package/python3.6.2/lib/python3.6/_weakrefset.pyc +0 -0
- package/python3.6.2/lib/python3.6/abc.pyc +0 -0
- package/python3.6.2/lib/python3.6/aifc.pyc +0 -0
- package/python3.6.2/lib/python3.6/android.pyc +0 -0
- package/python3.6.2/lib/python3.6/antigravity.pyc +0 -0
- package/python3.6.2/lib/python3.6/argparse.pyc +0 -0
- package/python3.6.2/lib/python3.6/ast.pyc +0 -0
- package/python3.6.2/lib/python3.6/asynchat.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/base_events.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/base_futures.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/base_subprocess.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/base_tasks.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/compat.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/constants.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/coroutines.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/events.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/futures.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/locks.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/log.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/proactor_events.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/protocols.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/queues.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/selector_events.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/sslproto.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/streams.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/subprocess.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/tasks.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/test_utils.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/transports.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/unix_events.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/windows_events.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/windows_utils.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncore.pyc +0 -0
- package/python3.6.2/lib/python3.6/base64.pyc +0 -0
- package/python3.6.2/lib/python3.6/bdb.pyc +0 -0
- package/python3.6.2/lib/python3.6/binhex.pyc +0 -0
- package/python3.6.2/lib/python3.6/bisect.pyc +0 -0
- package/python3.6.2/lib/python3.6/bz2.pyc +0 -0
- package/python3.6.2/lib/python3.6/cProfile.pyc +0 -0
- package/python3.6.2/lib/python3.6/calendar.pyc +0 -0
- package/python3.6.2/lib/python3.6/cgi.pyc +0 -0
- package/python3.6.2/lib/python3.6/cgitb.pyc +0 -0
- package/python3.6.2/lib/python3.6/chunk.pyc +0 -0
- package/python3.6.2/lib/python3.6/cmd.pyc +0 -0
- package/python3.6.2/lib/python3.6/code.pyc +0 -0
- package/python3.6.2/lib/python3.6/codecs.pyc +0 -0
- package/python3.6.2/lib/python3.6/codeop.pyc +0 -0
- package/python3.6.2/lib/python3.6/collections/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/collections/abc.pyc +0 -0
- package/python3.6.2/lib/python3.6/colorsys.pyc +0 -0
- package/python3.6.2/lib/python3.6/compileall.pyc +0 -0
- package/python3.6.2/lib/python3.6/concurrent/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/concurrent/futures/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/concurrent/futures/_base.pyc +0 -0
- package/python3.6.2/lib/python3.6/concurrent/futures/process.pyc +0 -0
- package/python3.6.2/lib/python3.6/concurrent/futures/thread.pyc +0 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/Makefile +0 -1808
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/Setup +0 -397
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/Setup.config +0 -10
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/Setup.local +0 -1
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/config.c +0 -114
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/config.c.in +0 -67
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/install-sh +0 -294
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/makesetup +0 -296
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/python-config.pyc +0 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/python.o +0 -0
- package/python3.6.2/lib/python3.6/configparser.pyc +0 -0
- package/python3.6.2/lib/python3.6/contextlib.pyc +0 -0
- package/python3.6.2/lib/python3.6/copy.pyc +0 -0
- package/python3.6.2/lib/python3.6/copyreg.pyc +0 -0
- package/python3.6.2/lib/python3.6/crypt.pyc +0 -0
- package/python3.6.2/lib/python3.6/csv.pyc +0 -0
- package/python3.6.2/lib/python3.6/ctypes/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/ctypes/_endian.pyc +0 -0
- package/python3.6.2/lib/python3.6/ctypes/macholib/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/ctypes/macholib/dyld.pyc +0 -0
- package/python3.6.2/lib/python3.6/ctypes/macholib/dylib.pyc +0 -0
- package/python3.6.2/lib/python3.6/ctypes/macholib/framework.pyc +0 -0
- package/python3.6.2/lib/python3.6/ctypes/util.pyc +0 -0
- package/python3.6.2/lib/python3.6/ctypes/wintypes.pyc +0 -0
- package/python3.6.2/lib/python3.6/curses/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/curses/ascii.pyc +0 -0
- package/python3.6.2/lib/python3.6/curses/has_key.pyc +0 -0
- package/python3.6.2/lib/python3.6/curses/panel.pyc +0 -0
- package/python3.6.2/lib/python3.6/curses/textpad.pyc +0 -0
- package/python3.6.2/lib/python3.6/datetime.pyc +0 -0
- package/python3.6.2/lib/python3.6/dbm/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/dbm/dumb.pyc +0 -0
- package/python3.6.2/lib/python3.6/dbm/gnu.pyc +0 -0
- package/python3.6.2/lib/python3.6/dbm/ndbm.pyc +0 -0
- package/python3.6.2/lib/python3.6/decimal.pyc +0 -0
- package/python3.6.2/lib/python3.6/difflib.pyc +0 -0
- package/python3.6.2/lib/python3.6/dis.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/_msvccompiler.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/archive_util.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/bcppcompiler.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/ccompiler.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/cmd.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist_dumb.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist_msi.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist_rpm.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist_wininst.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/build.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/build_clib.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/build_ext.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/build_py.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/build_scripts.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/check.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/clean.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/config.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/install.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_data.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_egg_info.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_headers.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_lib.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_scripts.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/register.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/sdist.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/upload.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/config.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/core.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/cygwinccompiler.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/debug.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/dep_util.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/dir_util.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/dist.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/errors.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/extension.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/fancy_getopt.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/file_util.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/filelist.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/log.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/msvc9compiler.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/msvccompiler.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/spawn.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/sysconfig.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/text_file.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/unixccompiler.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/util.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/version.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/versionpredicate.pyc +0 -0
- package/python3.6.2/lib/python3.6/doctest.pyc +0 -0
- package/python3.6.2/lib/python3.6/dummy_threading.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/_encoded_words.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/_header_value_parser.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/_parseaddr.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/_policybase.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/base64mime.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/charset.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/contentmanager.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/encoders.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/errors.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/feedparser.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/generator.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/header.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/headerregistry.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/iterators.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/message.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/mime/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/mime/application.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/mime/audio.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/mime/base.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/mime/image.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/mime/message.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/mime/multipart.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/mime/nonmultipart.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/mime/text.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/parser.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/policy.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/quoprimime.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/utils.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/aliases.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/ascii.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/base64_codec.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/big5.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/big5hkscs.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/bz2_codec.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/charmap.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp037.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1006.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1026.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1125.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1140.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1250.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1251.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1252.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1253.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1254.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1255.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1256.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1257.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1258.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp273.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp424.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp437.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp500.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp65001.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp720.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp737.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp775.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp850.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp852.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp855.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp856.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp857.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp858.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp860.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp861.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp862.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp863.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp864.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp865.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp866.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp869.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp874.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp875.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp932.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp949.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp950.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/euc_jis_2004.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/euc_jisx0213.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/euc_jp.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/euc_kr.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/gb18030.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/gb2312.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/gbk.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/hex_codec.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/hp_roman8.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/hz.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/idna.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_1.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_2.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_2004.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_3.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_ext.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_kr.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_1.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_10.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_11.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_13.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_14.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_15.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_16.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_2.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_3.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_4.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_5.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_6.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_7.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_8.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_9.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/johab.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/koi8_r.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/koi8_t.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/koi8_u.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/kz1048.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/latin_1.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_arabic.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_centeuro.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_croatian.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_cyrillic.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_farsi.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_greek.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_iceland.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_latin2.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_roman.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_romanian.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_turkish.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mbcs.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/oem.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/palmos.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/ptcp154.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/punycode.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/quopri_codec.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/raw_unicode_escape.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/rot_13.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/shift_jis.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/shift_jis_2004.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/shift_jisx0213.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/tis_620.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/undefined.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/unicode_escape.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/unicode_internal.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/utf_16.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/utf_16_be.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/utf_16_le.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/utf_32.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/utf_32_be.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/utf_32_le.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/utf_7.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/utf_8.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/utf_8_sig.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/uu_codec.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/zlib_codec.pyc +0 -0
- package/python3.6.2/lib/python3.6/ensurepip/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/ensurepip/__main__.pyc +0 -0
- package/python3.6.2/lib/python3.6/ensurepip/_uninstall.pyc +0 -0
- package/python3.6.2/lib/python3.6/enum.pyc +0 -0
- package/python3.6.2/lib/python3.6/filecmp.pyc +0 -0
- package/python3.6.2/lib/python3.6/fileinput.pyc +0 -0
- package/python3.6.2/lib/python3.6/fnmatch.pyc +0 -0
- package/python3.6.2/lib/python3.6/formatter.pyc +0 -0
- package/python3.6.2/lib/python3.6/fractions.pyc +0 -0
- package/python3.6.2/lib/python3.6/ftplib.pyc +0 -0
- package/python3.6.2/lib/python3.6/functools.pyc +0 -0
- package/python3.6.2/lib/python3.6/genericpath.pyc +0 -0
- package/python3.6.2/lib/python3.6/getopt.pyc +0 -0
- package/python3.6.2/lib/python3.6/getpass.pyc +0 -0
- package/python3.6.2/lib/python3.6/gettext.pyc +0 -0
- package/python3.6.2/lib/python3.6/glob.pyc +0 -0
- package/python3.6.2/lib/python3.6/gzip.pyc +0 -0
- package/python3.6.2/lib/python3.6/hashlib.pyc +0 -0
- package/python3.6.2/lib/python3.6/heapq.pyc +0 -0
- package/python3.6.2/lib/python3.6/hmac.pyc +0 -0
- package/python3.6.2/lib/python3.6/html/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/html/entities.pyc +0 -0
- package/python3.6.2/lib/python3.6/html/parser.pyc +0 -0
- package/python3.6.2/lib/python3.6/http/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/http/client.pyc +0 -0
- package/python3.6.2/lib/python3.6/http/cookiejar.pyc +0 -0
- package/python3.6.2/lib/python3.6/http/cookies.pyc +0 -0
- package/python3.6.2/lib/python3.6/http/server.pyc +0 -0
- package/python3.6.2/lib/python3.6/imaplib.pyc +0 -0
- package/python3.6.2/lib/python3.6/imghdr.pyc +0 -0
- package/python3.6.2/lib/python3.6/imp.pyc +0 -0
- package/python3.6.2/lib/python3.6/importlib/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/importlib/_bootstrap.pyc +0 -0
- package/python3.6.2/lib/python3.6/importlib/_bootstrap_external.pyc +0 -0
- package/python3.6.2/lib/python3.6/importlib/abc.pyc +0 -0
- package/python3.6.2/lib/python3.6/importlib/machinery.pyc +0 -0
- package/python3.6.2/lib/python3.6/importlib/util.pyc +0 -0
- package/python3.6.2/lib/python3.6/inspect.pyc +0 -0
- package/python3.6.2/lib/python3.6/io.pyc +0 -0
- package/python3.6.2/lib/python3.6/ipaddress.pyc +0 -0
- package/python3.6.2/lib/python3.6/json/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/json/decoder.pyc +0 -0
- package/python3.6.2/lib/python3.6/json/encoder.pyc +0 -0
- package/python3.6.2/lib/python3.6/json/scanner.pyc +0 -0
- package/python3.6.2/lib/python3.6/json/tool.pyc +0 -0
- package/python3.6.2/lib/python3.6/keyword.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/Grammar3.6.3.final.0.pickle +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/PatternGrammar3.6.3.final.0.pickle +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/__main__.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/btm_matcher.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/btm_utils.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixer_base.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixer_util.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_apply.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_asserts.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_basestring.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_buffer.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_dict.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_except.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_exec.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_execfile.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_exitfunc.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_filter.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_funcattrs.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_future.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_getcwdu.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_has_key.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_idioms.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_import.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_imports.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_imports2.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_input.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_intern.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_isinstance.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_itertools.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_itertools_imports.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_long.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_map.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_metaclass.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_methodattrs.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_ne.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_next.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_nonzero.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_numliterals.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_operator.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_paren.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_print.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_raise.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_raw_input.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_reduce.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_reload.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_renames.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_repr.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_set_literal.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_standarderror.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_sys_exc.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_throw.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_tuple_params.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_types.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_unicode.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_urllib.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_ws_comma.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_xrange.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_xreadlines.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_zip.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/main.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/patcomp.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/conv.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/driver.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/grammar.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/literals.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/parse.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/pgen.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/token.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/tokenize.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pygram.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pytree.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/refactor.pyc +0 -0
- package/python3.6.2/lib/python3.6/linecache.pyc +0 -0
- package/python3.6.2/lib/python3.6/locale.pyc +0 -0
- package/python3.6.2/lib/python3.6/logging/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/logging/config.pyc +0 -0
- package/python3.6.2/lib/python3.6/logging/handlers.pyc +0 -0
- package/python3.6.2/lib/python3.6/lzma.pyc +0 -0
- package/python3.6.2/lib/python3.6/macpath.pyc +0 -0
- package/python3.6.2/lib/python3.6/macurl2path.pyc +0 -0
- package/python3.6.2/lib/python3.6/mailbox.pyc +0 -0
- package/python3.6.2/lib/python3.6/mailcap.pyc +0 -0
- package/python3.6.2/lib/python3.6/mimetypes.pyc +0 -0
- package/python3.6.2/lib/python3.6/modulefinder.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/connection.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/context.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/dummy/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/dummy/connection.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/forkserver.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/heap.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/managers.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/pool.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/popen_fork.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/popen_forkserver.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/popen_spawn_posix.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/popen_spawn_win32.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/process.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/queues.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/reduction.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/resource_sharer.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/semaphore_tracker.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/sharedctypes.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/spawn.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/synchronize.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/util.pyc +0 -0
- package/python3.6.2/lib/python3.6/netrc.pyc +0 -0
- package/python3.6.2/lib/python3.6/nntplib.pyc +0 -0
- package/python3.6.2/lib/python3.6/ntpath.pyc +0 -0
- package/python3.6.2/lib/python3.6/nturl2path.pyc +0 -0
- package/python3.6.2/lib/python3.6/numbers.pyc +0 -0
- package/python3.6.2/lib/python3.6/opcode.pyc +0 -0
- package/python3.6.2/lib/python3.6/operator.pyc +0 -0
- package/python3.6.2/lib/python3.6/optparse.pyc +0 -0
- package/python3.6.2/lib/python3.6/os.pyc +0 -0
- package/python3.6.2/lib/python3.6/pathlib.pyc +0 -0
- package/python3.6.2/lib/python3.6/pdb.pyc +0 -0
- package/python3.6.2/lib/python3.6/pickle.pyc +0 -0
- package/python3.6.2/lib/python3.6/pickletools.pyc +0 -0
- package/python3.6.2/lib/python3.6/pipes.pyc +0 -0
- package/python3.6.2/lib/python3.6/pkgutil.pyc +0 -0
- package/python3.6.2/lib/python3.6/platform.pyc +0 -0
- package/python3.6.2/lib/python3.6/plistlib.pyc +0 -0
- package/python3.6.2/lib/python3.6/poplib.pyc +0 -0
- package/python3.6.2/lib/python3.6/posixpath.pyc +0 -0
- package/python3.6.2/lib/python3.6/pprint.pyc +0 -0
- package/python3.6.2/lib/python3.6/profile.pyc +0 -0
- package/python3.6.2/lib/python3.6/pstats.pyc +0 -0
- package/python3.6.2/lib/python3.6/pty.pyc +0 -0
- package/python3.6.2/lib/python3.6/py_compile.pyc +0 -0
- package/python3.6.2/lib/python3.6/pyclbr.pyc +0 -0
- package/python3.6.2/lib/python3.6/pydoc.pyc +0 -0
- package/python3.6.2/lib/python3.6/pydoc_data/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/pydoc_data/topics.pyc +0 -0
- package/python3.6.2/lib/python3.6/queue.pyc +0 -0
- package/python3.6.2/lib/python3.6/quopri.pyc +0 -0
- package/python3.6.2/lib/python3.6/random.pyc +0 -0
- package/python3.6.2/lib/python3.6/re.pyc +0 -0
- package/python3.6.2/lib/python3.6/reprlib.pyc +0 -0
- package/python3.6.2/lib/python3.6/rlcompleter.pyc +0 -0
- package/python3.6.2/lib/python3.6/runpy.pyc +0 -0
- package/python3.6.2/lib/python3.6/sched.pyc +0 -0
- package/python3.6.2/lib/python3.6/secrets.pyc +0 -0
- package/python3.6.2/lib/python3.6/selectors.pyc +0 -0
- package/python3.6.2/lib/python3.6/shelve.pyc +0 -0
- package/python3.6.2/lib/python3.6/shlex.pyc +0 -0
- package/python3.6.2/lib/python3.6/shutil.pyc +0 -0
- package/python3.6.2/lib/python3.6/signal.pyc +0 -0
- package/python3.6.2/lib/python3.6/site.pyc +0 -0
- package/python3.6.2/lib/python3.6/smtpd.pyc +0 -0
- package/python3.6.2/lib/python3.6/smtplib.pyc +0 -0
- package/python3.6.2/lib/python3.6/sndhdr.pyc +0 -0
- package/python3.6.2/lib/python3.6/socket.pyc +0 -0
- package/python3.6.2/lib/python3.6/socketserver.pyc +0 -0
- package/python3.6.2/lib/python3.6/sqlite3/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/sqlite3/dbapi2.pyc +0 -0
- package/python3.6.2/lib/python3.6/sqlite3/dump.pyc +0 -0
- package/python3.6.2/lib/python3.6/sre_compile.pyc +0 -0
- package/python3.6.2/lib/python3.6/sre_constants.pyc +0 -0
- package/python3.6.2/lib/python3.6/sre_parse.pyc +0 -0
- package/python3.6.2/lib/python3.6/ssl.pyc +0 -0
- package/python3.6.2/lib/python3.6/stat.pyc +0 -0
- package/python3.6.2/lib/python3.6/statistics.pyc +0 -0
- package/python3.6.2/lib/python3.6/string.pyc +0 -0
- package/python3.6.2/lib/python3.6/stringprep.pyc +0 -0
- package/python3.6.2/lib/python3.6/struct.pyc +0 -0
- package/python3.6.2/lib/python3.6/subprocess.pyc +0 -0
- package/python3.6.2/lib/python3.6/sunau.pyc +0 -0
- package/python3.6.2/lib/python3.6/symbol.pyc +0 -0
- package/python3.6.2/lib/python3.6/symtable.pyc +0 -0
- package/python3.6.2/lib/python3.6/sysconfig.pyc +0 -0
- package/python3.6.2/lib/python3.6/tabnanny.pyc +0 -0
- package/python3.6.2/lib/python3.6/tarfile.pyc +0 -0
- package/python3.6.2/lib/python3.6/telnetlib.pyc +0 -0
- package/python3.6.2/lib/python3.6/tempfile.pyc +0 -0
- package/python3.6.2/lib/python3.6/textwrap.pyc +0 -0
- package/python3.6.2/lib/python3.6/this.pyc +0 -0
- package/python3.6.2/lib/python3.6/threading.pyc +0 -0
- package/python3.6.2/lib/python3.6/timeit.pyc +0 -0
- package/python3.6.2/lib/python3.6/token.pyc +0 -0
- package/python3.6.2/lib/python3.6/tokenize.pyc +0 -0
- package/python3.6.2/lib/python3.6/trace.pyc +0 -0
- package/python3.6.2/lib/python3.6/traceback.pyc +0 -0
- package/python3.6.2/lib/python3.6/tracemalloc.pyc +0 -0
- package/python3.6.2/lib/python3.6/tty.pyc +0 -0
- package/python3.6.2/lib/python3.6/turtle.pyc +0 -0
- package/python3.6.2/lib/python3.6/types.pyc +0 -0
- package/python3.6.2/lib/python3.6/typing.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/__main__.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/case.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/loader.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/main.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/mock.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/result.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/runner.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/signals.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/suite.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/util.pyc +0 -0
- package/python3.6.2/lib/python3.6/urllib/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/urllib/error.pyc +0 -0
- package/python3.6.2/lib/python3.6/urllib/parse.pyc +0 -0
- package/python3.6.2/lib/python3.6/urllib/request.pyc +0 -0
- package/python3.6.2/lib/python3.6/urllib/response.pyc +0 -0
- package/python3.6.2/lib/python3.6/urllib/robotparser.pyc +0 -0
- package/python3.6.2/lib/python3.6/uu.pyc +0 -0
- package/python3.6.2/lib/python3.6/uuid.pyc +0 -0
- package/python3.6.2/lib/python3.6/venv/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/venv/__main__.pyc +0 -0
- package/python3.6.2/lib/python3.6/warnings.pyc +0 -0
- package/python3.6.2/lib/python3.6/wave.pyc +0 -0
- package/python3.6.2/lib/python3.6/weakref.pyc +0 -0
- package/python3.6.2/lib/python3.6/webbrowser.pyc +0 -0
- package/python3.6.2/lib/python3.6/wsgiref/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/wsgiref/handlers.pyc +0 -0
- package/python3.6.2/lib/python3.6/wsgiref/headers.pyc +0 -0
- package/python3.6.2/lib/python3.6/wsgiref/simple_server.pyc +0 -0
- package/python3.6.2/lib/python3.6/wsgiref/util.pyc +0 -0
- package/python3.6.2/lib/python3.6/wsgiref/validate.pyc +0 -0
- package/python3.6.2/lib/python3.6/xdrlib.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/dom/NodeFilter.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/dom/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/dom/domreg.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/dom/expatbuilder.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/dom/minicompat.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/dom/minidom.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/dom/pulldom.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/dom/xmlbuilder.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/etree/ElementInclude.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/etree/ElementPath.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/etree/ElementTree.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/etree/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/etree/cElementTree.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/parsers/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/parsers/expat.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/sax/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/sax/_exceptions.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/sax/expatreader.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/sax/handler.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/sax/saxutils.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/sax/xmlreader.pyc +0 -0
- package/python3.6.2/lib/python3.6/xmlrpc/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/xmlrpc/client.pyc +0 -0
- package/python3.6.2/lib/python3.6/xmlrpc/server.pyc +0 -0
- package/python3.6.2/lib/python3.6/zipapp.pyc +0 -0
- package/python3.6.2/lib/python3.6/zipfile.pyc +0 -0
|
@@ -0,0 +1,1952 @@
|
|
|
1
|
+
import gc
|
|
2
|
+
import sys
|
|
3
|
+
import unittest
|
|
4
|
+
import collections
|
|
5
|
+
import weakref
|
|
6
|
+
import operator
|
|
7
|
+
import contextlib
|
|
8
|
+
import copy
|
|
9
|
+
import time
|
|
10
|
+
|
|
11
|
+
from test import support
|
|
12
|
+
from test.support import script_helper
|
|
13
|
+
|
|
14
|
+
# Used in ReferencesTestCase.test_ref_created_during_del() .
|
|
15
|
+
ref_from_del = None
|
|
16
|
+
|
|
17
|
+
# Used by FinalizeTestCase as a global that may be replaced by None
|
|
18
|
+
# when the interpreter shuts down.
|
|
19
|
+
_global_var = 'foobar'
|
|
20
|
+
|
|
21
|
+
class C:
|
|
22
|
+
def method(self):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class Callable:
|
|
27
|
+
bar = None
|
|
28
|
+
|
|
29
|
+
def __call__(self, x):
|
|
30
|
+
self.bar = x
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def create_function():
|
|
34
|
+
def f(): pass
|
|
35
|
+
return f
|
|
36
|
+
|
|
37
|
+
def create_bound_method():
|
|
38
|
+
return C().method
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class Object:
|
|
42
|
+
def __init__(self, arg):
|
|
43
|
+
self.arg = arg
|
|
44
|
+
def __repr__(self):
|
|
45
|
+
return "<Object %r>" % self.arg
|
|
46
|
+
def __eq__(self, other):
|
|
47
|
+
if isinstance(other, Object):
|
|
48
|
+
return self.arg == other.arg
|
|
49
|
+
return NotImplemented
|
|
50
|
+
def __lt__(self, other):
|
|
51
|
+
if isinstance(other, Object):
|
|
52
|
+
return self.arg < other.arg
|
|
53
|
+
return NotImplemented
|
|
54
|
+
def __hash__(self):
|
|
55
|
+
return hash(self.arg)
|
|
56
|
+
def some_method(self):
|
|
57
|
+
return 4
|
|
58
|
+
def other_method(self):
|
|
59
|
+
return 5
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class RefCycle:
|
|
63
|
+
def __init__(self):
|
|
64
|
+
self.cycle = self
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
class TestBase(unittest.TestCase):
|
|
68
|
+
|
|
69
|
+
def setUp(self):
|
|
70
|
+
self.cbcalled = 0
|
|
71
|
+
|
|
72
|
+
def callback(self, ref):
|
|
73
|
+
self.cbcalled += 1
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
@contextlib.contextmanager
|
|
77
|
+
def collect_in_thread(period=0.0001):
|
|
78
|
+
"""
|
|
79
|
+
Ensure GC collections happen in a different thread, at a high frequency.
|
|
80
|
+
"""
|
|
81
|
+
threading = support.import_module('threading')
|
|
82
|
+
please_stop = False
|
|
83
|
+
|
|
84
|
+
def collect():
|
|
85
|
+
while not please_stop:
|
|
86
|
+
time.sleep(period)
|
|
87
|
+
gc.collect()
|
|
88
|
+
|
|
89
|
+
with support.disable_gc():
|
|
90
|
+
t = threading.Thread(target=collect)
|
|
91
|
+
t.start()
|
|
92
|
+
try:
|
|
93
|
+
yield
|
|
94
|
+
finally:
|
|
95
|
+
please_stop = True
|
|
96
|
+
t.join()
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
class ReferencesTestCase(TestBase):
|
|
100
|
+
|
|
101
|
+
def test_basic_ref(self):
|
|
102
|
+
self.check_basic_ref(C)
|
|
103
|
+
self.check_basic_ref(create_function)
|
|
104
|
+
self.check_basic_ref(create_bound_method)
|
|
105
|
+
|
|
106
|
+
# Just make sure the tp_repr handler doesn't raise an exception.
|
|
107
|
+
# Live reference:
|
|
108
|
+
o = C()
|
|
109
|
+
wr = weakref.ref(o)
|
|
110
|
+
repr(wr)
|
|
111
|
+
# Dead reference:
|
|
112
|
+
del o
|
|
113
|
+
repr(wr)
|
|
114
|
+
|
|
115
|
+
def test_basic_callback(self):
|
|
116
|
+
self.check_basic_callback(C)
|
|
117
|
+
self.check_basic_callback(create_function)
|
|
118
|
+
self.check_basic_callback(create_bound_method)
|
|
119
|
+
|
|
120
|
+
@support.cpython_only
|
|
121
|
+
def test_cfunction(self):
|
|
122
|
+
import _testcapi
|
|
123
|
+
create_cfunction = _testcapi.create_cfunction
|
|
124
|
+
f = create_cfunction()
|
|
125
|
+
wr = weakref.ref(f)
|
|
126
|
+
self.assertIs(wr(), f)
|
|
127
|
+
del f
|
|
128
|
+
self.assertIsNone(wr())
|
|
129
|
+
self.check_basic_ref(create_cfunction)
|
|
130
|
+
self.check_basic_callback(create_cfunction)
|
|
131
|
+
|
|
132
|
+
def test_multiple_callbacks(self):
|
|
133
|
+
o = C()
|
|
134
|
+
ref1 = weakref.ref(o, self.callback)
|
|
135
|
+
ref2 = weakref.ref(o, self.callback)
|
|
136
|
+
del o
|
|
137
|
+
self.assertIsNone(ref1(), "expected reference to be invalidated")
|
|
138
|
+
self.assertIsNone(ref2(), "expected reference to be invalidated")
|
|
139
|
+
self.assertEqual(self.cbcalled, 2,
|
|
140
|
+
"callback not called the right number of times")
|
|
141
|
+
|
|
142
|
+
def test_multiple_selfref_callbacks(self):
|
|
143
|
+
# Make sure all references are invalidated before callbacks are called
|
|
144
|
+
#
|
|
145
|
+
# What's important here is that we're using the first
|
|
146
|
+
# reference in the callback invoked on the second reference
|
|
147
|
+
# (the most recently created ref is cleaned up first). This
|
|
148
|
+
# tests that all references to the object are invalidated
|
|
149
|
+
# before any of the callbacks are invoked, so that we only
|
|
150
|
+
# have one invocation of _weakref.c:cleanup_helper() active
|
|
151
|
+
# for a particular object at a time.
|
|
152
|
+
#
|
|
153
|
+
def callback(object, self=self):
|
|
154
|
+
self.ref()
|
|
155
|
+
c = C()
|
|
156
|
+
self.ref = weakref.ref(c, callback)
|
|
157
|
+
ref1 = weakref.ref(c, callback)
|
|
158
|
+
del c
|
|
159
|
+
|
|
160
|
+
def test_constructor_kwargs(self):
|
|
161
|
+
c = C()
|
|
162
|
+
self.assertRaises(TypeError, weakref.ref, c, callback=None)
|
|
163
|
+
|
|
164
|
+
def test_proxy_ref(self):
|
|
165
|
+
o = C()
|
|
166
|
+
o.bar = 1
|
|
167
|
+
ref1 = weakref.proxy(o, self.callback)
|
|
168
|
+
ref2 = weakref.proxy(o, self.callback)
|
|
169
|
+
del o
|
|
170
|
+
|
|
171
|
+
def check(proxy):
|
|
172
|
+
proxy.bar
|
|
173
|
+
|
|
174
|
+
self.assertRaises(ReferenceError, check, ref1)
|
|
175
|
+
self.assertRaises(ReferenceError, check, ref2)
|
|
176
|
+
self.assertRaises(ReferenceError, bool, weakref.proxy(C()))
|
|
177
|
+
self.assertEqual(self.cbcalled, 2)
|
|
178
|
+
|
|
179
|
+
def check_basic_ref(self, factory):
|
|
180
|
+
o = factory()
|
|
181
|
+
ref = weakref.ref(o)
|
|
182
|
+
self.assertIsNotNone(ref(),
|
|
183
|
+
"weak reference to live object should be live")
|
|
184
|
+
o2 = ref()
|
|
185
|
+
self.assertIs(o, o2,
|
|
186
|
+
"<ref>() should return original object if live")
|
|
187
|
+
|
|
188
|
+
def check_basic_callback(self, factory):
|
|
189
|
+
self.cbcalled = 0
|
|
190
|
+
o = factory()
|
|
191
|
+
ref = weakref.ref(o, self.callback)
|
|
192
|
+
del o
|
|
193
|
+
self.assertEqual(self.cbcalled, 1,
|
|
194
|
+
"callback did not properly set 'cbcalled'")
|
|
195
|
+
self.assertIsNone(ref(),
|
|
196
|
+
"ref2 should be dead after deleting object reference")
|
|
197
|
+
|
|
198
|
+
def test_ref_reuse(self):
|
|
199
|
+
o = C()
|
|
200
|
+
ref1 = weakref.ref(o)
|
|
201
|
+
# create a proxy to make sure that there's an intervening creation
|
|
202
|
+
# between these two; it should make no difference
|
|
203
|
+
proxy = weakref.proxy(o)
|
|
204
|
+
ref2 = weakref.ref(o)
|
|
205
|
+
self.assertIs(ref1, ref2,
|
|
206
|
+
"reference object w/out callback should be re-used")
|
|
207
|
+
|
|
208
|
+
o = C()
|
|
209
|
+
proxy = weakref.proxy(o)
|
|
210
|
+
ref1 = weakref.ref(o)
|
|
211
|
+
ref2 = weakref.ref(o)
|
|
212
|
+
self.assertIs(ref1, ref2,
|
|
213
|
+
"reference object w/out callback should be re-used")
|
|
214
|
+
self.assertEqual(weakref.getweakrefcount(o), 2,
|
|
215
|
+
"wrong weak ref count for object")
|
|
216
|
+
del proxy
|
|
217
|
+
self.assertEqual(weakref.getweakrefcount(o), 1,
|
|
218
|
+
"wrong weak ref count for object after deleting proxy")
|
|
219
|
+
|
|
220
|
+
def test_proxy_reuse(self):
|
|
221
|
+
o = C()
|
|
222
|
+
proxy1 = weakref.proxy(o)
|
|
223
|
+
ref = weakref.ref(o)
|
|
224
|
+
proxy2 = weakref.proxy(o)
|
|
225
|
+
self.assertIs(proxy1, proxy2,
|
|
226
|
+
"proxy object w/out callback should have been re-used")
|
|
227
|
+
|
|
228
|
+
def test_basic_proxy(self):
|
|
229
|
+
o = C()
|
|
230
|
+
self.check_proxy(o, weakref.proxy(o))
|
|
231
|
+
|
|
232
|
+
L = collections.UserList()
|
|
233
|
+
p = weakref.proxy(L)
|
|
234
|
+
self.assertFalse(p, "proxy for empty UserList should be false")
|
|
235
|
+
p.append(12)
|
|
236
|
+
self.assertEqual(len(L), 1)
|
|
237
|
+
self.assertTrue(p, "proxy for non-empty UserList should be true")
|
|
238
|
+
p[:] = [2, 3]
|
|
239
|
+
self.assertEqual(len(L), 2)
|
|
240
|
+
self.assertEqual(len(p), 2)
|
|
241
|
+
self.assertIn(3, p, "proxy didn't support __contains__() properly")
|
|
242
|
+
p[1] = 5
|
|
243
|
+
self.assertEqual(L[1], 5)
|
|
244
|
+
self.assertEqual(p[1], 5)
|
|
245
|
+
L2 = collections.UserList(L)
|
|
246
|
+
p2 = weakref.proxy(L2)
|
|
247
|
+
self.assertEqual(p, p2)
|
|
248
|
+
## self.assertEqual(repr(L2), repr(p2))
|
|
249
|
+
L3 = collections.UserList(range(10))
|
|
250
|
+
p3 = weakref.proxy(L3)
|
|
251
|
+
self.assertEqual(L3[:], p3[:])
|
|
252
|
+
self.assertEqual(L3[5:], p3[5:])
|
|
253
|
+
self.assertEqual(L3[:5], p3[:5])
|
|
254
|
+
self.assertEqual(L3[2:5], p3[2:5])
|
|
255
|
+
|
|
256
|
+
def test_proxy_unicode(self):
|
|
257
|
+
# See bug 5037
|
|
258
|
+
class C(object):
|
|
259
|
+
def __str__(self):
|
|
260
|
+
return "string"
|
|
261
|
+
def __bytes__(self):
|
|
262
|
+
return b"bytes"
|
|
263
|
+
instance = C()
|
|
264
|
+
self.assertIn("__bytes__", dir(weakref.proxy(instance)))
|
|
265
|
+
self.assertEqual(bytes(weakref.proxy(instance)), b"bytes")
|
|
266
|
+
|
|
267
|
+
def test_proxy_index(self):
|
|
268
|
+
class C:
|
|
269
|
+
def __index__(self):
|
|
270
|
+
return 10
|
|
271
|
+
o = C()
|
|
272
|
+
p = weakref.proxy(o)
|
|
273
|
+
self.assertEqual(operator.index(p), 10)
|
|
274
|
+
|
|
275
|
+
def test_proxy_div(self):
|
|
276
|
+
class C:
|
|
277
|
+
def __floordiv__(self, other):
|
|
278
|
+
return 42
|
|
279
|
+
def __ifloordiv__(self, other):
|
|
280
|
+
return 21
|
|
281
|
+
o = C()
|
|
282
|
+
p = weakref.proxy(o)
|
|
283
|
+
self.assertEqual(p // 5, 42)
|
|
284
|
+
p //= 5
|
|
285
|
+
self.assertEqual(p, 21)
|
|
286
|
+
|
|
287
|
+
# The PyWeakref_* C API is documented as allowing either NULL or
|
|
288
|
+
# None as the value for the callback, where either means "no
|
|
289
|
+
# callback". The "no callback" ref and proxy objects are supposed
|
|
290
|
+
# to be shared so long as they exist by all callers so long as
|
|
291
|
+
# they are active. In Python 2.3.3 and earlier, this guarantee
|
|
292
|
+
# was not honored, and was broken in different ways for
|
|
293
|
+
# PyWeakref_NewRef() and PyWeakref_NewProxy(). (Two tests.)
|
|
294
|
+
|
|
295
|
+
def test_shared_ref_without_callback(self):
|
|
296
|
+
self.check_shared_without_callback(weakref.ref)
|
|
297
|
+
|
|
298
|
+
def test_shared_proxy_without_callback(self):
|
|
299
|
+
self.check_shared_without_callback(weakref.proxy)
|
|
300
|
+
|
|
301
|
+
def check_shared_without_callback(self, makeref):
|
|
302
|
+
o = Object(1)
|
|
303
|
+
p1 = makeref(o, None)
|
|
304
|
+
p2 = makeref(o, None)
|
|
305
|
+
self.assertIs(p1, p2, "both callbacks were None in the C API")
|
|
306
|
+
del p1, p2
|
|
307
|
+
p1 = makeref(o)
|
|
308
|
+
p2 = makeref(o, None)
|
|
309
|
+
self.assertIs(p1, p2, "callbacks were NULL, None in the C API")
|
|
310
|
+
del p1, p2
|
|
311
|
+
p1 = makeref(o)
|
|
312
|
+
p2 = makeref(o)
|
|
313
|
+
self.assertIs(p1, p2, "both callbacks were NULL in the C API")
|
|
314
|
+
del p1, p2
|
|
315
|
+
p1 = makeref(o, None)
|
|
316
|
+
p2 = makeref(o)
|
|
317
|
+
self.assertIs(p1, p2, "callbacks were None, NULL in the C API")
|
|
318
|
+
|
|
319
|
+
def test_callable_proxy(self):
|
|
320
|
+
o = Callable()
|
|
321
|
+
ref1 = weakref.proxy(o)
|
|
322
|
+
|
|
323
|
+
self.check_proxy(o, ref1)
|
|
324
|
+
|
|
325
|
+
self.assertIs(type(ref1), weakref.CallableProxyType,
|
|
326
|
+
"proxy is not of callable type")
|
|
327
|
+
ref1('twinkies!')
|
|
328
|
+
self.assertEqual(o.bar, 'twinkies!',
|
|
329
|
+
"call through proxy not passed through to original")
|
|
330
|
+
ref1(x='Splat.')
|
|
331
|
+
self.assertEqual(o.bar, 'Splat.',
|
|
332
|
+
"call through proxy not passed through to original")
|
|
333
|
+
|
|
334
|
+
# expect due to too few args
|
|
335
|
+
self.assertRaises(TypeError, ref1)
|
|
336
|
+
|
|
337
|
+
# expect due to too many args
|
|
338
|
+
self.assertRaises(TypeError, ref1, 1, 2, 3)
|
|
339
|
+
|
|
340
|
+
def check_proxy(self, o, proxy):
|
|
341
|
+
o.foo = 1
|
|
342
|
+
self.assertEqual(proxy.foo, 1,
|
|
343
|
+
"proxy does not reflect attribute addition")
|
|
344
|
+
o.foo = 2
|
|
345
|
+
self.assertEqual(proxy.foo, 2,
|
|
346
|
+
"proxy does not reflect attribute modification")
|
|
347
|
+
del o.foo
|
|
348
|
+
self.assertFalse(hasattr(proxy, 'foo'),
|
|
349
|
+
"proxy does not reflect attribute removal")
|
|
350
|
+
|
|
351
|
+
proxy.foo = 1
|
|
352
|
+
self.assertEqual(o.foo, 1,
|
|
353
|
+
"object does not reflect attribute addition via proxy")
|
|
354
|
+
proxy.foo = 2
|
|
355
|
+
self.assertEqual(o.foo, 2,
|
|
356
|
+
"object does not reflect attribute modification via proxy")
|
|
357
|
+
del proxy.foo
|
|
358
|
+
self.assertFalse(hasattr(o, 'foo'),
|
|
359
|
+
"object does not reflect attribute removal via proxy")
|
|
360
|
+
|
|
361
|
+
def test_proxy_deletion(self):
|
|
362
|
+
# Test clearing of SF bug #762891
|
|
363
|
+
class Foo:
|
|
364
|
+
result = None
|
|
365
|
+
def __delitem__(self, accessor):
|
|
366
|
+
self.result = accessor
|
|
367
|
+
g = Foo()
|
|
368
|
+
f = weakref.proxy(g)
|
|
369
|
+
del f[0]
|
|
370
|
+
self.assertEqual(f.result, 0)
|
|
371
|
+
|
|
372
|
+
def test_proxy_bool(self):
|
|
373
|
+
# Test clearing of SF bug #1170766
|
|
374
|
+
class List(list): pass
|
|
375
|
+
lyst = List()
|
|
376
|
+
self.assertEqual(bool(weakref.proxy(lyst)), bool(lyst))
|
|
377
|
+
|
|
378
|
+
def test_getweakrefcount(self):
|
|
379
|
+
o = C()
|
|
380
|
+
ref1 = weakref.ref(o)
|
|
381
|
+
ref2 = weakref.ref(o, self.callback)
|
|
382
|
+
self.assertEqual(weakref.getweakrefcount(o), 2,
|
|
383
|
+
"got wrong number of weak reference objects")
|
|
384
|
+
|
|
385
|
+
proxy1 = weakref.proxy(o)
|
|
386
|
+
proxy2 = weakref.proxy(o, self.callback)
|
|
387
|
+
self.assertEqual(weakref.getweakrefcount(o), 4,
|
|
388
|
+
"got wrong number of weak reference objects")
|
|
389
|
+
|
|
390
|
+
del ref1, ref2, proxy1, proxy2
|
|
391
|
+
self.assertEqual(weakref.getweakrefcount(o), 0,
|
|
392
|
+
"weak reference objects not unlinked from"
|
|
393
|
+
" referent when discarded.")
|
|
394
|
+
|
|
395
|
+
# assumes ints do not support weakrefs
|
|
396
|
+
self.assertEqual(weakref.getweakrefcount(1), 0,
|
|
397
|
+
"got wrong number of weak reference objects for int")
|
|
398
|
+
|
|
399
|
+
def test_getweakrefs(self):
|
|
400
|
+
o = C()
|
|
401
|
+
ref1 = weakref.ref(o, self.callback)
|
|
402
|
+
ref2 = weakref.ref(o, self.callback)
|
|
403
|
+
del ref1
|
|
404
|
+
self.assertEqual(weakref.getweakrefs(o), [ref2],
|
|
405
|
+
"list of refs does not match")
|
|
406
|
+
|
|
407
|
+
o = C()
|
|
408
|
+
ref1 = weakref.ref(o, self.callback)
|
|
409
|
+
ref2 = weakref.ref(o, self.callback)
|
|
410
|
+
del ref2
|
|
411
|
+
self.assertEqual(weakref.getweakrefs(o), [ref1],
|
|
412
|
+
"list of refs does not match")
|
|
413
|
+
|
|
414
|
+
del ref1
|
|
415
|
+
self.assertEqual(weakref.getweakrefs(o), [],
|
|
416
|
+
"list of refs not cleared")
|
|
417
|
+
|
|
418
|
+
# assumes ints do not support weakrefs
|
|
419
|
+
self.assertEqual(weakref.getweakrefs(1), [],
|
|
420
|
+
"list of refs does not match for int")
|
|
421
|
+
|
|
422
|
+
def test_newstyle_number_ops(self):
|
|
423
|
+
class F(float):
|
|
424
|
+
pass
|
|
425
|
+
f = F(2.0)
|
|
426
|
+
p = weakref.proxy(f)
|
|
427
|
+
self.assertEqual(p + 1.0, 3.0)
|
|
428
|
+
self.assertEqual(1.0 + p, 3.0) # this used to SEGV
|
|
429
|
+
|
|
430
|
+
def test_callbacks_protected(self):
|
|
431
|
+
# Callbacks protected from already-set exceptions?
|
|
432
|
+
# Regression test for SF bug #478534.
|
|
433
|
+
class BogusError(Exception):
|
|
434
|
+
pass
|
|
435
|
+
data = {}
|
|
436
|
+
def remove(k):
|
|
437
|
+
del data[k]
|
|
438
|
+
def encapsulate():
|
|
439
|
+
f = lambda : ()
|
|
440
|
+
data[weakref.ref(f, remove)] = None
|
|
441
|
+
raise BogusError
|
|
442
|
+
try:
|
|
443
|
+
encapsulate()
|
|
444
|
+
except BogusError:
|
|
445
|
+
pass
|
|
446
|
+
else:
|
|
447
|
+
self.fail("exception not properly restored")
|
|
448
|
+
try:
|
|
449
|
+
encapsulate()
|
|
450
|
+
except BogusError:
|
|
451
|
+
pass
|
|
452
|
+
else:
|
|
453
|
+
self.fail("exception not properly restored")
|
|
454
|
+
|
|
455
|
+
def test_sf_bug_840829(self):
|
|
456
|
+
# "weakref callbacks and gc corrupt memory"
|
|
457
|
+
# subtype_dealloc erroneously exposed a new-style instance
|
|
458
|
+
# already in the process of getting deallocated to gc,
|
|
459
|
+
# causing double-deallocation if the instance had a weakref
|
|
460
|
+
# callback that triggered gc.
|
|
461
|
+
# If the bug exists, there probably won't be an obvious symptom
|
|
462
|
+
# in a release build. In a debug build, a segfault will occur
|
|
463
|
+
# when the second attempt to remove the instance from the "list
|
|
464
|
+
# of all objects" occurs.
|
|
465
|
+
|
|
466
|
+
import gc
|
|
467
|
+
|
|
468
|
+
class C(object):
|
|
469
|
+
pass
|
|
470
|
+
|
|
471
|
+
c = C()
|
|
472
|
+
wr = weakref.ref(c, lambda ignore: gc.collect())
|
|
473
|
+
del c
|
|
474
|
+
|
|
475
|
+
# There endeth the first part. It gets worse.
|
|
476
|
+
del wr
|
|
477
|
+
|
|
478
|
+
c1 = C()
|
|
479
|
+
c1.i = C()
|
|
480
|
+
wr = weakref.ref(c1.i, lambda ignore: gc.collect())
|
|
481
|
+
|
|
482
|
+
c2 = C()
|
|
483
|
+
c2.c1 = c1
|
|
484
|
+
del c1 # still alive because c2 points to it
|
|
485
|
+
|
|
486
|
+
# Now when subtype_dealloc gets called on c2, it's not enough just
|
|
487
|
+
# that c2 is immune from gc while the weakref callbacks associated
|
|
488
|
+
# with c2 execute (there are none in this 2nd half of the test, btw).
|
|
489
|
+
# subtype_dealloc goes on to call the base classes' deallocs too,
|
|
490
|
+
# so any gc triggered by weakref callbacks associated with anything
|
|
491
|
+
# torn down by a base class dealloc can also trigger double
|
|
492
|
+
# deallocation of c2.
|
|
493
|
+
del c2
|
|
494
|
+
|
|
495
|
+
def test_callback_in_cycle_1(self):
|
|
496
|
+
import gc
|
|
497
|
+
|
|
498
|
+
class J(object):
|
|
499
|
+
pass
|
|
500
|
+
|
|
501
|
+
class II(object):
|
|
502
|
+
def acallback(self, ignore):
|
|
503
|
+
self.J
|
|
504
|
+
|
|
505
|
+
I = II()
|
|
506
|
+
I.J = J
|
|
507
|
+
I.wr = weakref.ref(J, I.acallback)
|
|
508
|
+
|
|
509
|
+
# Now J and II are each in a self-cycle (as all new-style class
|
|
510
|
+
# objects are, since their __mro__ points back to them). I holds
|
|
511
|
+
# both a weak reference (I.wr) and a strong reference (I.J) to class
|
|
512
|
+
# J. I is also in a cycle (I.wr points to a weakref that references
|
|
513
|
+
# I.acallback). When we del these three, they all become trash, but
|
|
514
|
+
# the cycles prevent any of them from getting cleaned up immediately.
|
|
515
|
+
# Instead they have to wait for cyclic gc to deduce that they're
|
|
516
|
+
# trash.
|
|
517
|
+
#
|
|
518
|
+
# gc used to call tp_clear on all of them, and the order in which
|
|
519
|
+
# it does that is pretty accidental. The exact order in which we
|
|
520
|
+
# built up these things manages to provoke gc into running tp_clear
|
|
521
|
+
# in just the right order (I last). Calling tp_clear on II leaves
|
|
522
|
+
# behind an insane class object (its __mro__ becomes NULL). Calling
|
|
523
|
+
# tp_clear on J breaks its self-cycle, but J doesn't get deleted
|
|
524
|
+
# just then because of the strong reference from I.J. Calling
|
|
525
|
+
# tp_clear on I starts to clear I's __dict__, and just happens to
|
|
526
|
+
# clear I.J first -- I.wr is still intact. That removes the last
|
|
527
|
+
# reference to J, which triggers the weakref callback. The callback
|
|
528
|
+
# tries to do "self.J", and instances of new-style classes look up
|
|
529
|
+
# attributes ("J") in the class dict first. The class (II) wants to
|
|
530
|
+
# search II.__mro__, but that's NULL. The result was a segfault in
|
|
531
|
+
# a release build, and an assert failure in a debug build.
|
|
532
|
+
del I, J, II
|
|
533
|
+
gc.collect()
|
|
534
|
+
|
|
535
|
+
def test_callback_in_cycle_2(self):
|
|
536
|
+
import gc
|
|
537
|
+
|
|
538
|
+
# This is just like test_callback_in_cycle_1, except that II is an
|
|
539
|
+
# old-style class. The symptom is different then: an instance of an
|
|
540
|
+
# old-style class looks in its own __dict__ first. 'J' happens to
|
|
541
|
+
# get cleared from I.__dict__ before 'wr', and 'J' was never in II's
|
|
542
|
+
# __dict__, so the attribute isn't found. The difference is that
|
|
543
|
+
# the old-style II doesn't have a NULL __mro__ (it doesn't have any
|
|
544
|
+
# __mro__), so no segfault occurs. Instead it got:
|
|
545
|
+
# test_callback_in_cycle_2 (__main__.ReferencesTestCase) ...
|
|
546
|
+
# Exception exceptions.AttributeError:
|
|
547
|
+
# "II instance has no attribute 'J'" in <bound method II.acallback
|
|
548
|
+
# of <?.II instance at 0x00B9B4B8>> ignored
|
|
549
|
+
|
|
550
|
+
class J(object):
|
|
551
|
+
pass
|
|
552
|
+
|
|
553
|
+
class II:
|
|
554
|
+
def acallback(self, ignore):
|
|
555
|
+
self.J
|
|
556
|
+
|
|
557
|
+
I = II()
|
|
558
|
+
I.J = J
|
|
559
|
+
I.wr = weakref.ref(J, I.acallback)
|
|
560
|
+
|
|
561
|
+
del I, J, II
|
|
562
|
+
gc.collect()
|
|
563
|
+
|
|
564
|
+
def test_callback_in_cycle_3(self):
|
|
565
|
+
import gc
|
|
566
|
+
|
|
567
|
+
# This one broke the first patch that fixed the last two. In this
|
|
568
|
+
# case, the objects reachable from the callback aren't also reachable
|
|
569
|
+
# from the object (c1) *triggering* the callback: you can get to
|
|
570
|
+
# c1 from c2, but not vice-versa. The result was that c2's __dict__
|
|
571
|
+
# got tp_clear'ed by the time the c2.cb callback got invoked.
|
|
572
|
+
|
|
573
|
+
class C:
|
|
574
|
+
def cb(self, ignore):
|
|
575
|
+
self.me
|
|
576
|
+
self.c1
|
|
577
|
+
self.wr
|
|
578
|
+
|
|
579
|
+
c1, c2 = C(), C()
|
|
580
|
+
|
|
581
|
+
c2.me = c2
|
|
582
|
+
c2.c1 = c1
|
|
583
|
+
c2.wr = weakref.ref(c1, c2.cb)
|
|
584
|
+
|
|
585
|
+
del c1, c2
|
|
586
|
+
gc.collect()
|
|
587
|
+
|
|
588
|
+
def test_callback_in_cycle_4(self):
|
|
589
|
+
import gc
|
|
590
|
+
|
|
591
|
+
# Like test_callback_in_cycle_3, except c2 and c1 have different
|
|
592
|
+
# classes. c2's class (C) isn't reachable from c1 then, so protecting
|
|
593
|
+
# objects reachable from the dying object (c1) isn't enough to stop
|
|
594
|
+
# c2's class (C) from getting tp_clear'ed before c2.cb is invoked.
|
|
595
|
+
# The result was a segfault (C.__mro__ was NULL when the callback
|
|
596
|
+
# tried to look up self.me).
|
|
597
|
+
|
|
598
|
+
class C(object):
|
|
599
|
+
def cb(self, ignore):
|
|
600
|
+
self.me
|
|
601
|
+
self.c1
|
|
602
|
+
self.wr
|
|
603
|
+
|
|
604
|
+
class D:
|
|
605
|
+
pass
|
|
606
|
+
|
|
607
|
+
c1, c2 = D(), C()
|
|
608
|
+
|
|
609
|
+
c2.me = c2
|
|
610
|
+
c2.c1 = c1
|
|
611
|
+
c2.wr = weakref.ref(c1, c2.cb)
|
|
612
|
+
|
|
613
|
+
del c1, c2, C, D
|
|
614
|
+
gc.collect()
|
|
615
|
+
|
|
616
|
+
@support.requires_type_collecting
|
|
617
|
+
def test_callback_in_cycle_resurrection(self):
|
|
618
|
+
import gc
|
|
619
|
+
|
|
620
|
+
# Do something nasty in a weakref callback: resurrect objects
|
|
621
|
+
# from dead cycles. For this to be attempted, the weakref and
|
|
622
|
+
# its callback must also be part of the cyclic trash (else the
|
|
623
|
+
# objects reachable via the callback couldn't be in cyclic trash
|
|
624
|
+
# to begin with -- the callback would act like an external root).
|
|
625
|
+
# But gc clears trash weakrefs with callbacks early now, which
|
|
626
|
+
# disables the callbacks, so the callbacks shouldn't get called
|
|
627
|
+
# at all (and so nothing actually gets resurrected).
|
|
628
|
+
|
|
629
|
+
alist = []
|
|
630
|
+
class C(object):
|
|
631
|
+
def __init__(self, value):
|
|
632
|
+
self.attribute = value
|
|
633
|
+
|
|
634
|
+
def acallback(self, ignore):
|
|
635
|
+
alist.append(self.c)
|
|
636
|
+
|
|
637
|
+
c1, c2 = C(1), C(2)
|
|
638
|
+
c1.c = c2
|
|
639
|
+
c2.c = c1
|
|
640
|
+
c1.wr = weakref.ref(c2, c1.acallback)
|
|
641
|
+
c2.wr = weakref.ref(c1, c2.acallback)
|
|
642
|
+
|
|
643
|
+
def C_went_away(ignore):
|
|
644
|
+
alist.append("C went away")
|
|
645
|
+
wr = weakref.ref(C, C_went_away)
|
|
646
|
+
|
|
647
|
+
del c1, c2, C # make them all trash
|
|
648
|
+
self.assertEqual(alist, []) # del isn't enough to reclaim anything
|
|
649
|
+
|
|
650
|
+
gc.collect()
|
|
651
|
+
# c1.wr and c2.wr were part of the cyclic trash, so should have
|
|
652
|
+
# been cleared without their callbacks executing. OTOH, the weakref
|
|
653
|
+
# to C is bound to a function local (wr), and wasn't trash, so that
|
|
654
|
+
# callback should have been invoked when C went away.
|
|
655
|
+
self.assertEqual(alist, ["C went away"])
|
|
656
|
+
# The remaining weakref should be dead now (its callback ran).
|
|
657
|
+
self.assertEqual(wr(), None)
|
|
658
|
+
|
|
659
|
+
del alist[:]
|
|
660
|
+
gc.collect()
|
|
661
|
+
self.assertEqual(alist, [])
|
|
662
|
+
|
|
663
|
+
def test_callbacks_on_callback(self):
|
|
664
|
+
import gc
|
|
665
|
+
|
|
666
|
+
# Set up weakref callbacks *on* weakref callbacks.
|
|
667
|
+
alist = []
|
|
668
|
+
def safe_callback(ignore):
|
|
669
|
+
alist.append("safe_callback called")
|
|
670
|
+
|
|
671
|
+
class C(object):
|
|
672
|
+
def cb(self, ignore):
|
|
673
|
+
alist.append("cb called")
|
|
674
|
+
|
|
675
|
+
c, d = C(), C()
|
|
676
|
+
c.other = d
|
|
677
|
+
d.other = c
|
|
678
|
+
callback = c.cb
|
|
679
|
+
c.wr = weakref.ref(d, callback) # this won't trigger
|
|
680
|
+
d.wr = weakref.ref(callback, d.cb) # ditto
|
|
681
|
+
external_wr = weakref.ref(callback, safe_callback) # but this will
|
|
682
|
+
self.assertIs(external_wr(), callback)
|
|
683
|
+
|
|
684
|
+
# The weakrefs attached to c and d should get cleared, so that
|
|
685
|
+
# C.cb is never called. But external_wr isn't part of the cyclic
|
|
686
|
+
# trash, and no cyclic trash is reachable from it, so safe_callback
|
|
687
|
+
# should get invoked when the bound method object callback (c.cb)
|
|
688
|
+
# -- which is itself a callback, and also part of the cyclic trash --
|
|
689
|
+
# gets reclaimed at the end of gc.
|
|
690
|
+
|
|
691
|
+
del callback, c, d, C
|
|
692
|
+
self.assertEqual(alist, []) # del isn't enough to clean up cycles
|
|
693
|
+
gc.collect()
|
|
694
|
+
self.assertEqual(alist, ["safe_callback called"])
|
|
695
|
+
self.assertEqual(external_wr(), None)
|
|
696
|
+
|
|
697
|
+
del alist[:]
|
|
698
|
+
gc.collect()
|
|
699
|
+
self.assertEqual(alist, [])
|
|
700
|
+
|
|
701
|
+
def test_gc_during_ref_creation(self):
|
|
702
|
+
self.check_gc_during_creation(weakref.ref)
|
|
703
|
+
|
|
704
|
+
def test_gc_during_proxy_creation(self):
|
|
705
|
+
self.check_gc_during_creation(weakref.proxy)
|
|
706
|
+
|
|
707
|
+
def check_gc_during_creation(self, makeref):
|
|
708
|
+
thresholds = gc.get_threshold()
|
|
709
|
+
gc.set_threshold(1, 1, 1)
|
|
710
|
+
gc.collect()
|
|
711
|
+
class A:
|
|
712
|
+
pass
|
|
713
|
+
|
|
714
|
+
def callback(*args):
|
|
715
|
+
pass
|
|
716
|
+
|
|
717
|
+
referenced = A()
|
|
718
|
+
|
|
719
|
+
a = A()
|
|
720
|
+
a.a = a
|
|
721
|
+
a.wr = makeref(referenced)
|
|
722
|
+
|
|
723
|
+
try:
|
|
724
|
+
# now make sure the object and the ref get labeled as
|
|
725
|
+
# cyclic trash:
|
|
726
|
+
a = A()
|
|
727
|
+
weakref.ref(referenced, callback)
|
|
728
|
+
|
|
729
|
+
finally:
|
|
730
|
+
gc.set_threshold(*thresholds)
|
|
731
|
+
|
|
732
|
+
def test_ref_created_during_del(self):
|
|
733
|
+
# Bug #1377858
|
|
734
|
+
# A weakref created in an object's __del__() would crash the
|
|
735
|
+
# interpreter when the weakref was cleaned up since it would refer to
|
|
736
|
+
# non-existent memory. This test should not segfault the interpreter.
|
|
737
|
+
class Target(object):
|
|
738
|
+
def __del__(self):
|
|
739
|
+
global ref_from_del
|
|
740
|
+
ref_from_del = weakref.ref(self)
|
|
741
|
+
|
|
742
|
+
w = Target()
|
|
743
|
+
|
|
744
|
+
def test_init(self):
|
|
745
|
+
# Issue 3634
|
|
746
|
+
# <weakref to class>.__init__() doesn't check errors correctly
|
|
747
|
+
r = weakref.ref(Exception)
|
|
748
|
+
self.assertRaises(TypeError, r.__init__, 0, 0, 0, 0, 0)
|
|
749
|
+
# No exception should be raised here
|
|
750
|
+
gc.collect()
|
|
751
|
+
|
|
752
|
+
def test_classes(self):
|
|
753
|
+
# Check that classes are weakrefable.
|
|
754
|
+
class A(object):
|
|
755
|
+
pass
|
|
756
|
+
l = []
|
|
757
|
+
weakref.ref(int)
|
|
758
|
+
a = weakref.ref(A, l.append)
|
|
759
|
+
A = None
|
|
760
|
+
gc.collect()
|
|
761
|
+
self.assertEqual(a(), None)
|
|
762
|
+
self.assertEqual(l, [a])
|
|
763
|
+
|
|
764
|
+
def test_equality(self):
|
|
765
|
+
# Alive weakrefs defer equality testing to their underlying object.
|
|
766
|
+
x = Object(1)
|
|
767
|
+
y = Object(1)
|
|
768
|
+
z = Object(2)
|
|
769
|
+
a = weakref.ref(x)
|
|
770
|
+
b = weakref.ref(y)
|
|
771
|
+
c = weakref.ref(z)
|
|
772
|
+
d = weakref.ref(x)
|
|
773
|
+
# Note how we directly test the operators here, to stress both
|
|
774
|
+
# __eq__ and __ne__.
|
|
775
|
+
self.assertTrue(a == b)
|
|
776
|
+
self.assertFalse(a != b)
|
|
777
|
+
self.assertFalse(a == c)
|
|
778
|
+
self.assertTrue(a != c)
|
|
779
|
+
self.assertTrue(a == d)
|
|
780
|
+
self.assertFalse(a != d)
|
|
781
|
+
del x, y, z
|
|
782
|
+
gc.collect()
|
|
783
|
+
for r in a, b, c:
|
|
784
|
+
# Sanity check
|
|
785
|
+
self.assertIs(r(), None)
|
|
786
|
+
# Dead weakrefs compare by identity: whether `a` and `d` are the
|
|
787
|
+
# same weakref object is an implementation detail, since they pointed
|
|
788
|
+
# to the same original object and didn't have a callback.
|
|
789
|
+
# (see issue #16453).
|
|
790
|
+
self.assertFalse(a == b)
|
|
791
|
+
self.assertTrue(a != b)
|
|
792
|
+
self.assertFalse(a == c)
|
|
793
|
+
self.assertTrue(a != c)
|
|
794
|
+
self.assertEqual(a == d, a is d)
|
|
795
|
+
self.assertEqual(a != d, a is not d)
|
|
796
|
+
|
|
797
|
+
def test_ordering(self):
|
|
798
|
+
# weakrefs cannot be ordered, even if the underlying objects can.
|
|
799
|
+
ops = [operator.lt, operator.gt, operator.le, operator.ge]
|
|
800
|
+
x = Object(1)
|
|
801
|
+
y = Object(1)
|
|
802
|
+
a = weakref.ref(x)
|
|
803
|
+
b = weakref.ref(y)
|
|
804
|
+
for op in ops:
|
|
805
|
+
self.assertRaises(TypeError, op, a, b)
|
|
806
|
+
# Same when dead.
|
|
807
|
+
del x, y
|
|
808
|
+
gc.collect()
|
|
809
|
+
for op in ops:
|
|
810
|
+
self.assertRaises(TypeError, op, a, b)
|
|
811
|
+
|
|
812
|
+
def test_hashing(self):
|
|
813
|
+
# Alive weakrefs hash the same as the underlying object
|
|
814
|
+
x = Object(42)
|
|
815
|
+
y = Object(42)
|
|
816
|
+
a = weakref.ref(x)
|
|
817
|
+
b = weakref.ref(y)
|
|
818
|
+
self.assertEqual(hash(a), hash(42))
|
|
819
|
+
del x, y
|
|
820
|
+
gc.collect()
|
|
821
|
+
# Dead weakrefs:
|
|
822
|
+
# - retain their hash is they were hashed when alive;
|
|
823
|
+
# - otherwise, cannot be hashed.
|
|
824
|
+
self.assertEqual(hash(a), hash(42))
|
|
825
|
+
self.assertRaises(TypeError, hash, b)
|
|
826
|
+
|
|
827
|
+
def test_trashcan_16602(self):
|
|
828
|
+
# Issue #16602: when a weakref's target was part of a long
|
|
829
|
+
# deallocation chain, the trashcan mechanism could delay clearing
|
|
830
|
+
# of the weakref and make the target object visible from outside
|
|
831
|
+
# code even though its refcount had dropped to 0. A crash ensued.
|
|
832
|
+
class C:
|
|
833
|
+
def __init__(self, parent):
|
|
834
|
+
if not parent:
|
|
835
|
+
return
|
|
836
|
+
wself = weakref.ref(self)
|
|
837
|
+
def cb(wparent):
|
|
838
|
+
o = wself()
|
|
839
|
+
self.wparent = weakref.ref(parent, cb)
|
|
840
|
+
|
|
841
|
+
d = weakref.WeakKeyDictionary()
|
|
842
|
+
root = c = C(None)
|
|
843
|
+
for n in range(100):
|
|
844
|
+
d[c] = c = C(c)
|
|
845
|
+
del root
|
|
846
|
+
gc.collect()
|
|
847
|
+
|
|
848
|
+
def test_callback_attribute(self):
|
|
849
|
+
x = Object(1)
|
|
850
|
+
callback = lambda ref: None
|
|
851
|
+
ref1 = weakref.ref(x, callback)
|
|
852
|
+
self.assertIs(ref1.__callback__, callback)
|
|
853
|
+
|
|
854
|
+
ref2 = weakref.ref(x)
|
|
855
|
+
self.assertIsNone(ref2.__callback__)
|
|
856
|
+
|
|
857
|
+
def test_callback_attribute_after_deletion(self):
|
|
858
|
+
x = Object(1)
|
|
859
|
+
ref = weakref.ref(x, self.callback)
|
|
860
|
+
self.assertIsNotNone(ref.__callback__)
|
|
861
|
+
del x
|
|
862
|
+
support.gc_collect()
|
|
863
|
+
self.assertIsNone(ref.__callback__)
|
|
864
|
+
|
|
865
|
+
def test_set_callback_attribute(self):
|
|
866
|
+
x = Object(1)
|
|
867
|
+
callback = lambda ref: None
|
|
868
|
+
ref1 = weakref.ref(x, callback)
|
|
869
|
+
with self.assertRaises(AttributeError):
|
|
870
|
+
ref1.__callback__ = lambda ref: None
|
|
871
|
+
|
|
872
|
+
def test_callback_gcs(self):
|
|
873
|
+
class ObjectWithDel(Object):
|
|
874
|
+
def __del__(self): pass
|
|
875
|
+
x = ObjectWithDel(1)
|
|
876
|
+
ref1 = weakref.ref(x, lambda ref: support.gc_collect())
|
|
877
|
+
del x
|
|
878
|
+
support.gc_collect()
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
class SubclassableWeakrefTestCase(TestBase):
|
|
882
|
+
|
|
883
|
+
def test_subclass_refs(self):
|
|
884
|
+
class MyRef(weakref.ref):
|
|
885
|
+
def __init__(self, ob, callback=None, value=42):
|
|
886
|
+
self.value = value
|
|
887
|
+
super().__init__(ob, callback)
|
|
888
|
+
def __call__(self):
|
|
889
|
+
self.called = True
|
|
890
|
+
return super().__call__()
|
|
891
|
+
o = Object("foo")
|
|
892
|
+
mr = MyRef(o, value=24)
|
|
893
|
+
self.assertIs(mr(), o)
|
|
894
|
+
self.assertTrue(mr.called)
|
|
895
|
+
self.assertEqual(mr.value, 24)
|
|
896
|
+
del o
|
|
897
|
+
self.assertIsNone(mr())
|
|
898
|
+
self.assertTrue(mr.called)
|
|
899
|
+
|
|
900
|
+
def test_subclass_refs_dont_replace_standard_refs(self):
|
|
901
|
+
class MyRef(weakref.ref):
|
|
902
|
+
pass
|
|
903
|
+
o = Object(42)
|
|
904
|
+
r1 = MyRef(o)
|
|
905
|
+
r2 = weakref.ref(o)
|
|
906
|
+
self.assertIsNot(r1, r2)
|
|
907
|
+
self.assertEqual(weakref.getweakrefs(o), [r2, r1])
|
|
908
|
+
self.assertEqual(weakref.getweakrefcount(o), 2)
|
|
909
|
+
r3 = MyRef(o)
|
|
910
|
+
self.assertEqual(weakref.getweakrefcount(o), 3)
|
|
911
|
+
refs = weakref.getweakrefs(o)
|
|
912
|
+
self.assertEqual(len(refs), 3)
|
|
913
|
+
self.assertIs(r2, refs[0])
|
|
914
|
+
self.assertIn(r1, refs[1:])
|
|
915
|
+
self.assertIn(r3, refs[1:])
|
|
916
|
+
|
|
917
|
+
def test_subclass_refs_dont_conflate_callbacks(self):
|
|
918
|
+
class MyRef(weakref.ref):
|
|
919
|
+
pass
|
|
920
|
+
o = Object(42)
|
|
921
|
+
r1 = MyRef(o, id)
|
|
922
|
+
r2 = MyRef(o, str)
|
|
923
|
+
self.assertIsNot(r1, r2)
|
|
924
|
+
refs = weakref.getweakrefs(o)
|
|
925
|
+
self.assertIn(r1, refs)
|
|
926
|
+
self.assertIn(r2, refs)
|
|
927
|
+
|
|
928
|
+
def test_subclass_refs_with_slots(self):
|
|
929
|
+
class MyRef(weakref.ref):
|
|
930
|
+
__slots__ = "slot1", "slot2"
|
|
931
|
+
def __new__(type, ob, callback, slot1, slot2):
|
|
932
|
+
return weakref.ref.__new__(type, ob, callback)
|
|
933
|
+
def __init__(self, ob, callback, slot1, slot2):
|
|
934
|
+
self.slot1 = slot1
|
|
935
|
+
self.slot2 = slot2
|
|
936
|
+
def meth(self):
|
|
937
|
+
return self.slot1 + self.slot2
|
|
938
|
+
o = Object(42)
|
|
939
|
+
r = MyRef(o, None, "abc", "def")
|
|
940
|
+
self.assertEqual(r.slot1, "abc")
|
|
941
|
+
self.assertEqual(r.slot2, "def")
|
|
942
|
+
self.assertEqual(r.meth(), "abcdef")
|
|
943
|
+
self.assertFalse(hasattr(r, "__dict__"))
|
|
944
|
+
|
|
945
|
+
def test_subclass_refs_with_cycle(self):
|
|
946
|
+
"""Confirm https://bugs.python.org/issue3100 is fixed."""
|
|
947
|
+
# An instance of a weakref subclass can have attributes.
|
|
948
|
+
# If such a weakref holds the only strong reference to the object,
|
|
949
|
+
# deleting the weakref will delete the object. In this case,
|
|
950
|
+
# the callback must not be called, because the ref object is
|
|
951
|
+
# being deleted.
|
|
952
|
+
class MyRef(weakref.ref):
|
|
953
|
+
pass
|
|
954
|
+
|
|
955
|
+
# Use a local callback, for "regrtest -R::"
|
|
956
|
+
# to detect refcounting problems
|
|
957
|
+
def callback(w):
|
|
958
|
+
self.cbcalled += 1
|
|
959
|
+
|
|
960
|
+
o = C()
|
|
961
|
+
r1 = MyRef(o, callback)
|
|
962
|
+
r1.o = o
|
|
963
|
+
del o
|
|
964
|
+
|
|
965
|
+
del r1 # Used to crash here
|
|
966
|
+
|
|
967
|
+
self.assertEqual(self.cbcalled, 0)
|
|
968
|
+
|
|
969
|
+
# Same test, with two weakrefs to the same object
|
|
970
|
+
# (since code paths are different)
|
|
971
|
+
o = C()
|
|
972
|
+
r1 = MyRef(o, callback)
|
|
973
|
+
r2 = MyRef(o, callback)
|
|
974
|
+
r1.r = r2
|
|
975
|
+
r2.o = o
|
|
976
|
+
del o
|
|
977
|
+
del r2
|
|
978
|
+
|
|
979
|
+
del r1 # Used to crash here
|
|
980
|
+
|
|
981
|
+
self.assertEqual(self.cbcalled, 0)
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
class WeakMethodTestCase(unittest.TestCase):
|
|
985
|
+
|
|
986
|
+
def _subclass(self):
|
|
987
|
+
"""Return an Object subclass overriding `some_method`."""
|
|
988
|
+
class C(Object):
|
|
989
|
+
def some_method(self):
|
|
990
|
+
return 6
|
|
991
|
+
return C
|
|
992
|
+
|
|
993
|
+
def test_alive(self):
|
|
994
|
+
o = Object(1)
|
|
995
|
+
r = weakref.WeakMethod(o.some_method)
|
|
996
|
+
self.assertIsInstance(r, weakref.ReferenceType)
|
|
997
|
+
self.assertIsInstance(r(), type(o.some_method))
|
|
998
|
+
self.assertIs(r().__self__, o)
|
|
999
|
+
self.assertIs(r().__func__, o.some_method.__func__)
|
|
1000
|
+
self.assertEqual(r()(), 4)
|
|
1001
|
+
|
|
1002
|
+
def test_object_dead(self):
|
|
1003
|
+
o = Object(1)
|
|
1004
|
+
r = weakref.WeakMethod(o.some_method)
|
|
1005
|
+
del o
|
|
1006
|
+
gc.collect()
|
|
1007
|
+
self.assertIs(r(), None)
|
|
1008
|
+
|
|
1009
|
+
def test_method_dead(self):
|
|
1010
|
+
C = self._subclass()
|
|
1011
|
+
o = C(1)
|
|
1012
|
+
r = weakref.WeakMethod(o.some_method)
|
|
1013
|
+
del C.some_method
|
|
1014
|
+
gc.collect()
|
|
1015
|
+
self.assertIs(r(), None)
|
|
1016
|
+
|
|
1017
|
+
def test_callback_when_object_dead(self):
|
|
1018
|
+
# Test callback behaviour when object dies first.
|
|
1019
|
+
C = self._subclass()
|
|
1020
|
+
calls = []
|
|
1021
|
+
def cb(arg):
|
|
1022
|
+
calls.append(arg)
|
|
1023
|
+
o = C(1)
|
|
1024
|
+
r = weakref.WeakMethod(o.some_method, cb)
|
|
1025
|
+
del o
|
|
1026
|
+
gc.collect()
|
|
1027
|
+
self.assertEqual(calls, [r])
|
|
1028
|
+
# Callback is only called once.
|
|
1029
|
+
C.some_method = Object.some_method
|
|
1030
|
+
gc.collect()
|
|
1031
|
+
self.assertEqual(calls, [r])
|
|
1032
|
+
|
|
1033
|
+
def test_callback_when_method_dead(self):
|
|
1034
|
+
# Test callback behaviour when method dies first.
|
|
1035
|
+
C = self._subclass()
|
|
1036
|
+
calls = []
|
|
1037
|
+
def cb(arg):
|
|
1038
|
+
calls.append(arg)
|
|
1039
|
+
o = C(1)
|
|
1040
|
+
r = weakref.WeakMethod(o.some_method, cb)
|
|
1041
|
+
del C.some_method
|
|
1042
|
+
gc.collect()
|
|
1043
|
+
self.assertEqual(calls, [r])
|
|
1044
|
+
# Callback is only called once.
|
|
1045
|
+
del o
|
|
1046
|
+
gc.collect()
|
|
1047
|
+
self.assertEqual(calls, [r])
|
|
1048
|
+
|
|
1049
|
+
@support.cpython_only
|
|
1050
|
+
def test_no_cycles(self):
|
|
1051
|
+
# A WeakMethod doesn't create any reference cycle to itself.
|
|
1052
|
+
o = Object(1)
|
|
1053
|
+
def cb(_):
|
|
1054
|
+
pass
|
|
1055
|
+
r = weakref.WeakMethod(o.some_method, cb)
|
|
1056
|
+
wr = weakref.ref(r)
|
|
1057
|
+
del r
|
|
1058
|
+
self.assertIs(wr(), None)
|
|
1059
|
+
|
|
1060
|
+
def test_equality(self):
|
|
1061
|
+
def _eq(a, b):
|
|
1062
|
+
self.assertTrue(a == b)
|
|
1063
|
+
self.assertFalse(a != b)
|
|
1064
|
+
def _ne(a, b):
|
|
1065
|
+
self.assertTrue(a != b)
|
|
1066
|
+
self.assertFalse(a == b)
|
|
1067
|
+
x = Object(1)
|
|
1068
|
+
y = Object(1)
|
|
1069
|
+
a = weakref.WeakMethod(x.some_method)
|
|
1070
|
+
b = weakref.WeakMethod(y.some_method)
|
|
1071
|
+
c = weakref.WeakMethod(x.other_method)
|
|
1072
|
+
d = weakref.WeakMethod(y.other_method)
|
|
1073
|
+
# Objects equal, same method
|
|
1074
|
+
_eq(a, b)
|
|
1075
|
+
_eq(c, d)
|
|
1076
|
+
# Objects equal, different method
|
|
1077
|
+
_ne(a, c)
|
|
1078
|
+
_ne(a, d)
|
|
1079
|
+
_ne(b, c)
|
|
1080
|
+
_ne(b, d)
|
|
1081
|
+
# Objects unequal, same or different method
|
|
1082
|
+
z = Object(2)
|
|
1083
|
+
e = weakref.WeakMethod(z.some_method)
|
|
1084
|
+
f = weakref.WeakMethod(z.other_method)
|
|
1085
|
+
_ne(a, e)
|
|
1086
|
+
_ne(a, f)
|
|
1087
|
+
_ne(b, e)
|
|
1088
|
+
_ne(b, f)
|
|
1089
|
+
del x, y, z
|
|
1090
|
+
gc.collect()
|
|
1091
|
+
# Dead WeakMethods compare by identity
|
|
1092
|
+
refs = a, b, c, d, e, f
|
|
1093
|
+
for q in refs:
|
|
1094
|
+
for r in refs:
|
|
1095
|
+
self.assertEqual(q == r, q is r)
|
|
1096
|
+
self.assertEqual(q != r, q is not r)
|
|
1097
|
+
|
|
1098
|
+
def test_hashing(self):
|
|
1099
|
+
# Alive WeakMethods are hashable if the underlying object is
|
|
1100
|
+
# hashable.
|
|
1101
|
+
x = Object(1)
|
|
1102
|
+
y = Object(1)
|
|
1103
|
+
a = weakref.WeakMethod(x.some_method)
|
|
1104
|
+
b = weakref.WeakMethod(y.some_method)
|
|
1105
|
+
c = weakref.WeakMethod(y.other_method)
|
|
1106
|
+
# Since WeakMethod objects are equal, the hashes should be equal.
|
|
1107
|
+
self.assertEqual(hash(a), hash(b))
|
|
1108
|
+
ha = hash(a)
|
|
1109
|
+
# Dead WeakMethods retain their old hash value
|
|
1110
|
+
del x, y
|
|
1111
|
+
gc.collect()
|
|
1112
|
+
self.assertEqual(hash(a), ha)
|
|
1113
|
+
self.assertEqual(hash(b), ha)
|
|
1114
|
+
# If it wasn't hashed when alive, a dead WeakMethod cannot be hashed.
|
|
1115
|
+
self.assertRaises(TypeError, hash, c)
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
class MappingTestCase(TestBase):
|
|
1119
|
+
|
|
1120
|
+
COUNT = 10
|
|
1121
|
+
|
|
1122
|
+
def check_len_cycles(self, dict_type, cons):
|
|
1123
|
+
N = 20
|
|
1124
|
+
items = [RefCycle() for i in range(N)]
|
|
1125
|
+
dct = dict_type(cons(o) for o in items)
|
|
1126
|
+
# Keep an iterator alive
|
|
1127
|
+
it = dct.items()
|
|
1128
|
+
try:
|
|
1129
|
+
next(it)
|
|
1130
|
+
except StopIteration:
|
|
1131
|
+
pass
|
|
1132
|
+
del items
|
|
1133
|
+
gc.collect()
|
|
1134
|
+
n1 = len(dct)
|
|
1135
|
+
del it
|
|
1136
|
+
gc.collect()
|
|
1137
|
+
n2 = len(dct)
|
|
1138
|
+
# one item may be kept alive inside the iterator
|
|
1139
|
+
self.assertIn(n1, (0, 1))
|
|
1140
|
+
self.assertEqual(n2, 0)
|
|
1141
|
+
|
|
1142
|
+
def test_weak_keyed_len_cycles(self):
|
|
1143
|
+
self.check_len_cycles(weakref.WeakKeyDictionary, lambda k: (k, 1))
|
|
1144
|
+
|
|
1145
|
+
def test_weak_valued_len_cycles(self):
|
|
1146
|
+
self.check_len_cycles(weakref.WeakValueDictionary, lambda k: (1, k))
|
|
1147
|
+
|
|
1148
|
+
def check_len_race(self, dict_type, cons):
|
|
1149
|
+
# Extended sanity checks for len() in the face of cyclic collection
|
|
1150
|
+
self.addCleanup(gc.set_threshold, *gc.get_threshold())
|
|
1151
|
+
for th in range(1, 100):
|
|
1152
|
+
N = 20
|
|
1153
|
+
gc.collect(0)
|
|
1154
|
+
gc.set_threshold(th, th, th)
|
|
1155
|
+
items = [RefCycle() for i in range(N)]
|
|
1156
|
+
dct = dict_type(cons(o) for o in items)
|
|
1157
|
+
del items
|
|
1158
|
+
# All items will be collected at next garbage collection pass
|
|
1159
|
+
it = dct.items()
|
|
1160
|
+
try:
|
|
1161
|
+
next(it)
|
|
1162
|
+
except StopIteration:
|
|
1163
|
+
pass
|
|
1164
|
+
n1 = len(dct)
|
|
1165
|
+
del it
|
|
1166
|
+
n2 = len(dct)
|
|
1167
|
+
self.assertGreaterEqual(n1, 0)
|
|
1168
|
+
self.assertLessEqual(n1, N)
|
|
1169
|
+
self.assertGreaterEqual(n2, 0)
|
|
1170
|
+
self.assertLessEqual(n2, n1)
|
|
1171
|
+
|
|
1172
|
+
def test_weak_keyed_len_race(self):
|
|
1173
|
+
self.check_len_race(weakref.WeakKeyDictionary, lambda k: (k, 1))
|
|
1174
|
+
|
|
1175
|
+
def test_weak_valued_len_race(self):
|
|
1176
|
+
self.check_len_race(weakref.WeakValueDictionary, lambda k: (1, k))
|
|
1177
|
+
|
|
1178
|
+
def test_weak_values(self):
|
|
1179
|
+
#
|
|
1180
|
+
# This exercises d.copy(), d.items(), d[], del d[], len(d).
|
|
1181
|
+
#
|
|
1182
|
+
dict, objects = self.make_weak_valued_dict()
|
|
1183
|
+
for o in objects:
|
|
1184
|
+
self.assertEqual(weakref.getweakrefcount(o), 1)
|
|
1185
|
+
self.assertIs(o, dict[o.arg],
|
|
1186
|
+
"wrong object returned by weak dict!")
|
|
1187
|
+
items1 = list(dict.items())
|
|
1188
|
+
items2 = list(dict.copy().items())
|
|
1189
|
+
items1.sort()
|
|
1190
|
+
items2.sort()
|
|
1191
|
+
self.assertEqual(items1, items2,
|
|
1192
|
+
"cloning of weak-valued dictionary did not work!")
|
|
1193
|
+
del items1, items2
|
|
1194
|
+
self.assertEqual(len(dict), self.COUNT)
|
|
1195
|
+
del objects[0]
|
|
1196
|
+
self.assertEqual(len(dict), self.COUNT - 1,
|
|
1197
|
+
"deleting object did not cause dictionary update")
|
|
1198
|
+
del objects, o
|
|
1199
|
+
self.assertEqual(len(dict), 0,
|
|
1200
|
+
"deleting the values did not clear the dictionary")
|
|
1201
|
+
# regression on SF bug #447152:
|
|
1202
|
+
dict = weakref.WeakValueDictionary()
|
|
1203
|
+
self.assertRaises(KeyError, dict.__getitem__, 1)
|
|
1204
|
+
dict[2] = C()
|
|
1205
|
+
self.assertRaises(KeyError, dict.__getitem__, 2)
|
|
1206
|
+
|
|
1207
|
+
def test_weak_keys(self):
|
|
1208
|
+
#
|
|
1209
|
+
# This exercises d.copy(), d.items(), d[] = v, d[], del d[],
|
|
1210
|
+
# len(d), k in d.
|
|
1211
|
+
#
|
|
1212
|
+
dict, objects = self.make_weak_keyed_dict()
|
|
1213
|
+
for o in objects:
|
|
1214
|
+
self.assertEqual(weakref.getweakrefcount(o), 1,
|
|
1215
|
+
"wrong number of weak references to %r!" % o)
|
|
1216
|
+
self.assertIs(o.arg, dict[o],
|
|
1217
|
+
"wrong object returned by weak dict!")
|
|
1218
|
+
items1 = dict.items()
|
|
1219
|
+
items2 = dict.copy().items()
|
|
1220
|
+
self.assertEqual(set(items1), set(items2),
|
|
1221
|
+
"cloning of weak-keyed dictionary did not work!")
|
|
1222
|
+
del items1, items2
|
|
1223
|
+
self.assertEqual(len(dict), self.COUNT)
|
|
1224
|
+
del objects[0]
|
|
1225
|
+
self.assertEqual(len(dict), (self.COUNT - 1),
|
|
1226
|
+
"deleting object did not cause dictionary update")
|
|
1227
|
+
del objects, o
|
|
1228
|
+
self.assertEqual(len(dict), 0,
|
|
1229
|
+
"deleting the keys did not clear the dictionary")
|
|
1230
|
+
o = Object(42)
|
|
1231
|
+
dict[o] = "What is the meaning of the universe?"
|
|
1232
|
+
self.assertIn(o, dict)
|
|
1233
|
+
self.assertNotIn(34, dict)
|
|
1234
|
+
|
|
1235
|
+
def test_weak_keyed_iters(self):
|
|
1236
|
+
dict, objects = self.make_weak_keyed_dict()
|
|
1237
|
+
self.check_iters(dict)
|
|
1238
|
+
|
|
1239
|
+
# Test keyrefs()
|
|
1240
|
+
refs = dict.keyrefs()
|
|
1241
|
+
self.assertEqual(len(refs), len(objects))
|
|
1242
|
+
objects2 = list(objects)
|
|
1243
|
+
for wr in refs:
|
|
1244
|
+
ob = wr()
|
|
1245
|
+
self.assertIn(ob, dict)
|
|
1246
|
+
self.assertIn(ob, dict)
|
|
1247
|
+
self.assertEqual(ob.arg, dict[ob])
|
|
1248
|
+
objects2.remove(ob)
|
|
1249
|
+
self.assertEqual(len(objects2), 0)
|
|
1250
|
+
|
|
1251
|
+
# Test iterkeyrefs()
|
|
1252
|
+
objects2 = list(objects)
|
|
1253
|
+
self.assertEqual(len(list(dict.keyrefs())), len(objects))
|
|
1254
|
+
for wr in dict.keyrefs():
|
|
1255
|
+
ob = wr()
|
|
1256
|
+
self.assertIn(ob, dict)
|
|
1257
|
+
self.assertIn(ob, dict)
|
|
1258
|
+
self.assertEqual(ob.arg, dict[ob])
|
|
1259
|
+
objects2.remove(ob)
|
|
1260
|
+
self.assertEqual(len(objects2), 0)
|
|
1261
|
+
|
|
1262
|
+
def test_weak_valued_iters(self):
|
|
1263
|
+
dict, objects = self.make_weak_valued_dict()
|
|
1264
|
+
self.check_iters(dict)
|
|
1265
|
+
|
|
1266
|
+
# Test valuerefs()
|
|
1267
|
+
refs = dict.valuerefs()
|
|
1268
|
+
self.assertEqual(len(refs), len(objects))
|
|
1269
|
+
objects2 = list(objects)
|
|
1270
|
+
for wr in refs:
|
|
1271
|
+
ob = wr()
|
|
1272
|
+
self.assertEqual(ob, dict[ob.arg])
|
|
1273
|
+
self.assertEqual(ob.arg, dict[ob.arg].arg)
|
|
1274
|
+
objects2.remove(ob)
|
|
1275
|
+
self.assertEqual(len(objects2), 0)
|
|
1276
|
+
|
|
1277
|
+
# Test itervaluerefs()
|
|
1278
|
+
objects2 = list(objects)
|
|
1279
|
+
self.assertEqual(len(list(dict.itervaluerefs())), len(objects))
|
|
1280
|
+
for wr in dict.itervaluerefs():
|
|
1281
|
+
ob = wr()
|
|
1282
|
+
self.assertEqual(ob, dict[ob.arg])
|
|
1283
|
+
self.assertEqual(ob.arg, dict[ob.arg].arg)
|
|
1284
|
+
objects2.remove(ob)
|
|
1285
|
+
self.assertEqual(len(objects2), 0)
|
|
1286
|
+
|
|
1287
|
+
def check_iters(self, dict):
|
|
1288
|
+
# item iterator:
|
|
1289
|
+
items = list(dict.items())
|
|
1290
|
+
for item in dict.items():
|
|
1291
|
+
items.remove(item)
|
|
1292
|
+
self.assertFalse(items, "items() did not touch all items")
|
|
1293
|
+
|
|
1294
|
+
# key iterator, via __iter__():
|
|
1295
|
+
keys = list(dict.keys())
|
|
1296
|
+
for k in dict:
|
|
1297
|
+
keys.remove(k)
|
|
1298
|
+
self.assertFalse(keys, "__iter__() did not touch all keys")
|
|
1299
|
+
|
|
1300
|
+
# key iterator, via iterkeys():
|
|
1301
|
+
keys = list(dict.keys())
|
|
1302
|
+
for k in dict.keys():
|
|
1303
|
+
keys.remove(k)
|
|
1304
|
+
self.assertFalse(keys, "iterkeys() did not touch all keys")
|
|
1305
|
+
|
|
1306
|
+
# value iterator:
|
|
1307
|
+
values = list(dict.values())
|
|
1308
|
+
for v in dict.values():
|
|
1309
|
+
values.remove(v)
|
|
1310
|
+
self.assertFalse(values,
|
|
1311
|
+
"itervalues() did not touch all values")
|
|
1312
|
+
|
|
1313
|
+
def check_weak_destroy_while_iterating(self, dict, objects, iter_name):
|
|
1314
|
+
n = len(dict)
|
|
1315
|
+
it = iter(getattr(dict, iter_name)())
|
|
1316
|
+
next(it) # Trigger internal iteration
|
|
1317
|
+
# Destroy an object
|
|
1318
|
+
del objects[-1]
|
|
1319
|
+
gc.collect() # just in case
|
|
1320
|
+
# We have removed either the first consumed object, or another one
|
|
1321
|
+
self.assertIn(len(list(it)), [len(objects), len(objects) - 1])
|
|
1322
|
+
del it
|
|
1323
|
+
# The removal has been committed
|
|
1324
|
+
self.assertEqual(len(dict), n - 1)
|
|
1325
|
+
|
|
1326
|
+
def check_weak_destroy_and_mutate_while_iterating(self, dict, testcontext):
|
|
1327
|
+
# Check that we can explicitly mutate the weak dict without
|
|
1328
|
+
# interfering with delayed removal.
|
|
1329
|
+
# `testcontext` should create an iterator, destroy one of the
|
|
1330
|
+
# weakref'ed objects and then return a new key/value pair corresponding
|
|
1331
|
+
# to the destroyed object.
|
|
1332
|
+
with testcontext() as (k, v):
|
|
1333
|
+
self.assertNotIn(k, dict)
|
|
1334
|
+
with testcontext() as (k, v):
|
|
1335
|
+
self.assertRaises(KeyError, dict.__delitem__, k)
|
|
1336
|
+
self.assertNotIn(k, dict)
|
|
1337
|
+
with testcontext() as (k, v):
|
|
1338
|
+
self.assertRaises(KeyError, dict.pop, k)
|
|
1339
|
+
self.assertNotIn(k, dict)
|
|
1340
|
+
with testcontext() as (k, v):
|
|
1341
|
+
dict[k] = v
|
|
1342
|
+
self.assertEqual(dict[k], v)
|
|
1343
|
+
ddict = copy.copy(dict)
|
|
1344
|
+
with testcontext() as (k, v):
|
|
1345
|
+
dict.update(ddict)
|
|
1346
|
+
self.assertEqual(dict, ddict)
|
|
1347
|
+
with testcontext() as (k, v):
|
|
1348
|
+
dict.clear()
|
|
1349
|
+
self.assertEqual(len(dict), 0)
|
|
1350
|
+
|
|
1351
|
+
def check_weak_del_and_len_while_iterating(self, dict, testcontext):
|
|
1352
|
+
# Check that len() works when both iterating and removing keys
|
|
1353
|
+
# explicitly through various means (.pop(), .clear()...), while
|
|
1354
|
+
# implicit mutation is deferred because an iterator is alive.
|
|
1355
|
+
# (each call to testcontext() should schedule one item for removal
|
|
1356
|
+
# for this test to work properly)
|
|
1357
|
+
o = Object(123456)
|
|
1358
|
+
with testcontext():
|
|
1359
|
+
n = len(dict)
|
|
1360
|
+
# Since underlaying dict is ordered, first item is popped
|
|
1361
|
+
dict.pop(next(dict.keys()))
|
|
1362
|
+
self.assertEqual(len(dict), n - 1)
|
|
1363
|
+
dict[o] = o
|
|
1364
|
+
self.assertEqual(len(dict), n)
|
|
1365
|
+
# last item in objects is removed from dict in context shutdown
|
|
1366
|
+
with testcontext():
|
|
1367
|
+
self.assertEqual(len(dict), n - 1)
|
|
1368
|
+
# Then, (o, o) is popped
|
|
1369
|
+
dict.popitem()
|
|
1370
|
+
self.assertEqual(len(dict), n - 2)
|
|
1371
|
+
with testcontext():
|
|
1372
|
+
self.assertEqual(len(dict), n - 3)
|
|
1373
|
+
del dict[next(dict.keys())]
|
|
1374
|
+
self.assertEqual(len(dict), n - 4)
|
|
1375
|
+
with testcontext():
|
|
1376
|
+
self.assertEqual(len(dict), n - 5)
|
|
1377
|
+
dict.popitem()
|
|
1378
|
+
self.assertEqual(len(dict), n - 6)
|
|
1379
|
+
with testcontext():
|
|
1380
|
+
dict.clear()
|
|
1381
|
+
self.assertEqual(len(dict), 0)
|
|
1382
|
+
self.assertEqual(len(dict), 0)
|
|
1383
|
+
|
|
1384
|
+
def test_weak_keys_destroy_while_iterating(self):
|
|
1385
|
+
# Issue #7105: iterators shouldn't crash when a key is implicitly removed
|
|
1386
|
+
dict, objects = self.make_weak_keyed_dict()
|
|
1387
|
+
self.check_weak_destroy_while_iterating(dict, objects, 'keys')
|
|
1388
|
+
self.check_weak_destroy_while_iterating(dict, objects, 'items')
|
|
1389
|
+
self.check_weak_destroy_while_iterating(dict, objects, 'values')
|
|
1390
|
+
self.check_weak_destroy_while_iterating(dict, objects, 'keyrefs')
|
|
1391
|
+
dict, objects = self.make_weak_keyed_dict()
|
|
1392
|
+
@contextlib.contextmanager
|
|
1393
|
+
def testcontext():
|
|
1394
|
+
try:
|
|
1395
|
+
it = iter(dict.items())
|
|
1396
|
+
next(it)
|
|
1397
|
+
# Schedule a key/value for removal and recreate it
|
|
1398
|
+
v = objects.pop().arg
|
|
1399
|
+
gc.collect() # just in case
|
|
1400
|
+
yield Object(v), v
|
|
1401
|
+
finally:
|
|
1402
|
+
it = None # should commit all removals
|
|
1403
|
+
gc.collect()
|
|
1404
|
+
self.check_weak_destroy_and_mutate_while_iterating(dict, testcontext)
|
|
1405
|
+
# Issue #21173: len() fragile when keys are both implicitly and
|
|
1406
|
+
# explicitly removed.
|
|
1407
|
+
dict, objects = self.make_weak_keyed_dict()
|
|
1408
|
+
self.check_weak_del_and_len_while_iterating(dict, testcontext)
|
|
1409
|
+
|
|
1410
|
+
def test_weak_values_destroy_while_iterating(self):
|
|
1411
|
+
# Issue #7105: iterators shouldn't crash when a key is implicitly removed
|
|
1412
|
+
dict, objects = self.make_weak_valued_dict()
|
|
1413
|
+
self.check_weak_destroy_while_iterating(dict, objects, 'keys')
|
|
1414
|
+
self.check_weak_destroy_while_iterating(dict, objects, 'items')
|
|
1415
|
+
self.check_weak_destroy_while_iterating(dict, objects, 'values')
|
|
1416
|
+
self.check_weak_destroy_while_iterating(dict, objects, 'itervaluerefs')
|
|
1417
|
+
self.check_weak_destroy_while_iterating(dict, objects, 'valuerefs')
|
|
1418
|
+
dict, objects = self.make_weak_valued_dict()
|
|
1419
|
+
@contextlib.contextmanager
|
|
1420
|
+
def testcontext():
|
|
1421
|
+
try:
|
|
1422
|
+
it = iter(dict.items())
|
|
1423
|
+
next(it)
|
|
1424
|
+
# Schedule a key/value for removal and recreate it
|
|
1425
|
+
k = objects.pop().arg
|
|
1426
|
+
gc.collect() # just in case
|
|
1427
|
+
yield k, Object(k)
|
|
1428
|
+
finally:
|
|
1429
|
+
it = None # should commit all removals
|
|
1430
|
+
gc.collect()
|
|
1431
|
+
self.check_weak_destroy_and_mutate_while_iterating(dict, testcontext)
|
|
1432
|
+
dict, objects = self.make_weak_valued_dict()
|
|
1433
|
+
self.check_weak_del_and_len_while_iterating(dict, testcontext)
|
|
1434
|
+
|
|
1435
|
+
def test_make_weak_keyed_dict_from_dict(self):
|
|
1436
|
+
o = Object(3)
|
|
1437
|
+
dict = weakref.WeakKeyDictionary({o:364})
|
|
1438
|
+
self.assertEqual(dict[o], 364)
|
|
1439
|
+
|
|
1440
|
+
def test_make_weak_keyed_dict_from_weak_keyed_dict(self):
|
|
1441
|
+
o = Object(3)
|
|
1442
|
+
dict = weakref.WeakKeyDictionary({o:364})
|
|
1443
|
+
dict2 = weakref.WeakKeyDictionary(dict)
|
|
1444
|
+
self.assertEqual(dict[o], 364)
|
|
1445
|
+
|
|
1446
|
+
def make_weak_keyed_dict(self):
|
|
1447
|
+
dict = weakref.WeakKeyDictionary()
|
|
1448
|
+
objects = list(map(Object, range(self.COUNT)))
|
|
1449
|
+
for o in objects:
|
|
1450
|
+
dict[o] = o.arg
|
|
1451
|
+
return dict, objects
|
|
1452
|
+
|
|
1453
|
+
def test_make_weak_valued_dict_from_dict(self):
|
|
1454
|
+
o = Object(3)
|
|
1455
|
+
dict = weakref.WeakValueDictionary({364:o})
|
|
1456
|
+
self.assertEqual(dict[364], o)
|
|
1457
|
+
|
|
1458
|
+
def test_make_weak_valued_dict_from_weak_valued_dict(self):
|
|
1459
|
+
o = Object(3)
|
|
1460
|
+
dict = weakref.WeakValueDictionary({364:o})
|
|
1461
|
+
dict2 = weakref.WeakValueDictionary(dict)
|
|
1462
|
+
self.assertEqual(dict[364], o)
|
|
1463
|
+
|
|
1464
|
+
def test_make_weak_valued_dict_misc(self):
|
|
1465
|
+
# errors
|
|
1466
|
+
self.assertRaises(TypeError, weakref.WeakValueDictionary.__init__)
|
|
1467
|
+
self.assertRaises(TypeError, weakref.WeakValueDictionary, {}, {})
|
|
1468
|
+
self.assertRaises(TypeError, weakref.WeakValueDictionary, (), ())
|
|
1469
|
+
# special keyword arguments
|
|
1470
|
+
o = Object(3)
|
|
1471
|
+
for kw in 'self', 'dict', 'other', 'iterable':
|
|
1472
|
+
d = weakref.WeakValueDictionary(**{kw: o})
|
|
1473
|
+
self.assertEqual(list(d.keys()), [kw])
|
|
1474
|
+
self.assertEqual(d[kw], o)
|
|
1475
|
+
|
|
1476
|
+
def make_weak_valued_dict(self):
|
|
1477
|
+
dict = weakref.WeakValueDictionary()
|
|
1478
|
+
objects = list(map(Object, range(self.COUNT)))
|
|
1479
|
+
for o in objects:
|
|
1480
|
+
dict[o.arg] = o
|
|
1481
|
+
return dict, objects
|
|
1482
|
+
|
|
1483
|
+
def check_popitem(self, klass, key1, value1, key2, value2):
|
|
1484
|
+
weakdict = klass()
|
|
1485
|
+
weakdict[key1] = value1
|
|
1486
|
+
weakdict[key2] = value2
|
|
1487
|
+
self.assertEqual(len(weakdict), 2)
|
|
1488
|
+
k, v = weakdict.popitem()
|
|
1489
|
+
self.assertEqual(len(weakdict), 1)
|
|
1490
|
+
if k is key1:
|
|
1491
|
+
self.assertIs(v, value1)
|
|
1492
|
+
else:
|
|
1493
|
+
self.assertIs(v, value2)
|
|
1494
|
+
k, v = weakdict.popitem()
|
|
1495
|
+
self.assertEqual(len(weakdict), 0)
|
|
1496
|
+
if k is key1:
|
|
1497
|
+
self.assertIs(v, value1)
|
|
1498
|
+
else:
|
|
1499
|
+
self.assertIs(v, value2)
|
|
1500
|
+
|
|
1501
|
+
def test_weak_valued_dict_popitem(self):
|
|
1502
|
+
self.check_popitem(weakref.WeakValueDictionary,
|
|
1503
|
+
"key1", C(), "key2", C())
|
|
1504
|
+
|
|
1505
|
+
def test_weak_keyed_dict_popitem(self):
|
|
1506
|
+
self.check_popitem(weakref.WeakKeyDictionary,
|
|
1507
|
+
C(), "value 1", C(), "value 2")
|
|
1508
|
+
|
|
1509
|
+
def check_setdefault(self, klass, key, value1, value2):
|
|
1510
|
+
self.assertIsNot(value1, value2,
|
|
1511
|
+
"invalid test"
|
|
1512
|
+
" -- value parameters must be distinct objects")
|
|
1513
|
+
weakdict = klass()
|
|
1514
|
+
o = weakdict.setdefault(key, value1)
|
|
1515
|
+
self.assertIs(o, value1)
|
|
1516
|
+
self.assertIn(key, weakdict)
|
|
1517
|
+
self.assertIs(weakdict.get(key), value1)
|
|
1518
|
+
self.assertIs(weakdict[key], value1)
|
|
1519
|
+
|
|
1520
|
+
o = weakdict.setdefault(key, value2)
|
|
1521
|
+
self.assertIs(o, value1)
|
|
1522
|
+
self.assertIn(key, weakdict)
|
|
1523
|
+
self.assertIs(weakdict.get(key), value1)
|
|
1524
|
+
self.assertIs(weakdict[key], value1)
|
|
1525
|
+
|
|
1526
|
+
def test_weak_valued_dict_setdefault(self):
|
|
1527
|
+
self.check_setdefault(weakref.WeakValueDictionary,
|
|
1528
|
+
"key", C(), C())
|
|
1529
|
+
|
|
1530
|
+
def test_weak_keyed_dict_setdefault(self):
|
|
1531
|
+
self.check_setdefault(weakref.WeakKeyDictionary,
|
|
1532
|
+
C(), "value 1", "value 2")
|
|
1533
|
+
|
|
1534
|
+
def check_update(self, klass, dict):
|
|
1535
|
+
#
|
|
1536
|
+
# This exercises d.update(), len(d), d.keys(), k in d,
|
|
1537
|
+
# d.get(), d[].
|
|
1538
|
+
#
|
|
1539
|
+
weakdict = klass()
|
|
1540
|
+
weakdict.update(dict)
|
|
1541
|
+
self.assertEqual(len(weakdict), len(dict))
|
|
1542
|
+
for k in weakdict.keys():
|
|
1543
|
+
self.assertIn(k, dict, "mysterious new key appeared in weak dict")
|
|
1544
|
+
v = dict.get(k)
|
|
1545
|
+
self.assertIs(v, weakdict[k])
|
|
1546
|
+
self.assertIs(v, weakdict.get(k))
|
|
1547
|
+
for k in dict.keys():
|
|
1548
|
+
self.assertIn(k, weakdict, "original key disappeared in weak dict")
|
|
1549
|
+
v = dict[k]
|
|
1550
|
+
self.assertIs(v, weakdict[k])
|
|
1551
|
+
self.assertIs(v, weakdict.get(k))
|
|
1552
|
+
|
|
1553
|
+
def test_weak_valued_dict_update(self):
|
|
1554
|
+
self.check_update(weakref.WeakValueDictionary,
|
|
1555
|
+
{1: C(), 'a': C(), C(): C()})
|
|
1556
|
+
# errors
|
|
1557
|
+
self.assertRaises(TypeError, weakref.WeakValueDictionary.update)
|
|
1558
|
+
d = weakref.WeakValueDictionary()
|
|
1559
|
+
self.assertRaises(TypeError, d.update, {}, {})
|
|
1560
|
+
self.assertRaises(TypeError, d.update, (), ())
|
|
1561
|
+
self.assertEqual(list(d.keys()), [])
|
|
1562
|
+
# special keyword arguments
|
|
1563
|
+
o = Object(3)
|
|
1564
|
+
for kw in 'self', 'dict', 'other', 'iterable':
|
|
1565
|
+
d = weakref.WeakValueDictionary()
|
|
1566
|
+
d.update(**{kw: o})
|
|
1567
|
+
self.assertEqual(list(d.keys()), [kw])
|
|
1568
|
+
self.assertEqual(d[kw], o)
|
|
1569
|
+
|
|
1570
|
+
def test_weak_keyed_dict_update(self):
|
|
1571
|
+
self.check_update(weakref.WeakKeyDictionary,
|
|
1572
|
+
{C(): 1, C(): 2, C(): 3})
|
|
1573
|
+
|
|
1574
|
+
def test_weak_keyed_delitem(self):
|
|
1575
|
+
d = weakref.WeakKeyDictionary()
|
|
1576
|
+
o1 = Object('1')
|
|
1577
|
+
o2 = Object('2')
|
|
1578
|
+
d[o1] = 'something'
|
|
1579
|
+
d[o2] = 'something'
|
|
1580
|
+
self.assertEqual(len(d), 2)
|
|
1581
|
+
del d[o1]
|
|
1582
|
+
self.assertEqual(len(d), 1)
|
|
1583
|
+
self.assertEqual(list(d.keys()), [o2])
|
|
1584
|
+
|
|
1585
|
+
def test_weak_valued_delitem(self):
|
|
1586
|
+
d = weakref.WeakValueDictionary()
|
|
1587
|
+
o1 = Object('1')
|
|
1588
|
+
o2 = Object('2')
|
|
1589
|
+
d['something'] = o1
|
|
1590
|
+
d['something else'] = o2
|
|
1591
|
+
self.assertEqual(len(d), 2)
|
|
1592
|
+
del d['something']
|
|
1593
|
+
self.assertEqual(len(d), 1)
|
|
1594
|
+
self.assertEqual(list(d.items()), [('something else', o2)])
|
|
1595
|
+
|
|
1596
|
+
def test_weak_keyed_bad_delitem(self):
|
|
1597
|
+
d = weakref.WeakKeyDictionary()
|
|
1598
|
+
o = Object('1')
|
|
1599
|
+
# An attempt to delete an object that isn't there should raise
|
|
1600
|
+
# KeyError. It didn't before 2.3.
|
|
1601
|
+
self.assertRaises(KeyError, d.__delitem__, o)
|
|
1602
|
+
self.assertRaises(KeyError, d.__getitem__, o)
|
|
1603
|
+
|
|
1604
|
+
# If a key isn't of a weakly referencable type, __getitem__ and
|
|
1605
|
+
# __setitem__ raise TypeError. __delitem__ should too.
|
|
1606
|
+
self.assertRaises(TypeError, d.__delitem__, 13)
|
|
1607
|
+
self.assertRaises(TypeError, d.__getitem__, 13)
|
|
1608
|
+
self.assertRaises(TypeError, d.__setitem__, 13, 13)
|
|
1609
|
+
|
|
1610
|
+
def test_weak_keyed_cascading_deletes(self):
|
|
1611
|
+
# SF bug 742860. For some reason, before 2.3 __delitem__ iterated
|
|
1612
|
+
# over the keys via self.data.iterkeys(). If things vanished from
|
|
1613
|
+
# the dict during this (or got added), that caused a RuntimeError.
|
|
1614
|
+
|
|
1615
|
+
d = weakref.WeakKeyDictionary()
|
|
1616
|
+
mutate = False
|
|
1617
|
+
|
|
1618
|
+
class C(object):
|
|
1619
|
+
def __init__(self, i):
|
|
1620
|
+
self.value = i
|
|
1621
|
+
def __hash__(self):
|
|
1622
|
+
return hash(self.value)
|
|
1623
|
+
def __eq__(self, other):
|
|
1624
|
+
if mutate:
|
|
1625
|
+
# Side effect that mutates the dict, by removing the
|
|
1626
|
+
# last strong reference to a key.
|
|
1627
|
+
del objs[-1]
|
|
1628
|
+
return self.value == other.value
|
|
1629
|
+
|
|
1630
|
+
objs = [C(i) for i in range(4)]
|
|
1631
|
+
for o in objs:
|
|
1632
|
+
d[o] = o.value
|
|
1633
|
+
del o # now the only strong references to keys are in objs
|
|
1634
|
+
# Find the order in which iterkeys sees the keys.
|
|
1635
|
+
objs = list(d.keys())
|
|
1636
|
+
# Reverse it, so that the iteration implementation of __delitem__
|
|
1637
|
+
# has to keep looping to find the first object we delete.
|
|
1638
|
+
objs.reverse()
|
|
1639
|
+
|
|
1640
|
+
# Turn on mutation in C.__eq__. The first time thru the loop,
|
|
1641
|
+
# under the iterkeys() business the first comparison will delete
|
|
1642
|
+
# the last item iterkeys() would see, and that causes a
|
|
1643
|
+
# RuntimeError: dictionary changed size during iteration
|
|
1644
|
+
# when the iterkeys() loop goes around to try comparing the next
|
|
1645
|
+
# key. After this was fixed, it just deletes the last object *our*
|
|
1646
|
+
# "for o in obj" loop would have gotten to.
|
|
1647
|
+
mutate = True
|
|
1648
|
+
count = 0
|
|
1649
|
+
for o in objs:
|
|
1650
|
+
count += 1
|
|
1651
|
+
del d[o]
|
|
1652
|
+
self.assertEqual(len(d), 0)
|
|
1653
|
+
self.assertEqual(count, 2)
|
|
1654
|
+
|
|
1655
|
+
def test_make_weak_valued_dict_repr(self):
|
|
1656
|
+
dict = weakref.WeakValueDictionary()
|
|
1657
|
+
self.assertRegex(repr(dict), '<WeakValueDictionary at 0x.*>')
|
|
1658
|
+
|
|
1659
|
+
def test_make_weak_keyed_dict_repr(self):
|
|
1660
|
+
dict = weakref.WeakKeyDictionary()
|
|
1661
|
+
self.assertRegex(repr(dict), '<WeakKeyDictionary at 0x.*>')
|
|
1662
|
+
|
|
1663
|
+
def test_threaded_weak_valued_setdefault(self):
|
|
1664
|
+
d = weakref.WeakValueDictionary()
|
|
1665
|
+
with collect_in_thread():
|
|
1666
|
+
for i in range(100000):
|
|
1667
|
+
x = d.setdefault(10, RefCycle())
|
|
1668
|
+
self.assertIsNot(x, None) # we never put None in there!
|
|
1669
|
+
del x
|
|
1670
|
+
|
|
1671
|
+
def test_threaded_weak_valued_pop(self):
|
|
1672
|
+
d = weakref.WeakValueDictionary()
|
|
1673
|
+
with collect_in_thread():
|
|
1674
|
+
for i in range(100000):
|
|
1675
|
+
d[10] = RefCycle()
|
|
1676
|
+
x = d.pop(10, 10)
|
|
1677
|
+
self.assertIsNot(x, None) # we never put None in there!
|
|
1678
|
+
|
|
1679
|
+
def test_threaded_weak_valued_consistency(self):
|
|
1680
|
+
# Issue #28427: old keys should not remove new values from
|
|
1681
|
+
# WeakValueDictionary when collecting from another thread.
|
|
1682
|
+
d = weakref.WeakValueDictionary()
|
|
1683
|
+
with collect_in_thread():
|
|
1684
|
+
for i in range(200000):
|
|
1685
|
+
o = RefCycle()
|
|
1686
|
+
d[10] = o
|
|
1687
|
+
# o is still alive, so the dict can't be empty
|
|
1688
|
+
self.assertEqual(len(d), 1)
|
|
1689
|
+
o = None # lose ref
|
|
1690
|
+
|
|
1691
|
+
|
|
1692
|
+
from test import mapping_tests
|
|
1693
|
+
|
|
1694
|
+
class WeakValueDictionaryTestCase(mapping_tests.BasicTestMappingProtocol):
|
|
1695
|
+
"""Check that WeakValueDictionary conforms to the mapping protocol"""
|
|
1696
|
+
__ref = {"key1":Object(1), "key2":Object(2), "key3":Object(3)}
|
|
1697
|
+
type2test = weakref.WeakValueDictionary
|
|
1698
|
+
def _reference(self):
|
|
1699
|
+
return self.__ref.copy()
|
|
1700
|
+
|
|
1701
|
+
class WeakKeyDictionaryTestCase(mapping_tests.BasicTestMappingProtocol):
|
|
1702
|
+
"""Check that WeakKeyDictionary conforms to the mapping protocol"""
|
|
1703
|
+
__ref = {Object("key1"):1, Object("key2"):2, Object("key3"):3}
|
|
1704
|
+
type2test = weakref.WeakKeyDictionary
|
|
1705
|
+
def _reference(self):
|
|
1706
|
+
return self.__ref.copy()
|
|
1707
|
+
|
|
1708
|
+
|
|
1709
|
+
class FinalizeTestCase(unittest.TestCase):
|
|
1710
|
+
|
|
1711
|
+
class A:
|
|
1712
|
+
pass
|
|
1713
|
+
|
|
1714
|
+
def _collect_if_necessary(self):
|
|
1715
|
+
# we create no ref-cycles so in CPython no gc should be needed
|
|
1716
|
+
if sys.implementation.name != 'cpython':
|
|
1717
|
+
support.gc_collect()
|
|
1718
|
+
|
|
1719
|
+
def test_finalize(self):
|
|
1720
|
+
def add(x,y,z):
|
|
1721
|
+
res.append(x + y + z)
|
|
1722
|
+
return x + y + z
|
|
1723
|
+
|
|
1724
|
+
a = self.A()
|
|
1725
|
+
|
|
1726
|
+
res = []
|
|
1727
|
+
f = weakref.finalize(a, add, 67, 43, z=89)
|
|
1728
|
+
self.assertEqual(f.alive, True)
|
|
1729
|
+
self.assertEqual(f.peek(), (a, add, (67,43), {'z':89}))
|
|
1730
|
+
self.assertEqual(f(), 199)
|
|
1731
|
+
self.assertEqual(f(), None)
|
|
1732
|
+
self.assertEqual(f(), None)
|
|
1733
|
+
self.assertEqual(f.peek(), None)
|
|
1734
|
+
self.assertEqual(f.detach(), None)
|
|
1735
|
+
self.assertEqual(f.alive, False)
|
|
1736
|
+
self.assertEqual(res, [199])
|
|
1737
|
+
|
|
1738
|
+
res = []
|
|
1739
|
+
f = weakref.finalize(a, add, 67, 43, 89)
|
|
1740
|
+
self.assertEqual(f.peek(), (a, add, (67,43,89), {}))
|
|
1741
|
+
self.assertEqual(f.detach(), (a, add, (67,43,89), {}))
|
|
1742
|
+
self.assertEqual(f(), None)
|
|
1743
|
+
self.assertEqual(f(), None)
|
|
1744
|
+
self.assertEqual(f.peek(), None)
|
|
1745
|
+
self.assertEqual(f.detach(), None)
|
|
1746
|
+
self.assertEqual(f.alive, False)
|
|
1747
|
+
self.assertEqual(res, [])
|
|
1748
|
+
|
|
1749
|
+
res = []
|
|
1750
|
+
f = weakref.finalize(a, add, x=67, y=43, z=89)
|
|
1751
|
+
del a
|
|
1752
|
+
self._collect_if_necessary()
|
|
1753
|
+
self.assertEqual(f(), None)
|
|
1754
|
+
self.assertEqual(f(), None)
|
|
1755
|
+
self.assertEqual(f.peek(), None)
|
|
1756
|
+
self.assertEqual(f.detach(), None)
|
|
1757
|
+
self.assertEqual(f.alive, False)
|
|
1758
|
+
self.assertEqual(res, [199])
|
|
1759
|
+
|
|
1760
|
+
def test_order(self):
|
|
1761
|
+
a = self.A()
|
|
1762
|
+
res = []
|
|
1763
|
+
|
|
1764
|
+
f1 = weakref.finalize(a, res.append, 'f1')
|
|
1765
|
+
f2 = weakref.finalize(a, res.append, 'f2')
|
|
1766
|
+
f3 = weakref.finalize(a, res.append, 'f3')
|
|
1767
|
+
f4 = weakref.finalize(a, res.append, 'f4')
|
|
1768
|
+
f5 = weakref.finalize(a, res.append, 'f5')
|
|
1769
|
+
|
|
1770
|
+
# make sure finalizers can keep themselves alive
|
|
1771
|
+
del f1, f4
|
|
1772
|
+
|
|
1773
|
+
self.assertTrue(f2.alive)
|
|
1774
|
+
self.assertTrue(f3.alive)
|
|
1775
|
+
self.assertTrue(f5.alive)
|
|
1776
|
+
|
|
1777
|
+
self.assertTrue(f5.detach())
|
|
1778
|
+
self.assertFalse(f5.alive)
|
|
1779
|
+
|
|
1780
|
+
f5() # nothing because previously unregistered
|
|
1781
|
+
res.append('A')
|
|
1782
|
+
f3() # => res.append('f3')
|
|
1783
|
+
self.assertFalse(f3.alive)
|
|
1784
|
+
res.append('B')
|
|
1785
|
+
f3() # nothing because previously called
|
|
1786
|
+
res.append('C')
|
|
1787
|
+
del a
|
|
1788
|
+
self._collect_if_necessary()
|
|
1789
|
+
# => res.append('f4')
|
|
1790
|
+
# => res.append('f2')
|
|
1791
|
+
# => res.append('f1')
|
|
1792
|
+
self.assertFalse(f2.alive)
|
|
1793
|
+
res.append('D')
|
|
1794
|
+
f2() # nothing because previously called by gc
|
|
1795
|
+
|
|
1796
|
+
expected = ['A', 'f3', 'B', 'C', 'f4', 'f2', 'f1', 'D']
|
|
1797
|
+
self.assertEqual(res, expected)
|
|
1798
|
+
|
|
1799
|
+
def test_all_freed(self):
|
|
1800
|
+
# we want a weakrefable subclass of weakref.finalize
|
|
1801
|
+
class MyFinalizer(weakref.finalize):
|
|
1802
|
+
pass
|
|
1803
|
+
|
|
1804
|
+
a = self.A()
|
|
1805
|
+
res = []
|
|
1806
|
+
def callback():
|
|
1807
|
+
res.append(123)
|
|
1808
|
+
f = MyFinalizer(a, callback)
|
|
1809
|
+
|
|
1810
|
+
wr_callback = weakref.ref(callback)
|
|
1811
|
+
wr_f = weakref.ref(f)
|
|
1812
|
+
del callback, f
|
|
1813
|
+
|
|
1814
|
+
self.assertIsNotNone(wr_callback())
|
|
1815
|
+
self.assertIsNotNone(wr_f())
|
|
1816
|
+
|
|
1817
|
+
del a
|
|
1818
|
+
self._collect_if_necessary()
|
|
1819
|
+
|
|
1820
|
+
self.assertIsNone(wr_callback())
|
|
1821
|
+
self.assertIsNone(wr_f())
|
|
1822
|
+
self.assertEqual(res, [123])
|
|
1823
|
+
|
|
1824
|
+
@classmethod
|
|
1825
|
+
def run_in_child(cls):
|
|
1826
|
+
def error():
|
|
1827
|
+
# Create an atexit finalizer from inside a finalizer called
|
|
1828
|
+
# at exit. This should be the next to be run.
|
|
1829
|
+
g1 = weakref.finalize(cls, print, 'g1')
|
|
1830
|
+
print('f3 error')
|
|
1831
|
+
1/0
|
|
1832
|
+
|
|
1833
|
+
# cls should stay alive till atexit callbacks run
|
|
1834
|
+
f1 = weakref.finalize(cls, print, 'f1', _global_var)
|
|
1835
|
+
f2 = weakref.finalize(cls, print, 'f2', _global_var)
|
|
1836
|
+
f3 = weakref.finalize(cls, error)
|
|
1837
|
+
f4 = weakref.finalize(cls, print, 'f4', _global_var)
|
|
1838
|
+
|
|
1839
|
+
assert f1.atexit == True
|
|
1840
|
+
f2.atexit = False
|
|
1841
|
+
assert f3.atexit == True
|
|
1842
|
+
assert f4.atexit == True
|
|
1843
|
+
|
|
1844
|
+
def test_atexit(self):
|
|
1845
|
+
prog = ('from test.test_weakref import FinalizeTestCase;'+
|
|
1846
|
+
'FinalizeTestCase.run_in_child()')
|
|
1847
|
+
rc, out, err = script_helper.assert_python_ok('-c', prog)
|
|
1848
|
+
out = out.decode('ascii').splitlines()
|
|
1849
|
+
self.assertEqual(out, ['f4 foobar', 'f3 error', 'g1', 'f1 foobar'])
|
|
1850
|
+
self.assertTrue(b'ZeroDivisionError' in err)
|
|
1851
|
+
|
|
1852
|
+
|
|
1853
|
+
libreftest = """ Doctest for examples in the library reference: weakref.rst
|
|
1854
|
+
|
|
1855
|
+
>>> import weakref
|
|
1856
|
+
>>> class Dict(dict):
|
|
1857
|
+
... pass
|
|
1858
|
+
...
|
|
1859
|
+
>>> obj = Dict(red=1, green=2, blue=3) # this object is weak referencable
|
|
1860
|
+
>>> r = weakref.ref(obj)
|
|
1861
|
+
>>> print(r() is obj)
|
|
1862
|
+
True
|
|
1863
|
+
|
|
1864
|
+
>>> import weakref
|
|
1865
|
+
>>> class Object:
|
|
1866
|
+
... pass
|
|
1867
|
+
...
|
|
1868
|
+
>>> o = Object()
|
|
1869
|
+
>>> r = weakref.ref(o)
|
|
1870
|
+
>>> o2 = r()
|
|
1871
|
+
>>> o is o2
|
|
1872
|
+
True
|
|
1873
|
+
>>> del o, o2
|
|
1874
|
+
>>> print(r())
|
|
1875
|
+
None
|
|
1876
|
+
|
|
1877
|
+
>>> import weakref
|
|
1878
|
+
>>> class ExtendedRef(weakref.ref):
|
|
1879
|
+
... def __init__(self, ob, callback=None, **annotations):
|
|
1880
|
+
... super().__init__(ob, callback)
|
|
1881
|
+
... self.__counter = 0
|
|
1882
|
+
... for k, v in annotations.items():
|
|
1883
|
+
... setattr(self, k, v)
|
|
1884
|
+
... def __call__(self):
|
|
1885
|
+
... '''Return a pair containing the referent and the number of
|
|
1886
|
+
... times the reference has been called.
|
|
1887
|
+
... '''
|
|
1888
|
+
... ob = super().__call__()
|
|
1889
|
+
... if ob is not None:
|
|
1890
|
+
... self.__counter += 1
|
|
1891
|
+
... ob = (ob, self.__counter)
|
|
1892
|
+
... return ob
|
|
1893
|
+
...
|
|
1894
|
+
>>> class A: # not in docs from here, just testing the ExtendedRef
|
|
1895
|
+
... pass
|
|
1896
|
+
...
|
|
1897
|
+
>>> a = A()
|
|
1898
|
+
>>> r = ExtendedRef(a, foo=1, bar="baz")
|
|
1899
|
+
>>> r.foo
|
|
1900
|
+
1
|
|
1901
|
+
>>> r.bar
|
|
1902
|
+
'baz'
|
|
1903
|
+
>>> r()[1]
|
|
1904
|
+
1
|
|
1905
|
+
>>> r()[1]
|
|
1906
|
+
2
|
|
1907
|
+
>>> r()[0] is a
|
|
1908
|
+
True
|
|
1909
|
+
|
|
1910
|
+
|
|
1911
|
+
>>> import weakref
|
|
1912
|
+
>>> _id2obj_dict = weakref.WeakValueDictionary()
|
|
1913
|
+
>>> def remember(obj):
|
|
1914
|
+
... oid = id(obj)
|
|
1915
|
+
... _id2obj_dict[oid] = obj
|
|
1916
|
+
... return oid
|
|
1917
|
+
...
|
|
1918
|
+
>>> def id2obj(oid):
|
|
1919
|
+
... return _id2obj_dict[oid]
|
|
1920
|
+
...
|
|
1921
|
+
>>> a = A() # from here, just testing
|
|
1922
|
+
>>> a_id = remember(a)
|
|
1923
|
+
>>> id2obj(a_id) is a
|
|
1924
|
+
True
|
|
1925
|
+
>>> del a
|
|
1926
|
+
>>> try:
|
|
1927
|
+
... id2obj(a_id)
|
|
1928
|
+
... except KeyError:
|
|
1929
|
+
... print('OK')
|
|
1930
|
+
... else:
|
|
1931
|
+
... print('WeakValueDictionary error')
|
|
1932
|
+
OK
|
|
1933
|
+
|
|
1934
|
+
"""
|
|
1935
|
+
|
|
1936
|
+
__test__ = {'libreftest' : libreftest}
|
|
1937
|
+
|
|
1938
|
+
def test_main():
|
|
1939
|
+
support.run_unittest(
|
|
1940
|
+
ReferencesTestCase,
|
|
1941
|
+
WeakMethodTestCase,
|
|
1942
|
+
MappingTestCase,
|
|
1943
|
+
WeakValueDictionaryTestCase,
|
|
1944
|
+
WeakKeyDictionaryTestCase,
|
|
1945
|
+
SubclassableWeakrefTestCase,
|
|
1946
|
+
FinalizeTestCase,
|
|
1947
|
+
)
|
|
1948
|
+
support.run_doctest(sys.modules[__name__])
|
|
1949
|
+
|
|
1950
|
+
|
|
1951
|
+
if __name__ == "__main__":
|
|
1952
|
+
test_main()
|