com.googler.python 1.1.2 → 1.1.4
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 +3 -9
- package/python3.6.2/bin/2to3 +1 -1
- package/python3.6.2/bin/2to3-3.4 +1 -1
- package/python3.6.2/bin/easy_install-3.4 +1 -1
- package/python3.6.2/bin/idle3 +1 -1
- package/python3.6.2/bin/pip3 +1 -1
- package/python3.6.2/bin/pydoc3 +1 -1
- package/python3.6.2/bin/pyvenv +1 -1
- package/python3.6.2/lib/python3.6/LICENSE.txt +254 -0
- 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 +1808 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/Setup +397 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/Setup.config +10 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/Setup.local +1 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/config.c +114 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/config.c.in +67 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/install-sh +294 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/makesetup +296 -0
- 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
- package/python3.6.2/bin/idle3.4 +0 -5
- package/python3.6.2/bin/pip3.4 +0 -11
- package/python3.6.2/bin/pydoc3.4 +0 -5
- package/python3.6.2/bin/pyvenv-3.4 +0 -11
- package/python3.6.2/lib/python3.6/__future__.py +0 -140
- package/python3.6.2/lib/python3.6/__phello__.foo.py +0 -1
- package/python3.6.2/lib/python3.6/_bootlocale.py +0 -34
- package/python3.6.2/lib/python3.6/_collections_abc.py +0 -1008
- package/python3.6.2/lib/python3.6/_compat_pickle.py +0 -251
- package/python3.6.2/lib/python3.6/_compression.py +0 -152
- package/python3.6.2/lib/python3.6/_dummy_thread.py +0 -163
- package/python3.6.2/lib/python3.6/_markupbase.py +0 -395
- package/python3.6.2/lib/python3.6/_osx_support.py +0 -502
- package/python3.6.2/lib/python3.6/_pydecimal.py +0 -6449
- package/python3.6.2/lib/python3.6/_pyio.py +0 -2531
- package/python3.6.2/lib/python3.6/_sitebuiltins.py +0 -103
- package/python3.6.2/lib/python3.6/_strptime.py +0 -576
- package/python3.6.2/lib/python3.6/_threading_local.py +0 -246
- package/python3.6.2/lib/python3.6/_weakrefset.py +0 -196
- package/python3.6.2/lib/python3.6/abc.py +0 -248
- package/python3.6.2/lib/python3.6/aifc.py +0 -943
- package/python3.6.2/lib/python3.6/antigravity.py +0 -17
- package/python3.6.2/lib/python3.6/argparse.py +0 -2389
- package/python3.6.2/lib/python3.6/ast.py +0 -322
- package/python3.6.2/lib/python3.6/asynchat.py +0 -307
- package/python3.6.2/lib/python3.6/asyncio/__init__.py +0 -50
- package/python3.6.2/lib/python3.6/asyncio/base_events.py +0 -1474
- package/python3.6.2/lib/python3.6/asyncio/base_futures.py +0 -71
- package/python3.6.2/lib/python3.6/asyncio/base_subprocess.py +0 -293
- package/python3.6.2/lib/python3.6/asyncio/base_tasks.py +0 -76
- package/python3.6.2/lib/python3.6/asyncio/compat.py +0 -18
- package/python3.6.2/lib/python3.6/asyncio/constants.py +0 -12
- package/python3.6.2/lib/python3.6/asyncio/coroutines.py +0 -346
- package/python3.6.2/lib/python3.6/asyncio/events.py +0 -715
- package/python3.6.2/lib/python3.6/asyncio/futures.py +0 -439
- package/python3.6.2/lib/python3.6/asyncio/locks.py +0 -485
- package/python3.6.2/lib/python3.6/asyncio/log.py +0 -7
- package/python3.6.2/lib/python3.6/asyncio/proactor_events.py +0 -551
- package/python3.6.2/lib/python3.6/asyncio/protocols.py +0 -134
- package/python3.6.2/lib/python3.6/asyncio/queues.py +0 -259
- package/python3.6.2/lib/python3.6/asyncio/selector_events.py +0 -1141
- package/python3.6.2/lib/python3.6/asyncio/sslproto.py +0 -697
- package/python3.6.2/lib/python3.6/asyncio/streams.py +0 -701
- package/python3.6.2/lib/python3.6/asyncio/subprocess.py +0 -226
- package/python3.6.2/lib/python3.6/asyncio/tasks.py +0 -717
- package/python3.6.2/lib/python3.6/asyncio/test_utils.py +0 -519
- package/python3.6.2/lib/python3.6/asyncio/transports.py +0 -306
- package/python3.6.2/lib/python3.6/asyncio/unix_events.py +0 -1074
- package/python3.6.2/lib/python3.6/asyncio/windows_events.py +0 -779
- package/python3.6.2/lib/python3.6/asyncio/windows_utils.py +0 -224
- package/python3.6.2/lib/python3.6/asyncore.py +0 -645
- package/python3.6.2/lib/python3.6/base64.py +0 -602
- package/python3.6.2/lib/python3.6/bdb.py +0 -673
- package/python3.6.2/lib/python3.6/binhex.py +0 -479
- package/python3.6.2/lib/python3.6/bisect.py +0 -92
- package/python3.6.2/lib/python3.6/bz2.py +0 -361
- package/python3.6.2/lib/python3.6/cProfile.py +0 -160
- package/python3.6.2/lib/python3.6/calendar.py +0 -713
- package/python3.6.2/lib/python3.6/cgi.py +0 -1077
- package/python3.6.2/lib/python3.6/cgitb.py +0 -319
- package/python3.6.2/lib/python3.6/chunk.py +0 -169
- package/python3.6.2/lib/python3.6/cmd.py +0 -401
- package/python3.6.2/lib/python3.6/code.py +0 -314
- package/python3.6.2/lib/python3.6/codecs.py +0 -1113
- package/python3.6.2/lib/python3.6/codeop.py +0 -168
- package/python3.6.2/lib/python3.6/collections/__init__.py +0 -1244
- package/python3.6.2/lib/python3.6/collections/abc.py +0 -2
- package/python3.6.2/lib/python3.6/colorsys.py +0 -164
- package/python3.6.2/lib/python3.6/compileall.py +0 -295
- package/python3.6.2/lib/python3.6/concurrent/__init__.py +0 -1
- package/python3.6.2/lib/python3.6/concurrent/futures/__init__.py +0 -18
- package/python3.6.2/lib/python3.6/concurrent/futures/_base.py +0 -612
- package/python3.6.2/lib/python3.6/concurrent/futures/process.py +0 -515
- package/python3.6.2/lib/python3.6/concurrent/futures/thread.py +0 -153
- package/python3.6.2/lib/python3.6/configparser.py +0 -1342
- package/python3.6.2/lib/python3.6/contextlib.py +0 -384
- package/python3.6.2/lib/python3.6/copy.py +0 -313
- package/python3.6.2/lib/python3.6/copyreg.py +0 -206
- package/python3.6.2/lib/python3.6/crypt.py +0 -61
- package/python3.6.2/lib/python3.6/csv.py +0 -449
- package/python3.6.2/lib/python3.6/ctypes/__init__.py +0 -538
- package/python3.6.2/lib/python3.6/ctypes/_endian.py +0 -61
- package/python3.6.2/lib/python3.6/ctypes/macholib/__init__.py +0 -9
- package/python3.6.2/lib/python3.6/ctypes/macholib/dyld.py +0 -159
- package/python3.6.2/lib/python3.6/ctypes/macholib/dylib.py +0 -63
- package/python3.6.2/lib/python3.6/ctypes/macholib/framework.py +0 -65
- package/python3.6.2/lib/python3.6/ctypes/test/__init__.py +0 -14
- package/python3.6.2/lib/python3.6/ctypes/test/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/ctypes/test/test_anon.py +0 -73
- package/python3.6.2/lib/python3.6/ctypes/test/test_array_in_pointer.py +0 -64
- package/python3.6.2/lib/python3.6/ctypes/test/test_arrays.py +0 -185
- package/python3.6.2/lib/python3.6/ctypes/test/test_as_parameter.py +0 -226
- package/python3.6.2/lib/python3.6/ctypes/test/test_bitfields.py +0 -290
- package/python3.6.2/lib/python3.6/ctypes/test/test_buffers.py +0 -64
- package/python3.6.2/lib/python3.6/ctypes/test/test_bytes.py +0 -65
- package/python3.6.2/lib/python3.6/ctypes/test/test_byteswap.py +0 -315
- package/python3.6.2/lib/python3.6/ctypes/test/test_callbacks.py +0 -293
- package/python3.6.2/lib/python3.6/ctypes/test/test_cast.py +0 -86
- package/python3.6.2/lib/python3.6/ctypes/test/test_cfuncs.py +0 -212
- package/python3.6.2/lib/python3.6/ctypes/test/test_checkretval.py +0 -36
- package/python3.6.2/lib/python3.6/ctypes/test/test_delattr.py +0 -21
- package/python3.6.2/lib/python3.6/ctypes/test/test_errno.py +0 -79
- package/python3.6.2/lib/python3.6/ctypes/test/test_find.py +0 -116
- package/python3.6.2/lib/python3.6/ctypes/test/test_frombuffer.py +0 -141
- package/python3.6.2/lib/python3.6/ctypes/test/test_funcptr.py +0 -132
- package/python3.6.2/lib/python3.6/ctypes/test/test_functions.py +0 -402
- package/python3.6.2/lib/python3.6/ctypes/test/test_incomplete.py +0 -42
- package/python3.6.2/lib/python3.6/ctypes/test/test_init.py +0 -40
- package/python3.6.2/lib/python3.6/ctypes/test/test_internals.py +0 -100
- package/python3.6.2/lib/python3.6/ctypes/test/test_keeprefs.py +0 -153
- package/python3.6.2/lib/python3.6/ctypes/test/test_libc.py +0 -33
- package/python3.6.2/lib/python3.6/ctypes/test/test_loading.py +0 -116
- package/python3.6.2/lib/python3.6/ctypes/test/test_macholib.py +0 -63
- package/python3.6.2/lib/python3.6/ctypes/test/test_memfunctions.py +0 -79
- package/python3.6.2/lib/python3.6/ctypes/test/test_numbers.py +0 -290
- package/python3.6.2/lib/python3.6/ctypes/test/test_objects.py +0 -67
- package/python3.6.2/lib/python3.6/ctypes/test/test_parameters.py +0 -207
- package/python3.6.2/lib/python3.6/ctypes/test/test_pep3118.py +0 -233
- package/python3.6.2/lib/python3.6/ctypes/test/test_pickling.py +0 -81
- package/python3.6.2/lib/python3.6/ctypes/test/test_pointers.py +0 -223
- package/python3.6.2/lib/python3.6/ctypes/test/test_prototypes.py +0 -222
- package/python3.6.2/lib/python3.6/ctypes/test/test_python_api.py +0 -89
- package/python3.6.2/lib/python3.6/ctypes/test/test_random_things.py +0 -74
- package/python3.6.2/lib/python3.6/ctypes/test/test_refcounts.py +0 -101
- package/python3.6.2/lib/python3.6/ctypes/test/test_repr.py +0 -29
- package/python3.6.2/lib/python3.6/ctypes/test/test_returnfuncptrs.py +0 -66
- package/python3.6.2/lib/python3.6/ctypes/test/test_simplesubclasses.py +0 -55
- package/python3.6.2/lib/python3.6/ctypes/test/test_sizes.py +0 -33
- package/python3.6.2/lib/python3.6/ctypes/test/test_slicing.py +0 -167
- package/python3.6.2/lib/python3.6/ctypes/test/test_stringptr.py +0 -77
- package/python3.6.2/lib/python3.6/ctypes/test/test_strings.py +0 -225
- package/python3.6.2/lib/python3.6/ctypes/test/test_struct_fields.py +0 -74
- package/python3.6.2/lib/python3.6/ctypes/test/test_structures.py +0 -491
- package/python3.6.2/lib/python3.6/ctypes/test/test_unaligned_structures.py +0 -45
- package/python3.6.2/lib/python3.6/ctypes/test/test_unicode.py +0 -56
- package/python3.6.2/lib/python3.6/ctypes/test/test_values.py +0 -100
- package/python3.6.2/lib/python3.6/ctypes/test/test_varsize_struct.py +0 -50
- package/python3.6.2/lib/python3.6/ctypes/test/test_win32.py +0 -147
- package/python3.6.2/lib/python3.6/ctypes/test/test_wintypes.py +0 -41
- package/python3.6.2/lib/python3.6/ctypes/util.py +0 -337
- package/python3.6.2/lib/python3.6/ctypes/wintypes.py +0 -202
- package/python3.6.2/lib/python3.6/curses/__init__.py +0 -101
- package/python3.6.2/lib/python3.6/curses/ascii.py +0 -99
- package/python3.6.2/lib/python3.6/curses/has_key.py +0 -192
- package/python3.6.2/lib/python3.6/curses/panel.py +0 -6
- package/python3.6.2/lib/python3.6/curses/textpad.py +0 -201
- package/python3.6.2/lib/python3.6/datetime.py +0 -2280
- package/python3.6.2/lib/python3.6/dbm/__init__.py +0 -188
- package/python3.6.2/lib/python3.6/dbm/dumb.py +0 -324
- package/python3.6.2/lib/python3.6/dbm/gnu.py +0 -3
- package/python3.6.2/lib/python3.6/dbm/ndbm.py +0 -3
- package/python3.6.2/lib/python3.6/decimal.py +0 -11
- package/python3.6.2/lib/python3.6/difflib.py +0 -2093
- package/python3.6.2/lib/python3.6/dis.py +0 -490
- package/python3.6.2/lib/python3.6/distutils/__init__.py +0 -13
- package/python3.6.2/lib/python3.6/distutils/_msvccompiler.py +0 -574
- package/python3.6.2/lib/python3.6/distutils/archive_util.py +0 -248
- package/python3.6.2/lib/python3.6/distutils/bcppcompiler.py +0 -393
- package/python3.6.2/lib/python3.6/distutils/ccompiler.py +0 -1115
- package/python3.6.2/lib/python3.6/distutils/cmd.py +0 -434
- package/python3.6.2/lib/python3.6/distutils/command/__init__.py +0 -31
- package/python3.6.2/lib/python3.6/distutils/command/bdist.py +0 -143
- package/python3.6.2/lib/python3.6/distutils/command/bdist_dumb.py +0 -123
- package/python3.6.2/lib/python3.6/distutils/command/bdist_msi.py +0 -741
- package/python3.6.2/lib/python3.6/distutils/command/bdist_rpm.py +0 -582
- package/python3.6.2/lib/python3.6/distutils/command/bdist_wininst.py +0 -365
- package/python3.6.2/lib/python3.6/distutils/command/build.py +0 -157
- package/python3.6.2/lib/python3.6/distutils/command/build_clib.py +0 -209
- package/python3.6.2/lib/python3.6/distutils/command/build_ext.py +0 -755
- package/python3.6.2/lib/python3.6/distutils/command/build_py.py +0 -416
- package/python3.6.2/lib/python3.6/distutils/command/build_scripts.py +0 -160
- package/python3.6.2/lib/python3.6/distutils/command/check.py +0 -145
- package/python3.6.2/lib/python3.6/distutils/command/clean.py +0 -76
- package/python3.6.2/lib/python3.6/distutils/command/config.py +0 -347
- package/python3.6.2/lib/python3.6/distutils/command/install.py +0 -656
- package/python3.6.2/lib/python3.6/distutils/command/install_data.py +0 -79
- package/python3.6.2/lib/python3.6/distutils/command/install_egg_info.py +0 -77
- package/python3.6.2/lib/python3.6/distutils/command/install_headers.py +0 -47
- package/python3.6.2/lib/python3.6/distutils/command/install_lib.py +0 -217
- package/python3.6.2/lib/python3.6/distutils/command/install_scripts.py +0 -60
- package/python3.6.2/lib/python3.6/distutils/command/register.py +0 -304
- package/python3.6.2/lib/python3.6/distutils/command/sdist.py +0 -456
- package/python3.6.2/lib/python3.6/distutils/command/upload.py +0 -201
- 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 +0 -131
- package/python3.6.2/lib/python3.6/distutils/core.py +0 -234
- package/python3.6.2/lib/python3.6/distutils/cygwinccompiler.py +0 -405
- package/python3.6.2/lib/python3.6/distutils/debug.py +0 -5
- package/python3.6.2/lib/python3.6/distutils/dep_util.py +0 -92
- package/python3.6.2/lib/python3.6/distutils/dir_util.py +0 -210
- package/python3.6.2/lib/python3.6/distutils/dist.py +0 -1236
- package/python3.6.2/lib/python3.6/distutils/errors.py +0 -97
- package/python3.6.2/lib/python3.6/distutils/extension.py +0 -240
- package/python3.6.2/lib/python3.6/distutils/fancy_getopt.py +0 -457
- package/python3.6.2/lib/python3.6/distutils/file_util.py +0 -238
- package/python3.6.2/lib/python3.6/distutils/filelist.py +0 -327
- package/python3.6.2/lib/python3.6/distutils/log.py +0 -75
- package/python3.6.2/lib/python3.6/distutils/msvc9compiler.py +0 -791
- package/python3.6.2/lib/python3.6/distutils/msvccompiler.py +0 -643
- package/python3.6.2/lib/python3.6/distutils/spawn.py +0 -192
- package/python3.6.2/lib/python3.6/distutils/sysconfig.py +0 -532
- package/python3.6.2/lib/python3.6/distutils/tests/Setup.sample +0 -67
- package/python3.6.2/lib/python3.6/distutils/tests/__init__.py +0 -36
- package/python3.6.2/lib/python3.6/distutils/tests/support.py +0 -210
- package/python3.6.2/lib/python3.6/distutils/tests/test_archive_util.py +0 -395
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist.py +0 -50
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_dumb.py +0 -97
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_msi.py +0 -25
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_rpm.py +0 -135
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_wininst.py +0 -31
- package/python3.6.2/lib/python3.6/distutils/tests/test_build.py +0 -56
- package/python3.6.2/lib/python3.6/distutils/tests/test_build_clib.py +0 -135
- package/python3.6.2/lib/python3.6/distutils/tests/test_build_ext.py +0 -521
- package/python3.6.2/lib/python3.6/distutils/tests/test_build_py.py +0 -179
- package/python3.6.2/lib/python3.6/distutils/tests/test_build_scripts.py +0 -112
- package/python3.6.2/lib/python3.6/distutils/tests/test_check.py +0 -149
- package/python3.6.2/lib/python3.6/distutils/tests/test_clean.py +0 -49
- package/python3.6.2/lib/python3.6/distutils/tests/test_cmd.py +0 -126
- package/python3.6.2/lib/python3.6/distutils/tests/test_config.py +0 -140
- package/python3.6.2/lib/python3.6/distutils/tests/test_config_cmd.py +0 -92
- package/python3.6.2/lib/python3.6/distutils/tests/test_core.py +0 -140
- package/python3.6.2/lib/python3.6/distutils/tests/test_cygwinccompiler.py +0 -154
- package/python3.6.2/lib/python3.6/distutils/tests/test_dep_util.py +0 -80
- package/python3.6.2/lib/python3.6/distutils/tests/test_dir_util.py +0 -139
- package/python3.6.2/lib/python3.6/distutils/tests/test_dist.py +0 -456
- package/python3.6.2/lib/python3.6/distutils/tests/test_extension.py +0 -69
- package/python3.6.2/lib/python3.6/distutils/tests/test_file_util.py +0 -114
- package/python3.6.2/lib/python3.6/distutils/tests/test_filelist.py +0 -340
- package/python3.6.2/lib/python3.6/distutils/tests/test_install.py +0 -248
- package/python3.6.2/lib/python3.6/distutils/tests/test_install_data.py +0 -75
- package/python3.6.2/lib/python3.6/distutils/tests/test_install_headers.py +0 -39
- package/python3.6.2/lib/python3.6/distutils/tests/test_install_lib.py +0 -115
- package/python3.6.2/lib/python3.6/distutils/tests/test_install_scripts.py +0 -82
- package/python3.6.2/lib/python3.6/distutils/tests/test_log.py +0 -38
- package/python3.6.2/lib/python3.6/distutils/tests/test_msvc9compiler.py +0 -184
- package/python3.6.2/lib/python3.6/distutils/tests/test_msvccompiler.py +0 -132
- package/python3.6.2/lib/python3.6/distutils/tests/test_register.py +0 -323
- package/python3.6.2/lib/python3.6/distutils/tests/test_sdist.py +0 -484
- package/python3.6.2/lib/python3.6/distutils/tests/test_spawn.py +0 -58
- package/python3.6.2/lib/python3.6/distutils/tests/test_sysconfig.py +0 -198
- package/python3.6.2/lib/python3.6/distutils/tests/test_text_file.py +0 -107
- package/python3.6.2/lib/python3.6/distutils/tests/test_unixccompiler.py +0 -149
- package/python3.6.2/lib/python3.6/distutils/tests/test_upload.py +0 -181
- package/python3.6.2/lib/python3.6/distutils/tests/test_util.py +0 -300
- package/python3.6.2/lib/python3.6/distutils/tests/test_version.py +0 -71
- package/python3.6.2/lib/python3.6/distutils/tests/test_versionpredicate.py +0 -13
- package/python3.6.2/lib/python3.6/distutils/text_file.py +0 -286
- package/python3.6.2/lib/python3.6/distutils/unixccompiler.py +0 -322
- package/python3.6.2/lib/python3.6/distutils/util.py +0 -557
- package/python3.6.2/lib/python3.6/distutils/version.py +0 -343
- package/python3.6.2/lib/python3.6/distutils/versionpredicate.py +0 -166
- package/python3.6.2/lib/python3.6/doctest.py +0 -2787
- package/python3.6.2/lib/python3.6/dummy_threading.py +0 -78
- package/python3.6.2/lib/python3.6/email/__init__.py +0 -62
- package/python3.6.2/lib/python3.6/email/_encoded_words.py +0 -221
- package/python3.6.2/lib/python3.6/email/_header_value_parser.py +0 -2811
- package/python3.6.2/lib/python3.6/email/_parseaddr.py +0 -540
- package/python3.6.2/lib/python3.6/email/_policybase.py +0 -374
- package/python3.6.2/lib/python3.6/email/base64mime.py +0 -119
- package/python3.6.2/lib/python3.6/email/charset.py +0 -406
- package/python3.6.2/lib/python3.6/email/contentmanager.py +0 -250
- package/python3.6.2/lib/python3.6/email/encoders.py +0 -69
- package/python3.6.2/lib/python3.6/email/errors.py +0 -107
- package/python3.6.2/lib/python3.6/email/feedparser.py +0 -536
- package/python3.6.2/lib/python3.6/email/generator.py +0 -508
- package/python3.6.2/lib/python3.6/email/header.py +0 -578
- package/python3.6.2/lib/python3.6/email/headerregistry.py +0 -589
- package/python3.6.2/lib/python3.6/email/iterators.py +0 -71
- package/python3.6.2/lib/python3.6/email/message.py +0 -1164
- package/python3.6.2/lib/python3.6/email/mime/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/email/mime/application.py +0 -37
- package/python3.6.2/lib/python3.6/email/mime/audio.py +0 -74
- package/python3.6.2/lib/python3.6/email/mime/base.py +0 -30
- package/python3.6.2/lib/python3.6/email/mime/image.py +0 -47
- package/python3.6.2/lib/python3.6/email/mime/message.py +0 -34
- package/python3.6.2/lib/python3.6/email/mime/multipart.py +0 -48
- package/python3.6.2/lib/python3.6/email/mime/nonmultipart.py +0 -22
- package/python3.6.2/lib/python3.6/email/mime/text.py +0 -42
- package/python3.6.2/lib/python3.6/email/parser.py +0 -132
- package/python3.6.2/lib/python3.6/email/policy.py +0 -223
- package/python3.6.2/lib/python3.6/email/quoprimime.py +0 -299
- package/python3.6.2/lib/python3.6/email/utils.py +0 -388
- package/python3.6.2/lib/python3.6/encodings/__init__.py +0 -169
- package/python3.6.2/lib/python3.6/encodings/aliases.py +0 -550
- package/python3.6.2/lib/python3.6/encodings/ascii.py +0 -50
- package/python3.6.2/lib/python3.6/encodings/base64_codec.py +0 -55
- package/python3.6.2/lib/python3.6/encodings/big5.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/big5hkscs.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/bz2_codec.py +0 -78
- package/python3.6.2/lib/python3.6/encodings/charmap.py +0 -69
- package/python3.6.2/lib/python3.6/encodings/cp037.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1006.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1026.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1125.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp1140.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1250.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1251.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1252.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1253.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1254.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1255.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1256.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1257.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1258.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp273.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp424.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp437.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp500.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp65001.py +0 -43
- package/python3.6.2/lib/python3.6/encodings/cp720.py +0 -309
- package/python3.6.2/lib/python3.6/encodings/cp737.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp775.py +0 -697
- package/python3.6.2/lib/python3.6/encodings/cp850.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp852.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp855.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp856.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp857.py +0 -694
- package/python3.6.2/lib/python3.6/encodings/cp858.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp860.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp861.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp862.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp863.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp864.py +0 -690
- package/python3.6.2/lib/python3.6/encodings/cp865.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp866.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp869.py +0 -689
- package/python3.6.2/lib/python3.6/encodings/cp874.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp875.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp932.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/cp949.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/cp950.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/euc_jis_2004.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/euc_jisx0213.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/euc_jp.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/euc_kr.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/gb18030.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/gb2312.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/gbk.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/hex_codec.py +0 -55
- package/python3.6.2/lib/python3.6/encodings/hp_roman8.py +0 -314
- package/python3.6.2/lib/python3.6/encodings/hz.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/idna.py +0 -309
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_1.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_2.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_2004.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_3.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_ext.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/iso2022_kr.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/iso8859_1.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_10.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_11.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_13.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_14.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_15.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_16.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_2.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_3.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_4.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_5.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_6.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_7.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_8.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_9.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/johab.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/koi8_r.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/koi8_t.py +0 -308
- package/python3.6.2/lib/python3.6/encodings/koi8_u.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/kz1048.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/latin_1.py +0 -50
- package/python3.6.2/lib/python3.6/encodings/mac_arabic.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/mac_centeuro.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/mac_croatian.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/mac_cyrillic.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/mac_farsi.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/mac_greek.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/mac_iceland.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/mac_latin2.py +0 -312
- package/python3.6.2/lib/python3.6/encodings/mac_roman.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/mac_romanian.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/mac_turkish.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/mbcs.py +0 -47
- package/python3.6.2/lib/python3.6/encodings/oem.py +0 -41
- package/python3.6.2/lib/python3.6/encodings/palmos.py +0 -308
- package/python3.6.2/lib/python3.6/encodings/ptcp154.py +0 -312
- package/python3.6.2/lib/python3.6/encodings/punycode.py +0 -237
- package/python3.6.2/lib/python3.6/encodings/quopri_codec.py +0 -56
- package/python3.6.2/lib/python3.6/encodings/raw_unicode_escape.py +0 -45
- package/python3.6.2/lib/python3.6/encodings/rot_13.py +0 -113
- package/python3.6.2/lib/python3.6/encodings/shift_jis.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/shift_jis_2004.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/shift_jisx0213.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/tis_620.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/undefined.py +0 -49
- package/python3.6.2/lib/python3.6/encodings/unicode_escape.py +0 -45
- package/python3.6.2/lib/python3.6/encodings/unicode_internal.py +0 -45
- package/python3.6.2/lib/python3.6/encodings/utf_16.py +0 -155
- package/python3.6.2/lib/python3.6/encodings/utf_16_be.py +0 -42
- package/python3.6.2/lib/python3.6/encodings/utf_16_le.py +0 -42
- package/python3.6.2/lib/python3.6/encodings/utf_32.py +0 -150
- package/python3.6.2/lib/python3.6/encodings/utf_32_be.py +0 -37
- package/python3.6.2/lib/python3.6/encodings/utf_32_le.py +0 -37
- package/python3.6.2/lib/python3.6/encodings/utf_7.py +0 -38
- package/python3.6.2/lib/python3.6/encodings/utf_8.py +0 -42
- package/python3.6.2/lib/python3.6/encodings/utf_8_sig.py +0 -130
- package/python3.6.2/lib/python3.6/encodings/uu_codec.py +0 -99
- package/python3.6.2/lib/python3.6/encodings/zlib_codec.py +0 -77
- package/python3.6.2/lib/python3.6/ensurepip/__init__.py +0 -205
- package/python3.6.2/lib/python3.6/ensurepip/__main__.py +0 -5
- package/python3.6.2/lib/python3.6/ensurepip/_uninstall.py +0 -31
- package/python3.6.2/lib/python3.6/enum.py +0 -875
- package/python3.6.2/lib/python3.6/filecmp.py +0 -305
- package/python3.6.2/lib/python3.6/fileinput.py +0 -425
- package/python3.6.2/lib/python3.6/fnmatch.py +0 -109
- package/python3.6.2/lib/python3.6/formatter.py +0 -452
- package/python3.6.2/lib/python3.6/fractions.py +0 -643
- package/python3.6.2/lib/python3.6/ftplib.py +0 -989
- package/python3.6.2/lib/python3.6/functools.py +0 -811
- package/python3.6.2/lib/python3.6/genericpath.py +0 -151
- package/python3.6.2/lib/python3.6/getopt.py +0 -215
- package/python3.6.2/lib/python3.6/getpass.py +0 -185
- package/python3.6.2/lib/python3.6/gettext.py +0 -637
- package/python3.6.2/lib/python3.6/glob.py +0 -171
- package/python3.6.2/lib/python3.6/gzip.py +0 -574
- package/python3.6.2/lib/python3.6/hashlib.py +0 -251
- package/python3.6.2/lib/python3.6/heapq.py +0 -607
- package/python3.6.2/lib/python3.6/hmac.py +0 -144
- package/python3.6.2/lib/python3.6/html/__init__.py +0 -132
- package/python3.6.2/lib/python3.6/html/entities.py +0 -2509
- package/python3.6.2/lib/python3.6/html/parser.py +0 -470
- package/python3.6.2/lib/python3.6/http/__init__.py +0 -134
- package/python3.6.2/lib/python3.6/http/client.py +0 -1478
- package/python3.6.2/lib/python3.6/http/cookiejar.py +0 -2098
- package/python3.6.2/lib/python3.6/http/cookies.py +0 -635
- package/python3.6.2/lib/python3.6/http/server.py +0 -1211
- package/python3.6.2/lib/python3.6/idlelib/CREDITS.txt +0 -37
- package/python3.6.2/lib/python3.6/idlelib/ChangeLog +0 -1591
- package/python3.6.2/lib/python3.6/idlelib/HISTORY.txt +0 -296
- 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 +0 -749
- package/python3.6.2/lib/python3.6/idlelib/NEWS2x.txt +0 -660
- package/python3.6.2/lib/python3.6/idlelib/README.txt +0 -251
- package/python3.6.2/lib/python3.6/idlelib/TODO.txt +0 -210
- package/python3.6.2/lib/python3.6/idlelib/__init__.py +0 -10
- package/python3.6.2/lib/python3.6/idlelib/__main__.py +0 -8
- package/python3.6.2/lib/python3.6/idlelib/_pyclbr.py +0 -402
- package/python3.6.2/lib/python3.6/idlelib/autocomplete.py +0 -232
- package/python3.6.2/lib/python3.6/idlelib/autocomplete_w.py +0 -460
- package/python3.6.2/lib/python3.6/idlelib/autoexpand.py +0 -96
- package/python3.6.2/lib/python3.6/idlelib/browser.py +0 -248
- package/python3.6.2/lib/python3.6/idlelib/calltip_w.py +0 -164
- package/python3.6.2/lib/python3.6/idlelib/calltips.py +0 -178
- package/python3.6.2/lib/python3.6/idlelib/codecontext.py +0 -185
- package/python3.6.2/lib/python3.6/idlelib/colorizer.py +0 -289
- package/python3.6.2/lib/python3.6/idlelib/config-extensions.def +0 -65
- package/python3.6.2/lib/python3.6/idlelib/config-highlight.def +0 -93
- package/python3.6.2/lib/python3.6/idlelib/config-keys.def +0 -304
- package/python3.6.2/lib/python3.6/idlelib/config-main.def +0 -88
- package/python3.6.2/lib/python3.6/idlelib/config.py +0 -929
- package/python3.6.2/lib/python3.6/idlelib/config_key.py +0 -298
- package/python3.6.2/lib/python3.6/idlelib/configdialog.py +0 -2254
- package/python3.6.2/lib/python3.6/idlelib/debugger.py +0 -544
- package/python3.6.2/lib/python3.6/idlelib/debugger_r.py +0 -388
- package/python3.6.2/lib/python3.6/idlelib/debugobj.py +0 -139
- package/python3.6.2/lib/python3.6/idlelib/debugobj_r.py +0 -36
- package/python3.6.2/lib/python3.6/idlelib/delegator.py +0 -33
- package/python3.6.2/lib/python3.6/idlelib/dynoption.py +0 -58
- package/python3.6.2/lib/python3.6/idlelib/editor.py +0 -1688
- package/python3.6.2/lib/python3.6/idlelib/extend.txt +0 -83
- package/python3.6.2/lib/python3.6/idlelib/filelist.py +0 -132
- package/python3.6.2/lib/python3.6/idlelib/grep.py +0 -200
- package/python3.6.2/lib/python3.6/idlelib/help.html +0 -791
- package/python3.6.2/lib/python3.6/idlelib/help.py +0 -275
- package/python3.6.2/lib/python3.6/idlelib/help_about.py +0 -205
- package/python3.6.2/lib/python3.6/idlelib/history.py +0 -106
- package/python3.6.2/lib/python3.6/idlelib/hyperparser.py +0 -312
- package/python3.6.2/lib/python3.6/idlelib/idle.bat +0 -4
- package/python3.6.2/lib/python3.6/idlelib/idle.py +0 -14
- package/python3.6.2/lib/python3.6/idlelib/idle.pyw +0 -17
- package/python3.6.2/lib/python3.6/idlelib/idle_test/README.txt +0 -226
- package/python3.6.2/lib/python3.6/idlelib/idle_test/__init__.py +0 -17
- package/python3.6.2/lib/python3.6/idlelib/idle_test/htest.py +0 -421
- package/python3.6.2/lib/python3.6/idlelib/idle_test/mock_idle.py +0 -60
- package/python3.6.2/lib/python3.6/idlelib/idle_test/mock_tk.py +0 -303
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_autocomplete.py +0 -149
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_autoexpand.py +0 -143
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_browser.py +0 -253
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_calltips.py +0 -203
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_colorizer.py +0 -56
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_config.py +0 -824
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_config_key.py +0 -102
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_configdialog.py +0 -1415
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_debugger.py +0 -29
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_delegator.py +0 -40
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_editmenu.py +0 -74
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_editor.py +0 -14
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_grep.py +0 -80
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_help.py +0 -34
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_help_about.py +0 -177
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_history.py +0 -168
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_hyperparser.py +0 -274
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_iomenu.py +0 -234
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_macosx.py +0 -106
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_outwin.py +0 -172
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_paragraph.py +0 -376
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_parenmatch.py +0 -112
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_pathbrowser.py +0 -88
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_percolator.py +0 -118
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_query.py +0 -354
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_redirector.py +0 -124
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_replace.py +0 -293
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_rstrip.py +0 -49
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_run.py +0 -35
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_scrolledlist.py +0 -29
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_search.py +0 -82
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_searchbase.py +0 -156
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_searchengine.py +0 -329
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_text.py +0 -236
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_textview.py +0 -179
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_tree.py +0 -35
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_undo.py +0 -135
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_warning.py +0 -73
- package/python3.6.2/lib/python3.6/idlelib/iomenu.py +0 -574
- package/python3.6.2/lib/python3.6/idlelib/macosx.py +0 -252
- package/python3.6.2/lib/python3.6/idlelib/mainmenu.py +0 -108
- package/python3.6.2/lib/python3.6/idlelib/multicall.py +0 -445
- package/python3.6.2/lib/python3.6/idlelib/outwin.py +0 -188
- package/python3.6.2/lib/python3.6/idlelib/paragraph.py +0 -195
- package/python3.6.2/lib/python3.6/idlelib/parenmatch.py +0 -183
- package/python3.6.2/lib/python3.6/idlelib/pathbrowser.py +0 -111
- package/python3.6.2/lib/python3.6/idlelib/percolator.py +0 -104
- package/python3.6.2/lib/python3.6/idlelib/pyparse.py +0 -617
- package/python3.6.2/lib/python3.6/idlelib/pyshell.py +0 -1542
- package/python3.6.2/lib/python3.6/idlelib/query.py +0 -308
- package/python3.6.2/lib/python3.6/idlelib/redirector.py +0 -175
- package/python3.6.2/lib/python3.6/idlelib/replace.py +0 -243
- package/python3.6.2/lib/python3.6/idlelib/rpc.py +0 -627
- package/python3.6.2/lib/python3.6/idlelib/rstrip.py +0 -29
- package/python3.6.2/lib/python3.6/idlelib/run.py +0 -525
- package/python3.6.2/lib/python3.6/idlelib/runscript.py +0 -195
- package/python3.6.2/lib/python3.6/idlelib/scrolledlist.py +0 -147
- package/python3.6.2/lib/python3.6/idlelib/search.py +0 -102
- package/python3.6.2/lib/python3.6/idlelib/searchbase.py +0 -200
- package/python3.6.2/lib/python3.6/idlelib/searchengine.py +0 -236
- package/python3.6.2/lib/python3.6/idlelib/stackviewer.py +0 -152
- package/python3.6.2/lib/python3.6/idlelib/statusbar.py +0 -46
- package/python3.6.2/lib/python3.6/idlelib/textview.py +0 -136
- package/python3.6.2/lib/python3.6/idlelib/tooltip.py +0 -96
- package/python3.6.2/lib/python3.6/idlelib/tree.py +0 -467
- package/python3.6.2/lib/python3.6/idlelib/undo.py +0 -366
- package/python3.6.2/lib/python3.6/idlelib/windows.py +0 -92
- package/python3.6.2/lib/python3.6/idlelib/zoomheight.py +0 -48
- package/python3.6.2/lib/python3.6/idlelib/zzdummy.py +0 -42
- package/python3.6.2/lib/python3.6/imaplib.py +0 -1609
- package/python3.6.2/lib/python3.6/imghdr.py +0 -168
- package/python3.6.2/lib/python3.6/imp.py +0 -346
- package/python3.6.2/lib/python3.6/importlib/__init__.py +0 -173
- package/python3.6.2/lib/python3.6/importlib/_bootstrap.py +0 -1161
- package/python3.6.2/lib/python3.6/importlib/_bootstrap_external.py +0 -1443
- package/python3.6.2/lib/python3.6/importlib/abc.py +0 -329
- package/python3.6.2/lib/python3.6/importlib/machinery.py +0 -21
- package/python3.6.2/lib/python3.6/importlib/util.py +0 -288
- package/python3.6.2/lib/python3.6/inspect.py +0 -3098
- package/python3.6.2/lib/python3.6/io.py +0 -99
- package/python3.6.2/lib/python3.6/ipaddress.py +0 -2299
- package/python3.6.2/lib/python3.6/json/__init__.py +0 -367
- package/python3.6.2/lib/python3.6/json/decoder.py +0 -358
- package/python3.6.2/lib/python3.6/json/encoder.py +0 -441
- package/python3.6.2/lib/python3.6/json/scanner.py +0 -73
- package/python3.6.2/lib/python3.6/json/tool.py +0 -50
- package/python3.6.2/lib/python3.6/keyword.py +0 -94
- 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 +0 -743
- 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 +0 -1
- package/python3.6.2/lib/python3.6/lib2to3/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/lib2to3/btm_matcher.py +0 -168
- package/python3.6.2/lib/python3.6/lib2to3/btm_utils.py +0 -281
- package/python3.6.2/lib/python3.6/lib2to3/fixer_base.py +0 -186
- package/python3.6.2/lib/python3.6/lib2to3/fixer_util.py +0 -453
- package/python3.6.2/lib/python3.6/lib2to3/fixes/__init__.py +0 -1
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_apply.py +0 -70
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_asserts.py +0 -34
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_basestring.py +0 -14
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_buffer.py +0 -22
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_dict.py +0 -106
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_except.py +0 -93
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_exec.py +0 -39
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_execfile.py +0 -52
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_exitfunc.py +0 -72
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_filter.py +0 -90
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_funcattrs.py +0 -21
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_future.py +0 -22
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_getcwdu.py +0 -19
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_has_key.py +0 -109
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_idioms.py +0 -152
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_import.py +0 -99
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_imports.py +0 -145
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_imports2.py +0 -16
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_input.py +0 -26
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_intern.py +0 -41
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_isinstance.py +0 -52
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_itertools.py +0 -43
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_itertools_imports.py +0 -57
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_long.py +0 -19
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_map.py +0 -110
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_metaclass.py +0 -228
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_methodattrs.py +0 -24
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_ne.py +0 -23
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_next.py +0 -103
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_nonzero.py +0 -21
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_numliterals.py +0 -28
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_operator.py +0 -98
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_paren.py +0 -44
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_print.py +0 -87
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_raise.py +0 -90
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_raw_input.py +0 -17
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_reduce.py +0 -35
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_reload.py +0 -38
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_renames.py +0 -70
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_repr.py +0 -23
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_set_literal.py +0 -53
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_standarderror.py +0 -18
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_sys_exc.py +0 -30
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_throw.py +0 -56
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_tuple_params.py +0 -175
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_types.py +0 -61
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_unicode.py +0 -42
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_urllib.py +0 -196
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_ws_comma.py +0 -39
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_xrange.py +0 -73
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_xreadlines.py +0 -25
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_zip.py +0 -46
- package/python3.6.2/lib/python3.6/lib2to3/main.py +0 -268
- package/python3.6.2/lib/python3.6/lib2to3/patcomp.py +0 -205
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/__init__.py +0 -4
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/conv.py +0 -257
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/driver.py +0 -160
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/grammar.py +0 -207
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/literals.py +0 -60
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/parse.py +0 -201
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/pgen.py +0 -386
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/token.py +0 -85
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/tokenize.py +0 -590
- package/python3.6.2/lib/python3.6/lib2to3/pygram.py +0 -40
- package/python3.6.2/lib/python3.6/lib2to3/pytree.py +0 -854
- package/python3.6.2/lib/python3.6/lib2to3/refactor.py +0 -744
- package/python3.6.2/lib/python3.6/lib2to3/tests/__init__.py +0 -9
- package/python3.6.2/lib/python3.6/lib2to3/tests/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/README +0 -6
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/bom.py +0 -2
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/crlf.py +0 -3
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/different_encoding.py +0 -6
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/false_encoding.py +0 -2
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/bad_order.py +0 -5
- 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 +0 -6
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_first.py +0 -6
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_last.py +0 -7
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_parrot.py +0 -13
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_preorder.py +0 -6
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/no_fixer_cls.py +0 -1
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/parrot_example.py +0 -2
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/infinite_recursion.py +0 -2669
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/py2_test_grammar.py +0 -974
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/py3_test_grammar.py +0 -945
- package/python3.6.2/lib/python3.6/lib2to3/tests/pytree_idempotency.py +0 -94
- package/python3.6.2/lib/python3.6/lib2to3/tests/support.py +0 -52
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_all_fixers.py +0 -27
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_fixers.py +0 -4640
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_main.py +0 -139
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_parser.py +0 -472
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_pytree.py +0 -472
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_refactor.py +0 -316
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_util.py +0 -591
- package/python3.6.2/lib/python3.6/linecache.py +0 -177
- package/python3.6.2/lib/python3.6/locale.py +0 -1684
- package/python3.6.2/lib/python3.6/logging/__init__.py +0 -2019
- package/python3.6.2/lib/python3.6/logging/config.py +0 -933
- package/python3.6.2/lib/python3.6/logging/handlers.py +0 -1505
- package/python3.6.2/lib/python3.6/lzma.py +0 -347
- package/python3.6.2/lib/python3.6/macpath.py +0 -211
- package/python3.6.2/lib/python3.6/macurl2path.py +0 -77
- package/python3.6.2/lib/python3.6/mailbox.py +0 -2146
- package/python3.6.2/lib/python3.6/mailcap.py +0 -275
- package/python3.6.2/lib/python3.6/mimetypes.py +0 -598
- package/python3.6.2/lib/python3.6/modulefinder.py +0 -633
- package/python3.6.2/lib/python3.6/msilib/__init__.py +0 -483
- package/python3.6.2/lib/python3.6/msilib/schema.py +0 -1007
- package/python3.6.2/lib/python3.6/msilib/sequence.py +0 -126
- package/python3.6.2/lib/python3.6/msilib/text.py +0 -129
- package/python3.6.2/lib/python3.6/multiprocessing/__init__.py +0 -38
- package/python3.6.2/lib/python3.6/multiprocessing/connection.py +0 -953
- package/python3.6.2/lib/python3.6/multiprocessing/context.py +0 -357
- package/python3.6.2/lib/python3.6/multiprocessing/dummy/__init__.py +0 -119
- package/python3.6.2/lib/python3.6/multiprocessing/dummy/connection.py +0 -73
- package/python3.6.2/lib/python3.6/multiprocessing/forkserver.py +0 -266
- package/python3.6.2/lib/python3.6/multiprocessing/heap.py +0 -254
- package/python3.6.2/lib/python3.6/multiprocessing/managers.py +0 -1160
- package/python3.6.2/lib/python3.6/multiprocessing/pool.py +0 -803
- package/python3.6.2/lib/python3.6/multiprocessing/popen_fork.py +0 -86
- package/python3.6.2/lib/python3.6/multiprocessing/popen_forkserver.py +0 -68
- package/python3.6.2/lib/python3.6/multiprocessing/popen_spawn_posix.py +0 -68
- package/python3.6.2/lib/python3.6/multiprocessing/popen_spawn_win32.py +0 -98
- package/python3.6.2/lib/python3.6/multiprocessing/process.py +0 -336
- package/python3.6.2/lib/python3.6/multiprocessing/queues.py +0 -347
- package/python3.6.2/lib/python3.6/multiprocessing/reduction.py +0 -274
- package/python3.6.2/lib/python3.6/multiprocessing/resource_sharer.py +0 -158
- package/python3.6.2/lib/python3.6/multiprocessing/semaphore_tracker.py +0 -157
- package/python3.6.2/lib/python3.6/multiprocessing/sharedctypes.py +0 -239
- package/python3.6.2/lib/python3.6/multiprocessing/spawn.py +0 -286
- package/python3.6.2/lib/python3.6/multiprocessing/synchronize.py +0 -406
- package/python3.6.2/lib/python3.6/multiprocessing/util.py +0 -406
- package/python3.6.2/lib/python3.6/netrc.py +0 -142
- package/python3.6.2/lib/python3.6/nntplib.py +0 -1147
- package/python3.6.2/lib/python3.6/ntpath.py +0 -692
- package/python3.6.2/lib/python3.6/nturl2path.py +0 -68
- package/python3.6.2/lib/python3.6/numbers.py +0 -389
- package/python3.6.2/lib/python3.6/opcode.py +0 -215
- package/python3.6.2/lib/python3.6/operator.py +0 -464
- package/python3.6.2/lib/python3.6/optparse.py +0 -1681
- package/python3.6.2/lib/python3.6/os.py +0 -1069
- package/python3.6.2/lib/python3.6/pathlib.py +0 -1434
- package/python3.6.2/lib/python3.6/pdb.py +0 -1694
- package/python3.6.2/lib/python3.6/pickle.py +0 -1605
- package/python3.6.2/lib/python3.6/pickletools.py +0 -2840
- package/python3.6.2/lib/python3.6/pipes.py +0 -247
- package/python3.6.2/lib/python3.6/pkgutil.py +0 -634
- package/python3.6.2/lib/python3.6/platform.py +0 -1400
- package/python3.6.2/lib/python3.6/plistlib.py +0 -1043
- package/python3.6.2/lib/python3.6/poplib.py +0 -478
- package/python3.6.2/lib/python3.6/posixpath.py +0 -520
- package/python3.6.2/lib/python3.6/pprint.py +0 -597
- package/python3.6.2/lib/python3.6/profile.py +0 -589
- package/python3.6.2/lib/python3.6/pstats.py +0 -697
- package/python3.6.2/lib/python3.6/pty.py +0 -170
- package/python3.6.2/lib/python3.6/py_compile.py +0 -186
- package/python3.6.2/lib/python3.6/pyclbr.py +0 -352
- package/python3.6.2/lib/python3.6/pydoc.py +0 -2663
- package/python3.6.2/lib/python3.6/pydoc_data/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/pydoc_data/topics.py +0 -12951
- package/python3.6.2/lib/python3.6/queue.py +0 -246
- package/python3.6.2/lib/python3.6/quopri.py +0 -242
- package/python3.6.2/lib/python3.6/random.py +0 -768
- package/python3.6.2/lib/python3.6/re.py +0 -381
- package/python3.6.2/lib/python3.6/reprlib.py +0 -164
- package/python3.6.2/lib/python3.6/rlcompleter.py +0 -205
- package/python3.6.2/lib/python3.6/runpy.py +0 -294
- package/python3.6.2/lib/python3.6/sched.py +0 -170
- package/python3.6.2/lib/python3.6/secrets.py +0 -73
- package/python3.6.2/lib/python3.6/selectors.py +0 -611
- package/python3.6.2/lib/python3.6/shelve.py +0 -243
- package/python3.6.2/lib/python3.6/shlex.py +0 -335
- package/python3.6.2/lib/python3.6/shutil.py +0 -1153
- package/python3.6.2/lib/python3.6/signal.py +0 -79
- package/python3.6.2/lib/python3.6/site.py +0 -598
- package/python3.6.2/lib/python3.6/smtpd.py +0 -965
- package/python3.6.2/lib/python3.6/smtplib.py +0 -1115
- package/python3.6.2/lib/python3.6/sndhdr.py +0 -257
- package/python3.6.2/lib/python3.6/socket.py +0 -750
- package/python3.6.2/lib/python3.6/socketserver.py +0 -793
- package/python3.6.2/lib/python3.6/sqlite3/__init__.py +0 -23
- package/python3.6.2/lib/python3.6/sqlite3/dbapi2.py +0 -89
- package/python3.6.2/lib/python3.6/sqlite3/dump.py +0 -70
- package/python3.6.2/lib/python3.6/sqlite3/test/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/dbapi.py +0 -938
- package/python3.6.2/lib/python3.6/sqlite3/test/dump.py +0 -81
- package/python3.6.2/lib/python3.6/sqlite3/test/factory.py +0 -293
- package/python3.6.2/lib/python3.6/sqlite3/test/hooks.py +0 -264
- package/python3.6.2/lib/python3.6/sqlite3/test/regression.py +0 -410
- package/python3.6.2/lib/python3.6/sqlite3/test/transactions.py +0 -214
- package/python3.6.2/lib/python3.6/sqlite3/test/types.py +0 -421
- package/python3.6.2/lib/python3.6/sqlite3/test/userfunctions.py +0 -473
- package/python3.6.2/lib/python3.6/sre_compile.py +0 -580
- package/python3.6.2/lib/python3.6/sre_constants.py +0 -233
- package/python3.6.2/lib/python3.6/sre_parse.py +0 -973
- package/python3.6.2/lib/python3.6/ssl.py +0 -1228
- package/python3.6.2/lib/python3.6/stat.py +0 -178
- package/python3.6.2/lib/python3.6/statistics.py +0 -670
- package/python3.6.2/lib/python3.6/string.py +0 -309
- package/python3.6.2/lib/python3.6/stringprep.py +0 -272
- package/python3.6.2/lib/python3.6/struct.py +0 -15
- package/python3.6.2/lib/python3.6/subprocess.py +0 -1590
- package/python3.6.2/lib/python3.6/sunau.py +0 -525
- package/python3.6.2/lib/python3.6/symbol.py +0 -115
- package/python3.6.2/lib/python3.6/symtable.py +0 -238
- package/python3.6.2/lib/python3.6/sysconfig.py +0 -721
- package/python3.6.2/lib/python3.6/tabnanny.py +0 -332
- package/python3.6.2/lib/python3.6/tarfile.py +0 -2547
- package/python3.6.2/lib/python3.6/telnetlib.py +0 -675
- package/python3.6.2/lib/python3.6/tempfile.py +0 -811
- package/python3.6.2/lib/python3.6/test/Sine-1000Hz-300ms.aif +0 -0
- package/python3.6.2/lib/python3.6/test/__init__.py +0 -1
- package/python3.6.2/lib/python3.6/test/__main__.py +0 -2
- package/python3.6.2/lib/python3.6/test/_test_multiprocessing.py +0 -4458
- package/python3.6.2/lib/python3.6/test/allsans.pem +0 -37
- package/python3.6.2/lib/python3.6/test/ann_module.py +0 -53
- package/python3.6.2/lib/python3.6/test/ann_module2.py +0 -36
- package/python3.6.2/lib/python3.6/test/ann_module3.py +0 -18
- 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 +0 -329
- package/python3.6.2/lib/python3.6/test/autotest.py +0 -5
- package/python3.6.2/lib/python3.6/test/bad_coding.py +0 -1
- package/python3.6.2/lib/python3.6/test/bad_coding2.py +0 -2
- package/python3.6.2/lib/python3.6/test/badcert.pem +0 -36
- package/python3.6.2/lib/python3.6/test/badkey.pem +0 -40
- package/python3.6.2/lib/python3.6/test/badsyntax_3131.py +0 -2
- package/python3.6.2/lib/python3.6/test/badsyntax_future10.py +0 -3
- package/python3.6.2/lib/python3.6/test/badsyntax_future3.py +0 -10
- package/python3.6.2/lib/python3.6/test/badsyntax_future4.py +0 -10
- package/python3.6.2/lib/python3.6/test/badsyntax_future5.py +0 -12
- package/python3.6.2/lib/python3.6/test/badsyntax_future6.py +0 -10
- package/python3.6.2/lib/python3.6/test/badsyntax_future7.py +0 -11
- package/python3.6.2/lib/python3.6/test/badsyntax_future8.py +0 -10
- package/python3.6.2/lib/python3.6/test/badsyntax_future9.py +0 -10
- package/python3.6.2/lib/python3.6/test/badsyntax_pep3120.py +0 -1
- package/python3.6.2/lib/python3.6/test/bisect.py +0 -167
- package/python3.6.2/lib/python3.6/test/bytecode_helper.py +0 -41
- package/python3.6.2/lib/python3.6/test/capath/4e1295a3.0 +0 -14
- package/python3.6.2/lib/python3.6/test/capath/5ed36f99.0 +0 -41
- package/python3.6.2/lib/python3.6/test/capath/6e88d7b8.0 +0 -14
- package/python3.6.2/lib/python3.6/test/capath/99d0fa06.0 +0 -41
- package/python3.6.2/lib/python3.6/test/capath/b1930218.0 +0 -21
- package/python3.6.2/lib/python3.6/test/capath/ceff1710.0 +0 -21
- package/python3.6.2/lib/python3.6/test/cfgparser.1 +0 -3
- package/python3.6.2/lib/python3.6/test/cfgparser.2 +0 -537
- package/python3.6.2/lib/python3.6/test/cfgparser.3 +0 -69
- package/python3.6.2/lib/python3.6/test/cjkencodings/big5-utf8.txt +0 -9
- package/python3.6.2/lib/python3.6/test/cjkencodings/big5.txt +0 -9
- package/python3.6.2/lib/python3.6/test/cjkencodings/big5hkscs-utf8.txt +0 -2
- package/python3.6.2/lib/python3.6/test/cjkencodings/big5hkscs.txt +0 -2
- package/python3.6.2/lib/python3.6/test/cjkencodings/cp949-utf8.txt +0 -9
- package/python3.6.2/lib/python3.6/test/cjkencodings/cp949.txt +0 -9
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jisx0213-utf8.txt +0 -8
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jisx0213.txt +0 -8
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jp-utf8.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jp.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_kr-utf8.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_kr.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/gb18030-utf8.txt +0 -15
- package/python3.6.2/lib/python3.6/test/cjkencodings/gb18030.txt +0 -15
- package/python3.6.2/lib/python3.6/test/cjkencodings/gb2312-utf8.txt +0 -6
- package/python3.6.2/lib/python3.6/test/cjkencodings/gb2312.txt +0 -6
- package/python3.6.2/lib/python3.6/test/cjkencodings/gbk-utf8.txt +0 -14
- package/python3.6.2/lib/python3.6/test/cjkencodings/gbk.txt +0 -14
- package/python3.6.2/lib/python3.6/test/cjkencodings/hz-utf8.txt +0 -2
- package/python3.6.2/lib/python3.6/test/cjkencodings/hz.txt +0 -2
- package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_jp-utf8.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_jp.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_kr-utf8.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_kr.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/johab-utf8.txt +0 -9
- package/python3.6.2/lib/python3.6/test/cjkencodings/johab.txt +0 -9
- package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jis-utf8.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jis.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jisx0213-utf8.txt +0 -8
- package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jisx0213.txt +0 -8
- package/python3.6.2/lib/python3.6/test/cmath_testcases.txt +0 -2511
- package/python3.6.2/lib/python3.6/test/coding20731.py +0 -4
- package/python3.6.2/lib/python3.6/test/crashers/README +0 -20
- package/python3.6.2/lib/python3.6/test/crashers/bogus_code_obj.py +0 -19
- package/python3.6.2/lib/python3.6/test/crashers/gc_inspection.py +0 -32
- package/python3.6.2/lib/python3.6/test/crashers/infinite_loop_re.py +0 -16
- package/python3.6.2/lib/python3.6/test/crashers/mutation_inside_cyclegc.py +0 -31
- package/python3.6.2/lib/python3.6/test/crashers/recursive_call.py +0 -15
- package/python3.6.2/lib/python3.6/test/crashers/trace_at_recursion_limit.py +0 -27
- package/python3.6.2/lib/python3.6/test/crashers/underlying_dict.py +0 -20
- package/python3.6.2/lib/python3.6/test/curses_tests.py +0 -46
- package/python3.6.2/lib/python3.6/test/data/README +0 -2
- package/python3.6.2/lib/python3.6/test/datetimetester.py +0 -4929
- package/python3.6.2/lib/python3.6/test/decimaltestdata/abs.decTest +0 -161
- package/python3.6.2/lib/python3.6/test/decimaltestdata/add.decTest +0 -2716
- package/python3.6.2/lib/python3.6/test/decimaltestdata/and.decTest +0 -338
- package/python3.6.2/lib/python3.6/test/decimaltestdata/base.decTest +0 -1411
- package/python3.6.2/lib/python3.6/test/decimaltestdata/clamp.decTest +0 -211
- package/python3.6.2/lib/python3.6/test/decimaltestdata/class.decTest +0 -131
- package/python3.6.2/lib/python3.6/test/decimaltestdata/compare.decTest +0 -758
- package/python3.6.2/lib/python3.6/test/decimaltestdata/comparetotal.decTest +0 -798
- package/python3.6.2/lib/python3.6/test/decimaltestdata/comparetotmag.decTest +0 -790
- package/python3.6.2/lib/python3.6/test/decimaltestdata/copy.decTest +0 -86
- package/python3.6.2/lib/python3.6/test/decimaltestdata/copyabs.decTest +0 -86
- package/python3.6.2/lib/python3.6/test/decimaltestdata/copynegate.decTest +0 -86
- package/python3.6.2/lib/python3.6/test/decimaltestdata/copysign.decTest +0 -177
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddAbs.decTest +0 -126
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddAdd.decTest +0 -1328
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddAnd.decTest +0 -347
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddBase.decTest +0 -1104
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCanonical.decTest +0 -357
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddClass.decTest +0 -76
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompare.decTest +0 -744
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompareSig.decTest +0 -647
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompareTotal.decTest +0 -706
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompareTotalMag.decTest +0 -706
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopy.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopyAbs.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopyNegate.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopySign.decTest +0 -175
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddDivide.decTest +0 -863
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddDivideInt.decTest +0 -449
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddEncode.decTest +0 -495
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddFMA.decTest +0 -1698
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddInvert.decTest +0 -202
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddLogB.decTest +0 -159
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMax.decTest +0 -322
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMaxMag.decTest +0 -304
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMin.decTest +0 -309
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMinMag.decTest +0 -293
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMinus.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMultiply.decTest +0 -553
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddNextMinus.decTest +0 -126
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddNextPlus.decTest +0 -124
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddNextToward.decTest +0 -374
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddOr.decTest +0 -292
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddPlus.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddQuantize.decTest +0 -833
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddReduce.decTest +0 -182
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddRemainder.decTest +0 -600
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddRemainderNear.decTest +0 -629
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddRotate.decTest +0 -262
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddSameQuantum.decTest +0 -389
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddScaleB.decTest +0 -243
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddShift.decTest +0 -262
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddSubtract.decTest +0 -629
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddToIntegral.decTest +0 -257
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddXor.decTest +0 -337
- package/python3.6.2/lib/python3.6/test/decimaltestdata/decDouble.decTest +0 -65
- package/python3.6.2/lib/python3.6/test/decimaltestdata/decQuad.decTest +0 -65
- package/python3.6.2/lib/python3.6/test/decimaltestdata/decSingle.decTest +0 -25
- package/python3.6.2/lib/python3.6/test/decimaltestdata/divide.decTest +0 -854
- package/python3.6.2/lib/python3.6/test/decimaltestdata/divideint.decTest +0 -486
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqAbs.decTest +0 -126
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqAdd.decTest +0 -1215
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqAnd.decTest +0 -420
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqBase.decTest +0 -1081
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCanonical.decTest +0 -372
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqClass.decTest +0 -77
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompare.decTest +0 -753
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompareSig.decTest +0 -647
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompareTotal.decTest +0 -706
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompareTotalMag.decTest +0 -706
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopy.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopyAbs.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopyNegate.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopySign.decTest +0 -175
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqDivide.decTest +0 -808
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqDivideInt.decTest +0 -453
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqEncode.decTest +0 -477
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqFMA.decTest +0 -1786
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqInvert.decTest +0 -245
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqLogB.decTest +0 -160
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMax.decTest +0 -322
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMaxMag.decTest +0 -304
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMin.decTest +0 -309
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMinMag.decTest +0 -293
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMinus.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMultiply.decTest +0 -589
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqNextMinus.decTest +0 -126
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqNextPlus.decTest +0 -124
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqNextToward.decTest +0 -375
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqOr.decTest +0 -401
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqPlus.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqQuantize.decTest +0 -836
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqReduce.decTest +0 -183
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqRemainder.decTest +0 -597
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqRemainderNear.decTest +0 -631
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqRotate.decTest +0 -298
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqSameQuantum.decTest +0 -389
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqScaleB.decTest +0 -260
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqShift.decTest +0 -298
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqSubtract.decTest +0 -635
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqToIntegral.decTest +0 -257
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqXor.decTest +0 -410
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dsBase.decTest +0 -1062
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dsEncode.decTest +0 -372
- package/python3.6.2/lib/python3.6/test/decimaltestdata/exp.decTest +0 -674
- package/python3.6.2/lib/python3.6/test/decimaltestdata/extra.decTest +0 -2830
- package/python3.6.2/lib/python3.6/test/decimaltestdata/fma.decTest +0 -3426
- package/python3.6.2/lib/python3.6/test/decimaltestdata/inexact.decTest +0 -215
- package/python3.6.2/lib/python3.6/test/decimaltestdata/invert.decTest +0 -176
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ln.decTest +0 -611
- package/python3.6.2/lib/python3.6/test/decimaltestdata/log10.decTest +0 -551
- package/python3.6.2/lib/python3.6/test/decimaltestdata/logb.decTest +0 -188
- package/python3.6.2/lib/python3.6/test/decimaltestdata/max.decTest +0 -424
- package/python3.6.2/lib/python3.6/test/decimaltestdata/maxmag.decTest +0 -404
- package/python3.6.2/lib/python3.6/test/decimaltestdata/min.decTest +0 -407
- package/python3.6.2/lib/python3.6/test/decimaltestdata/minmag.decTest +0 -390
- package/python3.6.2/lib/python3.6/test/decimaltestdata/minus.decTest +0 -182
- package/python3.6.2/lib/python3.6/test/decimaltestdata/multiply.decTest +0 -731
- package/python3.6.2/lib/python3.6/test/decimaltestdata/nextminus.decTest +0 -148
- package/python3.6.2/lib/python3.6/test/decimaltestdata/nextplus.decTest +0 -150
- package/python3.6.2/lib/python3.6/test/decimaltestdata/nexttoward.decTest +0 -426
- package/python3.6.2/lib/python3.6/test/decimaltestdata/or.decTest +0 -334
- package/python3.6.2/lib/python3.6/test/decimaltestdata/plus.decTest +0 -195
- package/python3.6.2/lib/python3.6/test/decimaltestdata/power.decTest +0 -1624
- package/python3.6.2/lib/python3.6/test/decimaltestdata/powersqrt.decTest +0 -2970
- package/python3.6.2/lib/python3.6/test/decimaltestdata/quantize.decTest +0 -948
- package/python3.6.2/lib/python3.6/test/decimaltestdata/randomBound32.decTest +0 -2443
- package/python3.6.2/lib/python3.6/test/decimaltestdata/randoms.decTest +0 -4030
- package/python3.6.2/lib/python3.6/test/decimaltestdata/reduce.decTest +0 -234
- package/python3.6.2/lib/python3.6/test/decimaltestdata/remainder.decTest +0 -640
- package/python3.6.2/lib/python3.6/test/decimaltestdata/remainderNear.decTest +0 -572
- package/python3.6.2/lib/python3.6/test/decimaltestdata/rescale.decTest +0 -764
- package/python3.6.2/lib/python3.6/test/decimaltestdata/rotate.decTest +0 -247
- package/python3.6.2/lib/python3.6/test/decimaltestdata/rounding.decTest +0 -1303
- package/python3.6.2/lib/python3.6/test/decimaltestdata/samequantum.decTest +0 -389
- package/python3.6.2/lib/python3.6/test/decimaltestdata/scaleb.decTest +0 -209
- package/python3.6.2/lib/python3.6/test/decimaltestdata/shift.decTest +0 -250
- package/python3.6.2/lib/python3.6/test/decimaltestdata/squareroot.decTest +0 -3834
- package/python3.6.2/lib/python3.6/test/decimaltestdata/subtract.decTest +0 -873
- package/python3.6.2/lib/python3.6/test/decimaltestdata/testall.decTest +0 -87
- package/python3.6.2/lib/python3.6/test/decimaltestdata/tointegral.decTest +0 -241
- package/python3.6.2/lib/python3.6/test/decimaltestdata/tointegralx.decTest +0 -255
- package/python3.6.2/lib/python3.6/test/decimaltestdata/xor.decTest +0 -335
- package/python3.6.2/lib/python3.6/test/dh1024.pem +0 -7
- package/python3.6.2/lib/python3.6/test/dis_module.py +0 -5
- package/python3.6.2/lib/python3.6/test/doctest_aliases.py +0 -13
- package/python3.6.2/lib/python3.6/test/double_const.py +0 -30
- package/python3.6.2/lib/python3.6/test/dtracedata/assert_usable.d +0 -5
- package/python3.6.2/lib/python3.6/test/dtracedata/assert_usable.stp +0 -5
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.d +0 -31
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.d.expected +0 -18
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.py +0 -30
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.stp +0 -41
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.stp.expected +0 -14
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.d +0 -18
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.d.expected +0 -8
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.py +0 -13
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.stp +0 -26
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.stp.expected +0 -8
- package/python3.6.2/lib/python3.6/test/dtracedata/instance.py +0 -24
- package/python3.6.2/lib/python3.6/test/dtracedata/line.d +0 -7
- package/python3.6.2/lib/python3.6/test/dtracedata/line.d.expected +0 -20
- package/python3.6.2/lib/python3.6/test/dtracedata/line.py +0 -17
- package/python3.6.2/lib/python3.6/test/eintrdata/eintr_tester.py +0 -493
- package/python3.6.2/lib/python3.6/test/empty.vbs +0 -1
- package/python3.6.2/lib/python3.6/test/encoded_modules/__init__.py +0 -23
- package/python3.6.2/lib/python3.6/test/encoded_modules/module_iso_8859_1.py +0 -5
- package/python3.6.2/lib/python3.6/test/encoded_modules/module_koi8_r.py +0 -3
- package/python3.6.2/lib/python3.6/test/exception_hierarchy.txt +0 -64
- package/python3.6.2/lib/python3.6/test/final_a.py +0 -19
- package/python3.6.2/lib/python3.6/test/final_b.py +0 -19
- package/python3.6.2/lib/python3.6/test/floating_points.txt +0 -1028
- package/python3.6.2/lib/python3.6/test/fork_wait.py +0 -91
- package/python3.6.2/lib/python3.6/test/formatfloat_testcases.txt +0 -355
- package/python3.6.2/lib/python3.6/test/future_test1.py +0 -11
- package/python3.6.2/lib/python3.6/test/future_test2.py +0 -10
- package/python3.6.2/lib/python3.6/test/gdb_sample.py +0 -12
- package/python3.6.2/lib/python3.6/test/ieee754.txt +0 -185
- 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 +0 -3
- 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 +0 -6
- package/python3.6.2/lib/python3.6/test/imp_dummy.py +0 -3
- package/python3.6.2/lib/python3.6/test/inspect_fodder.py +0 -76
- package/python3.6.2/lib/python3.6/test/inspect_fodder2.py +0 -139
- package/python3.6.2/lib/python3.6/test/keycert.passwd.pem +0 -33
- package/python3.6.2/lib/python3.6/test/keycert.pem +0 -31
- package/python3.6.2/lib/python3.6/test/keycert2.pem +0 -31
- package/python3.6.2/lib/python3.6/test/keycert3.pem +0 -73
- package/python3.6.2/lib/python3.6/test/keycert4.pem +0 -73
- package/python3.6.2/lib/python3.6/test/leakers/README.txt +0 -32
- 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 +0 -15
- package/python3.6.2/lib/python3.6/test/leakers/test_selftype.py +0 -13
- package/python3.6.2/lib/python3.6/test/libregrtest/__init__.py +0 -5
- package/python3.6.2/lib/python3.6/test/libregrtest/cmdline.py +0 -387
- package/python3.6.2/lib/python3.6/test/libregrtest/main.py +0 -584
- package/python3.6.2/lib/python3.6/test/libregrtest/refleak.py +0 -294
- package/python3.6.2/lib/python3.6/test/libregrtest/runtest.py +0 -254
- package/python3.6.2/lib/python3.6/test/libregrtest/runtest_mp.py +0 -244
- package/python3.6.2/lib/python3.6/test/libregrtest/save_env.py +0 -284
- package/python3.6.2/lib/python3.6/test/libregrtest/setup.py +0 -140
- package/python3.6.2/lib/python3.6/test/list_tests.py +0 -618
- package/python3.6.2/lib/python3.6/test/lock_tests.py +0 -936
- package/python3.6.2/lib/python3.6/test/mailcap.txt +0 -39
- package/python3.6.2/lib/python3.6/test/make_ssl_certs.py +0 -216
- package/python3.6.2/lib/python3.6/test/mapping_tests.py +0 -657
- package/python3.6.2/lib/python3.6/test/math_testcases.txt +0 -633
- package/python3.6.2/lib/python3.6/test/memory_watchdog.py +0 -28
- package/python3.6.2/lib/python3.6/test/mime.types +0 -1445
- package/python3.6.2/lib/python3.6/test/mock_socket.py +0 -159
- package/python3.6.2/lib/python3.6/test/mod_generics_cache.py +0 -53
- package/python3.6.2/lib/python3.6/test/mp_fork_bomb.py +0 -18
- package/python3.6.2/lib/python3.6/test/mp_preload.py +0 -18
- package/python3.6.2/lib/python3.6/test/multibytecodec_support.py +0 -384
- package/python3.6.2/lib/python3.6/test/nokia.pem +0 -31
- package/python3.6.2/lib/python3.6/test/nullbytecert.pem +0 -90
- package/python3.6.2/lib/python3.6/test/nullcert.pem +0 -0
- package/python3.6.2/lib/python3.6/test/outstanding_bugs.py +0 -18
- package/python3.6.2/lib/python3.6/test/pickletester.py +0 -2922
- package/python3.6.2/lib/python3.6/test/profilee.py +0 -115
- package/python3.6.2/lib/python3.6/test/pstats.pck +0 -0
- package/python3.6.2/lib/python3.6/test/pycacert.pem +0 -78
- package/python3.6.2/lib/python3.6/test/pycakey.pem +0 -28
- package/python3.6.2/lib/python3.6/test/pyclbr_input.py +0 -33
- package/python3.6.2/lib/python3.6/test/pydoc_mod.py +0 -37
- package/python3.6.2/lib/python3.6/test/pydocfodder.py +0 -216
- package/python3.6.2/lib/python3.6/test/pystone.py +0 -277
- package/python3.6.2/lib/python3.6/test/pythoninfo.py +0 -486
- package/python3.6.2/lib/python3.6/test/randv2_32.pck +0 -633
- package/python3.6.2/lib/python3.6/test/randv2_64.pck +0 -633
- package/python3.6.2/lib/python3.6/test/randv3.pck +0 -633
- package/python3.6.2/lib/python3.6/test/re_tests.py +0 -670
- package/python3.6.2/lib/python3.6/test/regrtest.py +0 -50
- package/python3.6.2/lib/python3.6/test/relimport.py +0 -1
- package/python3.6.2/lib/python3.6/test/reperf.py +0 -23
- package/python3.6.2/lib/python3.6/test/revocation.crl +0 -11
- package/python3.6.2/lib/python3.6/test/sample_doctest.py +0 -76
- package/python3.6.2/lib/python3.6/test/sample_doctest_no_docstrings.py +0 -12
- package/python3.6.2/lib/python3.6/test/sample_doctest_no_doctests.py +0 -15
- package/python3.6.2/lib/python3.6/test/selfsigned_pythontestdotnet.pem +0 -16
- package/python3.6.2/lib/python3.6/test/seq_tests.py +0 -414
- package/python3.6.2/lib/python3.6/test/sgml_input.html +0 -212
- package/python3.6.2/lib/python3.6/test/signalinterproctester.py +0 -84
- package/python3.6.2/lib/python3.6/test/sndhdrdata/README +0 -5
- 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 +0 -169
- package/python3.6.2/lib/python3.6/test/ssl_cert.pem +0 -15
- package/python3.6.2/lib/python3.6/test/ssl_key.passwd.pem +0 -18
- package/python3.6.2/lib/python3.6/test/ssl_key.pem +0 -16
- package/python3.6.2/lib/python3.6/test/ssl_servers.py +0 -209
- package/python3.6.2/lib/python3.6/test/ssltests.py +0 -37
- package/python3.6.2/lib/python3.6/test/string_tests.py +0 -1383
- package/python3.6.2/lib/python3.6/test/subprocessdata/fd_status.py +0 -34
- package/python3.6.2/lib/python3.6/test/subprocessdata/input_reader.py +0 -7
- package/python3.6.2/lib/python3.6/test/subprocessdata/qcat.py +0 -7
- package/python3.6.2/lib/python3.6/test/subprocessdata/qgrep.py +0 -10
- package/python3.6.2/lib/python3.6/test/subprocessdata/sigchild_ignore.py +0 -15
- package/python3.6.2/lib/python3.6/test/support/__init__.py +0 -2706
- package/python3.6.2/lib/python3.6/test/support/script_helper.py +0 -259
- package/python3.6.2/lib/python3.6/test/test___all__.py +0 -109
- package/python3.6.2/lib/python3.6/test/test___future__.py +0 -61
- package/python3.6.2/lib/python3.6/test/test__locale.py +0 -193
- package/python3.6.2/lib/python3.6/test/test__opcode.py +0 -20
- package/python3.6.2/lib/python3.6/test/test__osx_support.py +0 -276
- package/python3.6.2/lib/python3.6/test/test_abc.py +0 -420
- package/python3.6.2/lib/python3.6/test/test_abstract_numbers.py +0 -44
- package/python3.6.2/lib/python3.6/test/test_aifc.py +0 -399
- package/python3.6.2/lib/python3.6/test/test_argparse.py +0 -5006
- package/python3.6.2/lib/python3.6/test/test_array.py +0 -1388
- package/python3.6.2/lib/python3.6/test/test_asdl_parser.py +0 -122
- package/python3.6.2/lib/python3.6/test/test_ast.py +0 -1170
- package/python3.6.2/lib/python3.6/test/test_asyncgen.py +0 -1044
- package/python3.6.2/lib/python3.6/test/test_asynchat.py +0 -308
- package/python3.6.2/lib/python3.6/test/test_asyncio/__init__.py +0 -10
- package/python3.6.2/lib/python3.6/test/test_asyncio/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_asyncio/echo.py +0 -8
- package/python3.6.2/lib/python3.6/test/test_asyncio/echo2.py +0 -6
- package/python3.6.2/lib/python3.6/test/test_asyncio/echo3.py +0 -11
- package/python3.6.2/lib/python3.6/test/test_asyncio/keycert3.pem +0 -73
- package/python3.6.2/lib/python3.6/test/test_asyncio/pycacert.pem +0 -78
- package/python3.6.2/lib/python3.6/test/test_asyncio/ssl_cert.pem +0 -15
- package/python3.6.2/lib/python3.6/test/test_asyncio/ssl_key.pem +0 -16
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_base_events.py +0 -1761
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_events.py +0 -2791
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_futures.py +0 -692
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_locks.py +0 -943
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_pep492.py +0 -232
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_proactor_events.py +0 -593
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_queues.py +0 -643
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_selector_events.py +0 -1833
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_sslproto.py +0 -134
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_streams.py +0 -868
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_subprocess.py +0 -532
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_tasks.py +0 -2598
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_transports.py +0 -91
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_unix_events.py +0 -1621
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_windows_events.py +0 -164
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_windows_utils.py +0 -182
- package/python3.6.2/lib/python3.6/test/test_asyncore.py +0 -847
- package/python3.6.2/lib/python3.6/test/test_atexit.py +0 -192
- package/python3.6.2/lib/python3.6/test/test_audioop.py +0 -565
- package/python3.6.2/lib/python3.6/test/test_augassign.py +0 -326
- package/python3.6.2/lib/python3.6/test/test_base64.py +0 -681
- package/python3.6.2/lib/python3.6/test/test_baseexception.py +0 -183
- package/python3.6.2/lib/python3.6/test/test_bigaddrspace.py +0 -101
- package/python3.6.2/lib/python3.6/test/test_bigmem.py +0 -1256
- package/python3.6.2/lib/python3.6/test/test_binascii.py +0 -373
- package/python3.6.2/lib/python3.6/test/test_binhex.py +0 -55
- package/python3.6.2/lib/python3.6/test/test_binop.py +0 -441
- package/python3.6.2/lib/python3.6/test/test_bisect.py +0 -328
- package/python3.6.2/lib/python3.6/test/test_bool.py +0 -368
- package/python3.6.2/lib/python3.6/test/test_buffer.py +0 -4396
- package/python3.6.2/lib/python3.6/test/test_bufio.py +0 -73
- package/python3.6.2/lib/python3.6/test/test_builtin.py +0 -1851
- package/python3.6.2/lib/python3.6/test/test_bytes.py +0 -1759
- package/python3.6.2/lib/python3.6/test/test_bz2.py +0 -1002
- package/python3.6.2/lib/python3.6/test/test_calendar.py +0 -848
- package/python3.6.2/lib/python3.6/test/test_call.py +0 -302
- package/python3.6.2/lib/python3.6/test/test_capi.py +0 -753
- package/python3.6.2/lib/python3.6/test/test_cgi.py +0 -539
- package/python3.6.2/lib/python3.6/test/test_cgitb.py +0 -67
- package/python3.6.2/lib/python3.6/test/test_charmapcodec.py +0 -53
- package/python3.6.2/lib/python3.6/test/test_class.py +0 -599
- package/python3.6.2/lib/python3.6/test/test_cmath.py +0 -643
- package/python3.6.2/lib/python3.6/test/test_cmd.py +0 -243
- package/python3.6.2/lib/python3.6/test/test_cmd_line.py +0 -494
- package/python3.6.2/lib/python3.6/test/test_cmd_line_script.py +0 -648
- package/python3.6.2/lib/python3.6/test/test_code.py +0 -367
- package/python3.6.2/lib/python3.6/test/test_code_module.py +0 -154
- package/python3.6.2/lib/python3.6/test/test_codeccallbacks.py +0 -1074
- package/python3.6.2/lib/python3.6/test/test_codecencodings_cn.py +0 -96
- package/python3.6.2/lib/python3.6/test/test_codecencodings_hk.py +0 -22
- package/python3.6.2/lib/python3.6/test/test_codecencodings_iso2022.py +0 -41
- package/python3.6.2/lib/python3.6/test/test_codecencodings_jp.py +0 -126
- package/python3.6.2/lib/python3.6/test/test_codecencodings_kr.py +0 -69
- package/python3.6.2/lib/python3.6/test/test_codecencodings_tw.py +0 -22
- package/python3.6.2/lib/python3.6/test/test_codecmaps_cn.py +0 -26
- package/python3.6.2/lib/python3.6/test/test_codecmaps_hk.py +0 -15
- package/python3.6.2/lib/python3.6/test/test_codecmaps_jp.py +0 -60
- package/python3.6.2/lib/python3.6/test/test_codecmaps_kr.py +0 -37
- package/python3.6.2/lib/python3.6/test/test_codecmaps_tw.py +0 -27
- package/python3.6.2/lib/python3.6/test/test_codecs.py +0 -3272
- package/python3.6.2/lib/python3.6/test/test_codeop.py +0 -299
- package/python3.6.2/lib/python3.6/test/test_collections.py +0 -1926
- package/python3.6.2/lib/python3.6/test/test_colorsys.py +0 -100
- package/python3.6.2/lib/python3.6/test/test_compare.py +0 -124
- package/python3.6.2/lib/python3.6/test/test_compile.py +0 -720
- package/python3.6.2/lib/python3.6/test/test_compileall.py +0 -547
- package/python3.6.2/lib/python3.6/test/test_complex.py +0 -688
- package/python3.6.2/lib/python3.6/test/test_concurrent_futures.py +0 -836
- package/python3.6.2/lib/python3.6/test/test_configparser.py +0 -2096
- package/python3.6.2/lib/python3.6/test/test_contains.py +0 -114
- package/python3.6.2/lib/python3.6/test/test_contextlib.py +0 -990
- package/python3.6.2/lib/python3.6/test/test_copy.py +0 -888
- package/python3.6.2/lib/python3.6/test/test_copyreg.py +0 -126
- package/python3.6.2/lib/python3.6/test/test_coroutines.py +0 -2151
- package/python3.6.2/lib/python3.6/test/test_cprofile.py +0 -98
- package/python3.6.2/lib/python3.6/test/test_crashers.py +0 -37
- package/python3.6.2/lib/python3.6/test/test_crypt.py +0 -45
- package/python3.6.2/lib/python3.6/test/test_csv.py +0 -1175
- package/python3.6.2/lib/python3.6/test/test_ctypes.py +0 -9
- package/python3.6.2/lib/python3.6/test/test_curses.py +0 -549
- package/python3.6.2/lib/python3.6/test/test_datetime.py +0 -57
- package/python3.6.2/lib/python3.6/test/test_dbm.py +0 -192
- package/python3.6.2/lib/python3.6/test/test_dbm_dumb.py +0 -286
- package/python3.6.2/lib/python3.6/test/test_dbm_gnu.py +0 -97
- package/python3.6.2/lib/python3.6/test/test_dbm_ndbm.py +0 -52
- package/python3.6.2/lib/python3.6/test/test_decimal.py +0 -5707
- package/python3.6.2/lib/python3.6/test/test_decorators.py +0 -304
- package/python3.6.2/lib/python3.6/test/test_defaultdict.py +0 -187
- package/python3.6.2/lib/python3.6/test/test_deque.py +0 -1059
- package/python3.6.2/lib/python3.6/test/test_descr.py +0 -5452
- package/python3.6.2/lib/python3.6/test/test_descrtut.py +0 -486
- package/python3.6.2/lib/python3.6/test/test_devpoll.py +0 -145
- package/python3.6.2/lib/python3.6/test/test_dict.py +0 -1217
- package/python3.6.2/lib/python3.6/test/test_dict_version.py +0 -186
- package/python3.6.2/lib/python3.6/test/test_dictcomps.py +0 -86
- package/python3.6.2/lib/python3.6/test/test_dictviews.py +0 -272
- package/python3.6.2/lib/python3.6/test/test_difflib.py +0 -478
- package/python3.6.2/lib/python3.6/test/test_difflib_expect.html +0 -526
- package/python3.6.2/lib/python3.6/test/test_dis.py +0 -960
- package/python3.6.2/lib/python3.6/test/test_distutils.py +0 -18
- package/python3.6.2/lib/python3.6/test/test_doctest.py +0 -2962
- package/python3.6.2/lib/python3.6/test/test_doctest.txt +0 -17
- package/python3.6.2/lib/python3.6/test/test_doctest2.py +0 -123
- package/python3.6.2/lib/python3.6/test/test_doctest2.txt +0 -14
- package/python3.6.2/lib/python3.6/test/test_doctest3.txt +0 -5
- package/python3.6.2/lib/python3.6/test/test_doctest4.txt +0 -11
- package/python3.6.2/lib/python3.6/test/test_docxmlrpc.py +0 -198
- package/python3.6.2/lib/python3.6/test/test_dtrace.py +0 -178
- package/python3.6.2/lib/python3.6/test/test_dummy_thread.py +0 -256
- package/python3.6.2/lib/python3.6/test/test_dummy_threading.py +0 -60
- package/python3.6.2/lib/python3.6/test/test_dynamic.py +0 -138
- package/python3.6.2/lib/python3.6/test/test_dynamicclassattribute.py +0 -300
- package/python3.6.2/lib/python3.6/test/test_eintr.py +0 -22
- package/python3.6.2/lib/python3.6/test/test_email/__init__.py +0 -166
- package/python3.6.2/lib/python3.6/test/test_email/__main__.py +0 -4
- 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 +0 -19
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_02.txt +0 -136
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_03.txt +0 -16
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_04.txt +0 -37
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_05.txt +0 -28
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_06.txt +0 -33
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_07.txt +0 -83
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_08.txt +0 -24
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_09.txt +0 -24
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_10.txt +0 -39
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_11.txt +0 -7
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_12.txt +0 -36
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_12a.txt +0 -38
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_13.txt +0 -94
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_14.txt +0 -23
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_15.txt +0 -52
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_16.txt +0 -123
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_17.txt +0 -12
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_18.txt +0 -6
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_19.txt +0 -43
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_20.txt +0 -22
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_21.txt +0 -20
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_22.txt +0 -46
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_23.txt +0 -8
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_24.txt +0 -10
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_25.txt +0 -117
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_26.txt +0 -46
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_27.txt +0 -15
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_28.txt +0 -25
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_29.txt +0 -22
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_30.txt +0 -23
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_31.txt +0 -15
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_32.txt +0 -14
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_33.txt +0 -29
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_34.txt +0 -19
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_35.txt +0 -4
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_36.txt +0 -40
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_37.txt +0 -22
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_38.txt +0 -101
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_39.txt +0 -83
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_40.txt +0 -10
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_41.txt +0 -8
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_42.txt +0 -20
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_43.txt +0 -217
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_44.txt +0 -33
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_45.txt +0 -33
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_46.txt +0 -23
- package/python3.6.2/lib/python3.6/test/test_email/test__encoded_words.py +0 -192
- package/python3.6.2/lib/python3.6/test/test_email/test__header_value_parser.py +0 -2723
- package/python3.6.2/lib/python3.6/test/test_email/test_asian_codecs.py +0 -81
- package/python3.6.2/lib/python3.6/test/test_email/test_contentmanager.py +0 -796
- package/python3.6.2/lib/python3.6/test/test_email/test_defect_handling.py +0 -320
- package/python3.6.2/lib/python3.6/test/test_email/test_email.py +0 -5402
- package/python3.6.2/lib/python3.6/test/test_email/test_generator.py +0 -296
- package/python3.6.2/lib/python3.6/test/test_email/test_headerregistry.py +0 -1653
- package/python3.6.2/lib/python3.6/test/test_email/test_inversion.py +0 -70
- package/python3.6.2/lib/python3.6/test/test_email/test_message.py +0 -803
- package/python3.6.2/lib/python3.6/test/test_email/test_parser.py +0 -110
- package/python3.6.2/lib/python3.6/test/test_email/test_pickleable.py +0 -76
- package/python3.6.2/lib/python3.6/test/test_email/test_policy.py +0 -346
- package/python3.6.2/lib/python3.6/test/test_email/test_utils.py +0 -163
- package/python3.6.2/lib/python3.6/test/test_email/torture_test.py +0 -133
- package/python3.6.2/lib/python3.6/test/test_ensurepip.py +0 -310
- package/python3.6.2/lib/python3.6/test/test_enum.py +0 -2618
- package/python3.6.2/lib/python3.6/test/test_enumerate.py +0 -269
- package/python3.6.2/lib/python3.6/test/test_eof.py +0 -28
- package/python3.6.2/lib/python3.6/test/test_epoll.py +0 -255
- package/python3.6.2/lib/python3.6/test/test_errno.py +0 -35
- package/python3.6.2/lib/python3.6/test/test_exception_hierarchy.py +0 -204
- package/python3.6.2/lib/python3.6/test/test_exception_variations.py +0 -176
- package/python3.6.2/lib/python3.6/test/test_exceptions.py +0 -1288
- package/python3.6.2/lib/python3.6/test/test_extcall.py +0 -465
- package/python3.6.2/lib/python3.6/test/test_faulthandler.py +0 -817
- package/python3.6.2/lib/python3.6/test/test_fcntl.py +0 -152
- package/python3.6.2/lib/python3.6/test/test_file.py +0 -329
- package/python3.6.2/lib/python3.6/test/test_file_eintr.py +0 -252
- package/python3.6.2/lib/python3.6/test/test_filecmp.py +0 -217
- package/python3.6.2/lib/python3.6/test/test_fileinput.py +0 -1015
- package/python3.6.2/lib/python3.6/test/test_fileio.py +0 -595
- package/python3.6.2/lib/python3.6/test/test_finalization.py +0 -519
- package/python3.6.2/lib/python3.6/test/test_float.py +0 -1422
- package/python3.6.2/lib/python3.6/test/test_flufl.py +0 -22
- package/python3.6.2/lib/python3.6/test/test_fnmatch.py +0 -128
- package/python3.6.2/lib/python3.6/test/test_fork1.py +0 -112
- package/python3.6.2/lib/python3.6/test/test_format.py +0 -494
- package/python3.6.2/lib/python3.6/test/test_fractions.py +0 -635
- package/python3.6.2/lib/python3.6/test/test_frame.py +0 -165
- package/python3.6.2/lib/python3.6/test/test_fstring.py +0 -1038
- package/python3.6.2/lib/python3.6/test/test_ftplib.py +0 -1091
- package/python3.6.2/lib/python3.6/test/test_funcattrs.py +0 -377
- package/python3.6.2/lib/python3.6/test/test_functools.py +0 -2083
- package/python3.6.2/lib/python3.6/test/test_future.py +0 -108
- package/python3.6.2/lib/python3.6/test/test_future3.py +0 -26
- package/python3.6.2/lib/python3.6/test/test_future4.py +0 -6
- package/python3.6.2/lib/python3.6/test/test_future5.py +0 -21
- package/python3.6.2/lib/python3.6/test/test_gc.py +0 -1031
- package/python3.6.2/lib/python3.6/test/test_gdb.py +0 -936
- package/python3.6.2/lib/python3.6/test/test_generator_stop.py +0 -34
- package/python3.6.2/lib/python3.6/test/test_generators.py +0 -2232
- package/python3.6.2/lib/python3.6/test/test_genericpath.py +0 -537
- package/python3.6.2/lib/python3.6/test/test_genexps.py +0 -285
- package/python3.6.2/lib/python3.6/test/test_getargs2.py +0 -958
- package/python3.6.2/lib/python3.6/test/test_getopt.py +0 -184
- package/python3.6.2/lib/python3.6/test/test_getpass.py +0 -163
- package/python3.6.2/lib/python3.6/test/test_gettext.py +0 -770
- package/python3.6.2/lib/python3.6/test/test_glob.py +0 -317
- package/python3.6.2/lib/python3.6/test/test_global.py +0 -61
- package/python3.6.2/lib/python3.6/test/test_grammar.py +0 -1417
- package/python3.6.2/lib/python3.6/test/test_grp.py +0 -108
- package/python3.6.2/lib/python3.6/test/test_gzip.py +0 -672
- package/python3.6.2/lib/python3.6/test/test_hash.py +0 -346
- package/python3.6.2/lib/python3.6/test/test_hashlib.py +0 -954
- package/python3.6.2/lib/python3.6/test/test_heapq.py +0 -427
- package/python3.6.2/lib/python3.6/test/test_hmac.py +0 -496
- package/python3.6.2/lib/python3.6/test/test_html.py +0 -103
- package/python3.6.2/lib/python3.6/test/test_htmlparser.py +0 -778
- package/python3.6.2/lib/python3.6/test/test_http_cookiejar.py +0 -1772
- package/python3.6.2/lib/python3.6/test/test_http_cookies.py +0 -472
- package/python3.6.2/lib/python3.6/test/test_httplib.py +0 -1903
- package/python3.6.2/lib/python3.6/test/test_httpservers.py +0 -1060
- package/python3.6.2/lib/python3.6/test/test_idle.py +0 -23
- package/python3.6.2/lib/python3.6/test/test_imaplib.py +0 -998
- package/python3.6.2/lib/python3.6/test/test_imghdr.py +0 -140
- package/python3.6.2/lib/python3.6/test/test_imp.py +0 -416
- package/python3.6.2/lib/python3.6/test/test_import/__init__.py +0 -1199
- package/python3.6.2/lib/python3.6/test/test_import/__main__.py +0 -3
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/basic.py +0 -2
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/basic2.py +0 -1
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/indirect.py +0 -1
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/rebinding.py +0 -3
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/rebinding2.py +0 -3
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/subpackage.py +0 -2
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/subpkg/subpackage2.py +0 -2
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/subpkg/util.py +0 -2
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/util.py +0 -2
- package/python3.6.2/lib/python3.6/test/test_import/data/package/__init__.py +0 -2
- 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 +0 -3
- 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 +0 -5
- package/python3.6.2/lib/python3.6/test/test_importlib/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_importlib/abc.py +0 -94
- package/python3.6.2/lib/python3.6/test/test_importlib/builtin/__init__.py +0 -5
- package/python3.6.2/lib/python3.6/test/test_importlib/builtin/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_importlib/builtin/test_finder.py +0 -90
- package/python3.6.2/lib/python3.6/test/test_importlib/builtin/test_loader.py +0 -108
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/__init__.py +0 -5
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_case_sensitivity.py +0 -46
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_finder.py +0 -44
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_loader.py +0 -277
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_path_hook.py +0 -31
- package/python3.6.2/lib/python3.6/test/test_importlib/frozen/__init__.py +0 -5
- package/python3.6.2/lib/python3.6/test/test_importlib/frozen/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_importlib/frozen/test_finder.py +0 -84
- package/python3.6.2/lib/python3.6/test/test_importlib/frozen/test_loader.py +0 -225
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/__init__.py +0 -5
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test___loader__.py +0 -75
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test___package__.py +0 -163
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_api.py +0 -119
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_caching.py +0 -93
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_fromlist.py +0 -175
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_meta_path.py +0 -125
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_packages.py +0 -110
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_path.py +0 -257
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_relative_imports.py +0 -232
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/both_portions/foo/one.py +0 -1
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/both_portions/foo/two.py +0 -1
- 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 +0 -1
- 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 +0 -1
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/portion1/foo/one.py +0 -1
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/portion2/foo/two.py +0 -1
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/project1/parent/child/one.py +0 -1
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/project2/parent/child/two.py +0 -1
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/project3/parent/child/three.py +0 -1
- 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 +0 -5
- package/python3.6.2/lib/python3.6/test/test_importlib/source/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_case_sensitivity.py +0 -85
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_file_loader.py +0 -602
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_finder.py +0 -236
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_path_hook.py +0 -41
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_source_encoding.py +0 -175
- package/python3.6.2/lib/python3.6/test/test_importlib/test_abc.py +0 -953
- package/python3.6.2/lib/python3.6/test/test_importlib/test_api.py +0 -449
- package/python3.6.2/lib/python3.6/test/test_importlib/test_lazy.py +0 -145
- package/python3.6.2/lib/python3.6/test/test_importlib/test_locks.py +0 -175
- package/python3.6.2/lib/python3.6/test/test_importlib/test_namespace_pkgs.py +0 -321
- package/python3.6.2/lib/python3.6/test/test_importlib/test_spec.py +0 -819
- package/python3.6.2/lib/python3.6/test/test_importlib/test_util.py +0 -805
- package/python3.6.2/lib/python3.6/test/test_importlib/test_windows.py +0 -109
- package/python3.6.2/lib/python3.6/test/test_importlib/util.py +0 -388
- package/python3.6.2/lib/python3.6/test/test_index.py +0 -275
- package/python3.6.2/lib/python3.6/test/test_inspect.py +0 -3725
- package/python3.6.2/lib/python3.6/test/test_int.py +0 -518
- package/python3.6.2/lib/python3.6/test/test_int_literal.py +0 -143
- package/python3.6.2/lib/python3.6/test/test_io.py +0 -4054
- package/python3.6.2/lib/python3.6/test/test_ioctl.py +0 -91
- package/python3.6.2/lib/python3.6/test/test_ipaddress.py +0 -1972
- package/python3.6.2/lib/python3.6/test/test_isinstance.py +0 -280
- package/python3.6.2/lib/python3.6/test/test_iter.py +0 -1016
- package/python3.6.2/lib/python3.6/test/test_iterlen.py +0 -228
- package/python3.6.2/lib/python3.6/test/test_itertools.py +0 -2340
- package/python3.6.2/lib/python3.6/test/test_json/__init__.py +0 -56
- package/python3.6.2/lib/python3.6/test/test_json/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_json/test_decode.py +0 -97
- package/python3.6.2/lib/python3.6/test/test_json/test_default.py +0 -12
- package/python3.6.2/lib/python3.6/test/test_json/test_dump.py +0 -68
- package/python3.6.2/lib/python3.6/test/test_json/test_encode_basestring_ascii.py +0 -48
- package/python3.6.2/lib/python3.6/test/test_json/test_enum.py +0 -120
- package/python3.6.2/lib/python3.6/test/test_json/test_fail.py +0 -216
- package/python3.6.2/lib/python3.6/test/test_json/test_float.py +0 -33
- package/python3.6.2/lib/python3.6/test/test_json/test_indent.py +0 -67
- package/python3.6.2/lib/python3.6/test/test_json/test_pass1.py +0 -75
- package/python3.6.2/lib/python3.6/test/test_json/test_pass2.py +0 -18
- package/python3.6.2/lib/python3.6/test/test_json/test_pass3.py +0 -24
- package/python3.6.2/lib/python3.6/test/test_json/test_recursion.py +0 -100
- package/python3.6.2/lib/python3.6/test/test_json/test_scanstring.py +0 -141
- package/python3.6.2/lib/python3.6/test/test_json/test_separators.py +0 -50
- package/python3.6.2/lib/python3.6/test/test_json/test_speedups.py +0 -71
- package/python3.6.2/lib/python3.6/test/test_json/test_tool.py +0 -107
- package/python3.6.2/lib/python3.6/test/test_json/test_unicode.py +0 -98
- package/python3.6.2/lib/python3.6/test/test_keyword.py +0 -138
- package/python3.6.2/lib/python3.6/test/test_keywordonlyarg.py +0 -189
- package/python3.6.2/lib/python3.6/test/test_kqueue.py +0 -263
- package/python3.6.2/lib/python3.6/test/test_largefile.py +0 -180
- package/python3.6.2/lib/python3.6/test/test_lib2to3.py +0 -5
- package/python3.6.2/lib/python3.6/test/test_linecache.py +0 -242
- package/python3.6.2/lib/python3.6/test/test_list.py +0 -155
- package/python3.6.2/lib/python3.6/test/test_listcomps.py +0 -148
- package/python3.6.2/lib/python3.6/test/test_locale.py +0 -587
- package/python3.6.2/lib/python3.6/test/test_logging.py +0 -4442
- package/python3.6.2/lib/python3.6/test/test_long.py +0 -1322
- package/python3.6.2/lib/python3.6/test/test_longexp.py +0 -10
- package/python3.6.2/lib/python3.6/test/test_lzma.py +0 -1764
- package/python3.6.2/lib/python3.6/test/test_macpath.py +0 -149
- package/python3.6.2/lib/python3.6/test/test_macurl2path.py +0 -31
- package/python3.6.2/lib/python3.6/test/test_mailbox.py +0 -2288
- package/python3.6.2/lib/python3.6/test/test_mailcap.py +0 -239
- package/python3.6.2/lib/python3.6/test/test_marshal.py +0 -556
- package/python3.6.2/lib/python3.6/test/test_math.py +0 -1422
- package/python3.6.2/lib/python3.6/test/test_memoryio.py +0 -842
- package/python3.6.2/lib/python3.6/test/test_memoryview.py +0 -537
- package/python3.6.2/lib/python3.6/test/test_metaclass.py +0 -265
- package/python3.6.2/lib/python3.6/test/test_mimetypes.py +0 -111
- package/python3.6.2/lib/python3.6/test/test_minidom.py +0 -1574
- package/python3.6.2/lib/python3.6/test/test_mmap.py +0 -803
- package/python3.6.2/lib/python3.6/test/test_module.py +0 -244
- package/python3.6.2/lib/python3.6/test/test_modulefinder.py +0 -337
- package/python3.6.2/lib/python3.6/test/test_msilib.py +0 -99
- package/python3.6.2/lib/python3.6/test/test_multibytecodec.py +0 -270
- package/python3.6.2/lib/python3.6/test/test_multiprocessing_fork.py +0 -13
- package/python3.6.2/lib/python3.6/test/test_multiprocessing_forkserver.py +0 -12
- package/python3.6.2/lib/python3.6/test/test_multiprocessing_main_handling.py +0 -290
- package/python3.6.2/lib/python3.6/test/test_multiprocessing_spawn.py +0 -12
- package/python3.6.2/lib/python3.6/test/test_netrc.py +0 -133
- package/python3.6.2/lib/python3.6/test/test_nis.py +0 -39
- package/python3.6.2/lib/python3.6/test/test_nntplib.py +0 -1581
- package/python3.6.2/lib/python3.6/test/test_normalization.py +0 -108
- package/python3.6.2/lib/python3.6/test/test_ntpath.py +0 -539
- package/python3.6.2/lib/python3.6/test/test_numeric_tower.py +0 -202
- package/python3.6.2/lib/python3.6/test/test_opcodes.py +0 -135
- package/python3.6.2/lib/python3.6/test/test_openpty.py +0 -21
- package/python3.6.2/lib/python3.6/test/test_operator.py +0 -609
- package/python3.6.2/lib/python3.6/test/test_optparse.py +0 -1664
- package/python3.6.2/lib/python3.6/test/test_ordered_dict.py +0 -787
- package/python3.6.2/lib/python3.6/test/test_os.py +0 -3548
- package/python3.6.2/lib/python3.6/test/test_ossaudiodev.py +0 -202
- package/python3.6.2/lib/python3.6/test/test_osx_env.py +0 -34
- package/python3.6.2/lib/python3.6/test/test_parser.py +0 -905
- package/python3.6.2/lib/python3.6/test/test_pathlib.py +0 -2252
- package/python3.6.2/lib/python3.6/test/test_pdb.py +0 -1124
- package/python3.6.2/lib/python3.6/test/test_peepholer.py +0 -325
- package/python3.6.2/lib/python3.6/test/test_pickle.py +0 -514
- package/python3.6.2/lib/python3.6/test/test_pickletools.py +0 -99
- package/python3.6.2/lib/python3.6/test/test_pipes.py +0 -203
- package/python3.6.2/lib/python3.6/test/test_pkg.py +0 -295
- package/python3.6.2/lib/python3.6/test/test_pkgimport.py +0 -80
- package/python3.6.2/lib/python3.6/test/test_pkgutil.py +0 -491
- package/python3.6.2/lib/python3.6/test/test_platform.py +0 -370
- package/python3.6.2/lib/python3.6/test/test_plistlib.py +0 -662
- package/python3.6.2/lib/python3.6/test/test_poll.py +0 -238
- package/python3.6.2/lib/python3.6/test/test_popen.py +0 -65
- package/python3.6.2/lib/python3.6/test/test_poplib.py +0 -520
- package/python3.6.2/lib/python3.6/test/test_posix.py +0 -1298
- package/python3.6.2/lib/python3.6/test/test_posixpath.py +0 -680
- package/python3.6.2/lib/python3.6/test/test_pow.py +0 -123
- package/python3.6.2/lib/python3.6/test/test_pprint.py +0 -1012
- package/python3.6.2/lib/python3.6/test/test_print.py +0 -193
- package/python3.6.2/lib/python3.6/test/test_profile.py +0 -187
- package/python3.6.2/lib/python3.6/test/test_property.py +0 -272
- package/python3.6.2/lib/python3.6/test/test_pstats.py +0 -38
- package/python3.6.2/lib/python3.6/test/test_pty.py +0 -316
- package/python3.6.2/lib/python3.6/test/test_pulldom.py +0 -342
- package/python3.6.2/lib/python3.6/test/test_pwd.py +0 -125
- package/python3.6.2/lib/python3.6/test/test_py_compile.py +0 -127
- package/python3.6.2/lib/python3.6/test/test_pyclbr.py +0 -176
- package/python3.6.2/lib/python3.6/test/test_pydoc.py +0 -1107
- package/python3.6.2/lib/python3.6/test/test_pyexpat.py +0 -733
- package/python3.6.2/lib/python3.6/test/test_queue.py +0 -362
- package/python3.6.2/lib/python3.6/test/test_quopri.py +0 -210
- package/python3.6.2/lib/python3.6/test/test_raise.py +0 -419
- package/python3.6.2/lib/python3.6/test/test_random.py +0 -939
- package/python3.6.2/lib/python3.6/test/test_range.py +0 -693
- package/python3.6.2/lib/python3.6/test/test_re.py +0 -2087
- package/python3.6.2/lib/python3.6/test/test_readline.py +0 -309
- package/python3.6.2/lib/python3.6/test/test_regrtest.py +0 -967
- package/python3.6.2/lib/python3.6/test/test_repl.py +0 -62
- package/python3.6.2/lib/python3.6/test/test_reprlib.py +0 -405
- package/python3.6.2/lib/python3.6/test/test_resource.py +0 -180
- package/python3.6.2/lib/python3.6/test/test_richcmp.py +0 -355
- package/python3.6.2/lib/python3.6/test/test_rlcompleter.py +0 -141
- package/python3.6.2/lib/python3.6/test/test_robotparser.py +0 -335
- package/python3.6.2/lib/python3.6/test/test_runpy.py +0 -749
- package/python3.6.2/lib/python3.6/test/test_sax.py +0 -1273
- package/python3.6.2/lib/python3.6/test/test_sched.py +0 -204
- package/python3.6.2/lib/python3.6/test/test_scope.py +0 -761
- package/python3.6.2/lib/python3.6/test/test_script_helper.py +0 -110
- package/python3.6.2/lib/python3.6/test/test_secrets.py +0 -124
- package/python3.6.2/lib/python3.6/test/test_select.py +0 -82
- package/python3.6.2/lib/python3.6/test/test_selectors.py +0 -526
- package/python3.6.2/lib/python3.6/test/test_set.py +0 -1903
- package/python3.6.2/lib/python3.6/test/test_setcomps.py +0 -151
- package/python3.6.2/lib/python3.6/test/test_shelve.py +0 -228
- package/python3.6.2/lib/python3.6/test/test_shlex.py +0 -318
- package/python3.6.2/lib/python3.6/test/test_shutil.py +0 -1925
- package/python3.6.2/lib/python3.6/test/test_signal.py +0 -1093
- package/python3.6.2/lib/python3.6/test/test_site.py +0 -595
- package/python3.6.2/lib/python3.6/test/test_slice.py +0 -255
- package/python3.6.2/lib/python3.6/test/test_smtpd.py +0 -1013
- package/python3.6.2/lib/python3.6/test/test_smtplib.py +0 -1292
- package/python3.6.2/lib/python3.6/test/test_smtpnet.py +0 -83
- package/python3.6.2/lib/python3.6/test/test_sndhdr.py +0 -37
- package/python3.6.2/lib/python3.6/test/test_socket.py +0 -5648
- package/python3.6.2/lib/python3.6/test/test_socketserver.py +0 -505
- package/python3.6.2/lib/python3.6/test/test_sort.py +0 -265
- package/python3.6.2/lib/python3.6/test/test_source_encoding.py +0 -225
- package/python3.6.2/lib/python3.6/test/test_spwd.py +0 -75
- package/python3.6.2/lib/python3.6/test/test_sqlite.py +0 -24
- package/python3.6.2/lib/python3.6/test/test_ssl.py +0 -3663
- package/python3.6.2/lib/python3.6/test/test_startfile.py +0 -34
- package/python3.6.2/lib/python3.6/test/test_stat.py +0 -234
- package/python3.6.2/lib/python3.6/test/test_statistics.py +0 -1992
- package/python3.6.2/lib/python3.6/test/test_strftime.py +0 -206
- package/python3.6.2/lib/python3.6/test/test_string.py +0 -439
- package/python3.6.2/lib/python3.6/test/test_string_literals.py +0 -249
- package/python3.6.2/lib/python3.6/test/test_stringprep.py +0 -92
- package/python3.6.2/lib/python3.6/test/test_strptime.py +0 -673
- package/python3.6.2/lib/python3.6/test/test_strtod.py +0 -433
- package/python3.6.2/lib/python3.6/test/test_struct.py +0 -756
- package/python3.6.2/lib/python3.6/test/test_structmembers.py +0 -144
- package/python3.6.2/lib/python3.6/test/test_structseq.py +0 -126
- package/python3.6.2/lib/python3.6/test/test_subclassinit.py +0 -284
- package/python3.6.2/lib/python3.6/test/test_subprocess.py +0 -3005
- package/python3.6.2/lib/python3.6/test/test_sunau.py +0 -121
- package/python3.6.2/lib/python3.6/test/test_sundry.py +0 -57
- package/python3.6.2/lib/python3.6/test/test_super.py +0 -347
- package/python3.6.2/lib/python3.6/test/test_support.py +0 -459
- package/python3.6.2/lib/python3.6/test/test_symbol.py +0 -54
- package/python3.6.2/lib/python3.6/test/test_symtable.py +0 -193
- package/python3.6.2/lib/python3.6/test/test_syntax.py +0 -618
- package/python3.6.2/lib/python3.6/test/test_sys.py +0 -1270
- package/python3.6.2/lib/python3.6/test/test_sys_setprofile.py +0 -376
- package/python3.6.2/lib/python3.6/test/test_sys_settrace.py +0 -854
- package/python3.6.2/lib/python3.6/test/test_sysconfig.py +0 -445
- package/python3.6.2/lib/python3.6/test/test_syslog.py +0 -40
- package/python3.6.2/lib/python3.6/test/test_tarfile.py +0 -2635
- package/python3.6.2/lib/python3.6/test/test_tcl.py +0 -715
- package/python3.6.2/lib/python3.6/test/test_telnetlib.py +0 -401
- package/python3.6.2/lib/python3.6/test/test_tempfile.py +0 -1458
- package/python3.6.2/lib/python3.6/test/test_textwrap.py +0 -981
- package/python3.6.2/lib/python3.6/test/test_thread.py +0 -269
- package/python3.6.2/lib/python3.6/test/test_threaded_import.py +0 -254
- package/python3.6.2/lib/python3.6/test/test_threadedtempfile.py +0 -62
- package/python3.6.2/lib/python3.6/test/test_threading.py +0 -1170
- package/python3.6.2/lib/python3.6/test/test_threading_local.py +0 -220
- package/python3.6.2/lib/python3.6/test/test_threadsignals.py +0 -227
- package/python3.6.2/lib/python3.6/test/test_time.py +0 -1000
- package/python3.6.2/lib/python3.6/test/test_timeit.py +0 -381
- package/python3.6.2/lib/python3.6/test/test_timeout.py +0 -303
- package/python3.6.2/lib/python3.6/test/test_tix.py +0 -32
- package/python3.6.2/lib/python3.6/test/test_tk.py +0 -15
- package/python3.6.2/lib/python3.6/test/test_tokenize.py +0 -1590
- package/python3.6.2/lib/python3.6/test/test_tools/__init__.py +0 -24
- package/python3.6.2/lib/python3.6/test/test_tools/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_tools/test_fixcid.py +0 -92
- package/python3.6.2/lib/python3.6/test/test_tools/test_gprof2html.py +0 -35
- package/python3.6.2/lib/python3.6/test/test_tools/test_i18n.py +0 -72
- package/python3.6.2/lib/python3.6/test/test_tools/test_md5sum.py +0 -76
- package/python3.6.2/lib/python3.6/test/test_tools/test_pdeps.py +0 -32
- package/python3.6.2/lib/python3.6/test/test_tools/test_pindent.py +0 -339
- package/python3.6.2/lib/python3.6/test/test_tools/test_reindent.py +0 -35
- package/python3.6.2/lib/python3.6/test/test_tools/test_sundry.py +0 -53
- package/python3.6.2/lib/python3.6/test/test_tools/test_unparse.py +0 -313
- package/python3.6.2/lib/python3.6/test/test_trace.py +0 -391
- package/python3.6.2/lib/python3.6/test/test_traceback.py +0 -1111
- package/python3.6.2/lib/python3.6/test/test_tracemalloc.py +0 -994
- package/python3.6.2/lib/python3.6/test/test_ttk_guionly.py +0 -34
- package/python3.6.2/lib/python3.6/test/test_ttk_textonly.py +0 -13
- package/python3.6.2/lib/python3.6/test/test_tuple.py +0 -221
- package/python3.6.2/lib/python3.6/test/test_turtle.py +0 -436
- package/python3.6.2/lib/python3.6/test/test_typechecks.py +0 -71
- package/python3.6.2/lib/python3.6/test/test_types.py +0 -1550
- package/python3.6.2/lib/python3.6/test/test_typing.py +0 -2577
- package/python3.6.2/lib/python3.6/test/test_ucn.py +0 -237
- package/python3.6.2/lib/python3.6/test/test_unary.py +0 -53
- package/python3.6.2/lib/python3.6/test/test_unicode.py +0 -2894
- package/python3.6.2/lib/python3.6/test/test_unicode_file.py +0 -140
- package/python3.6.2/lib/python3.6/test/test_unicode_file_functions.py +0 -195
- package/python3.6.2/lib/python3.6/test/test_unicode_identifiers.py +0 -31
- package/python3.6.2/lib/python3.6/test/test_unicodedata.py +0 -316
- package/python3.6.2/lib/python3.6/test/test_unittest.py +0 -16
- package/python3.6.2/lib/python3.6/test/test_univnewlines.py +0 -123
- package/python3.6.2/lib/python3.6/test/test_unpack.py +0 -151
- package/python3.6.2/lib/python3.6/test/test_unpack_ex.py +0 -365
- package/python3.6.2/lib/python3.6/test/test_urllib.py +0 -1572
- package/python3.6.2/lib/python3.6/test/test_urllib2.py +0 -1930
- package/python3.6.2/lib/python3.6/test/test_urllib2_localnet.py +0 -679
- package/python3.6.2/lib/python3.6/test/test_urllib2net.py +0 -329
- package/python3.6.2/lib/python3.6/test/test_urllib_response.py +0 -59
- package/python3.6.2/lib/python3.6/test/test_urllibnet.py +0 -218
- package/python3.6.2/lib/python3.6/test/test_urlparse.py +0 -1122
- package/python3.6.2/lib/python3.6/test/test_userdict.py +0 -220
- package/python3.6.2/lib/python3.6/test/test_userlist.py +0 -63
- package/python3.6.2/lib/python3.6/test/test_userstring.py +0 -44
- package/python3.6.2/lib/python3.6/test/test_utf8source.py +0 -43
- package/python3.6.2/lib/python3.6/test/test_uu.py +0 -260
- package/python3.6.2/lib/python3.6/test/test_uuid.py +0 -511
- package/python3.6.2/lib/python3.6/test/test_venv.py +0 -433
- package/python3.6.2/lib/python3.6/test/test_wait3.py +0 -38
- package/python3.6.2/lib/python3.6/test/test_wait4.py +0 -39
- package/python3.6.2/lib/python3.6/test/test_warnings/__init__.py +0 -1216
- package/python3.6.2/lib/python3.6/test/test_warnings/__main__.py +0 -3
- package/python3.6.2/lib/python3.6/test/test_warnings/data/import_warning.py +0 -3
- package/python3.6.2/lib/python3.6/test/test_warnings/data/stacklevel.py +0 -9
- package/python3.6.2/lib/python3.6/test/test_wave.py +0 -113
- package/python3.6.2/lib/python3.6/test/test_weakref.py +0 -1952
- package/python3.6.2/lib/python3.6/test/test_weakset.py +0 -439
- package/python3.6.2/lib/python3.6/test/test_webbrowser.py +0 -217
- package/python3.6.2/lib/python3.6/test/test_winconsoleio.py +0 -191
- package/python3.6.2/lib/python3.6/test/test_winreg.py +0 -498
- package/python3.6.2/lib/python3.6/test/test_winsound.py +0 -150
- package/python3.6.2/lib/python3.6/test/test_with.py +0 -746
- package/python3.6.2/lib/python3.6/test/test_wsgiref.py +0 -785
- package/python3.6.2/lib/python3.6/test/test_xdrlib.py +0 -77
- package/python3.6.2/lib/python3.6/test/test_xml_dom_minicompat.py +0 -138
- package/python3.6.2/lib/python3.6/test/test_xml_etree.py +0 -3166
- package/python3.6.2/lib/python3.6/test/test_xml_etree_c.py +0 -188
- package/python3.6.2/lib/python3.6/test/test_xmlrpc.py +0 -1415
- package/python3.6.2/lib/python3.6/test/test_xmlrpc_net.py +0 -32
- package/python3.6.2/lib/python3.6/test/test_yield_from.py +0 -1052
- package/python3.6.2/lib/python3.6/test/test_zipapp.py +0 -349
- package/python3.6.2/lib/python3.6/test/test_zipfile.py +0 -2241
- package/python3.6.2/lib/python3.6/test/test_zipfile64.py +0 -155
- package/python3.6.2/lib/python3.6/test/test_zipimport.py +0 -759
- package/python3.6.2/lib/python3.6/test/test_zipimport_support.py +0 -244
- package/python3.6.2/lib/python3.6/test/test_zlib.py +0 -898
- package/python3.6.2/lib/python3.6/test/testcodec.py +0 -48
- package/python3.6.2/lib/python3.6/test/testtar.tar +0 -0
- package/python3.6.2/lib/python3.6/test/tf_inherit_check.py +0 -27
- package/python3.6.2/lib/python3.6/test/threaded_import_hangers.py +0 -45
- package/python3.6.2/lib/python3.6/test/time_hashlib.py +0 -88
- package/python3.6.2/lib/python3.6/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt +0 -13
- package/python3.6.2/lib/python3.6/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt +0 -11
- package/python3.6.2/lib/python3.6/test/tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt +0 -13
- package/python3.6.2/lib/python3.6/test/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt +0 -12
- package/python3.6.2/lib/python3.6/test/tokenize_tests.txt +0 -189
- package/python3.6.2/lib/python3.6/test/tracedmodules/__init__.py +0 -4
- package/python3.6.2/lib/python3.6/test/tracedmodules/testmod.py +0 -9
- package/python3.6.2/lib/python3.6/test/win_console_handler.py +0 -49
- package/python3.6.2/lib/python3.6/test/wrongcert.pem +0 -32
- package/python3.6.2/lib/python3.6/test/xmltestdata/expat224_utf8_bug.xml +0 -2
- package/python3.6.2/lib/python3.6/test/xmltestdata/simple-ns.xml +0 -7
- package/python3.6.2/lib/python3.6/test/xmltestdata/simple.xml +0 -6
- package/python3.6.2/lib/python3.6/test/xmltestdata/test.xml +0 -115
- package/python3.6.2/lib/python3.6/test/xmltestdata/test.xml.out +0 -115
- package/python3.6.2/lib/python3.6/test/xmltests.py +0 -21
- 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 +0 -488
- package/python3.6.2/lib/python3.6/this.py +0 -28
- package/python3.6.2/lib/python3.6/threading.py +0 -1357
- package/python3.6.2/lib/python3.6/timeit.py +0 -362
- package/python3.6.2/lib/python3.6/tkinter/__init__.py +0 -4002
- package/python3.6.2/lib/python3.6/tkinter/__main__.py +0 -7
- package/python3.6.2/lib/python3.6/tkinter/colorchooser.py +0 -72
- package/python3.6.2/lib/python3.6/tkinter/commondialog.py +0 -55
- package/python3.6.2/lib/python3.6/tkinter/constants.py +0 -110
- package/python3.6.2/lib/python3.6/tkinter/dialog.py +0 -46
- package/python3.6.2/lib/python3.6/tkinter/dnd.py +0 -321
- package/python3.6.2/lib/python3.6/tkinter/filedialog.py +0 -479
- package/python3.6.2/lib/python3.6/tkinter/font.py +0 -232
- package/python3.6.2/lib/python3.6/tkinter/messagebox.py +0 -134
- package/python3.6.2/lib/python3.6/tkinter/scrolledtext.py +0 -54
- package/python3.6.2/lib/python3.6/tkinter/simpledialog.py +0 -423
- package/python3.6.2/lib/python3.6/tkinter/test/README +0 -14
- package/python3.6.2/lib/python3.6/tkinter/test/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/tkinter/test/runtktests.py +0 -69
- package/python3.6.2/lib/python3.6/tkinter/test/support.py +0 -105
- 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 +0 -96
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_geometry_managers.py +0 -906
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_images.py +0 -327
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_loadtk.py +0 -46
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_misc.py +0 -55
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_text.py +0 -47
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_variables.py +0 -310
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_widgets.py +0 -1204
- 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 +0 -323
- package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/test_functions.py +0 -461
- package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/test_style.py +0 -92
- package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/test_widgets.py +0 -1707
- package/python3.6.2/lib/python3.6/tkinter/test/widget_tests.py +0 -548
- package/python3.6.2/lib/python3.6/tkinter/tix.py +0 -1946
- package/python3.6.2/lib/python3.6/tkinter/ttk.py +0 -1655
- package/python3.6.2/lib/python3.6/token.py +0 -143
- package/python3.6.2/lib/python3.6/tokenize.py +0 -793
- package/python3.6.2/lib/python3.6/trace.py +0 -742
- package/python3.6.2/lib/python3.6/traceback.py +0 -600
- package/python3.6.2/lib/python3.6/tracemalloc.py +0 -524
- package/python3.6.2/lib/python3.6/tty.py +0 -36
- package/python3.6.2/lib/python3.6/turtle.py +0 -4139
- package/python3.6.2/lib/python3.6/turtledemo/__init__.py +0 -14
- package/python3.6.2/lib/python3.6/turtledemo/__main__.py +0 -386
- package/python3.6.2/lib/python3.6/turtledemo/bytedesign.py +0 -161
- package/python3.6.2/lib/python3.6/turtledemo/chaos.py +0 -59
- package/python3.6.2/lib/python3.6/turtledemo/clock.py +0 -132
- package/python3.6.2/lib/python3.6/turtledemo/colormixer.py +0 -58
- package/python3.6.2/lib/python3.6/turtledemo/forest.py +0 -108
- package/python3.6.2/lib/python3.6/turtledemo/fractalcurves.py +0 -138
- package/python3.6.2/lib/python3.6/turtledemo/lindenmayer.py +0 -119
- package/python3.6.2/lib/python3.6/turtledemo/minimal_hanoi.py +0 -79
- package/python3.6.2/lib/python3.6/turtledemo/nim.py +0 -226
- package/python3.6.2/lib/python3.6/turtledemo/paint.py +0 -54
- package/python3.6.2/lib/python3.6/turtledemo/peace.py +0 -61
- package/python3.6.2/lib/python3.6/turtledemo/penrose.py +0 -181
- package/python3.6.2/lib/python3.6/turtledemo/planet_and_moon.py +0 -111
- package/python3.6.2/lib/python3.6/turtledemo/round_dance.py +0 -86
- package/python3.6.2/lib/python3.6/turtledemo/sorting_animate.py +0 -204
- package/python3.6.2/lib/python3.6/turtledemo/tree.py +0 -63
- package/python3.6.2/lib/python3.6/turtledemo/turtle.cfg +0 -10
- package/python3.6.2/lib/python3.6/turtledemo/two_canvases.py +0 -54
- package/python3.6.2/lib/python3.6/turtledemo/wikipedia.py +0 -65
- package/python3.6.2/lib/python3.6/turtledemo/yinyang.py +0 -49
- package/python3.6.2/lib/python3.6/types.py +0 -266
- package/python3.6.2/lib/python3.6/typing.py +0 -2403
- package/python3.6.2/lib/python3.6/unittest/__init__.py +0 -78
- package/python3.6.2/lib/python3.6/unittest/__main__.py +0 -18
- package/python3.6.2/lib/python3.6/unittest/case.py +0 -1429
- package/python3.6.2/lib/python3.6/unittest/loader.py +0 -508
- package/python3.6.2/lib/python3.6/unittest/main.py +0 -260
- package/python3.6.2/lib/python3.6/unittest/mock.py +0 -2407
- package/python3.6.2/lib/python3.6/unittest/result.py +0 -216
- package/python3.6.2/lib/python3.6/unittest/runner.py +0 -221
- package/python3.6.2/lib/python3.6/unittest/signals.py +0 -71
- package/python3.6.2/lib/python3.6/unittest/suite.py +0 -321
- package/python3.6.2/lib/python3.6/unittest/test/__init__.py +0 -22
- package/python3.6.2/lib/python3.6/unittest/test/__main__.py +0 -18
- package/python3.6.2/lib/python3.6/unittest/test/_test_warnings.py +0 -73
- package/python3.6.2/lib/python3.6/unittest/test/dummy.py +0 -1
- package/python3.6.2/lib/python3.6/unittest/test/support.py +0 -138
- package/python3.6.2/lib/python3.6/unittest/test/test_assertions.py +0 -411
- package/python3.6.2/lib/python3.6/unittest/test/test_break.py +0 -291
- package/python3.6.2/lib/python3.6/unittest/test/test_case.py +0 -1833
- package/python3.6.2/lib/python3.6/unittest/test/test_discovery.py +0 -872
- package/python3.6.2/lib/python3.6/unittest/test/test_functiontestcase.py +0 -148
- package/python3.6.2/lib/python3.6/unittest/test/test_loader.py +0 -1529
- package/python3.6.2/lib/python3.6/unittest/test/test_program.py +0 -414
- package/python3.6.2/lib/python3.6/unittest/test/test_result.py +0 -695
- package/python3.6.2/lib/python3.6/unittest/test/test_runner.py +0 -353
- package/python3.6.2/lib/python3.6/unittest/test/test_setups.py +0 -507
- package/python3.6.2/lib/python3.6/unittest/test/test_skipping.py +0 -260
- package/python3.6.2/lib/python3.6/unittest/test/test_suite.py +0 -447
- package/python3.6.2/lib/python3.6/unittest/test/testmock/__init__.py +0 -17
- package/python3.6.2/lib/python3.6/unittest/test/testmock/__main__.py +0 -18
- package/python3.6.2/lib/python3.6/unittest/test/testmock/support.py +0 -21
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testcallable.py +0 -151
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testhelpers.py +0 -946
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testmagicmethods.py +0 -468
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testmock.py +0 -1569
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testpatch.py +0 -1853
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testsentinel.py +0 -28
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testwith.py +0 -301
- package/python3.6.2/lib/python3.6/unittest/util.py +0 -177
- package/python3.6.2/lib/python3.6/urllib/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/urllib/error.py +0 -77
- package/python3.6.2/lib/python3.6/urllib/parse.py +0 -1021
- package/python3.6.2/lib/python3.6/urllib/request.py +0 -2739
- package/python3.6.2/lib/python3.6/urllib/response.py +0 -80
- package/python3.6.2/lib/python3.6/urllib/robotparser.py +0 -250
- package/python3.6.2/lib/python3.6/uu.py +0 -199
- package/python3.6.2/lib/python3.6/uuid.py +0 -629
- package/python3.6.2/lib/python3.6/venv/__init__.py +0 -425
- package/python3.6.2/lib/python3.6/venv/__main__.py +0 -10
- package/python3.6.2/lib/python3.6/venv/scripts/nt/Activate.ps1 +0 -51
- package/python3.6.2/lib/python3.6/venv/scripts/nt/activate.bat +0 -32
- package/python3.6.2/lib/python3.6/venv/scripts/nt/deactivate.bat +0 -21
- package/python3.6.2/lib/python3.6/warnings.py +0 -526
- package/python3.6.2/lib/python3.6/wave.py +0 -505
- package/python3.6.2/lib/python3.6/weakref.py +0 -632
- package/python3.6.2/lib/python3.6/webbrowser.py +0 -664
- package/python3.6.2/lib/python3.6/wsgiref/__init__.py +0 -23
- package/python3.6.2/lib/python3.6/wsgiref/handlers.py +0 -557
- package/python3.6.2/lib/python3.6/wsgiref/headers.py +0 -184
- package/python3.6.2/lib/python3.6/wsgiref/simple_server.py +0 -164
- package/python3.6.2/lib/python3.6/wsgiref/util.py +0 -165
- package/python3.6.2/lib/python3.6/wsgiref/validate.py +0 -443
- package/python3.6.2/lib/python3.6/xdrlib.py +0 -241
- package/python3.6.2/lib/python3.6/xml/__init__.py +0 -20
- package/python3.6.2/lib/python3.6/xml/dom/NodeFilter.py +0 -27
- package/python3.6.2/lib/python3.6/xml/dom/__init__.py +0 -140
- package/python3.6.2/lib/python3.6/xml/dom/domreg.py +0 -97
- package/python3.6.2/lib/python3.6/xml/dom/expatbuilder.py +0 -965
- package/python3.6.2/lib/python3.6/xml/dom/minicompat.py +0 -109
- package/python3.6.2/lib/python3.6/xml/dom/minidom.py +0 -1981
- package/python3.6.2/lib/python3.6/xml/dom/pulldom.py +0 -342
- package/python3.6.2/lib/python3.6/xml/dom/xmlbuilder.py +0 -410
- package/python3.6.2/lib/python3.6/xml/etree/ElementInclude.py +0 -143
- package/python3.6.2/lib/python3.6/xml/etree/ElementPath.py +0 -314
- package/python3.6.2/lib/python3.6/xml/etree/ElementTree.py +0 -1656
- package/python3.6.2/lib/python3.6/xml/etree/__init__.py +0 -33
- package/python3.6.2/lib/python3.6/xml/etree/cElementTree.py +0 -3
- package/python3.6.2/lib/python3.6/xml/parsers/__init__.py +0 -8
- package/python3.6.2/lib/python3.6/xml/parsers/expat.py +0 -8
- package/python3.6.2/lib/python3.6/xml/sax/__init__.py +0 -107
- package/python3.6.2/lib/python3.6/xml/sax/_exceptions.py +0 -131
- package/python3.6.2/lib/python3.6/xml/sax/expatreader.py +0 -446
- package/python3.6.2/lib/python3.6/xml/sax/handler.py +0 -342
- package/python3.6.2/lib/python3.6/xml/sax/saxutils.py +0 -368
- package/python3.6.2/lib/python3.6/xml/sax/xmlreader.py +0 -380
- package/python3.6.2/lib/python3.6/xmlrpc/__init__.py +0 -1
- package/python3.6.2/lib/python3.6/xmlrpc/client.py +0 -1518
- package/python3.6.2/lib/python3.6/xmlrpc/server.py +0 -1002
- package/python3.6.2/lib/python3.6/zipapp.py +0 -201
- package/python3.6.2/lib/python3.6/zipfile.py +0 -2036
|
@@ -1,2922 +0,0 @@
|
|
|
1
|
-
import collections
|
|
2
|
-
import copyreg
|
|
3
|
-
import dbm
|
|
4
|
-
import io
|
|
5
|
-
import functools
|
|
6
|
-
import pickle
|
|
7
|
-
import pickletools
|
|
8
|
-
import struct
|
|
9
|
-
import sys
|
|
10
|
-
import unittest
|
|
11
|
-
import weakref
|
|
12
|
-
from http.cookies import SimpleCookie
|
|
13
|
-
|
|
14
|
-
from test import support
|
|
15
|
-
from test.support import (
|
|
16
|
-
TestFailed, TESTFN, run_with_locale, no_tracing,
|
|
17
|
-
_2G, _4G, bigmemtest,
|
|
18
|
-
)
|
|
19
|
-
|
|
20
|
-
from pickle import bytes_types
|
|
21
|
-
|
|
22
|
-
requires_32b = unittest.skipUnless(sys.maxsize < 2**32,
|
|
23
|
-
"test is only meaningful on 32-bit builds")
|
|
24
|
-
|
|
25
|
-
# Tests that try a number of pickle protocols should have a
|
|
26
|
-
# for proto in protocols:
|
|
27
|
-
# kind of outer loop.
|
|
28
|
-
protocols = range(pickle.HIGHEST_PROTOCOL + 1)
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
# Return True if opcode code appears in the pickle, else False.
|
|
32
|
-
def opcode_in_pickle(code, pickle):
|
|
33
|
-
for op, dummy, dummy in pickletools.genops(pickle):
|
|
34
|
-
if op.code == code.decode("latin-1"):
|
|
35
|
-
return True
|
|
36
|
-
return False
|
|
37
|
-
|
|
38
|
-
# Return the number of times opcode code appears in pickle.
|
|
39
|
-
def count_opcode(code, pickle):
|
|
40
|
-
n = 0
|
|
41
|
-
for op, dummy, dummy in pickletools.genops(pickle):
|
|
42
|
-
if op.code == code.decode("latin-1"):
|
|
43
|
-
n += 1
|
|
44
|
-
return n
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
class UnseekableIO(io.BytesIO):
|
|
48
|
-
def peek(self, *args):
|
|
49
|
-
raise NotImplementedError
|
|
50
|
-
|
|
51
|
-
def seekable(self):
|
|
52
|
-
return False
|
|
53
|
-
|
|
54
|
-
def seek(self, *args):
|
|
55
|
-
raise io.UnsupportedOperation
|
|
56
|
-
|
|
57
|
-
def tell(self):
|
|
58
|
-
raise io.UnsupportedOperation
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
# We can't very well test the extension registry without putting known stuff
|
|
62
|
-
# in it, but we have to be careful to restore its original state. Code
|
|
63
|
-
# should do this:
|
|
64
|
-
#
|
|
65
|
-
# e = ExtensionSaver(extension_code)
|
|
66
|
-
# try:
|
|
67
|
-
# fiddle w/ the extension registry's stuff for extension_code
|
|
68
|
-
# finally:
|
|
69
|
-
# e.restore()
|
|
70
|
-
|
|
71
|
-
class ExtensionSaver:
|
|
72
|
-
# Remember current registration for code (if any), and remove it (if
|
|
73
|
-
# there is one).
|
|
74
|
-
def __init__(self, code):
|
|
75
|
-
self.code = code
|
|
76
|
-
if code in copyreg._inverted_registry:
|
|
77
|
-
self.pair = copyreg._inverted_registry[code]
|
|
78
|
-
copyreg.remove_extension(self.pair[0], self.pair[1], code)
|
|
79
|
-
else:
|
|
80
|
-
self.pair = None
|
|
81
|
-
|
|
82
|
-
# Restore previous registration for code.
|
|
83
|
-
def restore(self):
|
|
84
|
-
code = self.code
|
|
85
|
-
curpair = copyreg._inverted_registry.get(code)
|
|
86
|
-
if curpair is not None:
|
|
87
|
-
copyreg.remove_extension(curpair[0], curpair[1], code)
|
|
88
|
-
pair = self.pair
|
|
89
|
-
if pair is not None:
|
|
90
|
-
copyreg.add_extension(pair[0], pair[1], code)
|
|
91
|
-
|
|
92
|
-
class C:
|
|
93
|
-
def __eq__(self, other):
|
|
94
|
-
return self.__dict__ == other.__dict__
|
|
95
|
-
|
|
96
|
-
class D(C):
|
|
97
|
-
def __init__(self, arg):
|
|
98
|
-
pass
|
|
99
|
-
|
|
100
|
-
class E(C):
|
|
101
|
-
def __getinitargs__(self):
|
|
102
|
-
return ()
|
|
103
|
-
|
|
104
|
-
class H(object):
|
|
105
|
-
pass
|
|
106
|
-
|
|
107
|
-
# Hashable mutable key
|
|
108
|
-
class K(object):
|
|
109
|
-
def __init__(self, value):
|
|
110
|
-
self.value = value
|
|
111
|
-
|
|
112
|
-
def __reduce__(self):
|
|
113
|
-
# Shouldn't support the recursion itself
|
|
114
|
-
return K, (self.value,)
|
|
115
|
-
|
|
116
|
-
import __main__
|
|
117
|
-
__main__.C = C
|
|
118
|
-
C.__module__ = "__main__"
|
|
119
|
-
__main__.D = D
|
|
120
|
-
D.__module__ = "__main__"
|
|
121
|
-
__main__.E = E
|
|
122
|
-
E.__module__ = "__main__"
|
|
123
|
-
__main__.H = H
|
|
124
|
-
H.__module__ = "__main__"
|
|
125
|
-
__main__.K = K
|
|
126
|
-
K.__module__ = "__main__"
|
|
127
|
-
|
|
128
|
-
class myint(int):
|
|
129
|
-
def __init__(self, x):
|
|
130
|
-
self.str = str(x)
|
|
131
|
-
|
|
132
|
-
class initarg(C):
|
|
133
|
-
|
|
134
|
-
def __init__(self, a, b):
|
|
135
|
-
self.a = a
|
|
136
|
-
self.b = b
|
|
137
|
-
|
|
138
|
-
def __getinitargs__(self):
|
|
139
|
-
return self.a, self.b
|
|
140
|
-
|
|
141
|
-
class metaclass(type):
|
|
142
|
-
pass
|
|
143
|
-
|
|
144
|
-
class use_metaclass(object, metaclass=metaclass):
|
|
145
|
-
pass
|
|
146
|
-
|
|
147
|
-
class pickling_metaclass(type):
|
|
148
|
-
def __eq__(self, other):
|
|
149
|
-
return (type(self) == type(other) and
|
|
150
|
-
self.reduce_args == other.reduce_args)
|
|
151
|
-
|
|
152
|
-
def __reduce__(self):
|
|
153
|
-
return (create_dynamic_class, self.reduce_args)
|
|
154
|
-
|
|
155
|
-
def create_dynamic_class(name, bases):
|
|
156
|
-
result = pickling_metaclass(name, bases, dict())
|
|
157
|
-
result.reduce_args = (name, bases)
|
|
158
|
-
return result
|
|
159
|
-
|
|
160
|
-
# DATA0 .. DATA4 are the pickles we expect under the various protocols, for
|
|
161
|
-
# the object returned by create_data().
|
|
162
|
-
|
|
163
|
-
DATA0 = (
|
|
164
|
-
b'(lp0\nL0L\naL1L\naF2.0\n'
|
|
165
|
-
b'ac__builtin__\ncomple'
|
|
166
|
-
b'x\np1\n(F3.0\nF0.0\ntp2\n'
|
|
167
|
-
b'Rp3\naL1L\naL-1L\naL255'
|
|
168
|
-
b'L\naL-255L\naL-256L\naL'
|
|
169
|
-
b'65535L\naL-65535L\naL-'
|
|
170
|
-
b'65536L\naL2147483647L'
|
|
171
|
-
b'\naL-2147483647L\naL-2'
|
|
172
|
-
b'147483648L\na(Vabc\np4'
|
|
173
|
-
b'\ng4\nccopy_reg\n_recon'
|
|
174
|
-
b'structor\np5\n(c__main'
|
|
175
|
-
b'__\nC\np6\nc__builtin__'
|
|
176
|
-
b'\nobject\np7\nNtp8\nRp9\n'
|
|
177
|
-
b'(dp10\nVfoo\np11\nL1L\ns'
|
|
178
|
-
b'Vbar\np12\nL2L\nsbg9\ntp'
|
|
179
|
-
b'13\nag13\naL5L\na.'
|
|
180
|
-
)
|
|
181
|
-
|
|
182
|
-
# Disassembly of DATA0
|
|
183
|
-
DATA0_DIS = """\
|
|
184
|
-
0: ( MARK
|
|
185
|
-
1: l LIST (MARK at 0)
|
|
186
|
-
2: p PUT 0
|
|
187
|
-
5: L LONG 0
|
|
188
|
-
9: a APPEND
|
|
189
|
-
10: L LONG 1
|
|
190
|
-
14: a APPEND
|
|
191
|
-
15: F FLOAT 2.0
|
|
192
|
-
20: a APPEND
|
|
193
|
-
21: c GLOBAL '__builtin__ complex'
|
|
194
|
-
42: p PUT 1
|
|
195
|
-
45: ( MARK
|
|
196
|
-
46: F FLOAT 3.0
|
|
197
|
-
51: F FLOAT 0.0
|
|
198
|
-
56: t TUPLE (MARK at 45)
|
|
199
|
-
57: p PUT 2
|
|
200
|
-
60: R REDUCE
|
|
201
|
-
61: p PUT 3
|
|
202
|
-
64: a APPEND
|
|
203
|
-
65: L LONG 1
|
|
204
|
-
69: a APPEND
|
|
205
|
-
70: L LONG -1
|
|
206
|
-
75: a APPEND
|
|
207
|
-
76: L LONG 255
|
|
208
|
-
82: a APPEND
|
|
209
|
-
83: L LONG -255
|
|
210
|
-
90: a APPEND
|
|
211
|
-
91: L LONG -256
|
|
212
|
-
98: a APPEND
|
|
213
|
-
99: L LONG 65535
|
|
214
|
-
107: a APPEND
|
|
215
|
-
108: L LONG -65535
|
|
216
|
-
117: a APPEND
|
|
217
|
-
118: L LONG -65536
|
|
218
|
-
127: a APPEND
|
|
219
|
-
128: L LONG 2147483647
|
|
220
|
-
141: a APPEND
|
|
221
|
-
142: L LONG -2147483647
|
|
222
|
-
156: a APPEND
|
|
223
|
-
157: L LONG -2147483648
|
|
224
|
-
171: a APPEND
|
|
225
|
-
172: ( MARK
|
|
226
|
-
173: V UNICODE 'abc'
|
|
227
|
-
178: p PUT 4
|
|
228
|
-
181: g GET 4
|
|
229
|
-
184: c GLOBAL 'copy_reg _reconstructor'
|
|
230
|
-
209: p PUT 5
|
|
231
|
-
212: ( MARK
|
|
232
|
-
213: c GLOBAL '__main__ C'
|
|
233
|
-
225: p PUT 6
|
|
234
|
-
228: c GLOBAL '__builtin__ object'
|
|
235
|
-
248: p PUT 7
|
|
236
|
-
251: N NONE
|
|
237
|
-
252: t TUPLE (MARK at 212)
|
|
238
|
-
253: p PUT 8
|
|
239
|
-
256: R REDUCE
|
|
240
|
-
257: p PUT 9
|
|
241
|
-
260: ( MARK
|
|
242
|
-
261: d DICT (MARK at 260)
|
|
243
|
-
262: p PUT 10
|
|
244
|
-
266: V UNICODE 'foo'
|
|
245
|
-
271: p PUT 11
|
|
246
|
-
275: L LONG 1
|
|
247
|
-
279: s SETITEM
|
|
248
|
-
280: V UNICODE 'bar'
|
|
249
|
-
285: p PUT 12
|
|
250
|
-
289: L LONG 2
|
|
251
|
-
293: s SETITEM
|
|
252
|
-
294: b BUILD
|
|
253
|
-
295: g GET 9
|
|
254
|
-
298: t TUPLE (MARK at 172)
|
|
255
|
-
299: p PUT 13
|
|
256
|
-
303: a APPEND
|
|
257
|
-
304: g GET 13
|
|
258
|
-
308: a APPEND
|
|
259
|
-
309: L LONG 5
|
|
260
|
-
313: a APPEND
|
|
261
|
-
314: . STOP
|
|
262
|
-
highest protocol among opcodes = 0
|
|
263
|
-
"""
|
|
264
|
-
|
|
265
|
-
DATA1 = (
|
|
266
|
-
b']q\x00(K\x00K\x01G@\x00\x00\x00\x00\x00\x00\x00c__'
|
|
267
|
-
b'builtin__\ncomplex\nq\x01'
|
|
268
|
-
b'(G@\x08\x00\x00\x00\x00\x00\x00G\x00\x00\x00\x00\x00\x00\x00\x00t'
|
|
269
|
-
b'q\x02Rq\x03K\x01J\xff\xff\xff\xffK\xffJ\x01\xff\xff\xffJ'
|
|
270
|
-
b'\x00\xff\xff\xffM\xff\xffJ\x01\x00\xff\xffJ\x00\x00\xff\xffJ\xff\xff'
|
|
271
|
-
b'\xff\x7fJ\x01\x00\x00\x80J\x00\x00\x00\x80(X\x03\x00\x00\x00ab'
|
|
272
|
-
b'cq\x04h\x04ccopy_reg\n_reco'
|
|
273
|
-
b'nstructor\nq\x05(c__main'
|
|
274
|
-
b'__\nC\nq\x06c__builtin__\n'
|
|
275
|
-
b'object\nq\x07Ntq\x08Rq\t}q\n('
|
|
276
|
-
b'X\x03\x00\x00\x00fooq\x0bK\x01X\x03\x00\x00\x00bar'
|
|
277
|
-
b'q\x0cK\x02ubh\ttq\rh\rK\x05e.'
|
|
278
|
-
)
|
|
279
|
-
|
|
280
|
-
# Disassembly of DATA1
|
|
281
|
-
DATA1_DIS = """\
|
|
282
|
-
0: ] EMPTY_LIST
|
|
283
|
-
1: q BINPUT 0
|
|
284
|
-
3: ( MARK
|
|
285
|
-
4: K BININT1 0
|
|
286
|
-
6: K BININT1 1
|
|
287
|
-
8: G BINFLOAT 2.0
|
|
288
|
-
17: c GLOBAL '__builtin__ complex'
|
|
289
|
-
38: q BINPUT 1
|
|
290
|
-
40: ( MARK
|
|
291
|
-
41: G BINFLOAT 3.0
|
|
292
|
-
50: G BINFLOAT 0.0
|
|
293
|
-
59: t TUPLE (MARK at 40)
|
|
294
|
-
60: q BINPUT 2
|
|
295
|
-
62: R REDUCE
|
|
296
|
-
63: q BINPUT 3
|
|
297
|
-
65: K BININT1 1
|
|
298
|
-
67: J BININT -1
|
|
299
|
-
72: K BININT1 255
|
|
300
|
-
74: J BININT -255
|
|
301
|
-
79: J BININT -256
|
|
302
|
-
84: M BININT2 65535
|
|
303
|
-
87: J BININT -65535
|
|
304
|
-
92: J BININT -65536
|
|
305
|
-
97: J BININT 2147483647
|
|
306
|
-
102: J BININT -2147483647
|
|
307
|
-
107: J BININT -2147483648
|
|
308
|
-
112: ( MARK
|
|
309
|
-
113: X BINUNICODE 'abc'
|
|
310
|
-
121: q BINPUT 4
|
|
311
|
-
123: h BINGET 4
|
|
312
|
-
125: c GLOBAL 'copy_reg _reconstructor'
|
|
313
|
-
150: q BINPUT 5
|
|
314
|
-
152: ( MARK
|
|
315
|
-
153: c GLOBAL '__main__ C'
|
|
316
|
-
165: q BINPUT 6
|
|
317
|
-
167: c GLOBAL '__builtin__ object'
|
|
318
|
-
187: q BINPUT 7
|
|
319
|
-
189: N NONE
|
|
320
|
-
190: t TUPLE (MARK at 152)
|
|
321
|
-
191: q BINPUT 8
|
|
322
|
-
193: R REDUCE
|
|
323
|
-
194: q BINPUT 9
|
|
324
|
-
196: } EMPTY_DICT
|
|
325
|
-
197: q BINPUT 10
|
|
326
|
-
199: ( MARK
|
|
327
|
-
200: X BINUNICODE 'foo'
|
|
328
|
-
208: q BINPUT 11
|
|
329
|
-
210: K BININT1 1
|
|
330
|
-
212: X BINUNICODE 'bar'
|
|
331
|
-
220: q BINPUT 12
|
|
332
|
-
222: K BININT1 2
|
|
333
|
-
224: u SETITEMS (MARK at 199)
|
|
334
|
-
225: b BUILD
|
|
335
|
-
226: h BINGET 9
|
|
336
|
-
228: t TUPLE (MARK at 112)
|
|
337
|
-
229: q BINPUT 13
|
|
338
|
-
231: h BINGET 13
|
|
339
|
-
233: K BININT1 5
|
|
340
|
-
235: e APPENDS (MARK at 3)
|
|
341
|
-
236: . STOP
|
|
342
|
-
highest protocol among opcodes = 1
|
|
343
|
-
"""
|
|
344
|
-
|
|
345
|
-
DATA2 = (
|
|
346
|
-
b'\x80\x02]q\x00(K\x00K\x01G@\x00\x00\x00\x00\x00\x00\x00c'
|
|
347
|
-
b'__builtin__\ncomplex\n'
|
|
348
|
-
b'q\x01G@\x08\x00\x00\x00\x00\x00\x00G\x00\x00\x00\x00\x00\x00\x00\x00'
|
|
349
|
-
b'\x86q\x02Rq\x03K\x01J\xff\xff\xff\xffK\xffJ\x01\xff\xff\xff'
|
|
350
|
-
b'J\x00\xff\xff\xffM\xff\xffJ\x01\x00\xff\xffJ\x00\x00\xff\xffJ\xff'
|
|
351
|
-
b'\xff\xff\x7fJ\x01\x00\x00\x80J\x00\x00\x00\x80(X\x03\x00\x00\x00a'
|
|
352
|
-
b'bcq\x04h\x04c__main__\nC\nq\x05'
|
|
353
|
-
b')\x81q\x06}q\x07(X\x03\x00\x00\x00fooq\x08K\x01'
|
|
354
|
-
b'X\x03\x00\x00\x00barq\tK\x02ubh\x06tq\nh'
|
|
355
|
-
b'\nK\x05e.'
|
|
356
|
-
)
|
|
357
|
-
|
|
358
|
-
# Disassembly of DATA2
|
|
359
|
-
DATA2_DIS = """\
|
|
360
|
-
0: \x80 PROTO 2
|
|
361
|
-
2: ] EMPTY_LIST
|
|
362
|
-
3: q BINPUT 0
|
|
363
|
-
5: ( MARK
|
|
364
|
-
6: K BININT1 0
|
|
365
|
-
8: K BININT1 1
|
|
366
|
-
10: G BINFLOAT 2.0
|
|
367
|
-
19: c GLOBAL '__builtin__ complex'
|
|
368
|
-
40: q BINPUT 1
|
|
369
|
-
42: G BINFLOAT 3.0
|
|
370
|
-
51: G BINFLOAT 0.0
|
|
371
|
-
60: \x86 TUPLE2
|
|
372
|
-
61: q BINPUT 2
|
|
373
|
-
63: R REDUCE
|
|
374
|
-
64: q BINPUT 3
|
|
375
|
-
66: K BININT1 1
|
|
376
|
-
68: J BININT -1
|
|
377
|
-
73: K BININT1 255
|
|
378
|
-
75: J BININT -255
|
|
379
|
-
80: J BININT -256
|
|
380
|
-
85: M BININT2 65535
|
|
381
|
-
88: J BININT -65535
|
|
382
|
-
93: J BININT -65536
|
|
383
|
-
98: J BININT 2147483647
|
|
384
|
-
103: J BININT -2147483647
|
|
385
|
-
108: J BININT -2147483648
|
|
386
|
-
113: ( MARK
|
|
387
|
-
114: X BINUNICODE 'abc'
|
|
388
|
-
122: q BINPUT 4
|
|
389
|
-
124: h BINGET 4
|
|
390
|
-
126: c GLOBAL '__main__ C'
|
|
391
|
-
138: q BINPUT 5
|
|
392
|
-
140: ) EMPTY_TUPLE
|
|
393
|
-
141: \x81 NEWOBJ
|
|
394
|
-
142: q BINPUT 6
|
|
395
|
-
144: } EMPTY_DICT
|
|
396
|
-
145: q BINPUT 7
|
|
397
|
-
147: ( MARK
|
|
398
|
-
148: X BINUNICODE 'foo'
|
|
399
|
-
156: q BINPUT 8
|
|
400
|
-
158: K BININT1 1
|
|
401
|
-
160: X BINUNICODE 'bar'
|
|
402
|
-
168: q BINPUT 9
|
|
403
|
-
170: K BININT1 2
|
|
404
|
-
172: u SETITEMS (MARK at 147)
|
|
405
|
-
173: b BUILD
|
|
406
|
-
174: h BINGET 6
|
|
407
|
-
176: t TUPLE (MARK at 113)
|
|
408
|
-
177: q BINPUT 10
|
|
409
|
-
179: h BINGET 10
|
|
410
|
-
181: K BININT1 5
|
|
411
|
-
183: e APPENDS (MARK at 5)
|
|
412
|
-
184: . STOP
|
|
413
|
-
highest protocol among opcodes = 2
|
|
414
|
-
"""
|
|
415
|
-
|
|
416
|
-
DATA3 = (
|
|
417
|
-
b'\x80\x03]q\x00(K\x00K\x01G@\x00\x00\x00\x00\x00\x00\x00c'
|
|
418
|
-
b'builtins\ncomplex\nq\x01G'
|
|
419
|
-
b'@\x08\x00\x00\x00\x00\x00\x00G\x00\x00\x00\x00\x00\x00\x00\x00\x86q\x02'
|
|
420
|
-
b'Rq\x03K\x01J\xff\xff\xff\xffK\xffJ\x01\xff\xff\xffJ\x00\xff'
|
|
421
|
-
b'\xff\xffM\xff\xffJ\x01\x00\xff\xffJ\x00\x00\xff\xffJ\xff\xff\xff\x7f'
|
|
422
|
-
b'J\x01\x00\x00\x80J\x00\x00\x00\x80(X\x03\x00\x00\x00abcq'
|
|
423
|
-
b'\x04h\x04c__main__\nC\nq\x05)\x81q'
|
|
424
|
-
b'\x06}q\x07(X\x03\x00\x00\x00barq\x08K\x02X\x03\x00'
|
|
425
|
-
b'\x00\x00fooq\tK\x01ubh\x06tq\nh\nK\x05'
|
|
426
|
-
b'e.'
|
|
427
|
-
)
|
|
428
|
-
|
|
429
|
-
# Disassembly of DATA3
|
|
430
|
-
DATA3_DIS = """\
|
|
431
|
-
0: \x80 PROTO 3
|
|
432
|
-
2: ] EMPTY_LIST
|
|
433
|
-
3: q BINPUT 0
|
|
434
|
-
5: ( MARK
|
|
435
|
-
6: K BININT1 0
|
|
436
|
-
8: K BININT1 1
|
|
437
|
-
10: G BINFLOAT 2.0
|
|
438
|
-
19: c GLOBAL 'builtins complex'
|
|
439
|
-
37: q BINPUT 1
|
|
440
|
-
39: G BINFLOAT 3.0
|
|
441
|
-
48: G BINFLOAT 0.0
|
|
442
|
-
57: \x86 TUPLE2
|
|
443
|
-
58: q BINPUT 2
|
|
444
|
-
60: R REDUCE
|
|
445
|
-
61: q BINPUT 3
|
|
446
|
-
63: K BININT1 1
|
|
447
|
-
65: J BININT -1
|
|
448
|
-
70: K BININT1 255
|
|
449
|
-
72: J BININT -255
|
|
450
|
-
77: J BININT -256
|
|
451
|
-
82: M BININT2 65535
|
|
452
|
-
85: J BININT -65535
|
|
453
|
-
90: J BININT -65536
|
|
454
|
-
95: J BININT 2147483647
|
|
455
|
-
100: J BININT -2147483647
|
|
456
|
-
105: J BININT -2147483648
|
|
457
|
-
110: ( MARK
|
|
458
|
-
111: X BINUNICODE 'abc'
|
|
459
|
-
119: q BINPUT 4
|
|
460
|
-
121: h BINGET 4
|
|
461
|
-
123: c GLOBAL '__main__ C'
|
|
462
|
-
135: q BINPUT 5
|
|
463
|
-
137: ) EMPTY_TUPLE
|
|
464
|
-
138: \x81 NEWOBJ
|
|
465
|
-
139: q BINPUT 6
|
|
466
|
-
141: } EMPTY_DICT
|
|
467
|
-
142: q BINPUT 7
|
|
468
|
-
144: ( MARK
|
|
469
|
-
145: X BINUNICODE 'bar'
|
|
470
|
-
153: q BINPUT 8
|
|
471
|
-
155: K BININT1 2
|
|
472
|
-
157: X BINUNICODE 'foo'
|
|
473
|
-
165: q BINPUT 9
|
|
474
|
-
167: K BININT1 1
|
|
475
|
-
169: u SETITEMS (MARK at 144)
|
|
476
|
-
170: b BUILD
|
|
477
|
-
171: h BINGET 6
|
|
478
|
-
173: t TUPLE (MARK at 110)
|
|
479
|
-
174: q BINPUT 10
|
|
480
|
-
176: h BINGET 10
|
|
481
|
-
178: K BININT1 5
|
|
482
|
-
180: e APPENDS (MARK at 5)
|
|
483
|
-
181: . STOP
|
|
484
|
-
highest protocol among opcodes = 2
|
|
485
|
-
"""
|
|
486
|
-
|
|
487
|
-
DATA4 = (
|
|
488
|
-
b'\x80\x04\x95\xa8\x00\x00\x00\x00\x00\x00\x00]\x94(K\x00K\x01G@'
|
|
489
|
-
b'\x00\x00\x00\x00\x00\x00\x00\x8c\x08builtins\x94\x8c\x07'
|
|
490
|
-
b'complex\x94\x93\x94G@\x08\x00\x00\x00\x00\x00\x00G'
|
|
491
|
-
b'\x00\x00\x00\x00\x00\x00\x00\x00\x86\x94R\x94K\x01J\xff\xff\xff\xffK'
|
|
492
|
-
b'\xffJ\x01\xff\xff\xffJ\x00\xff\xff\xffM\xff\xffJ\x01\x00\xff\xffJ'
|
|
493
|
-
b'\x00\x00\xff\xffJ\xff\xff\xff\x7fJ\x01\x00\x00\x80J\x00\x00\x00\x80('
|
|
494
|
-
b'\x8c\x03abc\x94h\x06\x8c\x08__main__\x94\x8c'
|
|
495
|
-
b'\x01C\x94\x93\x94)\x81\x94}\x94(\x8c\x03bar\x94K\x02\x8c'
|
|
496
|
-
b'\x03foo\x94K\x01ubh\nt\x94h\x0eK\x05e.'
|
|
497
|
-
)
|
|
498
|
-
|
|
499
|
-
# Disassembly of DATA4
|
|
500
|
-
DATA4_DIS = """\
|
|
501
|
-
0: \x80 PROTO 4
|
|
502
|
-
2: \x95 FRAME 168
|
|
503
|
-
11: ] EMPTY_LIST
|
|
504
|
-
12: \x94 MEMOIZE
|
|
505
|
-
13: ( MARK
|
|
506
|
-
14: K BININT1 0
|
|
507
|
-
16: K BININT1 1
|
|
508
|
-
18: G BINFLOAT 2.0
|
|
509
|
-
27: \x8c SHORT_BINUNICODE 'builtins'
|
|
510
|
-
37: \x94 MEMOIZE
|
|
511
|
-
38: \x8c SHORT_BINUNICODE 'complex'
|
|
512
|
-
47: \x94 MEMOIZE
|
|
513
|
-
48: \x93 STACK_GLOBAL
|
|
514
|
-
49: \x94 MEMOIZE
|
|
515
|
-
50: G BINFLOAT 3.0
|
|
516
|
-
59: G BINFLOAT 0.0
|
|
517
|
-
68: \x86 TUPLE2
|
|
518
|
-
69: \x94 MEMOIZE
|
|
519
|
-
70: R REDUCE
|
|
520
|
-
71: \x94 MEMOIZE
|
|
521
|
-
72: K BININT1 1
|
|
522
|
-
74: J BININT -1
|
|
523
|
-
79: K BININT1 255
|
|
524
|
-
81: J BININT -255
|
|
525
|
-
86: J BININT -256
|
|
526
|
-
91: M BININT2 65535
|
|
527
|
-
94: J BININT -65535
|
|
528
|
-
99: J BININT -65536
|
|
529
|
-
104: J BININT 2147483647
|
|
530
|
-
109: J BININT -2147483647
|
|
531
|
-
114: J BININT -2147483648
|
|
532
|
-
119: ( MARK
|
|
533
|
-
120: \x8c SHORT_BINUNICODE 'abc'
|
|
534
|
-
125: \x94 MEMOIZE
|
|
535
|
-
126: h BINGET 6
|
|
536
|
-
128: \x8c SHORT_BINUNICODE '__main__'
|
|
537
|
-
138: \x94 MEMOIZE
|
|
538
|
-
139: \x8c SHORT_BINUNICODE 'C'
|
|
539
|
-
142: \x94 MEMOIZE
|
|
540
|
-
143: \x93 STACK_GLOBAL
|
|
541
|
-
144: \x94 MEMOIZE
|
|
542
|
-
145: ) EMPTY_TUPLE
|
|
543
|
-
146: \x81 NEWOBJ
|
|
544
|
-
147: \x94 MEMOIZE
|
|
545
|
-
148: } EMPTY_DICT
|
|
546
|
-
149: \x94 MEMOIZE
|
|
547
|
-
150: ( MARK
|
|
548
|
-
151: \x8c SHORT_BINUNICODE 'bar'
|
|
549
|
-
156: \x94 MEMOIZE
|
|
550
|
-
157: K BININT1 2
|
|
551
|
-
159: \x8c SHORT_BINUNICODE 'foo'
|
|
552
|
-
164: \x94 MEMOIZE
|
|
553
|
-
165: K BININT1 1
|
|
554
|
-
167: u SETITEMS (MARK at 150)
|
|
555
|
-
168: b BUILD
|
|
556
|
-
169: h BINGET 10
|
|
557
|
-
171: t TUPLE (MARK at 119)
|
|
558
|
-
172: \x94 MEMOIZE
|
|
559
|
-
173: h BINGET 14
|
|
560
|
-
175: K BININT1 5
|
|
561
|
-
177: e APPENDS (MARK at 13)
|
|
562
|
-
178: . STOP
|
|
563
|
-
highest protocol among opcodes = 4
|
|
564
|
-
"""
|
|
565
|
-
|
|
566
|
-
# set([1,2]) pickled from 2.x with protocol 2
|
|
567
|
-
DATA_SET = b'\x80\x02c__builtin__\nset\nq\x00]q\x01(K\x01K\x02e\x85q\x02Rq\x03.'
|
|
568
|
-
|
|
569
|
-
# xrange(5) pickled from 2.x with protocol 2
|
|
570
|
-
DATA_XRANGE = b'\x80\x02c__builtin__\nxrange\nq\x00K\x00K\x05K\x01\x87q\x01Rq\x02.'
|
|
571
|
-
|
|
572
|
-
# a SimpleCookie() object pickled from 2.x with protocol 2
|
|
573
|
-
DATA_COOKIE = (b'\x80\x02cCookie\nSimpleCookie\nq\x00)\x81q\x01U\x03key'
|
|
574
|
-
b'q\x02cCookie\nMorsel\nq\x03)\x81q\x04(U\x07commentq\x05U'
|
|
575
|
-
b'\x00q\x06U\x06domainq\x07h\x06U\x06secureq\x08h\x06U\x07'
|
|
576
|
-
b'expiresq\th\x06U\x07max-ageq\nh\x06U\x07versionq\x0bh\x06U'
|
|
577
|
-
b'\x04pathq\x0ch\x06U\x08httponlyq\rh\x06u}q\x0e(U\x0b'
|
|
578
|
-
b'coded_valueq\x0fU\x05valueq\x10h\x10h\x10h\x02h\x02ubs}q\x11b.')
|
|
579
|
-
|
|
580
|
-
# set([3]) pickled from 2.x with protocol 2
|
|
581
|
-
DATA_SET2 = b'\x80\x02c__builtin__\nset\nq\x00]q\x01K\x03a\x85q\x02Rq\x03.'
|
|
582
|
-
|
|
583
|
-
python2_exceptions_without_args = (
|
|
584
|
-
ArithmeticError,
|
|
585
|
-
AssertionError,
|
|
586
|
-
AttributeError,
|
|
587
|
-
BaseException,
|
|
588
|
-
BufferError,
|
|
589
|
-
BytesWarning,
|
|
590
|
-
DeprecationWarning,
|
|
591
|
-
EOFError,
|
|
592
|
-
EnvironmentError,
|
|
593
|
-
Exception,
|
|
594
|
-
FloatingPointError,
|
|
595
|
-
FutureWarning,
|
|
596
|
-
GeneratorExit,
|
|
597
|
-
IOError,
|
|
598
|
-
ImportError,
|
|
599
|
-
ImportWarning,
|
|
600
|
-
IndentationError,
|
|
601
|
-
IndexError,
|
|
602
|
-
KeyError,
|
|
603
|
-
KeyboardInterrupt,
|
|
604
|
-
LookupError,
|
|
605
|
-
MemoryError,
|
|
606
|
-
NameError,
|
|
607
|
-
NotImplementedError,
|
|
608
|
-
OSError,
|
|
609
|
-
OverflowError,
|
|
610
|
-
PendingDeprecationWarning,
|
|
611
|
-
ReferenceError,
|
|
612
|
-
RuntimeError,
|
|
613
|
-
RuntimeWarning,
|
|
614
|
-
# StandardError is gone in Python 3, we map it to Exception
|
|
615
|
-
StopIteration,
|
|
616
|
-
SyntaxError,
|
|
617
|
-
SyntaxWarning,
|
|
618
|
-
SystemError,
|
|
619
|
-
SystemExit,
|
|
620
|
-
TabError,
|
|
621
|
-
TypeError,
|
|
622
|
-
UnboundLocalError,
|
|
623
|
-
UnicodeError,
|
|
624
|
-
UnicodeWarning,
|
|
625
|
-
UserWarning,
|
|
626
|
-
ValueError,
|
|
627
|
-
Warning,
|
|
628
|
-
ZeroDivisionError,
|
|
629
|
-
)
|
|
630
|
-
|
|
631
|
-
exception_pickle = b'\x80\x02cexceptions\n?\nq\x00)Rq\x01.'
|
|
632
|
-
|
|
633
|
-
# UnicodeEncodeError object pickled from 2.x with protocol 2
|
|
634
|
-
DATA_UEERR = (b'\x80\x02cexceptions\nUnicodeEncodeError\n'
|
|
635
|
-
b'q\x00(U\x05asciiq\x01X\x03\x00\x00\x00fooq\x02K\x00K\x01'
|
|
636
|
-
b'U\x03badq\x03tq\x04Rq\x05.')
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
def create_data():
|
|
640
|
-
c = C()
|
|
641
|
-
c.foo = 1
|
|
642
|
-
c.bar = 2
|
|
643
|
-
x = [0, 1, 2.0, 3.0+0j]
|
|
644
|
-
# Append some integer test cases at cPickle.c's internal size
|
|
645
|
-
# cutoffs.
|
|
646
|
-
uint1max = 0xff
|
|
647
|
-
uint2max = 0xffff
|
|
648
|
-
int4max = 0x7fffffff
|
|
649
|
-
x.extend([1, -1,
|
|
650
|
-
uint1max, -uint1max, -uint1max-1,
|
|
651
|
-
uint2max, -uint2max, -uint2max-1,
|
|
652
|
-
int4max, -int4max, -int4max-1])
|
|
653
|
-
y = ('abc', 'abc', c, c)
|
|
654
|
-
x.append(y)
|
|
655
|
-
x.append(y)
|
|
656
|
-
x.append(5)
|
|
657
|
-
return x
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
class AbstractUnpickleTests(unittest.TestCase):
|
|
661
|
-
# Subclass must define self.loads.
|
|
662
|
-
|
|
663
|
-
_testdata = create_data()
|
|
664
|
-
|
|
665
|
-
def assert_is_copy(self, obj, objcopy, msg=None):
|
|
666
|
-
"""Utility method to verify if two objects are copies of each others.
|
|
667
|
-
"""
|
|
668
|
-
if msg is None:
|
|
669
|
-
msg = "{!r} is not a copy of {!r}".format(obj, objcopy)
|
|
670
|
-
self.assertEqual(obj, objcopy, msg=msg)
|
|
671
|
-
self.assertIs(type(obj), type(objcopy), msg=msg)
|
|
672
|
-
if hasattr(obj, '__dict__'):
|
|
673
|
-
self.assertDictEqual(obj.__dict__, objcopy.__dict__, msg=msg)
|
|
674
|
-
self.assertIsNot(obj.__dict__, objcopy.__dict__, msg=msg)
|
|
675
|
-
if hasattr(obj, '__slots__'):
|
|
676
|
-
self.assertListEqual(obj.__slots__, objcopy.__slots__, msg=msg)
|
|
677
|
-
for slot in obj.__slots__:
|
|
678
|
-
self.assertEqual(
|
|
679
|
-
hasattr(obj, slot), hasattr(objcopy, slot), msg=msg)
|
|
680
|
-
self.assertEqual(getattr(obj, slot, None),
|
|
681
|
-
getattr(objcopy, slot, None), msg=msg)
|
|
682
|
-
|
|
683
|
-
def check_unpickling_error(self, errors, data):
|
|
684
|
-
with self.subTest(data=data), \
|
|
685
|
-
self.assertRaises(errors):
|
|
686
|
-
try:
|
|
687
|
-
self.loads(data)
|
|
688
|
-
except BaseException as exc:
|
|
689
|
-
if support.verbose > 1:
|
|
690
|
-
print('%-32r - %s: %s' %
|
|
691
|
-
(data, exc.__class__.__name__, exc))
|
|
692
|
-
raise
|
|
693
|
-
|
|
694
|
-
def test_load_from_data0(self):
|
|
695
|
-
self.assert_is_copy(self._testdata, self.loads(DATA0))
|
|
696
|
-
|
|
697
|
-
def test_load_from_data1(self):
|
|
698
|
-
self.assert_is_copy(self._testdata, self.loads(DATA1))
|
|
699
|
-
|
|
700
|
-
def test_load_from_data2(self):
|
|
701
|
-
self.assert_is_copy(self._testdata, self.loads(DATA2))
|
|
702
|
-
|
|
703
|
-
def test_load_from_data3(self):
|
|
704
|
-
self.assert_is_copy(self._testdata, self.loads(DATA3))
|
|
705
|
-
|
|
706
|
-
def test_load_from_data4(self):
|
|
707
|
-
self.assert_is_copy(self._testdata, self.loads(DATA4))
|
|
708
|
-
|
|
709
|
-
def test_load_classic_instance(self):
|
|
710
|
-
# See issue5180. Test loading 2.x pickles that
|
|
711
|
-
# contain an instance of old style class.
|
|
712
|
-
for X, args in [(C, ()), (D, ('x',)), (E, ())]:
|
|
713
|
-
xname = X.__name__.encode('ascii')
|
|
714
|
-
# Protocol 0 (text mode pickle):
|
|
715
|
-
"""
|
|
716
|
-
0: ( MARK
|
|
717
|
-
1: i INST '__main__ X' (MARK at 0)
|
|
718
|
-
13: p PUT 0
|
|
719
|
-
16: ( MARK
|
|
720
|
-
17: d DICT (MARK at 16)
|
|
721
|
-
18: p PUT 1
|
|
722
|
-
21: b BUILD
|
|
723
|
-
22: . STOP
|
|
724
|
-
"""
|
|
725
|
-
pickle0 = (b"(i__main__\n"
|
|
726
|
-
b"X\n"
|
|
727
|
-
b"p0\n"
|
|
728
|
-
b"(dp1\nb.").replace(b'X', xname)
|
|
729
|
-
self.assert_is_copy(X(*args), self.loads(pickle0))
|
|
730
|
-
|
|
731
|
-
# Protocol 1 (binary mode pickle)
|
|
732
|
-
"""
|
|
733
|
-
0: ( MARK
|
|
734
|
-
1: c GLOBAL '__main__ X'
|
|
735
|
-
13: q BINPUT 0
|
|
736
|
-
15: o OBJ (MARK at 0)
|
|
737
|
-
16: q BINPUT 1
|
|
738
|
-
18: } EMPTY_DICT
|
|
739
|
-
19: q BINPUT 2
|
|
740
|
-
21: b BUILD
|
|
741
|
-
22: . STOP
|
|
742
|
-
"""
|
|
743
|
-
pickle1 = (b'(c__main__\n'
|
|
744
|
-
b'X\n'
|
|
745
|
-
b'q\x00oq\x01}q\x02b.').replace(b'X', xname)
|
|
746
|
-
self.assert_is_copy(X(*args), self.loads(pickle1))
|
|
747
|
-
|
|
748
|
-
# Protocol 2 (pickle2 = b'\x80\x02' + pickle1)
|
|
749
|
-
"""
|
|
750
|
-
0: \x80 PROTO 2
|
|
751
|
-
2: ( MARK
|
|
752
|
-
3: c GLOBAL '__main__ X'
|
|
753
|
-
15: q BINPUT 0
|
|
754
|
-
17: o OBJ (MARK at 2)
|
|
755
|
-
18: q BINPUT 1
|
|
756
|
-
20: } EMPTY_DICT
|
|
757
|
-
21: q BINPUT 2
|
|
758
|
-
23: b BUILD
|
|
759
|
-
24: . STOP
|
|
760
|
-
"""
|
|
761
|
-
pickle2 = (b'\x80\x02(c__main__\n'
|
|
762
|
-
b'X\n'
|
|
763
|
-
b'q\x00oq\x01}q\x02b.').replace(b'X', xname)
|
|
764
|
-
self.assert_is_copy(X(*args), self.loads(pickle2))
|
|
765
|
-
|
|
766
|
-
def test_maxint64(self):
|
|
767
|
-
maxint64 = (1 << 63) - 1
|
|
768
|
-
data = b'I' + str(maxint64).encode("ascii") + b'\n.'
|
|
769
|
-
got = self.loads(data)
|
|
770
|
-
self.assert_is_copy(maxint64, got)
|
|
771
|
-
|
|
772
|
-
# Try too with a bogus literal.
|
|
773
|
-
data = b'I' + str(maxint64).encode("ascii") + b'JUNK\n.'
|
|
774
|
-
self.check_unpickling_error(ValueError, data)
|
|
775
|
-
|
|
776
|
-
def test_unpickle_from_2x(self):
|
|
777
|
-
# Unpickle non-trivial data from Python 2.x.
|
|
778
|
-
loaded = self.loads(DATA_SET)
|
|
779
|
-
self.assertEqual(loaded, set([1, 2]))
|
|
780
|
-
loaded = self.loads(DATA_XRANGE)
|
|
781
|
-
self.assertEqual(type(loaded), type(range(0)))
|
|
782
|
-
self.assertEqual(list(loaded), list(range(5)))
|
|
783
|
-
loaded = self.loads(DATA_COOKIE)
|
|
784
|
-
self.assertEqual(type(loaded), SimpleCookie)
|
|
785
|
-
self.assertEqual(list(loaded.keys()), ["key"])
|
|
786
|
-
self.assertEqual(loaded["key"].value, "value")
|
|
787
|
-
|
|
788
|
-
# Exception objects without arguments pickled from 2.x with protocol 2
|
|
789
|
-
for exc in python2_exceptions_without_args:
|
|
790
|
-
data = exception_pickle.replace(b'?', exc.__name__.encode("ascii"))
|
|
791
|
-
loaded = self.loads(data)
|
|
792
|
-
self.assertIs(type(loaded), exc)
|
|
793
|
-
|
|
794
|
-
# StandardError is mapped to Exception, test that separately
|
|
795
|
-
loaded = self.loads(exception_pickle.replace(b'?', b'StandardError'))
|
|
796
|
-
self.assertIs(type(loaded), Exception)
|
|
797
|
-
|
|
798
|
-
loaded = self.loads(DATA_UEERR)
|
|
799
|
-
self.assertIs(type(loaded), UnicodeEncodeError)
|
|
800
|
-
self.assertEqual(loaded.object, "foo")
|
|
801
|
-
self.assertEqual(loaded.encoding, "ascii")
|
|
802
|
-
self.assertEqual(loaded.start, 0)
|
|
803
|
-
self.assertEqual(loaded.end, 1)
|
|
804
|
-
self.assertEqual(loaded.reason, "bad")
|
|
805
|
-
|
|
806
|
-
def test_load_python2_str_as_bytes(self):
|
|
807
|
-
# From Python 2: pickle.dumps('a\x00\xa0', protocol=0)
|
|
808
|
-
self.assertEqual(self.loads(b"S'a\\x00\\xa0'\n.",
|
|
809
|
-
encoding="bytes"), b'a\x00\xa0')
|
|
810
|
-
# From Python 2: pickle.dumps('a\x00\xa0', protocol=1)
|
|
811
|
-
self.assertEqual(self.loads(b'U\x03a\x00\xa0.',
|
|
812
|
-
encoding="bytes"), b'a\x00\xa0')
|
|
813
|
-
# From Python 2: pickle.dumps('a\x00\xa0', protocol=2)
|
|
814
|
-
self.assertEqual(self.loads(b'\x80\x02U\x03a\x00\xa0.',
|
|
815
|
-
encoding="bytes"), b'a\x00\xa0')
|
|
816
|
-
|
|
817
|
-
def test_load_python2_unicode_as_str(self):
|
|
818
|
-
# From Python 2: pickle.dumps(u'π', protocol=0)
|
|
819
|
-
self.assertEqual(self.loads(b'V\\u03c0\n.',
|
|
820
|
-
encoding='bytes'), 'π')
|
|
821
|
-
# From Python 2: pickle.dumps(u'π', protocol=1)
|
|
822
|
-
self.assertEqual(self.loads(b'X\x02\x00\x00\x00\xcf\x80.',
|
|
823
|
-
encoding="bytes"), 'π')
|
|
824
|
-
# From Python 2: pickle.dumps(u'π', protocol=2)
|
|
825
|
-
self.assertEqual(self.loads(b'\x80\x02X\x02\x00\x00\x00\xcf\x80.',
|
|
826
|
-
encoding="bytes"), 'π')
|
|
827
|
-
|
|
828
|
-
def test_load_long_python2_str_as_bytes(self):
|
|
829
|
-
# From Python 2: pickle.dumps('x' * 300, protocol=1)
|
|
830
|
-
self.assertEqual(self.loads(pickle.BINSTRING +
|
|
831
|
-
struct.pack("<I", 300) +
|
|
832
|
-
b'x' * 300 + pickle.STOP,
|
|
833
|
-
encoding='bytes'), b'x' * 300)
|
|
834
|
-
|
|
835
|
-
def test_constants(self):
|
|
836
|
-
self.assertIsNone(self.loads(b'N.'))
|
|
837
|
-
self.assertIs(self.loads(b'\x88.'), True)
|
|
838
|
-
self.assertIs(self.loads(b'\x89.'), False)
|
|
839
|
-
self.assertIs(self.loads(b'I01\n.'), True)
|
|
840
|
-
self.assertIs(self.loads(b'I00\n.'), False)
|
|
841
|
-
|
|
842
|
-
def test_empty_bytestring(self):
|
|
843
|
-
# issue 11286
|
|
844
|
-
empty = self.loads(b'\x80\x03U\x00q\x00.', encoding='koi8-r')
|
|
845
|
-
self.assertEqual(empty, '')
|
|
846
|
-
|
|
847
|
-
def test_short_binbytes(self):
|
|
848
|
-
dumped = b'\x80\x03C\x04\xe2\x82\xac\x00.'
|
|
849
|
-
self.assertEqual(self.loads(dumped), b'\xe2\x82\xac\x00')
|
|
850
|
-
|
|
851
|
-
def test_binbytes(self):
|
|
852
|
-
dumped = b'\x80\x03B\x04\x00\x00\x00\xe2\x82\xac\x00.'
|
|
853
|
-
self.assertEqual(self.loads(dumped), b'\xe2\x82\xac\x00')
|
|
854
|
-
|
|
855
|
-
@requires_32b
|
|
856
|
-
def test_negative_32b_binbytes(self):
|
|
857
|
-
# On 32-bit builds, a BINBYTES of 2**31 or more is refused
|
|
858
|
-
dumped = b'\x80\x03B\xff\xff\xff\xffxyzq\x00.'
|
|
859
|
-
self.check_unpickling_error((pickle.UnpicklingError, OverflowError),
|
|
860
|
-
dumped)
|
|
861
|
-
|
|
862
|
-
@requires_32b
|
|
863
|
-
def test_negative_32b_binunicode(self):
|
|
864
|
-
# On 32-bit builds, a BINUNICODE of 2**31 or more is refused
|
|
865
|
-
dumped = b'\x80\x03X\xff\xff\xff\xffxyzq\x00.'
|
|
866
|
-
self.check_unpickling_error((pickle.UnpicklingError, OverflowError),
|
|
867
|
-
dumped)
|
|
868
|
-
|
|
869
|
-
def test_short_binunicode(self):
|
|
870
|
-
dumped = b'\x80\x04\x8c\x04\xe2\x82\xac\x00.'
|
|
871
|
-
self.assertEqual(self.loads(dumped), '\u20ac\x00')
|
|
872
|
-
|
|
873
|
-
def test_misc_get(self):
|
|
874
|
-
self.check_unpickling_error(KeyError, b'g0\np0')
|
|
875
|
-
self.assert_is_copy([(100,), (100,)],
|
|
876
|
-
self.loads(b'((Kdtp0\nh\x00l.))'))
|
|
877
|
-
|
|
878
|
-
def test_binbytes8(self):
|
|
879
|
-
dumped = b'\x80\x04\x8e\4\0\0\0\0\0\0\0\xe2\x82\xac\x00.'
|
|
880
|
-
self.assertEqual(self.loads(dumped), b'\xe2\x82\xac\x00')
|
|
881
|
-
|
|
882
|
-
def test_binunicode8(self):
|
|
883
|
-
dumped = b'\x80\x04\x8d\4\0\0\0\0\0\0\0\xe2\x82\xac\x00.'
|
|
884
|
-
self.assertEqual(self.loads(dumped), '\u20ac\x00')
|
|
885
|
-
|
|
886
|
-
@requires_32b
|
|
887
|
-
def test_large_32b_binbytes8(self):
|
|
888
|
-
dumped = b'\x80\x04\x8e\4\0\0\0\1\0\0\0\xe2\x82\xac\x00.'
|
|
889
|
-
self.check_unpickling_error((pickle.UnpicklingError, OverflowError),
|
|
890
|
-
dumped)
|
|
891
|
-
|
|
892
|
-
@requires_32b
|
|
893
|
-
def test_large_32b_binunicode8(self):
|
|
894
|
-
dumped = b'\x80\x04\x8d\4\0\0\0\1\0\0\0\xe2\x82\xac\x00.'
|
|
895
|
-
self.check_unpickling_error((pickle.UnpicklingError, OverflowError),
|
|
896
|
-
dumped)
|
|
897
|
-
|
|
898
|
-
def test_get(self):
|
|
899
|
-
pickled = b'((lp100000\ng100000\nt.'
|
|
900
|
-
unpickled = self.loads(pickled)
|
|
901
|
-
self.assertEqual(unpickled, ([],)*2)
|
|
902
|
-
self.assertIs(unpickled[0], unpickled[1])
|
|
903
|
-
|
|
904
|
-
def test_binget(self):
|
|
905
|
-
pickled = b'(]q\xffh\xfft.'
|
|
906
|
-
unpickled = self.loads(pickled)
|
|
907
|
-
self.assertEqual(unpickled, ([],)*2)
|
|
908
|
-
self.assertIs(unpickled[0], unpickled[1])
|
|
909
|
-
|
|
910
|
-
def test_long_binget(self):
|
|
911
|
-
pickled = b'(]r\x00\x00\x01\x00j\x00\x00\x01\x00t.'
|
|
912
|
-
unpickled = self.loads(pickled)
|
|
913
|
-
self.assertEqual(unpickled, ([],)*2)
|
|
914
|
-
self.assertIs(unpickled[0], unpickled[1])
|
|
915
|
-
|
|
916
|
-
def test_dup(self):
|
|
917
|
-
pickled = b'((l2t.'
|
|
918
|
-
unpickled = self.loads(pickled)
|
|
919
|
-
self.assertEqual(unpickled, ([],)*2)
|
|
920
|
-
self.assertIs(unpickled[0], unpickled[1])
|
|
921
|
-
|
|
922
|
-
def test_negative_put(self):
|
|
923
|
-
# Issue #12847
|
|
924
|
-
dumped = b'Va\np-1\n.'
|
|
925
|
-
self.check_unpickling_error(ValueError, dumped)
|
|
926
|
-
|
|
927
|
-
@requires_32b
|
|
928
|
-
def test_negative_32b_binput(self):
|
|
929
|
-
# Issue #12847
|
|
930
|
-
dumped = b'\x80\x03X\x01\x00\x00\x00ar\xff\xff\xff\xff.'
|
|
931
|
-
self.check_unpickling_error(ValueError, dumped)
|
|
932
|
-
|
|
933
|
-
def test_badly_escaped_string(self):
|
|
934
|
-
self.check_unpickling_error(ValueError, b"S'\\'\n.")
|
|
935
|
-
|
|
936
|
-
def test_badly_quoted_string(self):
|
|
937
|
-
# Issue #17710
|
|
938
|
-
badpickles = [b"S'\n.",
|
|
939
|
-
b'S"\n.',
|
|
940
|
-
b'S\' \n.',
|
|
941
|
-
b'S" \n.',
|
|
942
|
-
b'S\'"\n.',
|
|
943
|
-
b'S"\'\n.',
|
|
944
|
-
b"S' ' \n.",
|
|
945
|
-
b'S" " \n.',
|
|
946
|
-
b"S ''\n.",
|
|
947
|
-
b'S ""\n.',
|
|
948
|
-
b'S \n.',
|
|
949
|
-
b'S\n.',
|
|
950
|
-
b'S.']
|
|
951
|
-
for p in badpickles:
|
|
952
|
-
self.check_unpickling_error(pickle.UnpicklingError, p)
|
|
953
|
-
|
|
954
|
-
def test_correctly_quoted_string(self):
|
|
955
|
-
goodpickles = [(b"S''\n.", ''),
|
|
956
|
-
(b'S""\n.', ''),
|
|
957
|
-
(b'S"\\n"\n.', '\n'),
|
|
958
|
-
(b"S'\\n'\n.", '\n')]
|
|
959
|
-
for p, expected in goodpickles:
|
|
960
|
-
self.assertEqual(self.loads(p), expected)
|
|
961
|
-
|
|
962
|
-
def test_frame_readline(self):
|
|
963
|
-
pickled = b'\x80\x04\x95\x05\x00\x00\x00\x00\x00\x00\x00I42\n.'
|
|
964
|
-
# 0: \x80 PROTO 4
|
|
965
|
-
# 2: \x95 FRAME 5
|
|
966
|
-
# 11: I INT 42
|
|
967
|
-
# 15: . STOP
|
|
968
|
-
self.assertEqual(self.loads(pickled), 42)
|
|
969
|
-
|
|
970
|
-
def test_compat_unpickle(self):
|
|
971
|
-
# xrange(1, 7)
|
|
972
|
-
pickled = b'\x80\x02c__builtin__\nxrange\nK\x01K\x07K\x01\x87R.'
|
|
973
|
-
unpickled = self.loads(pickled)
|
|
974
|
-
self.assertIs(type(unpickled), range)
|
|
975
|
-
self.assertEqual(unpickled, range(1, 7))
|
|
976
|
-
self.assertEqual(list(unpickled), [1, 2, 3, 4, 5, 6])
|
|
977
|
-
# reduce
|
|
978
|
-
pickled = b'\x80\x02c__builtin__\nreduce\n.'
|
|
979
|
-
self.assertIs(self.loads(pickled), functools.reduce)
|
|
980
|
-
# whichdb.whichdb
|
|
981
|
-
pickled = b'\x80\x02cwhichdb\nwhichdb\n.'
|
|
982
|
-
self.assertIs(self.loads(pickled), dbm.whichdb)
|
|
983
|
-
# Exception(), StandardError()
|
|
984
|
-
for name in (b'Exception', b'StandardError'):
|
|
985
|
-
pickled = (b'\x80\x02cexceptions\n' + name + b'\nU\x03ugh\x85R.')
|
|
986
|
-
unpickled = self.loads(pickled)
|
|
987
|
-
self.assertIs(type(unpickled), Exception)
|
|
988
|
-
self.assertEqual(str(unpickled), 'ugh')
|
|
989
|
-
# UserDict.UserDict({1: 2}), UserDict.IterableUserDict({1: 2})
|
|
990
|
-
for name in (b'UserDict', b'IterableUserDict'):
|
|
991
|
-
pickled = (b'\x80\x02(cUserDict\n' + name +
|
|
992
|
-
b'\no}U\x04data}K\x01K\x02ssb.')
|
|
993
|
-
unpickled = self.loads(pickled)
|
|
994
|
-
self.assertIs(type(unpickled), collections.UserDict)
|
|
995
|
-
self.assertEqual(unpickled, collections.UserDict({1: 2}))
|
|
996
|
-
|
|
997
|
-
def test_bad_stack(self):
|
|
998
|
-
badpickles = [
|
|
999
|
-
b'.', # STOP
|
|
1000
|
-
b'0', # POP
|
|
1001
|
-
b'1', # POP_MARK
|
|
1002
|
-
b'2', # DUP
|
|
1003
|
-
b'(2',
|
|
1004
|
-
b'R', # REDUCE
|
|
1005
|
-
b')R',
|
|
1006
|
-
b'a', # APPEND
|
|
1007
|
-
b'Na',
|
|
1008
|
-
b'b', # BUILD
|
|
1009
|
-
b'Nb',
|
|
1010
|
-
b'd', # DICT
|
|
1011
|
-
b'e', # APPENDS
|
|
1012
|
-
b'(e',
|
|
1013
|
-
b'ibuiltins\nlist\n', # INST
|
|
1014
|
-
b'l', # LIST
|
|
1015
|
-
b'o', # OBJ
|
|
1016
|
-
b'(o',
|
|
1017
|
-
b'p1\n', # PUT
|
|
1018
|
-
b'q\x00', # BINPUT
|
|
1019
|
-
b'r\x00\x00\x00\x00', # LONG_BINPUT
|
|
1020
|
-
b's', # SETITEM
|
|
1021
|
-
b'Ns',
|
|
1022
|
-
b'NNs',
|
|
1023
|
-
b't', # TUPLE
|
|
1024
|
-
b'u', # SETITEMS
|
|
1025
|
-
b'(u',
|
|
1026
|
-
b'}(Nu',
|
|
1027
|
-
b'\x81', # NEWOBJ
|
|
1028
|
-
b')\x81',
|
|
1029
|
-
b'\x85', # TUPLE1
|
|
1030
|
-
b'\x86', # TUPLE2
|
|
1031
|
-
b'N\x86',
|
|
1032
|
-
b'\x87', # TUPLE3
|
|
1033
|
-
b'N\x87',
|
|
1034
|
-
b'NN\x87',
|
|
1035
|
-
b'\x90', # ADDITEMS
|
|
1036
|
-
b'(\x90',
|
|
1037
|
-
b'\x91', # FROZENSET
|
|
1038
|
-
b'\x92', # NEWOBJ_EX
|
|
1039
|
-
b')}\x92',
|
|
1040
|
-
b'\x93', # STACK_GLOBAL
|
|
1041
|
-
b'Vlist\n\x93',
|
|
1042
|
-
b'\x94', # MEMOIZE
|
|
1043
|
-
]
|
|
1044
|
-
for p in badpickles:
|
|
1045
|
-
self.check_unpickling_error(self.bad_stack_errors, p)
|
|
1046
|
-
|
|
1047
|
-
def test_bad_mark(self):
|
|
1048
|
-
badpickles = [
|
|
1049
|
-
b'N(.', # STOP
|
|
1050
|
-
b'N(2', # DUP
|
|
1051
|
-
b'cbuiltins\nlist\n)(R', # REDUCE
|
|
1052
|
-
b'cbuiltins\nlist\n()R',
|
|
1053
|
-
b']N(a', # APPEND
|
|
1054
|
-
# BUILD
|
|
1055
|
-
b'cbuiltins\nValueError\n)R}(b',
|
|
1056
|
-
b'cbuiltins\nValueError\n)R(}b',
|
|
1057
|
-
b'(Nd', # DICT
|
|
1058
|
-
b'N(p1\n', # PUT
|
|
1059
|
-
b'N(q\x00', # BINPUT
|
|
1060
|
-
b'N(r\x00\x00\x00\x00', # LONG_BINPUT
|
|
1061
|
-
b'}NN(s', # SETITEM
|
|
1062
|
-
b'}N(Ns',
|
|
1063
|
-
b'}(NNs',
|
|
1064
|
-
b'}((u', # SETITEMS
|
|
1065
|
-
b'cbuiltins\nlist\n)(\x81', # NEWOBJ
|
|
1066
|
-
b'cbuiltins\nlist\n()\x81',
|
|
1067
|
-
b'N(\x85', # TUPLE1
|
|
1068
|
-
b'NN(\x86', # TUPLE2
|
|
1069
|
-
b'N(N\x86',
|
|
1070
|
-
b'NNN(\x87', # TUPLE3
|
|
1071
|
-
b'NN(N\x87',
|
|
1072
|
-
b'N(NN\x87',
|
|
1073
|
-
b']((\x90', # ADDITEMS
|
|
1074
|
-
# NEWOBJ_EX
|
|
1075
|
-
b'cbuiltins\nlist\n)}(\x92',
|
|
1076
|
-
b'cbuiltins\nlist\n)(}\x92',
|
|
1077
|
-
b'cbuiltins\nlist\n()}\x92',
|
|
1078
|
-
# STACK_GLOBAL
|
|
1079
|
-
b'Vbuiltins\n(Vlist\n\x93',
|
|
1080
|
-
b'Vbuiltins\nVlist\n(\x93',
|
|
1081
|
-
b'N(\x94', # MEMOIZE
|
|
1082
|
-
]
|
|
1083
|
-
for p in badpickles:
|
|
1084
|
-
self.check_unpickling_error(self.bad_stack_errors, p)
|
|
1085
|
-
|
|
1086
|
-
def test_truncated_data(self):
|
|
1087
|
-
self.check_unpickling_error(EOFError, b'')
|
|
1088
|
-
self.check_unpickling_error(EOFError, b'N')
|
|
1089
|
-
badpickles = [
|
|
1090
|
-
b'B', # BINBYTES
|
|
1091
|
-
b'B\x03\x00\x00',
|
|
1092
|
-
b'B\x03\x00\x00\x00',
|
|
1093
|
-
b'B\x03\x00\x00\x00ab',
|
|
1094
|
-
b'C', # SHORT_BINBYTES
|
|
1095
|
-
b'C\x03',
|
|
1096
|
-
b'C\x03ab',
|
|
1097
|
-
b'F', # FLOAT
|
|
1098
|
-
b'F0.0',
|
|
1099
|
-
b'F0.00',
|
|
1100
|
-
b'G', # BINFLOAT
|
|
1101
|
-
b'G\x00\x00\x00\x00\x00\x00\x00',
|
|
1102
|
-
b'I', # INT
|
|
1103
|
-
b'I0',
|
|
1104
|
-
b'J', # BININT
|
|
1105
|
-
b'J\x00\x00\x00',
|
|
1106
|
-
b'K', # BININT1
|
|
1107
|
-
b'L', # LONG
|
|
1108
|
-
b'L0',
|
|
1109
|
-
b'L10',
|
|
1110
|
-
b'L0L',
|
|
1111
|
-
b'L10L',
|
|
1112
|
-
b'M', # BININT2
|
|
1113
|
-
b'M\x00',
|
|
1114
|
-
# b'P', # PERSID
|
|
1115
|
-
# b'Pabc',
|
|
1116
|
-
b'S', # STRING
|
|
1117
|
-
b"S'abc'",
|
|
1118
|
-
b'T', # BINSTRING
|
|
1119
|
-
b'T\x03\x00\x00',
|
|
1120
|
-
b'T\x03\x00\x00\x00',
|
|
1121
|
-
b'T\x03\x00\x00\x00ab',
|
|
1122
|
-
b'U', # SHORT_BINSTRING
|
|
1123
|
-
b'U\x03',
|
|
1124
|
-
b'U\x03ab',
|
|
1125
|
-
b'V', # UNICODE
|
|
1126
|
-
b'Vabc',
|
|
1127
|
-
b'X', # BINUNICODE
|
|
1128
|
-
b'X\x03\x00\x00',
|
|
1129
|
-
b'X\x03\x00\x00\x00',
|
|
1130
|
-
b'X\x03\x00\x00\x00ab',
|
|
1131
|
-
b'(c', # GLOBAL
|
|
1132
|
-
b'(cbuiltins',
|
|
1133
|
-
b'(cbuiltins\n',
|
|
1134
|
-
b'(cbuiltins\nlist',
|
|
1135
|
-
b'Ng', # GET
|
|
1136
|
-
b'Ng0',
|
|
1137
|
-
b'(i', # INST
|
|
1138
|
-
b'(ibuiltins',
|
|
1139
|
-
b'(ibuiltins\n',
|
|
1140
|
-
b'(ibuiltins\nlist',
|
|
1141
|
-
b'Nh', # BINGET
|
|
1142
|
-
b'Nj', # LONG_BINGET
|
|
1143
|
-
b'Nj\x00\x00\x00',
|
|
1144
|
-
b'Np', # PUT
|
|
1145
|
-
b'Np0',
|
|
1146
|
-
b'Nq', # BINPUT
|
|
1147
|
-
b'Nr', # LONG_BINPUT
|
|
1148
|
-
b'Nr\x00\x00\x00',
|
|
1149
|
-
b'\x80', # PROTO
|
|
1150
|
-
b'\x82', # EXT1
|
|
1151
|
-
b'\x83', # EXT2
|
|
1152
|
-
b'\x84\x01',
|
|
1153
|
-
b'\x84', # EXT4
|
|
1154
|
-
b'\x84\x01\x00\x00',
|
|
1155
|
-
b'\x8a', # LONG1
|
|
1156
|
-
b'\x8b', # LONG4
|
|
1157
|
-
b'\x8b\x00\x00\x00',
|
|
1158
|
-
b'\x8c', # SHORT_BINUNICODE
|
|
1159
|
-
b'\x8c\x03',
|
|
1160
|
-
b'\x8c\x03ab',
|
|
1161
|
-
b'\x8d', # BINUNICODE8
|
|
1162
|
-
b'\x8d\x03\x00\x00\x00\x00\x00\x00',
|
|
1163
|
-
b'\x8d\x03\x00\x00\x00\x00\x00\x00\x00',
|
|
1164
|
-
b'\x8d\x03\x00\x00\x00\x00\x00\x00\x00ab',
|
|
1165
|
-
b'\x8e', # BINBYTES8
|
|
1166
|
-
b'\x8e\x03\x00\x00\x00\x00\x00\x00',
|
|
1167
|
-
b'\x8e\x03\x00\x00\x00\x00\x00\x00\x00',
|
|
1168
|
-
b'\x8e\x03\x00\x00\x00\x00\x00\x00\x00ab',
|
|
1169
|
-
b'\x95', # FRAME
|
|
1170
|
-
b'\x95\x02\x00\x00\x00\x00\x00\x00',
|
|
1171
|
-
b'\x95\x02\x00\x00\x00\x00\x00\x00\x00',
|
|
1172
|
-
b'\x95\x02\x00\x00\x00\x00\x00\x00\x00N',
|
|
1173
|
-
]
|
|
1174
|
-
for p in badpickles:
|
|
1175
|
-
self.check_unpickling_error(self.truncated_errors, p)
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
class AbstractPickleTests(unittest.TestCase):
|
|
1179
|
-
# Subclass must define self.dumps, self.loads.
|
|
1180
|
-
|
|
1181
|
-
optimized = False
|
|
1182
|
-
|
|
1183
|
-
_testdata = AbstractUnpickleTests._testdata
|
|
1184
|
-
|
|
1185
|
-
def setUp(self):
|
|
1186
|
-
pass
|
|
1187
|
-
|
|
1188
|
-
assert_is_copy = AbstractUnpickleTests.assert_is_copy
|
|
1189
|
-
|
|
1190
|
-
def test_misc(self):
|
|
1191
|
-
# test various datatypes not tested by testdata
|
|
1192
|
-
for proto in protocols:
|
|
1193
|
-
x = myint(4)
|
|
1194
|
-
s = self.dumps(x, proto)
|
|
1195
|
-
y = self.loads(s)
|
|
1196
|
-
self.assert_is_copy(x, y)
|
|
1197
|
-
|
|
1198
|
-
x = (1, ())
|
|
1199
|
-
s = self.dumps(x, proto)
|
|
1200
|
-
y = self.loads(s)
|
|
1201
|
-
self.assert_is_copy(x, y)
|
|
1202
|
-
|
|
1203
|
-
x = initarg(1, x)
|
|
1204
|
-
s = self.dumps(x, proto)
|
|
1205
|
-
y = self.loads(s)
|
|
1206
|
-
self.assert_is_copy(x, y)
|
|
1207
|
-
|
|
1208
|
-
# XXX test __reduce__ protocol?
|
|
1209
|
-
|
|
1210
|
-
def test_roundtrip_equality(self):
|
|
1211
|
-
expected = self._testdata
|
|
1212
|
-
for proto in protocols:
|
|
1213
|
-
s = self.dumps(expected, proto)
|
|
1214
|
-
got = self.loads(s)
|
|
1215
|
-
self.assert_is_copy(expected, got)
|
|
1216
|
-
|
|
1217
|
-
# There are gratuitous differences between pickles produced by
|
|
1218
|
-
# pickle and cPickle, largely because cPickle starts PUT indices at
|
|
1219
|
-
# 1 and pickle starts them at 0. See XXX comment in cPickle's put2() --
|
|
1220
|
-
# there's a comment with an exclamation point there whose meaning
|
|
1221
|
-
# is a mystery. cPickle also suppresses PUT for objects with a refcount
|
|
1222
|
-
# of 1.
|
|
1223
|
-
def dont_test_disassembly(self):
|
|
1224
|
-
from io import StringIO
|
|
1225
|
-
from pickletools import dis
|
|
1226
|
-
|
|
1227
|
-
for proto, expected in (0, DATA0_DIS), (1, DATA1_DIS):
|
|
1228
|
-
s = self.dumps(self._testdata, proto)
|
|
1229
|
-
filelike = StringIO()
|
|
1230
|
-
dis(s, out=filelike)
|
|
1231
|
-
got = filelike.getvalue()
|
|
1232
|
-
self.assertEqual(expected, got)
|
|
1233
|
-
|
|
1234
|
-
def test_recursive_list(self):
|
|
1235
|
-
l = []
|
|
1236
|
-
l.append(l)
|
|
1237
|
-
for proto in protocols:
|
|
1238
|
-
s = self.dumps(l, proto)
|
|
1239
|
-
x = self.loads(s)
|
|
1240
|
-
self.assertIsInstance(x, list)
|
|
1241
|
-
self.assertEqual(len(x), 1)
|
|
1242
|
-
self.assertIs(x[0], x)
|
|
1243
|
-
|
|
1244
|
-
def test_recursive_tuple_and_list(self):
|
|
1245
|
-
t = ([],)
|
|
1246
|
-
t[0].append(t)
|
|
1247
|
-
for proto in protocols:
|
|
1248
|
-
s = self.dumps(t, proto)
|
|
1249
|
-
x = self.loads(s)
|
|
1250
|
-
self.assertIsInstance(x, tuple)
|
|
1251
|
-
self.assertEqual(len(x), 1)
|
|
1252
|
-
self.assertIsInstance(x[0], list)
|
|
1253
|
-
self.assertEqual(len(x[0]), 1)
|
|
1254
|
-
self.assertIs(x[0][0], x)
|
|
1255
|
-
|
|
1256
|
-
def test_recursive_dict(self):
|
|
1257
|
-
d = {}
|
|
1258
|
-
d[1] = d
|
|
1259
|
-
for proto in protocols:
|
|
1260
|
-
s = self.dumps(d, proto)
|
|
1261
|
-
x = self.loads(s)
|
|
1262
|
-
self.assertIsInstance(x, dict)
|
|
1263
|
-
self.assertEqual(list(x.keys()), [1])
|
|
1264
|
-
self.assertIs(x[1], x)
|
|
1265
|
-
|
|
1266
|
-
def test_recursive_dict_key(self):
|
|
1267
|
-
d = {}
|
|
1268
|
-
k = K(d)
|
|
1269
|
-
d[k] = 1
|
|
1270
|
-
for proto in protocols:
|
|
1271
|
-
s = self.dumps(d, proto)
|
|
1272
|
-
x = self.loads(s)
|
|
1273
|
-
self.assertIsInstance(x, dict)
|
|
1274
|
-
self.assertEqual(len(x.keys()), 1)
|
|
1275
|
-
self.assertIsInstance(list(x.keys())[0], K)
|
|
1276
|
-
self.assertIs(list(x.keys())[0].value, x)
|
|
1277
|
-
|
|
1278
|
-
def test_recursive_set(self):
|
|
1279
|
-
y = set()
|
|
1280
|
-
k = K(y)
|
|
1281
|
-
y.add(k)
|
|
1282
|
-
for proto in range(4, pickle.HIGHEST_PROTOCOL + 1):
|
|
1283
|
-
s = self.dumps(y, proto)
|
|
1284
|
-
x = self.loads(s)
|
|
1285
|
-
self.assertIsInstance(x, set)
|
|
1286
|
-
self.assertEqual(len(x), 1)
|
|
1287
|
-
self.assertIsInstance(list(x)[0], K)
|
|
1288
|
-
self.assertIs(list(x)[0].value, x)
|
|
1289
|
-
|
|
1290
|
-
def test_recursive_list_subclass(self):
|
|
1291
|
-
y = MyList()
|
|
1292
|
-
y.append(y)
|
|
1293
|
-
for proto in range(2, pickle.HIGHEST_PROTOCOL + 1):
|
|
1294
|
-
s = self.dumps(y, proto)
|
|
1295
|
-
x = self.loads(s)
|
|
1296
|
-
self.assertIsInstance(x, MyList)
|
|
1297
|
-
self.assertEqual(len(x), 1)
|
|
1298
|
-
self.assertIs(x[0], x)
|
|
1299
|
-
|
|
1300
|
-
def test_recursive_dict_subclass(self):
|
|
1301
|
-
d = MyDict()
|
|
1302
|
-
d[1] = d
|
|
1303
|
-
for proto in range(2, pickle.HIGHEST_PROTOCOL + 1):
|
|
1304
|
-
s = self.dumps(d, proto)
|
|
1305
|
-
x = self.loads(s)
|
|
1306
|
-
self.assertIsInstance(x, MyDict)
|
|
1307
|
-
self.assertEqual(list(x.keys()), [1])
|
|
1308
|
-
self.assertIs(x[1], x)
|
|
1309
|
-
|
|
1310
|
-
def test_recursive_dict_subclass_key(self):
|
|
1311
|
-
d = MyDict()
|
|
1312
|
-
k = K(d)
|
|
1313
|
-
d[k] = 1
|
|
1314
|
-
for proto in range(2, pickle.HIGHEST_PROTOCOL + 1):
|
|
1315
|
-
s = self.dumps(d, proto)
|
|
1316
|
-
x = self.loads(s)
|
|
1317
|
-
self.assertIsInstance(x, MyDict)
|
|
1318
|
-
self.assertEqual(len(list(x.keys())), 1)
|
|
1319
|
-
self.assertIsInstance(list(x.keys())[0], K)
|
|
1320
|
-
self.assertIs(list(x.keys())[0].value, x)
|
|
1321
|
-
|
|
1322
|
-
def test_recursive_inst(self):
|
|
1323
|
-
i = C()
|
|
1324
|
-
i.attr = i
|
|
1325
|
-
for proto in protocols:
|
|
1326
|
-
s = self.dumps(i, proto)
|
|
1327
|
-
x = self.loads(s)
|
|
1328
|
-
self.assertIsInstance(x, C)
|
|
1329
|
-
self.assertEqual(dir(x), dir(i))
|
|
1330
|
-
self.assertIs(x.attr, x)
|
|
1331
|
-
|
|
1332
|
-
def test_recursive_multi(self):
|
|
1333
|
-
l = []
|
|
1334
|
-
d = {1:l}
|
|
1335
|
-
i = C()
|
|
1336
|
-
i.attr = d
|
|
1337
|
-
l.append(i)
|
|
1338
|
-
for proto in protocols:
|
|
1339
|
-
s = self.dumps(l, proto)
|
|
1340
|
-
x = self.loads(s)
|
|
1341
|
-
self.assertIsInstance(x, list)
|
|
1342
|
-
self.assertEqual(len(x), 1)
|
|
1343
|
-
self.assertEqual(dir(x[0]), dir(i))
|
|
1344
|
-
self.assertEqual(list(x[0].attr.keys()), [1])
|
|
1345
|
-
self.assertTrue(x[0].attr[1] is x)
|
|
1346
|
-
|
|
1347
|
-
def check_recursive_collection_and_inst(self, factory):
|
|
1348
|
-
h = H()
|
|
1349
|
-
y = factory([h])
|
|
1350
|
-
h.attr = y
|
|
1351
|
-
for proto in protocols:
|
|
1352
|
-
s = self.dumps(y, proto)
|
|
1353
|
-
x = self.loads(s)
|
|
1354
|
-
self.assertIsInstance(x, type(y))
|
|
1355
|
-
self.assertEqual(len(x), 1)
|
|
1356
|
-
self.assertIsInstance(list(x)[0], H)
|
|
1357
|
-
self.assertIs(list(x)[0].attr, x)
|
|
1358
|
-
|
|
1359
|
-
def test_recursive_list_and_inst(self):
|
|
1360
|
-
self.check_recursive_collection_and_inst(list)
|
|
1361
|
-
|
|
1362
|
-
def test_recursive_tuple_and_inst(self):
|
|
1363
|
-
self.check_recursive_collection_and_inst(tuple)
|
|
1364
|
-
|
|
1365
|
-
def test_recursive_dict_and_inst(self):
|
|
1366
|
-
self.check_recursive_collection_and_inst(dict.fromkeys)
|
|
1367
|
-
|
|
1368
|
-
def test_recursive_set_and_inst(self):
|
|
1369
|
-
self.check_recursive_collection_and_inst(set)
|
|
1370
|
-
|
|
1371
|
-
def test_recursive_frozenset_and_inst(self):
|
|
1372
|
-
self.check_recursive_collection_and_inst(frozenset)
|
|
1373
|
-
|
|
1374
|
-
def test_recursive_list_subclass_and_inst(self):
|
|
1375
|
-
self.check_recursive_collection_and_inst(MyList)
|
|
1376
|
-
|
|
1377
|
-
def test_recursive_tuple_subclass_and_inst(self):
|
|
1378
|
-
self.check_recursive_collection_and_inst(MyTuple)
|
|
1379
|
-
|
|
1380
|
-
def test_recursive_dict_subclass_and_inst(self):
|
|
1381
|
-
self.check_recursive_collection_and_inst(MyDict.fromkeys)
|
|
1382
|
-
|
|
1383
|
-
def test_recursive_set_subclass_and_inst(self):
|
|
1384
|
-
self.check_recursive_collection_and_inst(MySet)
|
|
1385
|
-
|
|
1386
|
-
def test_recursive_frozenset_subclass_and_inst(self):
|
|
1387
|
-
self.check_recursive_collection_and_inst(MyFrozenSet)
|
|
1388
|
-
|
|
1389
|
-
def test_unicode(self):
|
|
1390
|
-
endcases = ['', '<\\u>', '<\\\u1234>', '<\n>',
|
|
1391
|
-
'<\\>', '<\\\U00012345>',
|
|
1392
|
-
# surrogates
|
|
1393
|
-
'<\udc80>']
|
|
1394
|
-
for proto in protocols:
|
|
1395
|
-
for u in endcases:
|
|
1396
|
-
p = self.dumps(u, proto)
|
|
1397
|
-
u2 = self.loads(p)
|
|
1398
|
-
self.assert_is_copy(u, u2)
|
|
1399
|
-
|
|
1400
|
-
def test_unicode_high_plane(self):
|
|
1401
|
-
t = '\U00012345'
|
|
1402
|
-
for proto in protocols:
|
|
1403
|
-
p = self.dumps(t, proto)
|
|
1404
|
-
t2 = self.loads(p)
|
|
1405
|
-
self.assert_is_copy(t, t2)
|
|
1406
|
-
|
|
1407
|
-
def test_bytes(self):
|
|
1408
|
-
for proto in protocols:
|
|
1409
|
-
for s in b'', b'xyz', b'xyz'*100:
|
|
1410
|
-
p = self.dumps(s, proto)
|
|
1411
|
-
self.assert_is_copy(s, self.loads(p))
|
|
1412
|
-
for s in [bytes([i]) for i in range(256)]:
|
|
1413
|
-
p = self.dumps(s, proto)
|
|
1414
|
-
self.assert_is_copy(s, self.loads(p))
|
|
1415
|
-
for s in [bytes([i, i]) for i in range(256)]:
|
|
1416
|
-
p = self.dumps(s, proto)
|
|
1417
|
-
self.assert_is_copy(s, self.loads(p))
|
|
1418
|
-
|
|
1419
|
-
def test_ints(self):
|
|
1420
|
-
for proto in protocols:
|
|
1421
|
-
n = sys.maxsize
|
|
1422
|
-
while n:
|
|
1423
|
-
for expected in (-n, n):
|
|
1424
|
-
s = self.dumps(expected, proto)
|
|
1425
|
-
n2 = self.loads(s)
|
|
1426
|
-
self.assert_is_copy(expected, n2)
|
|
1427
|
-
n = n >> 1
|
|
1428
|
-
|
|
1429
|
-
def test_long(self):
|
|
1430
|
-
for proto in protocols:
|
|
1431
|
-
# 256 bytes is where LONG4 begins.
|
|
1432
|
-
for nbits in 1, 8, 8*254, 8*255, 8*256, 8*257:
|
|
1433
|
-
nbase = 1 << nbits
|
|
1434
|
-
for npos in nbase-1, nbase, nbase+1:
|
|
1435
|
-
for n in npos, -npos:
|
|
1436
|
-
pickle = self.dumps(n, proto)
|
|
1437
|
-
got = self.loads(pickle)
|
|
1438
|
-
self.assert_is_copy(n, got)
|
|
1439
|
-
# Try a monster. This is quadratic-time in protos 0 & 1, so don't
|
|
1440
|
-
# bother with those.
|
|
1441
|
-
nbase = int("deadbeeffeedface", 16)
|
|
1442
|
-
nbase += nbase << 1000000
|
|
1443
|
-
for n in nbase, -nbase:
|
|
1444
|
-
p = self.dumps(n, 2)
|
|
1445
|
-
got = self.loads(p)
|
|
1446
|
-
# assert_is_copy is very expensive here as it precomputes
|
|
1447
|
-
# a failure message by computing the repr() of n and got,
|
|
1448
|
-
# we just do the check ourselves.
|
|
1449
|
-
self.assertIs(type(got), int)
|
|
1450
|
-
self.assertEqual(n, got)
|
|
1451
|
-
|
|
1452
|
-
def test_float(self):
|
|
1453
|
-
test_values = [0.0, 4.94e-324, 1e-310, 7e-308, 6.626e-34, 0.1, 0.5,
|
|
1454
|
-
3.14, 263.44582062374053, 6.022e23, 1e30]
|
|
1455
|
-
test_values = test_values + [-x for x in test_values]
|
|
1456
|
-
for proto in protocols:
|
|
1457
|
-
for value in test_values:
|
|
1458
|
-
pickle = self.dumps(value, proto)
|
|
1459
|
-
got = self.loads(pickle)
|
|
1460
|
-
self.assert_is_copy(value, got)
|
|
1461
|
-
|
|
1462
|
-
@run_with_locale('LC_ALL', 'de_DE', 'fr_FR')
|
|
1463
|
-
def test_float_format(self):
|
|
1464
|
-
# make sure that floats are formatted locale independent with proto 0
|
|
1465
|
-
self.assertEqual(self.dumps(1.2, 0)[0:3], b'F1.')
|
|
1466
|
-
|
|
1467
|
-
def test_reduce(self):
|
|
1468
|
-
for proto in protocols:
|
|
1469
|
-
inst = AAA()
|
|
1470
|
-
dumped = self.dumps(inst, proto)
|
|
1471
|
-
loaded = self.loads(dumped)
|
|
1472
|
-
self.assertEqual(loaded, REDUCE_A)
|
|
1473
|
-
|
|
1474
|
-
def test_getinitargs(self):
|
|
1475
|
-
for proto in protocols:
|
|
1476
|
-
inst = initarg(1, 2)
|
|
1477
|
-
dumped = self.dumps(inst, proto)
|
|
1478
|
-
loaded = self.loads(dumped)
|
|
1479
|
-
self.assert_is_copy(inst, loaded)
|
|
1480
|
-
|
|
1481
|
-
def test_metaclass(self):
|
|
1482
|
-
a = use_metaclass()
|
|
1483
|
-
for proto in protocols:
|
|
1484
|
-
s = self.dumps(a, proto)
|
|
1485
|
-
b = self.loads(s)
|
|
1486
|
-
self.assertEqual(a.__class__, b.__class__)
|
|
1487
|
-
|
|
1488
|
-
def test_dynamic_class(self):
|
|
1489
|
-
a = create_dynamic_class("my_dynamic_class", (object,))
|
|
1490
|
-
copyreg.pickle(pickling_metaclass, pickling_metaclass.__reduce__)
|
|
1491
|
-
for proto in protocols:
|
|
1492
|
-
s = self.dumps(a, proto)
|
|
1493
|
-
b = self.loads(s)
|
|
1494
|
-
self.assertEqual(a, b)
|
|
1495
|
-
self.assertIs(type(a), type(b))
|
|
1496
|
-
|
|
1497
|
-
def test_structseq(self):
|
|
1498
|
-
import time
|
|
1499
|
-
import os
|
|
1500
|
-
|
|
1501
|
-
t = time.localtime()
|
|
1502
|
-
for proto in protocols:
|
|
1503
|
-
s = self.dumps(t, proto)
|
|
1504
|
-
u = self.loads(s)
|
|
1505
|
-
self.assert_is_copy(t, u)
|
|
1506
|
-
if hasattr(os, "stat"):
|
|
1507
|
-
t = os.stat(os.curdir)
|
|
1508
|
-
s = self.dumps(t, proto)
|
|
1509
|
-
u = self.loads(s)
|
|
1510
|
-
self.assert_is_copy(t, u)
|
|
1511
|
-
if hasattr(os, "statvfs"):
|
|
1512
|
-
t = os.statvfs(os.curdir)
|
|
1513
|
-
s = self.dumps(t, proto)
|
|
1514
|
-
u = self.loads(s)
|
|
1515
|
-
self.assert_is_copy(t, u)
|
|
1516
|
-
|
|
1517
|
-
def test_ellipsis(self):
|
|
1518
|
-
for proto in protocols:
|
|
1519
|
-
s = self.dumps(..., proto)
|
|
1520
|
-
u = self.loads(s)
|
|
1521
|
-
self.assertIs(..., u)
|
|
1522
|
-
|
|
1523
|
-
def test_notimplemented(self):
|
|
1524
|
-
for proto in protocols:
|
|
1525
|
-
s = self.dumps(NotImplemented, proto)
|
|
1526
|
-
u = self.loads(s)
|
|
1527
|
-
self.assertIs(NotImplemented, u)
|
|
1528
|
-
|
|
1529
|
-
def test_singleton_types(self):
|
|
1530
|
-
# Issue #6477: Test that types of built-in singletons can be pickled.
|
|
1531
|
-
singletons = [None, ..., NotImplemented]
|
|
1532
|
-
for singleton in singletons:
|
|
1533
|
-
for proto in protocols:
|
|
1534
|
-
s = self.dumps(type(singleton), proto)
|
|
1535
|
-
u = self.loads(s)
|
|
1536
|
-
self.assertIs(type(singleton), u)
|
|
1537
|
-
|
|
1538
|
-
# Tests for protocol 2
|
|
1539
|
-
|
|
1540
|
-
def test_proto(self):
|
|
1541
|
-
for proto in protocols:
|
|
1542
|
-
pickled = self.dumps(None, proto)
|
|
1543
|
-
if proto >= 2:
|
|
1544
|
-
proto_header = pickle.PROTO + bytes([proto])
|
|
1545
|
-
self.assertTrue(pickled.startswith(proto_header))
|
|
1546
|
-
else:
|
|
1547
|
-
self.assertEqual(count_opcode(pickle.PROTO, pickled), 0)
|
|
1548
|
-
|
|
1549
|
-
oob = protocols[-1] + 1 # a future protocol
|
|
1550
|
-
build_none = pickle.NONE + pickle.STOP
|
|
1551
|
-
badpickle = pickle.PROTO + bytes([oob]) + build_none
|
|
1552
|
-
try:
|
|
1553
|
-
self.loads(badpickle)
|
|
1554
|
-
except ValueError as err:
|
|
1555
|
-
self.assertIn("unsupported pickle protocol", str(err))
|
|
1556
|
-
else:
|
|
1557
|
-
self.fail("expected bad protocol number to raise ValueError")
|
|
1558
|
-
|
|
1559
|
-
def test_long1(self):
|
|
1560
|
-
x = 12345678910111213141516178920
|
|
1561
|
-
for proto in protocols:
|
|
1562
|
-
s = self.dumps(x, proto)
|
|
1563
|
-
y = self.loads(s)
|
|
1564
|
-
self.assert_is_copy(x, y)
|
|
1565
|
-
self.assertEqual(opcode_in_pickle(pickle.LONG1, s), proto >= 2)
|
|
1566
|
-
|
|
1567
|
-
def test_long4(self):
|
|
1568
|
-
x = 12345678910111213141516178920 << (256*8)
|
|
1569
|
-
for proto in protocols:
|
|
1570
|
-
s = self.dumps(x, proto)
|
|
1571
|
-
y = self.loads(s)
|
|
1572
|
-
self.assert_is_copy(x, y)
|
|
1573
|
-
self.assertEqual(opcode_in_pickle(pickle.LONG4, s), proto >= 2)
|
|
1574
|
-
|
|
1575
|
-
def test_short_tuples(self):
|
|
1576
|
-
# Map (proto, len(tuple)) to expected opcode.
|
|
1577
|
-
expected_opcode = {(0, 0): pickle.TUPLE,
|
|
1578
|
-
(0, 1): pickle.TUPLE,
|
|
1579
|
-
(0, 2): pickle.TUPLE,
|
|
1580
|
-
(0, 3): pickle.TUPLE,
|
|
1581
|
-
(0, 4): pickle.TUPLE,
|
|
1582
|
-
|
|
1583
|
-
(1, 0): pickle.EMPTY_TUPLE,
|
|
1584
|
-
(1, 1): pickle.TUPLE,
|
|
1585
|
-
(1, 2): pickle.TUPLE,
|
|
1586
|
-
(1, 3): pickle.TUPLE,
|
|
1587
|
-
(1, 4): pickle.TUPLE,
|
|
1588
|
-
|
|
1589
|
-
(2, 0): pickle.EMPTY_TUPLE,
|
|
1590
|
-
(2, 1): pickle.TUPLE1,
|
|
1591
|
-
(2, 2): pickle.TUPLE2,
|
|
1592
|
-
(2, 3): pickle.TUPLE3,
|
|
1593
|
-
(2, 4): pickle.TUPLE,
|
|
1594
|
-
|
|
1595
|
-
(3, 0): pickle.EMPTY_TUPLE,
|
|
1596
|
-
(3, 1): pickle.TUPLE1,
|
|
1597
|
-
(3, 2): pickle.TUPLE2,
|
|
1598
|
-
(3, 3): pickle.TUPLE3,
|
|
1599
|
-
(3, 4): pickle.TUPLE,
|
|
1600
|
-
}
|
|
1601
|
-
a = ()
|
|
1602
|
-
b = (1,)
|
|
1603
|
-
c = (1, 2)
|
|
1604
|
-
d = (1, 2, 3)
|
|
1605
|
-
e = (1, 2, 3, 4)
|
|
1606
|
-
for proto in protocols:
|
|
1607
|
-
for x in a, b, c, d, e:
|
|
1608
|
-
s = self.dumps(x, proto)
|
|
1609
|
-
y = self.loads(s)
|
|
1610
|
-
self.assert_is_copy(x, y)
|
|
1611
|
-
expected = expected_opcode[min(proto, 3), len(x)]
|
|
1612
|
-
self.assertTrue(opcode_in_pickle(expected, s))
|
|
1613
|
-
|
|
1614
|
-
def test_singletons(self):
|
|
1615
|
-
# Map (proto, singleton) to expected opcode.
|
|
1616
|
-
expected_opcode = {(0, None): pickle.NONE,
|
|
1617
|
-
(1, None): pickle.NONE,
|
|
1618
|
-
(2, None): pickle.NONE,
|
|
1619
|
-
(3, None): pickle.NONE,
|
|
1620
|
-
|
|
1621
|
-
(0, True): pickle.INT,
|
|
1622
|
-
(1, True): pickle.INT,
|
|
1623
|
-
(2, True): pickle.NEWTRUE,
|
|
1624
|
-
(3, True): pickle.NEWTRUE,
|
|
1625
|
-
|
|
1626
|
-
(0, False): pickle.INT,
|
|
1627
|
-
(1, False): pickle.INT,
|
|
1628
|
-
(2, False): pickle.NEWFALSE,
|
|
1629
|
-
(3, False): pickle.NEWFALSE,
|
|
1630
|
-
}
|
|
1631
|
-
for proto in protocols:
|
|
1632
|
-
for x in None, False, True:
|
|
1633
|
-
s = self.dumps(x, proto)
|
|
1634
|
-
y = self.loads(s)
|
|
1635
|
-
self.assertTrue(x is y, (proto, x, s, y))
|
|
1636
|
-
expected = expected_opcode[min(proto, 3), x]
|
|
1637
|
-
self.assertTrue(opcode_in_pickle(expected, s))
|
|
1638
|
-
|
|
1639
|
-
def test_newobj_tuple(self):
|
|
1640
|
-
x = MyTuple([1, 2, 3])
|
|
1641
|
-
x.foo = 42
|
|
1642
|
-
x.bar = "hello"
|
|
1643
|
-
for proto in protocols:
|
|
1644
|
-
s = self.dumps(x, proto)
|
|
1645
|
-
y = self.loads(s)
|
|
1646
|
-
self.assert_is_copy(x, y)
|
|
1647
|
-
|
|
1648
|
-
def test_newobj_list(self):
|
|
1649
|
-
x = MyList([1, 2, 3])
|
|
1650
|
-
x.foo = 42
|
|
1651
|
-
x.bar = "hello"
|
|
1652
|
-
for proto in protocols:
|
|
1653
|
-
s = self.dumps(x, proto)
|
|
1654
|
-
y = self.loads(s)
|
|
1655
|
-
self.assert_is_copy(x, y)
|
|
1656
|
-
|
|
1657
|
-
def test_newobj_generic(self):
|
|
1658
|
-
for proto in protocols:
|
|
1659
|
-
for C in myclasses:
|
|
1660
|
-
B = C.__base__
|
|
1661
|
-
x = C(C.sample)
|
|
1662
|
-
x.foo = 42
|
|
1663
|
-
s = self.dumps(x, proto)
|
|
1664
|
-
y = self.loads(s)
|
|
1665
|
-
detail = (proto, C, B, x, y, type(y))
|
|
1666
|
-
self.assert_is_copy(x, y) # XXX revisit
|
|
1667
|
-
self.assertEqual(B(x), B(y), detail)
|
|
1668
|
-
self.assertEqual(x.__dict__, y.__dict__, detail)
|
|
1669
|
-
|
|
1670
|
-
def test_newobj_proxies(self):
|
|
1671
|
-
# NEWOBJ should use the __class__ rather than the raw type
|
|
1672
|
-
classes = myclasses[:]
|
|
1673
|
-
# Cannot create weakproxies to these classes
|
|
1674
|
-
for c in (MyInt, MyTuple):
|
|
1675
|
-
classes.remove(c)
|
|
1676
|
-
for proto in protocols:
|
|
1677
|
-
for C in classes:
|
|
1678
|
-
B = C.__base__
|
|
1679
|
-
x = C(C.sample)
|
|
1680
|
-
x.foo = 42
|
|
1681
|
-
p = weakref.proxy(x)
|
|
1682
|
-
s = self.dumps(p, proto)
|
|
1683
|
-
y = self.loads(s)
|
|
1684
|
-
self.assertEqual(type(y), type(x)) # rather than type(p)
|
|
1685
|
-
detail = (proto, C, B, x, y, type(y))
|
|
1686
|
-
self.assertEqual(B(x), B(y), detail)
|
|
1687
|
-
self.assertEqual(x.__dict__, y.__dict__, detail)
|
|
1688
|
-
|
|
1689
|
-
def test_newobj_not_class(self):
|
|
1690
|
-
# Issue 24552
|
|
1691
|
-
global SimpleNewObj
|
|
1692
|
-
save = SimpleNewObj
|
|
1693
|
-
o = SimpleNewObj.__new__(SimpleNewObj)
|
|
1694
|
-
b = self.dumps(o, 4)
|
|
1695
|
-
try:
|
|
1696
|
-
SimpleNewObj = 42
|
|
1697
|
-
self.assertRaises((TypeError, pickle.UnpicklingError), self.loads, b)
|
|
1698
|
-
finally:
|
|
1699
|
-
SimpleNewObj = save
|
|
1700
|
-
|
|
1701
|
-
# Register a type with copyreg, with extension code extcode. Pickle
|
|
1702
|
-
# an object of that type. Check that the resulting pickle uses opcode
|
|
1703
|
-
# (EXT[124]) under proto 2, and not in proto 1.
|
|
1704
|
-
|
|
1705
|
-
def produce_global_ext(self, extcode, opcode):
|
|
1706
|
-
e = ExtensionSaver(extcode)
|
|
1707
|
-
try:
|
|
1708
|
-
copyreg.add_extension(__name__, "MyList", extcode)
|
|
1709
|
-
x = MyList([1, 2, 3])
|
|
1710
|
-
x.foo = 42
|
|
1711
|
-
x.bar = "hello"
|
|
1712
|
-
|
|
1713
|
-
# Dump using protocol 1 for comparison.
|
|
1714
|
-
s1 = self.dumps(x, 1)
|
|
1715
|
-
self.assertIn(__name__.encode("utf-8"), s1)
|
|
1716
|
-
self.assertIn(b"MyList", s1)
|
|
1717
|
-
self.assertFalse(opcode_in_pickle(opcode, s1))
|
|
1718
|
-
|
|
1719
|
-
y = self.loads(s1)
|
|
1720
|
-
self.assert_is_copy(x, y)
|
|
1721
|
-
|
|
1722
|
-
# Dump using protocol 2 for test.
|
|
1723
|
-
s2 = self.dumps(x, 2)
|
|
1724
|
-
self.assertNotIn(__name__.encode("utf-8"), s2)
|
|
1725
|
-
self.assertNotIn(b"MyList", s2)
|
|
1726
|
-
self.assertEqual(opcode_in_pickle(opcode, s2), True, repr(s2))
|
|
1727
|
-
|
|
1728
|
-
y = self.loads(s2)
|
|
1729
|
-
self.assert_is_copy(x, y)
|
|
1730
|
-
finally:
|
|
1731
|
-
e.restore()
|
|
1732
|
-
|
|
1733
|
-
def test_global_ext1(self):
|
|
1734
|
-
self.produce_global_ext(0x00000001, pickle.EXT1) # smallest EXT1 code
|
|
1735
|
-
self.produce_global_ext(0x000000ff, pickle.EXT1) # largest EXT1 code
|
|
1736
|
-
|
|
1737
|
-
def test_global_ext2(self):
|
|
1738
|
-
self.produce_global_ext(0x00000100, pickle.EXT2) # smallest EXT2 code
|
|
1739
|
-
self.produce_global_ext(0x0000ffff, pickle.EXT2) # largest EXT2 code
|
|
1740
|
-
self.produce_global_ext(0x0000abcd, pickle.EXT2) # check endianness
|
|
1741
|
-
|
|
1742
|
-
def test_global_ext4(self):
|
|
1743
|
-
self.produce_global_ext(0x00010000, pickle.EXT4) # smallest EXT4 code
|
|
1744
|
-
self.produce_global_ext(0x7fffffff, pickle.EXT4) # largest EXT4 code
|
|
1745
|
-
self.produce_global_ext(0x12abcdef, pickle.EXT4) # check endianness
|
|
1746
|
-
|
|
1747
|
-
def test_list_chunking(self):
|
|
1748
|
-
n = 10 # too small to chunk
|
|
1749
|
-
x = list(range(n))
|
|
1750
|
-
for proto in protocols:
|
|
1751
|
-
s = self.dumps(x, proto)
|
|
1752
|
-
y = self.loads(s)
|
|
1753
|
-
self.assert_is_copy(x, y)
|
|
1754
|
-
num_appends = count_opcode(pickle.APPENDS, s)
|
|
1755
|
-
self.assertEqual(num_appends, proto > 0)
|
|
1756
|
-
|
|
1757
|
-
n = 2500 # expect at least two chunks when proto > 0
|
|
1758
|
-
x = list(range(n))
|
|
1759
|
-
for proto in protocols:
|
|
1760
|
-
s = self.dumps(x, proto)
|
|
1761
|
-
y = self.loads(s)
|
|
1762
|
-
self.assert_is_copy(x, y)
|
|
1763
|
-
num_appends = count_opcode(pickle.APPENDS, s)
|
|
1764
|
-
if proto == 0:
|
|
1765
|
-
self.assertEqual(num_appends, 0)
|
|
1766
|
-
else:
|
|
1767
|
-
self.assertTrue(num_appends >= 2)
|
|
1768
|
-
|
|
1769
|
-
def test_dict_chunking(self):
|
|
1770
|
-
n = 10 # too small to chunk
|
|
1771
|
-
x = dict.fromkeys(range(n))
|
|
1772
|
-
for proto in protocols:
|
|
1773
|
-
s = self.dumps(x, proto)
|
|
1774
|
-
self.assertIsInstance(s, bytes_types)
|
|
1775
|
-
y = self.loads(s)
|
|
1776
|
-
self.assert_is_copy(x, y)
|
|
1777
|
-
num_setitems = count_opcode(pickle.SETITEMS, s)
|
|
1778
|
-
self.assertEqual(num_setitems, proto > 0)
|
|
1779
|
-
|
|
1780
|
-
n = 2500 # expect at least two chunks when proto > 0
|
|
1781
|
-
x = dict.fromkeys(range(n))
|
|
1782
|
-
for proto in protocols:
|
|
1783
|
-
s = self.dumps(x, proto)
|
|
1784
|
-
y = self.loads(s)
|
|
1785
|
-
self.assert_is_copy(x, y)
|
|
1786
|
-
num_setitems = count_opcode(pickle.SETITEMS, s)
|
|
1787
|
-
if proto == 0:
|
|
1788
|
-
self.assertEqual(num_setitems, 0)
|
|
1789
|
-
else:
|
|
1790
|
-
self.assertTrue(num_setitems >= 2)
|
|
1791
|
-
|
|
1792
|
-
def test_set_chunking(self):
|
|
1793
|
-
n = 10 # too small to chunk
|
|
1794
|
-
x = set(range(n))
|
|
1795
|
-
for proto in protocols:
|
|
1796
|
-
s = self.dumps(x, proto)
|
|
1797
|
-
y = self.loads(s)
|
|
1798
|
-
self.assert_is_copy(x, y)
|
|
1799
|
-
num_additems = count_opcode(pickle.ADDITEMS, s)
|
|
1800
|
-
if proto < 4:
|
|
1801
|
-
self.assertEqual(num_additems, 0)
|
|
1802
|
-
else:
|
|
1803
|
-
self.assertEqual(num_additems, 1)
|
|
1804
|
-
|
|
1805
|
-
n = 2500 # expect at least two chunks when proto >= 4
|
|
1806
|
-
x = set(range(n))
|
|
1807
|
-
for proto in protocols:
|
|
1808
|
-
s = self.dumps(x, proto)
|
|
1809
|
-
y = self.loads(s)
|
|
1810
|
-
self.assert_is_copy(x, y)
|
|
1811
|
-
num_additems = count_opcode(pickle.ADDITEMS, s)
|
|
1812
|
-
if proto < 4:
|
|
1813
|
-
self.assertEqual(num_additems, 0)
|
|
1814
|
-
else:
|
|
1815
|
-
self.assertGreaterEqual(num_additems, 2)
|
|
1816
|
-
|
|
1817
|
-
def test_simple_newobj(self):
|
|
1818
|
-
x = SimpleNewObj.__new__(SimpleNewObj, 0xface) # avoid __init__
|
|
1819
|
-
x.abc = 666
|
|
1820
|
-
for proto in protocols:
|
|
1821
|
-
with self.subTest(proto=proto):
|
|
1822
|
-
s = self.dumps(x, proto)
|
|
1823
|
-
if proto < 1:
|
|
1824
|
-
self.assertIn(b'\nL64206', s) # LONG
|
|
1825
|
-
else:
|
|
1826
|
-
self.assertIn(b'M\xce\xfa', s) # BININT2
|
|
1827
|
-
self.assertEqual(opcode_in_pickle(pickle.NEWOBJ, s),
|
|
1828
|
-
2 <= proto)
|
|
1829
|
-
self.assertFalse(opcode_in_pickle(pickle.NEWOBJ_EX, s))
|
|
1830
|
-
y = self.loads(s) # will raise TypeError if __init__ called
|
|
1831
|
-
self.assert_is_copy(x, y)
|
|
1832
|
-
|
|
1833
|
-
def test_complex_newobj(self):
|
|
1834
|
-
x = ComplexNewObj.__new__(ComplexNewObj, 0xface) # avoid __init__
|
|
1835
|
-
x.abc = 666
|
|
1836
|
-
for proto in protocols:
|
|
1837
|
-
with self.subTest(proto=proto):
|
|
1838
|
-
s = self.dumps(x, proto)
|
|
1839
|
-
if proto < 1:
|
|
1840
|
-
self.assertIn(b'\nL64206', s) # LONG
|
|
1841
|
-
elif proto < 2:
|
|
1842
|
-
self.assertIn(b'M\xce\xfa', s) # BININT2
|
|
1843
|
-
elif proto < 4:
|
|
1844
|
-
self.assertIn(b'X\x04\x00\x00\x00FACE', s) # BINUNICODE
|
|
1845
|
-
else:
|
|
1846
|
-
self.assertIn(b'\x8c\x04FACE', s) # SHORT_BINUNICODE
|
|
1847
|
-
self.assertEqual(opcode_in_pickle(pickle.NEWOBJ, s),
|
|
1848
|
-
2 <= proto)
|
|
1849
|
-
self.assertFalse(opcode_in_pickle(pickle.NEWOBJ_EX, s))
|
|
1850
|
-
y = self.loads(s) # will raise TypeError if __init__ called
|
|
1851
|
-
self.assert_is_copy(x, y)
|
|
1852
|
-
|
|
1853
|
-
def test_complex_newobj_ex(self):
|
|
1854
|
-
x = ComplexNewObjEx.__new__(ComplexNewObjEx, 0xface) # avoid __init__
|
|
1855
|
-
x.abc = 666
|
|
1856
|
-
for proto in protocols:
|
|
1857
|
-
with self.subTest(proto=proto):
|
|
1858
|
-
s = self.dumps(x, proto)
|
|
1859
|
-
if proto < 1:
|
|
1860
|
-
self.assertIn(b'\nL64206', s) # LONG
|
|
1861
|
-
elif proto < 2:
|
|
1862
|
-
self.assertIn(b'M\xce\xfa', s) # BININT2
|
|
1863
|
-
elif proto < 4:
|
|
1864
|
-
self.assertIn(b'X\x04\x00\x00\x00FACE', s) # BINUNICODE
|
|
1865
|
-
else:
|
|
1866
|
-
self.assertIn(b'\x8c\x04FACE', s) # SHORT_BINUNICODE
|
|
1867
|
-
self.assertFalse(opcode_in_pickle(pickle.NEWOBJ, s))
|
|
1868
|
-
self.assertEqual(opcode_in_pickle(pickle.NEWOBJ_EX, s),
|
|
1869
|
-
4 <= proto)
|
|
1870
|
-
y = self.loads(s) # will raise TypeError if __init__ called
|
|
1871
|
-
self.assert_is_copy(x, y)
|
|
1872
|
-
|
|
1873
|
-
def test_newobj_list_slots(self):
|
|
1874
|
-
x = SlotList([1, 2, 3])
|
|
1875
|
-
x.foo = 42
|
|
1876
|
-
x.bar = "hello"
|
|
1877
|
-
s = self.dumps(x, 2)
|
|
1878
|
-
y = self.loads(s)
|
|
1879
|
-
self.assert_is_copy(x, y)
|
|
1880
|
-
|
|
1881
|
-
def test_reduce_overrides_default_reduce_ex(self):
|
|
1882
|
-
for proto in protocols:
|
|
1883
|
-
x = REX_one()
|
|
1884
|
-
self.assertEqual(x._reduce_called, 0)
|
|
1885
|
-
s = self.dumps(x, proto)
|
|
1886
|
-
self.assertEqual(x._reduce_called, 1)
|
|
1887
|
-
y = self.loads(s)
|
|
1888
|
-
self.assertEqual(y._reduce_called, 0)
|
|
1889
|
-
|
|
1890
|
-
def test_reduce_ex_called(self):
|
|
1891
|
-
for proto in protocols:
|
|
1892
|
-
x = REX_two()
|
|
1893
|
-
self.assertEqual(x._proto, None)
|
|
1894
|
-
s = self.dumps(x, proto)
|
|
1895
|
-
self.assertEqual(x._proto, proto)
|
|
1896
|
-
y = self.loads(s)
|
|
1897
|
-
self.assertEqual(y._proto, None)
|
|
1898
|
-
|
|
1899
|
-
def test_reduce_ex_overrides_reduce(self):
|
|
1900
|
-
for proto in protocols:
|
|
1901
|
-
x = REX_three()
|
|
1902
|
-
self.assertEqual(x._proto, None)
|
|
1903
|
-
s = self.dumps(x, proto)
|
|
1904
|
-
self.assertEqual(x._proto, proto)
|
|
1905
|
-
y = self.loads(s)
|
|
1906
|
-
self.assertEqual(y._proto, None)
|
|
1907
|
-
|
|
1908
|
-
def test_reduce_ex_calls_base(self):
|
|
1909
|
-
for proto in protocols:
|
|
1910
|
-
x = REX_four()
|
|
1911
|
-
self.assertEqual(x._proto, None)
|
|
1912
|
-
s = self.dumps(x, proto)
|
|
1913
|
-
self.assertEqual(x._proto, proto)
|
|
1914
|
-
y = self.loads(s)
|
|
1915
|
-
self.assertEqual(y._proto, proto)
|
|
1916
|
-
|
|
1917
|
-
def test_reduce_calls_base(self):
|
|
1918
|
-
for proto in protocols:
|
|
1919
|
-
x = REX_five()
|
|
1920
|
-
self.assertEqual(x._reduce_called, 0)
|
|
1921
|
-
s = self.dumps(x, proto)
|
|
1922
|
-
self.assertEqual(x._reduce_called, 1)
|
|
1923
|
-
y = self.loads(s)
|
|
1924
|
-
self.assertEqual(y._reduce_called, 1)
|
|
1925
|
-
|
|
1926
|
-
@no_tracing
|
|
1927
|
-
def test_bad_getattr(self):
|
|
1928
|
-
# Issue #3514: crash when there is an infinite loop in __getattr__
|
|
1929
|
-
x = BadGetattr()
|
|
1930
|
-
for proto in protocols:
|
|
1931
|
-
self.assertRaises(RuntimeError, self.dumps, x, proto)
|
|
1932
|
-
|
|
1933
|
-
def test_reduce_bad_iterator(self):
|
|
1934
|
-
# Issue4176: crash when 4th and 5th items of __reduce__()
|
|
1935
|
-
# are not iterators
|
|
1936
|
-
class C(object):
|
|
1937
|
-
def __reduce__(self):
|
|
1938
|
-
# 4th item is not an iterator
|
|
1939
|
-
return list, (), None, [], None
|
|
1940
|
-
class D(object):
|
|
1941
|
-
def __reduce__(self):
|
|
1942
|
-
# 5th item is not an iterator
|
|
1943
|
-
return dict, (), None, None, []
|
|
1944
|
-
|
|
1945
|
-
# Python implementation is less strict and also accepts iterables.
|
|
1946
|
-
for proto in protocols:
|
|
1947
|
-
try:
|
|
1948
|
-
self.dumps(C(), proto)
|
|
1949
|
-
except pickle.PicklingError:
|
|
1950
|
-
pass
|
|
1951
|
-
try:
|
|
1952
|
-
self.dumps(D(), proto)
|
|
1953
|
-
except pickle.PicklingError:
|
|
1954
|
-
pass
|
|
1955
|
-
|
|
1956
|
-
def test_many_puts_and_gets(self):
|
|
1957
|
-
# Test that internal data structures correctly deal with lots of
|
|
1958
|
-
# puts/gets.
|
|
1959
|
-
keys = ("aaa" + str(i) for i in range(100))
|
|
1960
|
-
large_dict = dict((k, [4, 5, 6]) for k in keys)
|
|
1961
|
-
obj = [dict(large_dict), dict(large_dict), dict(large_dict)]
|
|
1962
|
-
|
|
1963
|
-
for proto in protocols:
|
|
1964
|
-
with self.subTest(proto=proto):
|
|
1965
|
-
dumped = self.dumps(obj, proto)
|
|
1966
|
-
loaded = self.loads(dumped)
|
|
1967
|
-
self.assert_is_copy(obj, loaded)
|
|
1968
|
-
|
|
1969
|
-
def test_attribute_name_interning(self):
|
|
1970
|
-
# Test that attribute names of pickled objects are interned when
|
|
1971
|
-
# unpickling.
|
|
1972
|
-
for proto in protocols:
|
|
1973
|
-
x = C()
|
|
1974
|
-
x.foo = 42
|
|
1975
|
-
x.bar = "hello"
|
|
1976
|
-
s = self.dumps(x, proto)
|
|
1977
|
-
y = self.loads(s)
|
|
1978
|
-
x_keys = sorted(x.__dict__)
|
|
1979
|
-
y_keys = sorted(y.__dict__)
|
|
1980
|
-
for x_key, y_key in zip(x_keys, y_keys):
|
|
1981
|
-
self.assertIs(x_key, y_key)
|
|
1982
|
-
|
|
1983
|
-
def test_pickle_to_2x(self):
|
|
1984
|
-
# Pickle non-trivial data with protocol 2, expecting that it yields
|
|
1985
|
-
# the same result as Python 2.x did.
|
|
1986
|
-
# NOTE: this test is a bit too strong since we can produce different
|
|
1987
|
-
# bytecode that 2.x will still understand.
|
|
1988
|
-
dumped = self.dumps(range(5), 2)
|
|
1989
|
-
self.assertEqual(dumped, DATA_XRANGE)
|
|
1990
|
-
dumped = self.dumps(set([3]), 2)
|
|
1991
|
-
self.assertEqual(dumped, DATA_SET2)
|
|
1992
|
-
|
|
1993
|
-
def test_large_pickles(self):
|
|
1994
|
-
# Test the correctness of internal buffering routines when handling
|
|
1995
|
-
# large data.
|
|
1996
|
-
for proto in protocols:
|
|
1997
|
-
data = (1, min, b'xy' * (30 * 1024), len)
|
|
1998
|
-
dumped = self.dumps(data, proto)
|
|
1999
|
-
loaded = self.loads(dumped)
|
|
2000
|
-
self.assertEqual(len(loaded), len(data))
|
|
2001
|
-
self.assertEqual(loaded, data)
|
|
2002
|
-
|
|
2003
|
-
def test_int_pickling_efficiency(self):
|
|
2004
|
-
# Test compacity of int representation (see issue #12744)
|
|
2005
|
-
for proto in protocols:
|
|
2006
|
-
with self.subTest(proto=proto):
|
|
2007
|
-
pickles = [self.dumps(2**n, proto) for n in range(70)]
|
|
2008
|
-
sizes = list(map(len, pickles))
|
|
2009
|
-
# the size function is monotonic
|
|
2010
|
-
self.assertEqual(sorted(sizes), sizes)
|
|
2011
|
-
if proto >= 2:
|
|
2012
|
-
for p in pickles:
|
|
2013
|
-
self.assertFalse(opcode_in_pickle(pickle.LONG, p))
|
|
2014
|
-
|
|
2015
|
-
def _check_pickling_with_opcode(self, obj, opcode, proto):
|
|
2016
|
-
pickled = self.dumps(obj, proto)
|
|
2017
|
-
self.assertTrue(opcode_in_pickle(opcode, pickled))
|
|
2018
|
-
unpickled = self.loads(pickled)
|
|
2019
|
-
self.assertEqual(obj, unpickled)
|
|
2020
|
-
|
|
2021
|
-
def test_appends_on_non_lists(self):
|
|
2022
|
-
# Issue #17720
|
|
2023
|
-
obj = REX_six([1, 2, 3])
|
|
2024
|
-
for proto in protocols:
|
|
2025
|
-
if proto == 0:
|
|
2026
|
-
self._check_pickling_with_opcode(obj, pickle.APPEND, proto)
|
|
2027
|
-
else:
|
|
2028
|
-
self._check_pickling_with_opcode(obj, pickle.APPENDS, proto)
|
|
2029
|
-
|
|
2030
|
-
def test_setitems_on_non_dicts(self):
|
|
2031
|
-
obj = REX_seven({1: -1, 2: -2, 3: -3})
|
|
2032
|
-
for proto in protocols:
|
|
2033
|
-
if proto == 0:
|
|
2034
|
-
self._check_pickling_with_opcode(obj, pickle.SETITEM, proto)
|
|
2035
|
-
else:
|
|
2036
|
-
self._check_pickling_with_opcode(obj, pickle.SETITEMS, proto)
|
|
2037
|
-
|
|
2038
|
-
# Exercise framing (proto >= 4) for significant workloads
|
|
2039
|
-
|
|
2040
|
-
FRAME_SIZE_TARGET = 64 * 1024
|
|
2041
|
-
|
|
2042
|
-
def check_frame_opcodes(self, pickled):
|
|
2043
|
-
"""
|
|
2044
|
-
Check the arguments of FRAME opcodes in a protocol 4+ pickle.
|
|
2045
|
-
"""
|
|
2046
|
-
frame_opcode_size = 9
|
|
2047
|
-
last_arg = last_pos = None
|
|
2048
|
-
for op, arg, pos in pickletools.genops(pickled):
|
|
2049
|
-
if op.name != 'FRAME':
|
|
2050
|
-
continue
|
|
2051
|
-
if last_pos is not None:
|
|
2052
|
-
# The previous frame's size should be equal to the number
|
|
2053
|
-
# of bytes up to the current frame.
|
|
2054
|
-
frame_size = pos - last_pos - frame_opcode_size
|
|
2055
|
-
self.assertEqual(frame_size, last_arg)
|
|
2056
|
-
last_arg, last_pos = arg, pos
|
|
2057
|
-
# The last frame's size should be equal to the number of bytes up
|
|
2058
|
-
# to the pickle's end.
|
|
2059
|
-
frame_size = len(pickled) - last_pos - frame_opcode_size
|
|
2060
|
-
self.assertEqual(frame_size, last_arg)
|
|
2061
|
-
|
|
2062
|
-
def test_framing_many_objects(self):
|
|
2063
|
-
obj = list(range(10**5))
|
|
2064
|
-
for proto in range(4, pickle.HIGHEST_PROTOCOL + 1):
|
|
2065
|
-
with self.subTest(proto=proto):
|
|
2066
|
-
pickled = self.dumps(obj, proto)
|
|
2067
|
-
unpickled = self.loads(pickled)
|
|
2068
|
-
self.assertEqual(obj, unpickled)
|
|
2069
|
-
bytes_per_frame = (len(pickled) /
|
|
2070
|
-
count_opcode(pickle.FRAME, pickled))
|
|
2071
|
-
self.assertGreater(bytes_per_frame,
|
|
2072
|
-
self.FRAME_SIZE_TARGET / 2)
|
|
2073
|
-
self.assertLessEqual(bytes_per_frame,
|
|
2074
|
-
self.FRAME_SIZE_TARGET * 1)
|
|
2075
|
-
self.check_frame_opcodes(pickled)
|
|
2076
|
-
|
|
2077
|
-
def test_framing_large_objects(self):
|
|
2078
|
-
N = 1024 * 1024
|
|
2079
|
-
obj = [b'x' * N, b'y' * N, b'z' * N]
|
|
2080
|
-
for proto in range(4, pickle.HIGHEST_PROTOCOL + 1):
|
|
2081
|
-
with self.subTest(proto=proto):
|
|
2082
|
-
pickled = self.dumps(obj, proto)
|
|
2083
|
-
unpickled = self.loads(pickled)
|
|
2084
|
-
self.assertEqual(obj, unpickled)
|
|
2085
|
-
n_frames = count_opcode(pickle.FRAME, pickled)
|
|
2086
|
-
self.assertGreaterEqual(n_frames, len(obj))
|
|
2087
|
-
self.check_frame_opcodes(pickled)
|
|
2088
|
-
|
|
2089
|
-
def test_optional_frames(self):
|
|
2090
|
-
if pickle.HIGHEST_PROTOCOL < 4:
|
|
2091
|
-
return
|
|
2092
|
-
|
|
2093
|
-
def remove_frames(pickled, keep_frame=None):
|
|
2094
|
-
"""Remove frame opcodes from the given pickle."""
|
|
2095
|
-
frame_starts = []
|
|
2096
|
-
# 1 byte for the opcode and 8 for the argument
|
|
2097
|
-
frame_opcode_size = 9
|
|
2098
|
-
for opcode, _, pos in pickletools.genops(pickled):
|
|
2099
|
-
if opcode.name == 'FRAME':
|
|
2100
|
-
frame_starts.append(pos)
|
|
2101
|
-
|
|
2102
|
-
newpickle = bytearray()
|
|
2103
|
-
last_frame_end = 0
|
|
2104
|
-
for i, pos in enumerate(frame_starts):
|
|
2105
|
-
if keep_frame and keep_frame(i):
|
|
2106
|
-
continue
|
|
2107
|
-
newpickle += pickled[last_frame_end:pos]
|
|
2108
|
-
last_frame_end = pos + frame_opcode_size
|
|
2109
|
-
newpickle += pickled[last_frame_end:]
|
|
2110
|
-
return newpickle
|
|
2111
|
-
|
|
2112
|
-
frame_size = self.FRAME_SIZE_TARGET
|
|
2113
|
-
num_frames = 20
|
|
2114
|
-
obj = [bytes([i]) * frame_size for i in range(num_frames)]
|
|
2115
|
-
|
|
2116
|
-
for proto in range(4, pickle.HIGHEST_PROTOCOL + 1):
|
|
2117
|
-
pickled = self.dumps(obj, proto)
|
|
2118
|
-
|
|
2119
|
-
frameless_pickle = remove_frames(pickled)
|
|
2120
|
-
self.assertEqual(count_opcode(pickle.FRAME, frameless_pickle), 0)
|
|
2121
|
-
self.assertEqual(obj, self.loads(frameless_pickle))
|
|
2122
|
-
|
|
2123
|
-
some_frames_pickle = remove_frames(pickled, lambda i: i % 2)
|
|
2124
|
-
self.assertLess(count_opcode(pickle.FRAME, some_frames_pickle),
|
|
2125
|
-
count_opcode(pickle.FRAME, pickled))
|
|
2126
|
-
self.assertEqual(obj, self.loads(some_frames_pickle))
|
|
2127
|
-
|
|
2128
|
-
def test_nested_names(self):
|
|
2129
|
-
global Nested
|
|
2130
|
-
class Nested:
|
|
2131
|
-
class A:
|
|
2132
|
-
class B:
|
|
2133
|
-
class C:
|
|
2134
|
-
pass
|
|
2135
|
-
for proto in range(pickle.HIGHEST_PROTOCOL + 1):
|
|
2136
|
-
for obj in [Nested.A, Nested.A.B, Nested.A.B.C]:
|
|
2137
|
-
with self.subTest(proto=proto, obj=obj):
|
|
2138
|
-
unpickled = self.loads(self.dumps(obj, proto))
|
|
2139
|
-
self.assertIs(obj, unpickled)
|
|
2140
|
-
|
|
2141
|
-
def test_recursive_nested_names(self):
|
|
2142
|
-
global Recursive
|
|
2143
|
-
class Recursive:
|
|
2144
|
-
pass
|
|
2145
|
-
Recursive.mod = sys.modules[Recursive.__module__]
|
|
2146
|
-
Recursive.__qualname__ = 'Recursive.mod.Recursive'
|
|
2147
|
-
for proto in range(pickle.HIGHEST_PROTOCOL + 1):
|
|
2148
|
-
with self.subTest(proto=proto):
|
|
2149
|
-
unpickled = self.loads(self.dumps(Recursive, proto))
|
|
2150
|
-
self.assertIs(unpickled, Recursive)
|
|
2151
|
-
del Recursive.mod # break reference loop
|
|
2152
|
-
|
|
2153
|
-
def test_py_methods(self):
|
|
2154
|
-
global PyMethodsTest
|
|
2155
|
-
class PyMethodsTest:
|
|
2156
|
-
@staticmethod
|
|
2157
|
-
def cheese():
|
|
2158
|
-
return "cheese"
|
|
2159
|
-
@classmethod
|
|
2160
|
-
def wine(cls):
|
|
2161
|
-
assert cls is PyMethodsTest
|
|
2162
|
-
return "wine"
|
|
2163
|
-
def biscuits(self):
|
|
2164
|
-
assert isinstance(self, PyMethodsTest)
|
|
2165
|
-
return "biscuits"
|
|
2166
|
-
class Nested:
|
|
2167
|
-
"Nested class"
|
|
2168
|
-
@staticmethod
|
|
2169
|
-
def ketchup():
|
|
2170
|
-
return "ketchup"
|
|
2171
|
-
@classmethod
|
|
2172
|
-
def maple(cls):
|
|
2173
|
-
assert cls is PyMethodsTest.Nested
|
|
2174
|
-
return "maple"
|
|
2175
|
-
def pie(self):
|
|
2176
|
-
assert isinstance(self, PyMethodsTest.Nested)
|
|
2177
|
-
return "pie"
|
|
2178
|
-
|
|
2179
|
-
py_methods = (
|
|
2180
|
-
PyMethodsTest.cheese,
|
|
2181
|
-
PyMethodsTest.wine,
|
|
2182
|
-
PyMethodsTest().biscuits,
|
|
2183
|
-
PyMethodsTest.Nested.ketchup,
|
|
2184
|
-
PyMethodsTest.Nested.maple,
|
|
2185
|
-
PyMethodsTest.Nested().pie
|
|
2186
|
-
)
|
|
2187
|
-
py_unbound_methods = (
|
|
2188
|
-
(PyMethodsTest.biscuits, PyMethodsTest),
|
|
2189
|
-
(PyMethodsTest.Nested.pie, PyMethodsTest.Nested)
|
|
2190
|
-
)
|
|
2191
|
-
for proto in range(pickle.HIGHEST_PROTOCOL + 1):
|
|
2192
|
-
for method in py_methods:
|
|
2193
|
-
with self.subTest(proto=proto, method=method):
|
|
2194
|
-
unpickled = self.loads(self.dumps(method, proto))
|
|
2195
|
-
self.assertEqual(method(), unpickled())
|
|
2196
|
-
for method, cls in py_unbound_methods:
|
|
2197
|
-
obj = cls()
|
|
2198
|
-
with self.subTest(proto=proto, method=method):
|
|
2199
|
-
unpickled = self.loads(self.dumps(method, proto))
|
|
2200
|
-
self.assertEqual(method(obj), unpickled(obj))
|
|
2201
|
-
|
|
2202
|
-
def test_c_methods(self):
|
|
2203
|
-
global Subclass
|
|
2204
|
-
class Subclass(tuple):
|
|
2205
|
-
class Nested(str):
|
|
2206
|
-
pass
|
|
2207
|
-
|
|
2208
|
-
c_methods = (
|
|
2209
|
-
# bound built-in method
|
|
2210
|
-
("abcd".index, ("c",)),
|
|
2211
|
-
# unbound built-in method
|
|
2212
|
-
(str.index, ("abcd", "c")),
|
|
2213
|
-
# bound "slot" method
|
|
2214
|
-
([1, 2, 3].__len__, ()),
|
|
2215
|
-
# unbound "slot" method
|
|
2216
|
-
(list.__len__, ([1, 2, 3],)),
|
|
2217
|
-
# bound "coexist" method
|
|
2218
|
-
({1, 2}.__contains__, (2,)),
|
|
2219
|
-
# unbound "coexist" method
|
|
2220
|
-
(set.__contains__, ({1, 2}, 2)),
|
|
2221
|
-
# built-in class method
|
|
2222
|
-
(dict.fromkeys, (("a", 1), ("b", 2))),
|
|
2223
|
-
# built-in static method
|
|
2224
|
-
(bytearray.maketrans, (b"abc", b"xyz")),
|
|
2225
|
-
# subclass methods
|
|
2226
|
-
(Subclass([1,2,2]).count, (2,)),
|
|
2227
|
-
(Subclass.count, (Subclass([1,2,2]), 2)),
|
|
2228
|
-
(Subclass.Nested("sweet").count, ("e",)),
|
|
2229
|
-
(Subclass.Nested.count, (Subclass.Nested("sweet"), "e")),
|
|
2230
|
-
)
|
|
2231
|
-
for proto in range(pickle.HIGHEST_PROTOCOL + 1):
|
|
2232
|
-
for method, args in c_methods:
|
|
2233
|
-
with self.subTest(proto=proto, method=method):
|
|
2234
|
-
unpickled = self.loads(self.dumps(method, proto))
|
|
2235
|
-
self.assertEqual(method(*args), unpickled(*args))
|
|
2236
|
-
|
|
2237
|
-
def test_compat_pickle(self):
|
|
2238
|
-
tests = [
|
|
2239
|
-
(range(1, 7), '__builtin__', 'xrange'),
|
|
2240
|
-
(map(int, '123'), 'itertools', 'imap'),
|
|
2241
|
-
(functools.reduce, '__builtin__', 'reduce'),
|
|
2242
|
-
(dbm.whichdb, 'whichdb', 'whichdb'),
|
|
2243
|
-
(Exception(), 'exceptions', 'Exception'),
|
|
2244
|
-
(collections.UserDict(), 'UserDict', 'IterableUserDict'),
|
|
2245
|
-
(collections.UserList(), 'UserList', 'UserList'),
|
|
2246
|
-
(collections.defaultdict(), 'collections', 'defaultdict'),
|
|
2247
|
-
]
|
|
2248
|
-
for val, mod, name in tests:
|
|
2249
|
-
for proto in range(3):
|
|
2250
|
-
with self.subTest(type=type(val), proto=proto):
|
|
2251
|
-
pickled = self.dumps(val, proto)
|
|
2252
|
-
self.assertIn(('c%s\n%s' % (mod, name)).encode(), pickled)
|
|
2253
|
-
self.assertIs(type(self.loads(pickled)), type(val))
|
|
2254
|
-
|
|
2255
|
-
def test_local_lookup_error(self):
|
|
2256
|
-
# Test that whichmodule() errors out cleanly when looking up
|
|
2257
|
-
# an assumed globally-reachable object fails.
|
|
2258
|
-
def f():
|
|
2259
|
-
pass
|
|
2260
|
-
# Since the function is local, lookup will fail
|
|
2261
|
-
for proto in range(0, pickle.HIGHEST_PROTOCOL + 1):
|
|
2262
|
-
with self.assertRaises((AttributeError, pickle.PicklingError)):
|
|
2263
|
-
pickletools.dis(self.dumps(f, proto))
|
|
2264
|
-
# Same without a __module__ attribute (exercises a different path
|
|
2265
|
-
# in _pickle.c).
|
|
2266
|
-
del f.__module__
|
|
2267
|
-
for proto in range(0, pickle.HIGHEST_PROTOCOL + 1):
|
|
2268
|
-
with self.assertRaises((AttributeError, pickle.PicklingError)):
|
|
2269
|
-
pickletools.dis(self.dumps(f, proto))
|
|
2270
|
-
# Yet a different path.
|
|
2271
|
-
f.__name__ = f.__qualname__
|
|
2272
|
-
for proto in range(0, pickle.HIGHEST_PROTOCOL + 1):
|
|
2273
|
-
with self.assertRaises((AttributeError, pickle.PicklingError)):
|
|
2274
|
-
pickletools.dis(self.dumps(f, proto))
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
class BigmemPickleTests(unittest.TestCase):
|
|
2278
|
-
|
|
2279
|
-
# Binary protocols can serialize longs of up to 2GB-1
|
|
2280
|
-
|
|
2281
|
-
@bigmemtest(size=_2G, memuse=3.6, dry_run=False)
|
|
2282
|
-
def test_huge_long_32b(self, size):
|
|
2283
|
-
data = 1 << (8 * size)
|
|
2284
|
-
try:
|
|
2285
|
-
for proto in protocols:
|
|
2286
|
-
if proto < 2:
|
|
2287
|
-
continue
|
|
2288
|
-
with self.subTest(proto=proto):
|
|
2289
|
-
with self.assertRaises((ValueError, OverflowError)):
|
|
2290
|
-
self.dumps(data, protocol=proto)
|
|
2291
|
-
finally:
|
|
2292
|
-
data = None
|
|
2293
|
-
|
|
2294
|
-
# Protocol 3 can serialize up to 4GB-1 as a bytes object
|
|
2295
|
-
# (older protocols don't have a dedicated opcode for bytes and are
|
|
2296
|
-
# too inefficient)
|
|
2297
|
-
|
|
2298
|
-
@bigmemtest(size=_2G, memuse=2.5, dry_run=False)
|
|
2299
|
-
def test_huge_bytes_32b(self, size):
|
|
2300
|
-
data = b"abcd" * (size // 4)
|
|
2301
|
-
try:
|
|
2302
|
-
for proto in protocols:
|
|
2303
|
-
if proto < 3:
|
|
2304
|
-
continue
|
|
2305
|
-
with self.subTest(proto=proto):
|
|
2306
|
-
try:
|
|
2307
|
-
pickled = self.dumps(data, protocol=proto)
|
|
2308
|
-
header = (pickle.BINBYTES +
|
|
2309
|
-
struct.pack("<I", len(data)))
|
|
2310
|
-
data_start = pickled.index(data)
|
|
2311
|
-
self.assertEqual(
|
|
2312
|
-
header,
|
|
2313
|
-
pickled[data_start-len(header):data_start])
|
|
2314
|
-
finally:
|
|
2315
|
-
pickled = None
|
|
2316
|
-
finally:
|
|
2317
|
-
data = None
|
|
2318
|
-
|
|
2319
|
-
@bigmemtest(size=_4G, memuse=2.5, dry_run=False)
|
|
2320
|
-
def test_huge_bytes_64b(self, size):
|
|
2321
|
-
data = b"acbd" * (size // 4)
|
|
2322
|
-
try:
|
|
2323
|
-
for proto in protocols:
|
|
2324
|
-
if proto < 3:
|
|
2325
|
-
continue
|
|
2326
|
-
with self.subTest(proto=proto):
|
|
2327
|
-
if proto == 3:
|
|
2328
|
-
# Protocol 3 does not support large bytes objects.
|
|
2329
|
-
# Verify that we do not crash when processing one.
|
|
2330
|
-
with self.assertRaises((ValueError, OverflowError)):
|
|
2331
|
-
self.dumps(data, protocol=proto)
|
|
2332
|
-
continue
|
|
2333
|
-
try:
|
|
2334
|
-
pickled = self.dumps(data, protocol=proto)
|
|
2335
|
-
header = (pickle.BINBYTES8 +
|
|
2336
|
-
struct.pack("<Q", len(data)))
|
|
2337
|
-
data_start = pickled.index(data)
|
|
2338
|
-
self.assertEqual(
|
|
2339
|
-
header,
|
|
2340
|
-
pickled[data_start-len(header):data_start])
|
|
2341
|
-
finally:
|
|
2342
|
-
pickled = None
|
|
2343
|
-
finally:
|
|
2344
|
-
data = None
|
|
2345
|
-
|
|
2346
|
-
# All protocols use 1-byte per printable ASCII character; we add another
|
|
2347
|
-
# byte because the encoded form has to be copied into the internal buffer.
|
|
2348
|
-
|
|
2349
|
-
@bigmemtest(size=_2G, memuse=8, dry_run=False)
|
|
2350
|
-
def test_huge_str_32b(self, size):
|
|
2351
|
-
data = "abcd" * (size // 4)
|
|
2352
|
-
try:
|
|
2353
|
-
for proto in protocols:
|
|
2354
|
-
if proto == 0:
|
|
2355
|
-
continue
|
|
2356
|
-
with self.subTest(proto=proto):
|
|
2357
|
-
try:
|
|
2358
|
-
pickled = self.dumps(data, protocol=proto)
|
|
2359
|
-
header = (pickle.BINUNICODE +
|
|
2360
|
-
struct.pack("<I", len(data)))
|
|
2361
|
-
data_start = pickled.index(b'abcd')
|
|
2362
|
-
self.assertEqual(
|
|
2363
|
-
header,
|
|
2364
|
-
pickled[data_start-len(header):data_start])
|
|
2365
|
-
self.assertEqual((pickled.rindex(b"abcd") + len(b"abcd") -
|
|
2366
|
-
pickled.index(b"abcd")), len(data))
|
|
2367
|
-
finally:
|
|
2368
|
-
pickled = None
|
|
2369
|
-
finally:
|
|
2370
|
-
data = None
|
|
2371
|
-
|
|
2372
|
-
# BINUNICODE (protocols 1, 2 and 3) cannot carry more than 2**32 - 1 bytes
|
|
2373
|
-
# of utf-8 encoded unicode. BINUNICODE8 (protocol 4) supports these huge
|
|
2374
|
-
# unicode strings however.
|
|
2375
|
-
|
|
2376
|
-
@bigmemtest(size=_4G, memuse=8, dry_run=False)
|
|
2377
|
-
def test_huge_str_64b(self, size):
|
|
2378
|
-
data = "abcd" * (size // 4)
|
|
2379
|
-
try:
|
|
2380
|
-
for proto in protocols:
|
|
2381
|
-
if proto == 0:
|
|
2382
|
-
continue
|
|
2383
|
-
with self.subTest(proto=proto):
|
|
2384
|
-
if proto < 4:
|
|
2385
|
-
with self.assertRaises((ValueError, OverflowError)):
|
|
2386
|
-
self.dumps(data, protocol=proto)
|
|
2387
|
-
continue
|
|
2388
|
-
try:
|
|
2389
|
-
pickled = self.dumps(data, protocol=proto)
|
|
2390
|
-
header = (pickle.BINUNICODE8 +
|
|
2391
|
-
struct.pack("<Q", len(data)))
|
|
2392
|
-
data_start = pickled.index(b'abcd')
|
|
2393
|
-
self.assertEqual(
|
|
2394
|
-
header,
|
|
2395
|
-
pickled[data_start-len(header):data_start])
|
|
2396
|
-
self.assertEqual((pickled.rindex(b"abcd") + len(b"abcd") -
|
|
2397
|
-
pickled.index(b"abcd")), len(data))
|
|
2398
|
-
finally:
|
|
2399
|
-
pickled = None
|
|
2400
|
-
finally:
|
|
2401
|
-
data = None
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
# Test classes for reduce_ex
|
|
2405
|
-
|
|
2406
|
-
class REX_one(object):
|
|
2407
|
-
"""No __reduce_ex__ here, but inheriting it from object"""
|
|
2408
|
-
_reduce_called = 0
|
|
2409
|
-
def __reduce__(self):
|
|
2410
|
-
self._reduce_called = 1
|
|
2411
|
-
return REX_one, ()
|
|
2412
|
-
|
|
2413
|
-
class REX_two(object):
|
|
2414
|
-
"""No __reduce__ here, but inheriting it from object"""
|
|
2415
|
-
_proto = None
|
|
2416
|
-
def __reduce_ex__(self, proto):
|
|
2417
|
-
self._proto = proto
|
|
2418
|
-
return REX_two, ()
|
|
2419
|
-
|
|
2420
|
-
class REX_three(object):
|
|
2421
|
-
_proto = None
|
|
2422
|
-
def __reduce_ex__(self, proto):
|
|
2423
|
-
self._proto = proto
|
|
2424
|
-
return REX_two, ()
|
|
2425
|
-
def __reduce__(self):
|
|
2426
|
-
raise TestFailed("This __reduce__ shouldn't be called")
|
|
2427
|
-
|
|
2428
|
-
class REX_four(object):
|
|
2429
|
-
"""Calling base class method should succeed"""
|
|
2430
|
-
_proto = None
|
|
2431
|
-
def __reduce_ex__(self, proto):
|
|
2432
|
-
self._proto = proto
|
|
2433
|
-
return object.__reduce_ex__(self, proto)
|
|
2434
|
-
|
|
2435
|
-
class REX_five(object):
|
|
2436
|
-
"""This one used to fail with infinite recursion"""
|
|
2437
|
-
_reduce_called = 0
|
|
2438
|
-
def __reduce__(self):
|
|
2439
|
-
self._reduce_called = 1
|
|
2440
|
-
return object.__reduce__(self)
|
|
2441
|
-
|
|
2442
|
-
class REX_six(object):
|
|
2443
|
-
"""This class is used to check the 4th argument (list iterator) of
|
|
2444
|
-
the reduce protocol.
|
|
2445
|
-
"""
|
|
2446
|
-
def __init__(self, items=None):
|
|
2447
|
-
self.items = items if items is not None else []
|
|
2448
|
-
def __eq__(self, other):
|
|
2449
|
-
return type(self) is type(other) and self.items == other.items
|
|
2450
|
-
def append(self, item):
|
|
2451
|
-
self.items.append(item)
|
|
2452
|
-
def __reduce__(self):
|
|
2453
|
-
return type(self), (), None, iter(self.items), None
|
|
2454
|
-
|
|
2455
|
-
class REX_seven(object):
|
|
2456
|
-
"""This class is used to check the 5th argument (dict iterator) of
|
|
2457
|
-
the reduce protocol.
|
|
2458
|
-
"""
|
|
2459
|
-
def __init__(self, table=None):
|
|
2460
|
-
self.table = table if table is not None else {}
|
|
2461
|
-
def __eq__(self, other):
|
|
2462
|
-
return type(self) is type(other) and self.table == other.table
|
|
2463
|
-
def __setitem__(self, key, value):
|
|
2464
|
-
self.table[key] = value
|
|
2465
|
-
def __reduce__(self):
|
|
2466
|
-
return type(self), (), None, None, iter(self.table.items())
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
# Test classes for newobj
|
|
2470
|
-
|
|
2471
|
-
class MyInt(int):
|
|
2472
|
-
sample = 1
|
|
2473
|
-
|
|
2474
|
-
class MyFloat(float):
|
|
2475
|
-
sample = 1.0
|
|
2476
|
-
|
|
2477
|
-
class MyComplex(complex):
|
|
2478
|
-
sample = 1.0 + 0.0j
|
|
2479
|
-
|
|
2480
|
-
class MyStr(str):
|
|
2481
|
-
sample = "hello"
|
|
2482
|
-
|
|
2483
|
-
class MyUnicode(str):
|
|
2484
|
-
sample = "hello \u1234"
|
|
2485
|
-
|
|
2486
|
-
class MyTuple(tuple):
|
|
2487
|
-
sample = (1, 2, 3)
|
|
2488
|
-
|
|
2489
|
-
class MyList(list):
|
|
2490
|
-
sample = [1, 2, 3]
|
|
2491
|
-
|
|
2492
|
-
class MyDict(dict):
|
|
2493
|
-
sample = {"a": 1, "b": 2}
|
|
2494
|
-
|
|
2495
|
-
class MySet(set):
|
|
2496
|
-
sample = {"a", "b"}
|
|
2497
|
-
|
|
2498
|
-
class MyFrozenSet(frozenset):
|
|
2499
|
-
sample = frozenset({"a", "b"})
|
|
2500
|
-
|
|
2501
|
-
myclasses = [MyInt, MyFloat,
|
|
2502
|
-
MyComplex,
|
|
2503
|
-
MyStr, MyUnicode,
|
|
2504
|
-
MyTuple, MyList, MyDict, MySet, MyFrozenSet]
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
class SlotList(MyList):
|
|
2508
|
-
__slots__ = ["foo"]
|
|
2509
|
-
|
|
2510
|
-
class SimpleNewObj(int):
|
|
2511
|
-
def __init__(self, *args, **kwargs):
|
|
2512
|
-
# raise an error, to make sure this isn't called
|
|
2513
|
-
raise TypeError("SimpleNewObj.__init__() didn't expect to get called")
|
|
2514
|
-
def __eq__(self, other):
|
|
2515
|
-
return int(self) == int(other) and self.__dict__ == other.__dict__
|
|
2516
|
-
|
|
2517
|
-
class ComplexNewObj(SimpleNewObj):
|
|
2518
|
-
def __getnewargs__(self):
|
|
2519
|
-
return ('%X' % self, 16)
|
|
2520
|
-
|
|
2521
|
-
class ComplexNewObjEx(SimpleNewObj):
|
|
2522
|
-
def __getnewargs_ex__(self):
|
|
2523
|
-
return ('%X' % self,), {'base': 16}
|
|
2524
|
-
|
|
2525
|
-
class BadGetattr:
|
|
2526
|
-
def __getattr__(self, key):
|
|
2527
|
-
self.foo
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
class AbstractPickleModuleTests(unittest.TestCase):
|
|
2531
|
-
|
|
2532
|
-
def test_dump_closed_file(self):
|
|
2533
|
-
import os
|
|
2534
|
-
f = open(TESTFN, "wb")
|
|
2535
|
-
try:
|
|
2536
|
-
f.close()
|
|
2537
|
-
self.assertRaises(ValueError, self.dump, 123, f)
|
|
2538
|
-
finally:
|
|
2539
|
-
os.remove(TESTFN)
|
|
2540
|
-
|
|
2541
|
-
def test_load_closed_file(self):
|
|
2542
|
-
import os
|
|
2543
|
-
f = open(TESTFN, "wb")
|
|
2544
|
-
try:
|
|
2545
|
-
f.close()
|
|
2546
|
-
self.assertRaises(ValueError, self.dump, 123, f)
|
|
2547
|
-
finally:
|
|
2548
|
-
os.remove(TESTFN)
|
|
2549
|
-
|
|
2550
|
-
def test_load_from_and_dump_to_file(self):
|
|
2551
|
-
stream = io.BytesIO()
|
|
2552
|
-
data = [123, {}, 124]
|
|
2553
|
-
self.dump(data, stream)
|
|
2554
|
-
stream.seek(0)
|
|
2555
|
-
unpickled = self.load(stream)
|
|
2556
|
-
self.assertEqual(unpickled, data)
|
|
2557
|
-
|
|
2558
|
-
def test_highest_protocol(self):
|
|
2559
|
-
# Of course this needs to be changed when HIGHEST_PROTOCOL changes.
|
|
2560
|
-
self.assertEqual(pickle.HIGHEST_PROTOCOL, 4)
|
|
2561
|
-
|
|
2562
|
-
def test_callapi(self):
|
|
2563
|
-
f = io.BytesIO()
|
|
2564
|
-
# With and without keyword arguments
|
|
2565
|
-
self.dump(123, f, -1)
|
|
2566
|
-
self.dump(123, file=f, protocol=-1)
|
|
2567
|
-
self.dumps(123, -1)
|
|
2568
|
-
self.dumps(123, protocol=-1)
|
|
2569
|
-
self.Pickler(f, -1)
|
|
2570
|
-
self.Pickler(f, protocol=-1)
|
|
2571
|
-
|
|
2572
|
-
def test_bad_init(self):
|
|
2573
|
-
# Test issue3664 (pickle can segfault from a badly initialized Pickler).
|
|
2574
|
-
# Override initialization without calling __init__() of the superclass.
|
|
2575
|
-
class BadPickler(self.Pickler):
|
|
2576
|
-
def __init__(self): pass
|
|
2577
|
-
|
|
2578
|
-
class BadUnpickler(self.Unpickler):
|
|
2579
|
-
def __init__(self): pass
|
|
2580
|
-
|
|
2581
|
-
self.assertRaises(pickle.PicklingError, BadPickler().dump, 0)
|
|
2582
|
-
self.assertRaises(pickle.UnpicklingError, BadUnpickler().load)
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
class AbstractPersistentPicklerTests(unittest.TestCase):
|
|
2586
|
-
|
|
2587
|
-
# This class defines persistent_id() and persistent_load()
|
|
2588
|
-
# functions that should be used by the pickler. All even integers
|
|
2589
|
-
# are pickled using persistent ids.
|
|
2590
|
-
|
|
2591
|
-
def persistent_id(self, object):
|
|
2592
|
-
if isinstance(object, int) and object % 2 == 0:
|
|
2593
|
-
self.id_count += 1
|
|
2594
|
-
return str(object)
|
|
2595
|
-
elif object == "test_false_value":
|
|
2596
|
-
self.false_count += 1
|
|
2597
|
-
return ""
|
|
2598
|
-
else:
|
|
2599
|
-
return None
|
|
2600
|
-
|
|
2601
|
-
def persistent_load(self, oid):
|
|
2602
|
-
if not oid:
|
|
2603
|
-
self.load_false_count += 1
|
|
2604
|
-
return "test_false_value"
|
|
2605
|
-
else:
|
|
2606
|
-
self.load_count += 1
|
|
2607
|
-
object = int(oid)
|
|
2608
|
-
assert object % 2 == 0
|
|
2609
|
-
return object
|
|
2610
|
-
|
|
2611
|
-
def test_persistence(self):
|
|
2612
|
-
L = list(range(10)) + ["test_false_value"]
|
|
2613
|
-
for proto in protocols:
|
|
2614
|
-
self.id_count = 0
|
|
2615
|
-
self.false_count = 0
|
|
2616
|
-
self.load_false_count = 0
|
|
2617
|
-
self.load_count = 0
|
|
2618
|
-
self.assertEqual(self.loads(self.dumps(L, proto)), L)
|
|
2619
|
-
self.assertEqual(self.id_count, 5)
|
|
2620
|
-
self.assertEqual(self.false_count, 1)
|
|
2621
|
-
self.assertEqual(self.load_count, 5)
|
|
2622
|
-
self.assertEqual(self.load_false_count, 1)
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
class AbstractIdentityPersistentPicklerTests(unittest.TestCase):
|
|
2626
|
-
|
|
2627
|
-
def persistent_id(self, obj):
|
|
2628
|
-
return obj
|
|
2629
|
-
|
|
2630
|
-
def persistent_load(self, pid):
|
|
2631
|
-
return pid
|
|
2632
|
-
|
|
2633
|
-
def _check_return_correct_type(self, obj, proto):
|
|
2634
|
-
unpickled = self.loads(self.dumps(obj, proto))
|
|
2635
|
-
self.assertIsInstance(unpickled, type(obj))
|
|
2636
|
-
self.assertEqual(unpickled, obj)
|
|
2637
|
-
|
|
2638
|
-
def test_return_correct_type(self):
|
|
2639
|
-
for proto in protocols:
|
|
2640
|
-
# Protocol 0 supports only ASCII strings.
|
|
2641
|
-
if proto == 0:
|
|
2642
|
-
self._check_return_correct_type("abc", 0)
|
|
2643
|
-
else:
|
|
2644
|
-
for obj in [b"abc\n", "abc\n", -1, -1.1 * 0.1, str]:
|
|
2645
|
-
self._check_return_correct_type(obj, proto)
|
|
2646
|
-
|
|
2647
|
-
def test_protocol0_is_ascii_only(self):
|
|
2648
|
-
non_ascii_str = "\N{EMPTY SET}"
|
|
2649
|
-
self.assertRaises(pickle.PicklingError, self.dumps, non_ascii_str, 0)
|
|
2650
|
-
pickled = pickle.PERSID + non_ascii_str.encode('utf-8') + b'\n.'
|
|
2651
|
-
self.assertRaises(pickle.UnpicklingError, self.loads, pickled)
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
class AbstractPicklerUnpicklerObjectTests(unittest.TestCase):
|
|
2655
|
-
|
|
2656
|
-
pickler_class = None
|
|
2657
|
-
unpickler_class = None
|
|
2658
|
-
|
|
2659
|
-
def setUp(self):
|
|
2660
|
-
assert self.pickler_class
|
|
2661
|
-
assert self.unpickler_class
|
|
2662
|
-
|
|
2663
|
-
def test_clear_pickler_memo(self):
|
|
2664
|
-
# To test whether clear_memo() has any effect, we pickle an object,
|
|
2665
|
-
# then pickle it again without clearing the memo; the two serialized
|
|
2666
|
-
# forms should be different. If we clear_memo() and then pickle the
|
|
2667
|
-
# object again, the third serialized form should be identical to the
|
|
2668
|
-
# first one we obtained.
|
|
2669
|
-
data = ["abcdefg", "abcdefg", 44]
|
|
2670
|
-
f = io.BytesIO()
|
|
2671
|
-
pickler = self.pickler_class(f)
|
|
2672
|
-
|
|
2673
|
-
pickler.dump(data)
|
|
2674
|
-
first_pickled = f.getvalue()
|
|
2675
|
-
|
|
2676
|
-
# Reset BytesIO object.
|
|
2677
|
-
f.seek(0)
|
|
2678
|
-
f.truncate()
|
|
2679
|
-
|
|
2680
|
-
pickler.dump(data)
|
|
2681
|
-
second_pickled = f.getvalue()
|
|
2682
|
-
|
|
2683
|
-
# Reset the Pickler and BytesIO objects.
|
|
2684
|
-
pickler.clear_memo()
|
|
2685
|
-
f.seek(0)
|
|
2686
|
-
f.truncate()
|
|
2687
|
-
|
|
2688
|
-
pickler.dump(data)
|
|
2689
|
-
third_pickled = f.getvalue()
|
|
2690
|
-
|
|
2691
|
-
self.assertNotEqual(first_pickled, second_pickled)
|
|
2692
|
-
self.assertEqual(first_pickled, third_pickled)
|
|
2693
|
-
|
|
2694
|
-
def test_priming_pickler_memo(self):
|
|
2695
|
-
# Verify that we can set the Pickler's memo attribute.
|
|
2696
|
-
data = ["abcdefg", "abcdefg", 44]
|
|
2697
|
-
f = io.BytesIO()
|
|
2698
|
-
pickler = self.pickler_class(f)
|
|
2699
|
-
|
|
2700
|
-
pickler.dump(data)
|
|
2701
|
-
first_pickled = f.getvalue()
|
|
2702
|
-
|
|
2703
|
-
f = io.BytesIO()
|
|
2704
|
-
primed = self.pickler_class(f)
|
|
2705
|
-
primed.memo = pickler.memo
|
|
2706
|
-
|
|
2707
|
-
primed.dump(data)
|
|
2708
|
-
primed_pickled = f.getvalue()
|
|
2709
|
-
|
|
2710
|
-
self.assertNotEqual(first_pickled, primed_pickled)
|
|
2711
|
-
|
|
2712
|
-
def test_priming_unpickler_memo(self):
|
|
2713
|
-
# Verify that we can set the Unpickler's memo attribute.
|
|
2714
|
-
data = ["abcdefg", "abcdefg", 44]
|
|
2715
|
-
f = io.BytesIO()
|
|
2716
|
-
pickler = self.pickler_class(f)
|
|
2717
|
-
|
|
2718
|
-
pickler.dump(data)
|
|
2719
|
-
first_pickled = f.getvalue()
|
|
2720
|
-
|
|
2721
|
-
f = io.BytesIO()
|
|
2722
|
-
primed = self.pickler_class(f)
|
|
2723
|
-
primed.memo = pickler.memo
|
|
2724
|
-
|
|
2725
|
-
primed.dump(data)
|
|
2726
|
-
primed_pickled = f.getvalue()
|
|
2727
|
-
|
|
2728
|
-
unpickler = self.unpickler_class(io.BytesIO(first_pickled))
|
|
2729
|
-
unpickled_data1 = unpickler.load()
|
|
2730
|
-
|
|
2731
|
-
self.assertEqual(unpickled_data1, data)
|
|
2732
|
-
|
|
2733
|
-
primed = self.unpickler_class(io.BytesIO(primed_pickled))
|
|
2734
|
-
primed.memo = unpickler.memo
|
|
2735
|
-
unpickled_data2 = primed.load()
|
|
2736
|
-
|
|
2737
|
-
primed.memo.clear()
|
|
2738
|
-
|
|
2739
|
-
self.assertEqual(unpickled_data2, data)
|
|
2740
|
-
self.assertTrue(unpickled_data2 is unpickled_data1)
|
|
2741
|
-
|
|
2742
|
-
def test_reusing_unpickler_objects(self):
|
|
2743
|
-
data1 = ["abcdefg", "abcdefg", 44]
|
|
2744
|
-
f = io.BytesIO()
|
|
2745
|
-
pickler = self.pickler_class(f)
|
|
2746
|
-
pickler.dump(data1)
|
|
2747
|
-
pickled1 = f.getvalue()
|
|
2748
|
-
|
|
2749
|
-
data2 = ["abcdefg", 44, 44]
|
|
2750
|
-
f = io.BytesIO()
|
|
2751
|
-
pickler = self.pickler_class(f)
|
|
2752
|
-
pickler.dump(data2)
|
|
2753
|
-
pickled2 = f.getvalue()
|
|
2754
|
-
|
|
2755
|
-
f = io.BytesIO()
|
|
2756
|
-
f.write(pickled1)
|
|
2757
|
-
f.seek(0)
|
|
2758
|
-
unpickler = self.unpickler_class(f)
|
|
2759
|
-
self.assertEqual(unpickler.load(), data1)
|
|
2760
|
-
|
|
2761
|
-
f.seek(0)
|
|
2762
|
-
f.truncate()
|
|
2763
|
-
f.write(pickled2)
|
|
2764
|
-
f.seek(0)
|
|
2765
|
-
self.assertEqual(unpickler.load(), data2)
|
|
2766
|
-
|
|
2767
|
-
def _check_multiple_unpicklings(self, ioclass):
|
|
2768
|
-
for proto in protocols:
|
|
2769
|
-
with self.subTest(proto=proto):
|
|
2770
|
-
data1 = [(x, str(x)) for x in range(2000)] + [b"abcde", len]
|
|
2771
|
-
f = ioclass()
|
|
2772
|
-
pickler = self.pickler_class(f, protocol=proto)
|
|
2773
|
-
pickler.dump(data1)
|
|
2774
|
-
pickled = f.getvalue()
|
|
2775
|
-
|
|
2776
|
-
N = 5
|
|
2777
|
-
f = ioclass(pickled * N)
|
|
2778
|
-
unpickler = self.unpickler_class(f)
|
|
2779
|
-
for i in range(N):
|
|
2780
|
-
if f.seekable():
|
|
2781
|
-
pos = f.tell()
|
|
2782
|
-
self.assertEqual(unpickler.load(), data1)
|
|
2783
|
-
if f.seekable():
|
|
2784
|
-
self.assertEqual(f.tell(), pos + len(pickled))
|
|
2785
|
-
self.assertRaises(EOFError, unpickler.load)
|
|
2786
|
-
|
|
2787
|
-
def test_multiple_unpicklings_seekable(self):
|
|
2788
|
-
self._check_multiple_unpicklings(io.BytesIO)
|
|
2789
|
-
|
|
2790
|
-
def test_multiple_unpicklings_unseekable(self):
|
|
2791
|
-
self._check_multiple_unpicklings(UnseekableIO)
|
|
2792
|
-
|
|
2793
|
-
def test_unpickling_buffering_readline(self):
|
|
2794
|
-
# Issue #12687: the unpickler's buffering logic could fail with
|
|
2795
|
-
# text mode opcodes.
|
|
2796
|
-
data = list(range(10))
|
|
2797
|
-
for proto in protocols:
|
|
2798
|
-
for buf_size in range(1, 11):
|
|
2799
|
-
f = io.BufferedRandom(io.BytesIO(), buffer_size=buf_size)
|
|
2800
|
-
pickler = self.pickler_class(f, protocol=proto)
|
|
2801
|
-
pickler.dump(data)
|
|
2802
|
-
f.seek(0)
|
|
2803
|
-
unpickler = self.unpickler_class(f)
|
|
2804
|
-
self.assertEqual(unpickler.load(), data)
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
# Tests for dispatch_table attribute
|
|
2808
|
-
|
|
2809
|
-
REDUCE_A = 'reduce_A'
|
|
2810
|
-
|
|
2811
|
-
class AAA(object):
|
|
2812
|
-
def __reduce__(self):
|
|
2813
|
-
return str, (REDUCE_A,)
|
|
2814
|
-
|
|
2815
|
-
class BBB(object):
|
|
2816
|
-
pass
|
|
2817
|
-
|
|
2818
|
-
class AbstractDispatchTableTests(unittest.TestCase):
|
|
2819
|
-
|
|
2820
|
-
def test_default_dispatch_table(self):
|
|
2821
|
-
# No dispatch_table attribute by default
|
|
2822
|
-
f = io.BytesIO()
|
|
2823
|
-
p = self.pickler_class(f, 0)
|
|
2824
|
-
with self.assertRaises(AttributeError):
|
|
2825
|
-
p.dispatch_table
|
|
2826
|
-
self.assertFalse(hasattr(p, 'dispatch_table'))
|
|
2827
|
-
|
|
2828
|
-
def test_class_dispatch_table(self):
|
|
2829
|
-
# A dispatch_table attribute can be specified class-wide
|
|
2830
|
-
dt = self.get_dispatch_table()
|
|
2831
|
-
|
|
2832
|
-
class MyPickler(self.pickler_class):
|
|
2833
|
-
dispatch_table = dt
|
|
2834
|
-
|
|
2835
|
-
def dumps(obj, protocol=None):
|
|
2836
|
-
f = io.BytesIO()
|
|
2837
|
-
p = MyPickler(f, protocol)
|
|
2838
|
-
self.assertEqual(p.dispatch_table, dt)
|
|
2839
|
-
p.dump(obj)
|
|
2840
|
-
return f.getvalue()
|
|
2841
|
-
|
|
2842
|
-
self._test_dispatch_table(dumps, dt)
|
|
2843
|
-
|
|
2844
|
-
def test_instance_dispatch_table(self):
|
|
2845
|
-
# A dispatch_table attribute can also be specified instance-wide
|
|
2846
|
-
dt = self.get_dispatch_table()
|
|
2847
|
-
|
|
2848
|
-
def dumps(obj, protocol=None):
|
|
2849
|
-
f = io.BytesIO()
|
|
2850
|
-
p = self.pickler_class(f, protocol)
|
|
2851
|
-
p.dispatch_table = dt
|
|
2852
|
-
self.assertEqual(p.dispatch_table, dt)
|
|
2853
|
-
p.dump(obj)
|
|
2854
|
-
return f.getvalue()
|
|
2855
|
-
|
|
2856
|
-
self._test_dispatch_table(dumps, dt)
|
|
2857
|
-
|
|
2858
|
-
def _test_dispatch_table(self, dumps, dispatch_table):
|
|
2859
|
-
def custom_load_dump(obj):
|
|
2860
|
-
return pickle.loads(dumps(obj, 0))
|
|
2861
|
-
|
|
2862
|
-
def default_load_dump(obj):
|
|
2863
|
-
return pickle.loads(pickle.dumps(obj, 0))
|
|
2864
|
-
|
|
2865
|
-
# pickling complex numbers using protocol 0 relies on copyreg
|
|
2866
|
-
# so check pickling a complex number still works
|
|
2867
|
-
z = 1 + 2j
|
|
2868
|
-
self.assertEqual(custom_load_dump(z), z)
|
|
2869
|
-
self.assertEqual(default_load_dump(z), z)
|
|
2870
|
-
|
|
2871
|
-
# modify pickling of complex
|
|
2872
|
-
REDUCE_1 = 'reduce_1'
|
|
2873
|
-
def reduce_1(obj):
|
|
2874
|
-
return str, (REDUCE_1,)
|
|
2875
|
-
dispatch_table[complex] = reduce_1
|
|
2876
|
-
self.assertEqual(custom_load_dump(z), REDUCE_1)
|
|
2877
|
-
self.assertEqual(default_load_dump(z), z)
|
|
2878
|
-
|
|
2879
|
-
# check picklability of AAA and BBB
|
|
2880
|
-
a = AAA()
|
|
2881
|
-
b = BBB()
|
|
2882
|
-
self.assertEqual(custom_load_dump(a), REDUCE_A)
|
|
2883
|
-
self.assertIsInstance(custom_load_dump(b), BBB)
|
|
2884
|
-
self.assertEqual(default_load_dump(a), REDUCE_A)
|
|
2885
|
-
self.assertIsInstance(default_load_dump(b), BBB)
|
|
2886
|
-
|
|
2887
|
-
# modify pickling of BBB
|
|
2888
|
-
dispatch_table[BBB] = reduce_1
|
|
2889
|
-
self.assertEqual(custom_load_dump(a), REDUCE_A)
|
|
2890
|
-
self.assertEqual(custom_load_dump(b), REDUCE_1)
|
|
2891
|
-
self.assertEqual(default_load_dump(a), REDUCE_A)
|
|
2892
|
-
self.assertIsInstance(default_load_dump(b), BBB)
|
|
2893
|
-
|
|
2894
|
-
# revert pickling of BBB and modify pickling of AAA
|
|
2895
|
-
REDUCE_2 = 'reduce_2'
|
|
2896
|
-
def reduce_2(obj):
|
|
2897
|
-
return str, (REDUCE_2,)
|
|
2898
|
-
dispatch_table[AAA] = reduce_2
|
|
2899
|
-
del dispatch_table[BBB]
|
|
2900
|
-
self.assertEqual(custom_load_dump(a), REDUCE_2)
|
|
2901
|
-
self.assertIsInstance(custom_load_dump(b), BBB)
|
|
2902
|
-
self.assertEqual(default_load_dump(a), REDUCE_A)
|
|
2903
|
-
self.assertIsInstance(default_load_dump(b), BBB)
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
if __name__ == "__main__":
|
|
2907
|
-
# Print some stuff that can be used to rewrite DATA{0,1,2}
|
|
2908
|
-
from pickletools import dis
|
|
2909
|
-
x = create_data()
|
|
2910
|
-
for i in range(pickle.HIGHEST_PROTOCOL+1):
|
|
2911
|
-
p = pickle.dumps(x, i)
|
|
2912
|
-
print("DATA{0} = (".format(i))
|
|
2913
|
-
for j in range(0, len(p), 20):
|
|
2914
|
-
b = bytes(p[j:j+20])
|
|
2915
|
-
print(" {0!r}".format(b))
|
|
2916
|
-
print(")")
|
|
2917
|
-
print()
|
|
2918
|
-
print("# Disassembly of DATA{0}".format(i))
|
|
2919
|
-
print("DATA{0}_DIS = \"\"\"\\".format(i))
|
|
2920
|
-
dis(p)
|
|
2921
|
-
print("\"\"\"")
|
|
2922
|
-
print()
|