com.googler.python 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2648) hide show
  1. package/package.json +1 -1
  2. package/python3.6.2/lib/libcrypto.so.1.0.0 +0 -0
  3. package/python3.6.2/lib/libformw.so.5 +0 -0
  4. package/python3.6.2/lib/libformw.so.5.9 +0 -0
  5. package/python3.6.2/lib/libhistory.so.6 +0 -0
  6. package/python3.6.2/lib/libhistory.so.6.3 +0 -0
  7. package/python3.6.2/lib/libmenuw.so.5 +0 -0
  8. package/python3.6.2/lib/libmenuw.so.5.9 +0 -0
  9. package/python3.6.2/lib/libncursesw.so.5 +0 -0
  10. package/python3.6.2/lib/libncursesw.so.5.9 +0 -0
  11. package/python3.6.2/lib/libpanelw.so.5 +0 -0
  12. package/python3.6.2/lib/libpanelw.so.5.9 +0 -0
  13. package/python3.6.2/lib/libpython3.6m.so.1.0 +0 -0
  14. package/python3.6.2/lib/libpython3.so +0 -0
  15. package/python3.6.2/lib/libreadline.so.6 +0 -0
  16. package/python3.6.2/lib/libreadline.so.6.3 +0 -0
  17. package/python3.6.2/lib/libssl.so.1.0.0 +0 -0
  18. package/python3.6.2/lib/libtinfow.so.5 +0 -0
  19. package/python3.6.2/lib/libtinfow.so.5.9 +0 -0
  20. package/python3.6.2/lib/python3.6/__future__.py +140 -0
  21. package/python3.6.2/lib/python3.6/__phello__.foo.py +1 -0
  22. package/python3.6.2/lib/python3.6/_bootlocale.py +34 -0
  23. package/python3.6.2/lib/python3.6/_collections_abc.py +1008 -0
  24. package/python3.6.2/lib/python3.6/_compat_pickle.py +251 -0
  25. package/python3.6.2/lib/python3.6/_compression.py +152 -0
  26. package/python3.6.2/lib/python3.6/_dummy_thread.py +163 -0
  27. package/python3.6.2/lib/python3.6/_markupbase.py +395 -0
  28. package/python3.6.2/lib/python3.6/_osx_support.py +502 -0
  29. package/python3.6.2/lib/python3.6/_pydecimal.py +6449 -0
  30. package/python3.6.2/lib/python3.6/_pyio.py +2531 -0
  31. package/python3.6.2/lib/python3.6/_sitebuiltins.py +103 -0
  32. package/python3.6.2/lib/python3.6/_strptime.py +576 -0
  33. package/python3.6.2/lib/python3.6/_threading_local.py +246 -0
  34. package/python3.6.2/lib/python3.6/_weakrefset.py +196 -0
  35. package/python3.6.2/lib/python3.6/abc.py +248 -0
  36. package/python3.6.2/lib/python3.6/aifc.py +943 -0
  37. package/python3.6.2/lib/python3.6/antigravity.py +17 -0
  38. package/python3.6.2/lib/python3.6/argparse.py +2389 -0
  39. package/python3.6.2/lib/python3.6/ast.py +322 -0
  40. package/python3.6.2/lib/python3.6/asynchat.py +307 -0
  41. package/python3.6.2/lib/python3.6/asyncio/__init__.py +50 -0
  42. package/python3.6.2/lib/python3.6/asyncio/base_events.py +1474 -0
  43. package/python3.6.2/lib/python3.6/asyncio/base_futures.py +71 -0
  44. package/python3.6.2/lib/python3.6/asyncio/base_subprocess.py +293 -0
  45. package/python3.6.2/lib/python3.6/asyncio/base_tasks.py +76 -0
  46. package/python3.6.2/lib/python3.6/asyncio/compat.py +18 -0
  47. package/python3.6.2/lib/python3.6/asyncio/constants.py +12 -0
  48. package/python3.6.2/lib/python3.6/asyncio/coroutines.py +346 -0
  49. package/python3.6.2/lib/python3.6/asyncio/events.py +715 -0
  50. package/python3.6.2/lib/python3.6/asyncio/futures.py +439 -0
  51. package/python3.6.2/lib/python3.6/asyncio/locks.py +485 -0
  52. package/python3.6.2/lib/python3.6/asyncio/log.py +7 -0
  53. package/python3.6.2/lib/python3.6/asyncio/proactor_events.py +551 -0
  54. package/python3.6.2/lib/python3.6/asyncio/protocols.py +134 -0
  55. package/python3.6.2/lib/python3.6/asyncio/queues.py +259 -0
  56. package/python3.6.2/lib/python3.6/asyncio/selector_events.py +1141 -0
  57. package/python3.6.2/lib/python3.6/asyncio/sslproto.py +697 -0
  58. package/python3.6.2/lib/python3.6/asyncio/streams.py +701 -0
  59. package/python3.6.2/lib/python3.6/asyncio/subprocess.py +226 -0
  60. package/python3.6.2/lib/python3.6/asyncio/tasks.py +717 -0
  61. package/python3.6.2/lib/python3.6/asyncio/test_utils.py +519 -0
  62. package/python3.6.2/lib/python3.6/asyncio/transports.py +306 -0
  63. package/python3.6.2/lib/python3.6/asyncio/unix_events.py +1074 -0
  64. package/python3.6.2/lib/python3.6/asyncio/windows_events.py +779 -0
  65. package/python3.6.2/lib/python3.6/asyncio/windows_utils.py +224 -0
  66. package/python3.6.2/lib/python3.6/asyncore.py +645 -0
  67. package/python3.6.2/lib/python3.6/base64.py +602 -0
  68. package/python3.6.2/lib/python3.6/bdb.py +673 -0
  69. package/python3.6.2/lib/python3.6/binhex.py +479 -0
  70. package/python3.6.2/lib/python3.6/bisect.py +92 -0
  71. package/python3.6.2/lib/python3.6/bz2.py +361 -0
  72. package/python3.6.2/lib/python3.6/cProfile.py +160 -0
  73. package/python3.6.2/lib/python3.6/calendar.py +713 -0
  74. package/python3.6.2/lib/python3.6/cgi.py +1077 -0
  75. package/python3.6.2/lib/python3.6/cgitb.py +319 -0
  76. package/python3.6.2/lib/python3.6/chunk.py +169 -0
  77. package/python3.6.2/lib/python3.6/cmd.py +401 -0
  78. package/python3.6.2/lib/python3.6/code.py +314 -0
  79. package/python3.6.2/lib/python3.6/codecs.py +1113 -0
  80. package/python3.6.2/lib/python3.6/codeop.py +168 -0
  81. package/python3.6.2/lib/python3.6/collections/__init__.py +1244 -0
  82. package/python3.6.2/lib/python3.6/collections/abc.py +2 -0
  83. package/python3.6.2/lib/python3.6/colorsys.py +164 -0
  84. package/python3.6.2/lib/python3.6/compileall.py +295 -0
  85. package/python3.6.2/lib/python3.6/concurrent/__init__.py +1 -0
  86. package/python3.6.2/lib/python3.6/concurrent/futures/__init__.py +18 -0
  87. package/python3.6.2/lib/python3.6/concurrent/futures/_base.py +612 -0
  88. package/python3.6.2/lib/python3.6/concurrent/futures/process.py +515 -0
  89. package/python3.6.2/lib/python3.6/concurrent/futures/thread.py +153 -0
  90. package/python3.6.2/lib/python3.6/configparser.py +1342 -0
  91. package/python3.6.2/lib/python3.6/contextlib.py +384 -0
  92. package/python3.6.2/lib/python3.6/copy.py +313 -0
  93. package/python3.6.2/lib/python3.6/copyreg.py +206 -0
  94. package/python3.6.2/lib/python3.6/crypt.py +61 -0
  95. package/python3.6.2/lib/python3.6/csv.py +449 -0
  96. package/python3.6.2/lib/python3.6/ctypes/__init__.py +538 -0
  97. package/python3.6.2/lib/python3.6/ctypes/_endian.py +61 -0
  98. package/python3.6.2/lib/python3.6/ctypes/macholib/__init__.py +9 -0
  99. package/python3.6.2/lib/python3.6/ctypes/macholib/dyld.py +159 -0
  100. package/python3.6.2/lib/python3.6/ctypes/macholib/dylib.py +63 -0
  101. package/python3.6.2/lib/python3.6/ctypes/macholib/framework.py +65 -0
  102. package/python3.6.2/lib/python3.6/ctypes/test/__init__.py +14 -0
  103. package/python3.6.2/lib/python3.6/ctypes/test/__main__.py +4 -0
  104. package/python3.6.2/lib/python3.6/ctypes/test/test_anon.py +73 -0
  105. package/python3.6.2/lib/python3.6/ctypes/test/test_array_in_pointer.py +64 -0
  106. package/python3.6.2/lib/python3.6/ctypes/test/test_arrays.py +185 -0
  107. package/python3.6.2/lib/python3.6/ctypes/test/test_as_parameter.py +226 -0
  108. package/python3.6.2/lib/python3.6/ctypes/test/test_bitfields.py +290 -0
  109. package/python3.6.2/lib/python3.6/ctypes/test/test_buffers.py +64 -0
  110. package/python3.6.2/lib/python3.6/ctypes/test/test_bytes.py +65 -0
  111. package/python3.6.2/lib/python3.6/ctypes/test/test_byteswap.py +315 -0
  112. package/python3.6.2/lib/python3.6/ctypes/test/test_callbacks.py +293 -0
  113. package/python3.6.2/lib/python3.6/ctypes/test/test_cast.py +86 -0
  114. package/python3.6.2/lib/python3.6/ctypes/test/test_cfuncs.py +212 -0
  115. package/python3.6.2/lib/python3.6/ctypes/test/test_checkretval.py +36 -0
  116. package/python3.6.2/lib/python3.6/ctypes/test/test_delattr.py +21 -0
  117. package/python3.6.2/lib/python3.6/ctypes/test/test_errno.py +79 -0
  118. package/python3.6.2/lib/python3.6/ctypes/test/test_find.py +116 -0
  119. package/python3.6.2/lib/python3.6/ctypes/test/test_frombuffer.py +141 -0
  120. package/python3.6.2/lib/python3.6/ctypes/test/test_funcptr.py +132 -0
  121. package/python3.6.2/lib/python3.6/ctypes/test/test_functions.py +402 -0
  122. package/python3.6.2/lib/python3.6/ctypes/test/test_incomplete.py +42 -0
  123. package/python3.6.2/lib/python3.6/ctypes/test/test_init.py +40 -0
  124. package/python3.6.2/lib/python3.6/ctypes/test/test_internals.py +100 -0
  125. package/python3.6.2/lib/python3.6/ctypes/test/test_keeprefs.py +153 -0
  126. package/python3.6.2/lib/python3.6/ctypes/test/test_libc.py +33 -0
  127. package/python3.6.2/lib/python3.6/ctypes/test/test_loading.py +116 -0
  128. package/python3.6.2/lib/python3.6/ctypes/test/test_macholib.py +63 -0
  129. package/python3.6.2/lib/python3.6/ctypes/test/test_memfunctions.py +79 -0
  130. package/python3.6.2/lib/python3.6/ctypes/test/test_numbers.py +290 -0
  131. package/python3.6.2/lib/python3.6/ctypes/test/test_objects.py +67 -0
  132. package/python3.6.2/lib/python3.6/ctypes/test/test_parameters.py +207 -0
  133. package/python3.6.2/lib/python3.6/ctypes/test/test_pep3118.py +233 -0
  134. package/python3.6.2/lib/python3.6/ctypes/test/test_pickling.py +81 -0
  135. package/python3.6.2/lib/python3.6/ctypes/test/test_pointers.py +223 -0
  136. package/python3.6.2/lib/python3.6/ctypes/test/test_prototypes.py +222 -0
  137. package/python3.6.2/lib/python3.6/ctypes/test/test_python_api.py +89 -0
  138. package/python3.6.2/lib/python3.6/ctypes/test/test_random_things.py +74 -0
  139. package/python3.6.2/lib/python3.6/ctypes/test/test_refcounts.py +101 -0
  140. package/python3.6.2/lib/python3.6/ctypes/test/test_repr.py +29 -0
  141. package/python3.6.2/lib/python3.6/ctypes/test/test_returnfuncptrs.py +66 -0
  142. package/python3.6.2/lib/python3.6/ctypes/test/test_simplesubclasses.py +55 -0
  143. package/python3.6.2/lib/python3.6/ctypes/test/test_sizes.py +33 -0
  144. package/python3.6.2/lib/python3.6/ctypes/test/test_slicing.py +167 -0
  145. package/python3.6.2/lib/python3.6/ctypes/test/test_stringptr.py +77 -0
  146. package/python3.6.2/lib/python3.6/ctypes/test/test_strings.py +225 -0
  147. package/python3.6.2/lib/python3.6/ctypes/test/test_struct_fields.py +74 -0
  148. package/python3.6.2/lib/python3.6/ctypes/test/test_structures.py +491 -0
  149. package/python3.6.2/lib/python3.6/ctypes/test/test_unaligned_structures.py +45 -0
  150. package/python3.6.2/lib/python3.6/ctypes/test/test_unicode.py +56 -0
  151. package/python3.6.2/lib/python3.6/ctypes/test/test_values.py +100 -0
  152. package/python3.6.2/lib/python3.6/ctypes/test/test_varsize_struct.py +50 -0
  153. package/python3.6.2/lib/python3.6/ctypes/test/test_win32.py +147 -0
  154. package/python3.6.2/lib/python3.6/ctypes/test/test_wintypes.py +41 -0
  155. package/python3.6.2/lib/python3.6/ctypes/util.py +337 -0
  156. package/python3.6.2/lib/python3.6/ctypes/wintypes.py +202 -0
  157. package/python3.6.2/lib/python3.6/curses/__init__.py +101 -0
  158. package/python3.6.2/lib/python3.6/curses/ascii.py +99 -0
  159. package/python3.6.2/lib/python3.6/curses/has_key.py +192 -0
  160. package/python3.6.2/lib/python3.6/curses/panel.py +6 -0
  161. package/python3.6.2/lib/python3.6/curses/textpad.py +201 -0
  162. package/python3.6.2/lib/python3.6/datetime.py +2280 -0
  163. package/python3.6.2/lib/python3.6/dbm/__init__.py +188 -0
  164. package/python3.6.2/lib/python3.6/dbm/dumb.py +324 -0
  165. package/python3.6.2/lib/python3.6/dbm/gnu.py +3 -0
  166. package/python3.6.2/lib/python3.6/dbm/ndbm.py +3 -0
  167. package/python3.6.2/lib/python3.6/decimal.py +11 -0
  168. package/python3.6.2/lib/python3.6/difflib.py +2093 -0
  169. package/python3.6.2/lib/python3.6/dis.py +490 -0
  170. package/python3.6.2/lib/python3.6/distutils/__init__.py +13 -0
  171. package/python3.6.2/lib/python3.6/distutils/_msvccompiler.py +574 -0
  172. package/python3.6.2/lib/python3.6/distutils/archive_util.py +248 -0
  173. package/python3.6.2/lib/python3.6/distutils/bcppcompiler.py +393 -0
  174. package/python3.6.2/lib/python3.6/distutils/ccompiler.py +1115 -0
  175. package/python3.6.2/lib/python3.6/distutils/cmd.py +434 -0
  176. package/python3.6.2/lib/python3.6/distutils/command/__init__.py +31 -0
  177. package/python3.6.2/lib/python3.6/distutils/command/bdist.py +143 -0
  178. package/python3.6.2/lib/python3.6/distutils/command/bdist_dumb.py +123 -0
  179. package/python3.6.2/lib/python3.6/distutils/command/bdist_msi.py +741 -0
  180. package/python3.6.2/lib/python3.6/distutils/command/bdist_rpm.py +582 -0
  181. package/python3.6.2/lib/python3.6/distutils/command/bdist_wininst.py +365 -0
  182. package/python3.6.2/lib/python3.6/distutils/command/build.py +157 -0
  183. package/python3.6.2/lib/python3.6/distutils/command/build_clib.py +209 -0
  184. package/python3.6.2/lib/python3.6/distutils/command/build_ext.py +755 -0
  185. package/python3.6.2/lib/python3.6/distutils/command/build_py.py +416 -0
  186. package/python3.6.2/lib/python3.6/distutils/command/build_scripts.py +160 -0
  187. package/python3.6.2/lib/python3.6/distutils/command/check.py +145 -0
  188. package/python3.6.2/lib/python3.6/distutils/command/clean.py +76 -0
  189. package/python3.6.2/lib/python3.6/distutils/command/config.py +347 -0
  190. package/python3.6.2/lib/python3.6/distutils/command/install.py +656 -0
  191. package/python3.6.2/lib/python3.6/distutils/command/install_data.py +79 -0
  192. package/python3.6.2/lib/python3.6/distutils/command/install_egg_info.py +77 -0
  193. package/python3.6.2/lib/python3.6/distutils/command/install_headers.py +47 -0
  194. package/python3.6.2/lib/python3.6/distutils/command/install_lib.py +217 -0
  195. package/python3.6.2/lib/python3.6/distutils/command/install_scripts.py +60 -0
  196. package/python3.6.2/lib/python3.6/distutils/command/register.py +304 -0
  197. package/python3.6.2/lib/python3.6/distutils/command/sdist.py +456 -0
  198. package/python3.6.2/lib/python3.6/distutils/command/upload.py +201 -0
  199. package/python3.6.2/lib/python3.6/distutils/command/wininst-10.0-amd64.exe +0 -0
  200. package/python3.6.2/lib/python3.6/distutils/command/wininst-10.0.exe +0 -0
  201. package/python3.6.2/lib/python3.6/distutils/command/wininst-14.0-amd64.exe +0 -0
  202. package/python3.6.2/lib/python3.6/distutils/command/wininst-14.0.exe +0 -0
  203. package/python3.6.2/lib/python3.6/distutils/command/wininst-6.0.exe +0 -0
  204. package/python3.6.2/lib/python3.6/distutils/command/wininst-7.1.exe +0 -0
  205. package/python3.6.2/lib/python3.6/distutils/command/wininst-8.0.exe +0 -0
  206. package/python3.6.2/lib/python3.6/distutils/command/wininst-9.0-amd64.exe +0 -0
  207. package/python3.6.2/lib/python3.6/distutils/command/wininst-9.0.exe +0 -0
  208. package/python3.6.2/lib/python3.6/distutils/config.py +131 -0
  209. package/python3.6.2/lib/python3.6/distutils/core.py +234 -0
  210. package/python3.6.2/lib/python3.6/distutils/cygwinccompiler.py +405 -0
  211. package/python3.6.2/lib/python3.6/distutils/debug.py +5 -0
  212. package/python3.6.2/lib/python3.6/distutils/dep_util.py +92 -0
  213. package/python3.6.2/lib/python3.6/distutils/dir_util.py +210 -0
  214. package/python3.6.2/lib/python3.6/distutils/dist.py +1236 -0
  215. package/python3.6.2/lib/python3.6/distutils/errors.py +97 -0
  216. package/python3.6.2/lib/python3.6/distutils/extension.py +240 -0
  217. package/python3.6.2/lib/python3.6/distutils/fancy_getopt.py +457 -0
  218. package/python3.6.2/lib/python3.6/distutils/file_util.py +238 -0
  219. package/python3.6.2/lib/python3.6/distutils/filelist.py +327 -0
  220. package/python3.6.2/lib/python3.6/distutils/log.py +75 -0
  221. package/python3.6.2/lib/python3.6/distutils/msvc9compiler.py +791 -0
  222. package/python3.6.2/lib/python3.6/distutils/msvccompiler.py +643 -0
  223. package/python3.6.2/lib/python3.6/distutils/spawn.py +192 -0
  224. package/python3.6.2/lib/python3.6/distutils/sysconfig.py +532 -0
  225. package/python3.6.2/lib/python3.6/distutils/tests/Setup.sample +67 -0
  226. package/python3.6.2/lib/python3.6/distutils/tests/__init__.py +36 -0
  227. package/python3.6.2/lib/python3.6/distutils/tests/support.py +210 -0
  228. package/python3.6.2/lib/python3.6/distutils/tests/test_archive_util.py +395 -0
  229. package/python3.6.2/lib/python3.6/distutils/tests/test_bdist.py +50 -0
  230. package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_dumb.py +97 -0
  231. package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_msi.py +25 -0
  232. package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_rpm.py +135 -0
  233. package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_wininst.py +31 -0
  234. package/python3.6.2/lib/python3.6/distutils/tests/test_build.py +56 -0
  235. package/python3.6.2/lib/python3.6/distutils/tests/test_build_clib.py +135 -0
  236. package/python3.6.2/lib/python3.6/distutils/tests/test_build_ext.py +521 -0
  237. package/python3.6.2/lib/python3.6/distutils/tests/test_build_py.py +179 -0
  238. package/python3.6.2/lib/python3.6/distutils/tests/test_build_scripts.py +112 -0
  239. package/python3.6.2/lib/python3.6/distutils/tests/test_check.py +149 -0
  240. package/python3.6.2/lib/python3.6/distutils/tests/test_clean.py +49 -0
  241. package/python3.6.2/lib/python3.6/distutils/tests/test_cmd.py +126 -0
  242. package/python3.6.2/lib/python3.6/distutils/tests/test_config.py +140 -0
  243. package/python3.6.2/lib/python3.6/distutils/tests/test_config_cmd.py +92 -0
  244. package/python3.6.2/lib/python3.6/distutils/tests/test_core.py +140 -0
  245. package/python3.6.2/lib/python3.6/distutils/tests/test_cygwinccompiler.py +154 -0
  246. package/python3.6.2/lib/python3.6/distutils/tests/test_dep_util.py +80 -0
  247. package/python3.6.2/lib/python3.6/distutils/tests/test_dir_util.py +139 -0
  248. package/python3.6.2/lib/python3.6/distutils/tests/test_dist.py +456 -0
  249. package/python3.6.2/lib/python3.6/distutils/tests/test_extension.py +69 -0
  250. package/python3.6.2/lib/python3.6/distutils/tests/test_file_util.py +114 -0
  251. package/python3.6.2/lib/python3.6/distutils/tests/test_filelist.py +340 -0
  252. package/python3.6.2/lib/python3.6/distutils/tests/test_install.py +248 -0
  253. package/python3.6.2/lib/python3.6/distutils/tests/test_install_data.py +75 -0
  254. package/python3.6.2/lib/python3.6/distutils/tests/test_install_headers.py +39 -0
  255. package/python3.6.2/lib/python3.6/distutils/tests/test_install_lib.py +115 -0
  256. package/python3.6.2/lib/python3.6/distutils/tests/test_install_scripts.py +82 -0
  257. package/python3.6.2/lib/python3.6/distutils/tests/test_log.py +38 -0
  258. package/python3.6.2/lib/python3.6/distutils/tests/test_msvc9compiler.py +184 -0
  259. package/python3.6.2/lib/python3.6/distutils/tests/test_msvccompiler.py +132 -0
  260. package/python3.6.2/lib/python3.6/distutils/tests/test_register.py +323 -0
  261. package/python3.6.2/lib/python3.6/distutils/tests/test_sdist.py +484 -0
  262. package/python3.6.2/lib/python3.6/distutils/tests/test_spawn.py +58 -0
  263. package/python3.6.2/lib/python3.6/distutils/tests/test_sysconfig.py +198 -0
  264. package/python3.6.2/lib/python3.6/distutils/tests/test_text_file.py +107 -0
  265. package/python3.6.2/lib/python3.6/distutils/tests/test_unixccompiler.py +149 -0
  266. package/python3.6.2/lib/python3.6/distutils/tests/test_upload.py +181 -0
  267. package/python3.6.2/lib/python3.6/distutils/tests/test_util.py +300 -0
  268. package/python3.6.2/lib/python3.6/distutils/tests/test_version.py +71 -0
  269. package/python3.6.2/lib/python3.6/distutils/tests/test_versionpredicate.py +13 -0
  270. package/python3.6.2/lib/python3.6/distutils/text_file.py +286 -0
  271. package/python3.6.2/lib/python3.6/distutils/unixccompiler.py +322 -0
  272. package/python3.6.2/lib/python3.6/distutils/util.py +557 -0
  273. package/python3.6.2/lib/python3.6/distutils/version.py +343 -0
  274. package/python3.6.2/lib/python3.6/distutils/versionpredicate.py +166 -0
  275. package/python3.6.2/lib/python3.6/doctest.py +2787 -0
  276. package/python3.6.2/lib/python3.6/dummy_threading.py +78 -0
  277. package/python3.6.2/lib/python3.6/email/__init__.py +62 -0
  278. package/python3.6.2/lib/python3.6/email/_encoded_words.py +221 -0
  279. package/python3.6.2/lib/python3.6/email/_header_value_parser.py +2811 -0
  280. package/python3.6.2/lib/python3.6/email/_parseaddr.py +540 -0
  281. package/python3.6.2/lib/python3.6/email/_policybase.py +374 -0
  282. package/python3.6.2/lib/python3.6/email/base64mime.py +119 -0
  283. package/python3.6.2/lib/python3.6/email/charset.py +406 -0
  284. package/python3.6.2/lib/python3.6/email/contentmanager.py +250 -0
  285. package/python3.6.2/lib/python3.6/email/encoders.py +69 -0
  286. package/python3.6.2/lib/python3.6/email/errors.py +107 -0
  287. package/python3.6.2/lib/python3.6/email/feedparser.py +536 -0
  288. package/python3.6.2/lib/python3.6/email/generator.py +508 -0
  289. package/python3.6.2/lib/python3.6/email/header.py +578 -0
  290. package/python3.6.2/lib/python3.6/email/headerregistry.py +589 -0
  291. package/python3.6.2/lib/python3.6/email/iterators.py +71 -0
  292. package/python3.6.2/lib/python3.6/email/message.py +1164 -0
  293. package/python3.6.2/lib/python3.6/email/mime/__init__.py +0 -0
  294. package/python3.6.2/lib/python3.6/email/mime/application.py +37 -0
  295. package/python3.6.2/lib/python3.6/email/mime/audio.py +74 -0
  296. package/python3.6.2/lib/python3.6/email/mime/base.py +30 -0
  297. package/python3.6.2/lib/python3.6/email/mime/image.py +47 -0
  298. package/python3.6.2/lib/python3.6/email/mime/message.py +34 -0
  299. package/python3.6.2/lib/python3.6/email/mime/multipart.py +48 -0
  300. package/python3.6.2/lib/python3.6/email/mime/nonmultipart.py +22 -0
  301. package/python3.6.2/lib/python3.6/email/mime/text.py +42 -0
  302. package/python3.6.2/lib/python3.6/email/parser.py +132 -0
  303. package/python3.6.2/lib/python3.6/email/policy.py +223 -0
  304. package/python3.6.2/lib/python3.6/email/quoprimime.py +299 -0
  305. package/python3.6.2/lib/python3.6/email/utils.py +388 -0
  306. package/python3.6.2/lib/python3.6/encodings/__init__.py +169 -0
  307. package/python3.6.2/lib/python3.6/encodings/aliases.py +550 -0
  308. package/python3.6.2/lib/python3.6/encodings/ascii.py +50 -0
  309. package/python3.6.2/lib/python3.6/encodings/base64_codec.py +55 -0
  310. package/python3.6.2/lib/python3.6/encodings/big5.py +39 -0
  311. package/python3.6.2/lib/python3.6/encodings/big5hkscs.py +39 -0
  312. package/python3.6.2/lib/python3.6/encodings/bz2_codec.py +78 -0
  313. package/python3.6.2/lib/python3.6/encodings/charmap.py +69 -0
  314. package/python3.6.2/lib/python3.6/encodings/cp037.py +307 -0
  315. package/python3.6.2/lib/python3.6/encodings/cp1006.py +307 -0
  316. package/python3.6.2/lib/python3.6/encodings/cp1026.py +307 -0
  317. package/python3.6.2/lib/python3.6/encodings/cp1125.py +698 -0
  318. package/python3.6.2/lib/python3.6/encodings/cp1140.py +307 -0
  319. package/python3.6.2/lib/python3.6/encodings/cp1250.py +307 -0
  320. package/python3.6.2/lib/python3.6/encodings/cp1251.py +307 -0
  321. package/python3.6.2/lib/python3.6/encodings/cp1252.py +307 -0
  322. package/python3.6.2/lib/python3.6/encodings/cp1253.py +307 -0
  323. package/python3.6.2/lib/python3.6/encodings/cp1254.py +307 -0
  324. package/python3.6.2/lib/python3.6/encodings/cp1255.py +307 -0
  325. package/python3.6.2/lib/python3.6/encodings/cp1256.py +307 -0
  326. package/python3.6.2/lib/python3.6/encodings/cp1257.py +307 -0
  327. package/python3.6.2/lib/python3.6/encodings/cp1258.py +307 -0
  328. package/python3.6.2/lib/python3.6/encodings/cp273.py +307 -0
  329. package/python3.6.2/lib/python3.6/encodings/cp424.py +307 -0
  330. package/python3.6.2/lib/python3.6/encodings/cp437.py +698 -0
  331. package/python3.6.2/lib/python3.6/encodings/cp500.py +307 -0
  332. package/python3.6.2/lib/python3.6/encodings/cp65001.py +43 -0
  333. package/python3.6.2/lib/python3.6/encodings/cp720.py +309 -0
  334. package/python3.6.2/lib/python3.6/encodings/cp737.py +698 -0
  335. package/python3.6.2/lib/python3.6/encodings/cp775.py +697 -0
  336. package/python3.6.2/lib/python3.6/encodings/cp850.py +698 -0
  337. package/python3.6.2/lib/python3.6/encodings/cp852.py +698 -0
  338. package/python3.6.2/lib/python3.6/encodings/cp855.py +698 -0
  339. package/python3.6.2/lib/python3.6/encodings/cp856.py +307 -0
  340. package/python3.6.2/lib/python3.6/encodings/cp857.py +694 -0
  341. package/python3.6.2/lib/python3.6/encodings/cp858.py +698 -0
  342. package/python3.6.2/lib/python3.6/encodings/cp860.py +698 -0
  343. package/python3.6.2/lib/python3.6/encodings/cp861.py +698 -0
  344. package/python3.6.2/lib/python3.6/encodings/cp862.py +698 -0
  345. package/python3.6.2/lib/python3.6/encodings/cp863.py +698 -0
  346. package/python3.6.2/lib/python3.6/encodings/cp864.py +690 -0
  347. package/python3.6.2/lib/python3.6/encodings/cp865.py +698 -0
  348. package/python3.6.2/lib/python3.6/encodings/cp866.py +698 -0
  349. package/python3.6.2/lib/python3.6/encodings/cp869.py +689 -0
  350. package/python3.6.2/lib/python3.6/encodings/cp874.py +307 -0
  351. package/python3.6.2/lib/python3.6/encodings/cp875.py +307 -0
  352. package/python3.6.2/lib/python3.6/encodings/cp932.py +39 -0
  353. package/python3.6.2/lib/python3.6/encodings/cp949.py +39 -0
  354. package/python3.6.2/lib/python3.6/encodings/cp950.py +39 -0
  355. package/python3.6.2/lib/python3.6/encodings/euc_jis_2004.py +39 -0
  356. package/python3.6.2/lib/python3.6/encodings/euc_jisx0213.py +39 -0
  357. package/python3.6.2/lib/python3.6/encodings/euc_jp.py +39 -0
  358. package/python3.6.2/lib/python3.6/encodings/euc_kr.py +39 -0
  359. package/python3.6.2/lib/python3.6/encodings/gb18030.py +39 -0
  360. package/python3.6.2/lib/python3.6/encodings/gb2312.py +39 -0
  361. package/python3.6.2/lib/python3.6/encodings/gbk.py +39 -0
  362. package/python3.6.2/lib/python3.6/encodings/hex_codec.py +55 -0
  363. package/python3.6.2/lib/python3.6/encodings/hp_roman8.py +314 -0
  364. package/python3.6.2/lib/python3.6/encodings/hz.py +39 -0
  365. package/python3.6.2/lib/python3.6/encodings/idna.py +309 -0
  366. package/python3.6.2/lib/python3.6/encodings/iso2022_jp.py +39 -0
  367. package/python3.6.2/lib/python3.6/encodings/iso2022_jp_1.py +39 -0
  368. package/python3.6.2/lib/python3.6/encodings/iso2022_jp_2.py +39 -0
  369. package/python3.6.2/lib/python3.6/encodings/iso2022_jp_2004.py +39 -0
  370. package/python3.6.2/lib/python3.6/encodings/iso2022_jp_3.py +39 -0
  371. package/python3.6.2/lib/python3.6/encodings/iso2022_jp_ext.py +39 -0
  372. package/python3.6.2/lib/python3.6/encodings/iso2022_kr.py +39 -0
  373. package/python3.6.2/lib/python3.6/encodings/iso8859_1.py +307 -0
  374. package/python3.6.2/lib/python3.6/encodings/iso8859_10.py +307 -0
  375. package/python3.6.2/lib/python3.6/encodings/iso8859_11.py +307 -0
  376. package/python3.6.2/lib/python3.6/encodings/iso8859_13.py +307 -0
  377. package/python3.6.2/lib/python3.6/encodings/iso8859_14.py +307 -0
  378. package/python3.6.2/lib/python3.6/encodings/iso8859_15.py +307 -0
  379. package/python3.6.2/lib/python3.6/encodings/iso8859_16.py +307 -0
  380. package/python3.6.2/lib/python3.6/encodings/iso8859_2.py +307 -0
  381. package/python3.6.2/lib/python3.6/encodings/iso8859_3.py +307 -0
  382. package/python3.6.2/lib/python3.6/encodings/iso8859_4.py +307 -0
  383. package/python3.6.2/lib/python3.6/encodings/iso8859_5.py +307 -0
  384. package/python3.6.2/lib/python3.6/encodings/iso8859_6.py +307 -0
  385. package/python3.6.2/lib/python3.6/encodings/iso8859_7.py +307 -0
  386. package/python3.6.2/lib/python3.6/encodings/iso8859_8.py +307 -0
  387. package/python3.6.2/lib/python3.6/encodings/iso8859_9.py +307 -0
  388. package/python3.6.2/lib/python3.6/encodings/johab.py +39 -0
  389. package/python3.6.2/lib/python3.6/encodings/koi8_r.py +307 -0
  390. package/python3.6.2/lib/python3.6/encodings/koi8_t.py +308 -0
  391. package/python3.6.2/lib/python3.6/encodings/koi8_u.py +307 -0
  392. package/python3.6.2/lib/python3.6/encodings/kz1048.py +307 -0
  393. package/python3.6.2/lib/python3.6/encodings/latin_1.py +50 -0
  394. package/python3.6.2/lib/python3.6/encodings/mac_arabic.py +698 -0
  395. package/python3.6.2/lib/python3.6/encodings/mac_centeuro.py +307 -0
  396. package/python3.6.2/lib/python3.6/encodings/mac_croatian.py +307 -0
  397. package/python3.6.2/lib/python3.6/encodings/mac_cyrillic.py +307 -0
  398. package/python3.6.2/lib/python3.6/encodings/mac_farsi.py +307 -0
  399. package/python3.6.2/lib/python3.6/encodings/mac_greek.py +307 -0
  400. package/python3.6.2/lib/python3.6/encodings/mac_iceland.py +307 -0
  401. package/python3.6.2/lib/python3.6/encodings/mac_latin2.py +312 -0
  402. package/python3.6.2/lib/python3.6/encodings/mac_roman.py +307 -0
  403. package/python3.6.2/lib/python3.6/encodings/mac_romanian.py +307 -0
  404. package/python3.6.2/lib/python3.6/encodings/mac_turkish.py +307 -0
  405. package/python3.6.2/lib/python3.6/encodings/mbcs.py +47 -0
  406. package/python3.6.2/lib/python3.6/encodings/oem.py +41 -0
  407. package/python3.6.2/lib/python3.6/encodings/palmos.py +308 -0
  408. package/python3.6.2/lib/python3.6/encodings/ptcp154.py +312 -0
  409. package/python3.6.2/lib/python3.6/encodings/punycode.py +237 -0
  410. package/python3.6.2/lib/python3.6/encodings/quopri_codec.py +56 -0
  411. package/python3.6.2/lib/python3.6/encodings/raw_unicode_escape.py +45 -0
  412. package/python3.6.2/lib/python3.6/encodings/rot_13.py +113 -0
  413. package/python3.6.2/lib/python3.6/encodings/shift_jis.py +39 -0
  414. package/python3.6.2/lib/python3.6/encodings/shift_jis_2004.py +39 -0
  415. package/python3.6.2/lib/python3.6/encodings/shift_jisx0213.py +39 -0
  416. package/python3.6.2/lib/python3.6/encodings/tis_620.py +307 -0
  417. package/python3.6.2/lib/python3.6/encodings/undefined.py +49 -0
  418. package/python3.6.2/lib/python3.6/encodings/unicode_escape.py +45 -0
  419. package/python3.6.2/lib/python3.6/encodings/unicode_internal.py +45 -0
  420. package/python3.6.2/lib/python3.6/encodings/utf_16.py +155 -0
  421. package/python3.6.2/lib/python3.6/encodings/utf_16_be.py +42 -0
  422. package/python3.6.2/lib/python3.6/encodings/utf_16_le.py +42 -0
  423. package/python3.6.2/lib/python3.6/encodings/utf_32.py +150 -0
  424. package/python3.6.2/lib/python3.6/encodings/utf_32_be.py +37 -0
  425. package/python3.6.2/lib/python3.6/encodings/utf_32_le.py +37 -0
  426. package/python3.6.2/lib/python3.6/encodings/utf_7.py +38 -0
  427. package/python3.6.2/lib/python3.6/encodings/utf_8.py +42 -0
  428. package/python3.6.2/lib/python3.6/encodings/utf_8_sig.py +130 -0
  429. package/python3.6.2/lib/python3.6/encodings/uu_codec.py +99 -0
  430. package/python3.6.2/lib/python3.6/encodings/zlib_codec.py +77 -0
  431. package/python3.6.2/lib/python3.6/ensurepip/__init__.py +205 -0
  432. package/python3.6.2/lib/python3.6/ensurepip/__main__.py +5 -0
  433. package/python3.6.2/lib/python3.6/ensurepip/_uninstall.py +31 -0
  434. package/python3.6.2/lib/python3.6/enum.py +875 -0
  435. package/python3.6.2/lib/python3.6/filecmp.py +305 -0
  436. package/python3.6.2/lib/python3.6/fileinput.py +425 -0
  437. package/python3.6.2/lib/python3.6/fnmatch.py +109 -0
  438. package/python3.6.2/lib/python3.6/formatter.py +452 -0
  439. package/python3.6.2/lib/python3.6/fractions.py +643 -0
  440. package/python3.6.2/lib/python3.6/ftplib.py +989 -0
  441. package/python3.6.2/lib/python3.6/functools.py +811 -0
  442. package/python3.6.2/lib/python3.6/genericpath.py +151 -0
  443. package/python3.6.2/lib/python3.6/getopt.py +215 -0
  444. package/python3.6.2/lib/python3.6/getpass.py +185 -0
  445. package/python3.6.2/lib/python3.6/gettext.py +637 -0
  446. package/python3.6.2/lib/python3.6/glob.py +171 -0
  447. package/python3.6.2/lib/python3.6/gzip.py +574 -0
  448. package/python3.6.2/lib/python3.6/hashlib.py +251 -0
  449. package/python3.6.2/lib/python3.6/heapq.py +607 -0
  450. package/python3.6.2/lib/python3.6/hmac.py +144 -0
  451. package/python3.6.2/lib/python3.6/html/__init__.py +132 -0
  452. package/python3.6.2/lib/python3.6/html/entities.py +2509 -0
  453. package/python3.6.2/lib/python3.6/html/parser.py +470 -0
  454. package/python3.6.2/lib/python3.6/http/__init__.py +134 -0
  455. package/python3.6.2/lib/python3.6/http/client.py +1478 -0
  456. package/python3.6.2/lib/python3.6/http/cookiejar.py +2098 -0
  457. package/python3.6.2/lib/python3.6/http/cookies.py +635 -0
  458. package/python3.6.2/lib/python3.6/http/server.py +1211 -0
  459. package/python3.6.2/lib/python3.6/idlelib/CREDITS.txt +37 -0
  460. package/python3.6.2/lib/python3.6/idlelib/ChangeLog +1591 -0
  461. package/python3.6.2/lib/python3.6/idlelib/HISTORY.txt +296 -0
  462. package/python3.6.2/lib/python3.6/idlelib/Icons/folder.gif +0 -0
  463. package/python3.6.2/lib/python3.6/idlelib/Icons/idle.icns +0 -0
  464. package/python3.6.2/lib/python3.6/idlelib/Icons/idle.ico +0 -0
  465. package/python3.6.2/lib/python3.6/idlelib/Icons/idle_16.gif +0 -0
  466. package/python3.6.2/lib/python3.6/idlelib/Icons/idle_16.png +0 -0
  467. package/python3.6.2/lib/python3.6/idlelib/Icons/idle_32.gif +0 -0
  468. package/python3.6.2/lib/python3.6/idlelib/Icons/idle_32.png +0 -0
  469. package/python3.6.2/lib/python3.6/idlelib/Icons/idle_48.gif +0 -0
  470. package/python3.6.2/lib/python3.6/idlelib/Icons/idle_48.png +0 -0
  471. package/python3.6.2/lib/python3.6/idlelib/Icons/minusnode.gif +0 -0
  472. package/python3.6.2/lib/python3.6/idlelib/Icons/openfolder.gif +0 -0
  473. package/python3.6.2/lib/python3.6/idlelib/Icons/plusnode.gif +0 -0
  474. package/python3.6.2/lib/python3.6/idlelib/Icons/python.gif +0 -0
  475. package/python3.6.2/lib/python3.6/idlelib/Icons/tk.gif +0 -0
  476. package/python3.6.2/lib/python3.6/idlelib/NEWS.txt +749 -0
  477. package/python3.6.2/lib/python3.6/idlelib/NEWS2x.txt +660 -0
  478. package/python3.6.2/lib/python3.6/idlelib/README.txt +251 -0
  479. package/python3.6.2/lib/python3.6/idlelib/TODO.txt +210 -0
  480. package/python3.6.2/lib/python3.6/idlelib/__init__.py +10 -0
  481. package/python3.6.2/lib/python3.6/idlelib/__main__.py +8 -0
  482. package/python3.6.2/lib/python3.6/idlelib/_pyclbr.py +402 -0
  483. package/python3.6.2/lib/python3.6/idlelib/autocomplete.py +232 -0
  484. package/python3.6.2/lib/python3.6/idlelib/autocomplete_w.py +460 -0
  485. package/python3.6.2/lib/python3.6/idlelib/autoexpand.py +96 -0
  486. package/python3.6.2/lib/python3.6/idlelib/browser.py +248 -0
  487. package/python3.6.2/lib/python3.6/idlelib/calltip_w.py +164 -0
  488. package/python3.6.2/lib/python3.6/idlelib/calltips.py +178 -0
  489. package/python3.6.2/lib/python3.6/idlelib/codecontext.py +185 -0
  490. package/python3.6.2/lib/python3.6/idlelib/colorizer.py +289 -0
  491. package/python3.6.2/lib/python3.6/idlelib/config-extensions.def +65 -0
  492. package/python3.6.2/lib/python3.6/idlelib/config-highlight.def +93 -0
  493. package/python3.6.2/lib/python3.6/idlelib/config-keys.def +304 -0
  494. package/python3.6.2/lib/python3.6/idlelib/config-main.def +88 -0
  495. package/python3.6.2/lib/python3.6/idlelib/config.py +929 -0
  496. package/python3.6.2/lib/python3.6/idlelib/config_key.py +298 -0
  497. package/python3.6.2/lib/python3.6/idlelib/configdialog.py +2254 -0
  498. package/python3.6.2/lib/python3.6/idlelib/debugger.py +544 -0
  499. package/python3.6.2/lib/python3.6/idlelib/debugger_r.py +388 -0
  500. package/python3.6.2/lib/python3.6/idlelib/debugobj.py +139 -0
  501. package/python3.6.2/lib/python3.6/idlelib/debugobj_r.py +36 -0
  502. package/python3.6.2/lib/python3.6/idlelib/delegator.py +33 -0
  503. package/python3.6.2/lib/python3.6/idlelib/dynoption.py +58 -0
  504. package/python3.6.2/lib/python3.6/idlelib/editor.py +1688 -0
  505. package/python3.6.2/lib/python3.6/idlelib/extend.txt +83 -0
  506. package/python3.6.2/lib/python3.6/idlelib/filelist.py +132 -0
  507. package/python3.6.2/lib/python3.6/idlelib/grep.py +200 -0
  508. package/python3.6.2/lib/python3.6/idlelib/help.html +791 -0
  509. package/python3.6.2/lib/python3.6/idlelib/help.py +275 -0
  510. package/python3.6.2/lib/python3.6/idlelib/help_about.py +205 -0
  511. package/python3.6.2/lib/python3.6/idlelib/history.py +106 -0
  512. package/python3.6.2/lib/python3.6/idlelib/hyperparser.py +312 -0
  513. package/python3.6.2/lib/python3.6/idlelib/idle.bat +4 -0
  514. package/python3.6.2/lib/python3.6/idlelib/idle.py +14 -0
  515. package/python3.6.2/lib/python3.6/idlelib/idle.pyw +17 -0
  516. package/python3.6.2/lib/python3.6/idlelib/idle_test/README.txt +226 -0
  517. package/python3.6.2/lib/python3.6/idlelib/idle_test/__init__.py +17 -0
  518. package/python3.6.2/lib/python3.6/idlelib/idle_test/htest.py +421 -0
  519. package/python3.6.2/lib/python3.6/idlelib/idle_test/mock_idle.py +60 -0
  520. package/python3.6.2/lib/python3.6/idlelib/idle_test/mock_tk.py +303 -0
  521. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_autocomplete.py +149 -0
  522. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_autoexpand.py +143 -0
  523. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_browser.py +253 -0
  524. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_calltips.py +203 -0
  525. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_colorizer.py +56 -0
  526. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_config.py +824 -0
  527. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_config_key.py +102 -0
  528. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_configdialog.py +1415 -0
  529. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_debugger.py +29 -0
  530. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_delegator.py +40 -0
  531. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_editmenu.py +74 -0
  532. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_editor.py +14 -0
  533. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_grep.py +80 -0
  534. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_help.py +34 -0
  535. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_help_about.py +177 -0
  536. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_history.py +168 -0
  537. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_hyperparser.py +274 -0
  538. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_iomenu.py +234 -0
  539. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_macosx.py +106 -0
  540. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_outwin.py +172 -0
  541. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_paragraph.py +376 -0
  542. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_parenmatch.py +112 -0
  543. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_pathbrowser.py +88 -0
  544. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_percolator.py +118 -0
  545. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_query.py +354 -0
  546. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_redirector.py +124 -0
  547. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_replace.py +293 -0
  548. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_rstrip.py +49 -0
  549. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_run.py +35 -0
  550. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_scrolledlist.py +29 -0
  551. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_search.py +82 -0
  552. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_searchbase.py +156 -0
  553. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_searchengine.py +329 -0
  554. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_text.py +236 -0
  555. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_textview.py +179 -0
  556. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_tree.py +35 -0
  557. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_undo.py +135 -0
  558. package/python3.6.2/lib/python3.6/idlelib/idle_test/test_warning.py +73 -0
  559. package/python3.6.2/lib/python3.6/idlelib/iomenu.py +574 -0
  560. package/python3.6.2/lib/python3.6/idlelib/macosx.py +252 -0
  561. package/python3.6.2/lib/python3.6/idlelib/mainmenu.py +108 -0
  562. package/python3.6.2/lib/python3.6/idlelib/multicall.py +445 -0
  563. package/python3.6.2/lib/python3.6/idlelib/outwin.py +188 -0
  564. package/python3.6.2/lib/python3.6/idlelib/paragraph.py +195 -0
  565. package/python3.6.2/lib/python3.6/idlelib/parenmatch.py +183 -0
  566. package/python3.6.2/lib/python3.6/idlelib/pathbrowser.py +111 -0
  567. package/python3.6.2/lib/python3.6/idlelib/percolator.py +104 -0
  568. package/python3.6.2/lib/python3.6/idlelib/pyparse.py +617 -0
  569. package/python3.6.2/lib/python3.6/idlelib/pyshell.py +1542 -0
  570. package/python3.6.2/lib/python3.6/idlelib/query.py +308 -0
  571. package/python3.6.2/lib/python3.6/idlelib/redirector.py +175 -0
  572. package/python3.6.2/lib/python3.6/idlelib/replace.py +243 -0
  573. package/python3.6.2/lib/python3.6/idlelib/rpc.py +627 -0
  574. package/python3.6.2/lib/python3.6/idlelib/rstrip.py +29 -0
  575. package/python3.6.2/lib/python3.6/idlelib/run.py +525 -0
  576. package/python3.6.2/lib/python3.6/idlelib/runscript.py +195 -0
  577. package/python3.6.2/lib/python3.6/idlelib/scrolledlist.py +147 -0
  578. package/python3.6.2/lib/python3.6/idlelib/search.py +102 -0
  579. package/python3.6.2/lib/python3.6/idlelib/searchbase.py +200 -0
  580. package/python3.6.2/lib/python3.6/idlelib/searchengine.py +236 -0
  581. package/python3.6.2/lib/python3.6/idlelib/stackviewer.py +152 -0
  582. package/python3.6.2/lib/python3.6/idlelib/statusbar.py +46 -0
  583. package/python3.6.2/lib/python3.6/idlelib/textview.py +136 -0
  584. package/python3.6.2/lib/python3.6/idlelib/tooltip.py +96 -0
  585. package/python3.6.2/lib/python3.6/idlelib/tree.py +467 -0
  586. package/python3.6.2/lib/python3.6/idlelib/undo.py +366 -0
  587. package/python3.6.2/lib/python3.6/idlelib/windows.py +92 -0
  588. package/python3.6.2/lib/python3.6/idlelib/zoomheight.py +48 -0
  589. package/python3.6.2/lib/python3.6/idlelib/zzdummy.py +42 -0
  590. package/python3.6.2/lib/python3.6/imaplib.py +1609 -0
  591. package/python3.6.2/lib/python3.6/imghdr.py +168 -0
  592. package/python3.6.2/lib/python3.6/imp.py +346 -0
  593. package/python3.6.2/lib/python3.6/importlib/__init__.py +173 -0
  594. package/python3.6.2/lib/python3.6/importlib/_bootstrap.py +1161 -0
  595. package/python3.6.2/lib/python3.6/importlib/_bootstrap_external.py +1443 -0
  596. package/python3.6.2/lib/python3.6/importlib/abc.py +329 -0
  597. package/python3.6.2/lib/python3.6/importlib/machinery.py +21 -0
  598. package/python3.6.2/lib/python3.6/importlib/util.py +288 -0
  599. package/python3.6.2/lib/python3.6/inspect.py +3098 -0
  600. package/python3.6.2/lib/python3.6/io.py +99 -0
  601. package/python3.6.2/lib/python3.6/ipaddress.py +2299 -0
  602. package/python3.6.2/lib/python3.6/json/__init__.py +367 -0
  603. package/python3.6.2/lib/python3.6/json/decoder.py +358 -0
  604. package/python3.6.2/lib/python3.6/json/encoder.py +441 -0
  605. package/python3.6.2/lib/python3.6/json/scanner.py +73 -0
  606. package/python3.6.2/lib/python3.6/json/tool.py +50 -0
  607. package/python3.6.2/lib/python3.6/keyword.py +94 -0
  608. package/python3.6.2/lib/python3.6/lib-dynload/_asyncio.cpython-36m-arm-linux-androideabi.so +0 -0
  609. package/python3.6.2/lib/python3.6/lib-dynload/_bisect.cpython-36m-arm-linux-androideabi.so +0 -0
  610. package/python3.6.2/lib/python3.6/lib-dynload/_blake2.cpython-36m-arm-linux-androideabi.so +0 -0
  611. package/python3.6.2/lib/python3.6/lib-dynload/_bz2.cpython-36m-arm-linux-androideabi.so +0 -0
  612. package/python3.6.2/lib/python3.6/lib-dynload/_codecs_cn.cpython-36m-arm-linux-androideabi.so +0 -0
  613. package/python3.6.2/lib/python3.6/lib-dynload/_codecs_hk.cpython-36m-arm-linux-androideabi.so +0 -0
  614. package/python3.6.2/lib/python3.6/lib-dynload/_codecs_iso2022.cpython-36m-arm-linux-androideabi.so +0 -0
  615. package/python3.6.2/lib/python3.6/lib-dynload/_codecs_jp.cpython-36m-arm-linux-androideabi.so +0 -0
  616. package/python3.6.2/lib/python3.6/lib-dynload/_codecs_kr.cpython-36m-arm-linux-androideabi.so +0 -0
  617. package/python3.6.2/lib/python3.6/lib-dynload/_codecs_tw.cpython-36m-arm-linux-androideabi.so +0 -0
  618. package/python3.6.2/lib/python3.6/lib-dynload/_crypt.cpython-36m-arm-linux-androideabi.so +0 -0
  619. package/python3.6.2/lib/python3.6/lib-dynload/_csv.cpython-36m-arm-linux-androideabi.so +0 -0
  620. package/python3.6.2/lib/python3.6/lib-dynload/_ctypes.cpython-36m-arm-linux-androideabi.so +0 -0
  621. package/python3.6.2/lib/python3.6/lib-dynload/_ctypes_test.cpython-36m-arm-linux-androideabi.so +0 -0
  622. package/python3.6.2/lib/python3.6/lib-dynload/_curses.cpython-36m-arm-linux-androideabi.so +0 -0
  623. package/python3.6.2/lib/python3.6/lib-dynload/_curses_panel.cpython-36m-arm-linux-androideabi.so +0 -0
  624. package/python3.6.2/lib/python3.6/lib-dynload/_datetime.cpython-36m-arm-linux-androideabi.so +0 -0
  625. package/python3.6.2/lib/python3.6/lib-dynload/_elementtree.cpython-36m-arm-linux-androideabi.so +0 -0
  626. package/python3.6.2/lib/python3.6/lib-dynload/_hashlib.cpython-36m-arm-linux-androideabi.so +0 -0
  627. package/python3.6.2/lib/python3.6/lib-dynload/_heapq.cpython-36m-arm-linux-androideabi.so +0 -0
  628. package/python3.6.2/lib/python3.6/lib-dynload/_json.cpython-36m-arm-linux-androideabi.so +0 -0
  629. package/python3.6.2/lib/python3.6/lib-dynload/_lsprof.cpython-36m-arm-linux-androideabi.so +0 -0
  630. package/python3.6.2/lib/python3.6/lib-dynload/_md5.cpython-36m-arm-linux-androideabi.so +0 -0
  631. package/python3.6.2/lib/python3.6/lib-dynload/_multibytecodec.cpython-36m-arm-linux-androideabi.so +0 -0
  632. package/python3.6.2/lib/python3.6/lib-dynload/_multiprocessing.cpython-36m-arm-linux-androideabi.so +0 -0
  633. package/python3.6.2/lib/python3.6/lib-dynload/_opcode.cpython-36m-arm-linux-androideabi.so +0 -0
  634. package/python3.6.2/lib/python3.6/lib-dynload/_pickle.cpython-36m-arm-linux-androideabi.so +0 -0
  635. package/python3.6.2/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-arm-linux-androideabi.so +0 -0
  636. package/python3.6.2/lib/python3.6/lib-dynload/_random.cpython-36m-arm-linux-androideabi.so +0 -0
  637. package/python3.6.2/lib/python3.6/lib-dynload/_sha1.cpython-36m-arm-linux-androideabi.so +0 -0
  638. package/python3.6.2/lib/python3.6/lib-dynload/_sha256.cpython-36m-arm-linux-androideabi.so +0 -0
  639. package/python3.6.2/lib/python3.6/lib-dynload/_sha3.cpython-36m-arm-linux-androideabi.so +0 -0
  640. package/python3.6.2/lib/python3.6/lib-dynload/_sha512.cpython-36m-arm-linux-androideabi.so +0 -0
  641. package/python3.6.2/lib/python3.6/lib-dynload/_socket.cpython-36m-arm-linux-androideabi.so +0 -0
  642. package/python3.6.2/lib/python3.6/lib-dynload/_sqlite3.cpython-36m-arm-linux-androideabi.so +0 -0
  643. package/python3.6.2/lib/python3.6/lib-dynload/_ssl.cpython-36m-arm-linux-androideabi.so +0 -0
  644. package/python3.6.2/lib/python3.6/lib-dynload/_struct.cpython-36m-arm-linux-androideabi.so +0 -0
  645. package/python3.6.2/lib/python3.6/lib-dynload/_sysconfigdata_m_linux_arm-linux-androideabi.py +743 -0
  646. package/python3.6.2/lib/python3.6/lib-dynload/_testbuffer.cpython-36m-arm-linux-androideabi.so +0 -0
  647. package/python3.6.2/lib/python3.6/lib-dynload/_testcapi.cpython-36m-arm-linux-androideabi.so +0 -0
  648. package/python3.6.2/lib/python3.6/lib-dynload/_testimportmultiple.cpython-36m-arm-linux-androideabi.so +0 -0
  649. package/python3.6.2/lib/python3.6/lib-dynload/_testmultiphase.cpython-36m-arm-linux-androideabi.so +0 -0
  650. package/python3.6.2/lib/python3.6/lib-dynload/array.cpython-36m-arm-linux-androideabi.so +0 -0
  651. package/python3.6.2/lib/python3.6/lib-dynload/audioop.cpython-36m-arm-linux-androideabi.so +0 -0
  652. package/python3.6.2/lib/python3.6/lib-dynload/binascii.cpython-36m-arm-linux-androideabi.so +0 -0
  653. package/python3.6.2/lib/python3.6/lib-dynload/cmath.cpython-36m-arm-linux-androideabi.so +0 -0
  654. package/python3.6.2/lib/python3.6/lib-dynload/fcntl.cpython-36m-arm-linux-androideabi.so +0 -0
  655. package/python3.6.2/lib/python3.6/lib-dynload/grp.cpython-36m-arm-linux-androideabi.so +0 -0
  656. package/python3.6.2/lib/python3.6/lib-dynload/math.cpython-36m-arm-linux-androideabi.so +0 -0
  657. package/python3.6.2/lib/python3.6/lib-dynload/mmap.cpython-36m-arm-linux-androideabi.so +0 -0
  658. package/python3.6.2/lib/python3.6/lib-dynload/ossaudiodev.cpython-36m-arm-linux-androideabi.so +0 -0
  659. package/python3.6.2/lib/python3.6/lib-dynload/parser.cpython-36m-arm-linux-androideabi.so +0 -0
  660. package/python3.6.2/lib/python3.6/lib-dynload/pyexpat.cpython-36m-arm-linux-androideabi.so +0 -0
  661. package/python3.6.2/lib/python3.6/lib-dynload/readline.cpython-36m-arm-linux-androideabi.so +0 -0
  662. package/python3.6.2/lib/python3.6/lib-dynload/resource.cpython-36m-arm-linux-androideabi.so +0 -0
  663. package/python3.6.2/lib/python3.6/lib-dynload/select.cpython-36m-arm-linux-androideabi.so +0 -0
  664. package/python3.6.2/lib/python3.6/lib-dynload/syslog.cpython-36m-arm-linux-androideabi.so +0 -0
  665. package/python3.6.2/lib/python3.6/lib-dynload/termios.cpython-36m-arm-linux-androideabi.so +0 -0
  666. package/python3.6.2/lib/python3.6/lib-dynload/unicodedata.cpython-36m-arm-linux-androideabi.so +0 -0
  667. package/python3.6.2/lib/python3.6/lib-dynload/xxlimited.cpython-36m-arm-linux-androideabi.so +0 -0
  668. package/python3.6.2/lib/python3.6/lib-dynload/zlib.cpython-36m-arm-linux-androideabi.so +0 -0
  669. package/python3.6.2/lib/python3.6/lib2to3/__init__.py +1 -0
  670. package/python3.6.2/lib/python3.6/lib2to3/__main__.py +4 -0
  671. package/python3.6.2/lib/python3.6/lib2to3/btm_matcher.py +168 -0
  672. package/python3.6.2/lib/python3.6/lib2to3/btm_utils.py +281 -0
  673. package/python3.6.2/lib/python3.6/lib2to3/fixer_base.py +186 -0
  674. package/python3.6.2/lib/python3.6/lib2to3/fixer_util.py +453 -0
  675. package/python3.6.2/lib/python3.6/lib2to3/fixes/__init__.py +1 -0
  676. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_apply.py +70 -0
  677. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_asserts.py +34 -0
  678. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_basestring.py +14 -0
  679. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_buffer.py +22 -0
  680. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_dict.py +106 -0
  681. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_except.py +93 -0
  682. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_exec.py +39 -0
  683. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_execfile.py +52 -0
  684. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_exitfunc.py +72 -0
  685. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_filter.py +90 -0
  686. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_funcattrs.py +21 -0
  687. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_future.py +22 -0
  688. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_getcwdu.py +19 -0
  689. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_has_key.py +109 -0
  690. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_idioms.py +152 -0
  691. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_import.py +99 -0
  692. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_imports.py +145 -0
  693. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_imports2.py +16 -0
  694. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_input.py +26 -0
  695. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_intern.py +41 -0
  696. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_isinstance.py +52 -0
  697. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_itertools.py +43 -0
  698. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_itertools_imports.py +57 -0
  699. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_long.py +19 -0
  700. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_map.py +110 -0
  701. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_metaclass.py +228 -0
  702. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_methodattrs.py +24 -0
  703. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_ne.py +23 -0
  704. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_next.py +103 -0
  705. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_nonzero.py +21 -0
  706. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_numliterals.py +28 -0
  707. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_operator.py +98 -0
  708. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_paren.py +44 -0
  709. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_print.py +87 -0
  710. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_raise.py +90 -0
  711. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_raw_input.py +17 -0
  712. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_reduce.py +35 -0
  713. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_reload.py +38 -0
  714. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_renames.py +70 -0
  715. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_repr.py +23 -0
  716. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_set_literal.py +53 -0
  717. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_standarderror.py +18 -0
  718. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_sys_exc.py +30 -0
  719. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_throw.py +56 -0
  720. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_tuple_params.py +175 -0
  721. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_types.py +61 -0
  722. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_unicode.py +42 -0
  723. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_urllib.py +196 -0
  724. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_ws_comma.py +39 -0
  725. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_xrange.py +73 -0
  726. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_xreadlines.py +25 -0
  727. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_zip.py +46 -0
  728. package/python3.6.2/lib/python3.6/lib2to3/main.py +268 -0
  729. package/python3.6.2/lib/python3.6/lib2to3/patcomp.py +205 -0
  730. package/python3.6.2/lib/python3.6/lib2to3/pgen2/__init__.py +4 -0
  731. package/python3.6.2/lib/python3.6/lib2to3/pgen2/conv.py +257 -0
  732. package/python3.6.2/lib/python3.6/lib2to3/pgen2/driver.py +160 -0
  733. package/python3.6.2/lib/python3.6/lib2to3/pgen2/grammar.py +207 -0
  734. package/python3.6.2/lib/python3.6/lib2to3/pgen2/literals.py +60 -0
  735. package/python3.6.2/lib/python3.6/lib2to3/pgen2/parse.py +201 -0
  736. package/python3.6.2/lib/python3.6/lib2to3/pgen2/pgen.py +386 -0
  737. package/python3.6.2/lib/python3.6/lib2to3/pgen2/token.py +85 -0
  738. package/python3.6.2/lib/python3.6/lib2to3/pgen2/tokenize.py +590 -0
  739. package/python3.6.2/lib/python3.6/lib2to3/pygram.py +40 -0
  740. package/python3.6.2/lib/python3.6/lib2to3/pytree.py +854 -0
  741. package/python3.6.2/lib/python3.6/lib2to3/refactor.py +744 -0
  742. package/python3.6.2/lib/python3.6/lib2to3/tests/__init__.py +9 -0
  743. package/python3.6.2/lib/python3.6/lib2to3/tests/__main__.py +4 -0
  744. package/python3.6.2/lib/python3.6/lib2to3/tests/data/README +6 -0
  745. package/python3.6.2/lib/python3.6/lib2to3/tests/data/bom.py +2 -0
  746. package/python3.6.2/lib/python3.6/lib2to3/tests/data/crlf.py +3 -0
  747. package/python3.6.2/lib/python3.6/lib2to3/tests/data/different_encoding.py +6 -0
  748. package/python3.6.2/lib/python3.6/lib2to3/tests/data/false_encoding.py +2 -0
  749. package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/bad_order.py +5 -0
  750. package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/__init__.py +0 -0
  751. package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_explicit.py +6 -0
  752. package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_first.py +6 -0
  753. package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_last.py +7 -0
  754. package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_parrot.py +13 -0
  755. package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_preorder.py +6 -0
  756. package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/no_fixer_cls.py +1 -0
  757. package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/parrot_example.py +2 -0
  758. package/python3.6.2/lib/python3.6/lib2to3/tests/data/infinite_recursion.py +2669 -0
  759. package/python3.6.2/lib/python3.6/lib2to3/tests/data/py2_test_grammar.py +974 -0
  760. package/python3.6.2/lib/python3.6/lib2to3/tests/data/py3_test_grammar.py +945 -0
  761. package/python3.6.2/lib/python3.6/lib2to3/tests/pytree_idempotency.py +94 -0
  762. package/python3.6.2/lib/python3.6/lib2to3/tests/support.py +52 -0
  763. package/python3.6.2/lib/python3.6/lib2to3/tests/test_all_fixers.py +27 -0
  764. package/python3.6.2/lib/python3.6/lib2to3/tests/test_fixers.py +4640 -0
  765. package/python3.6.2/lib/python3.6/lib2to3/tests/test_main.py +139 -0
  766. package/python3.6.2/lib/python3.6/lib2to3/tests/test_parser.py +472 -0
  767. package/python3.6.2/lib/python3.6/lib2to3/tests/test_pytree.py +472 -0
  768. package/python3.6.2/lib/python3.6/lib2to3/tests/test_refactor.py +316 -0
  769. package/python3.6.2/lib/python3.6/lib2to3/tests/test_util.py +591 -0
  770. package/python3.6.2/lib/python3.6/linecache.py +177 -0
  771. package/python3.6.2/lib/python3.6/locale.py +1684 -0
  772. package/python3.6.2/lib/python3.6/logging/__init__.py +2019 -0
  773. package/python3.6.2/lib/python3.6/logging/config.py +933 -0
  774. package/python3.6.2/lib/python3.6/logging/handlers.py +1505 -0
  775. package/python3.6.2/lib/python3.6/lzma.py +347 -0
  776. package/python3.6.2/lib/python3.6/macpath.py +211 -0
  777. package/python3.6.2/lib/python3.6/macurl2path.py +77 -0
  778. package/python3.6.2/lib/python3.6/mailbox.py +2146 -0
  779. package/python3.6.2/lib/python3.6/mailcap.py +275 -0
  780. package/python3.6.2/lib/python3.6/mimetypes.py +598 -0
  781. package/python3.6.2/lib/python3.6/modulefinder.py +633 -0
  782. package/python3.6.2/lib/python3.6/msilib/__init__.py +483 -0
  783. package/python3.6.2/lib/python3.6/msilib/schema.py +1007 -0
  784. package/python3.6.2/lib/python3.6/msilib/sequence.py +126 -0
  785. package/python3.6.2/lib/python3.6/msilib/text.py +129 -0
  786. package/python3.6.2/lib/python3.6/multiprocessing/__init__.py +38 -0
  787. package/python3.6.2/lib/python3.6/multiprocessing/connection.py +953 -0
  788. package/python3.6.2/lib/python3.6/multiprocessing/context.py +357 -0
  789. package/python3.6.2/lib/python3.6/multiprocessing/dummy/__init__.py +119 -0
  790. package/python3.6.2/lib/python3.6/multiprocessing/dummy/connection.py +73 -0
  791. package/python3.6.2/lib/python3.6/multiprocessing/forkserver.py +266 -0
  792. package/python3.6.2/lib/python3.6/multiprocessing/heap.py +254 -0
  793. package/python3.6.2/lib/python3.6/multiprocessing/managers.py +1160 -0
  794. package/python3.6.2/lib/python3.6/multiprocessing/pool.py +803 -0
  795. package/python3.6.2/lib/python3.6/multiprocessing/popen_fork.py +86 -0
  796. package/python3.6.2/lib/python3.6/multiprocessing/popen_forkserver.py +68 -0
  797. package/python3.6.2/lib/python3.6/multiprocessing/popen_spawn_posix.py +68 -0
  798. package/python3.6.2/lib/python3.6/multiprocessing/popen_spawn_win32.py +98 -0
  799. package/python3.6.2/lib/python3.6/multiprocessing/process.py +336 -0
  800. package/python3.6.2/lib/python3.6/multiprocessing/queues.py +347 -0
  801. package/python3.6.2/lib/python3.6/multiprocessing/reduction.py +274 -0
  802. package/python3.6.2/lib/python3.6/multiprocessing/resource_sharer.py +158 -0
  803. package/python3.6.2/lib/python3.6/multiprocessing/semaphore_tracker.py +157 -0
  804. package/python3.6.2/lib/python3.6/multiprocessing/sharedctypes.py +239 -0
  805. package/python3.6.2/lib/python3.6/multiprocessing/spawn.py +286 -0
  806. package/python3.6.2/lib/python3.6/multiprocessing/synchronize.py +406 -0
  807. package/python3.6.2/lib/python3.6/multiprocessing/util.py +406 -0
  808. package/python3.6.2/lib/python3.6/netrc.py +142 -0
  809. package/python3.6.2/lib/python3.6/nntplib.py +1147 -0
  810. package/python3.6.2/lib/python3.6/ntpath.py +692 -0
  811. package/python3.6.2/lib/python3.6/nturl2path.py +68 -0
  812. package/python3.6.2/lib/python3.6/numbers.py +389 -0
  813. package/python3.6.2/lib/python3.6/opcode.py +215 -0
  814. package/python3.6.2/lib/python3.6/operator.py +464 -0
  815. package/python3.6.2/lib/python3.6/optparse.py +1681 -0
  816. package/python3.6.2/lib/python3.6/os.py +1069 -0
  817. package/python3.6.2/lib/python3.6/pathlib.py +1434 -0
  818. package/python3.6.2/lib/python3.6/pdb.py +1694 -0
  819. package/python3.6.2/lib/python3.6/pickle.py +1605 -0
  820. package/python3.6.2/lib/python3.6/pickletools.py +2840 -0
  821. package/python3.6.2/lib/python3.6/pipes.py +247 -0
  822. package/python3.6.2/lib/python3.6/pkgutil.py +634 -0
  823. package/python3.6.2/lib/python3.6/platform.py +1400 -0
  824. package/python3.6.2/lib/python3.6/plistlib.py +1043 -0
  825. package/python3.6.2/lib/python3.6/poplib.py +478 -0
  826. package/python3.6.2/lib/python3.6/posixpath.py +520 -0
  827. package/python3.6.2/lib/python3.6/pprint.py +597 -0
  828. package/python3.6.2/lib/python3.6/profile.py +589 -0
  829. package/python3.6.2/lib/python3.6/pstats.py +697 -0
  830. package/python3.6.2/lib/python3.6/pty.py +170 -0
  831. package/python3.6.2/lib/python3.6/py_compile.py +186 -0
  832. package/python3.6.2/lib/python3.6/pyclbr.py +352 -0
  833. package/python3.6.2/lib/python3.6/pydoc.py +2663 -0
  834. package/python3.6.2/lib/python3.6/pydoc_data/__init__.py +0 -0
  835. package/python3.6.2/lib/python3.6/pydoc_data/topics.py +12951 -0
  836. package/python3.6.2/lib/python3.6/queue.py +246 -0
  837. package/python3.6.2/lib/python3.6/quopri.py +242 -0
  838. package/python3.6.2/lib/python3.6/random.py +768 -0
  839. package/python3.6.2/lib/python3.6/re.py +381 -0
  840. package/python3.6.2/lib/python3.6/reprlib.py +164 -0
  841. package/python3.6.2/lib/python3.6/rlcompleter.py +205 -0
  842. package/python3.6.2/lib/python3.6/runpy.py +294 -0
  843. package/python3.6.2/lib/python3.6/sched.py +170 -0
  844. package/python3.6.2/lib/python3.6/secrets.py +73 -0
  845. package/python3.6.2/lib/python3.6/selectors.py +611 -0
  846. package/python3.6.2/lib/python3.6/shelve.py +243 -0
  847. package/python3.6.2/lib/python3.6/shlex.py +335 -0
  848. package/python3.6.2/lib/python3.6/shutil.py +1153 -0
  849. package/python3.6.2/lib/python3.6/signal.py +79 -0
  850. package/python3.6.2/lib/python3.6/site.py +598 -0
  851. package/python3.6.2/lib/python3.6/smtpd.py +965 -0
  852. package/python3.6.2/lib/python3.6/smtplib.py +1115 -0
  853. package/python3.6.2/lib/python3.6/sndhdr.py +257 -0
  854. package/python3.6.2/lib/python3.6/socket.py +750 -0
  855. package/python3.6.2/lib/python3.6/socketserver.py +793 -0
  856. package/python3.6.2/lib/python3.6/sqlite3/__init__.py +23 -0
  857. package/python3.6.2/lib/python3.6/sqlite3/dbapi2.py +89 -0
  858. package/python3.6.2/lib/python3.6/sqlite3/dump.py +70 -0
  859. package/python3.6.2/lib/python3.6/sqlite3/test/__init__.py +0 -0
  860. package/python3.6.2/lib/python3.6/sqlite3/test/dbapi.py +938 -0
  861. package/python3.6.2/lib/python3.6/sqlite3/test/dump.py +81 -0
  862. package/python3.6.2/lib/python3.6/sqlite3/test/factory.py +293 -0
  863. package/python3.6.2/lib/python3.6/sqlite3/test/hooks.py +264 -0
  864. package/python3.6.2/lib/python3.6/sqlite3/test/regression.py +410 -0
  865. package/python3.6.2/lib/python3.6/sqlite3/test/transactions.py +214 -0
  866. package/python3.6.2/lib/python3.6/sqlite3/test/types.py +421 -0
  867. package/python3.6.2/lib/python3.6/sqlite3/test/userfunctions.py +473 -0
  868. package/python3.6.2/lib/python3.6/sre_compile.py +580 -0
  869. package/python3.6.2/lib/python3.6/sre_constants.py +233 -0
  870. package/python3.6.2/lib/python3.6/sre_parse.py +973 -0
  871. package/python3.6.2/lib/python3.6/ssl.py +1228 -0
  872. package/python3.6.2/lib/python3.6/stat.py +178 -0
  873. package/python3.6.2/lib/python3.6/statistics.py +670 -0
  874. package/python3.6.2/lib/python3.6/string.py +309 -0
  875. package/python3.6.2/lib/python3.6/stringprep.py +272 -0
  876. package/python3.6.2/lib/python3.6/struct.py +15 -0
  877. package/python3.6.2/lib/python3.6/subprocess.py +1590 -0
  878. package/python3.6.2/lib/python3.6/sunau.py +525 -0
  879. package/python3.6.2/lib/python3.6/symbol.py +115 -0
  880. package/python3.6.2/lib/python3.6/symtable.py +238 -0
  881. package/python3.6.2/lib/python3.6/sysconfig.py +721 -0
  882. package/python3.6.2/lib/python3.6/tabnanny.py +332 -0
  883. package/python3.6.2/lib/python3.6/tarfile.py +2547 -0
  884. package/python3.6.2/lib/python3.6/telnetlib.py +675 -0
  885. package/python3.6.2/lib/python3.6/tempfile.py +811 -0
  886. package/python3.6.2/lib/python3.6/test/Sine-1000Hz-300ms.aif +0 -0
  887. package/python3.6.2/lib/python3.6/test/__init__.py +1 -0
  888. package/python3.6.2/lib/python3.6/test/__main__.py +2 -0
  889. package/python3.6.2/lib/python3.6/test/_test_multiprocessing.py +4458 -0
  890. package/python3.6.2/lib/python3.6/test/allsans.pem +37 -0
  891. package/python3.6.2/lib/python3.6/test/ann_module.py +53 -0
  892. package/python3.6.2/lib/python3.6/test/ann_module2.py +36 -0
  893. package/python3.6.2/lib/python3.6/test/ann_module3.py +18 -0
  894. package/python3.6.2/lib/python3.6/test/audiodata/pluck-alaw.aifc +0 -0
  895. package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm16.aiff +0 -0
  896. package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm16.au +0 -0
  897. package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm16.wav +0 -0
  898. package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm24.aiff +0 -0
  899. package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm24.au +0 -0
  900. package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm24.wav +0 -0
  901. package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm32.aiff +0 -0
  902. package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm32.au +0 -0
  903. package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm32.wav +0 -0
  904. package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm8.aiff +0 -0
  905. package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm8.au +0 -0
  906. package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm8.wav +0 -0
  907. package/python3.6.2/lib/python3.6/test/audiodata/pluck-ulaw.aifc +0 -0
  908. package/python3.6.2/lib/python3.6/test/audiodata/pluck-ulaw.au +0 -0
  909. package/python3.6.2/lib/python3.6/test/audiotest.au +0 -0
  910. package/python3.6.2/lib/python3.6/test/audiotests.py +329 -0
  911. package/python3.6.2/lib/python3.6/test/autotest.py +5 -0
  912. package/python3.6.2/lib/python3.6/test/bad_coding.py +1 -0
  913. package/python3.6.2/lib/python3.6/test/bad_coding2.py +2 -0
  914. package/python3.6.2/lib/python3.6/test/badcert.pem +36 -0
  915. package/python3.6.2/lib/python3.6/test/badkey.pem +40 -0
  916. package/python3.6.2/lib/python3.6/test/badsyntax_3131.py +2 -0
  917. package/python3.6.2/lib/python3.6/test/badsyntax_future10.py +3 -0
  918. package/python3.6.2/lib/python3.6/test/badsyntax_future3.py +10 -0
  919. package/python3.6.2/lib/python3.6/test/badsyntax_future4.py +10 -0
  920. package/python3.6.2/lib/python3.6/test/badsyntax_future5.py +12 -0
  921. package/python3.6.2/lib/python3.6/test/badsyntax_future6.py +10 -0
  922. package/python3.6.2/lib/python3.6/test/badsyntax_future7.py +11 -0
  923. package/python3.6.2/lib/python3.6/test/badsyntax_future8.py +10 -0
  924. package/python3.6.2/lib/python3.6/test/badsyntax_future9.py +10 -0
  925. package/python3.6.2/lib/python3.6/test/badsyntax_pep3120.py +1 -0
  926. package/python3.6.2/lib/python3.6/test/bisect.py +167 -0
  927. package/python3.6.2/lib/python3.6/test/bytecode_helper.py +41 -0
  928. package/python3.6.2/lib/python3.6/test/capath/4e1295a3.0 +14 -0
  929. package/python3.6.2/lib/python3.6/test/capath/5ed36f99.0 +41 -0
  930. package/python3.6.2/lib/python3.6/test/capath/6e88d7b8.0 +14 -0
  931. package/python3.6.2/lib/python3.6/test/capath/99d0fa06.0 +41 -0
  932. package/python3.6.2/lib/python3.6/test/capath/b1930218.0 +21 -0
  933. package/python3.6.2/lib/python3.6/test/capath/ceff1710.0 +21 -0
  934. package/python3.6.2/lib/python3.6/test/cfgparser.1 +3 -0
  935. package/python3.6.2/lib/python3.6/test/cfgparser.2 +537 -0
  936. package/python3.6.2/lib/python3.6/test/cfgparser.3 +69 -0
  937. package/python3.6.2/lib/python3.6/test/cjkencodings/big5-utf8.txt +9 -0
  938. package/python3.6.2/lib/python3.6/test/cjkencodings/big5.txt +9 -0
  939. package/python3.6.2/lib/python3.6/test/cjkencodings/big5hkscs-utf8.txt +2 -0
  940. package/python3.6.2/lib/python3.6/test/cjkencodings/big5hkscs.txt +2 -0
  941. package/python3.6.2/lib/python3.6/test/cjkencodings/cp949-utf8.txt +9 -0
  942. package/python3.6.2/lib/python3.6/test/cjkencodings/cp949.txt +9 -0
  943. package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jisx0213-utf8.txt +8 -0
  944. package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jisx0213.txt +8 -0
  945. package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jp-utf8.txt +7 -0
  946. package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jp.txt +7 -0
  947. package/python3.6.2/lib/python3.6/test/cjkencodings/euc_kr-utf8.txt +7 -0
  948. package/python3.6.2/lib/python3.6/test/cjkencodings/euc_kr.txt +7 -0
  949. package/python3.6.2/lib/python3.6/test/cjkencodings/gb18030-utf8.txt +15 -0
  950. package/python3.6.2/lib/python3.6/test/cjkencodings/gb18030.txt +15 -0
  951. package/python3.6.2/lib/python3.6/test/cjkencodings/gb2312-utf8.txt +6 -0
  952. package/python3.6.2/lib/python3.6/test/cjkencodings/gb2312.txt +6 -0
  953. package/python3.6.2/lib/python3.6/test/cjkencodings/gbk-utf8.txt +14 -0
  954. package/python3.6.2/lib/python3.6/test/cjkencodings/gbk.txt +14 -0
  955. package/python3.6.2/lib/python3.6/test/cjkencodings/hz-utf8.txt +2 -0
  956. package/python3.6.2/lib/python3.6/test/cjkencodings/hz.txt +2 -0
  957. package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_jp-utf8.txt +7 -0
  958. package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_jp.txt +7 -0
  959. package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_kr-utf8.txt +7 -0
  960. package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_kr.txt +7 -0
  961. package/python3.6.2/lib/python3.6/test/cjkencodings/johab-utf8.txt +9 -0
  962. package/python3.6.2/lib/python3.6/test/cjkencodings/johab.txt +9 -0
  963. package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jis-utf8.txt +7 -0
  964. package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jis.txt +7 -0
  965. package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jisx0213-utf8.txt +8 -0
  966. package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jisx0213.txt +8 -0
  967. package/python3.6.2/lib/python3.6/test/cmath_testcases.txt +2511 -0
  968. package/python3.6.2/lib/python3.6/test/coding20731.py +4 -0
  969. package/python3.6.2/lib/python3.6/test/crashers/README +20 -0
  970. package/python3.6.2/lib/python3.6/test/crashers/bogus_code_obj.py +19 -0
  971. package/python3.6.2/lib/python3.6/test/crashers/gc_inspection.py +32 -0
  972. package/python3.6.2/lib/python3.6/test/crashers/infinite_loop_re.py +16 -0
  973. package/python3.6.2/lib/python3.6/test/crashers/mutation_inside_cyclegc.py +31 -0
  974. package/python3.6.2/lib/python3.6/test/crashers/recursive_call.py +15 -0
  975. package/python3.6.2/lib/python3.6/test/crashers/trace_at_recursion_limit.py +27 -0
  976. package/python3.6.2/lib/python3.6/test/crashers/underlying_dict.py +20 -0
  977. package/python3.6.2/lib/python3.6/test/curses_tests.py +46 -0
  978. package/python3.6.2/lib/python3.6/test/data/README +2 -0
  979. package/python3.6.2/lib/python3.6/test/datetimetester.py +4929 -0
  980. package/python3.6.2/lib/python3.6/test/decimaltestdata/abs.decTest +161 -0
  981. package/python3.6.2/lib/python3.6/test/decimaltestdata/add.decTest +2716 -0
  982. package/python3.6.2/lib/python3.6/test/decimaltestdata/and.decTest +338 -0
  983. package/python3.6.2/lib/python3.6/test/decimaltestdata/base.decTest +1411 -0
  984. package/python3.6.2/lib/python3.6/test/decimaltestdata/clamp.decTest +211 -0
  985. package/python3.6.2/lib/python3.6/test/decimaltestdata/class.decTest +131 -0
  986. package/python3.6.2/lib/python3.6/test/decimaltestdata/compare.decTest +758 -0
  987. package/python3.6.2/lib/python3.6/test/decimaltestdata/comparetotal.decTest +798 -0
  988. package/python3.6.2/lib/python3.6/test/decimaltestdata/comparetotmag.decTest +790 -0
  989. package/python3.6.2/lib/python3.6/test/decimaltestdata/copy.decTest +86 -0
  990. package/python3.6.2/lib/python3.6/test/decimaltestdata/copyabs.decTest +86 -0
  991. package/python3.6.2/lib/python3.6/test/decimaltestdata/copynegate.decTest +86 -0
  992. package/python3.6.2/lib/python3.6/test/decimaltestdata/copysign.decTest +177 -0
  993. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddAbs.decTest +126 -0
  994. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddAdd.decTest +1328 -0
  995. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddAnd.decTest +347 -0
  996. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddBase.decTest +1104 -0
  997. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCanonical.decTest +357 -0
  998. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddClass.decTest +76 -0
  999. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompare.decTest +744 -0
  1000. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompareSig.decTest +647 -0
  1001. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompareTotal.decTest +706 -0
  1002. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompareTotalMag.decTest +706 -0
  1003. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopy.decTest +88 -0
  1004. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopyAbs.decTest +88 -0
  1005. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopyNegate.decTest +88 -0
  1006. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopySign.decTest +175 -0
  1007. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddDivide.decTest +863 -0
  1008. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddDivideInt.decTest +449 -0
  1009. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddEncode.decTest +495 -0
  1010. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddFMA.decTest +1698 -0
  1011. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddInvert.decTest +202 -0
  1012. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddLogB.decTest +159 -0
  1013. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMax.decTest +322 -0
  1014. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMaxMag.decTest +304 -0
  1015. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMin.decTest +309 -0
  1016. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMinMag.decTest +293 -0
  1017. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMinus.decTest +88 -0
  1018. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMultiply.decTest +553 -0
  1019. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddNextMinus.decTest +126 -0
  1020. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddNextPlus.decTest +124 -0
  1021. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddNextToward.decTest +374 -0
  1022. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddOr.decTest +292 -0
  1023. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddPlus.decTest +88 -0
  1024. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddQuantize.decTest +833 -0
  1025. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddReduce.decTest +182 -0
  1026. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddRemainder.decTest +600 -0
  1027. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddRemainderNear.decTest +629 -0
  1028. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddRotate.decTest +262 -0
  1029. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddSameQuantum.decTest +389 -0
  1030. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddScaleB.decTest +243 -0
  1031. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddShift.decTest +262 -0
  1032. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddSubtract.decTest +629 -0
  1033. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddToIntegral.decTest +257 -0
  1034. package/python3.6.2/lib/python3.6/test/decimaltestdata/ddXor.decTest +337 -0
  1035. package/python3.6.2/lib/python3.6/test/decimaltestdata/decDouble.decTest +65 -0
  1036. package/python3.6.2/lib/python3.6/test/decimaltestdata/decQuad.decTest +65 -0
  1037. package/python3.6.2/lib/python3.6/test/decimaltestdata/decSingle.decTest +25 -0
  1038. package/python3.6.2/lib/python3.6/test/decimaltestdata/divide.decTest +854 -0
  1039. package/python3.6.2/lib/python3.6/test/decimaltestdata/divideint.decTest +486 -0
  1040. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqAbs.decTest +126 -0
  1041. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqAdd.decTest +1215 -0
  1042. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqAnd.decTest +420 -0
  1043. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqBase.decTest +1081 -0
  1044. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCanonical.decTest +372 -0
  1045. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqClass.decTest +77 -0
  1046. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompare.decTest +753 -0
  1047. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompareSig.decTest +647 -0
  1048. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompareTotal.decTest +706 -0
  1049. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompareTotalMag.decTest +706 -0
  1050. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopy.decTest +88 -0
  1051. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopyAbs.decTest +88 -0
  1052. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopyNegate.decTest +88 -0
  1053. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopySign.decTest +175 -0
  1054. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqDivide.decTest +808 -0
  1055. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqDivideInt.decTest +453 -0
  1056. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqEncode.decTest +477 -0
  1057. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqFMA.decTest +1786 -0
  1058. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqInvert.decTest +245 -0
  1059. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqLogB.decTest +160 -0
  1060. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMax.decTest +322 -0
  1061. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMaxMag.decTest +304 -0
  1062. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMin.decTest +309 -0
  1063. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMinMag.decTest +293 -0
  1064. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMinus.decTest +88 -0
  1065. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMultiply.decTest +589 -0
  1066. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqNextMinus.decTest +126 -0
  1067. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqNextPlus.decTest +124 -0
  1068. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqNextToward.decTest +375 -0
  1069. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqOr.decTest +401 -0
  1070. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqPlus.decTest +88 -0
  1071. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqQuantize.decTest +836 -0
  1072. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqReduce.decTest +183 -0
  1073. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqRemainder.decTest +597 -0
  1074. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqRemainderNear.decTest +631 -0
  1075. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqRotate.decTest +298 -0
  1076. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqSameQuantum.decTest +389 -0
  1077. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqScaleB.decTest +260 -0
  1078. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqShift.decTest +298 -0
  1079. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqSubtract.decTest +635 -0
  1080. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqToIntegral.decTest +257 -0
  1081. package/python3.6.2/lib/python3.6/test/decimaltestdata/dqXor.decTest +410 -0
  1082. package/python3.6.2/lib/python3.6/test/decimaltestdata/dsBase.decTest +1062 -0
  1083. package/python3.6.2/lib/python3.6/test/decimaltestdata/dsEncode.decTest +372 -0
  1084. package/python3.6.2/lib/python3.6/test/decimaltestdata/exp.decTest +674 -0
  1085. package/python3.6.2/lib/python3.6/test/decimaltestdata/extra.decTest +2830 -0
  1086. package/python3.6.2/lib/python3.6/test/decimaltestdata/fma.decTest +3426 -0
  1087. package/python3.6.2/lib/python3.6/test/decimaltestdata/inexact.decTest +215 -0
  1088. package/python3.6.2/lib/python3.6/test/decimaltestdata/invert.decTest +176 -0
  1089. package/python3.6.2/lib/python3.6/test/decimaltestdata/ln.decTest +611 -0
  1090. package/python3.6.2/lib/python3.6/test/decimaltestdata/log10.decTest +551 -0
  1091. package/python3.6.2/lib/python3.6/test/decimaltestdata/logb.decTest +188 -0
  1092. package/python3.6.2/lib/python3.6/test/decimaltestdata/max.decTest +424 -0
  1093. package/python3.6.2/lib/python3.6/test/decimaltestdata/maxmag.decTest +404 -0
  1094. package/python3.6.2/lib/python3.6/test/decimaltestdata/min.decTest +407 -0
  1095. package/python3.6.2/lib/python3.6/test/decimaltestdata/minmag.decTest +390 -0
  1096. package/python3.6.2/lib/python3.6/test/decimaltestdata/minus.decTest +182 -0
  1097. package/python3.6.2/lib/python3.6/test/decimaltestdata/multiply.decTest +731 -0
  1098. package/python3.6.2/lib/python3.6/test/decimaltestdata/nextminus.decTest +148 -0
  1099. package/python3.6.2/lib/python3.6/test/decimaltestdata/nextplus.decTest +150 -0
  1100. package/python3.6.2/lib/python3.6/test/decimaltestdata/nexttoward.decTest +426 -0
  1101. package/python3.6.2/lib/python3.6/test/decimaltestdata/or.decTest +334 -0
  1102. package/python3.6.2/lib/python3.6/test/decimaltestdata/plus.decTest +195 -0
  1103. package/python3.6.2/lib/python3.6/test/decimaltestdata/power.decTest +1624 -0
  1104. package/python3.6.2/lib/python3.6/test/decimaltestdata/powersqrt.decTest +2970 -0
  1105. package/python3.6.2/lib/python3.6/test/decimaltestdata/quantize.decTest +948 -0
  1106. package/python3.6.2/lib/python3.6/test/decimaltestdata/randomBound32.decTest +2443 -0
  1107. package/python3.6.2/lib/python3.6/test/decimaltestdata/randoms.decTest +4030 -0
  1108. package/python3.6.2/lib/python3.6/test/decimaltestdata/reduce.decTest +234 -0
  1109. package/python3.6.2/lib/python3.6/test/decimaltestdata/remainder.decTest +640 -0
  1110. package/python3.6.2/lib/python3.6/test/decimaltestdata/remainderNear.decTest +572 -0
  1111. package/python3.6.2/lib/python3.6/test/decimaltestdata/rescale.decTest +764 -0
  1112. package/python3.6.2/lib/python3.6/test/decimaltestdata/rotate.decTest +247 -0
  1113. package/python3.6.2/lib/python3.6/test/decimaltestdata/rounding.decTest +1303 -0
  1114. package/python3.6.2/lib/python3.6/test/decimaltestdata/samequantum.decTest +389 -0
  1115. package/python3.6.2/lib/python3.6/test/decimaltestdata/scaleb.decTest +209 -0
  1116. package/python3.6.2/lib/python3.6/test/decimaltestdata/shift.decTest +250 -0
  1117. package/python3.6.2/lib/python3.6/test/decimaltestdata/squareroot.decTest +3834 -0
  1118. package/python3.6.2/lib/python3.6/test/decimaltestdata/subtract.decTest +873 -0
  1119. package/python3.6.2/lib/python3.6/test/decimaltestdata/testall.decTest +87 -0
  1120. package/python3.6.2/lib/python3.6/test/decimaltestdata/tointegral.decTest +241 -0
  1121. package/python3.6.2/lib/python3.6/test/decimaltestdata/tointegralx.decTest +255 -0
  1122. package/python3.6.2/lib/python3.6/test/decimaltestdata/xor.decTest +335 -0
  1123. package/python3.6.2/lib/python3.6/test/dh1024.pem +7 -0
  1124. package/python3.6.2/lib/python3.6/test/dis_module.py +5 -0
  1125. package/python3.6.2/lib/python3.6/test/doctest_aliases.py +13 -0
  1126. package/python3.6.2/lib/python3.6/test/double_const.py +30 -0
  1127. package/python3.6.2/lib/python3.6/test/dtracedata/assert_usable.d +5 -0
  1128. package/python3.6.2/lib/python3.6/test/dtracedata/assert_usable.stp +5 -0
  1129. package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.d +31 -0
  1130. package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.d.expected +18 -0
  1131. package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.py +30 -0
  1132. package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.stp +41 -0
  1133. package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.stp.expected +14 -0
  1134. package/python3.6.2/lib/python3.6/test/dtracedata/gc.d +18 -0
  1135. package/python3.6.2/lib/python3.6/test/dtracedata/gc.d.expected +8 -0
  1136. package/python3.6.2/lib/python3.6/test/dtracedata/gc.py +13 -0
  1137. package/python3.6.2/lib/python3.6/test/dtracedata/gc.stp +26 -0
  1138. package/python3.6.2/lib/python3.6/test/dtracedata/gc.stp.expected +8 -0
  1139. package/python3.6.2/lib/python3.6/test/dtracedata/instance.py +24 -0
  1140. package/python3.6.2/lib/python3.6/test/dtracedata/line.d +7 -0
  1141. package/python3.6.2/lib/python3.6/test/dtracedata/line.d.expected +20 -0
  1142. package/python3.6.2/lib/python3.6/test/dtracedata/line.py +17 -0
  1143. package/python3.6.2/lib/python3.6/test/eintrdata/eintr_tester.py +493 -0
  1144. package/python3.6.2/lib/python3.6/test/empty.vbs +1 -0
  1145. package/python3.6.2/lib/python3.6/test/encoded_modules/__init__.py +23 -0
  1146. package/python3.6.2/lib/python3.6/test/encoded_modules/module_iso_8859_1.py +5 -0
  1147. package/python3.6.2/lib/python3.6/test/encoded_modules/module_koi8_r.py +3 -0
  1148. package/python3.6.2/lib/python3.6/test/exception_hierarchy.txt +64 -0
  1149. package/python3.6.2/lib/python3.6/test/final_a.py +19 -0
  1150. package/python3.6.2/lib/python3.6/test/final_b.py +19 -0
  1151. package/python3.6.2/lib/python3.6/test/floating_points.txt +1028 -0
  1152. package/python3.6.2/lib/python3.6/test/fork_wait.py +91 -0
  1153. package/python3.6.2/lib/python3.6/test/formatfloat_testcases.txt +355 -0
  1154. package/python3.6.2/lib/python3.6/test/future_test1.py +11 -0
  1155. package/python3.6.2/lib/python3.6/test/future_test2.py +10 -0
  1156. package/python3.6.2/lib/python3.6/test/gdb_sample.py +12 -0
  1157. package/python3.6.2/lib/python3.6/test/ieee754.txt +185 -0
  1158. package/python3.6.2/lib/python3.6/test/imghdrdata/python.bmp +0 -0
  1159. package/python3.6.2/lib/python3.6/test/imghdrdata/python.exr +0 -0
  1160. package/python3.6.2/lib/python3.6/test/imghdrdata/python.gif +0 -0
  1161. package/python3.6.2/lib/python3.6/test/imghdrdata/python.jpg +0 -0
  1162. package/python3.6.2/lib/python3.6/test/imghdrdata/python.pbm +3 -0
  1163. package/python3.6.2/lib/python3.6/test/imghdrdata/python.pgm +0 -0
  1164. package/python3.6.2/lib/python3.6/test/imghdrdata/python.png +0 -0
  1165. package/python3.6.2/lib/python3.6/test/imghdrdata/python.ppm +0 -0
  1166. package/python3.6.2/lib/python3.6/test/imghdrdata/python.ras +0 -0
  1167. package/python3.6.2/lib/python3.6/test/imghdrdata/python.sgi +0 -0
  1168. package/python3.6.2/lib/python3.6/test/imghdrdata/python.tiff +0 -0
  1169. package/python3.6.2/lib/python3.6/test/imghdrdata/python.webp +0 -0
  1170. package/python3.6.2/lib/python3.6/test/imghdrdata/python.xbm +6 -0
  1171. package/python3.6.2/lib/python3.6/test/imp_dummy.py +3 -0
  1172. package/python3.6.2/lib/python3.6/test/inspect_fodder.py +76 -0
  1173. package/python3.6.2/lib/python3.6/test/inspect_fodder2.py +139 -0
  1174. package/python3.6.2/lib/python3.6/test/keycert.passwd.pem +33 -0
  1175. package/python3.6.2/lib/python3.6/test/keycert.pem +31 -0
  1176. package/python3.6.2/lib/python3.6/test/keycert2.pem +31 -0
  1177. package/python3.6.2/lib/python3.6/test/keycert3.pem +73 -0
  1178. package/python3.6.2/lib/python3.6/test/keycert4.pem +73 -0
  1179. package/python3.6.2/lib/python3.6/test/leakers/README.txt +32 -0
  1180. package/python3.6.2/lib/python3.6/test/leakers/__init__.py +0 -0
  1181. package/python3.6.2/lib/python3.6/test/leakers/test_ctypes.py +15 -0
  1182. package/python3.6.2/lib/python3.6/test/leakers/test_selftype.py +13 -0
  1183. package/python3.6.2/lib/python3.6/test/libregrtest/__init__.py +5 -0
  1184. package/python3.6.2/lib/python3.6/test/libregrtest/cmdline.py +387 -0
  1185. package/python3.6.2/lib/python3.6/test/libregrtest/main.py +584 -0
  1186. package/python3.6.2/lib/python3.6/test/libregrtest/refleak.py +294 -0
  1187. package/python3.6.2/lib/python3.6/test/libregrtest/runtest.py +254 -0
  1188. package/python3.6.2/lib/python3.6/test/libregrtest/runtest_mp.py +244 -0
  1189. package/python3.6.2/lib/python3.6/test/libregrtest/save_env.py +284 -0
  1190. package/python3.6.2/lib/python3.6/test/libregrtest/setup.py +140 -0
  1191. package/python3.6.2/lib/python3.6/test/list_tests.py +618 -0
  1192. package/python3.6.2/lib/python3.6/test/lock_tests.py +936 -0
  1193. package/python3.6.2/lib/python3.6/test/mailcap.txt +39 -0
  1194. package/python3.6.2/lib/python3.6/test/make_ssl_certs.py +216 -0
  1195. package/python3.6.2/lib/python3.6/test/mapping_tests.py +657 -0
  1196. package/python3.6.2/lib/python3.6/test/math_testcases.txt +633 -0
  1197. package/python3.6.2/lib/python3.6/test/memory_watchdog.py +28 -0
  1198. package/python3.6.2/lib/python3.6/test/mime.types +1445 -0
  1199. package/python3.6.2/lib/python3.6/test/mock_socket.py +159 -0
  1200. package/python3.6.2/lib/python3.6/test/mod_generics_cache.py +53 -0
  1201. package/python3.6.2/lib/python3.6/test/mp_fork_bomb.py +18 -0
  1202. package/python3.6.2/lib/python3.6/test/mp_preload.py +18 -0
  1203. package/python3.6.2/lib/python3.6/test/multibytecodec_support.py +384 -0
  1204. package/python3.6.2/lib/python3.6/test/nokia.pem +31 -0
  1205. package/python3.6.2/lib/python3.6/test/nullbytecert.pem +90 -0
  1206. package/python3.6.2/lib/python3.6/test/nullcert.pem +0 -0
  1207. package/python3.6.2/lib/python3.6/test/outstanding_bugs.py +18 -0
  1208. package/python3.6.2/lib/python3.6/test/pickletester.py +2922 -0
  1209. package/python3.6.2/lib/python3.6/test/profilee.py +115 -0
  1210. package/python3.6.2/lib/python3.6/test/pstats.pck +0 -0
  1211. package/python3.6.2/lib/python3.6/test/pycacert.pem +78 -0
  1212. package/python3.6.2/lib/python3.6/test/pycakey.pem +28 -0
  1213. package/python3.6.2/lib/python3.6/test/pyclbr_input.py +33 -0
  1214. package/python3.6.2/lib/python3.6/test/pydoc_mod.py +37 -0
  1215. package/python3.6.2/lib/python3.6/test/pydocfodder.py +216 -0
  1216. package/python3.6.2/lib/python3.6/test/pystone.py +277 -0
  1217. package/python3.6.2/lib/python3.6/test/pythoninfo.py +486 -0
  1218. package/python3.6.2/lib/python3.6/test/randv2_32.pck +633 -0
  1219. package/python3.6.2/lib/python3.6/test/randv2_64.pck +633 -0
  1220. package/python3.6.2/lib/python3.6/test/randv3.pck +633 -0
  1221. package/python3.6.2/lib/python3.6/test/re_tests.py +670 -0
  1222. package/python3.6.2/lib/python3.6/test/regrtest.py +50 -0
  1223. package/python3.6.2/lib/python3.6/test/relimport.py +1 -0
  1224. package/python3.6.2/lib/python3.6/test/reperf.py +23 -0
  1225. package/python3.6.2/lib/python3.6/test/revocation.crl +11 -0
  1226. package/python3.6.2/lib/python3.6/test/sample_doctest.py +76 -0
  1227. package/python3.6.2/lib/python3.6/test/sample_doctest_no_docstrings.py +12 -0
  1228. package/python3.6.2/lib/python3.6/test/sample_doctest_no_doctests.py +15 -0
  1229. package/python3.6.2/lib/python3.6/test/selfsigned_pythontestdotnet.pem +16 -0
  1230. package/python3.6.2/lib/python3.6/test/seq_tests.py +414 -0
  1231. package/python3.6.2/lib/python3.6/test/sgml_input.html +212 -0
  1232. package/python3.6.2/lib/python3.6/test/signalinterproctester.py +84 -0
  1233. package/python3.6.2/lib/python3.6/test/sndhdrdata/README +5 -0
  1234. package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.8svx +0 -0
  1235. package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.aifc +0 -0
  1236. package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.aiff +0 -0
  1237. package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.au +0 -0
  1238. package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.hcom +0 -0
  1239. package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.sndt +0 -0
  1240. package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.voc +0 -0
  1241. package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.wav +0 -0
  1242. package/python3.6.2/lib/python3.6/test/sortperf.py +169 -0
  1243. package/python3.6.2/lib/python3.6/test/ssl_cert.pem +15 -0
  1244. package/python3.6.2/lib/python3.6/test/ssl_key.passwd.pem +18 -0
  1245. package/python3.6.2/lib/python3.6/test/ssl_key.pem +16 -0
  1246. package/python3.6.2/lib/python3.6/test/ssl_servers.py +209 -0
  1247. package/python3.6.2/lib/python3.6/test/ssltests.py +37 -0
  1248. package/python3.6.2/lib/python3.6/test/string_tests.py +1383 -0
  1249. package/python3.6.2/lib/python3.6/test/subprocessdata/fd_status.py +34 -0
  1250. package/python3.6.2/lib/python3.6/test/subprocessdata/input_reader.py +7 -0
  1251. package/python3.6.2/lib/python3.6/test/subprocessdata/qcat.py +7 -0
  1252. package/python3.6.2/lib/python3.6/test/subprocessdata/qgrep.py +10 -0
  1253. package/python3.6.2/lib/python3.6/test/subprocessdata/sigchild_ignore.py +15 -0
  1254. package/python3.6.2/lib/python3.6/test/support/__init__.py +2706 -0
  1255. package/python3.6.2/lib/python3.6/test/support/script_helper.py +259 -0
  1256. package/python3.6.2/lib/python3.6/test/test___all__.py +109 -0
  1257. package/python3.6.2/lib/python3.6/test/test___future__.py +61 -0
  1258. package/python3.6.2/lib/python3.6/test/test__locale.py +193 -0
  1259. package/python3.6.2/lib/python3.6/test/test__opcode.py +20 -0
  1260. package/python3.6.2/lib/python3.6/test/test__osx_support.py +276 -0
  1261. package/python3.6.2/lib/python3.6/test/test_abc.py +420 -0
  1262. package/python3.6.2/lib/python3.6/test/test_abstract_numbers.py +44 -0
  1263. package/python3.6.2/lib/python3.6/test/test_aifc.py +399 -0
  1264. package/python3.6.2/lib/python3.6/test/test_argparse.py +5006 -0
  1265. package/python3.6.2/lib/python3.6/test/test_array.py +1388 -0
  1266. package/python3.6.2/lib/python3.6/test/test_asdl_parser.py +122 -0
  1267. package/python3.6.2/lib/python3.6/test/test_ast.py +1170 -0
  1268. package/python3.6.2/lib/python3.6/test/test_asyncgen.py +1044 -0
  1269. package/python3.6.2/lib/python3.6/test/test_asynchat.py +308 -0
  1270. package/python3.6.2/lib/python3.6/test/test_asyncio/__init__.py +10 -0
  1271. package/python3.6.2/lib/python3.6/test/test_asyncio/__main__.py +4 -0
  1272. package/python3.6.2/lib/python3.6/test/test_asyncio/echo.py +8 -0
  1273. package/python3.6.2/lib/python3.6/test/test_asyncio/echo2.py +6 -0
  1274. package/python3.6.2/lib/python3.6/test/test_asyncio/echo3.py +11 -0
  1275. package/python3.6.2/lib/python3.6/test/test_asyncio/keycert3.pem +73 -0
  1276. package/python3.6.2/lib/python3.6/test/test_asyncio/pycacert.pem +78 -0
  1277. package/python3.6.2/lib/python3.6/test/test_asyncio/ssl_cert.pem +15 -0
  1278. package/python3.6.2/lib/python3.6/test/test_asyncio/ssl_key.pem +16 -0
  1279. package/python3.6.2/lib/python3.6/test/test_asyncio/test_base_events.py +1761 -0
  1280. package/python3.6.2/lib/python3.6/test/test_asyncio/test_events.py +2791 -0
  1281. package/python3.6.2/lib/python3.6/test/test_asyncio/test_futures.py +692 -0
  1282. package/python3.6.2/lib/python3.6/test/test_asyncio/test_locks.py +943 -0
  1283. package/python3.6.2/lib/python3.6/test/test_asyncio/test_pep492.py +232 -0
  1284. package/python3.6.2/lib/python3.6/test/test_asyncio/test_proactor_events.py +593 -0
  1285. package/python3.6.2/lib/python3.6/test/test_asyncio/test_queues.py +643 -0
  1286. package/python3.6.2/lib/python3.6/test/test_asyncio/test_selector_events.py +1833 -0
  1287. package/python3.6.2/lib/python3.6/test/test_asyncio/test_sslproto.py +134 -0
  1288. package/python3.6.2/lib/python3.6/test/test_asyncio/test_streams.py +868 -0
  1289. package/python3.6.2/lib/python3.6/test/test_asyncio/test_subprocess.py +532 -0
  1290. package/python3.6.2/lib/python3.6/test/test_asyncio/test_tasks.py +2598 -0
  1291. package/python3.6.2/lib/python3.6/test/test_asyncio/test_transports.py +91 -0
  1292. package/python3.6.2/lib/python3.6/test/test_asyncio/test_unix_events.py +1621 -0
  1293. package/python3.6.2/lib/python3.6/test/test_asyncio/test_windows_events.py +164 -0
  1294. package/python3.6.2/lib/python3.6/test/test_asyncio/test_windows_utils.py +182 -0
  1295. package/python3.6.2/lib/python3.6/test/test_asyncore.py +847 -0
  1296. package/python3.6.2/lib/python3.6/test/test_atexit.py +192 -0
  1297. package/python3.6.2/lib/python3.6/test/test_audioop.py +565 -0
  1298. package/python3.6.2/lib/python3.6/test/test_augassign.py +326 -0
  1299. package/python3.6.2/lib/python3.6/test/test_base64.py +681 -0
  1300. package/python3.6.2/lib/python3.6/test/test_baseexception.py +183 -0
  1301. package/python3.6.2/lib/python3.6/test/test_bigaddrspace.py +101 -0
  1302. package/python3.6.2/lib/python3.6/test/test_bigmem.py +1256 -0
  1303. package/python3.6.2/lib/python3.6/test/test_binascii.py +373 -0
  1304. package/python3.6.2/lib/python3.6/test/test_binhex.py +55 -0
  1305. package/python3.6.2/lib/python3.6/test/test_binop.py +441 -0
  1306. package/python3.6.2/lib/python3.6/test/test_bisect.py +328 -0
  1307. package/python3.6.2/lib/python3.6/test/test_bool.py +368 -0
  1308. package/python3.6.2/lib/python3.6/test/test_buffer.py +4396 -0
  1309. package/python3.6.2/lib/python3.6/test/test_bufio.py +73 -0
  1310. package/python3.6.2/lib/python3.6/test/test_builtin.py +1851 -0
  1311. package/python3.6.2/lib/python3.6/test/test_bytes.py +1759 -0
  1312. package/python3.6.2/lib/python3.6/test/test_bz2.py +1002 -0
  1313. package/python3.6.2/lib/python3.6/test/test_calendar.py +848 -0
  1314. package/python3.6.2/lib/python3.6/test/test_call.py +302 -0
  1315. package/python3.6.2/lib/python3.6/test/test_capi.py +753 -0
  1316. package/python3.6.2/lib/python3.6/test/test_cgi.py +539 -0
  1317. package/python3.6.2/lib/python3.6/test/test_cgitb.py +67 -0
  1318. package/python3.6.2/lib/python3.6/test/test_charmapcodec.py +53 -0
  1319. package/python3.6.2/lib/python3.6/test/test_class.py +599 -0
  1320. package/python3.6.2/lib/python3.6/test/test_cmath.py +643 -0
  1321. package/python3.6.2/lib/python3.6/test/test_cmd.py +243 -0
  1322. package/python3.6.2/lib/python3.6/test/test_cmd_line.py +494 -0
  1323. package/python3.6.2/lib/python3.6/test/test_cmd_line_script.py +648 -0
  1324. package/python3.6.2/lib/python3.6/test/test_code.py +367 -0
  1325. package/python3.6.2/lib/python3.6/test/test_code_module.py +154 -0
  1326. package/python3.6.2/lib/python3.6/test/test_codeccallbacks.py +1074 -0
  1327. package/python3.6.2/lib/python3.6/test/test_codecencodings_cn.py +96 -0
  1328. package/python3.6.2/lib/python3.6/test/test_codecencodings_hk.py +22 -0
  1329. package/python3.6.2/lib/python3.6/test/test_codecencodings_iso2022.py +41 -0
  1330. package/python3.6.2/lib/python3.6/test/test_codecencodings_jp.py +126 -0
  1331. package/python3.6.2/lib/python3.6/test/test_codecencodings_kr.py +69 -0
  1332. package/python3.6.2/lib/python3.6/test/test_codecencodings_tw.py +22 -0
  1333. package/python3.6.2/lib/python3.6/test/test_codecmaps_cn.py +26 -0
  1334. package/python3.6.2/lib/python3.6/test/test_codecmaps_hk.py +15 -0
  1335. package/python3.6.2/lib/python3.6/test/test_codecmaps_jp.py +60 -0
  1336. package/python3.6.2/lib/python3.6/test/test_codecmaps_kr.py +37 -0
  1337. package/python3.6.2/lib/python3.6/test/test_codecmaps_tw.py +27 -0
  1338. package/python3.6.2/lib/python3.6/test/test_codecs.py +3272 -0
  1339. package/python3.6.2/lib/python3.6/test/test_codeop.py +299 -0
  1340. package/python3.6.2/lib/python3.6/test/test_collections.py +1926 -0
  1341. package/python3.6.2/lib/python3.6/test/test_colorsys.py +100 -0
  1342. package/python3.6.2/lib/python3.6/test/test_compare.py +124 -0
  1343. package/python3.6.2/lib/python3.6/test/test_compile.py +720 -0
  1344. package/python3.6.2/lib/python3.6/test/test_compileall.py +547 -0
  1345. package/python3.6.2/lib/python3.6/test/test_complex.py +688 -0
  1346. package/python3.6.2/lib/python3.6/test/test_concurrent_futures.py +836 -0
  1347. package/python3.6.2/lib/python3.6/test/test_configparser.py +2096 -0
  1348. package/python3.6.2/lib/python3.6/test/test_contains.py +114 -0
  1349. package/python3.6.2/lib/python3.6/test/test_contextlib.py +990 -0
  1350. package/python3.6.2/lib/python3.6/test/test_copy.py +888 -0
  1351. package/python3.6.2/lib/python3.6/test/test_copyreg.py +126 -0
  1352. package/python3.6.2/lib/python3.6/test/test_coroutines.py +2151 -0
  1353. package/python3.6.2/lib/python3.6/test/test_cprofile.py +98 -0
  1354. package/python3.6.2/lib/python3.6/test/test_crashers.py +37 -0
  1355. package/python3.6.2/lib/python3.6/test/test_crypt.py +45 -0
  1356. package/python3.6.2/lib/python3.6/test/test_csv.py +1175 -0
  1357. package/python3.6.2/lib/python3.6/test/test_ctypes.py +9 -0
  1358. package/python3.6.2/lib/python3.6/test/test_curses.py +549 -0
  1359. package/python3.6.2/lib/python3.6/test/test_datetime.py +57 -0
  1360. package/python3.6.2/lib/python3.6/test/test_dbm.py +192 -0
  1361. package/python3.6.2/lib/python3.6/test/test_dbm_dumb.py +286 -0
  1362. package/python3.6.2/lib/python3.6/test/test_dbm_gnu.py +97 -0
  1363. package/python3.6.2/lib/python3.6/test/test_dbm_ndbm.py +52 -0
  1364. package/python3.6.2/lib/python3.6/test/test_decimal.py +5707 -0
  1365. package/python3.6.2/lib/python3.6/test/test_decorators.py +304 -0
  1366. package/python3.6.2/lib/python3.6/test/test_defaultdict.py +187 -0
  1367. package/python3.6.2/lib/python3.6/test/test_deque.py +1059 -0
  1368. package/python3.6.2/lib/python3.6/test/test_descr.py +5452 -0
  1369. package/python3.6.2/lib/python3.6/test/test_descrtut.py +486 -0
  1370. package/python3.6.2/lib/python3.6/test/test_devpoll.py +145 -0
  1371. package/python3.6.2/lib/python3.6/test/test_dict.py +1217 -0
  1372. package/python3.6.2/lib/python3.6/test/test_dict_version.py +186 -0
  1373. package/python3.6.2/lib/python3.6/test/test_dictcomps.py +86 -0
  1374. package/python3.6.2/lib/python3.6/test/test_dictviews.py +272 -0
  1375. package/python3.6.2/lib/python3.6/test/test_difflib.py +478 -0
  1376. package/python3.6.2/lib/python3.6/test/test_difflib_expect.html +526 -0
  1377. package/python3.6.2/lib/python3.6/test/test_dis.py +960 -0
  1378. package/python3.6.2/lib/python3.6/test/test_distutils.py +18 -0
  1379. package/python3.6.2/lib/python3.6/test/test_doctest.py +2962 -0
  1380. package/python3.6.2/lib/python3.6/test/test_doctest.txt +17 -0
  1381. package/python3.6.2/lib/python3.6/test/test_doctest2.py +123 -0
  1382. package/python3.6.2/lib/python3.6/test/test_doctest2.txt +14 -0
  1383. package/python3.6.2/lib/python3.6/test/test_doctest3.txt +5 -0
  1384. package/python3.6.2/lib/python3.6/test/test_doctest4.txt +11 -0
  1385. package/python3.6.2/lib/python3.6/test/test_docxmlrpc.py +198 -0
  1386. package/python3.6.2/lib/python3.6/test/test_dtrace.py +178 -0
  1387. package/python3.6.2/lib/python3.6/test/test_dummy_thread.py +256 -0
  1388. package/python3.6.2/lib/python3.6/test/test_dummy_threading.py +60 -0
  1389. package/python3.6.2/lib/python3.6/test/test_dynamic.py +138 -0
  1390. package/python3.6.2/lib/python3.6/test/test_dynamicclassattribute.py +300 -0
  1391. package/python3.6.2/lib/python3.6/test/test_eintr.py +22 -0
  1392. package/python3.6.2/lib/python3.6/test/test_email/__init__.py +166 -0
  1393. package/python3.6.2/lib/python3.6/test/test_email/__main__.py +4 -0
  1394. package/python3.6.2/lib/python3.6/test/test_email/data/PyBanner048.gif +0 -0
  1395. package/python3.6.2/lib/python3.6/test/test_email/data/audiotest.au +0 -0
  1396. package/python3.6.2/lib/python3.6/test/test_email/data/msg_01.txt +19 -0
  1397. package/python3.6.2/lib/python3.6/test/test_email/data/msg_02.txt +136 -0
  1398. package/python3.6.2/lib/python3.6/test/test_email/data/msg_03.txt +16 -0
  1399. package/python3.6.2/lib/python3.6/test/test_email/data/msg_04.txt +37 -0
  1400. package/python3.6.2/lib/python3.6/test/test_email/data/msg_05.txt +28 -0
  1401. package/python3.6.2/lib/python3.6/test/test_email/data/msg_06.txt +33 -0
  1402. package/python3.6.2/lib/python3.6/test/test_email/data/msg_07.txt +83 -0
  1403. package/python3.6.2/lib/python3.6/test/test_email/data/msg_08.txt +24 -0
  1404. package/python3.6.2/lib/python3.6/test/test_email/data/msg_09.txt +24 -0
  1405. package/python3.6.2/lib/python3.6/test/test_email/data/msg_10.txt +39 -0
  1406. package/python3.6.2/lib/python3.6/test/test_email/data/msg_11.txt +7 -0
  1407. package/python3.6.2/lib/python3.6/test/test_email/data/msg_12.txt +36 -0
  1408. package/python3.6.2/lib/python3.6/test/test_email/data/msg_12a.txt +38 -0
  1409. package/python3.6.2/lib/python3.6/test/test_email/data/msg_13.txt +94 -0
  1410. package/python3.6.2/lib/python3.6/test/test_email/data/msg_14.txt +23 -0
  1411. package/python3.6.2/lib/python3.6/test/test_email/data/msg_15.txt +52 -0
  1412. package/python3.6.2/lib/python3.6/test/test_email/data/msg_16.txt +123 -0
  1413. package/python3.6.2/lib/python3.6/test/test_email/data/msg_17.txt +12 -0
  1414. package/python3.6.2/lib/python3.6/test/test_email/data/msg_18.txt +6 -0
  1415. package/python3.6.2/lib/python3.6/test/test_email/data/msg_19.txt +43 -0
  1416. package/python3.6.2/lib/python3.6/test/test_email/data/msg_20.txt +22 -0
  1417. package/python3.6.2/lib/python3.6/test/test_email/data/msg_21.txt +20 -0
  1418. package/python3.6.2/lib/python3.6/test/test_email/data/msg_22.txt +46 -0
  1419. package/python3.6.2/lib/python3.6/test/test_email/data/msg_23.txt +8 -0
  1420. package/python3.6.2/lib/python3.6/test/test_email/data/msg_24.txt +10 -0
  1421. package/python3.6.2/lib/python3.6/test/test_email/data/msg_25.txt +117 -0
  1422. package/python3.6.2/lib/python3.6/test/test_email/data/msg_26.txt +46 -0
  1423. package/python3.6.2/lib/python3.6/test/test_email/data/msg_27.txt +15 -0
  1424. package/python3.6.2/lib/python3.6/test/test_email/data/msg_28.txt +25 -0
  1425. package/python3.6.2/lib/python3.6/test/test_email/data/msg_29.txt +22 -0
  1426. package/python3.6.2/lib/python3.6/test/test_email/data/msg_30.txt +23 -0
  1427. package/python3.6.2/lib/python3.6/test/test_email/data/msg_31.txt +15 -0
  1428. package/python3.6.2/lib/python3.6/test/test_email/data/msg_32.txt +14 -0
  1429. package/python3.6.2/lib/python3.6/test/test_email/data/msg_33.txt +29 -0
  1430. package/python3.6.2/lib/python3.6/test/test_email/data/msg_34.txt +19 -0
  1431. package/python3.6.2/lib/python3.6/test/test_email/data/msg_35.txt +4 -0
  1432. package/python3.6.2/lib/python3.6/test/test_email/data/msg_36.txt +40 -0
  1433. package/python3.6.2/lib/python3.6/test/test_email/data/msg_37.txt +22 -0
  1434. package/python3.6.2/lib/python3.6/test/test_email/data/msg_38.txt +101 -0
  1435. package/python3.6.2/lib/python3.6/test/test_email/data/msg_39.txt +83 -0
  1436. package/python3.6.2/lib/python3.6/test/test_email/data/msg_40.txt +10 -0
  1437. package/python3.6.2/lib/python3.6/test/test_email/data/msg_41.txt +8 -0
  1438. package/python3.6.2/lib/python3.6/test/test_email/data/msg_42.txt +20 -0
  1439. package/python3.6.2/lib/python3.6/test/test_email/data/msg_43.txt +217 -0
  1440. package/python3.6.2/lib/python3.6/test/test_email/data/msg_44.txt +33 -0
  1441. package/python3.6.2/lib/python3.6/test/test_email/data/msg_45.txt +33 -0
  1442. package/python3.6.2/lib/python3.6/test/test_email/data/msg_46.txt +23 -0
  1443. package/python3.6.2/lib/python3.6/test/test_email/test__encoded_words.py +192 -0
  1444. package/python3.6.2/lib/python3.6/test/test_email/test__header_value_parser.py +2723 -0
  1445. package/python3.6.2/lib/python3.6/test/test_email/test_asian_codecs.py +81 -0
  1446. package/python3.6.2/lib/python3.6/test/test_email/test_contentmanager.py +796 -0
  1447. package/python3.6.2/lib/python3.6/test/test_email/test_defect_handling.py +320 -0
  1448. package/python3.6.2/lib/python3.6/test/test_email/test_email.py +5402 -0
  1449. package/python3.6.2/lib/python3.6/test/test_email/test_generator.py +296 -0
  1450. package/python3.6.2/lib/python3.6/test/test_email/test_headerregistry.py +1653 -0
  1451. package/python3.6.2/lib/python3.6/test/test_email/test_inversion.py +70 -0
  1452. package/python3.6.2/lib/python3.6/test/test_email/test_message.py +803 -0
  1453. package/python3.6.2/lib/python3.6/test/test_email/test_parser.py +110 -0
  1454. package/python3.6.2/lib/python3.6/test/test_email/test_pickleable.py +76 -0
  1455. package/python3.6.2/lib/python3.6/test/test_email/test_policy.py +346 -0
  1456. package/python3.6.2/lib/python3.6/test/test_email/test_utils.py +163 -0
  1457. package/python3.6.2/lib/python3.6/test/test_email/torture_test.py +133 -0
  1458. package/python3.6.2/lib/python3.6/test/test_ensurepip.py +310 -0
  1459. package/python3.6.2/lib/python3.6/test/test_enum.py +2618 -0
  1460. package/python3.6.2/lib/python3.6/test/test_enumerate.py +269 -0
  1461. package/python3.6.2/lib/python3.6/test/test_eof.py +28 -0
  1462. package/python3.6.2/lib/python3.6/test/test_epoll.py +255 -0
  1463. package/python3.6.2/lib/python3.6/test/test_errno.py +35 -0
  1464. package/python3.6.2/lib/python3.6/test/test_exception_hierarchy.py +204 -0
  1465. package/python3.6.2/lib/python3.6/test/test_exception_variations.py +176 -0
  1466. package/python3.6.2/lib/python3.6/test/test_exceptions.py +1288 -0
  1467. package/python3.6.2/lib/python3.6/test/test_extcall.py +465 -0
  1468. package/python3.6.2/lib/python3.6/test/test_faulthandler.py +817 -0
  1469. package/python3.6.2/lib/python3.6/test/test_fcntl.py +152 -0
  1470. package/python3.6.2/lib/python3.6/test/test_file.py +329 -0
  1471. package/python3.6.2/lib/python3.6/test/test_file_eintr.py +252 -0
  1472. package/python3.6.2/lib/python3.6/test/test_filecmp.py +217 -0
  1473. package/python3.6.2/lib/python3.6/test/test_fileinput.py +1015 -0
  1474. package/python3.6.2/lib/python3.6/test/test_fileio.py +595 -0
  1475. package/python3.6.2/lib/python3.6/test/test_finalization.py +519 -0
  1476. package/python3.6.2/lib/python3.6/test/test_float.py +1422 -0
  1477. package/python3.6.2/lib/python3.6/test/test_flufl.py +22 -0
  1478. package/python3.6.2/lib/python3.6/test/test_fnmatch.py +128 -0
  1479. package/python3.6.2/lib/python3.6/test/test_fork1.py +112 -0
  1480. package/python3.6.2/lib/python3.6/test/test_format.py +494 -0
  1481. package/python3.6.2/lib/python3.6/test/test_fractions.py +635 -0
  1482. package/python3.6.2/lib/python3.6/test/test_frame.py +165 -0
  1483. package/python3.6.2/lib/python3.6/test/test_fstring.py +1038 -0
  1484. package/python3.6.2/lib/python3.6/test/test_ftplib.py +1091 -0
  1485. package/python3.6.2/lib/python3.6/test/test_funcattrs.py +377 -0
  1486. package/python3.6.2/lib/python3.6/test/test_functools.py +2083 -0
  1487. package/python3.6.2/lib/python3.6/test/test_future.py +108 -0
  1488. package/python3.6.2/lib/python3.6/test/test_future3.py +26 -0
  1489. package/python3.6.2/lib/python3.6/test/test_future4.py +6 -0
  1490. package/python3.6.2/lib/python3.6/test/test_future5.py +21 -0
  1491. package/python3.6.2/lib/python3.6/test/test_gc.py +1031 -0
  1492. package/python3.6.2/lib/python3.6/test/test_gdb.py +936 -0
  1493. package/python3.6.2/lib/python3.6/test/test_generator_stop.py +34 -0
  1494. package/python3.6.2/lib/python3.6/test/test_generators.py +2232 -0
  1495. package/python3.6.2/lib/python3.6/test/test_genericpath.py +537 -0
  1496. package/python3.6.2/lib/python3.6/test/test_genexps.py +285 -0
  1497. package/python3.6.2/lib/python3.6/test/test_getargs2.py +958 -0
  1498. package/python3.6.2/lib/python3.6/test/test_getopt.py +184 -0
  1499. package/python3.6.2/lib/python3.6/test/test_getpass.py +163 -0
  1500. package/python3.6.2/lib/python3.6/test/test_gettext.py +770 -0
  1501. package/python3.6.2/lib/python3.6/test/test_glob.py +317 -0
  1502. package/python3.6.2/lib/python3.6/test/test_global.py +61 -0
  1503. package/python3.6.2/lib/python3.6/test/test_grammar.py +1417 -0
  1504. package/python3.6.2/lib/python3.6/test/test_grp.py +108 -0
  1505. package/python3.6.2/lib/python3.6/test/test_gzip.py +672 -0
  1506. package/python3.6.2/lib/python3.6/test/test_hash.py +346 -0
  1507. package/python3.6.2/lib/python3.6/test/test_hashlib.py +954 -0
  1508. package/python3.6.2/lib/python3.6/test/test_heapq.py +427 -0
  1509. package/python3.6.2/lib/python3.6/test/test_hmac.py +496 -0
  1510. package/python3.6.2/lib/python3.6/test/test_html.py +103 -0
  1511. package/python3.6.2/lib/python3.6/test/test_htmlparser.py +778 -0
  1512. package/python3.6.2/lib/python3.6/test/test_http_cookiejar.py +1772 -0
  1513. package/python3.6.2/lib/python3.6/test/test_http_cookies.py +472 -0
  1514. package/python3.6.2/lib/python3.6/test/test_httplib.py +1903 -0
  1515. package/python3.6.2/lib/python3.6/test/test_httpservers.py +1060 -0
  1516. package/python3.6.2/lib/python3.6/test/test_idle.py +23 -0
  1517. package/python3.6.2/lib/python3.6/test/test_imaplib.py +998 -0
  1518. package/python3.6.2/lib/python3.6/test/test_imghdr.py +140 -0
  1519. package/python3.6.2/lib/python3.6/test/test_imp.py +416 -0
  1520. package/python3.6.2/lib/python3.6/test/test_import/__init__.py +1199 -0
  1521. package/python3.6.2/lib/python3.6/test/test_import/__main__.py +3 -0
  1522. package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/basic.py +2 -0
  1523. package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/basic2.py +1 -0
  1524. package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/indirect.py +1 -0
  1525. package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/rebinding.py +3 -0
  1526. package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/rebinding2.py +3 -0
  1527. package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/subpackage.py +2 -0
  1528. package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/subpkg/subpackage2.py +2 -0
  1529. package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/subpkg/util.py +2 -0
  1530. package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/util.py +2 -0
  1531. package/python3.6.2/lib/python3.6/test/test_import/data/package/__init__.py +2 -0
  1532. package/python3.6.2/lib/python3.6/test/test_import/data/package/submodule.py +0 -0
  1533. package/python3.6.2/lib/python3.6/test/test_import/data/package2/submodule1.py +3 -0
  1534. package/python3.6.2/lib/python3.6/test/test_import/data/package2/submodule2.py +0 -0
  1535. package/python3.6.2/lib/python3.6/test/test_importlib/__init__.py +5 -0
  1536. package/python3.6.2/lib/python3.6/test/test_importlib/__main__.py +4 -0
  1537. package/python3.6.2/lib/python3.6/test/test_importlib/abc.py +94 -0
  1538. package/python3.6.2/lib/python3.6/test/test_importlib/builtin/__init__.py +5 -0
  1539. package/python3.6.2/lib/python3.6/test/test_importlib/builtin/__main__.py +4 -0
  1540. package/python3.6.2/lib/python3.6/test/test_importlib/builtin/test_finder.py +90 -0
  1541. package/python3.6.2/lib/python3.6/test/test_importlib/builtin/test_loader.py +108 -0
  1542. package/python3.6.2/lib/python3.6/test/test_importlib/extension/__init__.py +5 -0
  1543. package/python3.6.2/lib/python3.6/test/test_importlib/extension/__main__.py +4 -0
  1544. package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_case_sensitivity.py +46 -0
  1545. package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_finder.py +44 -0
  1546. package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_loader.py +277 -0
  1547. package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_path_hook.py +31 -0
  1548. package/python3.6.2/lib/python3.6/test/test_importlib/frozen/__init__.py +5 -0
  1549. package/python3.6.2/lib/python3.6/test/test_importlib/frozen/__main__.py +4 -0
  1550. package/python3.6.2/lib/python3.6/test/test_importlib/frozen/test_finder.py +84 -0
  1551. package/python3.6.2/lib/python3.6/test/test_importlib/frozen/test_loader.py +225 -0
  1552. package/python3.6.2/lib/python3.6/test/test_importlib/import_/__init__.py +5 -0
  1553. package/python3.6.2/lib/python3.6/test/test_importlib/import_/__main__.py +4 -0
  1554. package/python3.6.2/lib/python3.6/test/test_importlib/import_/test___loader__.py +75 -0
  1555. package/python3.6.2/lib/python3.6/test/test_importlib/import_/test___package__.py +163 -0
  1556. package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_api.py +119 -0
  1557. package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_caching.py +93 -0
  1558. package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_fromlist.py +175 -0
  1559. package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_meta_path.py +125 -0
  1560. package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_packages.py +110 -0
  1561. package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_path.py +257 -0
  1562. package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_relative_imports.py +232 -0
  1563. package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/both_portions/foo/one.py +1 -0
  1564. package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/both_portions/foo/two.py +1 -0
  1565. package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/missing_directory.zip +0 -0
  1566. package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test/empty +0 -0
  1567. package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test.py +1 -0
  1568. package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/nested_portion1.zip +0 -0
  1569. package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/not_a_namespace_pkg/foo/__init__.py +0 -0
  1570. package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/not_a_namespace_pkg/foo/one.py +1 -0
  1571. package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/portion1/foo/one.py +1 -0
  1572. package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/portion2/foo/two.py +1 -0
  1573. package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/project1/parent/child/one.py +1 -0
  1574. package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/project2/parent/child/two.py +1 -0
  1575. package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/project3/parent/child/three.py +1 -0
  1576. package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/top_level_portion1.zip +0 -0
  1577. package/python3.6.2/lib/python3.6/test/test_importlib/source/__init__.py +5 -0
  1578. package/python3.6.2/lib/python3.6/test/test_importlib/source/__main__.py +4 -0
  1579. package/python3.6.2/lib/python3.6/test/test_importlib/source/test_case_sensitivity.py +85 -0
  1580. package/python3.6.2/lib/python3.6/test/test_importlib/source/test_file_loader.py +602 -0
  1581. package/python3.6.2/lib/python3.6/test/test_importlib/source/test_finder.py +236 -0
  1582. package/python3.6.2/lib/python3.6/test/test_importlib/source/test_path_hook.py +41 -0
  1583. package/python3.6.2/lib/python3.6/test/test_importlib/source/test_source_encoding.py +175 -0
  1584. package/python3.6.2/lib/python3.6/test/test_importlib/test_abc.py +953 -0
  1585. package/python3.6.2/lib/python3.6/test/test_importlib/test_api.py +449 -0
  1586. package/python3.6.2/lib/python3.6/test/test_importlib/test_lazy.py +145 -0
  1587. package/python3.6.2/lib/python3.6/test/test_importlib/test_locks.py +175 -0
  1588. package/python3.6.2/lib/python3.6/test/test_importlib/test_namespace_pkgs.py +321 -0
  1589. package/python3.6.2/lib/python3.6/test/test_importlib/test_spec.py +819 -0
  1590. package/python3.6.2/lib/python3.6/test/test_importlib/test_util.py +805 -0
  1591. package/python3.6.2/lib/python3.6/test/test_importlib/test_windows.py +109 -0
  1592. package/python3.6.2/lib/python3.6/test/test_importlib/util.py +388 -0
  1593. package/python3.6.2/lib/python3.6/test/test_index.py +275 -0
  1594. package/python3.6.2/lib/python3.6/test/test_inspect.py +3725 -0
  1595. package/python3.6.2/lib/python3.6/test/test_int.py +518 -0
  1596. package/python3.6.2/lib/python3.6/test/test_int_literal.py +143 -0
  1597. package/python3.6.2/lib/python3.6/test/test_io.py +4054 -0
  1598. package/python3.6.2/lib/python3.6/test/test_ioctl.py +91 -0
  1599. package/python3.6.2/lib/python3.6/test/test_ipaddress.py +1972 -0
  1600. package/python3.6.2/lib/python3.6/test/test_isinstance.py +280 -0
  1601. package/python3.6.2/lib/python3.6/test/test_iter.py +1016 -0
  1602. package/python3.6.2/lib/python3.6/test/test_iterlen.py +228 -0
  1603. package/python3.6.2/lib/python3.6/test/test_itertools.py +2340 -0
  1604. package/python3.6.2/lib/python3.6/test/test_json/__init__.py +56 -0
  1605. package/python3.6.2/lib/python3.6/test/test_json/__main__.py +4 -0
  1606. package/python3.6.2/lib/python3.6/test/test_json/test_decode.py +97 -0
  1607. package/python3.6.2/lib/python3.6/test/test_json/test_default.py +12 -0
  1608. package/python3.6.2/lib/python3.6/test/test_json/test_dump.py +68 -0
  1609. package/python3.6.2/lib/python3.6/test/test_json/test_encode_basestring_ascii.py +48 -0
  1610. package/python3.6.2/lib/python3.6/test/test_json/test_enum.py +120 -0
  1611. package/python3.6.2/lib/python3.6/test/test_json/test_fail.py +216 -0
  1612. package/python3.6.2/lib/python3.6/test/test_json/test_float.py +33 -0
  1613. package/python3.6.2/lib/python3.6/test/test_json/test_indent.py +67 -0
  1614. package/python3.6.2/lib/python3.6/test/test_json/test_pass1.py +75 -0
  1615. package/python3.6.2/lib/python3.6/test/test_json/test_pass2.py +18 -0
  1616. package/python3.6.2/lib/python3.6/test/test_json/test_pass3.py +24 -0
  1617. package/python3.6.2/lib/python3.6/test/test_json/test_recursion.py +100 -0
  1618. package/python3.6.2/lib/python3.6/test/test_json/test_scanstring.py +141 -0
  1619. package/python3.6.2/lib/python3.6/test/test_json/test_separators.py +50 -0
  1620. package/python3.6.2/lib/python3.6/test/test_json/test_speedups.py +71 -0
  1621. package/python3.6.2/lib/python3.6/test/test_json/test_tool.py +107 -0
  1622. package/python3.6.2/lib/python3.6/test/test_json/test_unicode.py +98 -0
  1623. package/python3.6.2/lib/python3.6/test/test_keyword.py +138 -0
  1624. package/python3.6.2/lib/python3.6/test/test_keywordonlyarg.py +189 -0
  1625. package/python3.6.2/lib/python3.6/test/test_kqueue.py +263 -0
  1626. package/python3.6.2/lib/python3.6/test/test_largefile.py +180 -0
  1627. package/python3.6.2/lib/python3.6/test/test_lib2to3.py +5 -0
  1628. package/python3.6.2/lib/python3.6/test/test_linecache.py +242 -0
  1629. package/python3.6.2/lib/python3.6/test/test_list.py +155 -0
  1630. package/python3.6.2/lib/python3.6/test/test_listcomps.py +148 -0
  1631. package/python3.6.2/lib/python3.6/test/test_locale.py +587 -0
  1632. package/python3.6.2/lib/python3.6/test/test_logging.py +4442 -0
  1633. package/python3.6.2/lib/python3.6/test/test_long.py +1322 -0
  1634. package/python3.6.2/lib/python3.6/test/test_longexp.py +10 -0
  1635. package/python3.6.2/lib/python3.6/test/test_lzma.py +1764 -0
  1636. package/python3.6.2/lib/python3.6/test/test_macpath.py +149 -0
  1637. package/python3.6.2/lib/python3.6/test/test_macurl2path.py +31 -0
  1638. package/python3.6.2/lib/python3.6/test/test_mailbox.py +2288 -0
  1639. package/python3.6.2/lib/python3.6/test/test_mailcap.py +239 -0
  1640. package/python3.6.2/lib/python3.6/test/test_marshal.py +556 -0
  1641. package/python3.6.2/lib/python3.6/test/test_math.py +1422 -0
  1642. package/python3.6.2/lib/python3.6/test/test_memoryio.py +842 -0
  1643. package/python3.6.2/lib/python3.6/test/test_memoryview.py +537 -0
  1644. package/python3.6.2/lib/python3.6/test/test_metaclass.py +265 -0
  1645. package/python3.6.2/lib/python3.6/test/test_mimetypes.py +111 -0
  1646. package/python3.6.2/lib/python3.6/test/test_minidom.py +1574 -0
  1647. package/python3.6.2/lib/python3.6/test/test_mmap.py +803 -0
  1648. package/python3.6.2/lib/python3.6/test/test_module.py +244 -0
  1649. package/python3.6.2/lib/python3.6/test/test_modulefinder.py +337 -0
  1650. package/python3.6.2/lib/python3.6/test/test_msilib.py +99 -0
  1651. package/python3.6.2/lib/python3.6/test/test_multibytecodec.py +270 -0
  1652. package/python3.6.2/lib/python3.6/test/test_multiprocessing_fork.py +13 -0
  1653. package/python3.6.2/lib/python3.6/test/test_multiprocessing_forkserver.py +12 -0
  1654. package/python3.6.2/lib/python3.6/test/test_multiprocessing_main_handling.py +290 -0
  1655. package/python3.6.2/lib/python3.6/test/test_multiprocessing_spawn.py +12 -0
  1656. package/python3.6.2/lib/python3.6/test/test_netrc.py +133 -0
  1657. package/python3.6.2/lib/python3.6/test/test_nis.py +39 -0
  1658. package/python3.6.2/lib/python3.6/test/test_nntplib.py +1581 -0
  1659. package/python3.6.2/lib/python3.6/test/test_normalization.py +108 -0
  1660. package/python3.6.2/lib/python3.6/test/test_ntpath.py +539 -0
  1661. package/python3.6.2/lib/python3.6/test/test_numeric_tower.py +202 -0
  1662. package/python3.6.2/lib/python3.6/test/test_opcodes.py +135 -0
  1663. package/python3.6.2/lib/python3.6/test/test_openpty.py +21 -0
  1664. package/python3.6.2/lib/python3.6/test/test_operator.py +609 -0
  1665. package/python3.6.2/lib/python3.6/test/test_optparse.py +1664 -0
  1666. package/python3.6.2/lib/python3.6/test/test_ordered_dict.py +787 -0
  1667. package/python3.6.2/lib/python3.6/test/test_os.py +3548 -0
  1668. package/python3.6.2/lib/python3.6/test/test_ossaudiodev.py +202 -0
  1669. package/python3.6.2/lib/python3.6/test/test_osx_env.py +34 -0
  1670. package/python3.6.2/lib/python3.6/test/test_parser.py +905 -0
  1671. package/python3.6.2/lib/python3.6/test/test_pathlib.py +2252 -0
  1672. package/python3.6.2/lib/python3.6/test/test_pdb.py +1124 -0
  1673. package/python3.6.2/lib/python3.6/test/test_peepholer.py +325 -0
  1674. package/python3.6.2/lib/python3.6/test/test_pickle.py +514 -0
  1675. package/python3.6.2/lib/python3.6/test/test_pickletools.py +99 -0
  1676. package/python3.6.2/lib/python3.6/test/test_pipes.py +203 -0
  1677. package/python3.6.2/lib/python3.6/test/test_pkg.py +295 -0
  1678. package/python3.6.2/lib/python3.6/test/test_pkgimport.py +80 -0
  1679. package/python3.6.2/lib/python3.6/test/test_pkgutil.py +491 -0
  1680. package/python3.6.2/lib/python3.6/test/test_platform.py +370 -0
  1681. package/python3.6.2/lib/python3.6/test/test_plistlib.py +662 -0
  1682. package/python3.6.2/lib/python3.6/test/test_poll.py +238 -0
  1683. package/python3.6.2/lib/python3.6/test/test_popen.py +65 -0
  1684. package/python3.6.2/lib/python3.6/test/test_poplib.py +520 -0
  1685. package/python3.6.2/lib/python3.6/test/test_posix.py +1298 -0
  1686. package/python3.6.2/lib/python3.6/test/test_posixpath.py +680 -0
  1687. package/python3.6.2/lib/python3.6/test/test_pow.py +123 -0
  1688. package/python3.6.2/lib/python3.6/test/test_pprint.py +1012 -0
  1689. package/python3.6.2/lib/python3.6/test/test_print.py +193 -0
  1690. package/python3.6.2/lib/python3.6/test/test_profile.py +187 -0
  1691. package/python3.6.2/lib/python3.6/test/test_property.py +272 -0
  1692. package/python3.6.2/lib/python3.6/test/test_pstats.py +38 -0
  1693. package/python3.6.2/lib/python3.6/test/test_pty.py +316 -0
  1694. package/python3.6.2/lib/python3.6/test/test_pulldom.py +342 -0
  1695. package/python3.6.2/lib/python3.6/test/test_pwd.py +125 -0
  1696. package/python3.6.2/lib/python3.6/test/test_py_compile.py +127 -0
  1697. package/python3.6.2/lib/python3.6/test/test_pyclbr.py +176 -0
  1698. package/python3.6.2/lib/python3.6/test/test_pydoc.py +1107 -0
  1699. package/python3.6.2/lib/python3.6/test/test_pyexpat.py +733 -0
  1700. package/python3.6.2/lib/python3.6/test/test_queue.py +362 -0
  1701. package/python3.6.2/lib/python3.6/test/test_quopri.py +210 -0
  1702. package/python3.6.2/lib/python3.6/test/test_raise.py +419 -0
  1703. package/python3.6.2/lib/python3.6/test/test_random.py +939 -0
  1704. package/python3.6.2/lib/python3.6/test/test_range.py +693 -0
  1705. package/python3.6.2/lib/python3.6/test/test_re.py +2087 -0
  1706. package/python3.6.2/lib/python3.6/test/test_readline.py +309 -0
  1707. package/python3.6.2/lib/python3.6/test/test_regrtest.py +967 -0
  1708. package/python3.6.2/lib/python3.6/test/test_repl.py +62 -0
  1709. package/python3.6.2/lib/python3.6/test/test_reprlib.py +405 -0
  1710. package/python3.6.2/lib/python3.6/test/test_resource.py +180 -0
  1711. package/python3.6.2/lib/python3.6/test/test_richcmp.py +355 -0
  1712. package/python3.6.2/lib/python3.6/test/test_rlcompleter.py +141 -0
  1713. package/python3.6.2/lib/python3.6/test/test_robotparser.py +335 -0
  1714. package/python3.6.2/lib/python3.6/test/test_runpy.py +749 -0
  1715. package/python3.6.2/lib/python3.6/test/test_sax.py +1273 -0
  1716. package/python3.6.2/lib/python3.6/test/test_sched.py +204 -0
  1717. package/python3.6.2/lib/python3.6/test/test_scope.py +761 -0
  1718. package/python3.6.2/lib/python3.6/test/test_script_helper.py +110 -0
  1719. package/python3.6.2/lib/python3.6/test/test_secrets.py +124 -0
  1720. package/python3.6.2/lib/python3.6/test/test_select.py +82 -0
  1721. package/python3.6.2/lib/python3.6/test/test_selectors.py +526 -0
  1722. package/python3.6.2/lib/python3.6/test/test_set.py +1903 -0
  1723. package/python3.6.2/lib/python3.6/test/test_setcomps.py +151 -0
  1724. package/python3.6.2/lib/python3.6/test/test_shelve.py +228 -0
  1725. package/python3.6.2/lib/python3.6/test/test_shlex.py +318 -0
  1726. package/python3.6.2/lib/python3.6/test/test_shutil.py +1925 -0
  1727. package/python3.6.2/lib/python3.6/test/test_signal.py +1093 -0
  1728. package/python3.6.2/lib/python3.6/test/test_site.py +595 -0
  1729. package/python3.6.2/lib/python3.6/test/test_slice.py +255 -0
  1730. package/python3.6.2/lib/python3.6/test/test_smtpd.py +1013 -0
  1731. package/python3.6.2/lib/python3.6/test/test_smtplib.py +1292 -0
  1732. package/python3.6.2/lib/python3.6/test/test_smtpnet.py +83 -0
  1733. package/python3.6.2/lib/python3.6/test/test_sndhdr.py +37 -0
  1734. package/python3.6.2/lib/python3.6/test/test_socket.py +5648 -0
  1735. package/python3.6.2/lib/python3.6/test/test_socketserver.py +505 -0
  1736. package/python3.6.2/lib/python3.6/test/test_sort.py +265 -0
  1737. package/python3.6.2/lib/python3.6/test/test_source_encoding.py +225 -0
  1738. package/python3.6.2/lib/python3.6/test/test_spwd.py +75 -0
  1739. package/python3.6.2/lib/python3.6/test/test_sqlite.py +24 -0
  1740. package/python3.6.2/lib/python3.6/test/test_ssl.py +3663 -0
  1741. package/python3.6.2/lib/python3.6/test/test_startfile.py +34 -0
  1742. package/python3.6.2/lib/python3.6/test/test_stat.py +234 -0
  1743. package/python3.6.2/lib/python3.6/test/test_statistics.py +1992 -0
  1744. package/python3.6.2/lib/python3.6/test/test_strftime.py +206 -0
  1745. package/python3.6.2/lib/python3.6/test/test_string.py +439 -0
  1746. package/python3.6.2/lib/python3.6/test/test_string_literals.py +249 -0
  1747. package/python3.6.2/lib/python3.6/test/test_stringprep.py +92 -0
  1748. package/python3.6.2/lib/python3.6/test/test_strptime.py +673 -0
  1749. package/python3.6.2/lib/python3.6/test/test_strtod.py +433 -0
  1750. package/python3.6.2/lib/python3.6/test/test_struct.py +756 -0
  1751. package/python3.6.2/lib/python3.6/test/test_structmembers.py +144 -0
  1752. package/python3.6.2/lib/python3.6/test/test_structseq.py +126 -0
  1753. package/python3.6.2/lib/python3.6/test/test_subclassinit.py +284 -0
  1754. package/python3.6.2/lib/python3.6/test/test_subprocess.py +3005 -0
  1755. package/python3.6.2/lib/python3.6/test/test_sunau.py +121 -0
  1756. package/python3.6.2/lib/python3.6/test/test_sundry.py +57 -0
  1757. package/python3.6.2/lib/python3.6/test/test_super.py +347 -0
  1758. package/python3.6.2/lib/python3.6/test/test_support.py +459 -0
  1759. package/python3.6.2/lib/python3.6/test/test_symbol.py +54 -0
  1760. package/python3.6.2/lib/python3.6/test/test_symtable.py +193 -0
  1761. package/python3.6.2/lib/python3.6/test/test_syntax.py +618 -0
  1762. package/python3.6.2/lib/python3.6/test/test_sys.py +1270 -0
  1763. package/python3.6.2/lib/python3.6/test/test_sys_setprofile.py +376 -0
  1764. package/python3.6.2/lib/python3.6/test/test_sys_settrace.py +854 -0
  1765. package/python3.6.2/lib/python3.6/test/test_sysconfig.py +445 -0
  1766. package/python3.6.2/lib/python3.6/test/test_syslog.py +40 -0
  1767. package/python3.6.2/lib/python3.6/test/test_tarfile.py +2635 -0
  1768. package/python3.6.2/lib/python3.6/test/test_tcl.py +715 -0
  1769. package/python3.6.2/lib/python3.6/test/test_telnetlib.py +401 -0
  1770. package/python3.6.2/lib/python3.6/test/test_tempfile.py +1458 -0
  1771. package/python3.6.2/lib/python3.6/test/test_textwrap.py +981 -0
  1772. package/python3.6.2/lib/python3.6/test/test_thread.py +269 -0
  1773. package/python3.6.2/lib/python3.6/test/test_threaded_import.py +254 -0
  1774. package/python3.6.2/lib/python3.6/test/test_threadedtempfile.py +62 -0
  1775. package/python3.6.2/lib/python3.6/test/test_threading.py +1170 -0
  1776. package/python3.6.2/lib/python3.6/test/test_threading_local.py +220 -0
  1777. package/python3.6.2/lib/python3.6/test/test_threadsignals.py +227 -0
  1778. package/python3.6.2/lib/python3.6/test/test_time.py +1000 -0
  1779. package/python3.6.2/lib/python3.6/test/test_timeit.py +381 -0
  1780. package/python3.6.2/lib/python3.6/test/test_timeout.py +303 -0
  1781. package/python3.6.2/lib/python3.6/test/test_tix.py +32 -0
  1782. package/python3.6.2/lib/python3.6/test/test_tk.py +15 -0
  1783. package/python3.6.2/lib/python3.6/test/test_tokenize.py +1590 -0
  1784. package/python3.6.2/lib/python3.6/test/test_tools/__init__.py +24 -0
  1785. package/python3.6.2/lib/python3.6/test/test_tools/__main__.py +4 -0
  1786. package/python3.6.2/lib/python3.6/test/test_tools/test_fixcid.py +92 -0
  1787. package/python3.6.2/lib/python3.6/test/test_tools/test_gprof2html.py +35 -0
  1788. package/python3.6.2/lib/python3.6/test/test_tools/test_i18n.py +72 -0
  1789. package/python3.6.2/lib/python3.6/test/test_tools/test_md5sum.py +76 -0
  1790. package/python3.6.2/lib/python3.6/test/test_tools/test_pdeps.py +32 -0
  1791. package/python3.6.2/lib/python3.6/test/test_tools/test_pindent.py +339 -0
  1792. package/python3.6.2/lib/python3.6/test/test_tools/test_reindent.py +35 -0
  1793. package/python3.6.2/lib/python3.6/test/test_tools/test_sundry.py +53 -0
  1794. package/python3.6.2/lib/python3.6/test/test_tools/test_unparse.py +313 -0
  1795. package/python3.6.2/lib/python3.6/test/test_trace.py +391 -0
  1796. package/python3.6.2/lib/python3.6/test/test_traceback.py +1111 -0
  1797. package/python3.6.2/lib/python3.6/test/test_tracemalloc.py +994 -0
  1798. package/python3.6.2/lib/python3.6/test/test_ttk_guionly.py +34 -0
  1799. package/python3.6.2/lib/python3.6/test/test_ttk_textonly.py +13 -0
  1800. package/python3.6.2/lib/python3.6/test/test_tuple.py +221 -0
  1801. package/python3.6.2/lib/python3.6/test/test_turtle.py +436 -0
  1802. package/python3.6.2/lib/python3.6/test/test_typechecks.py +71 -0
  1803. package/python3.6.2/lib/python3.6/test/test_types.py +1550 -0
  1804. package/python3.6.2/lib/python3.6/test/test_typing.py +2577 -0
  1805. package/python3.6.2/lib/python3.6/test/test_ucn.py +237 -0
  1806. package/python3.6.2/lib/python3.6/test/test_unary.py +53 -0
  1807. package/python3.6.2/lib/python3.6/test/test_unicode.py +2894 -0
  1808. package/python3.6.2/lib/python3.6/test/test_unicode_file.py +140 -0
  1809. package/python3.6.2/lib/python3.6/test/test_unicode_file_functions.py +195 -0
  1810. package/python3.6.2/lib/python3.6/test/test_unicode_identifiers.py +31 -0
  1811. package/python3.6.2/lib/python3.6/test/test_unicodedata.py +316 -0
  1812. package/python3.6.2/lib/python3.6/test/test_unittest.py +16 -0
  1813. package/python3.6.2/lib/python3.6/test/test_univnewlines.py +123 -0
  1814. package/python3.6.2/lib/python3.6/test/test_unpack.py +151 -0
  1815. package/python3.6.2/lib/python3.6/test/test_unpack_ex.py +365 -0
  1816. package/python3.6.2/lib/python3.6/test/test_urllib.py +1572 -0
  1817. package/python3.6.2/lib/python3.6/test/test_urllib2.py +1930 -0
  1818. package/python3.6.2/lib/python3.6/test/test_urllib2_localnet.py +679 -0
  1819. package/python3.6.2/lib/python3.6/test/test_urllib2net.py +329 -0
  1820. package/python3.6.2/lib/python3.6/test/test_urllib_response.py +59 -0
  1821. package/python3.6.2/lib/python3.6/test/test_urllibnet.py +218 -0
  1822. package/python3.6.2/lib/python3.6/test/test_urlparse.py +1122 -0
  1823. package/python3.6.2/lib/python3.6/test/test_userdict.py +220 -0
  1824. package/python3.6.2/lib/python3.6/test/test_userlist.py +63 -0
  1825. package/python3.6.2/lib/python3.6/test/test_userstring.py +44 -0
  1826. package/python3.6.2/lib/python3.6/test/test_utf8source.py +43 -0
  1827. package/python3.6.2/lib/python3.6/test/test_uu.py +260 -0
  1828. package/python3.6.2/lib/python3.6/test/test_uuid.py +511 -0
  1829. package/python3.6.2/lib/python3.6/test/test_venv.py +433 -0
  1830. package/python3.6.2/lib/python3.6/test/test_wait3.py +38 -0
  1831. package/python3.6.2/lib/python3.6/test/test_wait4.py +39 -0
  1832. package/python3.6.2/lib/python3.6/test/test_warnings/__init__.py +1216 -0
  1833. package/python3.6.2/lib/python3.6/test/test_warnings/__main__.py +3 -0
  1834. package/python3.6.2/lib/python3.6/test/test_warnings/data/import_warning.py +3 -0
  1835. package/python3.6.2/lib/python3.6/test/test_warnings/data/stacklevel.py +9 -0
  1836. package/python3.6.2/lib/python3.6/test/test_wave.py +113 -0
  1837. package/python3.6.2/lib/python3.6/test/test_weakref.py +1952 -0
  1838. package/python3.6.2/lib/python3.6/test/test_weakset.py +439 -0
  1839. package/python3.6.2/lib/python3.6/test/test_webbrowser.py +217 -0
  1840. package/python3.6.2/lib/python3.6/test/test_winconsoleio.py +191 -0
  1841. package/python3.6.2/lib/python3.6/test/test_winreg.py +498 -0
  1842. package/python3.6.2/lib/python3.6/test/test_winsound.py +150 -0
  1843. package/python3.6.2/lib/python3.6/test/test_with.py +746 -0
  1844. package/python3.6.2/lib/python3.6/test/test_wsgiref.py +785 -0
  1845. package/python3.6.2/lib/python3.6/test/test_xdrlib.py +77 -0
  1846. package/python3.6.2/lib/python3.6/test/test_xml_dom_minicompat.py +138 -0
  1847. package/python3.6.2/lib/python3.6/test/test_xml_etree.py +3166 -0
  1848. package/python3.6.2/lib/python3.6/test/test_xml_etree_c.py +188 -0
  1849. package/python3.6.2/lib/python3.6/test/test_xmlrpc.py +1415 -0
  1850. package/python3.6.2/lib/python3.6/test/test_xmlrpc_net.py +32 -0
  1851. package/python3.6.2/lib/python3.6/test/test_yield_from.py +1052 -0
  1852. package/python3.6.2/lib/python3.6/test/test_zipapp.py +349 -0
  1853. package/python3.6.2/lib/python3.6/test/test_zipfile.py +2241 -0
  1854. package/python3.6.2/lib/python3.6/test/test_zipfile64.py +155 -0
  1855. package/python3.6.2/lib/python3.6/test/test_zipimport.py +759 -0
  1856. package/python3.6.2/lib/python3.6/test/test_zipimport_support.py +244 -0
  1857. package/python3.6.2/lib/python3.6/test/test_zlib.py +898 -0
  1858. package/python3.6.2/lib/python3.6/test/testcodec.py +48 -0
  1859. package/python3.6.2/lib/python3.6/test/testtar.tar +0 -0
  1860. package/python3.6.2/lib/python3.6/test/tf_inherit_check.py +27 -0
  1861. package/python3.6.2/lib/python3.6/test/threaded_import_hangers.py +45 -0
  1862. package/python3.6.2/lib/python3.6/test/time_hashlib.py +88 -0
  1863. package/python3.6.2/lib/python3.6/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt +13 -0
  1864. package/python3.6.2/lib/python3.6/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt +11 -0
  1865. package/python3.6.2/lib/python3.6/test/tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt +13 -0
  1866. package/python3.6.2/lib/python3.6/test/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt +12 -0
  1867. package/python3.6.2/lib/python3.6/test/tokenize_tests.txt +189 -0
  1868. package/python3.6.2/lib/python3.6/test/tracedmodules/__init__.py +4 -0
  1869. package/python3.6.2/lib/python3.6/test/tracedmodules/testmod.py +9 -0
  1870. package/python3.6.2/lib/python3.6/test/win_console_handler.py +49 -0
  1871. package/python3.6.2/lib/python3.6/test/wrongcert.pem +32 -0
  1872. package/python3.6.2/lib/python3.6/test/xmltestdata/expat224_utf8_bug.xml +2 -0
  1873. package/python3.6.2/lib/python3.6/test/xmltestdata/simple-ns.xml +7 -0
  1874. package/python3.6.2/lib/python3.6/test/xmltestdata/simple.xml +6 -0
  1875. package/python3.6.2/lib/python3.6/test/xmltestdata/test.xml +115 -0
  1876. package/python3.6.2/lib/python3.6/test/xmltestdata/test.xml.out +115 -0
  1877. package/python3.6.2/lib/python3.6/test/xmltests.py +21 -0
  1878. package/python3.6.2/lib/python3.6/test/zip_cp437_header.zip +0 -0
  1879. package/python3.6.2/lib/python3.6/test/zipdir.zip +0 -0
  1880. package/python3.6.2/lib/python3.6/textwrap.py +488 -0
  1881. package/python3.6.2/lib/python3.6/this.py +28 -0
  1882. package/python3.6.2/lib/python3.6/threading.py +1357 -0
  1883. package/python3.6.2/lib/python3.6/timeit.py +362 -0
  1884. package/python3.6.2/lib/python3.6/tkinter/__init__.py +4002 -0
  1885. package/python3.6.2/lib/python3.6/tkinter/__main__.py +7 -0
  1886. package/python3.6.2/lib/python3.6/tkinter/colorchooser.py +72 -0
  1887. package/python3.6.2/lib/python3.6/tkinter/commondialog.py +55 -0
  1888. package/python3.6.2/lib/python3.6/tkinter/constants.py +110 -0
  1889. package/python3.6.2/lib/python3.6/tkinter/dialog.py +46 -0
  1890. package/python3.6.2/lib/python3.6/tkinter/dnd.py +321 -0
  1891. package/python3.6.2/lib/python3.6/tkinter/filedialog.py +479 -0
  1892. package/python3.6.2/lib/python3.6/tkinter/font.py +232 -0
  1893. package/python3.6.2/lib/python3.6/tkinter/messagebox.py +134 -0
  1894. package/python3.6.2/lib/python3.6/tkinter/scrolledtext.py +54 -0
  1895. package/python3.6.2/lib/python3.6/tkinter/simpledialog.py +423 -0
  1896. package/python3.6.2/lib/python3.6/tkinter/test/README +14 -0
  1897. package/python3.6.2/lib/python3.6/tkinter/test/__init__.py +0 -0
  1898. package/python3.6.2/lib/python3.6/tkinter/test/runtktests.py +69 -0
  1899. package/python3.6.2/lib/python3.6/tkinter/test/support.py +105 -0
  1900. package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/__init__.py +0 -0
  1901. package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_font.py +96 -0
  1902. package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_geometry_managers.py +906 -0
  1903. package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_images.py +327 -0
  1904. package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_loadtk.py +46 -0
  1905. package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_misc.py +55 -0
  1906. package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_text.py +47 -0
  1907. package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_variables.py +310 -0
  1908. package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_widgets.py +1204 -0
  1909. package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/__init__.py +0 -0
  1910. package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/test_extensions.py +323 -0
  1911. package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/test_functions.py +461 -0
  1912. package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/test_style.py +92 -0
  1913. package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/test_widgets.py +1707 -0
  1914. package/python3.6.2/lib/python3.6/tkinter/test/widget_tests.py +548 -0
  1915. package/python3.6.2/lib/python3.6/tkinter/tix.py +1946 -0
  1916. package/python3.6.2/lib/python3.6/tkinter/ttk.py +1655 -0
  1917. package/python3.6.2/lib/python3.6/token.py +143 -0
  1918. package/python3.6.2/lib/python3.6/tokenize.py +793 -0
  1919. package/python3.6.2/lib/python3.6/trace.py +742 -0
  1920. package/python3.6.2/lib/python3.6/traceback.py +600 -0
  1921. package/python3.6.2/lib/python3.6/tracemalloc.py +524 -0
  1922. package/python3.6.2/lib/python3.6/tty.py +36 -0
  1923. package/python3.6.2/lib/python3.6/turtle.py +4139 -0
  1924. package/python3.6.2/lib/python3.6/turtledemo/__init__.py +14 -0
  1925. package/python3.6.2/lib/python3.6/turtledemo/__main__.py +386 -0
  1926. package/python3.6.2/lib/python3.6/turtledemo/bytedesign.py +161 -0
  1927. package/python3.6.2/lib/python3.6/turtledemo/chaos.py +59 -0
  1928. package/python3.6.2/lib/python3.6/turtledemo/clock.py +132 -0
  1929. package/python3.6.2/lib/python3.6/turtledemo/colormixer.py +58 -0
  1930. package/python3.6.2/lib/python3.6/turtledemo/forest.py +108 -0
  1931. package/python3.6.2/lib/python3.6/turtledemo/fractalcurves.py +138 -0
  1932. package/python3.6.2/lib/python3.6/turtledemo/lindenmayer.py +119 -0
  1933. package/python3.6.2/lib/python3.6/turtledemo/minimal_hanoi.py +79 -0
  1934. package/python3.6.2/lib/python3.6/turtledemo/nim.py +226 -0
  1935. package/python3.6.2/lib/python3.6/turtledemo/paint.py +54 -0
  1936. package/python3.6.2/lib/python3.6/turtledemo/peace.py +61 -0
  1937. package/python3.6.2/lib/python3.6/turtledemo/penrose.py +181 -0
  1938. package/python3.6.2/lib/python3.6/turtledemo/planet_and_moon.py +111 -0
  1939. package/python3.6.2/lib/python3.6/turtledemo/round_dance.py +86 -0
  1940. package/python3.6.2/lib/python3.6/turtledemo/sorting_animate.py +204 -0
  1941. package/python3.6.2/lib/python3.6/turtledemo/tree.py +63 -0
  1942. package/python3.6.2/lib/python3.6/turtledemo/turtle.cfg +10 -0
  1943. package/python3.6.2/lib/python3.6/turtledemo/two_canvases.py +54 -0
  1944. package/python3.6.2/lib/python3.6/turtledemo/wikipedia.py +65 -0
  1945. package/python3.6.2/lib/python3.6/turtledemo/yinyang.py +49 -0
  1946. package/python3.6.2/lib/python3.6/types.py +266 -0
  1947. package/python3.6.2/lib/python3.6/typing.py +2403 -0
  1948. package/python3.6.2/lib/python3.6/unittest/__init__.py +78 -0
  1949. package/python3.6.2/lib/python3.6/unittest/__main__.py +18 -0
  1950. package/python3.6.2/lib/python3.6/unittest/case.py +1429 -0
  1951. package/python3.6.2/lib/python3.6/unittest/loader.py +508 -0
  1952. package/python3.6.2/lib/python3.6/unittest/main.py +260 -0
  1953. package/python3.6.2/lib/python3.6/unittest/mock.py +2407 -0
  1954. package/python3.6.2/lib/python3.6/unittest/result.py +216 -0
  1955. package/python3.6.2/lib/python3.6/unittest/runner.py +221 -0
  1956. package/python3.6.2/lib/python3.6/unittest/signals.py +71 -0
  1957. package/python3.6.2/lib/python3.6/unittest/suite.py +321 -0
  1958. package/python3.6.2/lib/python3.6/unittest/test/__init__.py +22 -0
  1959. package/python3.6.2/lib/python3.6/unittest/test/__main__.py +18 -0
  1960. package/python3.6.2/lib/python3.6/unittest/test/_test_warnings.py +73 -0
  1961. package/python3.6.2/lib/python3.6/unittest/test/dummy.py +1 -0
  1962. package/python3.6.2/lib/python3.6/unittest/test/support.py +138 -0
  1963. package/python3.6.2/lib/python3.6/unittest/test/test_assertions.py +411 -0
  1964. package/python3.6.2/lib/python3.6/unittest/test/test_break.py +291 -0
  1965. package/python3.6.2/lib/python3.6/unittest/test/test_case.py +1833 -0
  1966. package/python3.6.2/lib/python3.6/unittest/test/test_discovery.py +872 -0
  1967. package/python3.6.2/lib/python3.6/unittest/test/test_functiontestcase.py +148 -0
  1968. package/python3.6.2/lib/python3.6/unittest/test/test_loader.py +1529 -0
  1969. package/python3.6.2/lib/python3.6/unittest/test/test_program.py +414 -0
  1970. package/python3.6.2/lib/python3.6/unittest/test/test_result.py +695 -0
  1971. package/python3.6.2/lib/python3.6/unittest/test/test_runner.py +353 -0
  1972. package/python3.6.2/lib/python3.6/unittest/test/test_setups.py +507 -0
  1973. package/python3.6.2/lib/python3.6/unittest/test/test_skipping.py +260 -0
  1974. package/python3.6.2/lib/python3.6/unittest/test/test_suite.py +447 -0
  1975. package/python3.6.2/lib/python3.6/unittest/test/testmock/__init__.py +17 -0
  1976. package/python3.6.2/lib/python3.6/unittest/test/testmock/__main__.py +18 -0
  1977. package/python3.6.2/lib/python3.6/unittest/test/testmock/support.py +21 -0
  1978. package/python3.6.2/lib/python3.6/unittest/test/testmock/testcallable.py +151 -0
  1979. package/python3.6.2/lib/python3.6/unittest/test/testmock/testhelpers.py +946 -0
  1980. package/python3.6.2/lib/python3.6/unittest/test/testmock/testmagicmethods.py +468 -0
  1981. package/python3.6.2/lib/python3.6/unittest/test/testmock/testmock.py +1569 -0
  1982. package/python3.6.2/lib/python3.6/unittest/test/testmock/testpatch.py +1853 -0
  1983. package/python3.6.2/lib/python3.6/unittest/test/testmock/testsentinel.py +28 -0
  1984. package/python3.6.2/lib/python3.6/unittest/test/testmock/testwith.py +301 -0
  1985. package/python3.6.2/lib/python3.6/unittest/util.py +177 -0
  1986. package/python3.6.2/lib/python3.6/urllib/__init__.py +0 -0
  1987. package/python3.6.2/lib/python3.6/urllib/error.py +77 -0
  1988. package/python3.6.2/lib/python3.6/urllib/parse.py +1021 -0
  1989. package/python3.6.2/lib/python3.6/urllib/request.py +2739 -0
  1990. package/python3.6.2/lib/python3.6/urllib/response.py +80 -0
  1991. package/python3.6.2/lib/python3.6/urllib/robotparser.py +250 -0
  1992. package/python3.6.2/lib/python3.6/uu.py +199 -0
  1993. package/python3.6.2/lib/python3.6/uuid.py +629 -0
  1994. package/python3.6.2/lib/python3.6/venv/__init__.py +425 -0
  1995. package/python3.6.2/lib/python3.6/venv/__main__.py +10 -0
  1996. package/python3.6.2/lib/python3.6/venv/scripts/nt/Activate.ps1 +51 -0
  1997. package/python3.6.2/lib/python3.6/venv/scripts/nt/activate.bat +32 -0
  1998. package/python3.6.2/lib/python3.6/venv/scripts/nt/deactivate.bat +21 -0
  1999. package/python3.6.2/lib/python3.6/warnings.py +526 -0
  2000. package/python3.6.2/lib/python3.6/wave.py +505 -0
  2001. package/python3.6.2/lib/python3.6/weakref.py +632 -0
  2002. package/python3.6.2/lib/python3.6/webbrowser.py +664 -0
  2003. package/python3.6.2/lib/python3.6/wsgiref/__init__.py +23 -0
  2004. package/python3.6.2/lib/python3.6/wsgiref/handlers.py +557 -0
  2005. package/python3.6.2/lib/python3.6/wsgiref/headers.py +184 -0
  2006. package/python3.6.2/lib/python3.6/wsgiref/simple_server.py +164 -0
  2007. package/python3.6.2/lib/python3.6/wsgiref/util.py +165 -0
  2008. package/python3.6.2/lib/python3.6/wsgiref/validate.py +443 -0
  2009. package/python3.6.2/lib/python3.6/xdrlib.py +241 -0
  2010. package/python3.6.2/lib/python3.6/xml/__init__.py +20 -0
  2011. package/python3.6.2/lib/python3.6/xml/dom/NodeFilter.py +27 -0
  2012. package/python3.6.2/lib/python3.6/xml/dom/__init__.py +140 -0
  2013. package/python3.6.2/lib/python3.6/xml/dom/domreg.py +97 -0
  2014. package/python3.6.2/lib/python3.6/xml/dom/expatbuilder.py +965 -0
  2015. package/python3.6.2/lib/python3.6/xml/dom/minicompat.py +109 -0
  2016. package/python3.6.2/lib/python3.6/xml/dom/minidom.py +1981 -0
  2017. package/python3.6.2/lib/python3.6/xml/dom/pulldom.py +342 -0
  2018. package/python3.6.2/lib/python3.6/xml/dom/xmlbuilder.py +410 -0
  2019. package/python3.6.2/lib/python3.6/xml/etree/ElementInclude.py +143 -0
  2020. package/python3.6.2/lib/python3.6/xml/etree/ElementPath.py +314 -0
  2021. package/python3.6.2/lib/python3.6/xml/etree/ElementTree.py +1656 -0
  2022. package/python3.6.2/lib/python3.6/xml/etree/__init__.py +33 -0
  2023. package/python3.6.2/lib/python3.6/xml/etree/cElementTree.py +3 -0
  2024. package/python3.6.2/lib/python3.6/xml/parsers/__init__.py +8 -0
  2025. package/python3.6.2/lib/python3.6/xml/parsers/expat.py +8 -0
  2026. package/python3.6.2/lib/python3.6/xml/sax/__init__.py +107 -0
  2027. package/python3.6.2/lib/python3.6/xml/sax/_exceptions.py +131 -0
  2028. package/python3.6.2/lib/python3.6/xml/sax/expatreader.py +446 -0
  2029. package/python3.6.2/lib/python3.6/xml/sax/handler.py +342 -0
  2030. package/python3.6.2/lib/python3.6/xml/sax/saxutils.py +368 -0
  2031. package/python3.6.2/lib/python3.6/xml/sax/xmlreader.py +380 -0
  2032. package/python3.6.2/lib/python3.6/xmlrpc/__init__.py +1 -0
  2033. package/python3.6.2/lib/python3.6/xmlrpc/client.py +1518 -0
  2034. package/python3.6.2/lib/python3.6/xmlrpc/server.py +1002 -0
  2035. package/python3.6.2/lib/python3.6/zipapp.py +201 -0
  2036. package/python3.6.2/lib/python3.6/zipfile.py +2036 -0
  2037. package/python3.6.2/lib/python3.6/LICENSE.txt +0 -254
  2038. package/python3.6.2/lib/python3.6/__future__.pyc +0 -0
  2039. package/python3.6.2/lib/python3.6/__phello__.foo.pyc +0 -0
  2040. package/python3.6.2/lib/python3.6/_bootlocale.pyc +0 -0
  2041. package/python3.6.2/lib/python3.6/_collections_abc.pyc +0 -0
  2042. package/python3.6.2/lib/python3.6/_compat_pickle.pyc +0 -0
  2043. package/python3.6.2/lib/python3.6/_compression.pyc +0 -0
  2044. package/python3.6.2/lib/python3.6/_dummy_thread.pyc +0 -0
  2045. package/python3.6.2/lib/python3.6/_markupbase.pyc +0 -0
  2046. package/python3.6.2/lib/python3.6/_osx_support.pyc +0 -0
  2047. package/python3.6.2/lib/python3.6/_pydecimal.pyc +0 -0
  2048. package/python3.6.2/lib/python3.6/_pyio.pyc +0 -0
  2049. package/python3.6.2/lib/python3.6/_sitebuiltins.pyc +0 -0
  2050. package/python3.6.2/lib/python3.6/_strptime.pyc +0 -0
  2051. package/python3.6.2/lib/python3.6/_threading_local.pyc +0 -0
  2052. package/python3.6.2/lib/python3.6/_weakrefset.pyc +0 -0
  2053. package/python3.6.2/lib/python3.6/abc.pyc +0 -0
  2054. package/python3.6.2/lib/python3.6/aifc.pyc +0 -0
  2055. package/python3.6.2/lib/python3.6/android.pyc +0 -0
  2056. package/python3.6.2/lib/python3.6/antigravity.pyc +0 -0
  2057. package/python3.6.2/lib/python3.6/argparse.pyc +0 -0
  2058. package/python3.6.2/lib/python3.6/ast.pyc +0 -0
  2059. package/python3.6.2/lib/python3.6/asynchat.pyc +0 -0
  2060. package/python3.6.2/lib/python3.6/asyncio/__init__.pyc +0 -0
  2061. package/python3.6.2/lib/python3.6/asyncio/base_events.pyc +0 -0
  2062. package/python3.6.2/lib/python3.6/asyncio/base_futures.pyc +0 -0
  2063. package/python3.6.2/lib/python3.6/asyncio/base_subprocess.pyc +0 -0
  2064. package/python3.6.2/lib/python3.6/asyncio/base_tasks.pyc +0 -0
  2065. package/python3.6.2/lib/python3.6/asyncio/compat.pyc +0 -0
  2066. package/python3.6.2/lib/python3.6/asyncio/constants.pyc +0 -0
  2067. package/python3.6.2/lib/python3.6/asyncio/coroutines.pyc +0 -0
  2068. package/python3.6.2/lib/python3.6/asyncio/events.pyc +0 -0
  2069. package/python3.6.2/lib/python3.6/asyncio/futures.pyc +0 -0
  2070. package/python3.6.2/lib/python3.6/asyncio/locks.pyc +0 -0
  2071. package/python3.6.2/lib/python3.6/asyncio/log.pyc +0 -0
  2072. package/python3.6.2/lib/python3.6/asyncio/proactor_events.pyc +0 -0
  2073. package/python3.6.2/lib/python3.6/asyncio/protocols.pyc +0 -0
  2074. package/python3.6.2/lib/python3.6/asyncio/queues.pyc +0 -0
  2075. package/python3.6.2/lib/python3.6/asyncio/selector_events.pyc +0 -0
  2076. package/python3.6.2/lib/python3.6/asyncio/sslproto.pyc +0 -0
  2077. package/python3.6.2/lib/python3.6/asyncio/streams.pyc +0 -0
  2078. package/python3.6.2/lib/python3.6/asyncio/subprocess.pyc +0 -0
  2079. package/python3.6.2/lib/python3.6/asyncio/tasks.pyc +0 -0
  2080. package/python3.6.2/lib/python3.6/asyncio/test_utils.pyc +0 -0
  2081. package/python3.6.2/lib/python3.6/asyncio/transports.pyc +0 -0
  2082. package/python3.6.2/lib/python3.6/asyncio/unix_events.pyc +0 -0
  2083. package/python3.6.2/lib/python3.6/asyncio/windows_events.pyc +0 -0
  2084. package/python3.6.2/lib/python3.6/asyncio/windows_utils.pyc +0 -0
  2085. package/python3.6.2/lib/python3.6/asyncore.pyc +0 -0
  2086. package/python3.6.2/lib/python3.6/base64.pyc +0 -0
  2087. package/python3.6.2/lib/python3.6/bdb.pyc +0 -0
  2088. package/python3.6.2/lib/python3.6/binhex.pyc +0 -0
  2089. package/python3.6.2/lib/python3.6/bisect.pyc +0 -0
  2090. package/python3.6.2/lib/python3.6/bz2.pyc +0 -0
  2091. package/python3.6.2/lib/python3.6/cProfile.pyc +0 -0
  2092. package/python3.6.2/lib/python3.6/calendar.pyc +0 -0
  2093. package/python3.6.2/lib/python3.6/cgi.pyc +0 -0
  2094. package/python3.6.2/lib/python3.6/cgitb.pyc +0 -0
  2095. package/python3.6.2/lib/python3.6/chunk.pyc +0 -0
  2096. package/python3.6.2/lib/python3.6/cmd.pyc +0 -0
  2097. package/python3.6.2/lib/python3.6/code.pyc +0 -0
  2098. package/python3.6.2/lib/python3.6/codecs.pyc +0 -0
  2099. package/python3.6.2/lib/python3.6/codeop.pyc +0 -0
  2100. package/python3.6.2/lib/python3.6/collections/__init__.pyc +0 -0
  2101. package/python3.6.2/lib/python3.6/collections/abc.pyc +0 -0
  2102. package/python3.6.2/lib/python3.6/colorsys.pyc +0 -0
  2103. package/python3.6.2/lib/python3.6/compileall.pyc +0 -0
  2104. package/python3.6.2/lib/python3.6/concurrent/__init__.pyc +0 -0
  2105. package/python3.6.2/lib/python3.6/concurrent/futures/__init__.pyc +0 -0
  2106. package/python3.6.2/lib/python3.6/concurrent/futures/_base.pyc +0 -0
  2107. package/python3.6.2/lib/python3.6/concurrent/futures/process.pyc +0 -0
  2108. package/python3.6.2/lib/python3.6/concurrent/futures/thread.pyc +0 -0
  2109. package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/Makefile +0 -1808
  2110. package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/Setup +0 -397
  2111. package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/Setup.config +0 -10
  2112. package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/Setup.local +0 -1
  2113. package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/config.c +0 -114
  2114. package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/config.c.in +0 -67
  2115. package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/install-sh +0 -294
  2116. package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/makesetup +0 -296
  2117. package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/python-config.pyc +0 -0
  2118. package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/python.o +0 -0
  2119. package/python3.6.2/lib/python3.6/configparser.pyc +0 -0
  2120. package/python3.6.2/lib/python3.6/contextlib.pyc +0 -0
  2121. package/python3.6.2/lib/python3.6/copy.pyc +0 -0
  2122. package/python3.6.2/lib/python3.6/copyreg.pyc +0 -0
  2123. package/python3.6.2/lib/python3.6/crypt.pyc +0 -0
  2124. package/python3.6.2/lib/python3.6/csv.pyc +0 -0
  2125. package/python3.6.2/lib/python3.6/ctypes/__init__.pyc +0 -0
  2126. package/python3.6.2/lib/python3.6/ctypes/_endian.pyc +0 -0
  2127. package/python3.6.2/lib/python3.6/ctypes/macholib/__init__.pyc +0 -0
  2128. package/python3.6.2/lib/python3.6/ctypes/macholib/dyld.pyc +0 -0
  2129. package/python3.6.2/lib/python3.6/ctypes/macholib/dylib.pyc +0 -0
  2130. package/python3.6.2/lib/python3.6/ctypes/macholib/framework.pyc +0 -0
  2131. package/python3.6.2/lib/python3.6/ctypes/util.pyc +0 -0
  2132. package/python3.6.2/lib/python3.6/ctypes/wintypes.pyc +0 -0
  2133. package/python3.6.2/lib/python3.6/curses/__init__.pyc +0 -0
  2134. package/python3.6.2/lib/python3.6/curses/ascii.pyc +0 -0
  2135. package/python3.6.2/lib/python3.6/curses/has_key.pyc +0 -0
  2136. package/python3.6.2/lib/python3.6/curses/panel.pyc +0 -0
  2137. package/python3.6.2/lib/python3.6/curses/textpad.pyc +0 -0
  2138. package/python3.6.2/lib/python3.6/datetime.pyc +0 -0
  2139. package/python3.6.2/lib/python3.6/dbm/__init__.pyc +0 -0
  2140. package/python3.6.2/lib/python3.6/dbm/dumb.pyc +0 -0
  2141. package/python3.6.2/lib/python3.6/dbm/gnu.pyc +0 -0
  2142. package/python3.6.2/lib/python3.6/dbm/ndbm.pyc +0 -0
  2143. package/python3.6.2/lib/python3.6/decimal.pyc +0 -0
  2144. package/python3.6.2/lib/python3.6/difflib.pyc +0 -0
  2145. package/python3.6.2/lib/python3.6/dis.pyc +0 -0
  2146. package/python3.6.2/lib/python3.6/distutils/__init__.pyc +0 -0
  2147. package/python3.6.2/lib/python3.6/distutils/_msvccompiler.pyc +0 -0
  2148. package/python3.6.2/lib/python3.6/distutils/archive_util.pyc +0 -0
  2149. package/python3.6.2/lib/python3.6/distutils/bcppcompiler.pyc +0 -0
  2150. package/python3.6.2/lib/python3.6/distutils/ccompiler.pyc +0 -0
  2151. package/python3.6.2/lib/python3.6/distutils/cmd.pyc +0 -0
  2152. package/python3.6.2/lib/python3.6/distutils/command/__init__.pyc +0 -0
  2153. package/python3.6.2/lib/python3.6/distutils/command/bdist.pyc +0 -0
  2154. package/python3.6.2/lib/python3.6/distutils/command/bdist_dumb.pyc +0 -0
  2155. package/python3.6.2/lib/python3.6/distutils/command/bdist_msi.pyc +0 -0
  2156. package/python3.6.2/lib/python3.6/distutils/command/bdist_rpm.pyc +0 -0
  2157. package/python3.6.2/lib/python3.6/distutils/command/bdist_wininst.pyc +0 -0
  2158. package/python3.6.2/lib/python3.6/distutils/command/build.pyc +0 -0
  2159. package/python3.6.2/lib/python3.6/distutils/command/build_clib.pyc +0 -0
  2160. package/python3.6.2/lib/python3.6/distutils/command/build_ext.pyc +0 -0
  2161. package/python3.6.2/lib/python3.6/distutils/command/build_py.pyc +0 -0
  2162. package/python3.6.2/lib/python3.6/distutils/command/build_scripts.pyc +0 -0
  2163. package/python3.6.2/lib/python3.6/distutils/command/check.pyc +0 -0
  2164. package/python3.6.2/lib/python3.6/distutils/command/clean.pyc +0 -0
  2165. package/python3.6.2/lib/python3.6/distutils/command/config.pyc +0 -0
  2166. package/python3.6.2/lib/python3.6/distutils/command/install.pyc +0 -0
  2167. package/python3.6.2/lib/python3.6/distutils/command/install_data.pyc +0 -0
  2168. package/python3.6.2/lib/python3.6/distutils/command/install_egg_info.pyc +0 -0
  2169. package/python3.6.2/lib/python3.6/distutils/command/install_headers.pyc +0 -0
  2170. package/python3.6.2/lib/python3.6/distutils/command/install_lib.pyc +0 -0
  2171. package/python3.6.2/lib/python3.6/distutils/command/install_scripts.pyc +0 -0
  2172. package/python3.6.2/lib/python3.6/distutils/command/register.pyc +0 -0
  2173. package/python3.6.2/lib/python3.6/distutils/command/sdist.pyc +0 -0
  2174. package/python3.6.2/lib/python3.6/distutils/command/upload.pyc +0 -0
  2175. package/python3.6.2/lib/python3.6/distutils/config.pyc +0 -0
  2176. package/python3.6.2/lib/python3.6/distutils/core.pyc +0 -0
  2177. package/python3.6.2/lib/python3.6/distutils/cygwinccompiler.pyc +0 -0
  2178. package/python3.6.2/lib/python3.6/distutils/debug.pyc +0 -0
  2179. package/python3.6.2/lib/python3.6/distutils/dep_util.pyc +0 -0
  2180. package/python3.6.2/lib/python3.6/distutils/dir_util.pyc +0 -0
  2181. package/python3.6.2/lib/python3.6/distutils/dist.pyc +0 -0
  2182. package/python3.6.2/lib/python3.6/distutils/errors.pyc +0 -0
  2183. package/python3.6.2/lib/python3.6/distutils/extension.pyc +0 -0
  2184. package/python3.6.2/lib/python3.6/distutils/fancy_getopt.pyc +0 -0
  2185. package/python3.6.2/lib/python3.6/distutils/file_util.pyc +0 -0
  2186. package/python3.6.2/lib/python3.6/distutils/filelist.pyc +0 -0
  2187. package/python3.6.2/lib/python3.6/distutils/log.pyc +0 -0
  2188. package/python3.6.2/lib/python3.6/distutils/msvc9compiler.pyc +0 -0
  2189. package/python3.6.2/lib/python3.6/distutils/msvccompiler.pyc +0 -0
  2190. package/python3.6.2/lib/python3.6/distutils/spawn.pyc +0 -0
  2191. package/python3.6.2/lib/python3.6/distutils/sysconfig.pyc +0 -0
  2192. package/python3.6.2/lib/python3.6/distutils/text_file.pyc +0 -0
  2193. package/python3.6.2/lib/python3.6/distutils/unixccompiler.pyc +0 -0
  2194. package/python3.6.2/lib/python3.6/distutils/util.pyc +0 -0
  2195. package/python3.6.2/lib/python3.6/distutils/version.pyc +0 -0
  2196. package/python3.6.2/lib/python3.6/distutils/versionpredicate.pyc +0 -0
  2197. package/python3.6.2/lib/python3.6/doctest.pyc +0 -0
  2198. package/python3.6.2/lib/python3.6/dummy_threading.pyc +0 -0
  2199. package/python3.6.2/lib/python3.6/email/__init__.pyc +0 -0
  2200. package/python3.6.2/lib/python3.6/email/_encoded_words.pyc +0 -0
  2201. package/python3.6.2/lib/python3.6/email/_header_value_parser.pyc +0 -0
  2202. package/python3.6.2/lib/python3.6/email/_parseaddr.pyc +0 -0
  2203. package/python3.6.2/lib/python3.6/email/_policybase.pyc +0 -0
  2204. package/python3.6.2/lib/python3.6/email/base64mime.pyc +0 -0
  2205. package/python3.6.2/lib/python3.6/email/charset.pyc +0 -0
  2206. package/python3.6.2/lib/python3.6/email/contentmanager.pyc +0 -0
  2207. package/python3.6.2/lib/python3.6/email/encoders.pyc +0 -0
  2208. package/python3.6.2/lib/python3.6/email/errors.pyc +0 -0
  2209. package/python3.6.2/lib/python3.6/email/feedparser.pyc +0 -0
  2210. package/python3.6.2/lib/python3.6/email/generator.pyc +0 -0
  2211. package/python3.6.2/lib/python3.6/email/header.pyc +0 -0
  2212. package/python3.6.2/lib/python3.6/email/headerregistry.pyc +0 -0
  2213. package/python3.6.2/lib/python3.6/email/iterators.pyc +0 -0
  2214. package/python3.6.2/lib/python3.6/email/message.pyc +0 -0
  2215. package/python3.6.2/lib/python3.6/email/mime/__init__.pyc +0 -0
  2216. package/python3.6.2/lib/python3.6/email/mime/application.pyc +0 -0
  2217. package/python3.6.2/lib/python3.6/email/mime/audio.pyc +0 -0
  2218. package/python3.6.2/lib/python3.6/email/mime/base.pyc +0 -0
  2219. package/python3.6.2/lib/python3.6/email/mime/image.pyc +0 -0
  2220. package/python3.6.2/lib/python3.6/email/mime/message.pyc +0 -0
  2221. package/python3.6.2/lib/python3.6/email/mime/multipart.pyc +0 -0
  2222. package/python3.6.2/lib/python3.6/email/mime/nonmultipart.pyc +0 -0
  2223. package/python3.6.2/lib/python3.6/email/mime/text.pyc +0 -0
  2224. package/python3.6.2/lib/python3.6/email/parser.pyc +0 -0
  2225. package/python3.6.2/lib/python3.6/email/policy.pyc +0 -0
  2226. package/python3.6.2/lib/python3.6/email/quoprimime.pyc +0 -0
  2227. package/python3.6.2/lib/python3.6/email/utils.pyc +0 -0
  2228. package/python3.6.2/lib/python3.6/encodings/__init__.pyc +0 -0
  2229. package/python3.6.2/lib/python3.6/encodings/aliases.pyc +0 -0
  2230. package/python3.6.2/lib/python3.6/encodings/ascii.pyc +0 -0
  2231. package/python3.6.2/lib/python3.6/encodings/base64_codec.pyc +0 -0
  2232. package/python3.6.2/lib/python3.6/encodings/big5.pyc +0 -0
  2233. package/python3.6.2/lib/python3.6/encodings/big5hkscs.pyc +0 -0
  2234. package/python3.6.2/lib/python3.6/encodings/bz2_codec.pyc +0 -0
  2235. package/python3.6.2/lib/python3.6/encodings/charmap.pyc +0 -0
  2236. package/python3.6.2/lib/python3.6/encodings/cp037.pyc +0 -0
  2237. package/python3.6.2/lib/python3.6/encodings/cp1006.pyc +0 -0
  2238. package/python3.6.2/lib/python3.6/encodings/cp1026.pyc +0 -0
  2239. package/python3.6.2/lib/python3.6/encodings/cp1125.pyc +0 -0
  2240. package/python3.6.2/lib/python3.6/encodings/cp1140.pyc +0 -0
  2241. package/python3.6.2/lib/python3.6/encodings/cp1250.pyc +0 -0
  2242. package/python3.6.2/lib/python3.6/encodings/cp1251.pyc +0 -0
  2243. package/python3.6.2/lib/python3.6/encodings/cp1252.pyc +0 -0
  2244. package/python3.6.2/lib/python3.6/encodings/cp1253.pyc +0 -0
  2245. package/python3.6.2/lib/python3.6/encodings/cp1254.pyc +0 -0
  2246. package/python3.6.2/lib/python3.6/encodings/cp1255.pyc +0 -0
  2247. package/python3.6.2/lib/python3.6/encodings/cp1256.pyc +0 -0
  2248. package/python3.6.2/lib/python3.6/encodings/cp1257.pyc +0 -0
  2249. package/python3.6.2/lib/python3.6/encodings/cp1258.pyc +0 -0
  2250. package/python3.6.2/lib/python3.6/encodings/cp273.pyc +0 -0
  2251. package/python3.6.2/lib/python3.6/encodings/cp424.pyc +0 -0
  2252. package/python3.6.2/lib/python3.6/encodings/cp437.pyc +0 -0
  2253. package/python3.6.2/lib/python3.6/encodings/cp500.pyc +0 -0
  2254. package/python3.6.2/lib/python3.6/encodings/cp65001.pyc +0 -0
  2255. package/python3.6.2/lib/python3.6/encodings/cp720.pyc +0 -0
  2256. package/python3.6.2/lib/python3.6/encodings/cp737.pyc +0 -0
  2257. package/python3.6.2/lib/python3.6/encodings/cp775.pyc +0 -0
  2258. package/python3.6.2/lib/python3.6/encodings/cp850.pyc +0 -0
  2259. package/python3.6.2/lib/python3.6/encodings/cp852.pyc +0 -0
  2260. package/python3.6.2/lib/python3.6/encodings/cp855.pyc +0 -0
  2261. package/python3.6.2/lib/python3.6/encodings/cp856.pyc +0 -0
  2262. package/python3.6.2/lib/python3.6/encodings/cp857.pyc +0 -0
  2263. package/python3.6.2/lib/python3.6/encodings/cp858.pyc +0 -0
  2264. package/python3.6.2/lib/python3.6/encodings/cp860.pyc +0 -0
  2265. package/python3.6.2/lib/python3.6/encodings/cp861.pyc +0 -0
  2266. package/python3.6.2/lib/python3.6/encodings/cp862.pyc +0 -0
  2267. package/python3.6.2/lib/python3.6/encodings/cp863.pyc +0 -0
  2268. package/python3.6.2/lib/python3.6/encodings/cp864.pyc +0 -0
  2269. package/python3.6.2/lib/python3.6/encodings/cp865.pyc +0 -0
  2270. package/python3.6.2/lib/python3.6/encodings/cp866.pyc +0 -0
  2271. package/python3.6.2/lib/python3.6/encodings/cp869.pyc +0 -0
  2272. package/python3.6.2/lib/python3.6/encodings/cp874.pyc +0 -0
  2273. package/python3.6.2/lib/python3.6/encodings/cp875.pyc +0 -0
  2274. package/python3.6.2/lib/python3.6/encodings/cp932.pyc +0 -0
  2275. package/python3.6.2/lib/python3.6/encodings/cp949.pyc +0 -0
  2276. package/python3.6.2/lib/python3.6/encodings/cp950.pyc +0 -0
  2277. package/python3.6.2/lib/python3.6/encodings/euc_jis_2004.pyc +0 -0
  2278. package/python3.6.2/lib/python3.6/encodings/euc_jisx0213.pyc +0 -0
  2279. package/python3.6.2/lib/python3.6/encodings/euc_jp.pyc +0 -0
  2280. package/python3.6.2/lib/python3.6/encodings/euc_kr.pyc +0 -0
  2281. package/python3.6.2/lib/python3.6/encodings/gb18030.pyc +0 -0
  2282. package/python3.6.2/lib/python3.6/encodings/gb2312.pyc +0 -0
  2283. package/python3.6.2/lib/python3.6/encodings/gbk.pyc +0 -0
  2284. package/python3.6.2/lib/python3.6/encodings/hex_codec.pyc +0 -0
  2285. package/python3.6.2/lib/python3.6/encodings/hp_roman8.pyc +0 -0
  2286. package/python3.6.2/lib/python3.6/encodings/hz.pyc +0 -0
  2287. package/python3.6.2/lib/python3.6/encodings/idna.pyc +0 -0
  2288. package/python3.6.2/lib/python3.6/encodings/iso2022_jp.pyc +0 -0
  2289. package/python3.6.2/lib/python3.6/encodings/iso2022_jp_1.pyc +0 -0
  2290. package/python3.6.2/lib/python3.6/encodings/iso2022_jp_2.pyc +0 -0
  2291. package/python3.6.2/lib/python3.6/encodings/iso2022_jp_2004.pyc +0 -0
  2292. package/python3.6.2/lib/python3.6/encodings/iso2022_jp_3.pyc +0 -0
  2293. package/python3.6.2/lib/python3.6/encodings/iso2022_jp_ext.pyc +0 -0
  2294. package/python3.6.2/lib/python3.6/encodings/iso2022_kr.pyc +0 -0
  2295. package/python3.6.2/lib/python3.6/encodings/iso8859_1.pyc +0 -0
  2296. package/python3.6.2/lib/python3.6/encodings/iso8859_10.pyc +0 -0
  2297. package/python3.6.2/lib/python3.6/encodings/iso8859_11.pyc +0 -0
  2298. package/python3.6.2/lib/python3.6/encodings/iso8859_13.pyc +0 -0
  2299. package/python3.6.2/lib/python3.6/encodings/iso8859_14.pyc +0 -0
  2300. package/python3.6.2/lib/python3.6/encodings/iso8859_15.pyc +0 -0
  2301. package/python3.6.2/lib/python3.6/encodings/iso8859_16.pyc +0 -0
  2302. package/python3.6.2/lib/python3.6/encodings/iso8859_2.pyc +0 -0
  2303. package/python3.6.2/lib/python3.6/encodings/iso8859_3.pyc +0 -0
  2304. package/python3.6.2/lib/python3.6/encodings/iso8859_4.pyc +0 -0
  2305. package/python3.6.2/lib/python3.6/encodings/iso8859_5.pyc +0 -0
  2306. package/python3.6.2/lib/python3.6/encodings/iso8859_6.pyc +0 -0
  2307. package/python3.6.2/lib/python3.6/encodings/iso8859_7.pyc +0 -0
  2308. package/python3.6.2/lib/python3.6/encodings/iso8859_8.pyc +0 -0
  2309. package/python3.6.2/lib/python3.6/encodings/iso8859_9.pyc +0 -0
  2310. package/python3.6.2/lib/python3.6/encodings/johab.pyc +0 -0
  2311. package/python3.6.2/lib/python3.6/encodings/koi8_r.pyc +0 -0
  2312. package/python3.6.2/lib/python3.6/encodings/koi8_t.pyc +0 -0
  2313. package/python3.6.2/lib/python3.6/encodings/koi8_u.pyc +0 -0
  2314. package/python3.6.2/lib/python3.6/encodings/kz1048.pyc +0 -0
  2315. package/python3.6.2/lib/python3.6/encodings/latin_1.pyc +0 -0
  2316. package/python3.6.2/lib/python3.6/encodings/mac_arabic.pyc +0 -0
  2317. package/python3.6.2/lib/python3.6/encodings/mac_centeuro.pyc +0 -0
  2318. package/python3.6.2/lib/python3.6/encodings/mac_croatian.pyc +0 -0
  2319. package/python3.6.2/lib/python3.6/encodings/mac_cyrillic.pyc +0 -0
  2320. package/python3.6.2/lib/python3.6/encodings/mac_farsi.pyc +0 -0
  2321. package/python3.6.2/lib/python3.6/encodings/mac_greek.pyc +0 -0
  2322. package/python3.6.2/lib/python3.6/encodings/mac_iceland.pyc +0 -0
  2323. package/python3.6.2/lib/python3.6/encodings/mac_latin2.pyc +0 -0
  2324. package/python3.6.2/lib/python3.6/encodings/mac_roman.pyc +0 -0
  2325. package/python3.6.2/lib/python3.6/encodings/mac_romanian.pyc +0 -0
  2326. package/python3.6.2/lib/python3.6/encodings/mac_turkish.pyc +0 -0
  2327. package/python3.6.2/lib/python3.6/encodings/mbcs.pyc +0 -0
  2328. package/python3.6.2/lib/python3.6/encodings/oem.pyc +0 -0
  2329. package/python3.6.2/lib/python3.6/encodings/palmos.pyc +0 -0
  2330. package/python3.6.2/lib/python3.6/encodings/ptcp154.pyc +0 -0
  2331. package/python3.6.2/lib/python3.6/encodings/punycode.pyc +0 -0
  2332. package/python3.6.2/lib/python3.6/encodings/quopri_codec.pyc +0 -0
  2333. package/python3.6.2/lib/python3.6/encodings/raw_unicode_escape.pyc +0 -0
  2334. package/python3.6.2/lib/python3.6/encodings/rot_13.pyc +0 -0
  2335. package/python3.6.2/lib/python3.6/encodings/shift_jis.pyc +0 -0
  2336. package/python3.6.2/lib/python3.6/encodings/shift_jis_2004.pyc +0 -0
  2337. package/python3.6.2/lib/python3.6/encodings/shift_jisx0213.pyc +0 -0
  2338. package/python3.6.2/lib/python3.6/encodings/tis_620.pyc +0 -0
  2339. package/python3.6.2/lib/python3.6/encodings/undefined.pyc +0 -0
  2340. package/python3.6.2/lib/python3.6/encodings/unicode_escape.pyc +0 -0
  2341. package/python3.6.2/lib/python3.6/encodings/unicode_internal.pyc +0 -0
  2342. package/python3.6.2/lib/python3.6/encodings/utf_16.pyc +0 -0
  2343. package/python3.6.2/lib/python3.6/encodings/utf_16_be.pyc +0 -0
  2344. package/python3.6.2/lib/python3.6/encodings/utf_16_le.pyc +0 -0
  2345. package/python3.6.2/lib/python3.6/encodings/utf_32.pyc +0 -0
  2346. package/python3.6.2/lib/python3.6/encodings/utf_32_be.pyc +0 -0
  2347. package/python3.6.2/lib/python3.6/encodings/utf_32_le.pyc +0 -0
  2348. package/python3.6.2/lib/python3.6/encodings/utf_7.pyc +0 -0
  2349. package/python3.6.2/lib/python3.6/encodings/utf_8.pyc +0 -0
  2350. package/python3.6.2/lib/python3.6/encodings/utf_8_sig.pyc +0 -0
  2351. package/python3.6.2/lib/python3.6/encodings/uu_codec.pyc +0 -0
  2352. package/python3.6.2/lib/python3.6/encodings/zlib_codec.pyc +0 -0
  2353. package/python3.6.2/lib/python3.6/ensurepip/__init__.pyc +0 -0
  2354. package/python3.6.2/lib/python3.6/ensurepip/__main__.pyc +0 -0
  2355. package/python3.6.2/lib/python3.6/ensurepip/_uninstall.pyc +0 -0
  2356. package/python3.6.2/lib/python3.6/enum.pyc +0 -0
  2357. package/python3.6.2/lib/python3.6/filecmp.pyc +0 -0
  2358. package/python3.6.2/lib/python3.6/fileinput.pyc +0 -0
  2359. package/python3.6.2/lib/python3.6/fnmatch.pyc +0 -0
  2360. package/python3.6.2/lib/python3.6/formatter.pyc +0 -0
  2361. package/python3.6.2/lib/python3.6/fractions.pyc +0 -0
  2362. package/python3.6.2/lib/python3.6/ftplib.pyc +0 -0
  2363. package/python3.6.2/lib/python3.6/functools.pyc +0 -0
  2364. package/python3.6.2/lib/python3.6/genericpath.pyc +0 -0
  2365. package/python3.6.2/lib/python3.6/getopt.pyc +0 -0
  2366. package/python3.6.2/lib/python3.6/getpass.pyc +0 -0
  2367. package/python3.6.2/lib/python3.6/gettext.pyc +0 -0
  2368. package/python3.6.2/lib/python3.6/glob.pyc +0 -0
  2369. package/python3.6.2/lib/python3.6/gzip.pyc +0 -0
  2370. package/python3.6.2/lib/python3.6/hashlib.pyc +0 -0
  2371. package/python3.6.2/lib/python3.6/heapq.pyc +0 -0
  2372. package/python3.6.2/lib/python3.6/hmac.pyc +0 -0
  2373. package/python3.6.2/lib/python3.6/html/__init__.pyc +0 -0
  2374. package/python3.6.2/lib/python3.6/html/entities.pyc +0 -0
  2375. package/python3.6.2/lib/python3.6/html/parser.pyc +0 -0
  2376. package/python3.6.2/lib/python3.6/http/__init__.pyc +0 -0
  2377. package/python3.6.2/lib/python3.6/http/client.pyc +0 -0
  2378. package/python3.6.2/lib/python3.6/http/cookiejar.pyc +0 -0
  2379. package/python3.6.2/lib/python3.6/http/cookies.pyc +0 -0
  2380. package/python3.6.2/lib/python3.6/http/server.pyc +0 -0
  2381. package/python3.6.2/lib/python3.6/imaplib.pyc +0 -0
  2382. package/python3.6.2/lib/python3.6/imghdr.pyc +0 -0
  2383. package/python3.6.2/lib/python3.6/imp.pyc +0 -0
  2384. package/python3.6.2/lib/python3.6/importlib/__init__.pyc +0 -0
  2385. package/python3.6.2/lib/python3.6/importlib/_bootstrap.pyc +0 -0
  2386. package/python3.6.2/lib/python3.6/importlib/_bootstrap_external.pyc +0 -0
  2387. package/python3.6.2/lib/python3.6/importlib/abc.pyc +0 -0
  2388. package/python3.6.2/lib/python3.6/importlib/machinery.pyc +0 -0
  2389. package/python3.6.2/lib/python3.6/importlib/util.pyc +0 -0
  2390. package/python3.6.2/lib/python3.6/inspect.pyc +0 -0
  2391. package/python3.6.2/lib/python3.6/io.pyc +0 -0
  2392. package/python3.6.2/lib/python3.6/ipaddress.pyc +0 -0
  2393. package/python3.6.2/lib/python3.6/json/__init__.pyc +0 -0
  2394. package/python3.6.2/lib/python3.6/json/decoder.pyc +0 -0
  2395. package/python3.6.2/lib/python3.6/json/encoder.pyc +0 -0
  2396. package/python3.6.2/lib/python3.6/json/scanner.pyc +0 -0
  2397. package/python3.6.2/lib/python3.6/json/tool.pyc +0 -0
  2398. package/python3.6.2/lib/python3.6/keyword.pyc +0 -0
  2399. package/python3.6.2/lib/python3.6/lib2to3/Grammar3.6.3.final.0.pickle +0 -0
  2400. package/python3.6.2/lib/python3.6/lib2to3/PatternGrammar3.6.3.final.0.pickle +0 -0
  2401. package/python3.6.2/lib/python3.6/lib2to3/__init__.pyc +0 -0
  2402. package/python3.6.2/lib/python3.6/lib2to3/__main__.pyc +0 -0
  2403. package/python3.6.2/lib/python3.6/lib2to3/btm_matcher.pyc +0 -0
  2404. package/python3.6.2/lib/python3.6/lib2to3/btm_utils.pyc +0 -0
  2405. package/python3.6.2/lib/python3.6/lib2to3/fixer_base.pyc +0 -0
  2406. package/python3.6.2/lib/python3.6/lib2to3/fixer_util.pyc +0 -0
  2407. package/python3.6.2/lib/python3.6/lib2to3/fixes/__init__.pyc +0 -0
  2408. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_apply.pyc +0 -0
  2409. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_asserts.pyc +0 -0
  2410. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_basestring.pyc +0 -0
  2411. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_buffer.pyc +0 -0
  2412. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_dict.pyc +0 -0
  2413. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_except.pyc +0 -0
  2414. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_exec.pyc +0 -0
  2415. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_execfile.pyc +0 -0
  2416. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_exitfunc.pyc +0 -0
  2417. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_filter.pyc +0 -0
  2418. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_funcattrs.pyc +0 -0
  2419. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_future.pyc +0 -0
  2420. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_getcwdu.pyc +0 -0
  2421. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_has_key.pyc +0 -0
  2422. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_idioms.pyc +0 -0
  2423. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_import.pyc +0 -0
  2424. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_imports.pyc +0 -0
  2425. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_imports2.pyc +0 -0
  2426. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_input.pyc +0 -0
  2427. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_intern.pyc +0 -0
  2428. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_isinstance.pyc +0 -0
  2429. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_itertools.pyc +0 -0
  2430. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_itertools_imports.pyc +0 -0
  2431. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_long.pyc +0 -0
  2432. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_map.pyc +0 -0
  2433. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_metaclass.pyc +0 -0
  2434. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_methodattrs.pyc +0 -0
  2435. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_ne.pyc +0 -0
  2436. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_next.pyc +0 -0
  2437. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_nonzero.pyc +0 -0
  2438. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_numliterals.pyc +0 -0
  2439. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_operator.pyc +0 -0
  2440. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_paren.pyc +0 -0
  2441. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_print.pyc +0 -0
  2442. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_raise.pyc +0 -0
  2443. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_raw_input.pyc +0 -0
  2444. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_reduce.pyc +0 -0
  2445. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_reload.pyc +0 -0
  2446. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_renames.pyc +0 -0
  2447. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_repr.pyc +0 -0
  2448. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_set_literal.pyc +0 -0
  2449. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_standarderror.pyc +0 -0
  2450. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_sys_exc.pyc +0 -0
  2451. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_throw.pyc +0 -0
  2452. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_tuple_params.pyc +0 -0
  2453. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_types.pyc +0 -0
  2454. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_unicode.pyc +0 -0
  2455. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_urllib.pyc +0 -0
  2456. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_ws_comma.pyc +0 -0
  2457. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_xrange.pyc +0 -0
  2458. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_xreadlines.pyc +0 -0
  2459. package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_zip.pyc +0 -0
  2460. package/python3.6.2/lib/python3.6/lib2to3/main.pyc +0 -0
  2461. package/python3.6.2/lib/python3.6/lib2to3/patcomp.pyc +0 -0
  2462. package/python3.6.2/lib/python3.6/lib2to3/pgen2/__init__.pyc +0 -0
  2463. package/python3.6.2/lib/python3.6/lib2to3/pgen2/conv.pyc +0 -0
  2464. package/python3.6.2/lib/python3.6/lib2to3/pgen2/driver.pyc +0 -0
  2465. package/python3.6.2/lib/python3.6/lib2to3/pgen2/grammar.pyc +0 -0
  2466. package/python3.6.2/lib/python3.6/lib2to3/pgen2/literals.pyc +0 -0
  2467. package/python3.6.2/lib/python3.6/lib2to3/pgen2/parse.pyc +0 -0
  2468. package/python3.6.2/lib/python3.6/lib2to3/pgen2/pgen.pyc +0 -0
  2469. package/python3.6.2/lib/python3.6/lib2to3/pgen2/token.pyc +0 -0
  2470. package/python3.6.2/lib/python3.6/lib2to3/pgen2/tokenize.pyc +0 -0
  2471. package/python3.6.2/lib/python3.6/lib2to3/pygram.pyc +0 -0
  2472. package/python3.6.2/lib/python3.6/lib2to3/pytree.pyc +0 -0
  2473. package/python3.6.2/lib/python3.6/lib2to3/refactor.pyc +0 -0
  2474. package/python3.6.2/lib/python3.6/linecache.pyc +0 -0
  2475. package/python3.6.2/lib/python3.6/locale.pyc +0 -0
  2476. package/python3.6.2/lib/python3.6/logging/__init__.pyc +0 -0
  2477. package/python3.6.2/lib/python3.6/logging/config.pyc +0 -0
  2478. package/python3.6.2/lib/python3.6/logging/handlers.pyc +0 -0
  2479. package/python3.6.2/lib/python3.6/lzma.pyc +0 -0
  2480. package/python3.6.2/lib/python3.6/macpath.pyc +0 -0
  2481. package/python3.6.2/lib/python3.6/macurl2path.pyc +0 -0
  2482. package/python3.6.2/lib/python3.6/mailbox.pyc +0 -0
  2483. package/python3.6.2/lib/python3.6/mailcap.pyc +0 -0
  2484. package/python3.6.2/lib/python3.6/mimetypes.pyc +0 -0
  2485. package/python3.6.2/lib/python3.6/modulefinder.pyc +0 -0
  2486. package/python3.6.2/lib/python3.6/multiprocessing/__init__.pyc +0 -0
  2487. package/python3.6.2/lib/python3.6/multiprocessing/connection.pyc +0 -0
  2488. package/python3.6.2/lib/python3.6/multiprocessing/context.pyc +0 -0
  2489. package/python3.6.2/lib/python3.6/multiprocessing/dummy/__init__.pyc +0 -0
  2490. package/python3.6.2/lib/python3.6/multiprocessing/dummy/connection.pyc +0 -0
  2491. package/python3.6.2/lib/python3.6/multiprocessing/forkserver.pyc +0 -0
  2492. package/python3.6.2/lib/python3.6/multiprocessing/heap.pyc +0 -0
  2493. package/python3.6.2/lib/python3.6/multiprocessing/managers.pyc +0 -0
  2494. package/python3.6.2/lib/python3.6/multiprocessing/pool.pyc +0 -0
  2495. package/python3.6.2/lib/python3.6/multiprocessing/popen_fork.pyc +0 -0
  2496. package/python3.6.2/lib/python3.6/multiprocessing/popen_forkserver.pyc +0 -0
  2497. package/python3.6.2/lib/python3.6/multiprocessing/popen_spawn_posix.pyc +0 -0
  2498. package/python3.6.2/lib/python3.6/multiprocessing/popen_spawn_win32.pyc +0 -0
  2499. package/python3.6.2/lib/python3.6/multiprocessing/process.pyc +0 -0
  2500. package/python3.6.2/lib/python3.6/multiprocessing/queues.pyc +0 -0
  2501. package/python3.6.2/lib/python3.6/multiprocessing/reduction.pyc +0 -0
  2502. package/python3.6.2/lib/python3.6/multiprocessing/resource_sharer.pyc +0 -0
  2503. package/python3.6.2/lib/python3.6/multiprocessing/semaphore_tracker.pyc +0 -0
  2504. package/python3.6.2/lib/python3.6/multiprocessing/sharedctypes.pyc +0 -0
  2505. package/python3.6.2/lib/python3.6/multiprocessing/spawn.pyc +0 -0
  2506. package/python3.6.2/lib/python3.6/multiprocessing/synchronize.pyc +0 -0
  2507. package/python3.6.2/lib/python3.6/multiprocessing/util.pyc +0 -0
  2508. package/python3.6.2/lib/python3.6/netrc.pyc +0 -0
  2509. package/python3.6.2/lib/python3.6/nntplib.pyc +0 -0
  2510. package/python3.6.2/lib/python3.6/ntpath.pyc +0 -0
  2511. package/python3.6.2/lib/python3.6/nturl2path.pyc +0 -0
  2512. package/python3.6.2/lib/python3.6/numbers.pyc +0 -0
  2513. package/python3.6.2/lib/python3.6/opcode.pyc +0 -0
  2514. package/python3.6.2/lib/python3.6/operator.pyc +0 -0
  2515. package/python3.6.2/lib/python3.6/optparse.pyc +0 -0
  2516. package/python3.6.2/lib/python3.6/os.pyc +0 -0
  2517. package/python3.6.2/lib/python3.6/pathlib.pyc +0 -0
  2518. package/python3.6.2/lib/python3.6/pdb.pyc +0 -0
  2519. package/python3.6.2/lib/python3.6/pickle.pyc +0 -0
  2520. package/python3.6.2/lib/python3.6/pickletools.pyc +0 -0
  2521. package/python3.6.2/lib/python3.6/pipes.pyc +0 -0
  2522. package/python3.6.2/lib/python3.6/pkgutil.pyc +0 -0
  2523. package/python3.6.2/lib/python3.6/platform.pyc +0 -0
  2524. package/python3.6.2/lib/python3.6/plistlib.pyc +0 -0
  2525. package/python3.6.2/lib/python3.6/poplib.pyc +0 -0
  2526. package/python3.6.2/lib/python3.6/posixpath.pyc +0 -0
  2527. package/python3.6.2/lib/python3.6/pprint.pyc +0 -0
  2528. package/python3.6.2/lib/python3.6/profile.pyc +0 -0
  2529. package/python3.6.2/lib/python3.6/pstats.pyc +0 -0
  2530. package/python3.6.2/lib/python3.6/pty.pyc +0 -0
  2531. package/python3.6.2/lib/python3.6/py_compile.pyc +0 -0
  2532. package/python3.6.2/lib/python3.6/pyclbr.pyc +0 -0
  2533. package/python3.6.2/lib/python3.6/pydoc.pyc +0 -0
  2534. package/python3.6.2/lib/python3.6/pydoc_data/__init__.pyc +0 -0
  2535. package/python3.6.2/lib/python3.6/pydoc_data/topics.pyc +0 -0
  2536. package/python3.6.2/lib/python3.6/queue.pyc +0 -0
  2537. package/python3.6.2/lib/python3.6/quopri.pyc +0 -0
  2538. package/python3.6.2/lib/python3.6/random.pyc +0 -0
  2539. package/python3.6.2/lib/python3.6/re.pyc +0 -0
  2540. package/python3.6.2/lib/python3.6/reprlib.pyc +0 -0
  2541. package/python3.6.2/lib/python3.6/rlcompleter.pyc +0 -0
  2542. package/python3.6.2/lib/python3.6/runpy.pyc +0 -0
  2543. package/python3.6.2/lib/python3.6/sched.pyc +0 -0
  2544. package/python3.6.2/lib/python3.6/secrets.pyc +0 -0
  2545. package/python3.6.2/lib/python3.6/selectors.pyc +0 -0
  2546. package/python3.6.2/lib/python3.6/shelve.pyc +0 -0
  2547. package/python3.6.2/lib/python3.6/shlex.pyc +0 -0
  2548. package/python3.6.2/lib/python3.6/shutil.pyc +0 -0
  2549. package/python3.6.2/lib/python3.6/signal.pyc +0 -0
  2550. package/python3.6.2/lib/python3.6/site.pyc +0 -0
  2551. package/python3.6.2/lib/python3.6/smtpd.pyc +0 -0
  2552. package/python3.6.2/lib/python3.6/smtplib.pyc +0 -0
  2553. package/python3.6.2/lib/python3.6/sndhdr.pyc +0 -0
  2554. package/python3.6.2/lib/python3.6/socket.pyc +0 -0
  2555. package/python3.6.2/lib/python3.6/socketserver.pyc +0 -0
  2556. package/python3.6.2/lib/python3.6/sqlite3/__init__.pyc +0 -0
  2557. package/python3.6.2/lib/python3.6/sqlite3/dbapi2.pyc +0 -0
  2558. package/python3.6.2/lib/python3.6/sqlite3/dump.pyc +0 -0
  2559. package/python3.6.2/lib/python3.6/sre_compile.pyc +0 -0
  2560. package/python3.6.2/lib/python3.6/sre_constants.pyc +0 -0
  2561. package/python3.6.2/lib/python3.6/sre_parse.pyc +0 -0
  2562. package/python3.6.2/lib/python3.6/ssl.pyc +0 -0
  2563. package/python3.6.2/lib/python3.6/stat.pyc +0 -0
  2564. package/python3.6.2/lib/python3.6/statistics.pyc +0 -0
  2565. package/python3.6.2/lib/python3.6/string.pyc +0 -0
  2566. package/python3.6.2/lib/python3.6/stringprep.pyc +0 -0
  2567. package/python3.6.2/lib/python3.6/struct.pyc +0 -0
  2568. package/python3.6.2/lib/python3.6/subprocess.pyc +0 -0
  2569. package/python3.6.2/lib/python3.6/sunau.pyc +0 -0
  2570. package/python3.6.2/lib/python3.6/symbol.pyc +0 -0
  2571. package/python3.6.2/lib/python3.6/symtable.pyc +0 -0
  2572. package/python3.6.2/lib/python3.6/sysconfig.pyc +0 -0
  2573. package/python3.6.2/lib/python3.6/tabnanny.pyc +0 -0
  2574. package/python3.6.2/lib/python3.6/tarfile.pyc +0 -0
  2575. package/python3.6.2/lib/python3.6/telnetlib.pyc +0 -0
  2576. package/python3.6.2/lib/python3.6/tempfile.pyc +0 -0
  2577. package/python3.6.2/lib/python3.6/textwrap.pyc +0 -0
  2578. package/python3.6.2/lib/python3.6/this.pyc +0 -0
  2579. package/python3.6.2/lib/python3.6/threading.pyc +0 -0
  2580. package/python3.6.2/lib/python3.6/timeit.pyc +0 -0
  2581. package/python3.6.2/lib/python3.6/token.pyc +0 -0
  2582. package/python3.6.2/lib/python3.6/tokenize.pyc +0 -0
  2583. package/python3.6.2/lib/python3.6/trace.pyc +0 -0
  2584. package/python3.6.2/lib/python3.6/traceback.pyc +0 -0
  2585. package/python3.6.2/lib/python3.6/tracemalloc.pyc +0 -0
  2586. package/python3.6.2/lib/python3.6/tty.pyc +0 -0
  2587. package/python3.6.2/lib/python3.6/turtle.pyc +0 -0
  2588. package/python3.6.2/lib/python3.6/types.pyc +0 -0
  2589. package/python3.6.2/lib/python3.6/typing.pyc +0 -0
  2590. package/python3.6.2/lib/python3.6/unittest/__init__.pyc +0 -0
  2591. package/python3.6.2/lib/python3.6/unittest/__main__.pyc +0 -0
  2592. package/python3.6.2/lib/python3.6/unittest/case.pyc +0 -0
  2593. package/python3.6.2/lib/python3.6/unittest/loader.pyc +0 -0
  2594. package/python3.6.2/lib/python3.6/unittest/main.pyc +0 -0
  2595. package/python3.6.2/lib/python3.6/unittest/mock.pyc +0 -0
  2596. package/python3.6.2/lib/python3.6/unittest/result.pyc +0 -0
  2597. package/python3.6.2/lib/python3.6/unittest/runner.pyc +0 -0
  2598. package/python3.6.2/lib/python3.6/unittest/signals.pyc +0 -0
  2599. package/python3.6.2/lib/python3.6/unittest/suite.pyc +0 -0
  2600. package/python3.6.2/lib/python3.6/unittest/util.pyc +0 -0
  2601. package/python3.6.2/lib/python3.6/urllib/__init__.pyc +0 -0
  2602. package/python3.6.2/lib/python3.6/urllib/error.pyc +0 -0
  2603. package/python3.6.2/lib/python3.6/urllib/parse.pyc +0 -0
  2604. package/python3.6.2/lib/python3.6/urllib/request.pyc +0 -0
  2605. package/python3.6.2/lib/python3.6/urllib/response.pyc +0 -0
  2606. package/python3.6.2/lib/python3.6/urllib/robotparser.pyc +0 -0
  2607. package/python3.6.2/lib/python3.6/uu.pyc +0 -0
  2608. package/python3.6.2/lib/python3.6/uuid.pyc +0 -0
  2609. package/python3.6.2/lib/python3.6/venv/__init__.pyc +0 -0
  2610. package/python3.6.2/lib/python3.6/venv/__main__.pyc +0 -0
  2611. package/python3.6.2/lib/python3.6/warnings.pyc +0 -0
  2612. package/python3.6.2/lib/python3.6/wave.pyc +0 -0
  2613. package/python3.6.2/lib/python3.6/weakref.pyc +0 -0
  2614. package/python3.6.2/lib/python3.6/webbrowser.pyc +0 -0
  2615. package/python3.6.2/lib/python3.6/wsgiref/__init__.pyc +0 -0
  2616. package/python3.6.2/lib/python3.6/wsgiref/handlers.pyc +0 -0
  2617. package/python3.6.2/lib/python3.6/wsgiref/headers.pyc +0 -0
  2618. package/python3.6.2/lib/python3.6/wsgiref/simple_server.pyc +0 -0
  2619. package/python3.6.2/lib/python3.6/wsgiref/util.pyc +0 -0
  2620. package/python3.6.2/lib/python3.6/wsgiref/validate.pyc +0 -0
  2621. package/python3.6.2/lib/python3.6/xdrlib.pyc +0 -0
  2622. package/python3.6.2/lib/python3.6/xml/__init__.pyc +0 -0
  2623. package/python3.6.2/lib/python3.6/xml/dom/NodeFilter.pyc +0 -0
  2624. package/python3.6.2/lib/python3.6/xml/dom/__init__.pyc +0 -0
  2625. package/python3.6.2/lib/python3.6/xml/dom/domreg.pyc +0 -0
  2626. package/python3.6.2/lib/python3.6/xml/dom/expatbuilder.pyc +0 -0
  2627. package/python3.6.2/lib/python3.6/xml/dom/minicompat.pyc +0 -0
  2628. package/python3.6.2/lib/python3.6/xml/dom/minidom.pyc +0 -0
  2629. package/python3.6.2/lib/python3.6/xml/dom/pulldom.pyc +0 -0
  2630. package/python3.6.2/lib/python3.6/xml/dom/xmlbuilder.pyc +0 -0
  2631. package/python3.6.2/lib/python3.6/xml/etree/ElementInclude.pyc +0 -0
  2632. package/python3.6.2/lib/python3.6/xml/etree/ElementPath.pyc +0 -0
  2633. package/python3.6.2/lib/python3.6/xml/etree/ElementTree.pyc +0 -0
  2634. package/python3.6.2/lib/python3.6/xml/etree/__init__.pyc +0 -0
  2635. package/python3.6.2/lib/python3.6/xml/etree/cElementTree.pyc +0 -0
  2636. package/python3.6.2/lib/python3.6/xml/parsers/__init__.pyc +0 -0
  2637. package/python3.6.2/lib/python3.6/xml/parsers/expat.pyc +0 -0
  2638. package/python3.6.2/lib/python3.6/xml/sax/__init__.pyc +0 -0
  2639. package/python3.6.2/lib/python3.6/xml/sax/_exceptions.pyc +0 -0
  2640. package/python3.6.2/lib/python3.6/xml/sax/expatreader.pyc +0 -0
  2641. package/python3.6.2/lib/python3.6/xml/sax/handler.pyc +0 -0
  2642. package/python3.6.2/lib/python3.6/xml/sax/saxutils.pyc +0 -0
  2643. package/python3.6.2/lib/python3.6/xml/sax/xmlreader.pyc +0 -0
  2644. package/python3.6.2/lib/python3.6/xmlrpc/__init__.pyc +0 -0
  2645. package/python3.6.2/lib/python3.6/xmlrpc/client.pyc +0 -0
  2646. package/python3.6.2/lib/python3.6/xmlrpc/server.pyc +0 -0
  2647. package/python3.6.2/lib/python3.6/zipapp.pyc +0 -0
  2648. package/python3.6.2/lib/python3.6/zipfile.pyc +0 -0
@@ -0,0 +1,3098 @@
1
+ """Get useful information from live Python objects.
2
+
3
+ This module encapsulates the interface provided by the internal special
4
+ attributes (co_*, im_*, tb_*, etc.) in a friendlier fashion.
5
+ It also provides some help for examining source code and class layout.
6
+
7
+ Here are some of the useful functions provided by this module:
8
+
9
+ ismodule(), isclass(), ismethod(), isfunction(), isgeneratorfunction(),
10
+ isgenerator(), istraceback(), isframe(), iscode(), isbuiltin(),
11
+ isroutine() - check object types
12
+ getmembers() - get members of an object that satisfy a given condition
13
+
14
+ getfile(), getsourcefile(), getsource() - find an object's source code
15
+ getdoc(), getcomments() - get documentation on an object
16
+ getmodule() - determine the module that an object came from
17
+ getclasstree() - arrange classes so as to represent their hierarchy
18
+
19
+ getargvalues(), getcallargs() - get info about function arguments
20
+ getfullargspec() - same, with support for Python 3 features
21
+ formatargspec(), formatargvalues() - format an argument spec
22
+ getouterframes(), getinnerframes() - get info about frames
23
+ currentframe() - get the current stack frame
24
+ stack(), trace() - get info about frames on the stack or in a traceback
25
+
26
+ signature() - get a Signature object for the callable
27
+ """
28
+
29
+ # This module is in the public domain. No warranties.
30
+
31
+ __author__ = ('Ka-Ping Yee <ping@lfw.org>',
32
+ 'Yury Selivanov <yselivanov@sprymix.com>')
33
+
34
+ import abc
35
+ import ast
36
+ import dis
37
+ import collections.abc
38
+ import enum
39
+ import importlib.machinery
40
+ import itertools
41
+ import linecache
42
+ import os
43
+ import re
44
+ import sys
45
+ import tokenize
46
+ import token
47
+ import types
48
+ import warnings
49
+ import functools
50
+ import builtins
51
+ from operator import attrgetter
52
+ from collections import namedtuple, OrderedDict
53
+
54
+ # Create constants for the compiler flags in Include/code.h
55
+ # We try to get them from dis to avoid duplication
56
+ mod_dict = globals()
57
+ for k, v in dis.COMPILER_FLAG_NAMES.items():
58
+ mod_dict["CO_" + v] = k
59
+
60
+ # See Include/object.h
61
+ TPFLAGS_IS_ABSTRACT = 1 << 20
62
+
63
+ # ----------------------------------------------------------- type-checking
64
+ def ismodule(object):
65
+ """Return true if the object is a module.
66
+
67
+ Module objects provide these attributes:
68
+ __cached__ pathname to byte compiled file
69
+ __doc__ documentation string
70
+ __file__ filename (missing for built-in modules)"""
71
+ return isinstance(object, types.ModuleType)
72
+
73
+ def isclass(object):
74
+ """Return true if the object is a class.
75
+
76
+ Class objects provide these attributes:
77
+ __doc__ documentation string
78
+ __module__ name of module in which this class was defined"""
79
+ return isinstance(object, type)
80
+
81
+ def ismethod(object):
82
+ """Return true if the object is an instance method.
83
+
84
+ Instance method objects provide these attributes:
85
+ __doc__ documentation string
86
+ __name__ name with which this method was defined
87
+ __func__ function object containing implementation of method
88
+ __self__ instance to which this method is bound"""
89
+ return isinstance(object, types.MethodType)
90
+
91
+ def ismethoddescriptor(object):
92
+ """Return true if the object is a method descriptor.
93
+
94
+ But not if ismethod() or isclass() or isfunction() are true.
95
+
96
+ This is new in Python 2.2, and, for example, is true of int.__add__.
97
+ An object passing this test has a __get__ attribute but not a __set__
98
+ attribute, but beyond that the set of attributes varies. __name__ is
99
+ usually sensible, and __doc__ often is.
100
+
101
+ Methods implemented via descriptors that also pass one of the other
102
+ tests return false from the ismethoddescriptor() test, simply because
103
+ the other tests promise more -- you can, e.g., count on having the
104
+ __func__ attribute (etc) when an object passes ismethod()."""
105
+ if isclass(object) or ismethod(object) or isfunction(object):
106
+ # mutual exclusion
107
+ return False
108
+ tp = type(object)
109
+ return hasattr(tp, "__get__") and not hasattr(tp, "__set__")
110
+
111
+ def isdatadescriptor(object):
112
+ """Return true if the object is a data descriptor.
113
+
114
+ Data descriptors have both a __get__ and a __set__ attribute. Examples are
115
+ properties (defined in Python) and getsets and members (defined in C).
116
+ Typically, data descriptors will also have __name__ and __doc__ attributes
117
+ (properties, getsets, and members have both of these attributes), but this
118
+ is not guaranteed."""
119
+ if isclass(object) or ismethod(object) or isfunction(object):
120
+ # mutual exclusion
121
+ return False
122
+ tp = type(object)
123
+ return hasattr(tp, "__set__") and hasattr(tp, "__get__")
124
+
125
+ if hasattr(types, 'MemberDescriptorType'):
126
+ # CPython and equivalent
127
+ def ismemberdescriptor(object):
128
+ """Return true if the object is a member descriptor.
129
+
130
+ Member descriptors are specialized descriptors defined in extension
131
+ modules."""
132
+ return isinstance(object, types.MemberDescriptorType)
133
+ else:
134
+ # Other implementations
135
+ def ismemberdescriptor(object):
136
+ """Return true if the object is a member descriptor.
137
+
138
+ Member descriptors are specialized descriptors defined in extension
139
+ modules."""
140
+ return False
141
+
142
+ if hasattr(types, 'GetSetDescriptorType'):
143
+ # CPython and equivalent
144
+ def isgetsetdescriptor(object):
145
+ """Return true if the object is a getset descriptor.
146
+
147
+ getset descriptors are specialized descriptors defined in extension
148
+ modules."""
149
+ return isinstance(object, types.GetSetDescriptorType)
150
+ else:
151
+ # Other implementations
152
+ def isgetsetdescriptor(object):
153
+ """Return true if the object is a getset descriptor.
154
+
155
+ getset descriptors are specialized descriptors defined in extension
156
+ modules."""
157
+ return False
158
+
159
+ def isfunction(object):
160
+ """Return true if the object is a user-defined function.
161
+
162
+ Function objects provide these attributes:
163
+ __doc__ documentation string
164
+ __name__ name with which this function was defined
165
+ __code__ code object containing compiled function bytecode
166
+ __defaults__ tuple of any default values for arguments
167
+ __globals__ global namespace in which this function was defined
168
+ __annotations__ dict of parameter annotations
169
+ __kwdefaults__ dict of keyword only parameters with defaults"""
170
+ return isinstance(object, types.FunctionType)
171
+
172
+ def isgeneratorfunction(object):
173
+ """Return true if the object is a user-defined generator function.
174
+
175
+ Generator function objects provide the same attributes as functions.
176
+ See help(isfunction) for a list of attributes."""
177
+ return bool((isfunction(object) or ismethod(object)) and
178
+ object.__code__.co_flags & CO_GENERATOR)
179
+
180
+ def iscoroutinefunction(object):
181
+ """Return true if the object is a coroutine function.
182
+
183
+ Coroutine functions are defined with "async def" syntax.
184
+ """
185
+ return bool((isfunction(object) or ismethod(object)) and
186
+ object.__code__.co_flags & CO_COROUTINE)
187
+
188
+ def isasyncgenfunction(object):
189
+ """Return true if the object is an asynchronous generator function.
190
+
191
+ Asynchronous generator functions are defined with "async def"
192
+ syntax and have "yield" expressions in their body.
193
+ """
194
+ return bool((isfunction(object) or ismethod(object)) and
195
+ object.__code__.co_flags & CO_ASYNC_GENERATOR)
196
+
197
+ def isasyncgen(object):
198
+ """Return true if the object is an asynchronous generator."""
199
+ return isinstance(object, types.AsyncGeneratorType)
200
+
201
+ def isgenerator(object):
202
+ """Return true if the object is a generator.
203
+
204
+ Generator objects provide these attributes:
205
+ __iter__ defined to support iteration over container
206
+ close raises a new GeneratorExit exception inside the
207
+ generator to terminate the iteration
208
+ gi_code code object
209
+ gi_frame frame object or possibly None once the generator has
210
+ been exhausted
211
+ gi_running set to 1 when generator is executing, 0 otherwise
212
+ next return the next item from the container
213
+ send resumes the generator and "sends" a value that becomes
214
+ the result of the current yield-expression
215
+ throw used to raise an exception inside the generator"""
216
+ return isinstance(object, types.GeneratorType)
217
+
218
+ def iscoroutine(object):
219
+ """Return true if the object is a coroutine."""
220
+ return isinstance(object, types.CoroutineType)
221
+
222
+ def isawaitable(object):
223
+ """Return true if object can be passed to an ``await`` expression."""
224
+ return (isinstance(object, types.CoroutineType) or
225
+ isinstance(object, types.GeneratorType) and
226
+ bool(object.gi_code.co_flags & CO_ITERABLE_COROUTINE) or
227
+ isinstance(object, collections.abc.Awaitable))
228
+
229
+ def istraceback(object):
230
+ """Return true if the object is a traceback.
231
+
232
+ Traceback objects provide these attributes:
233
+ tb_frame frame object at this level
234
+ tb_lasti index of last attempted instruction in bytecode
235
+ tb_lineno current line number in Python source code
236
+ tb_next next inner traceback object (called by this level)"""
237
+ return isinstance(object, types.TracebackType)
238
+
239
+ def isframe(object):
240
+ """Return true if the object is a frame object.
241
+
242
+ Frame objects provide these attributes:
243
+ f_back next outer frame object (this frame's caller)
244
+ f_builtins built-in namespace seen by this frame
245
+ f_code code object being executed in this frame
246
+ f_globals global namespace seen by this frame
247
+ f_lasti index of last attempted instruction in bytecode
248
+ f_lineno current line number in Python source code
249
+ f_locals local namespace seen by this frame
250
+ f_trace tracing function for this frame, or None"""
251
+ return isinstance(object, types.FrameType)
252
+
253
+ def iscode(object):
254
+ """Return true if the object is a code object.
255
+
256
+ Code objects provide these attributes:
257
+ co_argcount number of arguments (not including *, ** args
258
+ or keyword only arguments)
259
+ co_code string of raw compiled bytecode
260
+ co_cellvars tuple of names of cell variables
261
+ co_consts tuple of constants used in the bytecode
262
+ co_filename name of file in which this code object was created
263
+ co_firstlineno number of first line in Python source code
264
+ co_flags bitmap: 1=optimized | 2=newlocals | 4=*arg | 8=**arg
265
+ | 16=nested | 32=generator | 64=nofree | 128=coroutine
266
+ | 256=iterable_coroutine | 512=async_generator
267
+ co_freevars tuple of names of free variables
268
+ co_kwonlyargcount number of keyword only arguments (not including ** arg)
269
+ co_lnotab encoded mapping of line numbers to bytecode indices
270
+ co_name name with which this code object was defined
271
+ co_names tuple of names of local variables
272
+ co_nlocals number of local variables
273
+ co_stacksize virtual machine stack space required
274
+ co_varnames tuple of names of arguments and local variables"""
275
+ return isinstance(object, types.CodeType)
276
+
277
+ def isbuiltin(object):
278
+ """Return true if the object is a built-in function or method.
279
+
280
+ Built-in functions and methods provide these attributes:
281
+ __doc__ documentation string
282
+ __name__ original name of this function or method
283
+ __self__ instance to which a method is bound, or None"""
284
+ return isinstance(object, types.BuiltinFunctionType)
285
+
286
+ def isroutine(object):
287
+ """Return true if the object is any kind of function or method."""
288
+ return (isbuiltin(object)
289
+ or isfunction(object)
290
+ or ismethod(object)
291
+ or ismethoddescriptor(object))
292
+
293
+ def isabstract(object):
294
+ """Return true if the object is an abstract base class (ABC)."""
295
+ if not isinstance(object, type):
296
+ return False
297
+ if object.__flags__ & TPFLAGS_IS_ABSTRACT:
298
+ return True
299
+ if not issubclass(type(object), abc.ABCMeta):
300
+ return False
301
+ if hasattr(object, '__abstractmethods__'):
302
+ # It looks like ABCMeta.__new__ has finished running;
303
+ # TPFLAGS_IS_ABSTRACT should have been accurate.
304
+ return False
305
+ # It looks like ABCMeta.__new__ has not finished running yet; we're
306
+ # probably in __init_subclass__. We'll look for abstractmethods manually.
307
+ for name, value in object.__dict__.items():
308
+ if getattr(value, "__isabstractmethod__", False):
309
+ return True
310
+ for base in object.__bases__:
311
+ for name in getattr(base, "__abstractmethods__", ()):
312
+ value = getattr(object, name, None)
313
+ if getattr(value, "__isabstractmethod__", False):
314
+ return True
315
+ return False
316
+
317
+ def getmembers(object, predicate=None):
318
+ """Return all members of an object as (name, value) pairs sorted by name.
319
+ Optionally, only return members that satisfy a given predicate."""
320
+ if isclass(object):
321
+ mro = (object,) + getmro(object)
322
+ else:
323
+ mro = ()
324
+ results = []
325
+ processed = set()
326
+ names = dir(object)
327
+ # :dd any DynamicClassAttributes to the list of names if object is a class;
328
+ # this may result in duplicate entries if, for example, a virtual
329
+ # attribute with the same name as a DynamicClassAttribute exists
330
+ try:
331
+ for base in object.__bases__:
332
+ for k, v in base.__dict__.items():
333
+ if isinstance(v, types.DynamicClassAttribute):
334
+ names.append(k)
335
+ except AttributeError:
336
+ pass
337
+ for key in names:
338
+ # First try to get the value via getattr. Some descriptors don't
339
+ # like calling their __get__ (see bug #1785), so fall back to
340
+ # looking in the __dict__.
341
+ try:
342
+ value = getattr(object, key)
343
+ # handle the duplicate key
344
+ if key in processed:
345
+ raise AttributeError
346
+ except AttributeError:
347
+ for base in mro:
348
+ if key in base.__dict__:
349
+ value = base.__dict__[key]
350
+ break
351
+ else:
352
+ # could be a (currently) missing slot member, or a buggy
353
+ # __dir__; discard and move on
354
+ continue
355
+ if not predicate or predicate(value):
356
+ results.append((key, value))
357
+ processed.add(key)
358
+ results.sort(key=lambda pair: pair[0])
359
+ return results
360
+
361
+ Attribute = namedtuple('Attribute', 'name kind defining_class object')
362
+
363
+ def classify_class_attrs(cls):
364
+ """Return list of attribute-descriptor tuples.
365
+
366
+ For each name in dir(cls), the return list contains a 4-tuple
367
+ with these elements:
368
+
369
+ 0. The name (a string).
370
+
371
+ 1. The kind of attribute this is, one of these strings:
372
+ 'class method' created via classmethod()
373
+ 'static method' created via staticmethod()
374
+ 'property' created via property()
375
+ 'method' any other flavor of method or descriptor
376
+ 'data' not a method
377
+
378
+ 2. The class which defined this attribute (a class).
379
+
380
+ 3. The object as obtained by calling getattr; if this fails, or if the
381
+ resulting object does not live anywhere in the class' mro (including
382
+ metaclasses) then the object is looked up in the defining class's
383
+ dict (found by walking the mro).
384
+
385
+ If one of the items in dir(cls) is stored in the metaclass it will now
386
+ be discovered and not have None be listed as the class in which it was
387
+ defined. Any items whose home class cannot be discovered are skipped.
388
+ """
389
+
390
+ mro = getmro(cls)
391
+ metamro = getmro(type(cls)) # for attributes stored in the metaclass
392
+ metamro = tuple([cls for cls in metamro if cls not in (type, object)])
393
+ class_bases = (cls,) + mro
394
+ all_bases = class_bases + metamro
395
+ names = dir(cls)
396
+ # :dd any DynamicClassAttributes to the list of names;
397
+ # this may result in duplicate entries if, for example, a virtual
398
+ # attribute with the same name as a DynamicClassAttribute exists.
399
+ for base in mro:
400
+ for k, v in base.__dict__.items():
401
+ if isinstance(v, types.DynamicClassAttribute):
402
+ names.append(k)
403
+ result = []
404
+ processed = set()
405
+
406
+ for name in names:
407
+ # Get the object associated with the name, and where it was defined.
408
+ # Normal objects will be looked up with both getattr and directly in
409
+ # its class' dict (in case getattr fails [bug #1785], and also to look
410
+ # for a docstring).
411
+ # For DynamicClassAttributes on the second pass we only look in the
412
+ # class's dict.
413
+ #
414
+ # Getting an obj from the __dict__ sometimes reveals more than
415
+ # using getattr. Static and class methods are dramatic examples.
416
+ homecls = None
417
+ get_obj = None
418
+ dict_obj = None
419
+ if name not in processed:
420
+ try:
421
+ if name == '__dict__':
422
+ raise Exception("__dict__ is special, don't want the proxy")
423
+ get_obj = getattr(cls, name)
424
+ except Exception as exc:
425
+ pass
426
+ else:
427
+ homecls = getattr(get_obj, "__objclass__", homecls)
428
+ if homecls not in class_bases:
429
+ # if the resulting object does not live somewhere in the
430
+ # mro, drop it and search the mro manually
431
+ homecls = None
432
+ last_cls = None
433
+ # first look in the classes
434
+ for srch_cls in class_bases:
435
+ srch_obj = getattr(srch_cls, name, None)
436
+ if srch_obj is get_obj:
437
+ last_cls = srch_cls
438
+ # then check the metaclasses
439
+ for srch_cls in metamro:
440
+ try:
441
+ srch_obj = srch_cls.__getattr__(cls, name)
442
+ except AttributeError:
443
+ continue
444
+ if srch_obj is get_obj:
445
+ last_cls = srch_cls
446
+ if last_cls is not None:
447
+ homecls = last_cls
448
+ for base in all_bases:
449
+ if name in base.__dict__:
450
+ dict_obj = base.__dict__[name]
451
+ if homecls not in metamro:
452
+ homecls = base
453
+ break
454
+ if homecls is None:
455
+ # unable to locate the attribute anywhere, most likely due to
456
+ # buggy custom __dir__; discard and move on
457
+ continue
458
+ obj = get_obj if get_obj is not None else dict_obj
459
+ # Classify the object or its descriptor.
460
+ if isinstance(dict_obj, staticmethod):
461
+ kind = "static method"
462
+ obj = dict_obj
463
+ elif isinstance(dict_obj, classmethod):
464
+ kind = "class method"
465
+ obj = dict_obj
466
+ elif isinstance(dict_obj, property):
467
+ kind = "property"
468
+ obj = dict_obj
469
+ elif isroutine(obj):
470
+ kind = "method"
471
+ else:
472
+ kind = "data"
473
+ result.append(Attribute(name, kind, homecls, obj))
474
+ processed.add(name)
475
+ return result
476
+
477
+ # ----------------------------------------------------------- class helpers
478
+
479
+ def getmro(cls):
480
+ "Return tuple of base classes (including cls) in method resolution order."
481
+ return cls.__mro__
482
+
483
+ # -------------------------------------------------------- function helpers
484
+
485
+ def unwrap(func, *, stop=None):
486
+ """Get the object wrapped by *func*.
487
+
488
+ Follows the chain of :attr:`__wrapped__` attributes returning the last
489
+ object in the chain.
490
+
491
+ *stop* is an optional callback accepting an object in the wrapper chain
492
+ as its sole argument that allows the unwrapping to be terminated early if
493
+ the callback returns a true value. If the callback never returns a true
494
+ value, the last object in the chain is returned as usual. For example,
495
+ :func:`signature` uses this to stop unwrapping if any object in the
496
+ chain has a ``__signature__`` attribute defined.
497
+
498
+ :exc:`ValueError` is raised if a cycle is encountered.
499
+
500
+ """
501
+ if stop is None:
502
+ def _is_wrapper(f):
503
+ return hasattr(f, '__wrapped__')
504
+ else:
505
+ def _is_wrapper(f):
506
+ return hasattr(f, '__wrapped__') and not stop(f)
507
+ f = func # remember the original func for error reporting
508
+ # Memoise by id to tolerate non-hashable objects, but store objects to
509
+ # ensure they aren't destroyed, which would allow their IDs to be reused.
510
+ memo = {id(f): f}
511
+ recursion_limit = sys.getrecursionlimit()
512
+ while _is_wrapper(func):
513
+ func = func.__wrapped__
514
+ id_func = id(func)
515
+ if (id_func in memo) or (len(memo) >= recursion_limit):
516
+ raise ValueError('wrapper loop when unwrapping {!r}'.format(f))
517
+ memo[id_func] = func
518
+ return func
519
+
520
+ # -------------------------------------------------- source code extraction
521
+ def indentsize(line):
522
+ """Return the indent size, in spaces, at the start of a line of text."""
523
+ expline = line.expandtabs()
524
+ return len(expline) - len(expline.lstrip())
525
+
526
+ def _findclass(func):
527
+ cls = sys.modules.get(func.__module__)
528
+ if cls is None:
529
+ return None
530
+ for name in func.__qualname__.split('.')[:-1]:
531
+ cls = getattr(cls, name)
532
+ if not isclass(cls):
533
+ return None
534
+ return cls
535
+
536
+ def _finddoc(obj):
537
+ if isclass(obj):
538
+ for base in obj.__mro__:
539
+ if base is not object:
540
+ try:
541
+ doc = base.__doc__
542
+ except AttributeError:
543
+ continue
544
+ if doc is not None:
545
+ return doc
546
+ return None
547
+
548
+ if ismethod(obj):
549
+ name = obj.__func__.__name__
550
+ self = obj.__self__
551
+ if (isclass(self) and
552
+ getattr(getattr(self, name, None), '__func__') is obj.__func__):
553
+ # classmethod
554
+ cls = self
555
+ else:
556
+ cls = self.__class__
557
+ elif isfunction(obj):
558
+ name = obj.__name__
559
+ cls = _findclass(obj)
560
+ if cls is None or getattr(cls, name) is not obj:
561
+ return None
562
+ elif isbuiltin(obj):
563
+ name = obj.__name__
564
+ self = obj.__self__
565
+ if (isclass(self) and
566
+ self.__qualname__ + '.' + name == obj.__qualname__):
567
+ # classmethod
568
+ cls = self
569
+ else:
570
+ cls = self.__class__
571
+ # Should be tested before isdatadescriptor().
572
+ elif isinstance(obj, property):
573
+ func = obj.fget
574
+ name = func.__name__
575
+ cls = _findclass(func)
576
+ if cls is None or getattr(cls, name) is not obj:
577
+ return None
578
+ elif ismethoddescriptor(obj) or isdatadescriptor(obj):
579
+ name = obj.__name__
580
+ cls = obj.__objclass__
581
+ if getattr(cls, name) is not obj:
582
+ return None
583
+ else:
584
+ return None
585
+
586
+ for base in cls.__mro__:
587
+ try:
588
+ doc = getattr(base, name).__doc__
589
+ except AttributeError:
590
+ continue
591
+ if doc is not None:
592
+ return doc
593
+ return None
594
+
595
+ def getdoc(object):
596
+ """Get the documentation string for an object.
597
+
598
+ All tabs are expanded to spaces. To clean up docstrings that are
599
+ indented to line up with blocks of code, any whitespace than can be
600
+ uniformly removed from the second line onwards is removed."""
601
+ try:
602
+ doc = object.__doc__
603
+ except AttributeError:
604
+ return None
605
+ if doc is None:
606
+ try:
607
+ doc = _finddoc(object)
608
+ except (AttributeError, TypeError):
609
+ return None
610
+ if not isinstance(doc, str):
611
+ return None
612
+ return cleandoc(doc)
613
+
614
+ def cleandoc(doc):
615
+ """Clean up indentation from docstrings.
616
+
617
+ Any whitespace that can be uniformly removed from the second line
618
+ onwards is removed."""
619
+ try:
620
+ lines = doc.expandtabs().split('\n')
621
+ except UnicodeError:
622
+ return None
623
+ else:
624
+ # Find minimum indentation of any non-blank lines after first line.
625
+ margin = sys.maxsize
626
+ for line in lines[1:]:
627
+ content = len(line.lstrip())
628
+ if content:
629
+ indent = len(line) - content
630
+ margin = min(margin, indent)
631
+ # Remove indentation.
632
+ if lines:
633
+ lines[0] = lines[0].lstrip()
634
+ if margin < sys.maxsize:
635
+ for i in range(1, len(lines)): lines[i] = lines[i][margin:]
636
+ # Remove any trailing or leading blank lines.
637
+ while lines and not lines[-1]:
638
+ lines.pop()
639
+ while lines and not lines[0]:
640
+ lines.pop(0)
641
+ return '\n'.join(lines)
642
+
643
+ def getfile(object):
644
+ """Work out which source or compiled file an object was defined in."""
645
+ if ismodule(object):
646
+ if hasattr(object, '__file__'):
647
+ return object.__file__
648
+ raise TypeError('{!r} is a built-in module'.format(object))
649
+ if isclass(object):
650
+ if hasattr(object, '__module__'):
651
+ object = sys.modules.get(object.__module__)
652
+ if hasattr(object, '__file__'):
653
+ return object.__file__
654
+ raise TypeError('{!r} is a built-in class'.format(object))
655
+ if ismethod(object):
656
+ object = object.__func__
657
+ if isfunction(object):
658
+ object = object.__code__
659
+ if istraceback(object):
660
+ object = object.tb_frame
661
+ if isframe(object):
662
+ object = object.f_code
663
+ if iscode(object):
664
+ return object.co_filename
665
+ raise TypeError('{!r} is not a module, class, method, '
666
+ 'function, traceback, frame, or code object'.format(object))
667
+
668
+ def getmodulename(path):
669
+ """Return the module name for a given file, or None."""
670
+ fname = os.path.basename(path)
671
+ # Check for paths that look like an actual module file
672
+ suffixes = [(-len(suffix), suffix)
673
+ for suffix in importlib.machinery.all_suffixes()]
674
+ suffixes.sort() # try longest suffixes first, in case they overlap
675
+ for neglen, suffix in suffixes:
676
+ if fname.endswith(suffix):
677
+ return fname[:neglen]
678
+ return None
679
+
680
+ def getsourcefile(object):
681
+ """Return the filename that can be used to locate an object's source.
682
+ Return None if no way can be identified to get the source.
683
+ """
684
+ filename = getfile(object)
685
+ all_bytecode_suffixes = importlib.machinery.DEBUG_BYTECODE_SUFFIXES[:]
686
+ all_bytecode_suffixes += importlib.machinery.OPTIMIZED_BYTECODE_SUFFIXES[:]
687
+ if any(filename.endswith(s) for s in all_bytecode_suffixes):
688
+ filename = (os.path.splitext(filename)[0] +
689
+ importlib.machinery.SOURCE_SUFFIXES[0])
690
+ elif any(filename.endswith(s) for s in
691
+ importlib.machinery.EXTENSION_SUFFIXES):
692
+ return None
693
+ if os.path.exists(filename):
694
+ return filename
695
+ # only return a non-existent filename if the module has a PEP 302 loader
696
+ if getattr(getmodule(object, filename), '__loader__', None) is not None:
697
+ return filename
698
+ # or it is in the linecache
699
+ if filename in linecache.cache:
700
+ return filename
701
+
702
+ def getabsfile(object, _filename=None):
703
+ """Return an absolute path to the source or compiled file for an object.
704
+
705
+ The idea is for each object to have a unique origin, so this routine
706
+ normalizes the result as much as possible."""
707
+ if _filename is None:
708
+ _filename = getsourcefile(object) or getfile(object)
709
+ return os.path.normcase(os.path.abspath(_filename))
710
+
711
+ modulesbyfile = {}
712
+ _filesbymodname = {}
713
+
714
+ def getmodule(object, _filename=None):
715
+ """Return the module an object was defined in, or None if not found."""
716
+ if ismodule(object):
717
+ return object
718
+ if hasattr(object, '__module__'):
719
+ return sys.modules.get(object.__module__)
720
+ # Try the filename to modulename cache
721
+ if _filename is not None and _filename in modulesbyfile:
722
+ return sys.modules.get(modulesbyfile[_filename])
723
+ # Try the cache again with the absolute file name
724
+ try:
725
+ file = getabsfile(object, _filename)
726
+ except TypeError:
727
+ return None
728
+ if file in modulesbyfile:
729
+ return sys.modules.get(modulesbyfile[file])
730
+ # Update the filename to module name cache and check yet again
731
+ # Copy sys.modules in order to cope with changes while iterating
732
+ for modname, module in list(sys.modules.items()):
733
+ if ismodule(module) and hasattr(module, '__file__'):
734
+ f = module.__file__
735
+ if f == _filesbymodname.get(modname, None):
736
+ # Have already mapped this module, so skip it
737
+ continue
738
+ _filesbymodname[modname] = f
739
+ f = getabsfile(module)
740
+ # Always map to the name the module knows itself by
741
+ modulesbyfile[f] = modulesbyfile[
742
+ os.path.realpath(f)] = module.__name__
743
+ if file in modulesbyfile:
744
+ return sys.modules.get(modulesbyfile[file])
745
+ # Check the main module
746
+ main = sys.modules['__main__']
747
+ if not hasattr(object, '__name__'):
748
+ return None
749
+ if hasattr(main, object.__name__):
750
+ mainobject = getattr(main, object.__name__)
751
+ if mainobject is object:
752
+ return main
753
+ # Check builtins
754
+ builtin = sys.modules['builtins']
755
+ if hasattr(builtin, object.__name__):
756
+ builtinobject = getattr(builtin, object.__name__)
757
+ if builtinobject is object:
758
+ return builtin
759
+
760
+ def findsource(object):
761
+ """Return the entire source file and starting line number for an object.
762
+
763
+ The argument may be a module, class, method, function, traceback, frame,
764
+ or code object. The source code is returned as a list of all the lines
765
+ in the file and the line number indexes a line in that list. An OSError
766
+ is raised if the source code cannot be retrieved."""
767
+
768
+ file = getsourcefile(object)
769
+ if file:
770
+ # Invalidate cache if needed.
771
+ linecache.checkcache(file)
772
+ else:
773
+ file = getfile(object)
774
+ # Allow filenames in form of "<something>" to pass through.
775
+ # `doctest` monkeypatches `linecache` module to enable
776
+ # inspection, so let `linecache.getlines` to be called.
777
+ if not (file.startswith('<') and file.endswith('>')):
778
+ raise OSError('source code not available')
779
+
780
+ module = getmodule(object, file)
781
+ if module:
782
+ lines = linecache.getlines(file, module.__dict__)
783
+ else:
784
+ lines = linecache.getlines(file)
785
+ if not lines:
786
+ raise OSError('could not get source code')
787
+
788
+ if ismodule(object):
789
+ return lines, 0
790
+
791
+ if isclass(object):
792
+ name = object.__name__
793
+ pat = re.compile(r'^(\s*)class\s*' + name + r'\b')
794
+ # make some effort to find the best matching class definition:
795
+ # use the one with the least indentation, which is the one
796
+ # that's most probably not inside a function definition.
797
+ candidates = []
798
+ for i in range(len(lines)):
799
+ match = pat.match(lines[i])
800
+ if match:
801
+ # if it's at toplevel, it's already the best one
802
+ if lines[i][0] == 'c':
803
+ return lines, i
804
+ # else add whitespace to candidate list
805
+ candidates.append((match.group(1), i))
806
+ if candidates:
807
+ # this will sort by whitespace, and by line number,
808
+ # less whitespace first
809
+ candidates.sort()
810
+ return lines, candidates[0][1]
811
+ else:
812
+ raise OSError('could not find class definition')
813
+
814
+ if ismethod(object):
815
+ object = object.__func__
816
+ if isfunction(object):
817
+ object = object.__code__
818
+ if istraceback(object):
819
+ object = object.tb_frame
820
+ if isframe(object):
821
+ object = object.f_code
822
+ if iscode(object):
823
+ if not hasattr(object, 'co_firstlineno'):
824
+ raise OSError('could not find function definition')
825
+ lnum = object.co_firstlineno - 1
826
+ pat = re.compile(r'^(\s*def\s)|(\s*async\s+def\s)|(.*(?<!\w)lambda(:|\s))|^(\s*@)')
827
+ while lnum > 0:
828
+ if pat.match(lines[lnum]): break
829
+ lnum = lnum - 1
830
+ return lines, lnum
831
+ raise OSError('could not find code object')
832
+
833
+ def getcomments(object):
834
+ """Get lines of comments immediately preceding an object's source code.
835
+
836
+ Returns None when source can't be found.
837
+ """
838
+ try:
839
+ lines, lnum = findsource(object)
840
+ except (OSError, TypeError):
841
+ return None
842
+
843
+ if ismodule(object):
844
+ # Look for a comment block at the top of the file.
845
+ start = 0
846
+ if lines and lines[0][:2] == '#!': start = 1
847
+ while start < len(lines) and lines[start].strip() in ('', '#'):
848
+ start = start + 1
849
+ if start < len(lines) and lines[start][:1] == '#':
850
+ comments = []
851
+ end = start
852
+ while end < len(lines) and lines[end][:1] == '#':
853
+ comments.append(lines[end].expandtabs())
854
+ end = end + 1
855
+ return ''.join(comments)
856
+
857
+ # Look for a preceding block of comments at the same indentation.
858
+ elif lnum > 0:
859
+ indent = indentsize(lines[lnum])
860
+ end = lnum - 1
861
+ if end >= 0 and lines[end].lstrip()[:1] == '#' and \
862
+ indentsize(lines[end]) == indent:
863
+ comments = [lines[end].expandtabs().lstrip()]
864
+ if end > 0:
865
+ end = end - 1
866
+ comment = lines[end].expandtabs().lstrip()
867
+ while comment[:1] == '#' and indentsize(lines[end]) == indent:
868
+ comments[:0] = [comment]
869
+ end = end - 1
870
+ if end < 0: break
871
+ comment = lines[end].expandtabs().lstrip()
872
+ while comments and comments[0].strip() == '#':
873
+ comments[:1] = []
874
+ while comments and comments[-1].strip() == '#':
875
+ comments[-1:] = []
876
+ return ''.join(comments)
877
+
878
+ class EndOfBlock(Exception): pass
879
+
880
+ class BlockFinder:
881
+ """Provide a tokeneater() method to detect the end of a code block."""
882
+ def __init__(self):
883
+ self.indent = 0
884
+ self.islambda = False
885
+ self.started = False
886
+ self.passline = False
887
+ self.indecorator = False
888
+ self.decoratorhasargs = False
889
+ self.last = 1
890
+
891
+ def tokeneater(self, type, token, srowcol, erowcol, line):
892
+ if not self.started and not self.indecorator:
893
+ # skip any decorators
894
+ if token == "@":
895
+ self.indecorator = True
896
+ # look for the first "def", "class" or "lambda"
897
+ elif token in ("def", "class", "lambda"):
898
+ if token == "lambda":
899
+ self.islambda = True
900
+ self.started = True
901
+ self.passline = True # skip to the end of the line
902
+ elif token == "(":
903
+ if self.indecorator:
904
+ self.decoratorhasargs = True
905
+ elif token == ")":
906
+ if self.indecorator:
907
+ self.indecorator = False
908
+ self.decoratorhasargs = False
909
+ elif type == tokenize.NEWLINE:
910
+ self.passline = False # stop skipping when a NEWLINE is seen
911
+ self.last = srowcol[0]
912
+ if self.islambda: # lambdas always end at the first NEWLINE
913
+ raise EndOfBlock
914
+ # hitting a NEWLINE when in a decorator without args
915
+ # ends the decorator
916
+ if self.indecorator and not self.decoratorhasargs:
917
+ self.indecorator = False
918
+ elif self.passline:
919
+ pass
920
+ elif type == tokenize.INDENT:
921
+ self.indent = self.indent + 1
922
+ self.passline = True
923
+ elif type == tokenize.DEDENT:
924
+ self.indent = self.indent - 1
925
+ # the end of matching indent/dedent pairs end a block
926
+ # (note that this only works for "def"/"class" blocks,
927
+ # not e.g. for "if: else:" or "try: finally:" blocks)
928
+ if self.indent <= 0:
929
+ raise EndOfBlock
930
+ elif self.indent == 0 and type not in (tokenize.COMMENT, tokenize.NL):
931
+ # any other token on the same indentation level end the previous
932
+ # block as well, except the pseudo-tokens COMMENT and NL.
933
+ raise EndOfBlock
934
+
935
+ def getblock(lines):
936
+ """Extract the block of code at the top of the given list of lines."""
937
+ blockfinder = BlockFinder()
938
+ try:
939
+ tokens = tokenize.generate_tokens(iter(lines).__next__)
940
+ for _token in tokens:
941
+ blockfinder.tokeneater(*_token)
942
+ except (EndOfBlock, IndentationError):
943
+ pass
944
+ return lines[:blockfinder.last]
945
+
946
+ def getsourcelines(object):
947
+ """Return a list of source lines and starting line number for an object.
948
+
949
+ The argument may be a module, class, method, function, traceback, frame,
950
+ or code object. The source code is returned as a list of the lines
951
+ corresponding to the object and the line number indicates where in the
952
+ original source file the first line of code was found. An OSError is
953
+ raised if the source code cannot be retrieved."""
954
+ object = unwrap(object)
955
+ lines, lnum = findsource(object)
956
+
957
+ if ismodule(object):
958
+ return lines, 0
959
+ else:
960
+ return getblock(lines[lnum:]), lnum + 1
961
+
962
+ def getsource(object):
963
+ """Return the text of the source code for an object.
964
+
965
+ The argument may be a module, class, method, function, traceback, frame,
966
+ or code object. The source code is returned as a single string. An
967
+ OSError is raised if the source code cannot be retrieved."""
968
+ lines, lnum = getsourcelines(object)
969
+ return ''.join(lines)
970
+
971
+ # --------------------------------------------------- class tree extraction
972
+ def walktree(classes, children, parent):
973
+ """Recursive helper function for getclasstree()."""
974
+ results = []
975
+ classes.sort(key=attrgetter('__module__', '__name__'))
976
+ for c in classes:
977
+ results.append((c, c.__bases__))
978
+ if c in children:
979
+ results.append(walktree(children[c], children, c))
980
+ return results
981
+
982
+ def getclasstree(classes, unique=False):
983
+ """Arrange the given list of classes into a hierarchy of nested lists.
984
+
985
+ Where a nested list appears, it contains classes derived from the class
986
+ whose entry immediately precedes the list. Each entry is a 2-tuple
987
+ containing a class and a tuple of its base classes. If the 'unique'
988
+ argument is true, exactly one entry appears in the returned structure
989
+ for each class in the given list. Otherwise, classes using multiple
990
+ inheritance and their descendants will appear multiple times."""
991
+ children = {}
992
+ roots = []
993
+ for c in classes:
994
+ if c.__bases__:
995
+ for parent in c.__bases__:
996
+ if not parent in children:
997
+ children[parent] = []
998
+ if c not in children[parent]:
999
+ children[parent].append(c)
1000
+ if unique and parent in classes: break
1001
+ elif c not in roots:
1002
+ roots.append(c)
1003
+ for parent in children:
1004
+ if parent not in classes:
1005
+ roots.append(parent)
1006
+ return walktree(roots, children, None)
1007
+
1008
+ # ------------------------------------------------ argument list extraction
1009
+ Arguments = namedtuple('Arguments', 'args, varargs, varkw')
1010
+
1011
+ def getargs(co):
1012
+ """Get information about the arguments accepted by a code object.
1013
+
1014
+ Three things are returned: (args, varargs, varkw), where
1015
+ 'args' is the list of argument names. Keyword-only arguments are
1016
+ appended. 'varargs' and 'varkw' are the names of the * and **
1017
+ arguments or None."""
1018
+ args, varargs, kwonlyargs, varkw = _getfullargs(co)
1019
+ return Arguments(args + kwonlyargs, varargs, varkw)
1020
+
1021
+ def _getfullargs(co):
1022
+ """Get information about the arguments accepted by a code object.
1023
+
1024
+ Four things are returned: (args, varargs, kwonlyargs, varkw), where
1025
+ 'args' and 'kwonlyargs' are lists of argument names, and 'varargs'
1026
+ and 'varkw' are the names of the * and ** arguments or None."""
1027
+
1028
+ if not iscode(co):
1029
+ raise TypeError('{!r} is not a code object'.format(co))
1030
+
1031
+ nargs = co.co_argcount
1032
+ names = co.co_varnames
1033
+ nkwargs = co.co_kwonlyargcount
1034
+ args = list(names[:nargs])
1035
+ kwonlyargs = list(names[nargs:nargs+nkwargs])
1036
+ step = 0
1037
+
1038
+ nargs += nkwargs
1039
+ varargs = None
1040
+ if co.co_flags & CO_VARARGS:
1041
+ varargs = co.co_varnames[nargs]
1042
+ nargs = nargs + 1
1043
+ varkw = None
1044
+ if co.co_flags & CO_VARKEYWORDS:
1045
+ varkw = co.co_varnames[nargs]
1046
+ return args, varargs, kwonlyargs, varkw
1047
+
1048
+
1049
+ ArgSpec = namedtuple('ArgSpec', 'args varargs keywords defaults')
1050
+
1051
+ def getargspec(func):
1052
+ """Get the names and default values of a function's parameters.
1053
+
1054
+ A tuple of four things is returned: (args, varargs, keywords, defaults).
1055
+ 'args' is a list of the argument names, including keyword-only argument names.
1056
+ 'varargs' and 'keywords' are the names of the * and ** parameters or None.
1057
+ 'defaults' is an n-tuple of the default values of the last n parameters.
1058
+
1059
+ This function is deprecated, as it does not support annotations or
1060
+ keyword-only parameters and will raise ValueError if either is present
1061
+ on the supplied callable.
1062
+
1063
+ For a more structured introspection API, use inspect.signature() instead.
1064
+
1065
+ Alternatively, use getfullargspec() for an API with a similar namedtuple
1066
+ based interface, but full support for annotations and keyword-only
1067
+ parameters.
1068
+ """
1069
+ warnings.warn("inspect.getargspec() is deprecated, "
1070
+ "use inspect.signature() or inspect.getfullargspec()",
1071
+ DeprecationWarning, stacklevel=2)
1072
+ args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, ann = \
1073
+ getfullargspec(func)
1074
+ if kwonlyargs or ann:
1075
+ raise ValueError("Function has keyword-only parameters or annotations"
1076
+ ", use getfullargspec() API which can support them")
1077
+ return ArgSpec(args, varargs, varkw, defaults)
1078
+
1079
+ FullArgSpec = namedtuple('FullArgSpec',
1080
+ 'args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, annotations')
1081
+
1082
+ def getfullargspec(func):
1083
+ """Get the names and default values of a callable object's parameters.
1084
+
1085
+ A tuple of seven things is returned:
1086
+ (args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, annotations).
1087
+ 'args' is a list of the parameter names.
1088
+ 'varargs' and 'varkw' are the names of the * and ** parameters or None.
1089
+ 'defaults' is an n-tuple of the default values of the last n parameters.
1090
+ 'kwonlyargs' is a list of keyword-only parameter names.
1091
+ 'kwonlydefaults' is a dictionary mapping names from kwonlyargs to defaults.
1092
+ 'annotations' is a dictionary mapping parameter names to annotations.
1093
+
1094
+ Notable differences from inspect.signature():
1095
+ - the "self" parameter is always reported, even for bound methods
1096
+ - wrapper chains defined by __wrapped__ *not* unwrapped automatically
1097
+ """
1098
+
1099
+ try:
1100
+ # Re: `skip_bound_arg=False`
1101
+ #
1102
+ # There is a notable difference in behaviour between getfullargspec
1103
+ # and Signature: the former always returns 'self' parameter for bound
1104
+ # methods, whereas the Signature always shows the actual calling
1105
+ # signature of the passed object.
1106
+ #
1107
+ # To simulate this behaviour, we "unbind" bound methods, to trick
1108
+ # inspect.signature to always return their first parameter ("self",
1109
+ # usually)
1110
+
1111
+ # Re: `follow_wrapper_chains=False`
1112
+ #
1113
+ # getfullargspec() historically ignored __wrapped__ attributes,
1114
+ # so we ensure that remains the case in 3.3+
1115
+
1116
+ sig = _signature_from_callable(func,
1117
+ follow_wrapper_chains=False,
1118
+ skip_bound_arg=False,
1119
+ sigcls=Signature)
1120
+ except Exception as ex:
1121
+ # Most of the times 'signature' will raise ValueError.
1122
+ # But, it can also raise AttributeError, and, maybe something
1123
+ # else. So to be fully backwards compatible, we catch all
1124
+ # possible exceptions here, and reraise a TypeError.
1125
+ raise TypeError('unsupported callable') from ex
1126
+
1127
+ args = []
1128
+ varargs = None
1129
+ varkw = None
1130
+ kwonlyargs = []
1131
+ defaults = ()
1132
+ annotations = {}
1133
+ defaults = ()
1134
+ kwdefaults = {}
1135
+
1136
+ if sig.return_annotation is not sig.empty:
1137
+ annotations['return'] = sig.return_annotation
1138
+
1139
+ for param in sig.parameters.values():
1140
+ kind = param.kind
1141
+ name = param.name
1142
+
1143
+ if kind is _POSITIONAL_ONLY:
1144
+ args.append(name)
1145
+ elif kind is _POSITIONAL_OR_KEYWORD:
1146
+ args.append(name)
1147
+ if param.default is not param.empty:
1148
+ defaults += (param.default,)
1149
+ elif kind is _VAR_POSITIONAL:
1150
+ varargs = name
1151
+ elif kind is _KEYWORD_ONLY:
1152
+ kwonlyargs.append(name)
1153
+ if param.default is not param.empty:
1154
+ kwdefaults[name] = param.default
1155
+ elif kind is _VAR_KEYWORD:
1156
+ varkw = name
1157
+
1158
+ if param.annotation is not param.empty:
1159
+ annotations[name] = param.annotation
1160
+
1161
+ if not kwdefaults:
1162
+ # compatibility with 'func.__kwdefaults__'
1163
+ kwdefaults = None
1164
+
1165
+ if not defaults:
1166
+ # compatibility with 'func.__defaults__'
1167
+ defaults = None
1168
+
1169
+ return FullArgSpec(args, varargs, varkw, defaults,
1170
+ kwonlyargs, kwdefaults, annotations)
1171
+
1172
+
1173
+ ArgInfo = namedtuple('ArgInfo', 'args varargs keywords locals')
1174
+
1175
+ def getargvalues(frame):
1176
+ """Get information about arguments passed into a particular frame.
1177
+
1178
+ A tuple of four things is returned: (args, varargs, varkw, locals).
1179
+ 'args' is a list of the argument names.
1180
+ 'varargs' and 'varkw' are the names of the * and ** arguments or None.
1181
+ 'locals' is the locals dictionary of the given frame."""
1182
+ args, varargs, varkw = getargs(frame.f_code)
1183
+ return ArgInfo(args, varargs, varkw, frame.f_locals)
1184
+
1185
+ def formatannotation(annotation, base_module=None):
1186
+ if getattr(annotation, '__module__', None) == 'typing':
1187
+ return repr(annotation).replace('typing.', '')
1188
+ if isinstance(annotation, type):
1189
+ if annotation.__module__ in ('builtins', base_module):
1190
+ return annotation.__qualname__
1191
+ return annotation.__module__+'.'+annotation.__qualname__
1192
+ return repr(annotation)
1193
+
1194
+ def formatannotationrelativeto(object):
1195
+ module = getattr(object, '__module__', None)
1196
+ def _formatannotation(annotation):
1197
+ return formatannotation(annotation, module)
1198
+ return _formatannotation
1199
+
1200
+ def formatargspec(args, varargs=None, varkw=None, defaults=None,
1201
+ kwonlyargs=(), kwonlydefaults={}, annotations={},
1202
+ formatarg=str,
1203
+ formatvarargs=lambda name: '*' + name,
1204
+ formatvarkw=lambda name: '**' + name,
1205
+ formatvalue=lambda value: '=' + repr(value),
1206
+ formatreturns=lambda text: ' -> ' + text,
1207
+ formatannotation=formatannotation):
1208
+ """Format an argument spec from the values returned by getfullargspec.
1209
+
1210
+ The first seven arguments are (args, varargs, varkw, defaults,
1211
+ kwonlyargs, kwonlydefaults, annotations). The other five arguments
1212
+ are the corresponding optional formatting functions that are called to
1213
+ turn names and values into strings. The last argument is an optional
1214
+ function to format the sequence of arguments."""
1215
+ def formatargandannotation(arg):
1216
+ result = formatarg(arg)
1217
+ if arg in annotations:
1218
+ result += ': ' + formatannotation(annotations[arg])
1219
+ return result
1220
+ specs = []
1221
+ if defaults:
1222
+ firstdefault = len(args) - len(defaults)
1223
+ for i, arg in enumerate(args):
1224
+ spec = formatargandannotation(arg)
1225
+ if defaults and i >= firstdefault:
1226
+ spec = spec + formatvalue(defaults[i - firstdefault])
1227
+ specs.append(spec)
1228
+ if varargs is not None:
1229
+ specs.append(formatvarargs(formatargandannotation(varargs)))
1230
+ else:
1231
+ if kwonlyargs:
1232
+ specs.append('*')
1233
+ if kwonlyargs:
1234
+ for kwonlyarg in kwonlyargs:
1235
+ spec = formatargandannotation(kwonlyarg)
1236
+ if kwonlydefaults and kwonlyarg in kwonlydefaults:
1237
+ spec += formatvalue(kwonlydefaults[kwonlyarg])
1238
+ specs.append(spec)
1239
+ if varkw is not None:
1240
+ specs.append(formatvarkw(formatargandannotation(varkw)))
1241
+ result = '(' + ', '.join(specs) + ')'
1242
+ if 'return' in annotations:
1243
+ result += formatreturns(formatannotation(annotations['return']))
1244
+ return result
1245
+
1246
+ def formatargvalues(args, varargs, varkw, locals,
1247
+ formatarg=str,
1248
+ formatvarargs=lambda name: '*' + name,
1249
+ formatvarkw=lambda name: '**' + name,
1250
+ formatvalue=lambda value: '=' + repr(value)):
1251
+ """Format an argument spec from the 4 values returned by getargvalues.
1252
+
1253
+ The first four arguments are (args, varargs, varkw, locals). The
1254
+ next four arguments are the corresponding optional formatting functions
1255
+ that are called to turn names and values into strings. The ninth
1256
+ argument is an optional function to format the sequence of arguments."""
1257
+ def convert(name, locals=locals,
1258
+ formatarg=formatarg, formatvalue=formatvalue):
1259
+ return formatarg(name) + formatvalue(locals[name])
1260
+ specs = []
1261
+ for i in range(len(args)):
1262
+ specs.append(convert(args[i]))
1263
+ if varargs:
1264
+ specs.append(formatvarargs(varargs) + formatvalue(locals[varargs]))
1265
+ if varkw:
1266
+ specs.append(formatvarkw(varkw) + formatvalue(locals[varkw]))
1267
+ return '(' + ', '.join(specs) + ')'
1268
+
1269
+ def _missing_arguments(f_name, argnames, pos, values):
1270
+ names = [repr(name) for name in argnames if name not in values]
1271
+ missing = len(names)
1272
+ if missing == 1:
1273
+ s = names[0]
1274
+ elif missing == 2:
1275
+ s = "{} and {}".format(*names)
1276
+ else:
1277
+ tail = ", {} and {}".format(*names[-2:])
1278
+ del names[-2:]
1279
+ s = ", ".join(names) + tail
1280
+ raise TypeError("%s() missing %i required %s argument%s: %s" %
1281
+ (f_name, missing,
1282
+ "positional" if pos else "keyword-only",
1283
+ "" if missing == 1 else "s", s))
1284
+
1285
+ def _too_many(f_name, args, kwonly, varargs, defcount, given, values):
1286
+ atleast = len(args) - defcount
1287
+ kwonly_given = len([arg for arg in kwonly if arg in values])
1288
+ if varargs:
1289
+ plural = atleast != 1
1290
+ sig = "at least %d" % (atleast,)
1291
+ elif defcount:
1292
+ plural = True
1293
+ sig = "from %d to %d" % (atleast, len(args))
1294
+ else:
1295
+ plural = len(args) != 1
1296
+ sig = str(len(args))
1297
+ kwonly_sig = ""
1298
+ if kwonly_given:
1299
+ msg = " positional argument%s (and %d keyword-only argument%s)"
1300
+ kwonly_sig = (msg % ("s" if given != 1 else "", kwonly_given,
1301
+ "s" if kwonly_given != 1 else ""))
1302
+ raise TypeError("%s() takes %s positional argument%s but %d%s %s given" %
1303
+ (f_name, sig, "s" if plural else "", given, kwonly_sig,
1304
+ "was" if given == 1 and not kwonly_given else "were"))
1305
+
1306
+ def getcallargs(*func_and_positional, **named):
1307
+ """Get the mapping of arguments to values.
1308
+
1309
+ A dict is returned, with keys the function argument names (including the
1310
+ names of the * and ** arguments, if any), and values the respective bound
1311
+ values from 'positional' and 'named'."""
1312
+ func = func_and_positional[0]
1313
+ positional = func_and_positional[1:]
1314
+ spec = getfullargspec(func)
1315
+ args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, ann = spec
1316
+ f_name = func.__name__
1317
+ arg2value = {}
1318
+
1319
+
1320
+ if ismethod(func) and func.__self__ is not None:
1321
+ # implicit 'self' (or 'cls' for classmethods) argument
1322
+ positional = (func.__self__,) + positional
1323
+ num_pos = len(positional)
1324
+ num_args = len(args)
1325
+ num_defaults = len(defaults) if defaults else 0
1326
+
1327
+ n = min(num_pos, num_args)
1328
+ for i in range(n):
1329
+ arg2value[args[i]] = positional[i]
1330
+ if varargs:
1331
+ arg2value[varargs] = tuple(positional[n:])
1332
+ possible_kwargs = set(args + kwonlyargs)
1333
+ if varkw:
1334
+ arg2value[varkw] = {}
1335
+ for kw, value in named.items():
1336
+ if kw not in possible_kwargs:
1337
+ if not varkw:
1338
+ raise TypeError("%s() got an unexpected keyword argument %r" %
1339
+ (f_name, kw))
1340
+ arg2value[varkw][kw] = value
1341
+ continue
1342
+ if kw in arg2value:
1343
+ raise TypeError("%s() got multiple values for argument %r" %
1344
+ (f_name, kw))
1345
+ arg2value[kw] = value
1346
+ if num_pos > num_args and not varargs:
1347
+ _too_many(f_name, args, kwonlyargs, varargs, num_defaults,
1348
+ num_pos, arg2value)
1349
+ if num_pos < num_args:
1350
+ req = args[:num_args - num_defaults]
1351
+ for arg in req:
1352
+ if arg not in arg2value:
1353
+ _missing_arguments(f_name, req, True, arg2value)
1354
+ for i, arg in enumerate(args[num_args - num_defaults:]):
1355
+ if arg not in arg2value:
1356
+ arg2value[arg] = defaults[i]
1357
+ missing = 0
1358
+ for kwarg in kwonlyargs:
1359
+ if kwarg not in arg2value:
1360
+ if kwonlydefaults and kwarg in kwonlydefaults:
1361
+ arg2value[kwarg] = kwonlydefaults[kwarg]
1362
+ else:
1363
+ missing += 1
1364
+ if missing:
1365
+ _missing_arguments(f_name, kwonlyargs, False, arg2value)
1366
+ return arg2value
1367
+
1368
+ ClosureVars = namedtuple('ClosureVars', 'nonlocals globals builtins unbound')
1369
+
1370
+ def getclosurevars(func):
1371
+ """
1372
+ Get the mapping of free variables to their current values.
1373
+
1374
+ Returns a named tuple of dicts mapping the current nonlocal, global
1375
+ and builtin references as seen by the body of the function. A final
1376
+ set of unbound names that could not be resolved is also provided.
1377
+ """
1378
+
1379
+ if ismethod(func):
1380
+ func = func.__func__
1381
+
1382
+ if not isfunction(func):
1383
+ raise TypeError("'{!r}' is not a Python function".format(func))
1384
+
1385
+ code = func.__code__
1386
+ # Nonlocal references are named in co_freevars and resolved
1387
+ # by looking them up in __closure__ by positional index
1388
+ if func.__closure__ is None:
1389
+ nonlocal_vars = {}
1390
+ else:
1391
+ nonlocal_vars = {
1392
+ var : cell.cell_contents
1393
+ for var, cell in zip(code.co_freevars, func.__closure__)
1394
+ }
1395
+
1396
+ # Global and builtin references are named in co_names and resolved
1397
+ # by looking them up in __globals__ or __builtins__
1398
+ global_ns = func.__globals__
1399
+ builtin_ns = global_ns.get("__builtins__", builtins.__dict__)
1400
+ if ismodule(builtin_ns):
1401
+ builtin_ns = builtin_ns.__dict__
1402
+ global_vars = {}
1403
+ builtin_vars = {}
1404
+ unbound_names = set()
1405
+ for name in code.co_names:
1406
+ if name in ("None", "True", "False"):
1407
+ # Because these used to be builtins instead of keywords, they
1408
+ # may still show up as name references. We ignore them.
1409
+ continue
1410
+ try:
1411
+ global_vars[name] = global_ns[name]
1412
+ except KeyError:
1413
+ try:
1414
+ builtin_vars[name] = builtin_ns[name]
1415
+ except KeyError:
1416
+ unbound_names.add(name)
1417
+
1418
+ return ClosureVars(nonlocal_vars, global_vars,
1419
+ builtin_vars, unbound_names)
1420
+
1421
+ # -------------------------------------------------- stack frame extraction
1422
+
1423
+ Traceback = namedtuple('Traceback', 'filename lineno function code_context index')
1424
+
1425
+ def getframeinfo(frame, context=1):
1426
+ """Get information about a frame or traceback object.
1427
+
1428
+ A tuple of five things is returned: the filename, the line number of
1429
+ the current line, the function name, a list of lines of context from
1430
+ the source code, and the index of the current line within that list.
1431
+ The optional second argument specifies the number of lines of context
1432
+ to return, which are centered around the current line."""
1433
+ if istraceback(frame):
1434
+ lineno = frame.tb_lineno
1435
+ frame = frame.tb_frame
1436
+ else:
1437
+ lineno = frame.f_lineno
1438
+ if not isframe(frame):
1439
+ raise TypeError('{!r} is not a frame or traceback object'.format(frame))
1440
+
1441
+ filename = getsourcefile(frame) or getfile(frame)
1442
+ if context > 0:
1443
+ start = lineno - 1 - context//2
1444
+ try:
1445
+ lines, lnum = findsource(frame)
1446
+ except OSError:
1447
+ lines = index = None
1448
+ else:
1449
+ start = max(0, min(start, len(lines) - context))
1450
+ lines = lines[start:start+context]
1451
+ index = lineno - 1 - start
1452
+ else:
1453
+ lines = index = None
1454
+
1455
+ return Traceback(filename, lineno, frame.f_code.co_name, lines, index)
1456
+
1457
+ def getlineno(frame):
1458
+ """Get the line number from a frame object, allowing for optimization."""
1459
+ # FrameType.f_lineno is now a descriptor that grovels co_lnotab
1460
+ return frame.f_lineno
1461
+
1462
+ FrameInfo = namedtuple('FrameInfo', ('frame',) + Traceback._fields)
1463
+
1464
+ def getouterframes(frame, context=1):
1465
+ """Get a list of records for a frame and all higher (calling) frames.
1466
+
1467
+ Each record contains a frame object, filename, line number, function
1468
+ name, a list of lines of context, and index within the context."""
1469
+ framelist = []
1470
+ while frame:
1471
+ frameinfo = (frame,) + getframeinfo(frame, context)
1472
+ framelist.append(FrameInfo(*frameinfo))
1473
+ frame = frame.f_back
1474
+ return framelist
1475
+
1476
+ def getinnerframes(tb, context=1):
1477
+ """Get a list of records for a traceback's frame and all lower frames.
1478
+
1479
+ Each record contains a frame object, filename, line number, function
1480
+ name, a list of lines of context, and index within the context."""
1481
+ framelist = []
1482
+ while tb:
1483
+ frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
1484
+ framelist.append(FrameInfo(*frameinfo))
1485
+ tb = tb.tb_next
1486
+ return framelist
1487
+
1488
+ def currentframe():
1489
+ """Return the frame of the caller or None if this is not possible."""
1490
+ return sys._getframe(1) if hasattr(sys, "_getframe") else None
1491
+
1492
+ def stack(context=1):
1493
+ """Return a list of records for the stack above the caller's frame."""
1494
+ return getouterframes(sys._getframe(1), context)
1495
+
1496
+ def trace(context=1):
1497
+ """Return a list of records for the stack below the current exception."""
1498
+ return getinnerframes(sys.exc_info()[2], context)
1499
+
1500
+
1501
+ # ------------------------------------------------ static version of getattr
1502
+
1503
+ _sentinel = object()
1504
+
1505
+ def _static_getmro(klass):
1506
+ return type.__dict__['__mro__'].__get__(klass)
1507
+
1508
+ def _check_instance(obj, attr):
1509
+ instance_dict = {}
1510
+ try:
1511
+ instance_dict = object.__getattribute__(obj, "__dict__")
1512
+ except AttributeError:
1513
+ pass
1514
+ return dict.get(instance_dict, attr, _sentinel)
1515
+
1516
+
1517
+ def _check_class(klass, attr):
1518
+ for entry in _static_getmro(klass):
1519
+ if _shadowed_dict(type(entry)) is _sentinel:
1520
+ try:
1521
+ return entry.__dict__[attr]
1522
+ except KeyError:
1523
+ pass
1524
+ return _sentinel
1525
+
1526
+ def _is_type(obj):
1527
+ try:
1528
+ _static_getmro(obj)
1529
+ except TypeError:
1530
+ return False
1531
+ return True
1532
+
1533
+ def _shadowed_dict(klass):
1534
+ dict_attr = type.__dict__["__dict__"]
1535
+ for entry in _static_getmro(klass):
1536
+ try:
1537
+ class_dict = dict_attr.__get__(entry)["__dict__"]
1538
+ except KeyError:
1539
+ pass
1540
+ else:
1541
+ if not (type(class_dict) is types.GetSetDescriptorType and
1542
+ class_dict.__name__ == "__dict__" and
1543
+ class_dict.__objclass__ is entry):
1544
+ return class_dict
1545
+ return _sentinel
1546
+
1547
+ def getattr_static(obj, attr, default=_sentinel):
1548
+ """Retrieve attributes without triggering dynamic lookup via the
1549
+ descriptor protocol, __getattr__ or __getattribute__.
1550
+
1551
+ Note: this function may not be able to retrieve all attributes
1552
+ that getattr can fetch (like dynamically created attributes)
1553
+ and may find attributes that getattr can't (like descriptors
1554
+ that raise AttributeError). It can also return descriptor objects
1555
+ instead of instance members in some cases. See the
1556
+ documentation for details.
1557
+ """
1558
+ instance_result = _sentinel
1559
+ if not _is_type(obj):
1560
+ klass = type(obj)
1561
+ dict_attr = _shadowed_dict(klass)
1562
+ if (dict_attr is _sentinel or
1563
+ type(dict_attr) is types.MemberDescriptorType):
1564
+ instance_result = _check_instance(obj, attr)
1565
+ else:
1566
+ klass = obj
1567
+
1568
+ klass_result = _check_class(klass, attr)
1569
+
1570
+ if instance_result is not _sentinel and klass_result is not _sentinel:
1571
+ if (_check_class(type(klass_result), '__get__') is not _sentinel and
1572
+ _check_class(type(klass_result), '__set__') is not _sentinel):
1573
+ return klass_result
1574
+
1575
+ if instance_result is not _sentinel:
1576
+ return instance_result
1577
+ if klass_result is not _sentinel:
1578
+ return klass_result
1579
+
1580
+ if obj is klass:
1581
+ # for types we check the metaclass too
1582
+ for entry in _static_getmro(type(klass)):
1583
+ if _shadowed_dict(type(entry)) is _sentinel:
1584
+ try:
1585
+ return entry.__dict__[attr]
1586
+ except KeyError:
1587
+ pass
1588
+ if default is not _sentinel:
1589
+ return default
1590
+ raise AttributeError(attr)
1591
+
1592
+
1593
+ # ------------------------------------------------ generator introspection
1594
+
1595
+ GEN_CREATED = 'GEN_CREATED'
1596
+ GEN_RUNNING = 'GEN_RUNNING'
1597
+ GEN_SUSPENDED = 'GEN_SUSPENDED'
1598
+ GEN_CLOSED = 'GEN_CLOSED'
1599
+
1600
+ def getgeneratorstate(generator):
1601
+ """Get current state of a generator-iterator.
1602
+
1603
+ Possible states are:
1604
+ GEN_CREATED: Waiting to start execution.
1605
+ GEN_RUNNING: Currently being executed by the interpreter.
1606
+ GEN_SUSPENDED: Currently suspended at a yield expression.
1607
+ GEN_CLOSED: Execution has completed.
1608
+ """
1609
+ if generator.gi_running:
1610
+ return GEN_RUNNING
1611
+ if generator.gi_frame is None:
1612
+ return GEN_CLOSED
1613
+ if generator.gi_frame.f_lasti == -1:
1614
+ return GEN_CREATED
1615
+ return GEN_SUSPENDED
1616
+
1617
+
1618
+ def getgeneratorlocals(generator):
1619
+ """
1620
+ Get the mapping of generator local variables to their current values.
1621
+
1622
+ A dict is returned, with the keys the local variable names and values the
1623
+ bound values."""
1624
+
1625
+ if not isgenerator(generator):
1626
+ raise TypeError("'{!r}' is not a Python generator".format(generator))
1627
+
1628
+ frame = getattr(generator, "gi_frame", None)
1629
+ if frame is not None:
1630
+ return generator.gi_frame.f_locals
1631
+ else:
1632
+ return {}
1633
+
1634
+
1635
+ # ------------------------------------------------ coroutine introspection
1636
+
1637
+ CORO_CREATED = 'CORO_CREATED'
1638
+ CORO_RUNNING = 'CORO_RUNNING'
1639
+ CORO_SUSPENDED = 'CORO_SUSPENDED'
1640
+ CORO_CLOSED = 'CORO_CLOSED'
1641
+
1642
+ def getcoroutinestate(coroutine):
1643
+ """Get current state of a coroutine object.
1644
+
1645
+ Possible states are:
1646
+ CORO_CREATED: Waiting to start execution.
1647
+ CORO_RUNNING: Currently being executed by the interpreter.
1648
+ CORO_SUSPENDED: Currently suspended at an await expression.
1649
+ CORO_CLOSED: Execution has completed.
1650
+ """
1651
+ if coroutine.cr_running:
1652
+ return CORO_RUNNING
1653
+ if coroutine.cr_frame is None:
1654
+ return CORO_CLOSED
1655
+ if coroutine.cr_frame.f_lasti == -1:
1656
+ return CORO_CREATED
1657
+ return CORO_SUSPENDED
1658
+
1659
+
1660
+ def getcoroutinelocals(coroutine):
1661
+ """
1662
+ Get the mapping of coroutine local variables to their current values.
1663
+
1664
+ A dict is returned, with the keys the local variable names and values the
1665
+ bound values."""
1666
+ frame = getattr(coroutine, "cr_frame", None)
1667
+ if frame is not None:
1668
+ return frame.f_locals
1669
+ else:
1670
+ return {}
1671
+
1672
+
1673
+ ###############################################################################
1674
+ ### Function Signature Object (PEP 362)
1675
+ ###############################################################################
1676
+
1677
+
1678
+ _WrapperDescriptor = type(type.__call__)
1679
+ _MethodWrapper = type(all.__call__)
1680
+ _ClassMethodWrapper = type(int.__dict__['from_bytes'])
1681
+
1682
+ _NonUserDefinedCallables = (_WrapperDescriptor,
1683
+ _MethodWrapper,
1684
+ _ClassMethodWrapper,
1685
+ types.BuiltinFunctionType)
1686
+
1687
+
1688
+ def _signature_get_user_defined_method(cls, method_name):
1689
+ """Private helper. Checks if ``cls`` has an attribute
1690
+ named ``method_name`` and returns it only if it is a
1691
+ pure python function.
1692
+ """
1693
+ try:
1694
+ meth = getattr(cls, method_name)
1695
+ except AttributeError:
1696
+ return
1697
+ else:
1698
+ if not isinstance(meth, _NonUserDefinedCallables):
1699
+ # Once '__signature__' will be added to 'C'-level
1700
+ # callables, this check won't be necessary
1701
+ return meth
1702
+
1703
+
1704
+ def _signature_get_partial(wrapped_sig, partial, extra_args=()):
1705
+ """Private helper to calculate how 'wrapped_sig' signature will
1706
+ look like after applying a 'functools.partial' object (or alike)
1707
+ on it.
1708
+ """
1709
+
1710
+ old_params = wrapped_sig.parameters
1711
+ new_params = OrderedDict(old_params.items())
1712
+
1713
+ partial_args = partial.args or ()
1714
+ partial_keywords = partial.keywords or {}
1715
+
1716
+ if extra_args:
1717
+ partial_args = extra_args + partial_args
1718
+
1719
+ try:
1720
+ ba = wrapped_sig.bind_partial(*partial_args, **partial_keywords)
1721
+ except TypeError as ex:
1722
+ msg = 'partial object {!r} has incorrect arguments'.format(partial)
1723
+ raise ValueError(msg) from ex
1724
+
1725
+
1726
+ transform_to_kwonly = False
1727
+ for param_name, param in old_params.items():
1728
+ try:
1729
+ arg_value = ba.arguments[param_name]
1730
+ except KeyError:
1731
+ pass
1732
+ else:
1733
+ if param.kind is _POSITIONAL_ONLY:
1734
+ # If positional-only parameter is bound by partial,
1735
+ # it effectively disappears from the signature
1736
+ new_params.pop(param_name)
1737
+ continue
1738
+
1739
+ if param.kind is _POSITIONAL_OR_KEYWORD:
1740
+ if param_name in partial_keywords:
1741
+ # This means that this parameter, and all parameters
1742
+ # after it should be keyword-only (and var-positional
1743
+ # should be removed). Here's why. Consider the following
1744
+ # function:
1745
+ # foo(a, b, *args, c):
1746
+ # pass
1747
+ #
1748
+ # "partial(foo, a='spam')" will have the following
1749
+ # signature: "(*, a='spam', b, c)". Because attempting
1750
+ # to call that partial with "(10, 20)" arguments will
1751
+ # raise a TypeError, saying that "a" argument received
1752
+ # multiple values.
1753
+ transform_to_kwonly = True
1754
+ # Set the new default value
1755
+ new_params[param_name] = param.replace(default=arg_value)
1756
+ else:
1757
+ # was passed as a positional argument
1758
+ new_params.pop(param.name)
1759
+ continue
1760
+
1761
+ if param.kind is _KEYWORD_ONLY:
1762
+ # Set the new default value
1763
+ new_params[param_name] = param.replace(default=arg_value)
1764
+
1765
+ if transform_to_kwonly:
1766
+ assert param.kind is not _POSITIONAL_ONLY
1767
+
1768
+ if param.kind is _POSITIONAL_OR_KEYWORD:
1769
+ new_param = new_params[param_name].replace(kind=_KEYWORD_ONLY)
1770
+ new_params[param_name] = new_param
1771
+ new_params.move_to_end(param_name)
1772
+ elif param.kind in (_KEYWORD_ONLY, _VAR_KEYWORD):
1773
+ new_params.move_to_end(param_name)
1774
+ elif param.kind is _VAR_POSITIONAL:
1775
+ new_params.pop(param.name)
1776
+
1777
+ return wrapped_sig.replace(parameters=new_params.values())
1778
+
1779
+
1780
+ def _signature_bound_method(sig):
1781
+ """Private helper to transform signatures for unbound
1782
+ functions to bound methods.
1783
+ """
1784
+
1785
+ params = tuple(sig.parameters.values())
1786
+
1787
+ if not params or params[0].kind in (_VAR_KEYWORD, _KEYWORD_ONLY):
1788
+ raise ValueError('invalid method signature')
1789
+
1790
+ kind = params[0].kind
1791
+ if kind in (_POSITIONAL_OR_KEYWORD, _POSITIONAL_ONLY):
1792
+ # Drop first parameter:
1793
+ # '(p1, p2[, ...])' -> '(p2[, ...])'
1794
+ params = params[1:]
1795
+ else:
1796
+ if kind is not _VAR_POSITIONAL:
1797
+ # Unless we add a new parameter type we never
1798
+ # get here
1799
+ raise ValueError('invalid argument type')
1800
+ # It's a var-positional parameter.
1801
+ # Do nothing. '(*args[, ...])' -> '(*args[, ...])'
1802
+
1803
+ return sig.replace(parameters=params)
1804
+
1805
+
1806
+ def _signature_is_builtin(obj):
1807
+ """Private helper to test if `obj` is a callable that might
1808
+ support Argument Clinic's __text_signature__ protocol.
1809
+ """
1810
+ return (isbuiltin(obj) or
1811
+ ismethoddescriptor(obj) or
1812
+ isinstance(obj, _NonUserDefinedCallables) or
1813
+ # Can't test 'isinstance(type)' here, as it would
1814
+ # also be True for regular python classes
1815
+ obj in (type, object))
1816
+
1817
+
1818
+ def _signature_is_functionlike(obj):
1819
+ """Private helper to test if `obj` is a duck type of FunctionType.
1820
+ A good example of such objects are functions compiled with
1821
+ Cython, which have all attributes that a pure Python function
1822
+ would have, but have their code statically compiled.
1823
+ """
1824
+
1825
+ if not callable(obj) or isclass(obj):
1826
+ # All function-like objects are obviously callables,
1827
+ # and not classes.
1828
+ return False
1829
+
1830
+ name = getattr(obj, '__name__', None)
1831
+ code = getattr(obj, '__code__', None)
1832
+ defaults = getattr(obj, '__defaults__', _void) # Important to use _void ...
1833
+ kwdefaults = getattr(obj, '__kwdefaults__', _void) # ... and not None here
1834
+ annotations = getattr(obj, '__annotations__', None)
1835
+
1836
+ return (isinstance(code, types.CodeType) and
1837
+ isinstance(name, str) and
1838
+ (defaults is None or isinstance(defaults, tuple)) and
1839
+ (kwdefaults is None or isinstance(kwdefaults, dict)) and
1840
+ isinstance(annotations, dict))
1841
+
1842
+
1843
+ def _signature_get_bound_param(spec):
1844
+ """ Private helper to get first parameter name from a
1845
+ __text_signature__ of a builtin method, which should
1846
+ be in the following format: '($param1, ...)'.
1847
+ Assumptions are that the first argument won't have
1848
+ a default value or an annotation.
1849
+ """
1850
+
1851
+ assert spec.startswith('($')
1852
+
1853
+ pos = spec.find(',')
1854
+ if pos == -1:
1855
+ pos = spec.find(')')
1856
+
1857
+ cpos = spec.find(':')
1858
+ assert cpos == -1 or cpos > pos
1859
+
1860
+ cpos = spec.find('=')
1861
+ assert cpos == -1 or cpos > pos
1862
+
1863
+ return spec[2:pos]
1864
+
1865
+
1866
+ def _signature_strip_non_python_syntax(signature):
1867
+ """
1868
+ Private helper function. Takes a signature in Argument Clinic's
1869
+ extended signature format.
1870
+
1871
+ Returns a tuple of three things:
1872
+ * that signature re-rendered in standard Python syntax,
1873
+ * the index of the "self" parameter (generally 0), or None if
1874
+ the function does not have a "self" parameter, and
1875
+ * the index of the last "positional only" parameter,
1876
+ or None if the signature has no positional-only parameters.
1877
+ """
1878
+
1879
+ if not signature:
1880
+ return signature, None, None
1881
+
1882
+ self_parameter = None
1883
+ last_positional_only = None
1884
+
1885
+ lines = [l.encode('ascii') for l in signature.split('\n')]
1886
+ generator = iter(lines).__next__
1887
+ token_stream = tokenize.tokenize(generator)
1888
+
1889
+ delayed_comma = False
1890
+ skip_next_comma = False
1891
+ text = []
1892
+ add = text.append
1893
+
1894
+ current_parameter = 0
1895
+ OP = token.OP
1896
+ ERRORTOKEN = token.ERRORTOKEN
1897
+
1898
+ # token stream always starts with ENCODING token, skip it
1899
+ t = next(token_stream)
1900
+ assert t.type == tokenize.ENCODING
1901
+
1902
+ for t in token_stream:
1903
+ type, string = t.type, t.string
1904
+
1905
+ if type == OP:
1906
+ if string == ',':
1907
+ if skip_next_comma:
1908
+ skip_next_comma = False
1909
+ else:
1910
+ assert not delayed_comma
1911
+ delayed_comma = True
1912
+ current_parameter += 1
1913
+ continue
1914
+
1915
+ if string == '/':
1916
+ assert not skip_next_comma
1917
+ assert last_positional_only is None
1918
+ skip_next_comma = True
1919
+ last_positional_only = current_parameter - 1
1920
+ continue
1921
+
1922
+ if (type == ERRORTOKEN) and (string == '$'):
1923
+ assert self_parameter is None
1924
+ self_parameter = current_parameter
1925
+ continue
1926
+
1927
+ if delayed_comma:
1928
+ delayed_comma = False
1929
+ if not ((type == OP) and (string == ')')):
1930
+ add(', ')
1931
+ add(string)
1932
+ if (string == ','):
1933
+ add(' ')
1934
+ clean_signature = ''.join(text)
1935
+ return clean_signature, self_parameter, last_positional_only
1936
+
1937
+
1938
+ def _signature_fromstr(cls, obj, s, skip_bound_arg=True):
1939
+ """Private helper to parse content of '__text_signature__'
1940
+ and return a Signature based on it.
1941
+ """
1942
+
1943
+ Parameter = cls._parameter_cls
1944
+
1945
+ clean_signature, self_parameter, last_positional_only = \
1946
+ _signature_strip_non_python_syntax(s)
1947
+
1948
+ program = "def foo" + clean_signature + ": pass"
1949
+
1950
+ try:
1951
+ module = ast.parse(program)
1952
+ except SyntaxError:
1953
+ module = None
1954
+
1955
+ if not isinstance(module, ast.Module):
1956
+ raise ValueError("{!r} builtin has invalid signature".format(obj))
1957
+
1958
+ f = module.body[0]
1959
+
1960
+ parameters = []
1961
+ empty = Parameter.empty
1962
+ invalid = object()
1963
+
1964
+ module = None
1965
+ module_dict = {}
1966
+ module_name = getattr(obj, '__module__', None)
1967
+ if module_name:
1968
+ module = sys.modules.get(module_name, None)
1969
+ if module:
1970
+ module_dict = module.__dict__
1971
+ sys_module_dict = sys.modules
1972
+
1973
+ def parse_name(node):
1974
+ assert isinstance(node, ast.arg)
1975
+ if node.annotation != None:
1976
+ raise ValueError("Annotations are not currently supported")
1977
+ return node.arg
1978
+
1979
+ def wrap_value(s):
1980
+ try:
1981
+ value = eval(s, module_dict)
1982
+ except NameError:
1983
+ try:
1984
+ value = eval(s, sys_module_dict)
1985
+ except NameError:
1986
+ raise RuntimeError()
1987
+
1988
+ if isinstance(value, str):
1989
+ return ast.Str(value)
1990
+ if isinstance(value, (int, float)):
1991
+ return ast.Num(value)
1992
+ if isinstance(value, bytes):
1993
+ return ast.Bytes(value)
1994
+ if value in (True, False, None):
1995
+ return ast.NameConstant(value)
1996
+ raise RuntimeError()
1997
+
1998
+ class RewriteSymbolics(ast.NodeTransformer):
1999
+ def visit_Attribute(self, node):
2000
+ a = []
2001
+ n = node
2002
+ while isinstance(n, ast.Attribute):
2003
+ a.append(n.attr)
2004
+ n = n.value
2005
+ if not isinstance(n, ast.Name):
2006
+ raise RuntimeError()
2007
+ a.append(n.id)
2008
+ value = ".".join(reversed(a))
2009
+ return wrap_value(value)
2010
+
2011
+ def visit_Name(self, node):
2012
+ if not isinstance(node.ctx, ast.Load):
2013
+ raise ValueError()
2014
+ return wrap_value(node.id)
2015
+
2016
+ def p(name_node, default_node, default=empty):
2017
+ name = parse_name(name_node)
2018
+ if name is invalid:
2019
+ return None
2020
+ if default_node and default_node is not _empty:
2021
+ try:
2022
+ default_node = RewriteSymbolics().visit(default_node)
2023
+ o = ast.literal_eval(default_node)
2024
+ except ValueError:
2025
+ o = invalid
2026
+ if o is invalid:
2027
+ return None
2028
+ default = o if o is not invalid else default
2029
+ parameters.append(Parameter(name, kind, default=default, annotation=empty))
2030
+
2031
+ # non-keyword-only parameters
2032
+ args = reversed(f.args.args)
2033
+ defaults = reversed(f.args.defaults)
2034
+ iter = itertools.zip_longest(args, defaults, fillvalue=None)
2035
+ if last_positional_only is not None:
2036
+ kind = Parameter.POSITIONAL_ONLY
2037
+ else:
2038
+ kind = Parameter.POSITIONAL_OR_KEYWORD
2039
+ for i, (name, default) in enumerate(reversed(list(iter))):
2040
+ p(name, default)
2041
+ if i == last_positional_only:
2042
+ kind = Parameter.POSITIONAL_OR_KEYWORD
2043
+
2044
+ # *args
2045
+ if f.args.vararg:
2046
+ kind = Parameter.VAR_POSITIONAL
2047
+ p(f.args.vararg, empty)
2048
+
2049
+ # keyword-only arguments
2050
+ kind = Parameter.KEYWORD_ONLY
2051
+ for name, default in zip(f.args.kwonlyargs, f.args.kw_defaults):
2052
+ p(name, default)
2053
+
2054
+ # **kwargs
2055
+ if f.args.kwarg:
2056
+ kind = Parameter.VAR_KEYWORD
2057
+ p(f.args.kwarg, empty)
2058
+
2059
+ if self_parameter is not None:
2060
+ # Possibly strip the bound argument:
2061
+ # - We *always* strip first bound argument if
2062
+ # it is a module.
2063
+ # - We don't strip first bound argument if
2064
+ # skip_bound_arg is False.
2065
+ assert parameters
2066
+ _self = getattr(obj, '__self__', None)
2067
+ self_isbound = _self is not None
2068
+ self_ismodule = ismodule(_self)
2069
+ if self_isbound and (self_ismodule or skip_bound_arg):
2070
+ parameters.pop(0)
2071
+ else:
2072
+ # for builtins, self parameter is always positional-only!
2073
+ p = parameters[0].replace(kind=Parameter.POSITIONAL_ONLY)
2074
+ parameters[0] = p
2075
+
2076
+ return cls(parameters, return_annotation=cls.empty)
2077
+
2078
+
2079
+ def _signature_from_builtin(cls, func, skip_bound_arg=True):
2080
+ """Private helper function to get signature for
2081
+ builtin callables.
2082
+ """
2083
+
2084
+ if not _signature_is_builtin(func):
2085
+ raise TypeError("{!r} is not a Python builtin "
2086
+ "function".format(func))
2087
+
2088
+ s = getattr(func, "__text_signature__", None)
2089
+ if not s:
2090
+ raise ValueError("no signature found for builtin {!r}".format(func))
2091
+
2092
+ return _signature_fromstr(cls, func, s, skip_bound_arg)
2093
+
2094
+
2095
+ def _signature_from_function(cls, func):
2096
+ """Private helper: constructs Signature for the given python function."""
2097
+
2098
+ is_duck_function = False
2099
+ if not isfunction(func):
2100
+ if _signature_is_functionlike(func):
2101
+ is_duck_function = True
2102
+ else:
2103
+ # If it's not a pure Python function, and not a duck type
2104
+ # of pure function:
2105
+ raise TypeError('{!r} is not a Python function'.format(func))
2106
+
2107
+ Parameter = cls._parameter_cls
2108
+
2109
+ # Parameter information.
2110
+ func_code = func.__code__
2111
+ pos_count = func_code.co_argcount
2112
+ arg_names = func_code.co_varnames
2113
+ positional = tuple(arg_names[:pos_count])
2114
+ keyword_only_count = func_code.co_kwonlyargcount
2115
+ keyword_only = arg_names[pos_count:(pos_count + keyword_only_count)]
2116
+ annotations = func.__annotations__
2117
+ defaults = func.__defaults__
2118
+ kwdefaults = func.__kwdefaults__
2119
+
2120
+ if defaults:
2121
+ pos_default_count = len(defaults)
2122
+ else:
2123
+ pos_default_count = 0
2124
+
2125
+ parameters = []
2126
+
2127
+ # Non-keyword-only parameters w/o defaults.
2128
+ non_default_count = pos_count - pos_default_count
2129
+ for name in positional[:non_default_count]:
2130
+ annotation = annotations.get(name, _empty)
2131
+ parameters.append(Parameter(name, annotation=annotation,
2132
+ kind=_POSITIONAL_OR_KEYWORD))
2133
+
2134
+ # ... w/ defaults.
2135
+ for offset, name in enumerate(positional[non_default_count:]):
2136
+ annotation = annotations.get(name, _empty)
2137
+ parameters.append(Parameter(name, annotation=annotation,
2138
+ kind=_POSITIONAL_OR_KEYWORD,
2139
+ default=defaults[offset]))
2140
+
2141
+ # *args
2142
+ if func_code.co_flags & CO_VARARGS:
2143
+ name = arg_names[pos_count + keyword_only_count]
2144
+ annotation = annotations.get(name, _empty)
2145
+ parameters.append(Parameter(name, annotation=annotation,
2146
+ kind=_VAR_POSITIONAL))
2147
+
2148
+ # Keyword-only parameters.
2149
+ for name in keyword_only:
2150
+ default = _empty
2151
+ if kwdefaults is not None:
2152
+ default = kwdefaults.get(name, _empty)
2153
+
2154
+ annotation = annotations.get(name, _empty)
2155
+ parameters.append(Parameter(name, annotation=annotation,
2156
+ kind=_KEYWORD_ONLY,
2157
+ default=default))
2158
+ # **kwargs
2159
+ if func_code.co_flags & CO_VARKEYWORDS:
2160
+ index = pos_count + keyword_only_count
2161
+ if func_code.co_flags & CO_VARARGS:
2162
+ index += 1
2163
+
2164
+ name = arg_names[index]
2165
+ annotation = annotations.get(name, _empty)
2166
+ parameters.append(Parameter(name, annotation=annotation,
2167
+ kind=_VAR_KEYWORD))
2168
+
2169
+ # Is 'func' is a pure Python function - don't validate the
2170
+ # parameters list (for correct order and defaults), it should be OK.
2171
+ return cls(parameters,
2172
+ return_annotation=annotations.get('return', _empty),
2173
+ __validate_parameters__=is_duck_function)
2174
+
2175
+
2176
+ def _signature_from_callable(obj, *,
2177
+ follow_wrapper_chains=True,
2178
+ skip_bound_arg=True,
2179
+ sigcls):
2180
+
2181
+ """Private helper function to get signature for arbitrary
2182
+ callable objects.
2183
+ """
2184
+
2185
+ if not callable(obj):
2186
+ raise TypeError('{!r} is not a callable object'.format(obj))
2187
+
2188
+ if isinstance(obj, types.MethodType):
2189
+ # In this case we skip the first parameter of the underlying
2190
+ # function (usually `self` or `cls`).
2191
+ sig = _signature_from_callable(
2192
+ obj.__func__,
2193
+ follow_wrapper_chains=follow_wrapper_chains,
2194
+ skip_bound_arg=skip_bound_arg,
2195
+ sigcls=sigcls)
2196
+
2197
+ if skip_bound_arg:
2198
+ return _signature_bound_method(sig)
2199
+ else:
2200
+ return sig
2201
+
2202
+ # Was this function wrapped by a decorator?
2203
+ if follow_wrapper_chains:
2204
+ obj = unwrap(obj, stop=(lambda f: hasattr(f, "__signature__")))
2205
+ if isinstance(obj, types.MethodType):
2206
+ # If the unwrapped object is a *method*, we might want to
2207
+ # skip its first parameter (self).
2208
+ # See test_signature_wrapped_bound_method for details.
2209
+ return _signature_from_callable(
2210
+ obj,
2211
+ follow_wrapper_chains=follow_wrapper_chains,
2212
+ skip_bound_arg=skip_bound_arg,
2213
+ sigcls=sigcls)
2214
+
2215
+ try:
2216
+ sig = obj.__signature__
2217
+ except AttributeError:
2218
+ pass
2219
+ else:
2220
+ if sig is not None:
2221
+ if not isinstance(sig, Signature):
2222
+ raise TypeError(
2223
+ 'unexpected object {!r} in __signature__ '
2224
+ 'attribute'.format(sig))
2225
+ return sig
2226
+
2227
+ try:
2228
+ partialmethod = obj._partialmethod
2229
+ except AttributeError:
2230
+ pass
2231
+ else:
2232
+ if isinstance(partialmethod, functools.partialmethod):
2233
+ # Unbound partialmethod (see functools.partialmethod)
2234
+ # This means, that we need to calculate the signature
2235
+ # as if it's a regular partial object, but taking into
2236
+ # account that the first positional argument
2237
+ # (usually `self`, or `cls`) will not be passed
2238
+ # automatically (as for boundmethods)
2239
+
2240
+ wrapped_sig = _signature_from_callable(
2241
+ partialmethod.func,
2242
+ follow_wrapper_chains=follow_wrapper_chains,
2243
+ skip_bound_arg=skip_bound_arg,
2244
+ sigcls=sigcls)
2245
+
2246
+ sig = _signature_get_partial(wrapped_sig, partialmethod, (None,))
2247
+ first_wrapped_param = tuple(wrapped_sig.parameters.values())[0]
2248
+ if first_wrapped_param.kind is Parameter.VAR_POSITIONAL:
2249
+ # First argument of the wrapped callable is `*args`, as in
2250
+ # `partialmethod(lambda *args)`.
2251
+ return sig
2252
+ else:
2253
+ sig_params = tuple(sig.parameters.values())
2254
+ assert first_wrapped_param is not sig_params[0]
2255
+ new_params = (first_wrapped_param,) + sig_params
2256
+ return sig.replace(parameters=new_params)
2257
+
2258
+ if isfunction(obj) or _signature_is_functionlike(obj):
2259
+ # If it's a pure Python function, or an object that is duck type
2260
+ # of a Python function (Cython functions, for instance), then:
2261
+ return _signature_from_function(sigcls, obj)
2262
+
2263
+ if _signature_is_builtin(obj):
2264
+ return _signature_from_builtin(sigcls, obj,
2265
+ skip_bound_arg=skip_bound_arg)
2266
+
2267
+ if isinstance(obj, functools.partial):
2268
+ wrapped_sig = _signature_from_callable(
2269
+ obj.func,
2270
+ follow_wrapper_chains=follow_wrapper_chains,
2271
+ skip_bound_arg=skip_bound_arg,
2272
+ sigcls=sigcls)
2273
+ return _signature_get_partial(wrapped_sig, obj)
2274
+
2275
+ sig = None
2276
+ if isinstance(obj, type):
2277
+ # obj is a class or a metaclass
2278
+
2279
+ # First, let's see if it has an overloaded __call__ defined
2280
+ # in its metaclass
2281
+ call = _signature_get_user_defined_method(type(obj), '__call__')
2282
+ if call is not None:
2283
+ sig = _signature_from_callable(
2284
+ call,
2285
+ follow_wrapper_chains=follow_wrapper_chains,
2286
+ skip_bound_arg=skip_bound_arg,
2287
+ sigcls=sigcls)
2288
+ else:
2289
+ # Now we check if the 'obj' class has a '__new__' method
2290
+ new = _signature_get_user_defined_method(obj, '__new__')
2291
+ if new is not None:
2292
+ sig = _signature_from_callable(
2293
+ new,
2294
+ follow_wrapper_chains=follow_wrapper_chains,
2295
+ skip_bound_arg=skip_bound_arg,
2296
+ sigcls=sigcls)
2297
+ else:
2298
+ # Finally, we should have at least __init__ implemented
2299
+ init = _signature_get_user_defined_method(obj, '__init__')
2300
+ if init is not None:
2301
+ sig = _signature_from_callable(
2302
+ init,
2303
+ follow_wrapper_chains=follow_wrapper_chains,
2304
+ skip_bound_arg=skip_bound_arg,
2305
+ sigcls=sigcls)
2306
+
2307
+ if sig is None:
2308
+ # At this point we know, that `obj` is a class, with no user-
2309
+ # defined '__init__', '__new__', or class-level '__call__'
2310
+
2311
+ for base in obj.__mro__[:-1]:
2312
+ # Since '__text_signature__' is implemented as a
2313
+ # descriptor that extracts text signature from the
2314
+ # class docstring, if 'obj' is derived from a builtin
2315
+ # class, its own '__text_signature__' may be 'None'.
2316
+ # Therefore, we go through the MRO (except the last
2317
+ # class in there, which is 'object') to find the first
2318
+ # class with non-empty text signature.
2319
+ try:
2320
+ text_sig = base.__text_signature__
2321
+ except AttributeError:
2322
+ pass
2323
+ else:
2324
+ if text_sig:
2325
+ # If 'obj' class has a __text_signature__ attribute:
2326
+ # return a signature based on it
2327
+ return _signature_fromstr(sigcls, obj, text_sig)
2328
+
2329
+ # No '__text_signature__' was found for the 'obj' class.
2330
+ # Last option is to check if its '__init__' is
2331
+ # object.__init__ or type.__init__.
2332
+ if type not in obj.__mro__:
2333
+ # We have a class (not metaclass), but no user-defined
2334
+ # __init__ or __new__ for it
2335
+ if (obj.__init__ is object.__init__ and
2336
+ obj.__new__ is object.__new__):
2337
+ # Return a signature of 'object' builtin.
2338
+ return signature(object)
2339
+ else:
2340
+ raise ValueError(
2341
+ 'no signature found for builtin type {!r}'.format(obj))
2342
+
2343
+ elif not isinstance(obj, _NonUserDefinedCallables):
2344
+ # An object with __call__
2345
+ # We also check that the 'obj' is not an instance of
2346
+ # _WrapperDescriptor or _MethodWrapper to avoid
2347
+ # infinite recursion (and even potential segfault)
2348
+ call = _signature_get_user_defined_method(type(obj), '__call__')
2349
+ if call is not None:
2350
+ try:
2351
+ sig = _signature_from_callable(
2352
+ call,
2353
+ follow_wrapper_chains=follow_wrapper_chains,
2354
+ skip_bound_arg=skip_bound_arg,
2355
+ sigcls=sigcls)
2356
+ except ValueError as ex:
2357
+ msg = 'no signature found for {!r}'.format(obj)
2358
+ raise ValueError(msg) from ex
2359
+
2360
+ if sig is not None:
2361
+ # For classes and objects we skip the first parameter of their
2362
+ # __call__, __new__, or __init__ methods
2363
+ if skip_bound_arg:
2364
+ return _signature_bound_method(sig)
2365
+ else:
2366
+ return sig
2367
+
2368
+ if isinstance(obj, types.BuiltinFunctionType):
2369
+ # Raise a nicer error message for builtins
2370
+ msg = 'no signature found for builtin function {!r}'.format(obj)
2371
+ raise ValueError(msg)
2372
+
2373
+ raise ValueError('callable {!r} is not supported by signature'.format(obj))
2374
+
2375
+
2376
+ class _void:
2377
+ """A private marker - used in Parameter & Signature."""
2378
+
2379
+
2380
+ class _empty:
2381
+ """Marker object for Signature.empty and Parameter.empty."""
2382
+
2383
+
2384
+ class _ParameterKind(enum.IntEnum):
2385
+ POSITIONAL_ONLY = 0
2386
+ POSITIONAL_OR_KEYWORD = 1
2387
+ VAR_POSITIONAL = 2
2388
+ KEYWORD_ONLY = 3
2389
+ VAR_KEYWORD = 4
2390
+
2391
+ def __str__(self):
2392
+ return self._name_
2393
+
2394
+
2395
+ _POSITIONAL_ONLY = _ParameterKind.POSITIONAL_ONLY
2396
+ _POSITIONAL_OR_KEYWORD = _ParameterKind.POSITIONAL_OR_KEYWORD
2397
+ _VAR_POSITIONAL = _ParameterKind.VAR_POSITIONAL
2398
+ _KEYWORD_ONLY = _ParameterKind.KEYWORD_ONLY
2399
+ _VAR_KEYWORD = _ParameterKind.VAR_KEYWORD
2400
+
2401
+
2402
+ class Parameter:
2403
+ """Represents a parameter in a function signature.
2404
+
2405
+ Has the following public attributes:
2406
+
2407
+ * name : str
2408
+ The name of the parameter as a string.
2409
+ * default : object
2410
+ The default value for the parameter if specified. If the
2411
+ parameter has no default value, this attribute is set to
2412
+ `Parameter.empty`.
2413
+ * annotation
2414
+ The annotation for the parameter if specified. If the
2415
+ parameter has no annotation, this attribute is set to
2416
+ `Parameter.empty`.
2417
+ * kind : str
2418
+ Describes how argument values are bound to the parameter.
2419
+ Possible values: `Parameter.POSITIONAL_ONLY`,
2420
+ `Parameter.POSITIONAL_OR_KEYWORD`, `Parameter.VAR_POSITIONAL`,
2421
+ `Parameter.KEYWORD_ONLY`, `Parameter.VAR_KEYWORD`.
2422
+ """
2423
+
2424
+ __slots__ = ('_name', '_kind', '_default', '_annotation')
2425
+
2426
+ POSITIONAL_ONLY = _POSITIONAL_ONLY
2427
+ POSITIONAL_OR_KEYWORD = _POSITIONAL_OR_KEYWORD
2428
+ VAR_POSITIONAL = _VAR_POSITIONAL
2429
+ KEYWORD_ONLY = _KEYWORD_ONLY
2430
+ VAR_KEYWORD = _VAR_KEYWORD
2431
+
2432
+ empty = _empty
2433
+
2434
+ def __init__(self, name, kind, *, default=_empty, annotation=_empty):
2435
+
2436
+ if kind not in (_POSITIONAL_ONLY, _POSITIONAL_OR_KEYWORD,
2437
+ _VAR_POSITIONAL, _KEYWORD_ONLY, _VAR_KEYWORD):
2438
+ raise ValueError("invalid value for 'Parameter.kind' attribute")
2439
+ self._kind = kind
2440
+
2441
+ if default is not _empty:
2442
+ if kind in (_VAR_POSITIONAL, _VAR_KEYWORD):
2443
+ msg = '{} parameters cannot have default values'.format(kind)
2444
+ raise ValueError(msg)
2445
+ self._default = default
2446
+ self._annotation = annotation
2447
+
2448
+ if name is _empty:
2449
+ raise ValueError('name is a required attribute for Parameter')
2450
+
2451
+ if not isinstance(name, str):
2452
+ raise TypeError("name must be a str, not a {!r}".format(name))
2453
+
2454
+ if name[0] == '.' and name[1:].isdigit():
2455
+ # These are implicit arguments generated by comprehensions. In
2456
+ # order to provide a friendlier interface to users, we recast
2457
+ # their name as "implicitN" and treat them as positional-only.
2458
+ # See issue 19611.
2459
+ if kind != _POSITIONAL_OR_KEYWORD:
2460
+ raise ValueError(
2461
+ 'implicit arguments must be passed in as {}'.format(
2462
+ _POSITIONAL_OR_KEYWORD
2463
+ )
2464
+ )
2465
+ self._kind = _POSITIONAL_ONLY
2466
+ name = 'implicit{}'.format(name[1:])
2467
+
2468
+ if not name.isidentifier():
2469
+ raise ValueError('{!r} is not a valid parameter name'.format(name))
2470
+
2471
+ self._name = name
2472
+
2473
+ def __reduce__(self):
2474
+ return (type(self),
2475
+ (self._name, self._kind),
2476
+ {'_default': self._default,
2477
+ '_annotation': self._annotation})
2478
+
2479
+ def __setstate__(self, state):
2480
+ self._default = state['_default']
2481
+ self._annotation = state['_annotation']
2482
+
2483
+ @property
2484
+ def name(self):
2485
+ return self._name
2486
+
2487
+ @property
2488
+ def default(self):
2489
+ return self._default
2490
+
2491
+ @property
2492
+ def annotation(self):
2493
+ return self._annotation
2494
+
2495
+ @property
2496
+ def kind(self):
2497
+ return self._kind
2498
+
2499
+ def replace(self, *, name=_void, kind=_void,
2500
+ annotation=_void, default=_void):
2501
+ """Creates a customized copy of the Parameter."""
2502
+
2503
+ if name is _void:
2504
+ name = self._name
2505
+
2506
+ if kind is _void:
2507
+ kind = self._kind
2508
+
2509
+ if annotation is _void:
2510
+ annotation = self._annotation
2511
+
2512
+ if default is _void:
2513
+ default = self._default
2514
+
2515
+ return type(self)(name, kind, default=default, annotation=annotation)
2516
+
2517
+ def __str__(self):
2518
+ kind = self.kind
2519
+ formatted = self._name
2520
+
2521
+ # Add annotation and default value
2522
+ if self._annotation is not _empty:
2523
+ formatted = '{}:{}'.format(formatted,
2524
+ formatannotation(self._annotation))
2525
+
2526
+ if self._default is not _empty:
2527
+ formatted = '{}={}'.format(formatted, repr(self._default))
2528
+
2529
+ if kind == _VAR_POSITIONAL:
2530
+ formatted = '*' + formatted
2531
+ elif kind == _VAR_KEYWORD:
2532
+ formatted = '**' + formatted
2533
+
2534
+ return formatted
2535
+
2536
+ def __repr__(self):
2537
+ return '<{} "{}">'.format(self.__class__.__name__, self)
2538
+
2539
+ def __hash__(self):
2540
+ return hash((self.name, self.kind, self.annotation, self.default))
2541
+
2542
+ def __eq__(self, other):
2543
+ if self is other:
2544
+ return True
2545
+ if not isinstance(other, Parameter):
2546
+ return NotImplemented
2547
+ return (self._name == other._name and
2548
+ self._kind == other._kind and
2549
+ self._default == other._default and
2550
+ self._annotation == other._annotation)
2551
+
2552
+
2553
+ class BoundArguments:
2554
+ """Result of `Signature.bind` call. Holds the mapping of arguments
2555
+ to the function's parameters.
2556
+
2557
+ Has the following public attributes:
2558
+
2559
+ * arguments : OrderedDict
2560
+ An ordered mutable mapping of parameters' names to arguments' values.
2561
+ Does not contain arguments' default values.
2562
+ * signature : Signature
2563
+ The Signature object that created this instance.
2564
+ * args : tuple
2565
+ Tuple of positional arguments values.
2566
+ * kwargs : dict
2567
+ Dict of keyword arguments values.
2568
+ """
2569
+
2570
+ __slots__ = ('arguments', '_signature', '__weakref__')
2571
+
2572
+ def __init__(self, signature, arguments):
2573
+ self.arguments = arguments
2574
+ self._signature = signature
2575
+
2576
+ @property
2577
+ def signature(self):
2578
+ return self._signature
2579
+
2580
+ @property
2581
+ def args(self):
2582
+ args = []
2583
+ for param_name, param in self._signature.parameters.items():
2584
+ if param.kind in (_VAR_KEYWORD, _KEYWORD_ONLY):
2585
+ break
2586
+
2587
+ try:
2588
+ arg = self.arguments[param_name]
2589
+ except KeyError:
2590
+ # We're done here. Other arguments
2591
+ # will be mapped in 'BoundArguments.kwargs'
2592
+ break
2593
+ else:
2594
+ if param.kind == _VAR_POSITIONAL:
2595
+ # *args
2596
+ args.extend(arg)
2597
+ else:
2598
+ # plain argument
2599
+ args.append(arg)
2600
+
2601
+ return tuple(args)
2602
+
2603
+ @property
2604
+ def kwargs(self):
2605
+ kwargs = {}
2606
+ kwargs_started = False
2607
+ for param_name, param in self._signature.parameters.items():
2608
+ if not kwargs_started:
2609
+ if param.kind in (_VAR_KEYWORD, _KEYWORD_ONLY):
2610
+ kwargs_started = True
2611
+ else:
2612
+ if param_name not in self.arguments:
2613
+ kwargs_started = True
2614
+ continue
2615
+
2616
+ if not kwargs_started:
2617
+ continue
2618
+
2619
+ try:
2620
+ arg = self.arguments[param_name]
2621
+ except KeyError:
2622
+ pass
2623
+ else:
2624
+ if param.kind == _VAR_KEYWORD:
2625
+ # **kwargs
2626
+ kwargs.update(arg)
2627
+ else:
2628
+ # plain keyword argument
2629
+ kwargs[param_name] = arg
2630
+
2631
+ return kwargs
2632
+
2633
+ def apply_defaults(self):
2634
+ """Set default values for missing arguments.
2635
+
2636
+ For variable-positional arguments (*args) the default is an
2637
+ empty tuple.
2638
+
2639
+ For variable-keyword arguments (**kwargs) the default is an
2640
+ empty dict.
2641
+ """
2642
+ arguments = self.arguments
2643
+ new_arguments = []
2644
+ for name, param in self._signature.parameters.items():
2645
+ try:
2646
+ new_arguments.append((name, arguments[name]))
2647
+ except KeyError:
2648
+ if param.default is not _empty:
2649
+ val = param.default
2650
+ elif param.kind is _VAR_POSITIONAL:
2651
+ val = ()
2652
+ elif param.kind is _VAR_KEYWORD:
2653
+ val = {}
2654
+ else:
2655
+ # This BoundArguments was likely produced by
2656
+ # Signature.bind_partial().
2657
+ continue
2658
+ new_arguments.append((name, val))
2659
+ self.arguments = OrderedDict(new_arguments)
2660
+
2661
+ def __eq__(self, other):
2662
+ if self is other:
2663
+ return True
2664
+ if not isinstance(other, BoundArguments):
2665
+ return NotImplemented
2666
+ return (self.signature == other.signature and
2667
+ self.arguments == other.arguments)
2668
+
2669
+ def __setstate__(self, state):
2670
+ self._signature = state['_signature']
2671
+ self.arguments = state['arguments']
2672
+
2673
+ def __getstate__(self):
2674
+ return {'_signature': self._signature, 'arguments': self.arguments}
2675
+
2676
+ def __repr__(self):
2677
+ args = []
2678
+ for arg, value in self.arguments.items():
2679
+ args.append('{}={!r}'.format(arg, value))
2680
+ return '<{} ({})>'.format(self.__class__.__name__, ', '.join(args))
2681
+
2682
+
2683
+ class Signature:
2684
+ """A Signature object represents the overall signature of a function.
2685
+ It stores a Parameter object for each parameter accepted by the
2686
+ function, as well as information specific to the function itself.
2687
+
2688
+ A Signature object has the following public attributes and methods:
2689
+
2690
+ * parameters : OrderedDict
2691
+ An ordered mapping of parameters' names to the corresponding
2692
+ Parameter objects (keyword-only arguments are in the same order
2693
+ as listed in `code.co_varnames`).
2694
+ * return_annotation : object
2695
+ The annotation for the return type of the function if specified.
2696
+ If the function has no annotation for its return type, this
2697
+ attribute is set to `Signature.empty`.
2698
+ * bind(*args, **kwargs) -> BoundArguments
2699
+ Creates a mapping from positional and keyword arguments to
2700
+ parameters.
2701
+ * bind_partial(*args, **kwargs) -> BoundArguments
2702
+ Creates a partial mapping from positional and keyword arguments
2703
+ to parameters (simulating 'functools.partial' behavior.)
2704
+ """
2705
+
2706
+ __slots__ = ('_return_annotation', '_parameters')
2707
+
2708
+ _parameter_cls = Parameter
2709
+ _bound_arguments_cls = BoundArguments
2710
+
2711
+ empty = _empty
2712
+
2713
+ def __init__(self, parameters=None, *, return_annotation=_empty,
2714
+ __validate_parameters__=True):
2715
+ """Constructs Signature from the given list of Parameter
2716
+ objects and 'return_annotation'. All arguments are optional.
2717
+ """
2718
+
2719
+ if parameters is None:
2720
+ params = OrderedDict()
2721
+ else:
2722
+ if __validate_parameters__:
2723
+ params = OrderedDict()
2724
+ top_kind = _POSITIONAL_ONLY
2725
+ kind_defaults = False
2726
+
2727
+ for idx, param in enumerate(parameters):
2728
+ kind = param.kind
2729
+ name = param.name
2730
+
2731
+ if kind < top_kind:
2732
+ msg = 'wrong parameter order: {!r} before {!r}'
2733
+ msg = msg.format(top_kind, kind)
2734
+ raise ValueError(msg)
2735
+ elif kind > top_kind:
2736
+ kind_defaults = False
2737
+ top_kind = kind
2738
+
2739
+ if kind in (_POSITIONAL_ONLY, _POSITIONAL_OR_KEYWORD):
2740
+ if param.default is _empty:
2741
+ if kind_defaults:
2742
+ # No default for this parameter, but the
2743
+ # previous parameter of the same kind had
2744
+ # a default
2745
+ msg = 'non-default argument follows default ' \
2746
+ 'argument'
2747
+ raise ValueError(msg)
2748
+ else:
2749
+ # There is a default for this parameter.
2750
+ kind_defaults = True
2751
+
2752
+ if name in params:
2753
+ msg = 'duplicate parameter name: {!r}'.format(name)
2754
+ raise ValueError(msg)
2755
+
2756
+ params[name] = param
2757
+ else:
2758
+ params = OrderedDict(((param.name, param)
2759
+ for param in parameters))
2760
+
2761
+ self._parameters = types.MappingProxyType(params)
2762
+ self._return_annotation = return_annotation
2763
+
2764
+ @classmethod
2765
+ def from_function(cls, func):
2766
+ """Constructs Signature for the given python function."""
2767
+
2768
+ warnings.warn("inspect.Signature.from_function() is deprecated, "
2769
+ "use Signature.from_callable()",
2770
+ DeprecationWarning, stacklevel=2)
2771
+ return _signature_from_function(cls, func)
2772
+
2773
+ @classmethod
2774
+ def from_builtin(cls, func):
2775
+ """Constructs Signature for the given builtin function."""
2776
+
2777
+ warnings.warn("inspect.Signature.from_builtin() is deprecated, "
2778
+ "use Signature.from_callable()",
2779
+ DeprecationWarning, stacklevel=2)
2780
+ return _signature_from_builtin(cls, func)
2781
+
2782
+ @classmethod
2783
+ def from_callable(cls, obj, *, follow_wrapped=True):
2784
+ """Constructs Signature for the given callable object."""
2785
+ return _signature_from_callable(obj, sigcls=cls,
2786
+ follow_wrapper_chains=follow_wrapped)
2787
+
2788
+ @property
2789
+ def parameters(self):
2790
+ return self._parameters
2791
+
2792
+ @property
2793
+ def return_annotation(self):
2794
+ return self._return_annotation
2795
+
2796
+ def replace(self, *, parameters=_void, return_annotation=_void):
2797
+ """Creates a customized copy of the Signature.
2798
+ Pass 'parameters' and/or 'return_annotation' arguments
2799
+ to override them in the new copy.
2800
+ """
2801
+
2802
+ if parameters is _void:
2803
+ parameters = self.parameters.values()
2804
+
2805
+ if return_annotation is _void:
2806
+ return_annotation = self._return_annotation
2807
+
2808
+ return type(self)(parameters,
2809
+ return_annotation=return_annotation)
2810
+
2811
+ def _hash_basis(self):
2812
+ params = tuple(param for param in self.parameters.values()
2813
+ if param.kind != _KEYWORD_ONLY)
2814
+
2815
+ kwo_params = {param.name: param for param in self.parameters.values()
2816
+ if param.kind == _KEYWORD_ONLY}
2817
+
2818
+ return params, kwo_params, self.return_annotation
2819
+
2820
+ def __hash__(self):
2821
+ params, kwo_params, return_annotation = self._hash_basis()
2822
+ kwo_params = frozenset(kwo_params.values())
2823
+ return hash((params, kwo_params, return_annotation))
2824
+
2825
+ def __eq__(self, other):
2826
+ if self is other:
2827
+ return True
2828
+ if not isinstance(other, Signature):
2829
+ return NotImplemented
2830
+ return self._hash_basis() == other._hash_basis()
2831
+
2832
+ def _bind(self, args, kwargs, *, partial=False):
2833
+ """Private method. Don't use directly."""
2834
+
2835
+ arguments = OrderedDict()
2836
+
2837
+ parameters = iter(self.parameters.values())
2838
+ parameters_ex = ()
2839
+ arg_vals = iter(args)
2840
+
2841
+ while True:
2842
+ # Let's iterate through the positional arguments and corresponding
2843
+ # parameters
2844
+ try:
2845
+ arg_val = next(arg_vals)
2846
+ except StopIteration:
2847
+ # No more positional arguments
2848
+ try:
2849
+ param = next(parameters)
2850
+ except StopIteration:
2851
+ # No more parameters. That's it. Just need to check that
2852
+ # we have no `kwargs` after this while loop
2853
+ break
2854
+ else:
2855
+ if param.kind == _VAR_POSITIONAL:
2856
+ # That's OK, just empty *args. Let's start parsing
2857
+ # kwargs
2858
+ break
2859
+ elif param.name in kwargs:
2860
+ if param.kind == _POSITIONAL_ONLY:
2861
+ msg = '{arg!r} parameter is positional only, ' \
2862
+ 'but was passed as a keyword'
2863
+ msg = msg.format(arg=param.name)
2864
+ raise TypeError(msg) from None
2865
+ parameters_ex = (param,)
2866
+ break
2867
+ elif (param.kind == _VAR_KEYWORD or
2868
+ param.default is not _empty):
2869
+ # That's fine too - we have a default value for this
2870
+ # parameter. So, lets start parsing `kwargs`, starting
2871
+ # with the current parameter
2872
+ parameters_ex = (param,)
2873
+ break
2874
+ else:
2875
+ # No default, not VAR_KEYWORD, not VAR_POSITIONAL,
2876
+ # not in `kwargs`
2877
+ if partial:
2878
+ parameters_ex = (param,)
2879
+ break
2880
+ else:
2881
+ msg = 'missing a required argument: {arg!r}'
2882
+ msg = msg.format(arg=param.name)
2883
+ raise TypeError(msg) from None
2884
+ else:
2885
+ # We have a positional argument to process
2886
+ try:
2887
+ param = next(parameters)
2888
+ except StopIteration:
2889
+ raise TypeError('too many positional arguments') from None
2890
+ else:
2891
+ if param.kind in (_VAR_KEYWORD, _KEYWORD_ONLY):
2892
+ # Looks like we have no parameter for this positional
2893
+ # argument
2894
+ raise TypeError(
2895
+ 'too many positional arguments') from None
2896
+
2897
+ if param.kind == _VAR_POSITIONAL:
2898
+ # We have an '*args'-like argument, let's fill it with
2899
+ # all positional arguments we have left and move on to
2900
+ # the next phase
2901
+ values = [arg_val]
2902
+ values.extend(arg_vals)
2903
+ arguments[param.name] = tuple(values)
2904
+ break
2905
+
2906
+ if param.name in kwargs:
2907
+ raise TypeError(
2908
+ 'multiple values for argument {arg!r}'.format(
2909
+ arg=param.name)) from None
2910
+
2911
+ arguments[param.name] = arg_val
2912
+
2913
+ # Now, we iterate through the remaining parameters to process
2914
+ # keyword arguments
2915
+ kwargs_param = None
2916
+ for param in itertools.chain(parameters_ex, parameters):
2917
+ if param.kind == _VAR_KEYWORD:
2918
+ # Memorize that we have a '**kwargs'-like parameter
2919
+ kwargs_param = param
2920
+ continue
2921
+
2922
+ if param.kind == _VAR_POSITIONAL:
2923
+ # Named arguments don't refer to '*args'-like parameters.
2924
+ # We only arrive here if the positional arguments ended
2925
+ # before reaching the last parameter before *args.
2926
+ continue
2927
+
2928
+ param_name = param.name
2929
+ try:
2930
+ arg_val = kwargs.pop(param_name)
2931
+ except KeyError:
2932
+ # We have no value for this parameter. It's fine though,
2933
+ # if it has a default value, or it is an '*args'-like
2934
+ # parameter, left alone by the processing of positional
2935
+ # arguments.
2936
+ if (not partial and param.kind != _VAR_POSITIONAL and
2937
+ param.default is _empty):
2938
+ raise TypeError('missing a required argument: {arg!r}'. \
2939
+ format(arg=param_name)) from None
2940
+
2941
+ else:
2942
+ if param.kind == _POSITIONAL_ONLY:
2943
+ # This should never happen in case of a properly built
2944
+ # Signature object (but let's have this check here
2945
+ # to ensure correct behaviour just in case)
2946
+ raise TypeError('{arg!r} parameter is positional only, '
2947
+ 'but was passed as a keyword'. \
2948
+ format(arg=param.name))
2949
+
2950
+ arguments[param_name] = arg_val
2951
+
2952
+ if kwargs:
2953
+ if kwargs_param is not None:
2954
+ # Process our '**kwargs'-like parameter
2955
+ arguments[kwargs_param.name] = kwargs
2956
+ else:
2957
+ raise TypeError(
2958
+ 'got an unexpected keyword argument {arg!r}'.format(
2959
+ arg=next(iter(kwargs))))
2960
+
2961
+ return self._bound_arguments_cls(self, arguments)
2962
+
2963
+ def bind(*args, **kwargs):
2964
+ """Get a BoundArguments object, that maps the passed `args`
2965
+ and `kwargs` to the function's signature. Raises `TypeError`
2966
+ if the passed arguments can not be bound.
2967
+ """
2968
+ return args[0]._bind(args[1:], kwargs)
2969
+
2970
+ def bind_partial(*args, **kwargs):
2971
+ """Get a BoundArguments object, that partially maps the
2972
+ passed `args` and `kwargs` to the function's signature.
2973
+ Raises `TypeError` if the passed arguments can not be bound.
2974
+ """
2975
+ return args[0]._bind(args[1:], kwargs, partial=True)
2976
+
2977
+ def __reduce__(self):
2978
+ return (type(self),
2979
+ (tuple(self._parameters.values()),),
2980
+ {'_return_annotation': self._return_annotation})
2981
+
2982
+ def __setstate__(self, state):
2983
+ self._return_annotation = state['_return_annotation']
2984
+
2985
+ def __repr__(self):
2986
+ return '<{} {}>'.format(self.__class__.__name__, self)
2987
+
2988
+ def __str__(self):
2989
+ result = []
2990
+ render_pos_only_separator = False
2991
+ render_kw_only_separator = True
2992
+ for param in self.parameters.values():
2993
+ formatted = str(param)
2994
+
2995
+ kind = param.kind
2996
+
2997
+ if kind == _POSITIONAL_ONLY:
2998
+ render_pos_only_separator = True
2999
+ elif render_pos_only_separator:
3000
+ # It's not a positional-only parameter, and the flag
3001
+ # is set to 'True' (there were pos-only params before.)
3002
+ result.append('/')
3003
+ render_pos_only_separator = False
3004
+
3005
+ if kind == _VAR_POSITIONAL:
3006
+ # OK, we have an '*args'-like parameter, so we won't need
3007
+ # a '*' to separate keyword-only arguments
3008
+ render_kw_only_separator = False
3009
+ elif kind == _KEYWORD_ONLY and render_kw_only_separator:
3010
+ # We have a keyword-only parameter to render and we haven't
3011
+ # rendered an '*args'-like parameter before, so add a '*'
3012
+ # separator to the parameters list ("foo(arg1, *, arg2)" case)
3013
+ result.append('*')
3014
+ # This condition should be only triggered once, so
3015
+ # reset the flag
3016
+ render_kw_only_separator = False
3017
+
3018
+ result.append(formatted)
3019
+
3020
+ if render_pos_only_separator:
3021
+ # There were only positional-only parameters, hence the
3022
+ # flag was not reset to 'False'
3023
+ result.append('/')
3024
+
3025
+ rendered = '({})'.format(', '.join(result))
3026
+
3027
+ if self.return_annotation is not _empty:
3028
+ anno = formatannotation(self.return_annotation)
3029
+ rendered += ' -> {}'.format(anno)
3030
+
3031
+ return rendered
3032
+
3033
+
3034
+ def signature(obj, *, follow_wrapped=True):
3035
+ """Get a signature object for the passed callable."""
3036
+ return Signature.from_callable(obj, follow_wrapped=follow_wrapped)
3037
+
3038
+
3039
+ def _main():
3040
+ """ Logic for inspecting an object given at command line """
3041
+ import argparse
3042
+ import importlib
3043
+
3044
+ parser = argparse.ArgumentParser()
3045
+ parser.add_argument(
3046
+ 'object',
3047
+ help="The object to be analysed. "
3048
+ "It supports the 'module:qualname' syntax")
3049
+ parser.add_argument(
3050
+ '-d', '--details', action='store_true',
3051
+ help='Display info about the module rather than its source code')
3052
+
3053
+ args = parser.parse_args()
3054
+
3055
+ target = args.object
3056
+ mod_name, has_attrs, attrs = target.partition(":")
3057
+ try:
3058
+ obj = module = importlib.import_module(mod_name)
3059
+ except Exception as exc:
3060
+ msg = "Failed to import {} ({}: {})".format(mod_name,
3061
+ type(exc).__name__,
3062
+ exc)
3063
+ print(msg, file=sys.stderr)
3064
+ exit(2)
3065
+
3066
+ if has_attrs:
3067
+ parts = attrs.split(".")
3068
+ obj = module
3069
+ for part in parts:
3070
+ obj = getattr(obj, part)
3071
+
3072
+ if module.__name__ in sys.builtin_module_names:
3073
+ print("Can't get info for builtin modules.", file=sys.stderr)
3074
+ exit(1)
3075
+
3076
+ if args.details:
3077
+ print('Target: {}'.format(target))
3078
+ print('Origin: {}'.format(getsourcefile(module)))
3079
+ print('Cached: {}'.format(module.__cached__))
3080
+ if obj is module:
3081
+ print('Loader: {}'.format(repr(module.__loader__)))
3082
+ if hasattr(module, '__path__'):
3083
+ print('Submodule search path: {}'.format(module.__path__))
3084
+ else:
3085
+ try:
3086
+ __, lineno = findsource(obj)
3087
+ except Exception:
3088
+ pass
3089
+ else:
3090
+ print('Line: {}'.format(lineno))
3091
+
3092
+ print('\n')
3093
+ else:
3094
+ print(getsource(obj))
3095
+
3096
+
3097
+ if __name__ == "__main__":
3098
+ _main()