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,2663 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
"""Generate Python documentation in HTML or text for interactive use.
|
|
3
|
-
|
|
4
|
-
At the Python interactive prompt, calling help(thing) on a Python object
|
|
5
|
-
documents the object, and calling help() starts up an interactive
|
|
6
|
-
help session.
|
|
7
|
-
|
|
8
|
-
Or, at the shell command line outside of Python:
|
|
9
|
-
|
|
10
|
-
Run "pydoc <name>" to show documentation on something. <name> may be
|
|
11
|
-
the name of a function, module, package, or a dotted reference to a
|
|
12
|
-
class or function within a module or module in a package. If the
|
|
13
|
-
argument contains a path segment delimiter (e.g. slash on Unix,
|
|
14
|
-
backslash on Windows) it is treated as the path to a Python source file.
|
|
15
|
-
|
|
16
|
-
Run "pydoc -k <keyword>" to search for a keyword in the synopsis lines
|
|
17
|
-
of all available modules.
|
|
18
|
-
|
|
19
|
-
Run "pydoc -p <port>" to start an HTTP server on the given port on the
|
|
20
|
-
local machine. Port number 0 can be used to get an arbitrary unused port.
|
|
21
|
-
|
|
22
|
-
Run "pydoc -b" to start an HTTP server on an arbitrary unused port and
|
|
23
|
-
open a Web browser to interactively browse documentation. The -p option
|
|
24
|
-
can be used with the -b option to explicitly specify the server port.
|
|
25
|
-
|
|
26
|
-
Run "pydoc -w <name>" to write out the HTML documentation for a module
|
|
27
|
-
to a file named "<name>.html".
|
|
28
|
-
|
|
29
|
-
Module docs for core modules are assumed to be in
|
|
30
|
-
|
|
31
|
-
https://docs.python.org/X.Y/library/
|
|
32
|
-
|
|
33
|
-
This can be overridden by setting the PYTHONDOCS environment variable
|
|
34
|
-
to a different URL or to a local directory containing the Library
|
|
35
|
-
Reference Manual pages.
|
|
36
|
-
"""
|
|
37
|
-
__all__ = ['help']
|
|
38
|
-
__author__ = "Ka-Ping Yee <ping@lfw.org>"
|
|
39
|
-
__date__ = "26 February 2001"
|
|
40
|
-
|
|
41
|
-
__credits__ = """Guido van Rossum, for an excellent programming language.
|
|
42
|
-
Tommy Burnette, the original creator of manpy.
|
|
43
|
-
Paul Prescod, for all his work on onlinehelp.
|
|
44
|
-
Richard Chamberlain, for the first implementation of textdoc.
|
|
45
|
-
"""
|
|
46
|
-
|
|
47
|
-
# Known bugs that can't be fixed here:
|
|
48
|
-
# - synopsis() cannot be prevented from clobbering existing
|
|
49
|
-
# loaded modules.
|
|
50
|
-
# - If the __file__ attribute on a module is a relative path and
|
|
51
|
-
# the current directory is changed with os.chdir(), an incorrect
|
|
52
|
-
# path will be displayed.
|
|
53
|
-
|
|
54
|
-
import builtins
|
|
55
|
-
import importlib._bootstrap
|
|
56
|
-
import importlib._bootstrap_external
|
|
57
|
-
import importlib.machinery
|
|
58
|
-
import importlib.util
|
|
59
|
-
import inspect
|
|
60
|
-
import io
|
|
61
|
-
import os
|
|
62
|
-
import pkgutil
|
|
63
|
-
import platform
|
|
64
|
-
import re
|
|
65
|
-
import sys
|
|
66
|
-
import time
|
|
67
|
-
import tokenize
|
|
68
|
-
import urllib.parse
|
|
69
|
-
import warnings
|
|
70
|
-
from collections import deque
|
|
71
|
-
from reprlib import Repr
|
|
72
|
-
from traceback import format_exception_only
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
# --------------------------------------------------------- common routines
|
|
76
|
-
|
|
77
|
-
def pathdirs():
|
|
78
|
-
"""Convert sys.path into a list of absolute, existing, unique paths."""
|
|
79
|
-
dirs = []
|
|
80
|
-
normdirs = []
|
|
81
|
-
for dir in sys.path:
|
|
82
|
-
dir = os.path.abspath(dir or '.')
|
|
83
|
-
normdir = os.path.normcase(dir)
|
|
84
|
-
if normdir not in normdirs and os.path.isdir(dir):
|
|
85
|
-
dirs.append(dir)
|
|
86
|
-
normdirs.append(normdir)
|
|
87
|
-
return dirs
|
|
88
|
-
|
|
89
|
-
def getdoc(object):
|
|
90
|
-
"""Get the doc string or comments for an object."""
|
|
91
|
-
result = inspect.getdoc(object) or inspect.getcomments(object)
|
|
92
|
-
return result and re.sub('^ *\n', '', result.rstrip()) or ''
|
|
93
|
-
|
|
94
|
-
def splitdoc(doc):
|
|
95
|
-
"""Split a doc string into a synopsis line (if any) and the rest."""
|
|
96
|
-
lines = doc.strip().split('\n')
|
|
97
|
-
if len(lines) == 1:
|
|
98
|
-
return lines[0], ''
|
|
99
|
-
elif len(lines) >= 2 and not lines[1].rstrip():
|
|
100
|
-
return lines[0], '\n'.join(lines[2:])
|
|
101
|
-
return '', '\n'.join(lines)
|
|
102
|
-
|
|
103
|
-
def classname(object, modname):
|
|
104
|
-
"""Get a class name and qualify it with a module name if necessary."""
|
|
105
|
-
name = object.__name__
|
|
106
|
-
if object.__module__ != modname:
|
|
107
|
-
name = object.__module__ + '.' + name
|
|
108
|
-
return name
|
|
109
|
-
|
|
110
|
-
def isdata(object):
|
|
111
|
-
"""Check if an object is of a type that probably means it's data."""
|
|
112
|
-
return not (inspect.ismodule(object) or inspect.isclass(object) or
|
|
113
|
-
inspect.isroutine(object) or inspect.isframe(object) or
|
|
114
|
-
inspect.istraceback(object) or inspect.iscode(object))
|
|
115
|
-
|
|
116
|
-
def replace(text, *pairs):
|
|
117
|
-
"""Do a series of global replacements on a string."""
|
|
118
|
-
while pairs:
|
|
119
|
-
text = pairs[1].join(text.split(pairs[0]))
|
|
120
|
-
pairs = pairs[2:]
|
|
121
|
-
return text
|
|
122
|
-
|
|
123
|
-
def cram(text, maxlen):
|
|
124
|
-
"""Omit part of a string if needed to make it fit in a maximum length."""
|
|
125
|
-
if len(text) > maxlen:
|
|
126
|
-
pre = max(0, (maxlen-3)//2)
|
|
127
|
-
post = max(0, maxlen-3-pre)
|
|
128
|
-
return text[:pre] + '...' + text[len(text)-post:]
|
|
129
|
-
return text
|
|
130
|
-
|
|
131
|
-
_re_stripid = re.compile(r' at 0x[0-9a-f]{6,16}(>+)$', re.IGNORECASE)
|
|
132
|
-
def stripid(text):
|
|
133
|
-
"""Remove the hexadecimal id from a Python object representation."""
|
|
134
|
-
# The behaviour of %p is implementation-dependent in terms of case.
|
|
135
|
-
return _re_stripid.sub(r'\1', text)
|
|
136
|
-
|
|
137
|
-
def _is_some_method(obj):
|
|
138
|
-
return (inspect.isfunction(obj) or
|
|
139
|
-
inspect.ismethod(obj) or
|
|
140
|
-
inspect.isbuiltin(obj) or
|
|
141
|
-
inspect.ismethoddescriptor(obj))
|
|
142
|
-
|
|
143
|
-
def _is_bound_method(fn):
|
|
144
|
-
"""
|
|
145
|
-
Returns True if fn is a bound method, regardless of whether
|
|
146
|
-
fn was implemented in Python or in C.
|
|
147
|
-
"""
|
|
148
|
-
if inspect.ismethod(fn):
|
|
149
|
-
return True
|
|
150
|
-
if inspect.isbuiltin(fn):
|
|
151
|
-
self = getattr(fn, '__self__', None)
|
|
152
|
-
return not (inspect.ismodule(self) or (self is None))
|
|
153
|
-
return False
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
def allmethods(cl):
|
|
157
|
-
methods = {}
|
|
158
|
-
for key, value in inspect.getmembers(cl, _is_some_method):
|
|
159
|
-
methods[key] = 1
|
|
160
|
-
for base in cl.__bases__:
|
|
161
|
-
methods.update(allmethods(base)) # all your base are belong to us
|
|
162
|
-
for key in methods.keys():
|
|
163
|
-
methods[key] = getattr(cl, key)
|
|
164
|
-
return methods
|
|
165
|
-
|
|
166
|
-
def _split_list(s, predicate):
|
|
167
|
-
"""Split sequence s via predicate, and return pair ([true], [false]).
|
|
168
|
-
|
|
169
|
-
The return value is a 2-tuple of lists,
|
|
170
|
-
([x for x in s if predicate(x)],
|
|
171
|
-
[x for x in s if not predicate(x)])
|
|
172
|
-
"""
|
|
173
|
-
|
|
174
|
-
yes = []
|
|
175
|
-
no = []
|
|
176
|
-
for x in s:
|
|
177
|
-
if predicate(x):
|
|
178
|
-
yes.append(x)
|
|
179
|
-
else:
|
|
180
|
-
no.append(x)
|
|
181
|
-
return yes, no
|
|
182
|
-
|
|
183
|
-
def visiblename(name, all=None, obj=None):
|
|
184
|
-
"""Decide whether to show documentation on a variable."""
|
|
185
|
-
# Certain special names are redundant or internal.
|
|
186
|
-
# XXX Remove __initializing__?
|
|
187
|
-
if name in {'__author__', '__builtins__', '__cached__', '__credits__',
|
|
188
|
-
'__date__', '__doc__', '__file__', '__spec__',
|
|
189
|
-
'__loader__', '__module__', '__name__', '__package__',
|
|
190
|
-
'__path__', '__qualname__', '__slots__', '__version__'}:
|
|
191
|
-
return 0
|
|
192
|
-
# Private names are hidden, but special names are displayed.
|
|
193
|
-
if name.startswith('__') and name.endswith('__'): return 1
|
|
194
|
-
# Namedtuples have public fields and methods with a single leading underscore
|
|
195
|
-
if name.startswith('_') and hasattr(obj, '_fields'):
|
|
196
|
-
return True
|
|
197
|
-
if all is not None:
|
|
198
|
-
# only document that which the programmer exported in __all__
|
|
199
|
-
return name in all
|
|
200
|
-
else:
|
|
201
|
-
return not name.startswith('_')
|
|
202
|
-
|
|
203
|
-
def classify_class_attrs(object):
|
|
204
|
-
"""Wrap inspect.classify_class_attrs, with fixup for data descriptors."""
|
|
205
|
-
results = []
|
|
206
|
-
for (name, kind, cls, value) in inspect.classify_class_attrs(object):
|
|
207
|
-
if inspect.isdatadescriptor(value):
|
|
208
|
-
kind = 'data descriptor'
|
|
209
|
-
results.append((name, kind, cls, value))
|
|
210
|
-
return results
|
|
211
|
-
|
|
212
|
-
def sort_attributes(attrs, object):
|
|
213
|
-
'Sort the attrs list in-place by _fields and then alphabetically by name'
|
|
214
|
-
# This allows data descriptors to be ordered according
|
|
215
|
-
# to a _fields attribute if present.
|
|
216
|
-
fields = getattr(object, '_fields', [])
|
|
217
|
-
try:
|
|
218
|
-
field_order = {name : i-len(fields) for (i, name) in enumerate(fields)}
|
|
219
|
-
except TypeError:
|
|
220
|
-
field_order = {}
|
|
221
|
-
keyfunc = lambda attr: (field_order.get(attr[0], 0), attr[0])
|
|
222
|
-
attrs.sort(key=keyfunc)
|
|
223
|
-
|
|
224
|
-
# ----------------------------------------------------- module manipulation
|
|
225
|
-
|
|
226
|
-
def ispackage(path):
|
|
227
|
-
"""Guess whether a path refers to a package directory."""
|
|
228
|
-
if os.path.isdir(path):
|
|
229
|
-
for ext in ('.py', '.pyc'):
|
|
230
|
-
if os.path.isfile(os.path.join(path, '__init__' + ext)):
|
|
231
|
-
return True
|
|
232
|
-
return False
|
|
233
|
-
|
|
234
|
-
def source_synopsis(file):
|
|
235
|
-
line = file.readline()
|
|
236
|
-
while line[:1] == '#' or not line.strip():
|
|
237
|
-
line = file.readline()
|
|
238
|
-
if not line: break
|
|
239
|
-
line = line.strip()
|
|
240
|
-
if line[:4] == 'r"""': line = line[1:]
|
|
241
|
-
if line[:3] == '"""':
|
|
242
|
-
line = line[3:]
|
|
243
|
-
if line[-1:] == '\\': line = line[:-1]
|
|
244
|
-
while not line.strip():
|
|
245
|
-
line = file.readline()
|
|
246
|
-
if not line: break
|
|
247
|
-
result = line.split('"""')[0].strip()
|
|
248
|
-
else: result = None
|
|
249
|
-
return result
|
|
250
|
-
|
|
251
|
-
def synopsis(filename, cache={}):
|
|
252
|
-
"""Get the one-line summary out of a module file."""
|
|
253
|
-
mtime = os.stat(filename).st_mtime
|
|
254
|
-
lastupdate, result = cache.get(filename, (None, None))
|
|
255
|
-
if lastupdate is None or lastupdate < mtime:
|
|
256
|
-
# Look for binary suffixes first, falling back to source.
|
|
257
|
-
if filename.endswith(tuple(importlib.machinery.BYTECODE_SUFFIXES)):
|
|
258
|
-
loader_cls = importlib.machinery.SourcelessFileLoader
|
|
259
|
-
elif filename.endswith(tuple(importlib.machinery.EXTENSION_SUFFIXES)):
|
|
260
|
-
loader_cls = importlib.machinery.ExtensionFileLoader
|
|
261
|
-
else:
|
|
262
|
-
loader_cls = None
|
|
263
|
-
# Now handle the choice.
|
|
264
|
-
if loader_cls is None:
|
|
265
|
-
# Must be a source file.
|
|
266
|
-
try:
|
|
267
|
-
file = tokenize.open(filename)
|
|
268
|
-
except OSError:
|
|
269
|
-
# module can't be opened, so skip it
|
|
270
|
-
return None
|
|
271
|
-
# text modules can be directly examined
|
|
272
|
-
with file:
|
|
273
|
-
result = source_synopsis(file)
|
|
274
|
-
else:
|
|
275
|
-
# Must be a binary module, which has to be imported.
|
|
276
|
-
loader = loader_cls('__temp__', filename)
|
|
277
|
-
# XXX We probably don't need to pass in the loader here.
|
|
278
|
-
spec = importlib.util.spec_from_file_location('__temp__', filename,
|
|
279
|
-
loader=loader)
|
|
280
|
-
try:
|
|
281
|
-
module = importlib._bootstrap._load(spec)
|
|
282
|
-
except:
|
|
283
|
-
return None
|
|
284
|
-
del sys.modules['__temp__']
|
|
285
|
-
result = module.__doc__.splitlines()[0] if module.__doc__ else None
|
|
286
|
-
# Cache the result.
|
|
287
|
-
cache[filename] = (mtime, result)
|
|
288
|
-
return result
|
|
289
|
-
|
|
290
|
-
class ErrorDuringImport(Exception):
|
|
291
|
-
"""Errors that occurred while trying to import something to document it."""
|
|
292
|
-
def __init__(self, filename, exc_info):
|
|
293
|
-
self.filename = filename
|
|
294
|
-
self.exc, self.value, self.tb = exc_info
|
|
295
|
-
|
|
296
|
-
def __str__(self):
|
|
297
|
-
exc = self.exc.__name__
|
|
298
|
-
return 'problem in %s - %s: %s' % (self.filename, exc, self.value)
|
|
299
|
-
|
|
300
|
-
def importfile(path):
|
|
301
|
-
"""Import a Python source file or compiled file given its path."""
|
|
302
|
-
magic = importlib.util.MAGIC_NUMBER
|
|
303
|
-
with open(path, 'rb') as file:
|
|
304
|
-
is_bytecode = magic == file.read(len(magic))
|
|
305
|
-
filename = os.path.basename(path)
|
|
306
|
-
name, ext = os.path.splitext(filename)
|
|
307
|
-
if is_bytecode:
|
|
308
|
-
loader = importlib._bootstrap_external.SourcelessFileLoader(name, path)
|
|
309
|
-
else:
|
|
310
|
-
loader = importlib._bootstrap_external.SourceFileLoader(name, path)
|
|
311
|
-
# XXX We probably don't need to pass in the loader here.
|
|
312
|
-
spec = importlib.util.spec_from_file_location(name, path, loader=loader)
|
|
313
|
-
try:
|
|
314
|
-
return importlib._bootstrap._load(spec)
|
|
315
|
-
except:
|
|
316
|
-
raise ErrorDuringImport(path, sys.exc_info())
|
|
317
|
-
|
|
318
|
-
def safeimport(path, forceload=0, cache={}):
|
|
319
|
-
"""Import a module; handle errors; return None if the module isn't found.
|
|
320
|
-
|
|
321
|
-
If the module *is* found but an exception occurs, it's wrapped in an
|
|
322
|
-
ErrorDuringImport exception and reraised. Unlike __import__, if a
|
|
323
|
-
package path is specified, the module at the end of the path is returned,
|
|
324
|
-
not the package at the beginning. If the optional 'forceload' argument
|
|
325
|
-
is 1, we reload the module from disk (unless it's a dynamic extension)."""
|
|
326
|
-
try:
|
|
327
|
-
# If forceload is 1 and the module has been previously loaded from
|
|
328
|
-
# disk, we always have to reload the module. Checking the file's
|
|
329
|
-
# mtime isn't good enough (e.g. the module could contain a class
|
|
330
|
-
# that inherits from another module that has changed).
|
|
331
|
-
if forceload and path in sys.modules:
|
|
332
|
-
if path not in sys.builtin_module_names:
|
|
333
|
-
# Remove the module from sys.modules and re-import to try
|
|
334
|
-
# and avoid problems with partially loaded modules.
|
|
335
|
-
# Also remove any submodules because they won't appear
|
|
336
|
-
# in the newly loaded module's namespace if they're already
|
|
337
|
-
# in sys.modules.
|
|
338
|
-
subs = [m for m in sys.modules if m.startswith(path + '.')]
|
|
339
|
-
for key in [path] + subs:
|
|
340
|
-
# Prevent garbage collection.
|
|
341
|
-
cache[key] = sys.modules[key]
|
|
342
|
-
del sys.modules[key]
|
|
343
|
-
module = __import__(path)
|
|
344
|
-
except:
|
|
345
|
-
# Did the error occur before or after the module was found?
|
|
346
|
-
(exc, value, tb) = info = sys.exc_info()
|
|
347
|
-
if path in sys.modules:
|
|
348
|
-
# An error occurred while executing the imported module.
|
|
349
|
-
raise ErrorDuringImport(sys.modules[path].__file__, info)
|
|
350
|
-
elif exc is SyntaxError:
|
|
351
|
-
# A SyntaxError occurred before we could execute the module.
|
|
352
|
-
raise ErrorDuringImport(value.filename, info)
|
|
353
|
-
elif issubclass(exc, ImportError) and value.name == path:
|
|
354
|
-
# No such module in the path.
|
|
355
|
-
return None
|
|
356
|
-
else:
|
|
357
|
-
# Some other error occurred during the importing process.
|
|
358
|
-
raise ErrorDuringImport(path, sys.exc_info())
|
|
359
|
-
for part in path.split('.')[1:]:
|
|
360
|
-
try: module = getattr(module, part)
|
|
361
|
-
except AttributeError: return None
|
|
362
|
-
return module
|
|
363
|
-
|
|
364
|
-
# ---------------------------------------------------- formatter base class
|
|
365
|
-
|
|
366
|
-
class Doc:
|
|
367
|
-
|
|
368
|
-
PYTHONDOCS = os.environ.get("PYTHONDOCS",
|
|
369
|
-
"https://docs.python.org/%d.%d/library"
|
|
370
|
-
% sys.version_info[:2])
|
|
371
|
-
|
|
372
|
-
def document(self, object, name=None, *args):
|
|
373
|
-
"""Generate documentation for an object."""
|
|
374
|
-
args = (object, name) + args
|
|
375
|
-
# 'try' clause is to attempt to handle the possibility that inspect
|
|
376
|
-
# identifies something in a way that pydoc itself has issues handling;
|
|
377
|
-
# think 'super' and how it is a descriptor (which raises the exception
|
|
378
|
-
# by lacking a __name__ attribute) and an instance.
|
|
379
|
-
if inspect.isgetsetdescriptor(object): return self.docdata(*args)
|
|
380
|
-
if inspect.ismemberdescriptor(object): return self.docdata(*args)
|
|
381
|
-
try:
|
|
382
|
-
if inspect.ismodule(object): return self.docmodule(*args)
|
|
383
|
-
if inspect.isclass(object): return self.docclass(*args)
|
|
384
|
-
if inspect.isroutine(object): return self.docroutine(*args)
|
|
385
|
-
except AttributeError:
|
|
386
|
-
pass
|
|
387
|
-
if isinstance(object, property): return self.docproperty(*args)
|
|
388
|
-
return self.docother(*args)
|
|
389
|
-
|
|
390
|
-
def fail(self, object, name=None, *args):
|
|
391
|
-
"""Raise an exception for unimplemented types."""
|
|
392
|
-
message = "don't know how to document object%s of type %s" % (
|
|
393
|
-
name and ' ' + repr(name), type(object).__name__)
|
|
394
|
-
raise TypeError(message)
|
|
395
|
-
|
|
396
|
-
docmodule = docclass = docroutine = docother = docproperty = docdata = fail
|
|
397
|
-
|
|
398
|
-
def getdocloc(self, object,
|
|
399
|
-
basedir=os.path.join(sys.base_exec_prefix, "lib",
|
|
400
|
-
"python%d.%d" % sys.version_info[:2])):
|
|
401
|
-
"""Return the location of module docs or None"""
|
|
402
|
-
|
|
403
|
-
try:
|
|
404
|
-
file = inspect.getabsfile(object)
|
|
405
|
-
except TypeError:
|
|
406
|
-
file = '(built-in)'
|
|
407
|
-
|
|
408
|
-
docloc = os.environ.get("PYTHONDOCS", self.PYTHONDOCS)
|
|
409
|
-
|
|
410
|
-
basedir = os.path.normcase(basedir)
|
|
411
|
-
if (isinstance(object, type(os)) and
|
|
412
|
-
(object.__name__ in ('errno', 'exceptions', 'gc', 'imp',
|
|
413
|
-
'marshal', 'posix', 'signal', 'sys',
|
|
414
|
-
'_thread', 'zipimport') or
|
|
415
|
-
(file.startswith(basedir) and
|
|
416
|
-
not file.startswith(os.path.join(basedir, 'site-packages')))) and
|
|
417
|
-
object.__name__ not in ('xml.etree', 'test.pydoc_mod')):
|
|
418
|
-
if docloc.startswith(("http://", "https://")):
|
|
419
|
-
docloc = "%s/%s" % (docloc.rstrip("/"), object.__name__.lower())
|
|
420
|
-
else:
|
|
421
|
-
docloc = os.path.join(docloc, object.__name__.lower() + ".html")
|
|
422
|
-
else:
|
|
423
|
-
docloc = None
|
|
424
|
-
return docloc
|
|
425
|
-
|
|
426
|
-
# -------------------------------------------- HTML documentation generator
|
|
427
|
-
|
|
428
|
-
class HTMLRepr(Repr):
|
|
429
|
-
"""Class for safely making an HTML representation of a Python object."""
|
|
430
|
-
def __init__(self):
|
|
431
|
-
Repr.__init__(self)
|
|
432
|
-
self.maxlist = self.maxtuple = 20
|
|
433
|
-
self.maxdict = 10
|
|
434
|
-
self.maxstring = self.maxother = 100
|
|
435
|
-
|
|
436
|
-
def escape(self, text):
|
|
437
|
-
return replace(text, '&', '&', '<', '<', '>', '>')
|
|
438
|
-
|
|
439
|
-
def repr(self, object):
|
|
440
|
-
return Repr.repr(self, object)
|
|
441
|
-
|
|
442
|
-
def repr1(self, x, level):
|
|
443
|
-
if hasattr(type(x), '__name__'):
|
|
444
|
-
methodname = 'repr_' + '_'.join(type(x).__name__.split())
|
|
445
|
-
if hasattr(self, methodname):
|
|
446
|
-
return getattr(self, methodname)(x, level)
|
|
447
|
-
return self.escape(cram(stripid(repr(x)), self.maxother))
|
|
448
|
-
|
|
449
|
-
def repr_string(self, x, level):
|
|
450
|
-
test = cram(x, self.maxstring)
|
|
451
|
-
testrepr = repr(test)
|
|
452
|
-
if '\\' in test and '\\' not in replace(testrepr, r'\\', ''):
|
|
453
|
-
# Backslashes are only literal in the string and are never
|
|
454
|
-
# needed to make any special characters, so show a raw string.
|
|
455
|
-
return 'r' + testrepr[0] + self.escape(test) + testrepr[0]
|
|
456
|
-
return re.sub(r'((\\[\\abfnrtv\'"]|\\[0-9]..|\\x..|\\u....)+)',
|
|
457
|
-
r'<font color="#c040c0">\1</font>',
|
|
458
|
-
self.escape(testrepr))
|
|
459
|
-
|
|
460
|
-
repr_str = repr_string
|
|
461
|
-
|
|
462
|
-
def repr_instance(self, x, level):
|
|
463
|
-
try:
|
|
464
|
-
return self.escape(cram(stripid(repr(x)), self.maxstring))
|
|
465
|
-
except:
|
|
466
|
-
return self.escape('<%s instance>' % x.__class__.__name__)
|
|
467
|
-
|
|
468
|
-
repr_unicode = repr_string
|
|
469
|
-
|
|
470
|
-
class HTMLDoc(Doc):
|
|
471
|
-
"""Formatter class for HTML documentation."""
|
|
472
|
-
|
|
473
|
-
# ------------------------------------------- HTML formatting utilities
|
|
474
|
-
|
|
475
|
-
_repr_instance = HTMLRepr()
|
|
476
|
-
repr = _repr_instance.repr
|
|
477
|
-
escape = _repr_instance.escape
|
|
478
|
-
|
|
479
|
-
def page(self, title, contents):
|
|
480
|
-
"""Format an HTML page."""
|
|
481
|
-
return '''\
|
|
482
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
483
|
-
<html><head><title>Python: %s</title>
|
|
484
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
485
|
-
</head><body bgcolor="#f0f0f8">
|
|
486
|
-
%s
|
|
487
|
-
</body></html>''' % (title, contents)
|
|
488
|
-
|
|
489
|
-
def heading(self, title, fgcol, bgcol, extras=''):
|
|
490
|
-
"""Format a page heading."""
|
|
491
|
-
return '''
|
|
492
|
-
<table width="100%%" cellspacing=0 cellpadding=2 border=0 summary="heading">
|
|
493
|
-
<tr bgcolor="%s">
|
|
494
|
-
<td valign=bottom> <br>
|
|
495
|
-
<font color="%s" face="helvetica, arial"> <br>%s</font></td
|
|
496
|
-
><td align=right valign=bottom
|
|
497
|
-
><font color="%s" face="helvetica, arial">%s</font></td></tr></table>
|
|
498
|
-
''' % (bgcol, fgcol, title, fgcol, extras or ' ')
|
|
499
|
-
|
|
500
|
-
def section(self, title, fgcol, bgcol, contents, width=6,
|
|
501
|
-
prelude='', marginalia=None, gap=' '):
|
|
502
|
-
"""Format a section with a heading."""
|
|
503
|
-
if marginalia is None:
|
|
504
|
-
marginalia = '<tt>' + ' ' * width + '</tt>'
|
|
505
|
-
result = '''<p>
|
|
506
|
-
<table width="100%%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
507
|
-
<tr bgcolor="%s">
|
|
508
|
-
<td colspan=3 valign=bottom> <br>
|
|
509
|
-
<font color="%s" face="helvetica, arial">%s</font></td></tr>
|
|
510
|
-
''' % (bgcol, fgcol, title)
|
|
511
|
-
if prelude:
|
|
512
|
-
result = result + '''
|
|
513
|
-
<tr bgcolor="%s"><td rowspan=2>%s</td>
|
|
514
|
-
<td colspan=2>%s</td></tr>
|
|
515
|
-
<tr><td>%s</td>''' % (bgcol, marginalia, prelude, gap)
|
|
516
|
-
else:
|
|
517
|
-
result = result + '''
|
|
518
|
-
<tr><td bgcolor="%s">%s</td><td>%s</td>''' % (bgcol, marginalia, gap)
|
|
519
|
-
|
|
520
|
-
return result + '\n<td width="100%%">%s</td></tr></table>' % contents
|
|
521
|
-
|
|
522
|
-
def bigsection(self, title, *args):
|
|
523
|
-
"""Format a section with a big heading."""
|
|
524
|
-
title = '<big><strong>%s</strong></big>' % title
|
|
525
|
-
return self.section(title, *args)
|
|
526
|
-
|
|
527
|
-
def preformat(self, text):
|
|
528
|
-
"""Format literal preformatted text."""
|
|
529
|
-
text = self.escape(text.expandtabs())
|
|
530
|
-
return replace(text, '\n\n', '\n \n', '\n\n', '\n \n',
|
|
531
|
-
' ', ' ', '\n', '<br>\n')
|
|
532
|
-
|
|
533
|
-
def multicolumn(self, list, format, cols=4):
|
|
534
|
-
"""Format a list of items into a multi-column list."""
|
|
535
|
-
result = ''
|
|
536
|
-
rows = (len(list)+cols-1)//cols
|
|
537
|
-
for col in range(cols):
|
|
538
|
-
result = result + '<td width="%d%%" valign=top>' % (100//cols)
|
|
539
|
-
for i in range(rows*col, rows*col+rows):
|
|
540
|
-
if i < len(list):
|
|
541
|
-
result = result + format(list[i]) + '<br>\n'
|
|
542
|
-
result = result + '</td>'
|
|
543
|
-
return '<table width="100%%" summary="list"><tr>%s</tr></table>' % result
|
|
544
|
-
|
|
545
|
-
def grey(self, text): return '<font color="#909090">%s</font>' % text
|
|
546
|
-
|
|
547
|
-
def namelink(self, name, *dicts):
|
|
548
|
-
"""Make a link for an identifier, given name-to-URL mappings."""
|
|
549
|
-
for dict in dicts:
|
|
550
|
-
if name in dict:
|
|
551
|
-
return '<a href="%s">%s</a>' % (dict[name], name)
|
|
552
|
-
return name
|
|
553
|
-
|
|
554
|
-
def classlink(self, object, modname):
|
|
555
|
-
"""Make a link for a class."""
|
|
556
|
-
name, module = object.__name__, sys.modules.get(object.__module__)
|
|
557
|
-
if hasattr(module, name) and getattr(module, name) is object:
|
|
558
|
-
return '<a href="%s.html#%s">%s</a>' % (
|
|
559
|
-
module.__name__, name, classname(object, modname))
|
|
560
|
-
return classname(object, modname)
|
|
561
|
-
|
|
562
|
-
def modulelink(self, object):
|
|
563
|
-
"""Make a link for a module."""
|
|
564
|
-
return '<a href="%s.html">%s</a>' % (object.__name__, object.__name__)
|
|
565
|
-
|
|
566
|
-
def modpkglink(self, modpkginfo):
|
|
567
|
-
"""Make a link for a module or package to display in an index."""
|
|
568
|
-
name, path, ispackage, shadowed = modpkginfo
|
|
569
|
-
if shadowed:
|
|
570
|
-
return self.grey(name)
|
|
571
|
-
if path:
|
|
572
|
-
url = '%s.%s.html' % (path, name)
|
|
573
|
-
else:
|
|
574
|
-
url = '%s.html' % name
|
|
575
|
-
if ispackage:
|
|
576
|
-
text = '<strong>%s</strong> (package)' % name
|
|
577
|
-
else:
|
|
578
|
-
text = name
|
|
579
|
-
return '<a href="%s">%s</a>' % (url, text)
|
|
580
|
-
|
|
581
|
-
def filelink(self, url, path):
|
|
582
|
-
"""Make a link to source file."""
|
|
583
|
-
return '<a href="file:%s">%s</a>' % (url, path)
|
|
584
|
-
|
|
585
|
-
def markup(self, text, escape=None, funcs={}, classes={}, methods={}):
|
|
586
|
-
"""Mark up some plain text, given a context of symbols to look for.
|
|
587
|
-
Each context dictionary maps object names to anchor names."""
|
|
588
|
-
escape = escape or self.escape
|
|
589
|
-
results = []
|
|
590
|
-
here = 0
|
|
591
|
-
pattern = re.compile(r'\b((http|ftp)://\S+[\w/]|'
|
|
592
|
-
r'RFC[- ]?(\d+)|'
|
|
593
|
-
r'PEP[- ]?(\d+)|'
|
|
594
|
-
r'(self\.)?(\w+))')
|
|
595
|
-
while True:
|
|
596
|
-
match = pattern.search(text, here)
|
|
597
|
-
if not match: break
|
|
598
|
-
start, end = match.span()
|
|
599
|
-
results.append(escape(text[here:start]))
|
|
600
|
-
|
|
601
|
-
all, scheme, rfc, pep, selfdot, name = match.groups()
|
|
602
|
-
if scheme:
|
|
603
|
-
url = escape(all).replace('"', '"')
|
|
604
|
-
results.append('<a href="%s">%s</a>' % (url, url))
|
|
605
|
-
elif rfc:
|
|
606
|
-
url = 'http://www.rfc-editor.org/rfc/rfc%d.txt' % int(rfc)
|
|
607
|
-
results.append('<a href="%s">%s</a>' % (url, escape(all)))
|
|
608
|
-
elif pep:
|
|
609
|
-
url = 'http://www.python.org/dev/peps/pep-%04d/' % int(pep)
|
|
610
|
-
results.append('<a href="%s">%s</a>' % (url, escape(all)))
|
|
611
|
-
elif selfdot:
|
|
612
|
-
# Create a link for methods like 'self.method(...)'
|
|
613
|
-
# and use <strong> for attributes like 'self.attr'
|
|
614
|
-
if text[end:end+1] == '(':
|
|
615
|
-
results.append('self.' + self.namelink(name, methods))
|
|
616
|
-
else:
|
|
617
|
-
results.append('self.<strong>%s</strong>' % name)
|
|
618
|
-
elif text[end:end+1] == '(':
|
|
619
|
-
results.append(self.namelink(name, methods, funcs, classes))
|
|
620
|
-
else:
|
|
621
|
-
results.append(self.namelink(name, classes))
|
|
622
|
-
here = end
|
|
623
|
-
results.append(escape(text[here:]))
|
|
624
|
-
return ''.join(results)
|
|
625
|
-
|
|
626
|
-
# ---------------------------------------------- type-specific routines
|
|
627
|
-
|
|
628
|
-
def formattree(self, tree, modname, parent=None):
|
|
629
|
-
"""Produce HTML for a class tree as given by inspect.getclasstree()."""
|
|
630
|
-
result = ''
|
|
631
|
-
for entry in tree:
|
|
632
|
-
if type(entry) is type(()):
|
|
633
|
-
c, bases = entry
|
|
634
|
-
result = result + '<dt><font face="helvetica, arial">'
|
|
635
|
-
result = result + self.classlink(c, modname)
|
|
636
|
-
if bases and bases != (parent,):
|
|
637
|
-
parents = []
|
|
638
|
-
for base in bases:
|
|
639
|
-
parents.append(self.classlink(base, modname))
|
|
640
|
-
result = result + '(' + ', '.join(parents) + ')'
|
|
641
|
-
result = result + '\n</font></dt>'
|
|
642
|
-
elif type(entry) is type([]):
|
|
643
|
-
result = result + '<dd>\n%s</dd>\n' % self.formattree(
|
|
644
|
-
entry, modname, c)
|
|
645
|
-
return '<dl>\n%s</dl>\n' % result
|
|
646
|
-
|
|
647
|
-
def docmodule(self, object, name=None, mod=None, *ignored):
|
|
648
|
-
"""Produce HTML documentation for a module object."""
|
|
649
|
-
name = object.__name__ # ignore the passed-in name
|
|
650
|
-
try:
|
|
651
|
-
all = object.__all__
|
|
652
|
-
except AttributeError:
|
|
653
|
-
all = None
|
|
654
|
-
parts = name.split('.')
|
|
655
|
-
links = []
|
|
656
|
-
for i in range(len(parts)-1):
|
|
657
|
-
links.append(
|
|
658
|
-
'<a href="%s.html"><font color="#ffffff">%s</font></a>' %
|
|
659
|
-
('.'.join(parts[:i+1]), parts[i]))
|
|
660
|
-
linkedname = '.'.join(links + parts[-1:])
|
|
661
|
-
head = '<big><big><strong>%s</strong></big></big>' % linkedname
|
|
662
|
-
try:
|
|
663
|
-
path = inspect.getabsfile(object)
|
|
664
|
-
url = urllib.parse.quote(path)
|
|
665
|
-
filelink = self.filelink(url, path)
|
|
666
|
-
except TypeError:
|
|
667
|
-
filelink = '(built-in)'
|
|
668
|
-
info = []
|
|
669
|
-
if hasattr(object, '__version__'):
|
|
670
|
-
version = str(object.__version__)
|
|
671
|
-
if version[:11] == '$' + 'Revision: ' and version[-1:] == '$':
|
|
672
|
-
version = version[11:-1].strip()
|
|
673
|
-
info.append('version %s' % self.escape(version))
|
|
674
|
-
if hasattr(object, '__date__'):
|
|
675
|
-
info.append(self.escape(str(object.__date__)))
|
|
676
|
-
if info:
|
|
677
|
-
head = head + ' (%s)' % ', '.join(info)
|
|
678
|
-
docloc = self.getdocloc(object)
|
|
679
|
-
if docloc is not None:
|
|
680
|
-
docloc = '<br><a href="%(docloc)s">Module Reference</a>' % locals()
|
|
681
|
-
else:
|
|
682
|
-
docloc = ''
|
|
683
|
-
result = self.heading(
|
|
684
|
-
head, '#ffffff', '#7799ee',
|
|
685
|
-
'<a href=".">index</a><br>' + filelink + docloc)
|
|
686
|
-
|
|
687
|
-
modules = inspect.getmembers(object, inspect.ismodule)
|
|
688
|
-
|
|
689
|
-
classes, cdict = [], {}
|
|
690
|
-
for key, value in inspect.getmembers(object, inspect.isclass):
|
|
691
|
-
# if __all__ exists, believe it. Otherwise use old heuristic.
|
|
692
|
-
if (all is not None or
|
|
693
|
-
(inspect.getmodule(value) or object) is object):
|
|
694
|
-
if visiblename(key, all, object):
|
|
695
|
-
classes.append((key, value))
|
|
696
|
-
cdict[key] = cdict[value] = '#' + key
|
|
697
|
-
for key, value in classes:
|
|
698
|
-
for base in value.__bases__:
|
|
699
|
-
key, modname = base.__name__, base.__module__
|
|
700
|
-
module = sys.modules.get(modname)
|
|
701
|
-
if modname != name and module and hasattr(module, key):
|
|
702
|
-
if getattr(module, key) is base:
|
|
703
|
-
if not key in cdict:
|
|
704
|
-
cdict[key] = cdict[base] = modname + '.html#' + key
|
|
705
|
-
funcs, fdict = [], {}
|
|
706
|
-
for key, value in inspect.getmembers(object, inspect.isroutine):
|
|
707
|
-
# if __all__ exists, believe it. Otherwise use old heuristic.
|
|
708
|
-
if (all is not None or
|
|
709
|
-
inspect.isbuiltin(value) or inspect.getmodule(value) is object):
|
|
710
|
-
if visiblename(key, all, object):
|
|
711
|
-
funcs.append((key, value))
|
|
712
|
-
fdict[key] = '#-' + key
|
|
713
|
-
if inspect.isfunction(value): fdict[value] = fdict[key]
|
|
714
|
-
data = []
|
|
715
|
-
for key, value in inspect.getmembers(object, isdata):
|
|
716
|
-
if visiblename(key, all, object):
|
|
717
|
-
data.append((key, value))
|
|
718
|
-
|
|
719
|
-
doc = self.markup(getdoc(object), self.preformat, fdict, cdict)
|
|
720
|
-
doc = doc and '<tt>%s</tt>' % doc
|
|
721
|
-
result = result + '<p>%s</p>\n' % doc
|
|
722
|
-
|
|
723
|
-
if hasattr(object, '__path__'):
|
|
724
|
-
modpkgs = []
|
|
725
|
-
for importer, modname, ispkg in pkgutil.iter_modules(object.__path__):
|
|
726
|
-
modpkgs.append((modname, name, ispkg, 0))
|
|
727
|
-
modpkgs.sort()
|
|
728
|
-
contents = self.multicolumn(modpkgs, self.modpkglink)
|
|
729
|
-
result = result + self.bigsection(
|
|
730
|
-
'Package Contents', '#ffffff', '#aa55cc', contents)
|
|
731
|
-
elif modules:
|
|
732
|
-
contents = self.multicolumn(
|
|
733
|
-
modules, lambda t: self.modulelink(t[1]))
|
|
734
|
-
result = result + self.bigsection(
|
|
735
|
-
'Modules', '#ffffff', '#aa55cc', contents)
|
|
736
|
-
|
|
737
|
-
if classes:
|
|
738
|
-
classlist = [value for (key, value) in classes]
|
|
739
|
-
contents = [
|
|
740
|
-
self.formattree(inspect.getclasstree(classlist, 1), name)]
|
|
741
|
-
for key, value in classes:
|
|
742
|
-
contents.append(self.document(value, key, name, fdict, cdict))
|
|
743
|
-
result = result + self.bigsection(
|
|
744
|
-
'Classes', '#ffffff', '#ee77aa', ' '.join(contents))
|
|
745
|
-
if funcs:
|
|
746
|
-
contents = []
|
|
747
|
-
for key, value in funcs:
|
|
748
|
-
contents.append(self.document(value, key, name, fdict, cdict))
|
|
749
|
-
result = result + self.bigsection(
|
|
750
|
-
'Functions', '#ffffff', '#eeaa77', ' '.join(contents))
|
|
751
|
-
if data:
|
|
752
|
-
contents = []
|
|
753
|
-
for key, value in data:
|
|
754
|
-
contents.append(self.document(value, key))
|
|
755
|
-
result = result + self.bigsection(
|
|
756
|
-
'Data', '#ffffff', '#55aa55', '<br>\n'.join(contents))
|
|
757
|
-
if hasattr(object, '__author__'):
|
|
758
|
-
contents = self.markup(str(object.__author__), self.preformat)
|
|
759
|
-
result = result + self.bigsection(
|
|
760
|
-
'Author', '#ffffff', '#7799ee', contents)
|
|
761
|
-
if hasattr(object, '__credits__'):
|
|
762
|
-
contents = self.markup(str(object.__credits__), self.preformat)
|
|
763
|
-
result = result + self.bigsection(
|
|
764
|
-
'Credits', '#ffffff', '#7799ee', contents)
|
|
765
|
-
|
|
766
|
-
return result
|
|
767
|
-
|
|
768
|
-
def docclass(self, object, name=None, mod=None, funcs={}, classes={},
|
|
769
|
-
*ignored):
|
|
770
|
-
"""Produce HTML documentation for a class object."""
|
|
771
|
-
realname = object.__name__
|
|
772
|
-
name = name or realname
|
|
773
|
-
bases = object.__bases__
|
|
774
|
-
|
|
775
|
-
contents = []
|
|
776
|
-
push = contents.append
|
|
777
|
-
|
|
778
|
-
# Cute little class to pump out a horizontal rule between sections.
|
|
779
|
-
class HorizontalRule:
|
|
780
|
-
def __init__(self):
|
|
781
|
-
self.needone = 0
|
|
782
|
-
def maybe(self):
|
|
783
|
-
if self.needone:
|
|
784
|
-
push('<hr>\n')
|
|
785
|
-
self.needone = 1
|
|
786
|
-
hr = HorizontalRule()
|
|
787
|
-
|
|
788
|
-
# List the mro, if non-trivial.
|
|
789
|
-
mro = deque(inspect.getmro(object))
|
|
790
|
-
if len(mro) > 2:
|
|
791
|
-
hr.maybe()
|
|
792
|
-
push('<dl><dt>Method resolution order:</dt>\n')
|
|
793
|
-
for base in mro:
|
|
794
|
-
push('<dd>%s</dd>\n' % self.classlink(base,
|
|
795
|
-
object.__module__))
|
|
796
|
-
push('</dl>\n')
|
|
797
|
-
|
|
798
|
-
def spill(msg, attrs, predicate):
|
|
799
|
-
ok, attrs = _split_list(attrs, predicate)
|
|
800
|
-
if ok:
|
|
801
|
-
hr.maybe()
|
|
802
|
-
push(msg)
|
|
803
|
-
for name, kind, homecls, value in ok:
|
|
804
|
-
try:
|
|
805
|
-
value = getattr(object, name)
|
|
806
|
-
except Exception:
|
|
807
|
-
# Some descriptors may meet a failure in their __get__.
|
|
808
|
-
# (bug #1785)
|
|
809
|
-
push(self._docdescriptor(name, value, mod))
|
|
810
|
-
else:
|
|
811
|
-
push(self.document(value, name, mod,
|
|
812
|
-
funcs, classes, mdict, object))
|
|
813
|
-
push('\n')
|
|
814
|
-
return attrs
|
|
815
|
-
|
|
816
|
-
def spilldescriptors(msg, attrs, predicate):
|
|
817
|
-
ok, attrs = _split_list(attrs, predicate)
|
|
818
|
-
if ok:
|
|
819
|
-
hr.maybe()
|
|
820
|
-
push(msg)
|
|
821
|
-
for name, kind, homecls, value in ok:
|
|
822
|
-
push(self._docdescriptor(name, value, mod))
|
|
823
|
-
return attrs
|
|
824
|
-
|
|
825
|
-
def spilldata(msg, attrs, predicate):
|
|
826
|
-
ok, attrs = _split_list(attrs, predicate)
|
|
827
|
-
if ok:
|
|
828
|
-
hr.maybe()
|
|
829
|
-
push(msg)
|
|
830
|
-
for name, kind, homecls, value in ok:
|
|
831
|
-
base = self.docother(getattr(object, name), name, mod)
|
|
832
|
-
if callable(value) or inspect.isdatadescriptor(value):
|
|
833
|
-
doc = getattr(value, "__doc__", None)
|
|
834
|
-
else:
|
|
835
|
-
doc = None
|
|
836
|
-
if doc is None:
|
|
837
|
-
push('<dl><dt>%s</dl>\n' % base)
|
|
838
|
-
else:
|
|
839
|
-
doc = self.markup(getdoc(value), self.preformat,
|
|
840
|
-
funcs, classes, mdict)
|
|
841
|
-
doc = '<dd><tt>%s</tt>' % doc
|
|
842
|
-
push('<dl><dt>%s%s</dl>\n' % (base, doc))
|
|
843
|
-
push('\n')
|
|
844
|
-
return attrs
|
|
845
|
-
|
|
846
|
-
attrs = [(name, kind, cls, value)
|
|
847
|
-
for name, kind, cls, value in classify_class_attrs(object)
|
|
848
|
-
if visiblename(name, obj=object)]
|
|
849
|
-
|
|
850
|
-
mdict = {}
|
|
851
|
-
for key, kind, homecls, value in attrs:
|
|
852
|
-
mdict[key] = anchor = '#' + name + '-' + key
|
|
853
|
-
try:
|
|
854
|
-
value = getattr(object, name)
|
|
855
|
-
except Exception:
|
|
856
|
-
# Some descriptors may meet a failure in their __get__.
|
|
857
|
-
# (bug #1785)
|
|
858
|
-
pass
|
|
859
|
-
try:
|
|
860
|
-
# The value may not be hashable (e.g., a data attr with
|
|
861
|
-
# a dict or list value).
|
|
862
|
-
mdict[value] = anchor
|
|
863
|
-
except TypeError:
|
|
864
|
-
pass
|
|
865
|
-
|
|
866
|
-
while attrs:
|
|
867
|
-
if mro:
|
|
868
|
-
thisclass = mro.popleft()
|
|
869
|
-
else:
|
|
870
|
-
thisclass = attrs[0][2]
|
|
871
|
-
attrs, inherited = _split_list(attrs, lambda t: t[2] is thisclass)
|
|
872
|
-
|
|
873
|
-
if thisclass is builtins.object:
|
|
874
|
-
attrs = inherited
|
|
875
|
-
continue
|
|
876
|
-
elif thisclass is object:
|
|
877
|
-
tag = 'defined here'
|
|
878
|
-
else:
|
|
879
|
-
tag = 'inherited from %s' % self.classlink(thisclass,
|
|
880
|
-
object.__module__)
|
|
881
|
-
tag += ':<br>\n'
|
|
882
|
-
|
|
883
|
-
sort_attributes(attrs, object)
|
|
884
|
-
|
|
885
|
-
# Pump out the attrs, segregated by kind.
|
|
886
|
-
attrs = spill('Methods %s' % tag, attrs,
|
|
887
|
-
lambda t: t[1] == 'method')
|
|
888
|
-
attrs = spill('Class methods %s' % tag, attrs,
|
|
889
|
-
lambda t: t[1] == 'class method')
|
|
890
|
-
attrs = spill('Static methods %s' % tag, attrs,
|
|
891
|
-
lambda t: t[1] == 'static method')
|
|
892
|
-
attrs = spilldescriptors('Data descriptors %s' % tag, attrs,
|
|
893
|
-
lambda t: t[1] == 'data descriptor')
|
|
894
|
-
attrs = spilldata('Data and other attributes %s' % tag, attrs,
|
|
895
|
-
lambda t: t[1] == 'data')
|
|
896
|
-
assert attrs == []
|
|
897
|
-
attrs = inherited
|
|
898
|
-
|
|
899
|
-
contents = ''.join(contents)
|
|
900
|
-
|
|
901
|
-
if name == realname:
|
|
902
|
-
title = '<a name="%s">class <strong>%s</strong></a>' % (
|
|
903
|
-
name, realname)
|
|
904
|
-
else:
|
|
905
|
-
title = '<strong>%s</strong> = <a name="%s">class %s</a>' % (
|
|
906
|
-
name, name, realname)
|
|
907
|
-
if bases:
|
|
908
|
-
parents = []
|
|
909
|
-
for base in bases:
|
|
910
|
-
parents.append(self.classlink(base, object.__module__))
|
|
911
|
-
title = title + '(%s)' % ', '.join(parents)
|
|
912
|
-
doc = self.markup(getdoc(object), self.preformat, funcs, classes, mdict)
|
|
913
|
-
doc = doc and '<tt>%s<br> </tt>' % doc
|
|
914
|
-
|
|
915
|
-
return self.section(title, '#000000', '#ffc8d8', contents, 3, doc)
|
|
916
|
-
|
|
917
|
-
def formatvalue(self, object):
|
|
918
|
-
"""Format an argument default value as text."""
|
|
919
|
-
return self.grey('=' + self.repr(object))
|
|
920
|
-
|
|
921
|
-
def docroutine(self, object, name=None, mod=None,
|
|
922
|
-
funcs={}, classes={}, methods={}, cl=None):
|
|
923
|
-
"""Produce HTML documentation for a function or method object."""
|
|
924
|
-
realname = object.__name__
|
|
925
|
-
name = name or realname
|
|
926
|
-
anchor = (cl and cl.__name__ or '') + '-' + name
|
|
927
|
-
note = ''
|
|
928
|
-
skipdocs = 0
|
|
929
|
-
if _is_bound_method(object):
|
|
930
|
-
imclass = object.__self__.__class__
|
|
931
|
-
if cl:
|
|
932
|
-
if imclass is not cl:
|
|
933
|
-
note = ' from ' + self.classlink(imclass, mod)
|
|
934
|
-
else:
|
|
935
|
-
if object.__self__ is not None:
|
|
936
|
-
note = ' method of %s instance' % self.classlink(
|
|
937
|
-
object.__self__.__class__, mod)
|
|
938
|
-
else:
|
|
939
|
-
note = ' unbound %s method' % self.classlink(imclass,mod)
|
|
940
|
-
|
|
941
|
-
if name == realname:
|
|
942
|
-
title = '<a name="%s"><strong>%s</strong></a>' % (anchor, realname)
|
|
943
|
-
else:
|
|
944
|
-
if (cl and realname in cl.__dict__ and
|
|
945
|
-
cl.__dict__[realname] is object):
|
|
946
|
-
reallink = '<a href="#%s">%s</a>' % (
|
|
947
|
-
cl.__name__ + '-' + realname, realname)
|
|
948
|
-
skipdocs = 1
|
|
949
|
-
else:
|
|
950
|
-
reallink = realname
|
|
951
|
-
title = '<a name="%s"><strong>%s</strong></a> = %s' % (
|
|
952
|
-
anchor, name, reallink)
|
|
953
|
-
argspec = None
|
|
954
|
-
if inspect.isroutine(object):
|
|
955
|
-
try:
|
|
956
|
-
signature = inspect.signature(object)
|
|
957
|
-
except (ValueError, TypeError):
|
|
958
|
-
signature = None
|
|
959
|
-
if signature:
|
|
960
|
-
argspec = str(signature)
|
|
961
|
-
if realname == '<lambda>':
|
|
962
|
-
title = '<strong>%s</strong> <em>lambda</em> ' % name
|
|
963
|
-
# XXX lambda's won't usually have func_annotations['return']
|
|
964
|
-
# since the syntax doesn't support but it is possible.
|
|
965
|
-
# So removing parentheses isn't truly safe.
|
|
966
|
-
argspec = argspec[1:-1] # remove parentheses
|
|
967
|
-
if not argspec:
|
|
968
|
-
argspec = '(...)'
|
|
969
|
-
|
|
970
|
-
decl = title + self.escape(argspec) + (note and self.grey(
|
|
971
|
-
'<font face="helvetica, arial">%s</font>' % note))
|
|
972
|
-
|
|
973
|
-
if skipdocs:
|
|
974
|
-
return '<dl><dt>%s</dt></dl>\n' % decl
|
|
975
|
-
else:
|
|
976
|
-
doc = self.markup(
|
|
977
|
-
getdoc(object), self.preformat, funcs, classes, methods)
|
|
978
|
-
doc = doc and '<dd><tt>%s</tt></dd>' % doc
|
|
979
|
-
return '<dl><dt>%s</dt>%s</dl>\n' % (decl, doc)
|
|
980
|
-
|
|
981
|
-
def _docdescriptor(self, name, value, mod):
|
|
982
|
-
results = []
|
|
983
|
-
push = results.append
|
|
984
|
-
|
|
985
|
-
if name:
|
|
986
|
-
push('<dl><dt><strong>%s</strong></dt>\n' % name)
|
|
987
|
-
if value.__doc__ is not None:
|
|
988
|
-
doc = self.markup(getdoc(value), self.preformat)
|
|
989
|
-
push('<dd><tt>%s</tt></dd>\n' % doc)
|
|
990
|
-
push('</dl>\n')
|
|
991
|
-
|
|
992
|
-
return ''.join(results)
|
|
993
|
-
|
|
994
|
-
def docproperty(self, object, name=None, mod=None, cl=None):
|
|
995
|
-
"""Produce html documentation for a property."""
|
|
996
|
-
return self._docdescriptor(name, object, mod)
|
|
997
|
-
|
|
998
|
-
def docother(self, object, name=None, mod=None, *ignored):
|
|
999
|
-
"""Produce HTML documentation for a data object."""
|
|
1000
|
-
lhs = name and '<strong>%s</strong> = ' % name or ''
|
|
1001
|
-
return lhs + self.repr(object)
|
|
1002
|
-
|
|
1003
|
-
def docdata(self, object, name=None, mod=None, cl=None):
|
|
1004
|
-
"""Produce html documentation for a data descriptor."""
|
|
1005
|
-
return self._docdescriptor(name, object, mod)
|
|
1006
|
-
|
|
1007
|
-
def index(self, dir, shadowed=None):
|
|
1008
|
-
"""Generate an HTML index for a directory of modules."""
|
|
1009
|
-
modpkgs = []
|
|
1010
|
-
if shadowed is None: shadowed = {}
|
|
1011
|
-
for importer, name, ispkg in pkgutil.iter_modules([dir]):
|
|
1012
|
-
if any((0xD800 <= ord(ch) <= 0xDFFF) for ch in name):
|
|
1013
|
-
# ignore a module if its name contains a surrogate character
|
|
1014
|
-
continue
|
|
1015
|
-
modpkgs.append((name, '', ispkg, name in shadowed))
|
|
1016
|
-
shadowed[name] = 1
|
|
1017
|
-
|
|
1018
|
-
modpkgs.sort()
|
|
1019
|
-
contents = self.multicolumn(modpkgs, self.modpkglink)
|
|
1020
|
-
return self.bigsection(dir, '#ffffff', '#ee77aa', contents)
|
|
1021
|
-
|
|
1022
|
-
# -------------------------------------------- text documentation generator
|
|
1023
|
-
|
|
1024
|
-
class TextRepr(Repr):
|
|
1025
|
-
"""Class for safely making a text representation of a Python object."""
|
|
1026
|
-
def __init__(self):
|
|
1027
|
-
Repr.__init__(self)
|
|
1028
|
-
self.maxlist = self.maxtuple = 20
|
|
1029
|
-
self.maxdict = 10
|
|
1030
|
-
self.maxstring = self.maxother = 100
|
|
1031
|
-
|
|
1032
|
-
def repr1(self, x, level):
|
|
1033
|
-
if hasattr(type(x), '__name__'):
|
|
1034
|
-
methodname = 'repr_' + '_'.join(type(x).__name__.split())
|
|
1035
|
-
if hasattr(self, methodname):
|
|
1036
|
-
return getattr(self, methodname)(x, level)
|
|
1037
|
-
return cram(stripid(repr(x)), self.maxother)
|
|
1038
|
-
|
|
1039
|
-
def repr_string(self, x, level):
|
|
1040
|
-
test = cram(x, self.maxstring)
|
|
1041
|
-
testrepr = repr(test)
|
|
1042
|
-
if '\\' in test and '\\' not in replace(testrepr, r'\\', ''):
|
|
1043
|
-
# Backslashes are only literal in the string and are never
|
|
1044
|
-
# needed to make any special characters, so show a raw string.
|
|
1045
|
-
return 'r' + testrepr[0] + test + testrepr[0]
|
|
1046
|
-
return testrepr
|
|
1047
|
-
|
|
1048
|
-
repr_str = repr_string
|
|
1049
|
-
|
|
1050
|
-
def repr_instance(self, x, level):
|
|
1051
|
-
try:
|
|
1052
|
-
return cram(stripid(repr(x)), self.maxstring)
|
|
1053
|
-
except:
|
|
1054
|
-
return '<%s instance>' % x.__class__.__name__
|
|
1055
|
-
|
|
1056
|
-
class TextDoc(Doc):
|
|
1057
|
-
"""Formatter class for text documentation."""
|
|
1058
|
-
|
|
1059
|
-
# ------------------------------------------- text formatting utilities
|
|
1060
|
-
|
|
1061
|
-
_repr_instance = TextRepr()
|
|
1062
|
-
repr = _repr_instance.repr
|
|
1063
|
-
|
|
1064
|
-
def bold(self, text):
|
|
1065
|
-
"""Format a string in bold by overstriking."""
|
|
1066
|
-
return ''.join(ch + '\b' + ch for ch in text)
|
|
1067
|
-
|
|
1068
|
-
def indent(self, text, prefix=' '):
|
|
1069
|
-
"""Indent text by prepending a given prefix to each line."""
|
|
1070
|
-
if not text: return ''
|
|
1071
|
-
lines = [prefix + line for line in text.split('\n')]
|
|
1072
|
-
if lines: lines[-1] = lines[-1].rstrip()
|
|
1073
|
-
return '\n'.join(lines)
|
|
1074
|
-
|
|
1075
|
-
def section(self, title, contents):
|
|
1076
|
-
"""Format a section with a given heading."""
|
|
1077
|
-
clean_contents = self.indent(contents).rstrip()
|
|
1078
|
-
return self.bold(title) + '\n' + clean_contents + '\n\n'
|
|
1079
|
-
|
|
1080
|
-
# ---------------------------------------------- type-specific routines
|
|
1081
|
-
|
|
1082
|
-
def formattree(self, tree, modname, parent=None, prefix=''):
|
|
1083
|
-
"""Render in text a class tree as returned by inspect.getclasstree()."""
|
|
1084
|
-
result = ''
|
|
1085
|
-
for entry in tree:
|
|
1086
|
-
if type(entry) is type(()):
|
|
1087
|
-
c, bases = entry
|
|
1088
|
-
result = result + prefix + classname(c, modname)
|
|
1089
|
-
if bases and bases != (parent,):
|
|
1090
|
-
parents = (classname(c, modname) for c in bases)
|
|
1091
|
-
result = result + '(%s)' % ', '.join(parents)
|
|
1092
|
-
result = result + '\n'
|
|
1093
|
-
elif type(entry) is type([]):
|
|
1094
|
-
result = result + self.formattree(
|
|
1095
|
-
entry, modname, c, prefix + ' ')
|
|
1096
|
-
return result
|
|
1097
|
-
|
|
1098
|
-
def docmodule(self, object, name=None, mod=None):
|
|
1099
|
-
"""Produce text documentation for a given module object."""
|
|
1100
|
-
name = object.__name__ # ignore the passed-in name
|
|
1101
|
-
synop, desc = splitdoc(getdoc(object))
|
|
1102
|
-
result = self.section('NAME', name + (synop and ' - ' + synop))
|
|
1103
|
-
all = getattr(object, '__all__', None)
|
|
1104
|
-
docloc = self.getdocloc(object)
|
|
1105
|
-
if docloc is not None:
|
|
1106
|
-
result = result + self.section('MODULE REFERENCE', docloc + """
|
|
1107
|
-
|
|
1108
|
-
The following documentation is automatically generated from the Python
|
|
1109
|
-
source files. It may be incomplete, incorrect or include features that
|
|
1110
|
-
are considered implementation detail and may vary between Python
|
|
1111
|
-
implementations. When in doubt, consult the module reference at the
|
|
1112
|
-
location listed above.
|
|
1113
|
-
""")
|
|
1114
|
-
|
|
1115
|
-
if desc:
|
|
1116
|
-
result = result + self.section('DESCRIPTION', desc)
|
|
1117
|
-
|
|
1118
|
-
classes = []
|
|
1119
|
-
for key, value in inspect.getmembers(object, inspect.isclass):
|
|
1120
|
-
# if __all__ exists, believe it. Otherwise use old heuristic.
|
|
1121
|
-
if (all is not None
|
|
1122
|
-
or (inspect.getmodule(value) or object) is object):
|
|
1123
|
-
if visiblename(key, all, object):
|
|
1124
|
-
classes.append((key, value))
|
|
1125
|
-
funcs = []
|
|
1126
|
-
for key, value in inspect.getmembers(object, inspect.isroutine):
|
|
1127
|
-
# if __all__ exists, believe it. Otherwise use old heuristic.
|
|
1128
|
-
if (all is not None or
|
|
1129
|
-
inspect.isbuiltin(value) or inspect.getmodule(value) is object):
|
|
1130
|
-
if visiblename(key, all, object):
|
|
1131
|
-
funcs.append((key, value))
|
|
1132
|
-
data = []
|
|
1133
|
-
for key, value in inspect.getmembers(object, isdata):
|
|
1134
|
-
if visiblename(key, all, object):
|
|
1135
|
-
data.append((key, value))
|
|
1136
|
-
|
|
1137
|
-
modpkgs = []
|
|
1138
|
-
modpkgs_names = set()
|
|
1139
|
-
if hasattr(object, '__path__'):
|
|
1140
|
-
for importer, modname, ispkg in pkgutil.iter_modules(object.__path__):
|
|
1141
|
-
modpkgs_names.add(modname)
|
|
1142
|
-
if ispkg:
|
|
1143
|
-
modpkgs.append(modname + ' (package)')
|
|
1144
|
-
else:
|
|
1145
|
-
modpkgs.append(modname)
|
|
1146
|
-
|
|
1147
|
-
modpkgs.sort()
|
|
1148
|
-
result = result + self.section(
|
|
1149
|
-
'PACKAGE CONTENTS', '\n'.join(modpkgs))
|
|
1150
|
-
|
|
1151
|
-
# Detect submodules as sometimes created by C extensions
|
|
1152
|
-
submodules = []
|
|
1153
|
-
for key, value in inspect.getmembers(object, inspect.ismodule):
|
|
1154
|
-
if value.__name__.startswith(name + '.') and key not in modpkgs_names:
|
|
1155
|
-
submodules.append(key)
|
|
1156
|
-
if submodules:
|
|
1157
|
-
submodules.sort()
|
|
1158
|
-
result = result + self.section(
|
|
1159
|
-
'SUBMODULES', '\n'.join(submodules))
|
|
1160
|
-
|
|
1161
|
-
if classes:
|
|
1162
|
-
classlist = [value for key, value in classes]
|
|
1163
|
-
contents = [self.formattree(
|
|
1164
|
-
inspect.getclasstree(classlist, 1), name)]
|
|
1165
|
-
for key, value in classes:
|
|
1166
|
-
contents.append(self.document(value, key, name))
|
|
1167
|
-
result = result + self.section('CLASSES', '\n'.join(contents))
|
|
1168
|
-
|
|
1169
|
-
if funcs:
|
|
1170
|
-
contents = []
|
|
1171
|
-
for key, value in funcs:
|
|
1172
|
-
contents.append(self.document(value, key, name))
|
|
1173
|
-
result = result + self.section('FUNCTIONS', '\n'.join(contents))
|
|
1174
|
-
|
|
1175
|
-
if data:
|
|
1176
|
-
contents = []
|
|
1177
|
-
for key, value in data:
|
|
1178
|
-
contents.append(self.docother(value, key, name, maxlen=70))
|
|
1179
|
-
result = result + self.section('DATA', '\n'.join(contents))
|
|
1180
|
-
|
|
1181
|
-
if hasattr(object, '__version__'):
|
|
1182
|
-
version = str(object.__version__)
|
|
1183
|
-
if version[:11] == '$' + 'Revision: ' and version[-1:] == '$':
|
|
1184
|
-
version = version[11:-1].strip()
|
|
1185
|
-
result = result + self.section('VERSION', version)
|
|
1186
|
-
if hasattr(object, '__date__'):
|
|
1187
|
-
result = result + self.section('DATE', str(object.__date__))
|
|
1188
|
-
if hasattr(object, '__author__'):
|
|
1189
|
-
result = result + self.section('AUTHOR', str(object.__author__))
|
|
1190
|
-
if hasattr(object, '__credits__'):
|
|
1191
|
-
result = result + self.section('CREDITS', str(object.__credits__))
|
|
1192
|
-
try:
|
|
1193
|
-
file = inspect.getabsfile(object)
|
|
1194
|
-
except TypeError:
|
|
1195
|
-
file = '(built-in)'
|
|
1196
|
-
result = result + self.section('FILE', file)
|
|
1197
|
-
return result
|
|
1198
|
-
|
|
1199
|
-
def docclass(self, object, name=None, mod=None, *ignored):
|
|
1200
|
-
"""Produce text documentation for a given class object."""
|
|
1201
|
-
realname = object.__name__
|
|
1202
|
-
name = name or realname
|
|
1203
|
-
bases = object.__bases__
|
|
1204
|
-
|
|
1205
|
-
def makename(c, m=object.__module__):
|
|
1206
|
-
return classname(c, m)
|
|
1207
|
-
|
|
1208
|
-
if name == realname:
|
|
1209
|
-
title = 'class ' + self.bold(realname)
|
|
1210
|
-
else:
|
|
1211
|
-
title = self.bold(name) + ' = class ' + realname
|
|
1212
|
-
if bases:
|
|
1213
|
-
parents = map(makename, bases)
|
|
1214
|
-
title = title + '(%s)' % ', '.join(parents)
|
|
1215
|
-
|
|
1216
|
-
doc = getdoc(object)
|
|
1217
|
-
contents = doc and [doc + '\n'] or []
|
|
1218
|
-
push = contents.append
|
|
1219
|
-
|
|
1220
|
-
# List the mro, if non-trivial.
|
|
1221
|
-
mro = deque(inspect.getmro(object))
|
|
1222
|
-
if len(mro) > 2:
|
|
1223
|
-
push("Method resolution order:")
|
|
1224
|
-
for base in mro:
|
|
1225
|
-
push(' ' + makename(base))
|
|
1226
|
-
push('')
|
|
1227
|
-
|
|
1228
|
-
# Cute little class to pump out a horizontal rule between sections.
|
|
1229
|
-
class HorizontalRule:
|
|
1230
|
-
def __init__(self):
|
|
1231
|
-
self.needone = 0
|
|
1232
|
-
def maybe(self):
|
|
1233
|
-
if self.needone:
|
|
1234
|
-
push('-' * 70)
|
|
1235
|
-
self.needone = 1
|
|
1236
|
-
hr = HorizontalRule()
|
|
1237
|
-
|
|
1238
|
-
def spill(msg, attrs, predicate):
|
|
1239
|
-
ok, attrs = _split_list(attrs, predicate)
|
|
1240
|
-
if ok:
|
|
1241
|
-
hr.maybe()
|
|
1242
|
-
push(msg)
|
|
1243
|
-
for name, kind, homecls, value in ok:
|
|
1244
|
-
try:
|
|
1245
|
-
value = getattr(object, name)
|
|
1246
|
-
except Exception:
|
|
1247
|
-
# Some descriptors may meet a failure in their __get__.
|
|
1248
|
-
# (bug #1785)
|
|
1249
|
-
push(self._docdescriptor(name, value, mod))
|
|
1250
|
-
else:
|
|
1251
|
-
push(self.document(value,
|
|
1252
|
-
name, mod, object))
|
|
1253
|
-
return attrs
|
|
1254
|
-
|
|
1255
|
-
def spilldescriptors(msg, attrs, predicate):
|
|
1256
|
-
ok, attrs = _split_list(attrs, predicate)
|
|
1257
|
-
if ok:
|
|
1258
|
-
hr.maybe()
|
|
1259
|
-
push(msg)
|
|
1260
|
-
for name, kind, homecls, value in ok:
|
|
1261
|
-
push(self._docdescriptor(name, value, mod))
|
|
1262
|
-
return attrs
|
|
1263
|
-
|
|
1264
|
-
def spilldata(msg, attrs, predicate):
|
|
1265
|
-
ok, attrs = _split_list(attrs, predicate)
|
|
1266
|
-
if ok:
|
|
1267
|
-
hr.maybe()
|
|
1268
|
-
push(msg)
|
|
1269
|
-
for name, kind, homecls, value in ok:
|
|
1270
|
-
if callable(value) or inspect.isdatadescriptor(value):
|
|
1271
|
-
doc = getdoc(value)
|
|
1272
|
-
else:
|
|
1273
|
-
doc = None
|
|
1274
|
-
try:
|
|
1275
|
-
obj = getattr(object, name)
|
|
1276
|
-
except AttributeError:
|
|
1277
|
-
obj = homecls.__dict__[name]
|
|
1278
|
-
push(self.docother(obj, name, mod, maxlen=70, doc=doc) +
|
|
1279
|
-
'\n')
|
|
1280
|
-
return attrs
|
|
1281
|
-
|
|
1282
|
-
attrs = [(name, kind, cls, value)
|
|
1283
|
-
for name, kind, cls, value in classify_class_attrs(object)
|
|
1284
|
-
if visiblename(name, obj=object)]
|
|
1285
|
-
|
|
1286
|
-
while attrs:
|
|
1287
|
-
if mro:
|
|
1288
|
-
thisclass = mro.popleft()
|
|
1289
|
-
else:
|
|
1290
|
-
thisclass = attrs[0][2]
|
|
1291
|
-
attrs, inherited = _split_list(attrs, lambda t: t[2] is thisclass)
|
|
1292
|
-
|
|
1293
|
-
if thisclass is builtins.object:
|
|
1294
|
-
attrs = inherited
|
|
1295
|
-
continue
|
|
1296
|
-
elif thisclass is object:
|
|
1297
|
-
tag = "defined here"
|
|
1298
|
-
else:
|
|
1299
|
-
tag = "inherited from %s" % classname(thisclass,
|
|
1300
|
-
object.__module__)
|
|
1301
|
-
|
|
1302
|
-
sort_attributes(attrs, object)
|
|
1303
|
-
|
|
1304
|
-
# Pump out the attrs, segregated by kind.
|
|
1305
|
-
attrs = spill("Methods %s:\n" % tag, attrs,
|
|
1306
|
-
lambda t: t[1] == 'method')
|
|
1307
|
-
attrs = spill("Class methods %s:\n" % tag, attrs,
|
|
1308
|
-
lambda t: t[1] == 'class method')
|
|
1309
|
-
attrs = spill("Static methods %s:\n" % tag, attrs,
|
|
1310
|
-
lambda t: t[1] == 'static method')
|
|
1311
|
-
attrs = spilldescriptors("Data descriptors %s:\n" % tag, attrs,
|
|
1312
|
-
lambda t: t[1] == 'data descriptor')
|
|
1313
|
-
attrs = spilldata("Data and other attributes %s:\n" % tag, attrs,
|
|
1314
|
-
lambda t: t[1] == 'data')
|
|
1315
|
-
|
|
1316
|
-
assert attrs == []
|
|
1317
|
-
attrs = inherited
|
|
1318
|
-
|
|
1319
|
-
contents = '\n'.join(contents)
|
|
1320
|
-
if not contents:
|
|
1321
|
-
return title + '\n'
|
|
1322
|
-
return title + '\n' + self.indent(contents.rstrip(), ' | ') + '\n'
|
|
1323
|
-
|
|
1324
|
-
def formatvalue(self, object):
|
|
1325
|
-
"""Format an argument default value as text."""
|
|
1326
|
-
return '=' + self.repr(object)
|
|
1327
|
-
|
|
1328
|
-
def docroutine(self, object, name=None, mod=None, cl=None):
|
|
1329
|
-
"""Produce text documentation for a function or method object."""
|
|
1330
|
-
realname = object.__name__
|
|
1331
|
-
name = name or realname
|
|
1332
|
-
note = ''
|
|
1333
|
-
skipdocs = 0
|
|
1334
|
-
if _is_bound_method(object):
|
|
1335
|
-
imclass = object.__self__.__class__
|
|
1336
|
-
if cl:
|
|
1337
|
-
if imclass is not cl:
|
|
1338
|
-
note = ' from ' + classname(imclass, mod)
|
|
1339
|
-
else:
|
|
1340
|
-
if object.__self__ is not None:
|
|
1341
|
-
note = ' method of %s instance' % classname(
|
|
1342
|
-
object.__self__.__class__, mod)
|
|
1343
|
-
else:
|
|
1344
|
-
note = ' unbound %s method' % classname(imclass,mod)
|
|
1345
|
-
|
|
1346
|
-
if name == realname:
|
|
1347
|
-
title = self.bold(realname)
|
|
1348
|
-
else:
|
|
1349
|
-
if (cl and realname in cl.__dict__ and
|
|
1350
|
-
cl.__dict__[realname] is object):
|
|
1351
|
-
skipdocs = 1
|
|
1352
|
-
title = self.bold(name) + ' = ' + realname
|
|
1353
|
-
argspec = None
|
|
1354
|
-
|
|
1355
|
-
if inspect.isroutine(object):
|
|
1356
|
-
try:
|
|
1357
|
-
signature = inspect.signature(object)
|
|
1358
|
-
except (ValueError, TypeError):
|
|
1359
|
-
signature = None
|
|
1360
|
-
if signature:
|
|
1361
|
-
argspec = str(signature)
|
|
1362
|
-
if realname == '<lambda>':
|
|
1363
|
-
title = self.bold(name) + ' lambda '
|
|
1364
|
-
# XXX lambda's won't usually have func_annotations['return']
|
|
1365
|
-
# since the syntax doesn't support but it is possible.
|
|
1366
|
-
# So removing parentheses isn't truly safe.
|
|
1367
|
-
argspec = argspec[1:-1] # remove parentheses
|
|
1368
|
-
if not argspec:
|
|
1369
|
-
argspec = '(...)'
|
|
1370
|
-
decl = title + argspec + note
|
|
1371
|
-
|
|
1372
|
-
if skipdocs:
|
|
1373
|
-
return decl + '\n'
|
|
1374
|
-
else:
|
|
1375
|
-
doc = getdoc(object) or ''
|
|
1376
|
-
return decl + '\n' + (doc and self.indent(doc).rstrip() + '\n')
|
|
1377
|
-
|
|
1378
|
-
def _docdescriptor(self, name, value, mod):
|
|
1379
|
-
results = []
|
|
1380
|
-
push = results.append
|
|
1381
|
-
|
|
1382
|
-
if name:
|
|
1383
|
-
push(self.bold(name))
|
|
1384
|
-
push('\n')
|
|
1385
|
-
doc = getdoc(value) or ''
|
|
1386
|
-
if doc:
|
|
1387
|
-
push(self.indent(doc))
|
|
1388
|
-
push('\n')
|
|
1389
|
-
return ''.join(results)
|
|
1390
|
-
|
|
1391
|
-
def docproperty(self, object, name=None, mod=None, cl=None):
|
|
1392
|
-
"""Produce text documentation for a property."""
|
|
1393
|
-
return self._docdescriptor(name, object, mod)
|
|
1394
|
-
|
|
1395
|
-
def docdata(self, object, name=None, mod=None, cl=None):
|
|
1396
|
-
"""Produce text documentation for a data descriptor."""
|
|
1397
|
-
return self._docdescriptor(name, object, mod)
|
|
1398
|
-
|
|
1399
|
-
def docother(self, object, name=None, mod=None, parent=None, maxlen=None, doc=None):
|
|
1400
|
-
"""Produce text documentation for a data object."""
|
|
1401
|
-
repr = self.repr(object)
|
|
1402
|
-
if maxlen:
|
|
1403
|
-
line = (name and name + ' = ' or '') + repr
|
|
1404
|
-
chop = maxlen - len(line)
|
|
1405
|
-
if chop < 0: repr = repr[:chop] + '...'
|
|
1406
|
-
line = (name and self.bold(name) + ' = ' or '') + repr
|
|
1407
|
-
if doc is not None:
|
|
1408
|
-
line += '\n' + self.indent(str(doc))
|
|
1409
|
-
return line
|
|
1410
|
-
|
|
1411
|
-
class _PlainTextDoc(TextDoc):
|
|
1412
|
-
"""Subclass of TextDoc which overrides string styling"""
|
|
1413
|
-
def bold(self, text):
|
|
1414
|
-
return text
|
|
1415
|
-
|
|
1416
|
-
# --------------------------------------------------------- user interfaces
|
|
1417
|
-
|
|
1418
|
-
def pager(text):
|
|
1419
|
-
"""The first time this is called, determine what kind of pager to use."""
|
|
1420
|
-
global pager
|
|
1421
|
-
pager = getpager()
|
|
1422
|
-
pager(text)
|
|
1423
|
-
|
|
1424
|
-
def getpager():
|
|
1425
|
-
"""Decide what method to use for paging through text."""
|
|
1426
|
-
if not hasattr(sys.stdin, "isatty"):
|
|
1427
|
-
return plainpager
|
|
1428
|
-
if not hasattr(sys.stdout, "isatty"):
|
|
1429
|
-
return plainpager
|
|
1430
|
-
if not sys.stdin.isatty() or not sys.stdout.isatty():
|
|
1431
|
-
return plainpager
|
|
1432
|
-
use_pager = os.environ.get('MANPAGER') or os.environ.get('PAGER')
|
|
1433
|
-
if use_pager:
|
|
1434
|
-
if sys.platform == 'win32': # pipes completely broken in Windows
|
|
1435
|
-
return lambda text: tempfilepager(plain(text), use_pager)
|
|
1436
|
-
elif os.environ.get('TERM') in ('dumb', 'emacs'):
|
|
1437
|
-
return lambda text: pipepager(plain(text), use_pager)
|
|
1438
|
-
else:
|
|
1439
|
-
return lambda text: pipepager(text, use_pager)
|
|
1440
|
-
if os.environ.get('TERM') in ('dumb', 'emacs'):
|
|
1441
|
-
return plainpager
|
|
1442
|
-
if sys.platform == 'win32':
|
|
1443
|
-
return lambda text: tempfilepager(plain(text), 'more <')
|
|
1444
|
-
if hasattr(os, 'system') and os.system('(less) 2>/dev/null') == 0:
|
|
1445
|
-
return lambda text: pipepager(text, 'less')
|
|
1446
|
-
|
|
1447
|
-
import tempfile
|
|
1448
|
-
(fd, filename) = tempfile.mkstemp()
|
|
1449
|
-
os.close(fd)
|
|
1450
|
-
try:
|
|
1451
|
-
if hasattr(os, 'system') and os.system('more "%s"' % filename) == 0:
|
|
1452
|
-
return lambda text: pipepager(text, 'more')
|
|
1453
|
-
else:
|
|
1454
|
-
return ttypager
|
|
1455
|
-
finally:
|
|
1456
|
-
os.unlink(filename)
|
|
1457
|
-
|
|
1458
|
-
def plain(text):
|
|
1459
|
-
"""Remove boldface formatting from text."""
|
|
1460
|
-
return re.sub('.\b', '', text)
|
|
1461
|
-
|
|
1462
|
-
def pipepager(text, cmd):
|
|
1463
|
-
"""Page through text by feeding it to another program."""
|
|
1464
|
-
import subprocess
|
|
1465
|
-
proc = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE)
|
|
1466
|
-
try:
|
|
1467
|
-
with io.TextIOWrapper(proc.stdin, errors='backslashreplace') as pipe:
|
|
1468
|
-
try:
|
|
1469
|
-
pipe.write(text)
|
|
1470
|
-
except KeyboardInterrupt:
|
|
1471
|
-
# We've hereby abandoned whatever text hasn't been written,
|
|
1472
|
-
# but the pager is still in control of the terminal.
|
|
1473
|
-
pass
|
|
1474
|
-
except OSError:
|
|
1475
|
-
pass # Ignore broken pipes caused by quitting the pager program.
|
|
1476
|
-
while True:
|
|
1477
|
-
try:
|
|
1478
|
-
proc.wait()
|
|
1479
|
-
break
|
|
1480
|
-
except KeyboardInterrupt:
|
|
1481
|
-
# Ignore ctl-c like the pager itself does. Otherwise the pager is
|
|
1482
|
-
# left running and the terminal is in raw mode and unusable.
|
|
1483
|
-
pass
|
|
1484
|
-
|
|
1485
|
-
def tempfilepager(text, cmd):
|
|
1486
|
-
"""Page through text by invoking a program on a temporary file."""
|
|
1487
|
-
import tempfile
|
|
1488
|
-
filename = tempfile.mktemp()
|
|
1489
|
-
with open(filename, 'w', errors='backslashreplace') as file:
|
|
1490
|
-
file.write(text)
|
|
1491
|
-
try:
|
|
1492
|
-
os.system(cmd + ' "' + filename + '"')
|
|
1493
|
-
finally:
|
|
1494
|
-
os.unlink(filename)
|
|
1495
|
-
|
|
1496
|
-
def _escape_stdout(text):
|
|
1497
|
-
# Escape non-encodable characters to avoid encoding errors later
|
|
1498
|
-
encoding = getattr(sys.stdout, 'encoding', None) or 'utf-8'
|
|
1499
|
-
return text.encode(encoding, 'backslashreplace').decode(encoding)
|
|
1500
|
-
|
|
1501
|
-
def ttypager(text):
|
|
1502
|
-
"""Page through text on a text terminal."""
|
|
1503
|
-
lines = plain(_escape_stdout(text)).split('\n')
|
|
1504
|
-
try:
|
|
1505
|
-
import tty
|
|
1506
|
-
fd = sys.stdin.fileno()
|
|
1507
|
-
old = tty.tcgetattr(fd)
|
|
1508
|
-
tty.setcbreak(fd)
|
|
1509
|
-
getchar = lambda: sys.stdin.read(1)
|
|
1510
|
-
except (ImportError, AttributeError, io.UnsupportedOperation):
|
|
1511
|
-
tty = None
|
|
1512
|
-
getchar = lambda: sys.stdin.readline()[:-1][:1]
|
|
1513
|
-
|
|
1514
|
-
try:
|
|
1515
|
-
try:
|
|
1516
|
-
h = int(os.environ.get('LINES', 0))
|
|
1517
|
-
except ValueError:
|
|
1518
|
-
h = 0
|
|
1519
|
-
if h <= 1:
|
|
1520
|
-
h = 25
|
|
1521
|
-
r = inc = h - 1
|
|
1522
|
-
sys.stdout.write('\n'.join(lines[:inc]) + '\n')
|
|
1523
|
-
while lines[r:]:
|
|
1524
|
-
sys.stdout.write('-- more --')
|
|
1525
|
-
sys.stdout.flush()
|
|
1526
|
-
c = getchar()
|
|
1527
|
-
|
|
1528
|
-
if c in ('q', 'Q'):
|
|
1529
|
-
sys.stdout.write('\r \r')
|
|
1530
|
-
break
|
|
1531
|
-
elif c in ('\r', '\n'):
|
|
1532
|
-
sys.stdout.write('\r \r' + lines[r] + '\n')
|
|
1533
|
-
r = r + 1
|
|
1534
|
-
continue
|
|
1535
|
-
if c in ('b', 'B', '\x1b'):
|
|
1536
|
-
r = r - inc - inc
|
|
1537
|
-
if r < 0: r = 0
|
|
1538
|
-
sys.stdout.write('\n' + '\n'.join(lines[r:r+inc]) + '\n')
|
|
1539
|
-
r = r + inc
|
|
1540
|
-
|
|
1541
|
-
finally:
|
|
1542
|
-
if tty:
|
|
1543
|
-
tty.tcsetattr(fd, tty.TCSAFLUSH, old)
|
|
1544
|
-
|
|
1545
|
-
def plainpager(text):
|
|
1546
|
-
"""Simply print unformatted text. This is the ultimate fallback."""
|
|
1547
|
-
sys.stdout.write(plain(_escape_stdout(text)))
|
|
1548
|
-
|
|
1549
|
-
def describe(thing):
|
|
1550
|
-
"""Produce a short description of the given thing."""
|
|
1551
|
-
if inspect.ismodule(thing):
|
|
1552
|
-
if thing.__name__ in sys.builtin_module_names:
|
|
1553
|
-
return 'built-in module ' + thing.__name__
|
|
1554
|
-
if hasattr(thing, '__path__'):
|
|
1555
|
-
return 'package ' + thing.__name__
|
|
1556
|
-
else:
|
|
1557
|
-
return 'module ' + thing.__name__
|
|
1558
|
-
if inspect.isbuiltin(thing):
|
|
1559
|
-
return 'built-in function ' + thing.__name__
|
|
1560
|
-
if inspect.isgetsetdescriptor(thing):
|
|
1561
|
-
return 'getset descriptor %s.%s.%s' % (
|
|
1562
|
-
thing.__objclass__.__module__, thing.__objclass__.__name__,
|
|
1563
|
-
thing.__name__)
|
|
1564
|
-
if inspect.ismemberdescriptor(thing):
|
|
1565
|
-
return 'member descriptor %s.%s.%s' % (
|
|
1566
|
-
thing.__objclass__.__module__, thing.__objclass__.__name__,
|
|
1567
|
-
thing.__name__)
|
|
1568
|
-
if inspect.isclass(thing):
|
|
1569
|
-
return 'class ' + thing.__name__
|
|
1570
|
-
if inspect.isfunction(thing):
|
|
1571
|
-
return 'function ' + thing.__name__
|
|
1572
|
-
if inspect.ismethod(thing):
|
|
1573
|
-
return 'method ' + thing.__name__
|
|
1574
|
-
return type(thing).__name__
|
|
1575
|
-
|
|
1576
|
-
def locate(path, forceload=0):
|
|
1577
|
-
"""Locate an object by name or dotted path, importing as necessary."""
|
|
1578
|
-
parts = [part for part in path.split('.') if part]
|
|
1579
|
-
module, n = None, 0
|
|
1580
|
-
while n < len(parts):
|
|
1581
|
-
nextmodule = safeimport('.'.join(parts[:n+1]), forceload)
|
|
1582
|
-
if nextmodule: module, n = nextmodule, n + 1
|
|
1583
|
-
else: break
|
|
1584
|
-
if module:
|
|
1585
|
-
object = module
|
|
1586
|
-
else:
|
|
1587
|
-
object = builtins
|
|
1588
|
-
for part in parts[n:]:
|
|
1589
|
-
try:
|
|
1590
|
-
object = getattr(object, part)
|
|
1591
|
-
except AttributeError:
|
|
1592
|
-
return None
|
|
1593
|
-
return object
|
|
1594
|
-
|
|
1595
|
-
# --------------------------------------- interactive interpreter interface
|
|
1596
|
-
|
|
1597
|
-
text = TextDoc()
|
|
1598
|
-
plaintext = _PlainTextDoc()
|
|
1599
|
-
html = HTMLDoc()
|
|
1600
|
-
|
|
1601
|
-
def resolve(thing, forceload=0):
|
|
1602
|
-
"""Given an object or a path to an object, get the object and its name."""
|
|
1603
|
-
if isinstance(thing, str):
|
|
1604
|
-
object = locate(thing, forceload)
|
|
1605
|
-
if object is None:
|
|
1606
|
-
raise ImportError('''\
|
|
1607
|
-
No Python documentation found for %r.
|
|
1608
|
-
Use help() to get the interactive help utility.
|
|
1609
|
-
Use help(str) for help on the str class.''' % thing)
|
|
1610
|
-
return object, thing
|
|
1611
|
-
else:
|
|
1612
|
-
name = getattr(thing, '__name__', None)
|
|
1613
|
-
return thing, name if isinstance(name, str) else None
|
|
1614
|
-
|
|
1615
|
-
def render_doc(thing, title='Python Library Documentation: %s', forceload=0,
|
|
1616
|
-
renderer=None):
|
|
1617
|
-
"""Render text documentation, given an object or a path to an object."""
|
|
1618
|
-
if renderer is None:
|
|
1619
|
-
renderer = text
|
|
1620
|
-
object, name = resolve(thing, forceload)
|
|
1621
|
-
desc = describe(object)
|
|
1622
|
-
module = inspect.getmodule(object)
|
|
1623
|
-
if name and '.' in name:
|
|
1624
|
-
desc += ' in ' + name[:name.rfind('.')]
|
|
1625
|
-
elif module and module is not object:
|
|
1626
|
-
desc += ' in module ' + module.__name__
|
|
1627
|
-
|
|
1628
|
-
if not (inspect.ismodule(object) or
|
|
1629
|
-
inspect.isclass(object) or
|
|
1630
|
-
inspect.isroutine(object) or
|
|
1631
|
-
inspect.isgetsetdescriptor(object) or
|
|
1632
|
-
inspect.ismemberdescriptor(object) or
|
|
1633
|
-
isinstance(object, property)):
|
|
1634
|
-
# If the passed object is a piece of data or an instance,
|
|
1635
|
-
# document its available methods instead of its value.
|
|
1636
|
-
object = type(object)
|
|
1637
|
-
desc += ' object'
|
|
1638
|
-
return title % desc + '\n\n' + renderer.document(object, name)
|
|
1639
|
-
|
|
1640
|
-
def doc(thing, title='Python Library Documentation: %s', forceload=0,
|
|
1641
|
-
output=None):
|
|
1642
|
-
"""Display text documentation, given an object or a path to an object."""
|
|
1643
|
-
try:
|
|
1644
|
-
if output is None:
|
|
1645
|
-
pager(render_doc(thing, title, forceload))
|
|
1646
|
-
else:
|
|
1647
|
-
output.write(render_doc(thing, title, forceload, plaintext))
|
|
1648
|
-
except (ImportError, ErrorDuringImport) as value:
|
|
1649
|
-
print(value)
|
|
1650
|
-
|
|
1651
|
-
def writedoc(thing, forceload=0):
|
|
1652
|
-
"""Write HTML documentation to a file in the current directory."""
|
|
1653
|
-
try:
|
|
1654
|
-
object, name = resolve(thing, forceload)
|
|
1655
|
-
page = html.page(describe(object), html.document(object, name))
|
|
1656
|
-
with open(name + '.html', 'w', encoding='utf-8') as file:
|
|
1657
|
-
file.write(page)
|
|
1658
|
-
print('wrote', name + '.html')
|
|
1659
|
-
except (ImportError, ErrorDuringImport) as value:
|
|
1660
|
-
print(value)
|
|
1661
|
-
|
|
1662
|
-
def writedocs(dir, pkgpath='', done=None):
|
|
1663
|
-
"""Write out HTML documentation for all modules in a directory tree."""
|
|
1664
|
-
if done is None: done = {}
|
|
1665
|
-
for importer, modname, ispkg in pkgutil.walk_packages([dir], pkgpath):
|
|
1666
|
-
writedoc(modname)
|
|
1667
|
-
return
|
|
1668
|
-
|
|
1669
|
-
class Helper:
|
|
1670
|
-
|
|
1671
|
-
# These dictionaries map a topic name to either an alias, or a tuple
|
|
1672
|
-
# (label, seealso-items). The "label" is the label of the corresponding
|
|
1673
|
-
# section in the .rst file under Doc/ and an index into the dictionary
|
|
1674
|
-
# in pydoc_data/topics.py.
|
|
1675
|
-
#
|
|
1676
|
-
# CAUTION: if you change one of these dictionaries, be sure to adapt the
|
|
1677
|
-
# list of needed labels in Doc/tools/pyspecific.py and
|
|
1678
|
-
# regenerate the pydoc_data/topics.py file by running
|
|
1679
|
-
# make pydoc-topics
|
|
1680
|
-
# in Doc/ and copying the output file into the Lib/ directory.
|
|
1681
|
-
|
|
1682
|
-
keywords = {
|
|
1683
|
-
'False': '',
|
|
1684
|
-
'None': '',
|
|
1685
|
-
'True': '',
|
|
1686
|
-
'and': 'BOOLEAN',
|
|
1687
|
-
'as': 'with',
|
|
1688
|
-
'assert': ('assert', ''),
|
|
1689
|
-
'break': ('break', 'while for'),
|
|
1690
|
-
'class': ('class', 'CLASSES SPECIALMETHODS'),
|
|
1691
|
-
'continue': ('continue', 'while for'),
|
|
1692
|
-
'def': ('function', ''),
|
|
1693
|
-
'del': ('del', 'BASICMETHODS'),
|
|
1694
|
-
'elif': 'if',
|
|
1695
|
-
'else': ('else', 'while for'),
|
|
1696
|
-
'except': 'try',
|
|
1697
|
-
'finally': 'try',
|
|
1698
|
-
'for': ('for', 'break continue while'),
|
|
1699
|
-
'from': 'import',
|
|
1700
|
-
'global': ('global', 'nonlocal NAMESPACES'),
|
|
1701
|
-
'if': ('if', 'TRUTHVALUE'),
|
|
1702
|
-
'import': ('import', 'MODULES'),
|
|
1703
|
-
'in': ('in', 'SEQUENCEMETHODS'),
|
|
1704
|
-
'is': 'COMPARISON',
|
|
1705
|
-
'lambda': ('lambda', 'FUNCTIONS'),
|
|
1706
|
-
'nonlocal': ('nonlocal', 'global NAMESPACES'),
|
|
1707
|
-
'not': 'BOOLEAN',
|
|
1708
|
-
'or': 'BOOLEAN',
|
|
1709
|
-
'pass': ('pass', ''),
|
|
1710
|
-
'raise': ('raise', 'EXCEPTIONS'),
|
|
1711
|
-
'return': ('return', 'FUNCTIONS'),
|
|
1712
|
-
'try': ('try', 'EXCEPTIONS'),
|
|
1713
|
-
'while': ('while', 'break continue if TRUTHVALUE'),
|
|
1714
|
-
'with': ('with', 'CONTEXTMANAGERS EXCEPTIONS yield'),
|
|
1715
|
-
'yield': ('yield', ''),
|
|
1716
|
-
}
|
|
1717
|
-
# Either add symbols to this dictionary or to the symbols dictionary
|
|
1718
|
-
# directly: Whichever is easier. They are merged later.
|
|
1719
|
-
_symbols_inverse = {
|
|
1720
|
-
'STRINGS' : ("'", "'''", "r'", "b'", '"""', '"', 'r"', 'b"'),
|
|
1721
|
-
'OPERATORS' : ('+', '-', '*', '**', '/', '//', '%', '<<', '>>', '&',
|
|
1722
|
-
'|', '^', '~', '<', '>', '<=', '>=', '==', '!=', '<>'),
|
|
1723
|
-
'COMPARISON' : ('<', '>', '<=', '>=', '==', '!=', '<>'),
|
|
1724
|
-
'UNARY' : ('-', '~'),
|
|
1725
|
-
'AUGMENTEDASSIGNMENT' : ('+=', '-=', '*=', '/=', '%=', '&=', '|=',
|
|
1726
|
-
'^=', '<<=', '>>=', '**=', '//='),
|
|
1727
|
-
'BITWISE' : ('<<', '>>', '&', '|', '^', '~'),
|
|
1728
|
-
'COMPLEX' : ('j', 'J')
|
|
1729
|
-
}
|
|
1730
|
-
symbols = {
|
|
1731
|
-
'%': 'OPERATORS FORMATTING',
|
|
1732
|
-
'**': 'POWER',
|
|
1733
|
-
',': 'TUPLES LISTS FUNCTIONS',
|
|
1734
|
-
'.': 'ATTRIBUTES FLOAT MODULES OBJECTS',
|
|
1735
|
-
'...': 'ELLIPSIS',
|
|
1736
|
-
':': 'SLICINGS DICTIONARYLITERALS',
|
|
1737
|
-
'@': 'def class',
|
|
1738
|
-
'\\': 'STRINGS',
|
|
1739
|
-
'_': 'PRIVATENAMES',
|
|
1740
|
-
'__': 'PRIVATENAMES SPECIALMETHODS',
|
|
1741
|
-
'`': 'BACKQUOTES',
|
|
1742
|
-
'(': 'TUPLES FUNCTIONS CALLS',
|
|
1743
|
-
')': 'TUPLES FUNCTIONS CALLS',
|
|
1744
|
-
'[': 'LISTS SUBSCRIPTS SLICINGS',
|
|
1745
|
-
']': 'LISTS SUBSCRIPTS SLICINGS'
|
|
1746
|
-
}
|
|
1747
|
-
for topic, symbols_ in _symbols_inverse.items():
|
|
1748
|
-
for symbol in symbols_:
|
|
1749
|
-
topics = symbols.get(symbol, topic)
|
|
1750
|
-
if topic not in topics:
|
|
1751
|
-
topics = topics + ' ' + topic
|
|
1752
|
-
symbols[symbol] = topics
|
|
1753
|
-
|
|
1754
|
-
topics = {
|
|
1755
|
-
'TYPES': ('types', 'STRINGS UNICODE NUMBERS SEQUENCES MAPPINGS '
|
|
1756
|
-
'FUNCTIONS CLASSES MODULES FILES inspect'),
|
|
1757
|
-
'STRINGS': ('strings', 'str UNICODE SEQUENCES STRINGMETHODS '
|
|
1758
|
-
'FORMATTING TYPES'),
|
|
1759
|
-
'STRINGMETHODS': ('string-methods', 'STRINGS FORMATTING'),
|
|
1760
|
-
'FORMATTING': ('formatstrings', 'OPERATORS'),
|
|
1761
|
-
'UNICODE': ('strings', 'encodings unicode SEQUENCES STRINGMETHODS '
|
|
1762
|
-
'FORMATTING TYPES'),
|
|
1763
|
-
'NUMBERS': ('numbers', 'INTEGER FLOAT COMPLEX TYPES'),
|
|
1764
|
-
'INTEGER': ('integers', 'int range'),
|
|
1765
|
-
'FLOAT': ('floating', 'float math'),
|
|
1766
|
-
'COMPLEX': ('imaginary', 'complex cmath'),
|
|
1767
|
-
'SEQUENCES': ('typesseq', 'STRINGMETHODS FORMATTING range LISTS'),
|
|
1768
|
-
'MAPPINGS': 'DICTIONARIES',
|
|
1769
|
-
'FUNCTIONS': ('typesfunctions', 'def TYPES'),
|
|
1770
|
-
'METHODS': ('typesmethods', 'class def CLASSES TYPES'),
|
|
1771
|
-
'CODEOBJECTS': ('bltin-code-objects', 'compile FUNCTIONS TYPES'),
|
|
1772
|
-
'TYPEOBJECTS': ('bltin-type-objects', 'types TYPES'),
|
|
1773
|
-
'FRAMEOBJECTS': 'TYPES',
|
|
1774
|
-
'TRACEBACKS': 'TYPES',
|
|
1775
|
-
'NONE': ('bltin-null-object', ''),
|
|
1776
|
-
'ELLIPSIS': ('bltin-ellipsis-object', 'SLICINGS'),
|
|
1777
|
-
'SPECIALATTRIBUTES': ('specialattrs', ''),
|
|
1778
|
-
'CLASSES': ('types', 'class SPECIALMETHODS PRIVATENAMES'),
|
|
1779
|
-
'MODULES': ('typesmodules', 'import'),
|
|
1780
|
-
'PACKAGES': 'import',
|
|
1781
|
-
'EXPRESSIONS': ('operator-summary', 'lambda or and not in is BOOLEAN '
|
|
1782
|
-
'COMPARISON BITWISE SHIFTING BINARY FORMATTING POWER '
|
|
1783
|
-
'UNARY ATTRIBUTES SUBSCRIPTS SLICINGS CALLS TUPLES '
|
|
1784
|
-
'LISTS DICTIONARIES'),
|
|
1785
|
-
'OPERATORS': 'EXPRESSIONS',
|
|
1786
|
-
'PRECEDENCE': 'EXPRESSIONS',
|
|
1787
|
-
'OBJECTS': ('objects', 'TYPES'),
|
|
1788
|
-
'SPECIALMETHODS': ('specialnames', 'BASICMETHODS ATTRIBUTEMETHODS '
|
|
1789
|
-
'CALLABLEMETHODS SEQUENCEMETHODS MAPPINGMETHODS '
|
|
1790
|
-
'NUMBERMETHODS CLASSES'),
|
|
1791
|
-
'BASICMETHODS': ('customization', 'hash repr str SPECIALMETHODS'),
|
|
1792
|
-
'ATTRIBUTEMETHODS': ('attribute-access', 'ATTRIBUTES SPECIALMETHODS'),
|
|
1793
|
-
'CALLABLEMETHODS': ('callable-types', 'CALLS SPECIALMETHODS'),
|
|
1794
|
-
'SEQUENCEMETHODS': ('sequence-types', 'SEQUENCES SEQUENCEMETHODS '
|
|
1795
|
-
'SPECIALMETHODS'),
|
|
1796
|
-
'MAPPINGMETHODS': ('sequence-types', 'MAPPINGS SPECIALMETHODS'),
|
|
1797
|
-
'NUMBERMETHODS': ('numeric-types', 'NUMBERS AUGMENTEDASSIGNMENT '
|
|
1798
|
-
'SPECIALMETHODS'),
|
|
1799
|
-
'EXECUTION': ('execmodel', 'NAMESPACES DYNAMICFEATURES EXCEPTIONS'),
|
|
1800
|
-
'NAMESPACES': ('naming', 'global nonlocal ASSIGNMENT DELETION DYNAMICFEATURES'),
|
|
1801
|
-
'DYNAMICFEATURES': ('dynamic-features', ''),
|
|
1802
|
-
'SCOPING': 'NAMESPACES',
|
|
1803
|
-
'FRAMES': 'NAMESPACES',
|
|
1804
|
-
'EXCEPTIONS': ('exceptions', 'try except finally raise'),
|
|
1805
|
-
'CONVERSIONS': ('conversions', ''),
|
|
1806
|
-
'IDENTIFIERS': ('identifiers', 'keywords SPECIALIDENTIFIERS'),
|
|
1807
|
-
'SPECIALIDENTIFIERS': ('id-classes', ''),
|
|
1808
|
-
'PRIVATENAMES': ('atom-identifiers', ''),
|
|
1809
|
-
'LITERALS': ('atom-literals', 'STRINGS NUMBERS TUPLELITERALS '
|
|
1810
|
-
'LISTLITERALS DICTIONARYLITERALS'),
|
|
1811
|
-
'TUPLES': 'SEQUENCES',
|
|
1812
|
-
'TUPLELITERALS': ('exprlists', 'TUPLES LITERALS'),
|
|
1813
|
-
'LISTS': ('typesseq-mutable', 'LISTLITERALS'),
|
|
1814
|
-
'LISTLITERALS': ('lists', 'LISTS LITERALS'),
|
|
1815
|
-
'DICTIONARIES': ('typesmapping', 'DICTIONARYLITERALS'),
|
|
1816
|
-
'DICTIONARYLITERALS': ('dict', 'DICTIONARIES LITERALS'),
|
|
1817
|
-
'ATTRIBUTES': ('attribute-references', 'getattr hasattr setattr ATTRIBUTEMETHODS'),
|
|
1818
|
-
'SUBSCRIPTS': ('subscriptions', 'SEQUENCEMETHODS'),
|
|
1819
|
-
'SLICINGS': ('slicings', 'SEQUENCEMETHODS'),
|
|
1820
|
-
'CALLS': ('calls', 'EXPRESSIONS'),
|
|
1821
|
-
'POWER': ('power', 'EXPRESSIONS'),
|
|
1822
|
-
'UNARY': ('unary', 'EXPRESSIONS'),
|
|
1823
|
-
'BINARY': ('binary', 'EXPRESSIONS'),
|
|
1824
|
-
'SHIFTING': ('shifting', 'EXPRESSIONS'),
|
|
1825
|
-
'BITWISE': ('bitwise', 'EXPRESSIONS'),
|
|
1826
|
-
'COMPARISON': ('comparisons', 'EXPRESSIONS BASICMETHODS'),
|
|
1827
|
-
'BOOLEAN': ('booleans', 'EXPRESSIONS TRUTHVALUE'),
|
|
1828
|
-
'ASSERTION': 'assert',
|
|
1829
|
-
'ASSIGNMENT': ('assignment', 'AUGMENTEDASSIGNMENT'),
|
|
1830
|
-
'AUGMENTEDASSIGNMENT': ('augassign', 'NUMBERMETHODS'),
|
|
1831
|
-
'DELETION': 'del',
|
|
1832
|
-
'RETURNING': 'return',
|
|
1833
|
-
'IMPORTING': 'import',
|
|
1834
|
-
'CONDITIONAL': 'if',
|
|
1835
|
-
'LOOPING': ('compound', 'for while break continue'),
|
|
1836
|
-
'TRUTHVALUE': ('truth', 'if while and or not BASICMETHODS'),
|
|
1837
|
-
'DEBUGGING': ('debugger', 'pdb'),
|
|
1838
|
-
'CONTEXTMANAGERS': ('context-managers', 'with'),
|
|
1839
|
-
}
|
|
1840
|
-
|
|
1841
|
-
def __init__(self, input=None, output=None):
|
|
1842
|
-
self._input = input
|
|
1843
|
-
self._output = output
|
|
1844
|
-
|
|
1845
|
-
input = property(lambda self: self._input or sys.stdin)
|
|
1846
|
-
output = property(lambda self: self._output or sys.stdout)
|
|
1847
|
-
|
|
1848
|
-
def __repr__(self):
|
|
1849
|
-
if inspect.stack()[1][3] == '?':
|
|
1850
|
-
self()
|
|
1851
|
-
return ''
|
|
1852
|
-
return '<%s.%s instance>' % (self.__class__.__module__,
|
|
1853
|
-
self.__class__.__qualname__)
|
|
1854
|
-
|
|
1855
|
-
_GoInteractive = object()
|
|
1856
|
-
def __call__(self, request=_GoInteractive):
|
|
1857
|
-
if request is not self._GoInteractive:
|
|
1858
|
-
self.help(request)
|
|
1859
|
-
else:
|
|
1860
|
-
self.intro()
|
|
1861
|
-
self.interact()
|
|
1862
|
-
self.output.write('''
|
|
1863
|
-
You are now leaving help and returning to the Python interpreter.
|
|
1864
|
-
If you want to ask for help on a particular object directly from the
|
|
1865
|
-
interpreter, you can type "help(object)". Executing "help('string')"
|
|
1866
|
-
has the same effect as typing a particular string at the help> prompt.
|
|
1867
|
-
''')
|
|
1868
|
-
|
|
1869
|
-
def interact(self):
|
|
1870
|
-
self.output.write('\n')
|
|
1871
|
-
while True:
|
|
1872
|
-
try:
|
|
1873
|
-
request = self.getline('help> ')
|
|
1874
|
-
if not request: break
|
|
1875
|
-
except (KeyboardInterrupt, EOFError):
|
|
1876
|
-
break
|
|
1877
|
-
request = replace(request, '"', '', "'", '').strip()
|
|
1878
|
-
if request.lower() in ('q', 'quit'): break
|
|
1879
|
-
if request == 'help':
|
|
1880
|
-
self.intro()
|
|
1881
|
-
else:
|
|
1882
|
-
self.help(request)
|
|
1883
|
-
|
|
1884
|
-
def getline(self, prompt):
|
|
1885
|
-
"""Read one line, using input() when appropriate."""
|
|
1886
|
-
if self.input is sys.stdin:
|
|
1887
|
-
return input(prompt)
|
|
1888
|
-
else:
|
|
1889
|
-
self.output.write(prompt)
|
|
1890
|
-
self.output.flush()
|
|
1891
|
-
return self.input.readline()
|
|
1892
|
-
|
|
1893
|
-
def help(self, request):
|
|
1894
|
-
if type(request) is type(''):
|
|
1895
|
-
request = request.strip()
|
|
1896
|
-
if request == 'keywords': self.listkeywords()
|
|
1897
|
-
elif request == 'symbols': self.listsymbols()
|
|
1898
|
-
elif request == 'topics': self.listtopics()
|
|
1899
|
-
elif request == 'modules': self.listmodules()
|
|
1900
|
-
elif request[:8] == 'modules ':
|
|
1901
|
-
self.listmodules(request.split()[1])
|
|
1902
|
-
elif request in self.symbols: self.showsymbol(request)
|
|
1903
|
-
elif request in ['True', 'False', 'None']:
|
|
1904
|
-
# special case these keywords since they are objects too
|
|
1905
|
-
doc(eval(request), 'Help on %s:')
|
|
1906
|
-
elif request in self.keywords: self.showtopic(request)
|
|
1907
|
-
elif request in self.topics: self.showtopic(request)
|
|
1908
|
-
elif request: doc(request, 'Help on %s:', output=self._output)
|
|
1909
|
-
else: doc(str, 'Help on %s:', output=self._output)
|
|
1910
|
-
elif isinstance(request, Helper): self()
|
|
1911
|
-
else: doc(request, 'Help on %s:', output=self._output)
|
|
1912
|
-
self.output.write('\n')
|
|
1913
|
-
|
|
1914
|
-
def intro(self):
|
|
1915
|
-
self.output.write('''
|
|
1916
|
-
Welcome to Python {0}'s help utility!
|
|
1917
|
-
|
|
1918
|
-
If this is your first time using Python, you should definitely check out
|
|
1919
|
-
the tutorial on the Internet at http://docs.python.org/{0}/tutorial/.
|
|
1920
|
-
|
|
1921
|
-
Enter the name of any module, keyword, or topic to get help on writing
|
|
1922
|
-
Python programs and using Python modules. To quit this help utility and
|
|
1923
|
-
return to the interpreter, just type "quit".
|
|
1924
|
-
|
|
1925
|
-
To get a list of available modules, keywords, symbols, or topics, type
|
|
1926
|
-
"modules", "keywords", "symbols", or "topics". Each module also comes
|
|
1927
|
-
with a one-line summary of what it does; to list the modules whose name
|
|
1928
|
-
or summary contain a given string such as "spam", type "modules spam".
|
|
1929
|
-
'''.format('%d.%d' % sys.version_info[:2]))
|
|
1930
|
-
|
|
1931
|
-
def list(self, items, columns=4, width=80):
|
|
1932
|
-
items = list(sorted(items))
|
|
1933
|
-
colw = width // columns
|
|
1934
|
-
rows = (len(items) + columns - 1) // columns
|
|
1935
|
-
for row in range(rows):
|
|
1936
|
-
for col in range(columns):
|
|
1937
|
-
i = col * rows + row
|
|
1938
|
-
if i < len(items):
|
|
1939
|
-
self.output.write(items[i])
|
|
1940
|
-
if col < columns - 1:
|
|
1941
|
-
self.output.write(' ' + ' ' * (colw - 1 - len(items[i])))
|
|
1942
|
-
self.output.write('\n')
|
|
1943
|
-
|
|
1944
|
-
def listkeywords(self):
|
|
1945
|
-
self.output.write('''
|
|
1946
|
-
Here is a list of the Python keywords. Enter any keyword to get more help.
|
|
1947
|
-
|
|
1948
|
-
''')
|
|
1949
|
-
self.list(self.keywords.keys())
|
|
1950
|
-
|
|
1951
|
-
def listsymbols(self):
|
|
1952
|
-
self.output.write('''
|
|
1953
|
-
Here is a list of the punctuation symbols which Python assigns special meaning
|
|
1954
|
-
to. Enter any symbol to get more help.
|
|
1955
|
-
|
|
1956
|
-
''')
|
|
1957
|
-
self.list(self.symbols.keys())
|
|
1958
|
-
|
|
1959
|
-
def listtopics(self):
|
|
1960
|
-
self.output.write('''
|
|
1961
|
-
Here is a list of available topics. Enter any topic name to get more help.
|
|
1962
|
-
|
|
1963
|
-
''')
|
|
1964
|
-
self.list(self.topics.keys())
|
|
1965
|
-
|
|
1966
|
-
def showtopic(self, topic, more_xrefs=''):
|
|
1967
|
-
try:
|
|
1968
|
-
import pydoc_data.topics
|
|
1969
|
-
except ImportError:
|
|
1970
|
-
self.output.write('''
|
|
1971
|
-
Sorry, topic and keyword documentation is not available because the
|
|
1972
|
-
module "pydoc_data.topics" could not be found.
|
|
1973
|
-
''')
|
|
1974
|
-
return
|
|
1975
|
-
target = self.topics.get(topic, self.keywords.get(topic))
|
|
1976
|
-
if not target:
|
|
1977
|
-
self.output.write('no documentation found for %s\n' % repr(topic))
|
|
1978
|
-
return
|
|
1979
|
-
if type(target) is type(''):
|
|
1980
|
-
return self.showtopic(target, more_xrefs)
|
|
1981
|
-
|
|
1982
|
-
label, xrefs = target
|
|
1983
|
-
try:
|
|
1984
|
-
doc = pydoc_data.topics.topics[label]
|
|
1985
|
-
except KeyError:
|
|
1986
|
-
self.output.write('no documentation found for %s\n' % repr(topic))
|
|
1987
|
-
return
|
|
1988
|
-
pager(doc.strip() + '\n')
|
|
1989
|
-
if more_xrefs:
|
|
1990
|
-
xrefs = (xrefs or '') + ' ' + more_xrefs
|
|
1991
|
-
if xrefs:
|
|
1992
|
-
import textwrap
|
|
1993
|
-
text = 'Related help topics: ' + ', '.join(xrefs.split()) + '\n'
|
|
1994
|
-
wrapped_text = textwrap.wrap(text, 72)
|
|
1995
|
-
self.output.write('\n%s\n' % ''.join(wrapped_text))
|
|
1996
|
-
|
|
1997
|
-
def _gettopic(self, topic, more_xrefs=''):
|
|
1998
|
-
"""Return unbuffered tuple of (topic, xrefs).
|
|
1999
|
-
|
|
2000
|
-
If an error occurs here, the exception is caught and displayed by
|
|
2001
|
-
the url handler.
|
|
2002
|
-
|
|
2003
|
-
This function duplicates the showtopic method but returns its
|
|
2004
|
-
result directly so it can be formatted for display in an html page.
|
|
2005
|
-
"""
|
|
2006
|
-
try:
|
|
2007
|
-
import pydoc_data.topics
|
|
2008
|
-
except ImportError:
|
|
2009
|
-
return('''
|
|
2010
|
-
Sorry, topic and keyword documentation is not available because the
|
|
2011
|
-
module "pydoc_data.topics" could not be found.
|
|
2012
|
-
''' , '')
|
|
2013
|
-
target = self.topics.get(topic, self.keywords.get(topic))
|
|
2014
|
-
if not target:
|
|
2015
|
-
raise ValueError('could not find topic')
|
|
2016
|
-
if isinstance(target, str):
|
|
2017
|
-
return self._gettopic(target, more_xrefs)
|
|
2018
|
-
label, xrefs = target
|
|
2019
|
-
doc = pydoc_data.topics.topics[label]
|
|
2020
|
-
if more_xrefs:
|
|
2021
|
-
xrefs = (xrefs or '') + ' ' + more_xrefs
|
|
2022
|
-
return doc, xrefs
|
|
2023
|
-
|
|
2024
|
-
def showsymbol(self, symbol):
|
|
2025
|
-
target = self.symbols[symbol]
|
|
2026
|
-
topic, _, xrefs = target.partition(' ')
|
|
2027
|
-
self.showtopic(topic, xrefs)
|
|
2028
|
-
|
|
2029
|
-
def listmodules(self, key=''):
|
|
2030
|
-
if key:
|
|
2031
|
-
self.output.write('''
|
|
2032
|
-
Here is a list of modules whose name or summary contains '{}'.
|
|
2033
|
-
If there are any, enter a module name to get more help.
|
|
2034
|
-
|
|
2035
|
-
'''.format(key))
|
|
2036
|
-
apropos(key)
|
|
2037
|
-
else:
|
|
2038
|
-
self.output.write('''
|
|
2039
|
-
Please wait a moment while I gather a list of all available modules...
|
|
2040
|
-
|
|
2041
|
-
''')
|
|
2042
|
-
modules = {}
|
|
2043
|
-
def callback(path, modname, desc, modules=modules):
|
|
2044
|
-
if modname and modname[-9:] == '.__init__':
|
|
2045
|
-
modname = modname[:-9] + ' (package)'
|
|
2046
|
-
if modname.find('.') < 0:
|
|
2047
|
-
modules[modname] = 1
|
|
2048
|
-
def onerror(modname):
|
|
2049
|
-
callback(None, modname, None)
|
|
2050
|
-
ModuleScanner().run(callback, onerror=onerror)
|
|
2051
|
-
self.list(modules.keys())
|
|
2052
|
-
self.output.write('''
|
|
2053
|
-
Enter any module name to get more help. Or, type "modules spam" to search
|
|
2054
|
-
for modules whose name or summary contain the string "spam".
|
|
2055
|
-
''')
|
|
2056
|
-
|
|
2057
|
-
help = Helper()
|
|
2058
|
-
|
|
2059
|
-
class ModuleScanner:
|
|
2060
|
-
"""An interruptible scanner that searches module synopses."""
|
|
2061
|
-
|
|
2062
|
-
def run(self, callback, key=None, completer=None, onerror=None):
|
|
2063
|
-
if key: key = key.lower()
|
|
2064
|
-
self.quit = False
|
|
2065
|
-
seen = {}
|
|
2066
|
-
|
|
2067
|
-
for modname in sys.builtin_module_names:
|
|
2068
|
-
if modname != '__main__':
|
|
2069
|
-
seen[modname] = 1
|
|
2070
|
-
if key is None:
|
|
2071
|
-
callback(None, modname, '')
|
|
2072
|
-
else:
|
|
2073
|
-
name = __import__(modname).__doc__ or ''
|
|
2074
|
-
desc = name.split('\n')[0]
|
|
2075
|
-
name = modname + ' - ' + desc
|
|
2076
|
-
if name.lower().find(key) >= 0:
|
|
2077
|
-
callback(None, modname, desc)
|
|
2078
|
-
|
|
2079
|
-
for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror):
|
|
2080
|
-
if self.quit:
|
|
2081
|
-
break
|
|
2082
|
-
|
|
2083
|
-
if key is None:
|
|
2084
|
-
callback(None, modname, '')
|
|
2085
|
-
else:
|
|
2086
|
-
try:
|
|
2087
|
-
spec = pkgutil._get_spec(importer, modname)
|
|
2088
|
-
except SyntaxError:
|
|
2089
|
-
# raised by tests for bad coding cookies or BOM
|
|
2090
|
-
continue
|
|
2091
|
-
loader = spec.loader
|
|
2092
|
-
if hasattr(loader, 'get_source'):
|
|
2093
|
-
try:
|
|
2094
|
-
source = loader.get_source(modname)
|
|
2095
|
-
except Exception:
|
|
2096
|
-
if onerror:
|
|
2097
|
-
onerror(modname)
|
|
2098
|
-
continue
|
|
2099
|
-
desc = source_synopsis(io.StringIO(source)) or ''
|
|
2100
|
-
if hasattr(loader, 'get_filename'):
|
|
2101
|
-
path = loader.get_filename(modname)
|
|
2102
|
-
else:
|
|
2103
|
-
path = None
|
|
2104
|
-
else:
|
|
2105
|
-
try:
|
|
2106
|
-
module = importlib._bootstrap._load(spec)
|
|
2107
|
-
except ImportError:
|
|
2108
|
-
if onerror:
|
|
2109
|
-
onerror(modname)
|
|
2110
|
-
continue
|
|
2111
|
-
desc = module.__doc__.splitlines()[0] if module.__doc__ else ''
|
|
2112
|
-
path = getattr(module,'__file__',None)
|
|
2113
|
-
name = modname + ' - ' + desc
|
|
2114
|
-
if name.lower().find(key) >= 0:
|
|
2115
|
-
callback(path, modname, desc)
|
|
2116
|
-
|
|
2117
|
-
if completer:
|
|
2118
|
-
completer()
|
|
2119
|
-
|
|
2120
|
-
def apropos(key):
|
|
2121
|
-
"""Print all the one-line module summaries that contain a substring."""
|
|
2122
|
-
def callback(path, modname, desc):
|
|
2123
|
-
if modname[-9:] == '.__init__':
|
|
2124
|
-
modname = modname[:-9] + ' (package)'
|
|
2125
|
-
print(modname, desc and '- ' + desc)
|
|
2126
|
-
def onerror(modname):
|
|
2127
|
-
pass
|
|
2128
|
-
with warnings.catch_warnings():
|
|
2129
|
-
warnings.filterwarnings('ignore') # ignore problems during import
|
|
2130
|
-
ModuleScanner().run(callback, key, onerror=onerror)
|
|
2131
|
-
|
|
2132
|
-
# --------------------------------------- enhanced Web browser interface
|
|
2133
|
-
|
|
2134
|
-
def _start_server(urlhandler, port):
|
|
2135
|
-
"""Start an HTTP server thread on a specific port.
|
|
2136
|
-
|
|
2137
|
-
Start an HTML/text server thread, so HTML or text documents can be
|
|
2138
|
-
browsed dynamically and interactively with a Web browser. Example use:
|
|
2139
|
-
|
|
2140
|
-
>>> import time
|
|
2141
|
-
>>> import pydoc
|
|
2142
|
-
|
|
2143
|
-
Define a URL handler. To determine what the client is asking
|
|
2144
|
-
for, check the URL and content_type.
|
|
2145
|
-
|
|
2146
|
-
Then get or generate some text or HTML code and return it.
|
|
2147
|
-
|
|
2148
|
-
>>> def my_url_handler(url, content_type):
|
|
2149
|
-
... text = 'the URL sent was: (%s, %s)' % (url, content_type)
|
|
2150
|
-
... return text
|
|
2151
|
-
|
|
2152
|
-
Start server thread on port 0.
|
|
2153
|
-
If you use port 0, the server will pick a random port number.
|
|
2154
|
-
You can then use serverthread.port to get the port number.
|
|
2155
|
-
|
|
2156
|
-
>>> port = 0
|
|
2157
|
-
>>> serverthread = pydoc._start_server(my_url_handler, port)
|
|
2158
|
-
|
|
2159
|
-
Check that the server is really started. If it is, open browser
|
|
2160
|
-
and get first page. Use serverthread.url as the starting page.
|
|
2161
|
-
|
|
2162
|
-
>>> if serverthread.serving:
|
|
2163
|
-
... import webbrowser
|
|
2164
|
-
|
|
2165
|
-
The next two lines are commented out so a browser doesn't open if
|
|
2166
|
-
doctest is run on this module.
|
|
2167
|
-
|
|
2168
|
-
#... webbrowser.open(serverthread.url)
|
|
2169
|
-
#True
|
|
2170
|
-
|
|
2171
|
-
Let the server do its thing. We just need to monitor its status.
|
|
2172
|
-
Use time.sleep so the loop doesn't hog the CPU.
|
|
2173
|
-
|
|
2174
|
-
>>> starttime = time.time()
|
|
2175
|
-
>>> timeout = 1 #seconds
|
|
2176
|
-
|
|
2177
|
-
This is a short timeout for testing purposes.
|
|
2178
|
-
|
|
2179
|
-
>>> while serverthread.serving:
|
|
2180
|
-
... time.sleep(.01)
|
|
2181
|
-
... if serverthread.serving and time.time() - starttime > timeout:
|
|
2182
|
-
... serverthread.stop()
|
|
2183
|
-
... break
|
|
2184
|
-
|
|
2185
|
-
Print any errors that may have occurred.
|
|
2186
|
-
|
|
2187
|
-
>>> print(serverthread.error)
|
|
2188
|
-
None
|
|
2189
|
-
"""
|
|
2190
|
-
import http.server
|
|
2191
|
-
import email.message
|
|
2192
|
-
import select
|
|
2193
|
-
import threading
|
|
2194
|
-
|
|
2195
|
-
class DocHandler(http.server.BaseHTTPRequestHandler):
|
|
2196
|
-
|
|
2197
|
-
def do_GET(self):
|
|
2198
|
-
"""Process a request from an HTML browser.
|
|
2199
|
-
|
|
2200
|
-
The URL received is in self.path.
|
|
2201
|
-
Get an HTML page from self.urlhandler and send it.
|
|
2202
|
-
"""
|
|
2203
|
-
if self.path.endswith('.css'):
|
|
2204
|
-
content_type = 'text/css'
|
|
2205
|
-
else:
|
|
2206
|
-
content_type = 'text/html'
|
|
2207
|
-
self.send_response(200)
|
|
2208
|
-
self.send_header('Content-Type', '%s; charset=UTF-8' % content_type)
|
|
2209
|
-
self.end_headers()
|
|
2210
|
-
self.wfile.write(self.urlhandler(
|
|
2211
|
-
self.path, content_type).encode('utf-8'))
|
|
2212
|
-
|
|
2213
|
-
def log_message(self, *args):
|
|
2214
|
-
# Don't log messages.
|
|
2215
|
-
pass
|
|
2216
|
-
|
|
2217
|
-
class DocServer(http.server.HTTPServer):
|
|
2218
|
-
|
|
2219
|
-
def __init__(self, port, callback):
|
|
2220
|
-
self.host = 'localhost'
|
|
2221
|
-
self.address = (self.host, port)
|
|
2222
|
-
self.callback = callback
|
|
2223
|
-
self.base.__init__(self, self.address, self.handler)
|
|
2224
|
-
self.quit = False
|
|
2225
|
-
|
|
2226
|
-
def serve_until_quit(self):
|
|
2227
|
-
while not self.quit:
|
|
2228
|
-
rd, wr, ex = select.select([self.socket.fileno()], [], [], 1)
|
|
2229
|
-
if rd:
|
|
2230
|
-
self.handle_request()
|
|
2231
|
-
self.server_close()
|
|
2232
|
-
|
|
2233
|
-
def server_activate(self):
|
|
2234
|
-
self.base.server_activate(self)
|
|
2235
|
-
if self.callback:
|
|
2236
|
-
self.callback(self)
|
|
2237
|
-
|
|
2238
|
-
class ServerThread(threading.Thread):
|
|
2239
|
-
|
|
2240
|
-
def __init__(self, urlhandler, port):
|
|
2241
|
-
self.urlhandler = urlhandler
|
|
2242
|
-
self.port = int(port)
|
|
2243
|
-
threading.Thread.__init__(self)
|
|
2244
|
-
self.serving = False
|
|
2245
|
-
self.error = None
|
|
2246
|
-
|
|
2247
|
-
def run(self):
|
|
2248
|
-
"""Start the server."""
|
|
2249
|
-
try:
|
|
2250
|
-
DocServer.base = http.server.HTTPServer
|
|
2251
|
-
DocServer.handler = DocHandler
|
|
2252
|
-
DocHandler.MessageClass = email.message.Message
|
|
2253
|
-
DocHandler.urlhandler = staticmethod(self.urlhandler)
|
|
2254
|
-
docsvr = DocServer(self.port, self.ready)
|
|
2255
|
-
self.docserver = docsvr
|
|
2256
|
-
docsvr.serve_until_quit()
|
|
2257
|
-
except Exception as e:
|
|
2258
|
-
self.error = e
|
|
2259
|
-
|
|
2260
|
-
def ready(self, server):
|
|
2261
|
-
self.serving = True
|
|
2262
|
-
self.host = server.host
|
|
2263
|
-
self.port = server.server_port
|
|
2264
|
-
self.url = 'http://%s:%d/' % (self.host, self.port)
|
|
2265
|
-
|
|
2266
|
-
def stop(self):
|
|
2267
|
-
"""Stop the server and this thread nicely"""
|
|
2268
|
-
self.docserver.quit = True
|
|
2269
|
-
self.serving = False
|
|
2270
|
-
self.url = None
|
|
2271
|
-
|
|
2272
|
-
thread = ServerThread(urlhandler, port)
|
|
2273
|
-
thread.start()
|
|
2274
|
-
# Wait until thread.serving is True to make sure we are
|
|
2275
|
-
# really up before returning.
|
|
2276
|
-
while not thread.error and not thread.serving:
|
|
2277
|
-
time.sleep(.01)
|
|
2278
|
-
return thread
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
def _url_handler(url, content_type="text/html"):
|
|
2282
|
-
"""The pydoc url handler for use with the pydoc server.
|
|
2283
|
-
|
|
2284
|
-
If the content_type is 'text/css', the _pydoc.css style
|
|
2285
|
-
sheet is read and returned if it exits.
|
|
2286
|
-
|
|
2287
|
-
If the content_type is 'text/html', then the result of
|
|
2288
|
-
get_html_page(url) is returned.
|
|
2289
|
-
"""
|
|
2290
|
-
class _HTMLDoc(HTMLDoc):
|
|
2291
|
-
|
|
2292
|
-
def page(self, title, contents):
|
|
2293
|
-
"""Format an HTML page."""
|
|
2294
|
-
css_path = "pydoc_data/_pydoc.css"
|
|
2295
|
-
css_link = (
|
|
2296
|
-
'<link rel="stylesheet" type="text/css" href="%s">' %
|
|
2297
|
-
css_path)
|
|
2298
|
-
return '''\
|
|
2299
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
2300
|
-
<html><head><title>Pydoc: %s</title>
|
|
2301
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
2302
|
-
%s</head><body bgcolor="#f0f0f8">%s<div style="clear:both;padding-top:.5em;">%s</div>
|
|
2303
|
-
</body></html>''' % (title, css_link, html_navbar(), contents)
|
|
2304
|
-
|
|
2305
|
-
def filelink(self, url, path):
|
|
2306
|
-
return '<a href="getfile?key=%s">%s</a>' % (url, path)
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
html = _HTMLDoc()
|
|
2310
|
-
|
|
2311
|
-
def html_navbar():
|
|
2312
|
-
version = html.escape("%s [%s, %s]" % (platform.python_version(),
|
|
2313
|
-
platform.python_build()[0],
|
|
2314
|
-
platform.python_compiler()))
|
|
2315
|
-
return """
|
|
2316
|
-
<div style='float:left'>
|
|
2317
|
-
Python %s<br>%s
|
|
2318
|
-
</div>
|
|
2319
|
-
<div style='float:right'>
|
|
2320
|
-
<div style='text-align:center'>
|
|
2321
|
-
<a href="index.html">Module Index</a>
|
|
2322
|
-
: <a href="topics.html">Topics</a>
|
|
2323
|
-
: <a href="keywords.html">Keywords</a>
|
|
2324
|
-
</div>
|
|
2325
|
-
<div>
|
|
2326
|
-
<form action="get" style='display:inline;'>
|
|
2327
|
-
<input type=text name=key size=15>
|
|
2328
|
-
<input type=submit value="Get">
|
|
2329
|
-
</form>
|
|
2330
|
-
<form action="search" style='display:inline;'>
|
|
2331
|
-
<input type=text name=key size=15>
|
|
2332
|
-
<input type=submit value="Search">
|
|
2333
|
-
</form>
|
|
2334
|
-
</div>
|
|
2335
|
-
</div>
|
|
2336
|
-
""" % (version, html.escape(platform.platform(terse=True)))
|
|
2337
|
-
|
|
2338
|
-
def html_index():
|
|
2339
|
-
"""Module Index page."""
|
|
2340
|
-
|
|
2341
|
-
def bltinlink(name):
|
|
2342
|
-
return '<a href="%s.html">%s</a>' % (name, name)
|
|
2343
|
-
|
|
2344
|
-
heading = html.heading(
|
|
2345
|
-
'<big><big><strong>Index of Modules</strong></big></big>',
|
|
2346
|
-
'#ffffff', '#7799ee')
|
|
2347
|
-
names = [name for name in sys.builtin_module_names
|
|
2348
|
-
if name != '__main__']
|
|
2349
|
-
contents = html.multicolumn(names, bltinlink)
|
|
2350
|
-
contents = [heading, '<p>' + html.bigsection(
|
|
2351
|
-
'Built-in Modules', '#ffffff', '#ee77aa', contents)]
|
|
2352
|
-
|
|
2353
|
-
seen = {}
|
|
2354
|
-
for dir in sys.path:
|
|
2355
|
-
contents.append(html.index(dir, seen))
|
|
2356
|
-
|
|
2357
|
-
contents.append(
|
|
2358
|
-
'<p align=right><font color="#909090" face="helvetica,'
|
|
2359
|
-
'arial"><strong>pydoc</strong> by Ka-Ping Yee'
|
|
2360
|
-
'<ping@lfw.org></font>')
|
|
2361
|
-
return 'Index of Modules', ''.join(contents)
|
|
2362
|
-
|
|
2363
|
-
def html_search(key):
|
|
2364
|
-
"""Search results page."""
|
|
2365
|
-
# scan for modules
|
|
2366
|
-
search_result = []
|
|
2367
|
-
|
|
2368
|
-
def callback(path, modname, desc):
|
|
2369
|
-
if modname[-9:] == '.__init__':
|
|
2370
|
-
modname = modname[:-9] + ' (package)'
|
|
2371
|
-
search_result.append((modname, desc and '- ' + desc))
|
|
2372
|
-
|
|
2373
|
-
with warnings.catch_warnings():
|
|
2374
|
-
warnings.filterwarnings('ignore') # ignore problems during import
|
|
2375
|
-
def onerror(modname):
|
|
2376
|
-
pass
|
|
2377
|
-
ModuleScanner().run(callback, key, onerror=onerror)
|
|
2378
|
-
|
|
2379
|
-
# format page
|
|
2380
|
-
def bltinlink(name):
|
|
2381
|
-
return '<a href="%s.html">%s</a>' % (name, name)
|
|
2382
|
-
|
|
2383
|
-
results = []
|
|
2384
|
-
heading = html.heading(
|
|
2385
|
-
'<big><big><strong>Search Results</strong></big></big>',
|
|
2386
|
-
'#ffffff', '#7799ee')
|
|
2387
|
-
for name, desc in search_result:
|
|
2388
|
-
results.append(bltinlink(name) + desc)
|
|
2389
|
-
contents = heading + html.bigsection(
|
|
2390
|
-
'key = %s' % key, '#ffffff', '#ee77aa', '<br>'.join(results))
|
|
2391
|
-
return 'Search Results', contents
|
|
2392
|
-
|
|
2393
|
-
def html_getfile(path):
|
|
2394
|
-
"""Get and display a source file listing safely."""
|
|
2395
|
-
path = urllib.parse.unquote(path)
|
|
2396
|
-
with tokenize.open(path) as fp:
|
|
2397
|
-
lines = html.escape(fp.read())
|
|
2398
|
-
body = '<pre>%s</pre>' % lines
|
|
2399
|
-
heading = html.heading(
|
|
2400
|
-
'<big><big><strong>File Listing</strong></big></big>',
|
|
2401
|
-
'#ffffff', '#7799ee')
|
|
2402
|
-
contents = heading + html.bigsection(
|
|
2403
|
-
'File: %s' % path, '#ffffff', '#ee77aa', body)
|
|
2404
|
-
return 'getfile %s' % path, contents
|
|
2405
|
-
|
|
2406
|
-
def html_topics():
|
|
2407
|
-
"""Index of topic texts available."""
|
|
2408
|
-
|
|
2409
|
-
def bltinlink(name):
|
|
2410
|
-
return '<a href="topic?key=%s">%s</a>' % (name, name)
|
|
2411
|
-
|
|
2412
|
-
heading = html.heading(
|
|
2413
|
-
'<big><big><strong>INDEX</strong></big></big>',
|
|
2414
|
-
'#ffffff', '#7799ee')
|
|
2415
|
-
names = sorted(Helper.topics.keys())
|
|
2416
|
-
|
|
2417
|
-
contents = html.multicolumn(names, bltinlink)
|
|
2418
|
-
contents = heading + html.bigsection(
|
|
2419
|
-
'Topics', '#ffffff', '#ee77aa', contents)
|
|
2420
|
-
return 'Topics', contents
|
|
2421
|
-
|
|
2422
|
-
def html_keywords():
|
|
2423
|
-
"""Index of keywords."""
|
|
2424
|
-
heading = html.heading(
|
|
2425
|
-
'<big><big><strong>INDEX</strong></big></big>',
|
|
2426
|
-
'#ffffff', '#7799ee')
|
|
2427
|
-
names = sorted(Helper.keywords.keys())
|
|
2428
|
-
|
|
2429
|
-
def bltinlink(name):
|
|
2430
|
-
return '<a href="topic?key=%s">%s</a>' % (name, name)
|
|
2431
|
-
|
|
2432
|
-
contents = html.multicolumn(names, bltinlink)
|
|
2433
|
-
contents = heading + html.bigsection(
|
|
2434
|
-
'Keywords', '#ffffff', '#ee77aa', contents)
|
|
2435
|
-
return 'Keywords', contents
|
|
2436
|
-
|
|
2437
|
-
def html_topicpage(topic):
|
|
2438
|
-
"""Topic or keyword help page."""
|
|
2439
|
-
buf = io.StringIO()
|
|
2440
|
-
htmlhelp = Helper(buf, buf)
|
|
2441
|
-
contents, xrefs = htmlhelp._gettopic(topic)
|
|
2442
|
-
if topic in htmlhelp.keywords:
|
|
2443
|
-
title = 'KEYWORD'
|
|
2444
|
-
else:
|
|
2445
|
-
title = 'TOPIC'
|
|
2446
|
-
heading = html.heading(
|
|
2447
|
-
'<big><big><strong>%s</strong></big></big>' % title,
|
|
2448
|
-
'#ffffff', '#7799ee')
|
|
2449
|
-
contents = '<pre>%s</pre>' % html.markup(contents)
|
|
2450
|
-
contents = html.bigsection(topic , '#ffffff','#ee77aa', contents)
|
|
2451
|
-
if xrefs:
|
|
2452
|
-
xrefs = sorted(xrefs.split())
|
|
2453
|
-
|
|
2454
|
-
def bltinlink(name):
|
|
2455
|
-
return '<a href="topic?key=%s">%s</a>' % (name, name)
|
|
2456
|
-
|
|
2457
|
-
xrefs = html.multicolumn(xrefs, bltinlink)
|
|
2458
|
-
xrefs = html.section('Related help topics: ',
|
|
2459
|
-
'#ffffff', '#ee77aa', xrefs)
|
|
2460
|
-
return ('%s %s' % (title, topic),
|
|
2461
|
-
''.join((heading, contents, xrefs)))
|
|
2462
|
-
|
|
2463
|
-
def html_getobj(url):
|
|
2464
|
-
obj = locate(url, forceload=1)
|
|
2465
|
-
if obj is None and url != 'None':
|
|
2466
|
-
raise ValueError('could not find object')
|
|
2467
|
-
title = describe(obj)
|
|
2468
|
-
content = html.document(obj, url)
|
|
2469
|
-
return title, content
|
|
2470
|
-
|
|
2471
|
-
def html_error(url, exc):
|
|
2472
|
-
heading = html.heading(
|
|
2473
|
-
'<big><big><strong>Error</strong></big></big>',
|
|
2474
|
-
'#ffffff', '#7799ee')
|
|
2475
|
-
contents = '<br>'.join(html.escape(line) for line in
|
|
2476
|
-
format_exception_only(type(exc), exc))
|
|
2477
|
-
contents = heading + html.bigsection(url, '#ffffff', '#bb0000',
|
|
2478
|
-
contents)
|
|
2479
|
-
return "Error - %s" % url, contents
|
|
2480
|
-
|
|
2481
|
-
def get_html_page(url):
|
|
2482
|
-
"""Generate an HTML page for url."""
|
|
2483
|
-
complete_url = url
|
|
2484
|
-
if url.endswith('.html'):
|
|
2485
|
-
url = url[:-5]
|
|
2486
|
-
try:
|
|
2487
|
-
if url in ("", "index"):
|
|
2488
|
-
title, content = html_index()
|
|
2489
|
-
elif url == "topics":
|
|
2490
|
-
title, content = html_topics()
|
|
2491
|
-
elif url == "keywords":
|
|
2492
|
-
title, content = html_keywords()
|
|
2493
|
-
elif '=' in url:
|
|
2494
|
-
op, _, url = url.partition('=')
|
|
2495
|
-
if op == "search?key":
|
|
2496
|
-
title, content = html_search(url)
|
|
2497
|
-
elif op == "getfile?key":
|
|
2498
|
-
title, content = html_getfile(url)
|
|
2499
|
-
elif op == "topic?key":
|
|
2500
|
-
# try topics first, then objects.
|
|
2501
|
-
try:
|
|
2502
|
-
title, content = html_topicpage(url)
|
|
2503
|
-
except ValueError:
|
|
2504
|
-
title, content = html_getobj(url)
|
|
2505
|
-
elif op == "get?key":
|
|
2506
|
-
# try objects first, then topics.
|
|
2507
|
-
if url in ("", "index"):
|
|
2508
|
-
title, content = html_index()
|
|
2509
|
-
else:
|
|
2510
|
-
try:
|
|
2511
|
-
title, content = html_getobj(url)
|
|
2512
|
-
except ValueError:
|
|
2513
|
-
title, content = html_topicpage(url)
|
|
2514
|
-
else:
|
|
2515
|
-
raise ValueError('bad pydoc url')
|
|
2516
|
-
else:
|
|
2517
|
-
title, content = html_getobj(url)
|
|
2518
|
-
except Exception as exc:
|
|
2519
|
-
# Catch any errors and display them in an error page.
|
|
2520
|
-
title, content = html_error(complete_url, exc)
|
|
2521
|
-
return html.page(title, content)
|
|
2522
|
-
|
|
2523
|
-
if url.startswith('/'):
|
|
2524
|
-
url = url[1:]
|
|
2525
|
-
if content_type == 'text/css':
|
|
2526
|
-
path_here = os.path.dirname(os.path.realpath(__file__))
|
|
2527
|
-
css_path = os.path.join(path_here, url)
|
|
2528
|
-
with open(css_path) as fp:
|
|
2529
|
-
return ''.join(fp.readlines())
|
|
2530
|
-
elif content_type == 'text/html':
|
|
2531
|
-
return get_html_page(url)
|
|
2532
|
-
# Errors outside the url handler are caught by the server.
|
|
2533
|
-
raise TypeError('unknown content type %r for url %s' % (content_type, url))
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
def browse(port=0, *, open_browser=True):
|
|
2537
|
-
"""Start the enhanced pydoc Web server and open a Web browser.
|
|
2538
|
-
|
|
2539
|
-
Use port '0' to start the server on an arbitrary port.
|
|
2540
|
-
Set open_browser to False to suppress opening a browser.
|
|
2541
|
-
"""
|
|
2542
|
-
import webbrowser
|
|
2543
|
-
serverthread = _start_server(_url_handler, port)
|
|
2544
|
-
if serverthread.error:
|
|
2545
|
-
print(serverthread.error)
|
|
2546
|
-
return
|
|
2547
|
-
if serverthread.serving:
|
|
2548
|
-
server_help_msg = 'Server commands: [b]rowser, [q]uit'
|
|
2549
|
-
if open_browser:
|
|
2550
|
-
webbrowser.open(serverthread.url)
|
|
2551
|
-
try:
|
|
2552
|
-
print('Server ready at', serverthread.url)
|
|
2553
|
-
print(server_help_msg)
|
|
2554
|
-
while serverthread.serving:
|
|
2555
|
-
cmd = input('server> ')
|
|
2556
|
-
cmd = cmd.lower()
|
|
2557
|
-
if cmd == 'q':
|
|
2558
|
-
break
|
|
2559
|
-
elif cmd == 'b':
|
|
2560
|
-
webbrowser.open(serverthread.url)
|
|
2561
|
-
else:
|
|
2562
|
-
print(server_help_msg)
|
|
2563
|
-
except (KeyboardInterrupt, EOFError):
|
|
2564
|
-
print()
|
|
2565
|
-
finally:
|
|
2566
|
-
if serverthread.serving:
|
|
2567
|
-
serverthread.stop()
|
|
2568
|
-
print('Server stopped')
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
# -------------------------------------------------- command-line interface
|
|
2572
|
-
|
|
2573
|
-
def ispath(x):
|
|
2574
|
-
return isinstance(x, str) and x.find(os.sep) >= 0
|
|
2575
|
-
|
|
2576
|
-
def cli():
|
|
2577
|
-
"""Command-line interface (looks at sys.argv to decide what to do)."""
|
|
2578
|
-
import getopt
|
|
2579
|
-
class BadUsage(Exception): pass
|
|
2580
|
-
|
|
2581
|
-
# Scripts don't get the current directory in their path by default
|
|
2582
|
-
# unless they are run with the '-m' switch
|
|
2583
|
-
if '' not in sys.path:
|
|
2584
|
-
scriptdir = os.path.dirname(sys.argv[0])
|
|
2585
|
-
if scriptdir in sys.path:
|
|
2586
|
-
sys.path.remove(scriptdir)
|
|
2587
|
-
sys.path.insert(0, '.')
|
|
2588
|
-
|
|
2589
|
-
try:
|
|
2590
|
-
opts, args = getopt.getopt(sys.argv[1:], 'bk:p:w')
|
|
2591
|
-
writing = False
|
|
2592
|
-
start_server = False
|
|
2593
|
-
open_browser = False
|
|
2594
|
-
port = None
|
|
2595
|
-
for opt, val in opts:
|
|
2596
|
-
if opt == '-b':
|
|
2597
|
-
start_server = True
|
|
2598
|
-
open_browser = True
|
|
2599
|
-
if opt == '-k':
|
|
2600
|
-
apropos(val)
|
|
2601
|
-
return
|
|
2602
|
-
if opt == '-p':
|
|
2603
|
-
start_server = True
|
|
2604
|
-
port = val
|
|
2605
|
-
if opt == '-w':
|
|
2606
|
-
writing = True
|
|
2607
|
-
|
|
2608
|
-
if start_server:
|
|
2609
|
-
if port is None:
|
|
2610
|
-
port = 0
|
|
2611
|
-
browse(port, open_browser=open_browser)
|
|
2612
|
-
return
|
|
2613
|
-
|
|
2614
|
-
if not args: raise BadUsage
|
|
2615
|
-
for arg in args:
|
|
2616
|
-
if ispath(arg) and not os.path.exists(arg):
|
|
2617
|
-
print('file %r does not exist' % arg)
|
|
2618
|
-
break
|
|
2619
|
-
try:
|
|
2620
|
-
if ispath(arg) and os.path.isfile(arg):
|
|
2621
|
-
arg = importfile(arg)
|
|
2622
|
-
if writing:
|
|
2623
|
-
if ispath(arg) and os.path.isdir(arg):
|
|
2624
|
-
writedocs(arg)
|
|
2625
|
-
else:
|
|
2626
|
-
writedoc(arg)
|
|
2627
|
-
else:
|
|
2628
|
-
help.help(arg)
|
|
2629
|
-
except ErrorDuringImport as value:
|
|
2630
|
-
print(value)
|
|
2631
|
-
|
|
2632
|
-
except (getopt.error, BadUsage):
|
|
2633
|
-
cmd = os.path.splitext(os.path.basename(sys.argv[0]))[0]
|
|
2634
|
-
print("""pydoc - the Python documentation tool
|
|
2635
|
-
|
|
2636
|
-
{cmd} <name> ...
|
|
2637
|
-
Show text documentation on something. <name> may be the name of a
|
|
2638
|
-
Python keyword, topic, function, module, or package, or a dotted
|
|
2639
|
-
reference to a class or function within a module or module in a
|
|
2640
|
-
package. If <name> contains a '{sep}', it is used as the path to a
|
|
2641
|
-
Python source file to document. If name is 'keywords', 'topics',
|
|
2642
|
-
or 'modules', a listing of these things is displayed.
|
|
2643
|
-
|
|
2644
|
-
{cmd} -k <keyword>
|
|
2645
|
-
Search for a keyword in the synopsis lines of all available modules.
|
|
2646
|
-
|
|
2647
|
-
{cmd} -p <port>
|
|
2648
|
-
Start an HTTP server on the given port on the local machine. Port
|
|
2649
|
-
number 0 can be used to get an arbitrary unused port.
|
|
2650
|
-
|
|
2651
|
-
{cmd} -b
|
|
2652
|
-
Start an HTTP server on an arbitrary unused port and open a Web browser
|
|
2653
|
-
to interactively browse documentation. The -p option can be used with
|
|
2654
|
-
the -b option to explicitly specify the server port.
|
|
2655
|
-
|
|
2656
|
-
{cmd} -w <name> ...
|
|
2657
|
-
Write out the HTML documentation for a module to a file in the current
|
|
2658
|
-
directory. If <name> contains a '{sep}', it is treated as a filename; if
|
|
2659
|
-
it names a directory, documentation is written for all the contents.
|
|
2660
|
-
""".format(cmd=cmd, sep=os.sep))
|
|
2661
|
-
|
|
2662
|
-
if __name__ == '__main__':
|
|
2663
|
-
cli()
|