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,2241 @@
1
+ import contextlib
2
+ import io
3
+ import os
4
+ import importlib.util
5
+ import pathlib
6
+ import posixpath
7
+ import time
8
+ import struct
9
+ import zipfile
10
+ import unittest
11
+
12
+
13
+ from tempfile import TemporaryFile
14
+ from random import randint, random, getrandbits
15
+
16
+ from test.support import script_helper
17
+ from test.support import (TESTFN, findfile, unlink, rmtree, temp_dir, temp_cwd,
18
+ requires_zlib, requires_bz2, requires_lzma,
19
+ captured_stdout, check_warnings)
20
+
21
+ TESTFN2 = TESTFN + "2"
22
+ TESTFNDIR = TESTFN + "d"
23
+ FIXEDTEST_SIZE = 1000
24
+ DATAFILES_DIR = 'zipfile_datafiles'
25
+
26
+ SMALL_TEST_DATA = [('_ziptest1', '1q2w3e4r5t'),
27
+ ('ziptest2dir/_ziptest2', 'qawsedrftg'),
28
+ ('ziptest2dir/ziptest3dir/_ziptest3', 'azsxdcfvgb'),
29
+ ('ziptest2dir/ziptest3dir/ziptest4dir/_ziptest3', '6y7u8i9o0p')]
30
+
31
+ def getrandbytes(size):
32
+ return getrandbits(8 * size).to_bytes(size, 'little')
33
+
34
+ def get_files(test):
35
+ yield TESTFN2
36
+ with TemporaryFile() as f:
37
+ yield f
38
+ test.assertFalse(f.closed)
39
+ with io.BytesIO() as f:
40
+ yield f
41
+ test.assertFalse(f.closed)
42
+
43
+ class AbstractTestsWithSourceFile:
44
+ @classmethod
45
+ def setUpClass(cls):
46
+ cls.line_gen = [bytes("Zipfile test line %d. random float: %f\n" %
47
+ (i, random()), "ascii")
48
+ for i in range(FIXEDTEST_SIZE)]
49
+ cls.data = b''.join(cls.line_gen)
50
+
51
+ def setUp(self):
52
+ # Make a source file with some lines
53
+ with open(TESTFN, "wb") as fp:
54
+ fp.write(self.data)
55
+
56
+ def make_test_archive(self, f, compression):
57
+ # Create the ZIP archive
58
+ with zipfile.ZipFile(f, "w", compression) as zipfp:
59
+ zipfp.write(TESTFN, "another.name")
60
+ zipfp.write(TESTFN, TESTFN)
61
+ zipfp.writestr("strfile", self.data)
62
+ with zipfp.open('written-open-w', mode='w') as f:
63
+ for line in self.line_gen:
64
+ f.write(line)
65
+
66
+ def zip_test(self, f, compression):
67
+ self.make_test_archive(f, compression)
68
+
69
+ # Read the ZIP archive
70
+ with zipfile.ZipFile(f, "r", compression) as zipfp:
71
+ self.assertEqual(zipfp.read(TESTFN), self.data)
72
+ self.assertEqual(zipfp.read("another.name"), self.data)
73
+ self.assertEqual(zipfp.read("strfile"), self.data)
74
+
75
+ # Print the ZIP directory
76
+ fp = io.StringIO()
77
+ zipfp.printdir(file=fp)
78
+ directory = fp.getvalue()
79
+ lines = directory.splitlines()
80
+ self.assertEqual(len(lines), 5) # Number of files + header
81
+
82
+ self.assertIn('File Name', lines[0])
83
+ self.assertIn('Modified', lines[0])
84
+ self.assertIn('Size', lines[0])
85
+
86
+ fn, date, time_, size = lines[1].split()
87
+ self.assertEqual(fn, 'another.name')
88
+ self.assertTrue(time.strptime(date, '%Y-%m-%d'))
89
+ self.assertTrue(time.strptime(time_, '%H:%M:%S'))
90
+ self.assertEqual(size, str(len(self.data)))
91
+
92
+ # Check the namelist
93
+ names = zipfp.namelist()
94
+ self.assertEqual(len(names), 4)
95
+ self.assertIn(TESTFN, names)
96
+ self.assertIn("another.name", names)
97
+ self.assertIn("strfile", names)
98
+ self.assertIn("written-open-w", names)
99
+
100
+ # Check infolist
101
+ infos = zipfp.infolist()
102
+ names = [i.filename for i in infos]
103
+ self.assertEqual(len(names), 4)
104
+ self.assertIn(TESTFN, names)
105
+ self.assertIn("another.name", names)
106
+ self.assertIn("strfile", names)
107
+ self.assertIn("written-open-w", names)
108
+ for i in infos:
109
+ self.assertEqual(i.file_size, len(self.data))
110
+
111
+ # check getinfo
112
+ for nm in (TESTFN, "another.name", "strfile", "written-open-w"):
113
+ info = zipfp.getinfo(nm)
114
+ self.assertEqual(info.filename, nm)
115
+ self.assertEqual(info.file_size, len(self.data))
116
+
117
+ # Check that testzip doesn't raise an exception
118
+ zipfp.testzip()
119
+
120
+ def test_basic(self):
121
+ for f in get_files(self):
122
+ self.zip_test(f, self.compression)
123
+
124
+ def zip_open_test(self, f, compression):
125
+ self.make_test_archive(f, compression)
126
+
127
+ # Read the ZIP archive
128
+ with zipfile.ZipFile(f, "r", compression) as zipfp:
129
+ zipdata1 = []
130
+ with zipfp.open(TESTFN) as zipopen1:
131
+ while True:
132
+ read_data = zipopen1.read(256)
133
+ if not read_data:
134
+ break
135
+ zipdata1.append(read_data)
136
+
137
+ zipdata2 = []
138
+ with zipfp.open("another.name") as zipopen2:
139
+ while True:
140
+ read_data = zipopen2.read(256)
141
+ if not read_data:
142
+ break
143
+ zipdata2.append(read_data)
144
+
145
+ self.assertEqual(b''.join(zipdata1), self.data)
146
+ self.assertEqual(b''.join(zipdata2), self.data)
147
+
148
+ def test_open(self):
149
+ for f in get_files(self):
150
+ self.zip_open_test(f, self.compression)
151
+
152
+ def test_open_with_pathlike(self):
153
+ path = pathlib.Path(TESTFN2)
154
+ self.zip_open_test(path, self.compression)
155
+ with zipfile.ZipFile(path, "r", self.compression) as zipfp:
156
+ self.assertIsInstance(zipfp.filename, str)
157
+
158
+ def zip_random_open_test(self, f, compression):
159
+ self.make_test_archive(f, compression)
160
+
161
+ # Read the ZIP archive
162
+ with zipfile.ZipFile(f, "r", compression) as zipfp:
163
+ zipdata1 = []
164
+ with zipfp.open(TESTFN) as zipopen1:
165
+ while True:
166
+ read_data = zipopen1.read(randint(1, 1024))
167
+ if not read_data:
168
+ break
169
+ zipdata1.append(read_data)
170
+
171
+ self.assertEqual(b''.join(zipdata1), self.data)
172
+
173
+ def test_random_open(self):
174
+ for f in get_files(self):
175
+ self.zip_random_open_test(f, self.compression)
176
+
177
+ def zip_read1_test(self, f, compression):
178
+ self.make_test_archive(f, compression)
179
+
180
+ # Read the ZIP archive
181
+ with zipfile.ZipFile(f, "r") as zipfp, \
182
+ zipfp.open(TESTFN) as zipopen:
183
+ zipdata = []
184
+ while True:
185
+ read_data = zipopen.read1(-1)
186
+ if not read_data:
187
+ break
188
+ zipdata.append(read_data)
189
+
190
+ self.assertEqual(b''.join(zipdata), self.data)
191
+
192
+ def test_read1(self):
193
+ for f in get_files(self):
194
+ self.zip_read1_test(f, self.compression)
195
+
196
+ def zip_read1_10_test(self, f, compression):
197
+ self.make_test_archive(f, compression)
198
+
199
+ # Read the ZIP archive
200
+ with zipfile.ZipFile(f, "r") as zipfp, \
201
+ zipfp.open(TESTFN) as zipopen:
202
+ zipdata = []
203
+ while True:
204
+ read_data = zipopen.read1(10)
205
+ self.assertLessEqual(len(read_data), 10)
206
+ if not read_data:
207
+ break
208
+ zipdata.append(read_data)
209
+
210
+ self.assertEqual(b''.join(zipdata), self.data)
211
+
212
+ def test_read1_10(self):
213
+ for f in get_files(self):
214
+ self.zip_read1_10_test(f, self.compression)
215
+
216
+ def zip_readline_read_test(self, f, compression):
217
+ self.make_test_archive(f, compression)
218
+
219
+ # Read the ZIP archive
220
+ with zipfile.ZipFile(f, "r") as zipfp, \
221
+ zipfp.open(TESTFN) as zipopen:
222
+ data = b''
223
+ while True:
224
+ read = zipopen.readline()
225
+ if not read:
226
+ break
227
+ data += read
228
+
229
+ read = zipopen.read(100)
230
+ if not read:
231
+ break
232
+ data += read
233
+
234
+ self.assertEqual(data, self.data)
235
+
236
+ def test_readline_read(self):
237
+ # Issue #7610: calls to readline() interleaved with calls to read().
238
+ for f in get_files(self):
239
+ self.zip_readline_read_test(f, self.compression)
240
+
241
+ def zip_readline_test(self, f, compression):
242
+ self.make_test_archive(f, compression)
243
+
244
+ # Read the ZIP archive
245
+ with zipfile.ZipFile(f, "r") as zipfp:
246
+ with zipfp.open(TESTFN) as zipopen:
247
+ for line in self.line_gen:
248
+ linedata = zipopen.readline()
249
+ self.assertEqual(linedata, line)
250
+
251
+ def test_readline(self):
252
+ for f in get_files(self):
253
+ self.zip_readline_test(f, self.compression)
254
+
255
+ def zip_readlines_test(self, f, compression):
256
+ self.make_test_archive(f, compression)
257
+
258
+ # Read the ZIP archive
259
+ with zipfile.ZipFile(f, "r") as zipfp:
260
+ with zipfp.open(TESTFN) as zipopen:
261
+ ziplines = zipopen.readlines()
262
+ for line, zipline in zip(self.line_gen, ziplines):
263
+ self.assertEqual(zipline, line)
264
+
265
+ def test_readlines(self):
266
+ for f in get_files(self):
267
+ self.zip_readlines_test(f, self.compression)
268
+
269
+ def zip_iterlines_test(self, f, compression):
270
+ self.make_test_archive(f, compression)
271
+
272
+ # Read the ZIP archive
273
+ with zipfile.ZipFile(f, "r") as zipfp:
274
+ with zipfp.open(TESTFN) as zipopen:
275
+ for line, zipline in zip(self.line_gen, zipopen):
276
+ self.assertEqual(zipline, line)
277
+
278
+ def test_iterlines(self):
279
+ for f in get_files(self):
280
+ self.zip_iterlines_test(f, self.compression)
281
+
282
+ def test_low_compression(self):
283
+ """Check for cases where compressed data is larger than original."""
284
+ # Create the ZIP archive
285
+ with zipfile.ZipFile(TESTFN2, "w", self.compression) as zipfp:
286
+ zipfp.writestr("strfile", '12')
287
+
288
+ # Get an open object for strfile
289
+ with zipfile.ZipFile(TESTFN2, "r", self.compression) as zipfp:
290
+ with zipfp.open("strfile") as openobj:
291
+ self.assertEqual(openobj.read(1), b'1')
292
+ self.assertEqual(openobj.read(1), b'2')
293
+
294
+ def test_writestr_compression(self):
295
+ zipfp = zipfile.ZipFile(TESTFN2, "w")
296
+ zipfp.writestr("b.txt", "hello world", compress_type=self.compression)
297
+ info = zipfp.getinfo('b.txt')
298
+ self.assertEqual(info.compress_type, self.compression)
299
+
300
+ def test_read_return_size(self):
301
+ # Issue #9837: ZipExtFile.read() shouldn't return more bytes
302
+ # than requested.
303
+ for test_size in (1, 4095, 4096, 4097, 16384):
304
+ file_size = test_size + 1
305
+ junk = getrandbytes(file_size)
306
+ with zipfile.ZipFile(io.BytesIO(), "w", self.compression) as zipf:
307
+ zipf.writestr('foo', junk)
308
+ with zipf.open('foo', 'r') as fp:
309
+ buf = fp.read(test_size)
310
+ self.assertEqual(len(buf), test_size)
311
+
312
+ def test_truncated_zipfile(self):
313
+ fp = io.BytesIO()
314
+ with zipfile.ZipFile(fp, mode='w') as zipf:
315
+ zipf.writestr('strfile', self.data, compress_type=self.compression)
316
+ end_offset = fp.tell()
317
+ zipfiledata = fp.getvalue()
318
+
319
+ fp = io.BytesIO(zipfiledata)
320
+ with zipfile.ZipFile(fp) as zipf:
321
+ with zipf.open('strfile') as zipopen:
322
+ fp.truncate(end_offset - 20)
323
+ with self.assertRaises(EOFError):
324
+ zipopen.read()
325
+
326
+ fp = io.BytesIO(zipfiledata)
327
+ with zipfile.ZipFile(fp) as zipf:
328
+ with zipf.open('strfile') as zipopen:
329
+ fp.truncate(end_offset - 20)
330
+ with self.assertRaises(EOFError):
331
+ while zipopen.read(100):
332
+ pass
333
+
334
+ fp = io.BytesIO(zipfiledata)
335
+ with zipfile.ZipFile(fp) as zipf:
336
+ with zipf.open('strfile') as zipopen:
337
+ fp.truncate(end_offset - 20)
338
+ with self.assertRaises(EOFError):
339
+ while zipopen.read1(100):
340
+ pass
341
+
342
+ def test_repr(self):
343
+ fname = 'file.name'
344
+ for f in get_files(self):
345
+ with zipfile.ZipFile(f, 'w', self.compression) as zipfp:
346
+ zipfp.write(TESTFN, fname)
347
+ r = repr(zipfp)
348
+ self.assertIn("mode='w'", r)
349
+
350
+ with zipfile.ZipFile(f, 'r') as zipfp:
351
+ r = repr(zipfp)
352
+ if isinstance(f, str):
353
+ self.assertIn('filename=%r' % f, r)
354
+ else:
355
+ self.assertIn('file=%r' % f, r)
356
+ self.assertIn("mode='r'", r)
357
+ r = repr(zipfp.getinfo(fname))
358
+ self.assertIn('filename=%r' % fname, r)
359
+ self.assertIn('filemode=', r)
360
+ self.assertIn('file_size=', r)
361
+ if self.compression != zipfile.ZIP_STORED:
362
+ self.assertIn('compress_type=', r)
363
+ self.assertIn('compress_size=', r)
364
+ with zipfp.open(fname) as zipopen:
365
+ r = repr(zipopen)
366
+ self.assertIn('name=%r' % fname, r)
367
+ self.assertIn("mode='r'", r)
368
+ if self.compression != zipfile.ZIP_STORED:
369
+ self.assertIn('compress_type=', r)
370
+ self.assertIn('[closed]', repr(zipopen))
371
+ self.assertIn('[closed]', repr(zipfp))
372
+
373
+ def tearDown(self):
374
+ unlink(TESTFN)
375
+ unlink(TESTFN2)
376
+
377
+
378
+ class StoredTestsWithSourceFile(AbstractTestsWithSourceFile,
379
+ unittest.TestCase):
380
+ compression = zipfile.ZIP_STORED
381
+ test_low_compression = None
382
+
383
+ def zip_test_writestr_permissions(self, f, compression):
384
+ # Make sure that writestr and open(... mode='w') create files with
385
+ # mode 0600, when they are passed a name rather than a ZipInfo
386
+ # instance.
387
+
388
+ self.make_test_archive(f, compression)
389
+ with zipfile.ZipFile(f, "r") as zipfp:
390
+ zinfo = zipfp.getinfo('strfile')
391
+ self.assertEqual(zinfo.external_attr, 0o600 << 16)
392
+
393
+ zinfo2 = zipfp.getinfo('written-open-w')
394
+ self.assertEqual(zinfo2.external_attr, 0o600 << 16)
395
+
396
+ def test_writestr_permissions(self):
397
+ for f in get_files(self):
398
+ self.zip_test_writestr_permissions(f, zipfile.ZIP_STORED)
399
+
400
+ def test_absolute_arcnames(self):
401
+ with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp:
402
+ zipfp.write(TESTFN, "/absolute")
403
+
404
+ with zipfile.ZipFile(TESTFN2, "r", zipfile.ZIP_STORED) as zipfp:
405
+ self.assertEqual(zipfp.namelist(), ["absolute"])
406
+
407
+ def test_append_to_zip_file(self):
408
+ """Test appending to an existing zipfile."""
409
+ with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp:
410
+ zipfp.write(TESTFN, TESTFN)
411
+
412
+ with zipfile.ZipFile(TESTFN2, "a", zipfile.ZIP_STORED) as zipfp:
413
+ zipfp.writestr("strfile", self.data)
414
+ self.assertEqual(zipfp.namelist(), [TESTFN, "strfile"])
415
+
416
+ def test_append_to_non_zip_file(self):
417
+ """Test appending to an existing file that is not a zipfile."""
418
+ # NOTE: this test fails if len(d) < 22 because of the first
419
+ # line "fpin.seek(-22, 2)" in _EndRecData
420
+ data = b'I am not a ZipFile!'*10
421
+ with open(TESTFN2, 'wb') as f:
422
+ f.write(data)
423
+
424
+ with zipfile.ZipFile(TESTFN2, "a", zipfile.ZIP_STORED) as zipfp:
425
+ zipfp.write(TESTFN, TESTFN)
426
+
427
+ with open(TESTFN2, 'rb') as f:
428
+ f.seek(len(data))
429
+ with zipfile.ZipFile(f, "r") as zipfp:
430
+ self.assertEqual(zipfp.namelist(), [TESTFN])
431
+ self.assertEqual(zipfp.read(TESTFN), self.data)
432
+ with open(TESTFN2, 'rb') as f:
433
+ self.assertEqual(f.read(len(data)), data)
434
+ zipfiledata = f.read()
435
+ with io.BytesIO(zipfiledata) as bio, zipfile.ZipFile(bio) as zipfp:
436
+ self.assertEqual(zipfp.namelist(), [TESTFN])
437
+ self.assertEqual(zipfp.read(TESTFN), self.data)
438
+
439
+ def test_read_concatenated_zip_file(self):
440
+ with io.BytesIO() as bio:
441
+ with zipfile.ZipFile(bio, 'w', zipfile.ZIP_STORED) as zipfp:
442
+ zipfp.write(TESTFN, TESTFN)
443
+ zipfiledata = bio.getvalue()
444
+ data = b'I am not a ZipFile!'*10
445
+ with open(TESTFN2, 'wb') as f:
446
+ f.write(data)
447
+ f.write(zipfiledata)
448
+
449
+ with zipfile.ZipFile(TESTFN2) as zipfp:
450
+ self.assertEqual(zipfp.namelist(), [TESTFN])
451
+ self.assertEqual(zipfp.read(TESTFN), self.data)
452
+
453
+ def test_append_to_concatenated_zip_file(self):
454
+ with io.BytesIO() as bio:
455
+ with zipfile.ZipFile(bio, 'w', zipfile.ZIP_STORED) as zipfp:
456
+ zipfp.write(TESTFN, TESTFN)
457
+ zipfiledata = bio.getvalue()
458
+ data = b'I am not a ZipFile!'*1000000
459
+ with open(TESTFN2, 'wb') as f:
460
+ f.write(data)
461
+ f.write(zipfiledata)
462
+
463
+ with zipfile.ZipFile(TESTFN2, 'a') as zipfp:
464
+ self.assertEqual(zipfp.namelist(), [TESTFN])
465
+ zipfp.writestr('strfile', self.data)
466
+
467
+ with open(TESTFN2, 'rb') as f:
468
+ self.assertEqual(f.read(len(data)), data)
469
+ zipfiledata = f.read()
470
+ with io.BytesIO(zipfiledata) as bio, zipfile.ZipFile(bio) as zipfp:
471
+ self.assertEqual(zipfp.namelist(), [TESTFN, 'strfile'])
472
+ self.assertEqual(zipfp.read(TESTFN), self.data)
473
+ self.assertEqual(zipfp.read('strfile'), self.data)
474
+
475
+ def test_ignores_newline_at_end(self):
476
+ with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp:
477
+ zipfp.write(TESTFN, TESTFN)
478
+ with open(TESTFN2, 'a') as f:
479
+ f.write("\r\n\00\00\00")
480
+ with zipfile.ZipFile(TESTFN2, "r") as zipfp:
481
+ self.assertIsInstance(zipfp, zipfile.ZipFile)
482
+
483
+ def test_ignores_stuff_appended_past_comments(self):
484
+ with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp:
485
+ zipfp.comment = b"this is a comment"
486
+ zipfp.write(TESTFN, TESTFN)
487
+ with open(TESTFN2, 'a') as f:
488
+ f.write("abcdef\r\n")
489
+ with zipfile.ZipFile(TESTFN2, "r") as zipfp:
490
+ self.assertIsInstance(zipfp, zipfile.ZipFile)
491
+ self.assertEqual(zipfp.comment, b"this is a comment")
492
+
493
+ def test_write_default_name(self):
494
+ """Check that calling ZipFile.write without arcname specified
495
+ produces the expected result."""
496
+ with zipfile.ZipFile(TESTFN2, "w") as zipfp:
497
+ zipfp.write(TESTFN)
498
+ with open(TESTFN, "rb") as f:
499
+ self.assertEqual(zipfp.read(TESTFN), f.read())
500
+
501
+ def test_write_to_readonly(self):
502
+ """Check that trying to call write() on a readonly ZipFile object
503
+ raises a ValueError."""
504
+ with zipfile.ZipFile(TESTFN2, mode="w") as zipfp:
505
+ zipfp.writestr("somefile.txt", "bogus")
506
+
507
+ with zipfile.ZipFile(TESTFN2, mode="r") as zipfp:
508
+ self.assertRaises(ValueError, zipfp.write, TESTFN)
509
+
510
+ with zipfile.ZipFile(TESTFN2, mode="r") as zipfp:
511
+ with self.assertRaises(ValueError):
512
+ zipfp.open(TESTFN, mode='w')
513
+
514
+ def test_add_file_before_1980(self):
515
+ # Set atime and mtime to 1970-01-01
516
+ os.utime(TESTFN, (0, 0))
517
+ with zipfile.ZipFile(TESTFN2, "w") as zipfp:
518
+ self.assertRaises(ValueError, zipfp.write, TESTFN)
519
+
520
+
521
+ @requires_zlib
522
+ class DeflateTestsWithSourceFile(AbstractTestsWithSourceFile,
523
+ unittest.TestCase):
524
+ compression = zipfile.ZIP_DEFLATED
525
+
526
+ def test_per_file_compression(self):
527
+ """Check that files within a Zip archive can have different
528
+ compression options."""
529
+ with zipfile.ZipFile(TESTFN2, "w") as zipfp:
530
+ zipfp.write(TESTFN, 'storeme', zipfile.ZIP_STORED)
531
+ zipfp.write(TESTFN, 'deflateme', zipfile.ZIP_DEFLATED)
532
+ sinfo = zipfp.getinfo('storeme')
533
+ dinfo = zipfp.getinfo('deflateme')
534
+ self.assertEqual(sinfo.compress_type, zipfile.ZIP_STORED)
535
+ self.assertEqual(dinfo.compress_type, zipfile.ZIP_DEFLATED)
536
+
537
+ @requires_bz2
538
+ class Bzip2TestsWithSourceFile(AbstractTestsWithSourceFile,
539
+ unittest.TestCase):
540
+ compression = zipfile.ZIP_BZIP2
541
+
542
+ @requires_lzma
543
+ class LzmaTestsWithSourceFile(AbstractTestsWithSourceFile,
544
+ unittest.TestCase):
545
+ compression = zipfile.ZIP_LZMA
546
+
547
+
548
+ class AbstractTestZip64InSmallFiles:
549
+ # These tests test the ZIP64 functionality without using large files,
550
+ # see test_zipfile64 for proper tests.
551
+
552
+ @classmethod
553
+ def setUpClass(cls):
554
+ line_gen = (bytes("Test of zipfile line %d." % i, "ascii")
555
+ for i in range(0, FIXEDTEST_SIZE))
556
+ cls.data = b'\n'.join(line_gen)
557
+
558
+ def setUp(self):
559
+ self._limit = zipfile.ZIP64_LIMIT
560
+ self._filecount_limit = zipfile.ZIP_FILECOUNT_LIMIT
561
+ zipfile.ZIP64_LIMIT = 1000
562
+ zipfile.ZIP_FILECOUNT_LIMIT = 9
563
+
564
+ # Make a source file with some lines
565
+ with open(TESTFN, "wb") as fp:
566
+ fp.write(self.data)
567
+
568
+ def zip_test(self, f, compression):
569
+ # Create the ZIP archive
570
+ with zipfile.ZipFile(f, "w", compression, allowZip64=True) as zipfp:
571
+ zipfp.write(TESTFN, "another.name")
572
+ zipfp.write(TESTFN, TESTFN)
573
+ zipfp.writestr("strfile", self.data)
574
+
575
+ # Read the ZIP archive
576
+ with zipfile.ZipFile(f, "r", compression) as zipfp:
577
+ self.assertEqual(zipfp.read(TESTFN), self.data)
578
+ self.assertEqual(zipfp.read("another.name"), self.data)
579
+ self.assertEqual(zipfp.read("strfile"), self.data)
580
+
581
+ # Print the ZIP directory
582
+ fp = io.StringIO()
583
+ zipfp.printdir(fp)
584
+
585
+ directory = fp.getvalue()
586
+ lines = directory.splitlines()
587
+ self.assertEqual(len(lines), 4) # Number of files + header
588
+
589
+ self.assertIn('File Name', lines[0])
590
+ self.assertIn('Modified', lines[0])
591
+ self.assertIn('Size', lines[0])
592
+
593
+ fn, date, time_, size = lines[1].split()
594
+ self.assertEqual(fn, 'another.name')
595
+ self.assertTrue(time.strptime(date, '%Y-%m-%d'))
596
+ self.assertTrue(time.strptime(time_, '%H:%M:%S'))
597
+ self.assertEqual(size, str(len(self.data)))
598
+
599
+ # Check the namelist
600
+ names = zipfp.namelist()
601
+ self.assertEqual(len(names), 3)
602
+ self.assertIn(TESTFN, names)
603
+ self.assertIn("another.name", names)
604
+ self.assertIn("strfile", names)
605
+
606
+ # Check infolist
607
+ infos = zipfp.infolist()
608
+ names = [i.filename for i in infos]
609
+ self.assertEqual(len(names), 3)
610
+ self.assertIn(TESTFN, names)
611
+ self.assertIn("another.name", names)
612
+ self.assertIn("strfile", names)
613
+ for i in infos:
614
+ self.assertEqual(i.file_size, len(self.data))
615
+
616
+ # check getinfo
617
+ for nm in (TESTFN, "another.name", "strfile"):
618
+ info = zipfp.getinfo(nm)
619
+ self.assertEqual(info.filename, nm)
620
+ self.assertEqual(info.file_size, len(self.data))
621
+
622
+ # Check that testzip doesn't raise an exception
623
+ zipfp.testzip()
624
+
625
+ def test_basic(self):
626
+ for f in get_files(self):
627
+ self.zip_test(f, self.compression)
628
+
629
+ def test_too_many_files(self):
630
+ # This test checks that more than 64k files can be added to an archive,
631
+ # and that the resulting archive can be read properly by ZipFile
632
+ zipf = zipfile.ZipFile(TESTFN, "w", self.compression,
633
+ allowZip64=True)
634
+ zipf.debug = 100
635
+ numfiles = 15
636
+ for i in range(numfiles):
637
+ zipf.writestr("foo%08d" % i, "%d" % (i**3 % 57))
638
+ self.assertEqual(len(zipf.namelist()), numfiles)
639
+ zipf.close()
640
+
641
+ zipf2 = zipfile.ZipFile(TESTFN, "r", self.compression)
642
+ self.assertEqual(len(zipf2.namelist()), numfiles)
643
+ for i in range(numfiles):
644
+ content = zipf2.read("foo%08d" % i).decode('ascii')
645
+ self.assertEqual(content, "%d" % (i**3 % 57))
646
+ zipf2.close()
647
+
648
+ def test_too_many_files_append(self):
649
+ zipf = zipfile.ZipFile(TESTFN, "w", self.compression,
650
+ allowZip64=False)
651
+ zipf.debug = 100
652
+ numfiles = 9
653
+ for i in range(numfiles):
654
+ zipf.writestr("foo%08d" % i, "%d" % (i**3 % 57))
655
+ self.assertEqual(len(zipf.namelist()), numfiles)
656
+ with self.assertRaises(zipfile.LargeZipFile):
657
+ zipf.writestr("foo%08d" % numfiles, b'')
658
+ self.assertEqual(len(zipf.namelist()), numfiles)
659
+ zipf.close()
660
+
661
+ zipf = zipfile.ZipFile(TESTFN, "a", self.compression,
662
+ allowZip64=False)
663
+ zipf.debug = 100
664
+ self.assertEqual(len(zipf.namelist()), numfiles)
665
+ with self.assertRaises(zipfile.LargeZipFile):
666
+ zipf.writestr("foo%08d" % numfiles, b'')
667
+ self.assertEqual(len(zipf.namelist()), numfiles)
668
+ zipf.close()
669
+
670
+ zipf = zipfile.ZipFile(TESTFN, "a", self.compression,
671
+ allowZip64=True)
672
+ zipf.debug = 100
673
+ self.assertEqual(len(zipf.namelist()), numfiles)
674
+ numfiles2 = 15
675
+ for i in range(numfiles, numfiles2):
676
+ zipf.writestr("foo%08d" % i, "%d" % (i**3 % 57))
677
+ self.assertEqual(len(zipf.namelist()), numfiles2)
678
+ zipf.close()
679
+
680
+ zipf2 = zipfile.ZipFile(TESTFN, "r", self.compression)
681
+ self.assertEqual(len(zipf2.namelist()), numfiles2)
682
+ for i in range(numfiles2):
683
+ content = zipf2.read("foo%08d" % i).decode('ascii')
684
+ self.assertEqual(content, "%d" % (i**3 % 57))
685
+ zipf2.close()
686
+
687
+ def tearDown(self):
688
+ zipfile.ZIP64_LIMIT = self._limit
689
+ zipfile.ZIP_FILECOUNT_LIMIT = self._filecount_limit
690
+ unlink(TESTFN)
691
+ unlink(TESTFN2)
692
+
693
+
694
+ class StoredTestZip64InSmallFiles(AbstractTestZip64InSmallFiles,
695
+ unittest.TestCase):
696
+ compression = zipfile.ZIP_STORED
697
+
698
+ def large_file_exception_test(self, f, compression):
699
+ with zipfile.ZipFile(f, "w", compression, allowZip64=False) as zipfp:
700
+ self.assertRaises(zipfile.LargeZipFile,
701
+ zipfp.write, TESTFN, "another.name")
702
+
703
+ def large_file_exception_test2(self, f, compression):
704
+ with zipfile.ZipFile(f, "w", compression, allowZip64=False) as zipfp:
705
+ self.assertRaises(zipfile.LargeZipFile,
706
+ zipfp.writestr, "another.name", self.data)
707
+
708
+ def test_large_file_exception(self):
709
+ for f in get_files(self):
710
+ self.large_file_exception_test(f, zipfile.ZIP_STORED)
711
+ self.large_file_exception_test2(f, zipfile.ZIP_STORED)
712
+
713
+ def test_absolute_arcnames(self):
714
+ with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED,
715
+ allowZip64=True) as zipfp:
716
+ zipfp.write(TESTFN, "/absolute")
717
+
718
+ with zipfile.ZipFile(TESTFN2, "r", zipfile.ZIP_STORED) as zipfp:
719
+ self.assertEqual(zipfp.namelist(), ["absolute"])
720
+
721
+ @requires_zlib
722
+ class DeflateTestZip64InSmallFiles(AbstractTestZip64InSmallFiles,
723
+ unittest.TestCase):
724
+ compression = zipfile.ZIP_DEFLATED
725
+
726
+ @requires_bz2
727
+ class Bzip2TestZip64InSmallFiles(AbstractTestZip64InSmallFiles,
728
+ unittest.TestCase):
729
+ compression = zipfile.ZIP_BZIP2
730
+
731
+ @requires_lzma
732
+ class LzmaTestZip64InSmallFiles(AbstractTestZip64InSmallFiles,
733
+ unittest.TestCase):
734
+ compression = zipfile.ZIP_LZMA
735
+
736
+
737
+ class AbstractWriterTests:
738
+
739
+ def tearDown(self):
740
+ unlink(TESTFN2)
741
+
742
+ def test_close_after_close(self):
743
+ data = b'content'
744
+ with zipfile.ZipFile(TESTFN2, "w", self.compression) as zipf:
745
+ w = zipf.open('test', 'w')
746
+ w.write(data)
747
+ w.close()
748
+ self.assertTrue(w.closed)
749
+ w.close()
750
+ self.assertTrue(w.closed)
751
+ self.assertEqual(zipf.read('test'), data)
752
+
753
+ def test_write_after_close(self):
754
+ data = b'content'
755
+ with zipfile.ZipFile(TESTFN2, "w", self.compression) as zipf:
756
+ w = zipf.open('test', 'w')
757
+ w.write(data)
758
+ w.close()
759
+ self.assertTrue(w.closed)
760
+ self.assertRaises(ValueError, w.write, b'')
761
+ self.assertEqual(zipf.read('test'), data)
762
+
763
+ class StoredWriterTests(AbstractWriterTests, unittest.TestCase):
764
+ compression = zipfile.ZIP_STORED
765
+
766
+ @requires_zlib
767
+ class DeflateWriterTests(AbstractWriterTests, unittest.TestCase):
768
+ compression = zipfile.ZIP_DEFLATED
769
+
770
+ @requires_bz2
771
+ class Bzip2WriterTests(AbstractWriterTests, unittest.TestCase):
772
+ compression = zipfile.ZIP_BZIP2
773
+
774
+ @requires_lzma
775
+ class LzmaWriterTests(AbstractWriterTests, unittest.TestCase):
776
+ compression = zipfile.ZIP_LZMA
777
+
778
+
779
+ class PyZipFileTests(unittest.TestCase):
780
+ def assertCompiledIn(self, name, namelist):
781
+ if name + 'o' not in namelist:
782
+ self.assertIn(name + 'c', namelist)
783
+
784
+ def requiresWriteAccess(self, path):
785
+ # effective_ids unavailable on windows
786
+ if not os.access(path, os.W_OK,
787
+ effective_ids=os.access in os.supports_effective_ids):
788
+ self.skipTest('requires write access to the installed location')
789
+ filename = os.path.join(path, 'test_zipfile.try')
790
+ try:
791
+ fd = os.open(filename, os.O_WRONLY | os.O_CREAT)
792
+ os.close(fd)
793
+ except Exception:
794
+ self.skipTest('requires write access to the installed location')
795
+ unlink(filename)
796
+
797
+ def test_write_pyfile(self):
798
+ self.requiresWriteAccess(os.path.dirname(__file__))
799
+ with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp:
800
+ fn = __file__
801
+ if fn.endswith('.pyc'):
802
+ path_split = fn.split(os.sep)
803
+ if os.altsep is not None:
804
+ path_split.extend(fn.split(os.altsep))
805
+ if '__pycache__' in path_split:
806
+ fn = importlib.util.source_from_cache(fn)
807
+ else:
808
+ fn = fn[:-1]
809
+
810
+ zipfp.writepy(fn)
811
+
812
+ bn = os.path.basename(fn)
813
+ self.assertNotIn(bn, zipfp.namelist())
814
+ self.assertCompiledIn(bn, zipfp.namelist())
815
+
816
+ with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp:
817
+ fn = __file__
818
+ if fn.endswith('.pyc'):
819
+ fn = fn[:-1]
820
+
821
+ zipfp.writepy(fn, "testpackage")
822
+
823
+ bn = "%s/%s" % ("testpackage", os.path.basename(fn))
824
+ self.assertNotIn(bn, zipfp.namelist())
825
+ self.assertCompiledIn(bn, zipfp.namelist())
826
+
827
+ def test_write_python_package(self):
828
+ import email
829
+ packagedir = os.path.dirname(email.__file__)
830
+ self.requiresWriteAccess(packagedir)
831
+
832
+ with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp:
833
+ zipfp.writepy(packagedir)
834
+
835
+ # Check for a couple of modules at different levels of the
836
+ # hierarchy
837
+ names = zipfp.namelist()
838
+ self.assertCompiledIn('email/__init__.py', names)
839
+ self.assertCompiledIn('email/mime/text.py', names)
840
+
841
+ def test_write_filtered_python_package(self):
842
+ import test
843
+ packagedir = os.path.dirname(test.__file__)
844
+ self.requiresWriteAccess(packagedir)
845
+
846
+ with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp:
847
+
848
+ # first make sure that the test folder gives error messages
849
+ # (on the badsyntax_... files)
850
+ with captured_stdout() as reportSIO:
851
+ zipfp.writepy(packagedir)
852
+ reportStr = reportSIO.getvalue()
853
+ self.assertTrue('SyntaxError' in reportStr)
854
+
855
+ # then check that the filter works on the whole package
856
+ with captured_stdout() as reportSIO:
857
+ zipfp.writepy(packagedir, filterfunc=lambda whatever: False)
858
+ reportStr = reportSIO.getvalue()
859
+ self.assertTrue('SyntaxError' not in reportStr)
860
+
861
+ # then check that the filter works on individual files
862
+ def filter(path):
863
+ return not os.path.basename(path).startswith("bad")
864
+ with captured_stdout() as reportSIO, self.assertWarns(UserWarning):
865
+ zipfp.writepy(packagedir, filterfunc=filter)
866
+ reportStr = reportSIO.getvalue()
867
+ if reportStr:
868
+ print(reportStr)
869
+ self.assertTrue('SyntaxError' not in reportStr)
870
+
871
+ def test_write_with_optimization(self):
872
+ import email
873
+ packagedir = os.path.dirname(email.__file__)
874
+ self.requiresWriteAccess(packagedir)
875
+ optlevel = 1 if __debug__ else 0
876
+ ext = '.pyc'
877
+
878
+ with TemporaryFile() as t, \
879
+ zipfile.PyZipFile(t, "w", optimize=optlevel) as zipfp:
880
+ zipfp.writepy(packagedir)
881
+
882
+ names = zipfp.namelist()
883
+ self.assertIn('email/__init__' + ext, names)
884
+ self.assertIn('email/mime/text' + ext, names)
885
+
886
+ def test_write_python_directory(self):
887
+ os.mkdir(TESTFN2)
888
+ try:
889
+ with open(os.path.join(TESTFN2, "mod1.py"), "w") as fp:
890
+ fp.write("print(42)\n")
891
+
892
+ with open(os.path.join(TESTFN2, "mod2.py"), "w") as fp:
893
+ fp.write("print(42 * 42)\n")
894
+
895
+ with open(os.path.join(TESTFN2, "mod2.txt"), "w") as fp:
896
+ fp.write("bla bla bla\n")
897
+
898
+ with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp:
899
+ zipfp.writepy(TESTFN2)
900
+
901
+ names = zipfp.namelist()
902
+ self.assertCompiledIn('mod1.py', names)
903
+ self.assertCompiledIn('mod2.py', names)
904
+ self.assertNotIn('mod2.txt', names)
905
+
906
+ finally:
907
+ rmtree(TESTFN2)
908
+
909
+ def test_write_python_directory_filtered(self):
910
+ os.mkdir(TESTFN2)
911
+ try:
912
+ with open(os.path.join(TESTFN2, "mod1.py"), "w") as fp:
913
+ fp.write("print(42)\n")
914
+
915
+ with open(os.path.join(TESTFN2, "mod2.py"), "w") as fp:
916
+ fp.write("print(42 * 42)\n")
917
+
918
+ with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp:
919
+ zipfp.writepy(TESTFN2, filterfunc=lambda fn:
920
+ not fn.endswith('mod2.py'))
921
+
922
+ names = zipfp.namelist()
923
+ self.assertCompiledIn('mod1.py', names)
924
+ self.assertNotIn('mod2.py', names)
925
+
926
+ finally:
927
+ rmtree(TESTFN2)
928
+
929
+ def test_write_non_pyfile(self):
930
+ with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp:
931
+ with open(TESTFN, 'w') as f:
932
+ f.write('most definitely not a python file')
933
+ self.assertRaises(RuntimeError, zipfp.writepy, TESTFN)
934
+ unlink(TESTFN)
935
+
936
+ def test_write_pyfile_bad_syntax(self):
937
+ os.mkdir(TESTFN2)
938
+ try:
939
+ with open(os.path.join(TESTFN2, "mod1.py"), "w") as fp:
940
+ fp.write("Bad syntax in python file\n")
941
+
942
+ with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp:
943
+ # syntax errors are printed to stdout
944
+ with captured_stdout() as s:
945
+ zipfp.writepy(os.path.join(TESTFN2, "mod1.py"))
946
+
947
+ self.assertIn("SyntaxError", s.getvalue())
948
+
949
+ # as it will not have compiled the python file, it will
950
+ # include the .py file not .pyc
951
+ names = zipfp.namelist()
952
+ self.assertIn('mod1.py', names)
953
+ self.assertNotIn('mod1.pyc', names)
954
+
955
+ finally:
956
+ rmtree(TESTFN2)
957
+
958
+ def test_write_pathlike(self):
959
+ os.mkdir(TESTFN2)
960
+ try:
961
+ with open(os.path.join(TESTFN2, "mod1.py"), "w") as fp:
962
+ fp.write("print(42)\n")
963
+
964
+ with TemporaryFile() as t, zipfile.PyZipFile(t, "w") as zipfp:
965
+ zipfp.writepy(pathlib.Path(TESTFN2) / "mod1.py")
966
+ names = zipfp.namelist()
967
+ self.assertCompiledIn('mod1.py', names)
968
+ finally:
969
+ rmtree(TESTFN2)
970
+
971
+
972
+ class ExtractTests(unittest.TestCase):
973
+
974
+ def make_test_file(self):
975
+ with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp:
976
+ for fpath, fdata in SMALL_TEST_DATA:
977
+ zipfp.writestr(fpath, fdata)
978
+
979
+ def test_extract(self):
980
+ with temp_cwd():
981
+ self.make_test_file()
982
+ with zipfile.ZipFile(TESTFN2, "r") as zipfp:
983
+ for fpath, fdata in SMALL_TEST_DATA:
984
+ writtenfile = zipfp.extract(fpath)
985
+
986
+ # make sure it was written to the right place
987
+ correctfile = os.path.join(os.getcwd(), fpath)
988
+ correctfile = os.path.normpath(correctfile)
989
+
990
+ self.assertEqual(writtenfile, correctfile)
991
+
992
+ # make sure correct data is in correct file
993
+ with open(writtenfile, "rb") as f:
994
+ self.assertEqual(fdata.encode(), f.read())
995
+
996
+ unlink(writtenfile)
997
+
998
+ def _test_extract_with_target(self, target):
999
+ self.make_test_file()
1000
+ with zipfile.ZipFile(TESTFN2, "r") as zipfp:
1001
+ for fpath, fdata in SMALL_TEST_DATA:
1002
+ writtenfile = zipfp.extract(fpath, target)
1003
+
1004
+ # make sure it was written to the right place
1005
+ correctfile = os.path.join(target, fpath)
1006
+ correctfile = os.path.normpath(correctfile)
1007
+ self.assertTrue(os.path.samefile(writtenfile, correctfile), (writtenfile, target))
1008
+
1009
+ # make sure correct data is in correct file
1010
+ with open(writtenfile, "rb") as f:
1011
+ self.assertEqual(fdata.encode(), f.read())
1012
+
1013
+ unlink(writtenfile)
1014
+
1015
+ unlink(TESTFN2)
1016
+
1017
+ def test_extract_with_target(self):
1018
+ with temp_dir() as extdir:
1019
+ self._test_extract_with_target(extdir)
1020
+
1021
+ def test_extract_with_target_pathlike(self):
1022
+ with temp_dir() as extdir:
1023
+ self._test_extract_with_target(pathlib.Path(extdir))
1024
+
1025
+ def test_extract_all(self):
1026
+ with temp_cwd():
1027
+ self.make_test_file()
1028
+ with zipfile.ZipFile(TESTFN2, "r") as zipfp:
1029
+ zipfp.extractall()
1030
+ for fpath, fdata in SMALL_TEST_DATA:
1031
+ outfile = os.path.join(os.getcwd(), fpath)
1032
+
1033
+ with open(outfile, "rb") as f:
1034
+ self.assertEqual(fdata.encode(), f.read())
1035
+
1036
+ unlink(outfile)
1037
+
1038
+ def _test_extract_all_with_target(self, target):
1039
+ self.make_test_file()
1040
+ with zipfile.ZipFile(TESTFN2, "r") as zipfp:
1041
+ zipfp.extractall(target)
1042
+ for fpath, fdata in SMALL_TEST_DATA:
1043
+ outfile = os.path.join(target, fpath)
1044
+
1045
+ with open(outfile, "rb") as f:
1046
+ self.assertEqual(fdata.encode(), f.read())
1047
+
1048
+ unlink(outfile)
1049
+
1050
+ unlink(TESTFN2)
1051
+
1052
+ def test_extract_all_with_target(self):
1053
+ with temp_dir() as extdir:
1054
+ self._test_extract_all_with_target(extdir)
1055
+
1056
+ def test_extract_all_with_target_pathlike(self):
1057
+ with temp_dir() as extdir:
1058
+ self._test_extract_all_with_target(pathlib.Path(extdir))
1059
+
1060
+ def check_file(self, filename, content):
1061
+ self.assertTrue(os.path.isfile(filename))
1062
+ with open(filename, 'rb') as f:
1063
+ self.assertEqual(f.read(), content)
1064
+
1065
+ def test_sanitize_windows_name(self):
1066
+ san = zipfile.ZipFile._sanitize_windows_name
1067
+ # Passing pathsep in allows this test to work regardless of platform.
1068
+ self.assertEqual(san(r',,?,C:,foo,bar/z', ','), r'_,C_,foo,bar/z')
1069
+ self.assertEqual(san(r'a\b,c<d>e|f"g?h*i', ','), r'a\b,c_d_e_f_g_h_i')
1070
+ self.assertEqual(san('../../foo../../ba..r', '/'), r'foo/ba..r')
1071
+
1072
+ def test_extract_hackers_arcnames_common_cases(self):
1073
+ common_hacknames = [
1074
+ ('../foo/bar', 'foo/bar'),
1075
+ ('foo/../bar', 'foo/bar'),
1076
+ ('foo/../../bar', 'foo/bar'),
1077
+ ('foo/bar/..', 'foo/bar'),
1078
+ ('./../foo/bar', 'foo/bar'),
1079
+ ('/foo/bar', 'foo/bar'),
1080
+ ('/foo/../bar', 'foo/bar'),
1081
+ ('/foo/../../bar', 'foo/bar'),
1082
+ ]
1083
+ self._test_extract_hackers_arcnames(common_hacknames)
1084
+
1085
+ @unittest.skipIf(os.path.sep != '\\', 'Requires \\ as path separator.')
1086
+ def test_extract_hackers_arcnames_windows_only(self):
1087
+ """Test combination of path fixing and windows name sanitization."""
1088
+ windows_hacknames = [
1089
+ (r'..\foo\bar', 'foo/bar'),
1090
+ (r'..\/foo\/bar', 'foo/bar'),
1091
+ (r'foo/\..\/bar', 'foo/bar'),
1092
+ (r'foo\/../\bar', 'foo/bar'),
1093
+ (r'C:foo/bar', 'foo/bar'),
1094
+ (r'C:/foo/bar', 'foo/bar'),
1095
+ (r'C://foo/bar', 'foo/bar'),
1096
+ (r'C:\foo\bar', 'foo/bar'),
1097
+ (r'//conky/mountpoint/foo/bar', 'foo/bar'),
1098
+ (r'\\conky\mountpoint\foo\bar', 'foo/bar'),
1099
+ (r'///conky/mountpoint/foo/bar', 'conky/mountpoint/foo/bar'),
1100
+ (r'\\\conky\mountpoint\foo\bar', 'conky/mountpoint/foo/bar'),
1101
+ (r'//conky//mountpoint/foo/bar', 'conky/mountpoint/foo/bar'),
1102
+ (r'\\conky\\mountpoint\foo\bar', 'conky/mountpoint/foo/bar'),
1103
+ (r'//?/C:/foo/bar', 'foo/bar'),
1104
+ (r'\\?\C:\foo\bar', 'foo/bar'),
1105
+ (r'C:/../C:/foo/bar', 'C_/foo/bar'),
1106
+ (r'a:b\c<d>e|f"g?h*i', 'b/c_d_e_f_g_h_i'),
1107
+ ('../../foo../../ba..r', 'foo/ba..r'),
1108
+ ]
1109
+ self._test_extract_hackers_arcnames(windows_hacknames)
1110
+
1111
+ @unittest.skipIf(os.path.sep != '/', r'Requires / as path separator.')
1112
+ def test_extract_hackers_arcnames_posix_only(self):
1113
+ posix_hacknames = [
1114
+ ('//foo/bar', 'foo/bar'),
1115
+ ('../../foo../../ba..r', 'foo../ba..r'),
1116
+ (r'foo/..\bar', r'foo/..\bar'),
1117
+ ]
1118
+ self._test_extract_hackers_arcnames(posix_hacknames)
1119
+
1120
+ def _test_extract_hackers_arcnames(self, hacknames):
1121
+ for arcname, fixedname in hacknames:
1122
+ content = b'foobar' + arcname.encode()
1123
+ with zipfile.ZipFile(TESTFN2, 'w', zipfile.ZIP_STORED) as zipfp:
1124
+ zinfo = zipfile.ZipInfo()
1125
+ # preserve backslashes
1126
+ zinfo.filename = arcname
1127
+ zinfo.external_attr = 0o600 << 16
1128
+ zipfp.writestr(zinfo, content)
1129
+
1130
+ arcname = arcname.replace(os.sep, "/")
1131
+ targetpath = os.path.join('target', 'subdir', 'subsub')
1132
+ correctfile = os.path.join(targetpath, *fixedname.split('/'))
1133
+
1134
+ with zipfile.ZipFile(TESTFN2, 'r') as zipfp:
1135
+ writtenfile = zipfp.extract(arcname, targetpath)
1136
+ self.assertEqual(writtenfile, correctfile,
1137
+ msg='extract %r: %r != %r' %
1138
+ (arcname, writtenfile, correctfile))
1139
+ self.check_file(correctfile, content)
1140
+ rmtree('target')
1141
+
1142
+ with zipfile.ZipFile(TESTFN2, 'r') as zipfp:
1143
+ zipfp.extractall(targetpath)
1144
+ self.check_file(correctfile, content)
1145
+ rmtree('target')
1146
+
1147
+ correctfile = os.path.join(os.getcwd(), *fixedname.split('/'))
1148
+
1149
+ with zipfile.ZipFile(TESTFN2, 'r') as zipfp:
1150
+ writtenfile = zipfp.extract(arcname)
1151
+ self.assertEqual(writtenfile, correctfile,
1152
+ msg="extract %r" % arcname)
1153
+ self.check_file(correctfile, content)
1154
+ rmtree(fixedname.split('/')[0])
1155
+
1156
+ with zipfile.ZipFile(TESTFN2, 'r') as zipfp:
1157
+ zipfp.extractall()
1158
+ self.check_file(correctfile, content)
1159
+ rmtree(fixedname.split('/')[0])
1160
+
1161
+ unlink(TESTFN2)
1162
+
1163
+
1164
+ class OtherTests(unittest.TestCase):
1165
+ def test_open_via_zip_info(self):
1166
+ # Create the ZIP archive
1167
+ with zipfile.ZipFile(TESTFN2, "w", zipfile.ZIP_STORED) as zipfp:
1168
+ zipfp.writestr("name", "foo")
1169
+ with self.assertWarns(UserWarning):
1170
+ zipfp.writestr("name", "bar")
1171
+ self.assertEqual(zipfp.namelist(), ["name"] * 2)
1172
+
1173
+ with zipfile.ZipFile(TESTFN2, "r") as zipfp:
1174
+ infos = zipfp.infolist()
1175
+ data = b""
1176
+ for info in infos:
1177
+ with zipfp.open(info) as zipopen:
1178
+ data += zipopen.read()
1179
+ self.assertIn(data, {b"foobar", b"barfoo"})
1180
+ data = b""
1181
+ for info in infos:
1182
+ data += zipfp.read(info)
1183
+ self.assertIn(data, {b"foobar", b"barfoo"})
1184
+
1185
+ def test_writestr_extended_local_header_issue1202(self):
1186
+ with zipfile.ZipFile(TESTFN2, 'w') as orig_zip:
1187
+ for data in 'abcdefghijklmnop':
1188
+ zinfo = zipfile.ZipInfo(data)
1189
+ zinfo.flag_bits |= 0x08 # Include an extended local header.
1190
+ orig_zip.writestr(zinfo, data)
1191
+
1192
+ def test_close(self):
1193
+ """Check that the zipfile is closed after the 'with' block."""
1194
+ with zipfile.ZipFile(TESTFN2, "w") as zipfp:
1195
+ for fpath, fdata in SMALL_TEST_DATA:
1196
+ zipfp.writestr(fpath, fdata)
1197
+ self.assertIsNotNone(zipfp.fp, 'zipfp is not open')
1198
+ self.assertIsNone(zipfp.fp, 'zipfp is not closed')
1199
+
1200
+ with zipfile.ZipFile(TESTFN2, "r") as zipfp:
1201
+ self.assertIsNotNone(zipfp.fp, 'zipfp is not open')
1202
+ self.assertIsNone(zipfp.fp, 'zipfp is not closed')
1203
+
1204
+ def test_close_on_exception(self):
1205
+ """Check that the zipfile is closed if an exception is raised in the
1206
+ 'with' block."""
1207
+ with zipfile.ZipFile(TESTFN2, "w") as zipfp:
1208
+ for fpath, fdata in SMALL_TEST_DATA:
1209
+ zipfp.writestr(fpath, fdata)
1210
+
1211
+ try:
1212
+ with zipfile.ZipFile(TESTFN2, "r") as zipfp2:
1213
+ raise zipfile.BadZipFile()
1214
+ except zipfile.BadZipFile:
1215
+ self.assertIsNone(zipfp2.fp, 'zipfp is not closed')
1216
+
1217
+ def test_unsupported_version(self):
1218
+ # File has an extract_version of 120
1219
+ data = (b'PK\x03\x04x\x00\x00\x00\x00\x00!p\xa1@\x00\x00\x00\x00\x00\x00'
1220
+ b'\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00xPK\x01\x02x\x03x\x00\x00\x00\x00'
1221
+ b'\x00!p\xa1@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00'
1222
+ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x01\x00\x00\x00\x00xPK\x05\x06'
1223
+ b'\x00\x00\x00\x00\x01\x00\x01\x00/\x00\x00\x00\x1f\x00\x00\x00\x00\x00')
1224
+
1225
+ self.assertRaises(NotImplementedError, zipfile.ZipFile,
1226
+ io.BytesIO(data), 'r')
1227
+
1228
+ @requires_zlib
1229
+ def test_read_unicode_filenames(self):
1230
+ # bug #10801
1231
+ fname = findfile('zip_cp437_header.zip')
1232
+ with zipfile.ZipFile(fname) as zipfp:
1233
+ for name in zipfp.namelist():
1234
+ zipfp.open(name).close()
1235
+
1236
+ def test_write_unicode_filenames(self):
1237
+ with zipfile.ZipFile(TESTFN, "w") as zf:
1238
+ zf.writestr("foo.txt", "Test for unicode filename")
1239
+ zf.writestr("\xf6.txt", "Test for unicode filename")
1240
+ self.assertIsInstance(zf.infolist()[0].filename, str)
1241
+
1242
+ with zipfile.ZipFile(TESTFN, "r") as zf:
1243
+ self.assertEqual(zf.filelist[0].filename, "foo.txt")
1244
+ self.assertEqual(zf.filelist[1].filename, "\xf6.txt")
1245
+
1246
+ def test_exclusive_create_zip_file(self):
1247
+ """Test exclusive creating a new zipfile."""
1248
+ unlink(TESTFN2)
1249
+ filename = 'testfile.txt'
1250
+ content = b'hello, world. this is some content.'
1251
+ with zipfile.ZipFile(TESTFN2, "x", zipfile.ZIP_STORED) as zipfp:
1252
+ zipfp.writestr(filename, content)
1253
+ with self.assertRaises(FileExistsError):
1254
+ zipfile.ZipFile(TESTFN2, "x", zipfile.ZIP_STORED)
1255
+ with zipfile.ZipFile(TESTFN2, "r") as zipfp:
1256
+ self.assertEqual(zipfp.namelist(), [filename])
1257
+ self.assertEqual(zipfp.read(filename), content)
1258
+
1259
+ def test_create_non_existent_file_for_append(self):
1260
+ if os.path.exists(TESTFN):
1261
+ os.unlink(TESTFN)
1262
+
1263
+ filename = 'testfile.txt'
1264
+ content = b'hello, world. this is some content.'
1265
+
1266
+ try:
1267
+ with zipfile.ZipFile(TESTFN, 'a') as zf:
1268
+ zf.writestr(filename, content)
1269
+ except OSError:
1270
+ self.fail('Could not append data to a non-existent zip file.')
1271
+
1272
+ self.assertTrue(os.path.exists(TESTFN))
1273
+
1274
+ with zipfile.ZipFile(TESTFN, 'r') as zf:
1275
+ self.assertEqual(zf.read(filename), content)
1276
+
1277
+ def test_close_erroneous_file(self):
1278
+ # This test checks that the ZipFile constructor closes the file object
1279
+ # it opens if there's an error in the file. If it doesn't, the
1280
+ # traceback holds a reference to the ZipFile object and, indirectly,
1281
+ # the file object.
1282
+ # On Windows, this causes the os.unlink() call to fail because the
1283
+ # underlying file is still open. This is SF bug #412214.
1284
+ #
1285
+ with open(TESTFN, "w") as fp:
1286
+ fp.write("this is not a legal zip file\n")
1287
+ try:
1288
+ zf = zipfile.ZipFile(TESTFN)
1289
+ except zipfile.BadZipFile:
1290
+ pass
1291
+
1292
+ def test_is_zip_erroneous_file(self):
1293
+ """Check that is_zipfile() correctly identifies non-zip files."""
1294
+ # - passing a filename
1295
+ with open(TESTFN, "w") as fp:
1296
+ fp.write("this is not a legal zip file\n")
1297
+ self.assertFalse(zipfile.is_zipfile(TESTFN))
1298
+ # - passing a path-like object
1299
+ self.assertFalse(zipfile.is_zipfile(pathlib.Path(TESTFN)))
1300
+ # - passing a file object
1301
+ with open(TESTFN, "rb") as fp:
1302
+ self.assertFalse(zipfile.is_zipfile(fp))
1303
+ # - passing a file-like object
1304
+ fp = io.BytesIO()
1305
+ fp.write(b"this is not a legal zip file\n")
1306
+ self.assertFalse(zipfile.is_zipfile(fp))
1307
+ fp.seek(0, 0)
1308
+ self.assertFalse(zipfile.is_zipfile(fp))
1309
+
1310
+ def test_damaged_zipfile(self):
1311
+ """Check that zipfiles with missing bytes at the end raise BadZipFile."""
1312
+ # - Create a valid zip file
1313
+ fp = io.BytesIO()
1314
+ with zipfile.ZipFile(fp, mode="w") as zipf:
1315
+ zipf.writestr("foo.txt", b"O, for a Muse of Fire!")
1316
+ zipfiledata = fp.getvalue()
1317
+
1318
+ # - Now create copies of it missing the last N bytes and make sure
1319
+ # a BadZipFile exception is raised when we try to open it
1320
+ for N in range(len(zipfiledata)):
1321
+ fp = io.BytesIO(zipfiledata[:N])
1322
+ self.assertRaises(zipfile.BadZipFile, zipfile.ZipFile, fp)
1323
+
1324
+ def test_is_zip_valid_file(self):
1325
+ """Check that is_zipfile() correctly identifies zip files."""
1326
+ # - passing a filename
1327
+ with zipfile.ZipFile(TESTFN, mode="w") as zipf:
1328
+ zipf.writestr("foo.txt", b"O, for a Muse of Fire!")
1329
+
1330
+ self.assertTrue(zipfile.is_zipfile(TESTFN))
1331
+ # - passing a file object
1332
+ with open(TESTFN, "rb") as fp:
1333
+ self.assertTrue(zipfile.is_zipfile(fp))
1334
+ fp.seek(0, 0)
1335
+ zip_contents = fp.read()
1336
+ # - passing a file-like object
1337
+ fp = io.BytesIO()
1338
+ fp.write(zip_contents)
1339
+ self.assertTrue(zipfile.is_zipfile(fp))
1340
+ fp.seek(0, 0)
1341
+ self.assertTrue(zipfile.is_zipfile(fp))
1342
+
1343
+ def test_non_existent_file_raises_OSError(self):
1344
+ # make sure we don't raise an AttributeError when a partially-constructed
1345
+ # ZipFile instance is finalized; this tests for regression on SF tracker
1346
+ # bug #403871.
1347
+
1348
+ # The bug we're testing for caused an AttributeError to be raised
1349
+ # when a ZipFile instance was created for a file that did not
1350
+ # exist; the .fp member was not initialized but was needed by the
1351
+ # __del__() method. Since the AttributeError is in the __del__(),
1352
+ # it is ignored, but the user should be sufficiently annoyed by
1353
+ # the message on the output that regression will be noticed
1354
+ # quickly.
1355
+ self.assertRaises(OSError, zipfile.ZipFile, TESTFN)
1356
+
1357
+ def test_empty_file_raises_BadZipFile(self):
1358
+ f = open(TESTFN, 'w')
1359
+ f.close()
1360
+ self.assertRaises(zipfile.BadZipFile, zipfile.ZipFile, TESTFN)
1361
+
1362
+ with open(TESTFN, 'w') as fp:
1363
+ fp.write("short file")
1364
+ self.assertRaises(zipfile.BadZipFile, zipfile.ZipFile, TESTFN)
1365
+
1366
+ def test_closed_zip_raises_ValueError(self):
1367
+ """Verify that testzip() doesn't swallow inappropriate exceptions."""
1368
+ data = io.BytesIO()
1369
+ with zipfile.ZipFile(data, mode="w") as zipf:
1370
+ zipf.writestr("foo.txt", "O, for a Muse of Fire!")
1371
+
1372
+ # This is correct; calling .read on a closed ZipFile should raise
1373
+ # a ValueError, and so should calling .testzip. An earlier
1374
+ # version of .testzip would swallow this exception (and any other)
1375
+ # and report that the first file in the archive was corrupt.
1376
+ self.assertRaises(ValueError, zipf.read, "foo.txt")
1377
+ self.assertRaises(ValueError, zipf.open, "foo.txt")
1378
+ self.assertRaises(ValueError, zipf.testzip)
1379
+ self.assertRaises(ValueError, zipf.writestr, "bogus.txt", "bogus")
1380
+ with open(TESTFN, 'w') as f:
1381
+ f.write('zipfile test data')
1382
+ self.assertRaises(ValueError, zipf.write, TESTFN)
1383
+
1384
+ def test_bad_constructor_mode(self):
1385
+ """Check that bad modes passed to ZipFile constructor are caught."""
1386
+ self.assertRaises(ValueError, zipfile.ZipFile, TESTFN, "q")
1387
+
1388
+ def test_bad_open_mode(self):
1389
+ """Check that bad modes passed to ZipFile.open are caught."""
1390
+ with zipfile.ZipFile(TESTFN, mode="w") as zipf:
1391
+ zipf.writestr("foo.txt", "O, for a Muse of Fire!")
1392
+
1393
+ with zipfile.ZipFile(TESTFN, mode="r") as zipf:
1394
+ # read the data to make sure the file is there
1395
+ zipf.read("foo.txt")
1396
+ self.assertRaises(ValueError, zipf.open, "foo.txt", "q")
1397
+ # universal newlines support is removed
1398
+ self.assertRaises(ValueError, zipf.open, "foo.txt", "U")
1399
+ self.assertRaises(ValueError, zipf.open, "foo.txt", "rU")
1400
+
1401
+ def test_read0(self):
1402
+ """Check that calling read(0) on a ZipExtFile object returns an empty
1403
+ string and doesn't advance file pointer."""
1404
+ with zipfile.ZipFile(TESTFN, mode="w") as zipf:
1405
+ zipf.writestr("foo.txt", "O, for a Muse of Fire!")
1406
+ # read the data to make sure the file is there
1407
+ with zipf.open("foo.txt") as f:
1408
+ for i in range(FIXEDTEST_SIZE):
1409
+ self.assertEqual(f.read(0), b'')
1410
+
1411
+ self.assertEqual(f.read(), b"O, for a Muse of Fire!")
1412
+
1413
+ def test_open_non_existent_item(self):
1414
+ """Check that attempting to call open() for an item that doesn't
1415
+ exist in the archive raises a RuntimeError."""
1416
+ with zipfile.ZipFile(TESTFN, mode="w") as zipf:
1417
+ self.assertRaises(KeyError, zipf.open, "foo.txt", "r")
1418
+
1419
+ def test_bad_compression_mode(self):
1420
+ """Check that bad compression methods passed to ZipFile.open are
1421
+ caught."""
1422
+ self.assertRaises(NotImplementedError, zipfile.ZipFile, TESTFN, "w", -1)
1423
+
1424
+ def test_unsupported_compression(self):
1425
+ # data is declared as shrunk, but actually deflated
1426
+ data = (b'PK\x03\x04.\x00\x00\x00\x01\x00\xe4C\xa1@\x00\x00\x00'
1427
+ b'\x00\x02\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00x\x03\x00PK\x01'
1428
+ b'\x02.\x03.\x00\x00\x00\x01\x00\xe4C\xa1@\x00\x00\x00\x00\x02\x00\x00'
1429
+ b'\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
1430
+ b'\x80\x01\x00\x00\x00\x00xPK\x05\x06\x00\x00\x00\x00\x01\x00\x01\x00'
1431
+ b'/\x00\x00\x00!\x00\x00\x00\x00\x00')
1432
+ with zipfile.ZipFile(io.BytesIO(data), 'r') as zipf:
1433
+ self.assertRaises(NotImplementedError, zipf.open, 'x')
1434
+
1435
+ def test_null_byte_in_filename(self):
1436
+ """Check that a filename containing a null byte is properly
1437
+ terminated."""
1438
+ with zipfile.ZipFile(TESTFN, mode="w") as zipf:
1439
+ zipf.writestr("foo.txt\x00qqq", b"O, for a Muse of Fire!")
1440
+ self.assertEqual(zipf.namelist(), ['foo.txt'])
1441
+
1442
+ def test_struct_sizes(self):
1443
+ """Check that ZIP internal structure sizes are calculated correctly."""
1444
+ self.assertEqual(zipfile.sizeEndCentDir, 22)
1445
+ self.assertEqual(zipfile.sizeCentralDir, 46)
1446
+ self.assertEqual(zipfile.sizeEndCentDir64, 56)
1447
+ self.assertEqual(zipfile.sizeEndCentDir64Locator, 20)
1448
+
1449
+ def test_comments(self):
1450
+ """Check that comments on the archive are handled properly."""
1451
+
1452
+ # check default comment is empty
1453
+ with zipfile.ZipFile(TESTFN, mode="w") as zipf:
1454
+ self.assertEqual(zipf.comment, b'')
1455
+ zipf.writestr("foo.txt", "O, for a Muse of Fire!")
1456
+
1457
+ with zipfile.ZipFile(TESTFN, mode="r") as zipfr:
1458
+ self.assertEqual(zipfr.comment, b'')
1459
+
1460
+ # check a simple short comment
1461
+ comment = b'Bravely taking to his feet, he beat a very brave retreat.'
1462
+ with zipfile.ZipFile(TESTFN, mode="w") as zipf:
1463
+ zipf.comment = comment
1464
+ zipf.writestr("foo.txt", "O, for a Muse of Fire!")
1465
+ with zipfile.ZipFile(TESTFN, mode="r") as zipfr:
1466
+ self.assertEqual(zipf.comment, comment)
1467
+
1468
+ # check a comment of max length
1469
+ comment2 = ''.join(['%d' % (i**3 % 10) for i in range((1 << 16)-1)])
1470
+ comment2 = comment2.encode("ascii")
1471
+ with zipfile.ZipFile(TESTFN, mode="w") as zipf:
1472
+ zipf.comment = comment2
1473
+ zipf.writestr("foo.txt", "O, for a Muse of Fire!")
1474
+
1475
+ with zipfile.ZipFile(TESTFN, mode="r") as zipfr:
1476
+ self.assertEqual(zipfr.comment, comment2)
1477
+
1478
+ # check a comment that is too long is truncated
1479
+ with zipfile.ZipFile(TESTFN, mode="w") as zipf:
1480
+ with self.assertWarns(UserWarning):
1481
+ zipf.comment = comment2 + b'oops'
1482
+ zipf.writestr("foo.txt", "O, for a Muse of Fire!")
1483
+ with zipfile.ZipFile(TESTFN, mode="r") as zipfr:
1484
+ self.assertEqual(zipfr.comment, comment2)
1485
+
1486
+ # check that comments are correctly modified in append mode
1487
+ with zipfile.ZipFile(TESTFN,mode="w") as zipf:
1488
+ zipf.comment = b"original comment"
1489
+ zipf.writestr("foo.txt", "O, for a Muse of Fire!")
1490
+ with zipfile.ZipFile(TESTFN,mode="a") as zipf:
1491
+ zipf.comment = b"an updated comment"
1492
+ with zipfile.ZipFile(TESTFN,mode="r") as zipf:
1493
+ self.assertEqual(zipf.comment, b"an updated comment")
1494
+
1495
+ # check that comments are correctly shortened in append mode
1496
+ with zipfile.ZipFile(TESTFN,mode="w") as zipf:
1497
+ zipf.comment = b"original comment that's longer"
1498
+ zipf.writestr("foo.txt", "O, for a Muse of Fire!")
1499
+ with zipfile.ZipFile(TESTFN,mode="a") as zipf:
1500
+ zipf.comment = b"shorter comment"
1501
+ with zipfile.ZipFile(TESTFN,mode="r") as zipf:
1502
+ self.assertEqual(zipf.comment, b"shorter comment")
1503
+
1504
+ def test_unicode_comment(self):
1505
+ with zipfile.ZipFile(TESTFN, "w", zipfile.ZIP_STORED) as zipf:
1506
+ zipf.writestr("foo.txt", "O, for a Muse of Fire!")
1507
+ with self.assertRaises(TypeError):
1508
+ zipf.comment = "this is an error"
1509
+
1510
+ def test_change_comment_in_empty_archive(self):
1511
+ with zipfile.ZipFile(TESTFN, "a", zipfile.ZIP_STORED) as zipf:
1512
+ self.assertFalse(zipf.filelist)
1513
+ zipf.comment = b"this is a comment"
1514
+ with zipfile.ZipFile(TESTFN, "r") as zipf:
1515
+ self.assertEqual(zipf.comment, b"this is a comment")
1516
+
1517
+ def test_change_comment_in_nonempty_archive(self):
1518
+ with zipfile.ZipFile(TESTFN, "w", zipfile.ZIP_STORED) as zipf:
1519
+ zipf.writestr("foo.txt", "O, for a Muse of Fire!")
1520
+ with zipfile.ZipFile(TESTFN, "a", zipfile.ZIP_STORED) as zipf:
1521
+ self.assertTrue(zipf.filelist)
1522
+ zipf.comment = b"this is a comment"
1523
+ with zipfile.ZipFile(TESTFN, "r") as zipf:
1524
+ self.assertEqual(zipf.comment, b"this is a comment")
1525
+
1526
+ def test_empty_zipfile(self):
1527
+ # Check that creating a file in 'w' or 'a' mode and closing without
1528
+ # adding any files to the archives creates a valid empty ZIP file
1529
+ zipf = zipfile.ZipFile(TESTFN, mode="w")
1530
+ zipf.close()
1531
+ try:
1532
+ zipf = zipfile.ZipFile(TESTFN, mode="r")
1533
+ except zipfile.BadZipFile:
1534
+ self.fail("Unable to create empty ZIP file in 'w' mode")
1535
+
1536
+ zipf = zipfile.ZipFile(TESTFN, mode="a")
1537
+ zipf.close()
1538
+ try:
1539
+ zipf = zipfile.ZipFile(TESTFN, mode="r")
1540
+ except:
1541
+ self.fail("Unable to create empty ZIP file in 'a' mode")
1542
+
1543
+ def test_open_empty_file(self):
1544
+ # Issue 1710703: Check that opening a file with less than 22 bytes
1545
+ # raises a BadZipFile exception (rather than the previously unhelpful
1546
+ # OSError)
1547
+ f = open(TESTFN, 'w')
1548
+ f.close()
1549
+ self.assertRaises(zipfile.BadZipFile, zipfile.ZipFile, TESTFN, 'r')
1550
+
1551
+ def test_create_zipinfo_before_1980(self):
1552
+ self.assertRaises(ValueError,
1553
+ zipfile.ZipInfo, 'seventies', (1979, 1, 1, 0, 0, 0))
1554
+
1555
+ def test_zipfile_with_short_extra_field(self):
1556
+ """If an extra field in the header is less than 4 bytes, skip it."""
1557
+ zipdata = (
1558
+ b'PK\x03\x04\x14\x00\x00\x00\x00\x00\x93\x9b\xad@\x8b\x9e'
1559
+ b'\xd9\xd3\x01\x00\x00\x00\x01\x00\x00\x00\x03\x00\x03\x00ab'
1560
+ b'c\x00\x00\x00APK\x01\x02\x14\x03\x14\x00\x00\x00\x00'
1561
+ b'\x00\x93\x9b\xad@\x8b\x9e\xd9\xd3\x01\x00\x00\x00\x01\x00\x00'
1562
+ b'\x00\x03\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\xa4\x81\x00'
1563
+ b'\x00\x00\x00abc\x00\x00PK\x05\x06\x00\x00\x00\x00'
1564
+ b'\x01\x00\x01\x003\x00\x00\x00%\x00\x00\x00\x00\x00'
1565
+ )
1566
+ with zipfile.ZipFile(io.BytesIO(zipdata), 'r') as zipf:
1567
+ # testzip returns the name of the first corrupt file, or None
1568
+ self.assertIsNone(zipf.testzip())
1569
+
1570
+ def test_open_conflicting_handles(self):
1571
+ # It's only possible to open one writable file handle at a time
1572
+ msg1 = b"It's fun to charter an accountant!"
1573
+ msg2 = b"And sail the wide accountant sea"
1574
+ msg3 = b"To find, explore the funds offshore"
1575
+ with zipfile.ZipFile(TESTFN2, 'w', zipfile.ZIP_STORED) as zipf:
1576
+ with zipf.open('foo', mode='w') as w2:
1577
+ w2.write(msg1)
1578
+ with zipf.open('bar', mode='w') as w1:
1579
+ with self.assertRaises(ValueError):
1580
+ zipf.open('handle', mode='w')
1581
+ with self.assertRaises(ValueError):
1582
+ zipf.open('foo', mode='r')
1583
+ with self.assertRaises(ValueError):
1584
+ zipf.writestr('str', 'abcde')
1585
+ with self.assertRaises(ValueError):
1586
+ zipf.write(__file__, 'file')
1587
+ with self.assertRaises(ValueError):
1588
+ zipf.close()
1589
+ w1.write(msg2)
1590
+ with zipf.open('baz', mode='w') as w2:
1591
+ w2.write(msg3)
1592
+
1593
+ with zipfile.ZipFile(TESTFN2, 'r') as zipf:
1594
+ self.assertEqual(zipf.read('foo'), msg1)
1595
+ self.assertEqual(zipf.read('bar'), msg2)
1596
+ self.assertEqual(zipf.read('baz'), msg3)
1597
+ self.assertEqual(zipf.namelist(), ['foo', 'bar', 'baz'])
1598
+
1599
+ def tearDown(self):
1600
+ unlink(TESTFN)
1601
+ unlink(TESTFN2)
1602
+
1603
+
1604
+ class AbstractBadCrcTests:
1605
+ def test_testzip_with_bad_crc(self):
1606
+ """Tests that files with bad CRCs return their name from testzip."""
1607
+ zipdata = self.zip_with_bad_crc
1608
+
1609
+ with zipfile.ZipFile(io.BytesIO(zipdata), mode="r") as zipf:
1610
+ # testzip returns the name of the first corrupt file, or None
1611
+ self.assertEqual('afile', zipf.testzip())
1612
+
1613
+ def test_read_with_bad_crc(self):
1614
+ """Tests that files with bad CRCs raise a BadZipFile exception when read."""
1615
+ zipdata = self.zip_with_bad_crc
1616
+
1617
+ # Using ZipFile.read()
1618
+ with zipfile.ZipFile(io.BytesIO(zipdata), mode="r") as zipf:
1619
+ self.assertRaises(zipfile.BadZipFile, zipf.read, 'afile')
1620
+
1621
+ # Using ZipExtFile.read()
1622
+ with zipfile.ZipFile(io.BytesIO(zipdata), mode="r") as zipf:
1623
+ with zipf.open('afile', 'r') as corrupt_file:
1624
+ self.assertRaises(zipfile.BadZipFile, corrupt_file.read)
1625
+
1626
+ # Same with small reads (in order to exercise the buffering logic)
1627
+ with zipfile.ZipFile(io.BytesIO(zipdata), mode="r") as zipf:
1628
+ with zipf.open('afile', 'r') as corrupt_file:
1629
+ corrupt_file.MIN_READ_SIZE = 2
1630
+ with self.assertRaises(zipfile.BadZipFile):
1631
+ while corrupt_file.read(2):
1632
+ pass
1633
+
1634
+
1635
+ class StoredBadCrcTests(AbstractBadCrcTests, unittest.TestCase):
1636
+ compression = zipfile.ZIP_STORED
1637
+ zip_with_bad_crc = (
1638
+ b'PK\003\004\024\0\0\0\0\0 \213\212;:r'
1639
+ b'\253\377\f\0\0\0\f\0\0\0\005\0\0\000af'
1640
+ b'ilehello,AworldP'
1641
+ b'K\001\002\024\003\024\0\0\0\0\0 \213\212;:'
1642
+ b'r\253\377\f\0\0\0\f\0\0\0\005\0\0\0\0'
1643
+ b'\0\0\0\0\0\0\0\200\001\0\0\0\000afi'
1644
+ b'lePK\005\006\0\0\0\0\001\0\001\0003\000'
1645
+ b'\0\0/\0\0\0\0\0')
1646
+
1647
+ @requires_zlib
1648
+ class DeflateBadCrcTests(AbstractBadCrcTests, unittest.TestCase):
1649
+ compression = zipfile.ZIP_DEFLATED
1650
+ zip_with_bad_crc = (
1651
+ b'PK\x03\x04\x14\x00\x00\x00\x08\x00n}\x0c=FA'
1652
+ b'KE\x10\x00\x00\x00n\x00\x00\x00\x05\x00\x00\x00af'
1653
+ b'ile\xcbH\xcd\xc9\xc9W(\xcf/\xcaI\xc9\xa0'
1654
+ b'=\x13\x00PK\x01\x02\x14\x03\x14\x00\x00\x00\x08\x00n'
1655
+ b'}\x0c=FAKE\x10\x00\x00\x00n\x00\x00\x00\x05'
1656
+ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x01\x00\x00\x00'
1657
+ b'\x00afilePK\x05\x06\x00\x00\x00\x00\x01\x00'
1658
+ b'\x01\x003\x00\x00\x003\x00\x00\x00\x00\x00')
1659
+
1660
+ @requires_bz2
1661
+ class Bzip2BadCrcTests(AbstractBadCrcTests, unittest.TestCase):
1662
+ compression = zipfile.ZIP_BZIP2
1663
+ zip_with_bad_crc = (
1664
+ b'PK\x03\x04\x14\x03\x00\x00\x0c\x00nu\x0c=FA'
1665
+ b'KE8\x00\x00\x00n\x00\x00\x00\x05\x00\x00\x00af'
1666
+ b'ileBZh91AY&SY\xd4\xa8\xca'
1667
+ b'\x7f\x00\x00\x0f\x11\x80@\x00\x06D\x90\x80 \x00 \xa5'
1668
+ b'P\xd9!\x03\x03\x13\x13\x13\x89\xa9\xa9\xc2u5:\x9f'
1669
+ b'\x8b\xb9"\x9c(HjTe?\x80PK\x01\x02\x14'
1670
+ b'\x03\x14\x03\x00\x00\x0c\x00nu\x0c=FAKE8'
1671
+ b'\x00\x00\x00n\x00\x00\x00\x05\x00\x00\x00\x00\x00\x00\x00\x00'
1672
+ b'\x00 \x80\x80\x81\x00\x00\x00\x00afilePK'
1673
+ b'\x05\x06\x00\x00\x00\x00\x01\x00\x01\x003\x00\x00\x00[\x00'
1674
+ b'\x00\x00\x00\x00')
1675
+
1676
+ @requires_lzma
1677
+ class LzmaBadCrcTests(AbstractBadCrcTests, unittest.TestCase):
1678
+ compression = zipfile.ZIP_LZMA
1679
+ zip_with_bad_crc = (
1680
+ b'PK\x03\x04\x14\x03\x00\x00\x0e\x00nu\x0c=FA'
1681
+ b'KE\x1b\x00\x00\x00n\x00\x00\x00\x05\x00\x00\x00af'
1682
+ b'ile\t\x04\x05\x00]\x00\x00\x00\x04\x004\x19I'
1683
+ b'\xee\x8d\xe9\x17\x89:3`\tq!.8\x00PK'
1684
+ b'\x01\x02\x14\x03\x14\x03\x00\x00\x0e\x00nu\x0c=FA'
1685
+ b'KE\x1b\x00\x00\x00n\x00\x00\x00\x05\x00\x00\x00\x00\x00'
1686
+ b'\x00\x00\x00\x00 \x80\x80\x81\x00\x00\x00\x00afil'
1687
+ b'ePK\x05\x06\x00\x00\x00\x00\x01\x00\x01\x003\x00\x00'
1688
+ b'\x00>\x00\x00\x00\x00\x00')
1689
+
1690
+
1691
+ class DecryptionTests(unittest.TestCase):
1692
+ """Check that ZIP decryption works. Since the library does not
1693
+ support encryption at the moment, we use a pre-generated encrypted
1694
+ ZIP file."""
1695
+
1696
+ data = (
1697
+ b'PK\x03\x04\x14\x00\x01\x00\x00\x00n\x92i.#y\xef?&\x00\x00\x00\x1a\x00'
1698
+ b'\x00\x00\x08\x00\x00\x00test.txt\xfa\x10\xa0gly|\xfa-\xc5\xc0=\xf9y'
1699
+ b'\x18\xe0\xa8r\xb3Z}Lg\xbc\xae\xf9|\x9b\x19\xe4\x8b\xba\xbb)\x8c\xb0\xdbl'
1700
+ b'PK\x01\x02\x14\x00\x14\x00\x01\x00\x00\x00n\x92i.#y\xef?&\x00\x00\x00'
1701
+ b'\x1a\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x01\x00 \x00\xb6\x81'
1702
+ b'\x00\x00\x00\x00test.txtPK\x05\x06\x00\x00\x00\x00\x01\x00\x01\x006\x00'
1703
+ b'\x00\x00L\x00\x00\x00\x00\x00' )
1704
+ data2 = (
1705
+ b'PK\x03\x04\x14\x00\t\x00\x08\x00\xcf}38xu\xaa\xb2\x14\x00\x00\x00\x00\x02'
1706
+ b'\x00\x00\x04\x00\x15\x00zeroUT\t\x00\x03\xd6\x8b\x92G\xda\x8b\x92GUx\x04'
1707
+ b'\x00\xe8\x03\xe8\x03\xc7<M\xb5a\xceX\xa3Y&\x8b{oE\xd7\x9d\x8c\x98\x02\xc0'
1708
+ b'PK\x07\x08xu\xaa\xb2\x14\x00\x00\x00\x00\x02\x00\x00PK\x01\x02\x17\x03'
1709
+ b'\x14\x00\t\x00\x08\x00\xcf}38xu\xaa\xb2\x14\x00\x00\x00\x00\x02\x00\x00'
1710
+ b'\x04\x00\r\x00\x00\x00\x00\x00\x00\x00\x00\x00\xa4\x81\x00\x00\x00\x00ze'
1711
+ b'roUT\x05\x00\x03\xd6\x8b\x92GUx\x00\x00PK\x05\x06\x00\x00\x00\x00\x01'
1712
+ b'\x00\x01\x00?\x00\x00\x00[\x00\x00\x00\x00\x00' )
1713
+
1714
+ plain = b'zipfile.py encryption test'
1715
+ plain2 = b'\x00'*512
1716
+
1717
+ def setUp(self):
1718
+ with open(TESTFN, "wb") as fp:
1719
+ fp.write(self.data)
1720
+ self.zip = zipfile.ZipFile(TESTFN, "r")
1721
+ with open(TESTFN2, "wb") as fp:
1722
+ fp.write(self.data2)
1723
+ self.zip2 = zipfile.ZipFile(TESTFN2, "r")
1724
+
1725
+ def tearDown(self):
1726
+ self.zip.close()
1727
+ os.unlink(TESTFN)
1728
+ self.zip2.close()
1729
+ os.unlink(TESTFN2)
1730
+
1731
+ def test_no_password(self):
1732
+ # Reading the encrypted file without password
1733
+ # must generate a RunTime exception
1734
+ self.assertRaises(RuntimeError, self.zip.read, "test.txt")
1735
+ self.assertRaises(RuntimeError, self.zip2.read, "zero")
1736
+
1737
+ def test_bad_password(self):
1738
+ self.zip.setpassword(b"perl")
1739
+ self.assertRaises(RuntimeError, self.zip.read, "test.txt")
1740
+ self.zip2.setpassword(b"perl")
1741
+ self.assertRaises(RuntimeError, self.zip2.read, "zero")
1742
+
1743
+ @requires_zlib
1744
+ def test_good_password(self):
1745
+ self.zip.setpassword(b"python")
1746
+ self.assertEqual(self.zip.read("test.txt"), self.plain)
1747
+ self.zip2.setpassword(b"12345")
1748
+ self.assertEqual(self.zip2.read("zero"), self.plain2)
1749
+
1750
+ def test_unicode_password(self):
1751
+ self.assertRaises(TypeError, self.zip.setpassword, "unicode")
1752
+ self.assertRaises(TypeError, self.zip.read, "test.txt", "python")
1753
+ self.assertRaises(TypeError, self.zip.open, "test.txt", pwd="python")
1754
+ self.assertRaises(TypeError, self.zip.extract, "test.txt", pwd="python")
1755
+
1756
+ class AbstractTestsWithRandomBinaryFiles:
1757
+ @classmethod
1758
+ def setUpClass(cls):
1759
+ datacount = randint(16, 64)*1024 + randint(1, 1024)
1760
+ cls.data = b''.join(struct.pack('<f', random()*randint(-1000, 1000))
1761
+ for i in range(datacount))
1762
+
1763
+ def setUp(self):
1764
+ # Make a source file with some lines
1765
+ with open(TESTFN, "wb") as fp:
1766
+ fp.write(self.data)
1767
+
1768
+ def tearDown(self):
1769
+ unlink(TESTFN)
1770
+ unlink(TESTFN2)
1771
+
1772
+ def make_test_archive(self, f, compression):
1773
+ # Create the ZIP archive
1774
+ with zipfile.ZipFile(f, "w", compression) as zipfp:
1775
+ zipfp.write(TESTFN, "another.name")
1776
+ zipfp.write(TESTFN, TESTFN)
1777
+
1778
+ def zip_test(self, f, compression):
1779
+ self.make_test_archive(f, compression)
1780
+
1781
+ # Read the ZIP archive
1782
+ with zipfile.ZipFile(f, "r", compression) as zipfp:
1783
+ testdata = zipfp.read(TESTFN)
1784
+ self.assertEqual(len(testdata), len(self.data))
1785
+ self.assertEqual(testdata, self.data)
1786
+ self.assertEqual(zipfp.read("another.name"), self.data)
1787
+
1788
+ def test_read(self):
1789
+ for f in get_files(self):
1790
+ self.zip_test(f, self.compression)
1791
+
1792
+ def zip_open_test(self, f, compression):
1793
+ self.make_test_archive(f, compression)
1794
+
1795
+ # Read the ZIP archive
1796
+ with zipfile.ZipFile(f, "r", compression) as zipfp:
1797
+ zipdata1 = []
1798
+ with zipfp.open(TESTFN) as zipopen1:
1799
+ while True:
1800
+ read_data = zipopen1.read(256)
1801
+ if not read_data:
1802
+ break
1803
+ zipdata1.append(read_data)
1804
+
1805
+ zipdata2 = []
1806
+ with zipfp.open("another.name") as zipopen2:
1807
+ while True:
1808
+ read_data = zipopen2.read(256)
1809
+ if not read_data:
1810
+ break
1811
+ zipdata2.append(read_data)
1812
+
1813
+ testdata1 = b''.join(zipdata1)
1814
+ self.assertEqual(len(testdata1), len(self.data))
1815
+ self.assertEqual(testdata1, self.data)
1816
+
1817
+ testdata2 = b''.join(zipdata2)
1818
+ self.assertEqual(len(testdata2), len(self.data))
1819
+ self.assertEqual(testdata2, self.data)
1820
+
1821
+ def test_open(self):
1822
+ for f in get_files(self):
1823
+ self.zip_open_test(f, self.compression)
1824
+
1825
+ def zip_random_open_test(self, f, compression):
1826
+ self.make_test_archive(f, compression)
1827
+
1828
+ # Read the ZIP archive
1829
+ with zipfile.ZipFile(f, "r", compression) as zipfp:
1830
+ zipdata1 = []
1831
+ with zipfp.open(TESTFN) as zipopen1:
1832
+ while True:
1833
+ read_data = zipopen1.read(randint(1, 1024))
1834
+ if not read_data:
1835
+ break
1836
+ zipdata1.append(read_data)
1837
+
1838
+ testdata = b''.join(zipdata1)
1839
+ self.assertEqual(len(testdata), len(self.data))
1840
+ self.assertEqual(testdata, self.data)
1841
+
1842
+ def test_random_open(self):
1843
+ for f in get_files(self):
1844
+ self.zip_random_open_test(f, self.compression)
1845
+
1846
+
1847
+ class StoredTestsWithRandomBinaryFiles(AbstractTestsWithRandomBinaryFiles,
1848
+ unittest.TestCase):
1849
+ compression = zipfile.ZIP_STORED
1850
+
1851
+ @requires_zlib
1852
+ class DeflateTestsWithRandomBinaryFiles(AbstractTestsWithRandomBinaryFiles,
1853
+ unittest.TestCase):
1854
+ compression = zipfile.ZIP_DEFLATED
1855
+
1856
+ @requires_bz2
1857
+ class Bzip2TestsWithRandomBinaryFiles(AbstractTestsWithRandomBinaryFiles,
1858
+ unittest.TestCase):
1859
+ compression = zipfile.ZIP_BZIP2
1860
+
1861
+ @requires_lzma
1862
+ class LzmaTestsWithRandomBinaryFiles(AbstractTestsWithRandomBinaryFiles,
1863
+ unittest.TestCase):
1864
+ compression = zipfile.ZIP_LZMA
1865
+
1866
+
1867
+ # Privide the tell() method but not seek()
1868
+ class Tellable:
1869
+ def __init__(self, fp):
1870
+ self.fp = fp
1871
+ self.offset = 0
1872
+
1873
+ def write(self, data):
1874
+ n = self.fp.write(data)
1875
+ self.offset += n
1876
+ return n
1877
+
1878
+ def tell(self):
1879
+ return self.offset
1880
+
1881
+ def flush(self):
1882
+ self.fp.flush()
1883
+
1884
+ class Unseekable:
1885
+ def __init__(self, fp):
1886
+ self.fp = fp
1887
+
1888
+ def write(self, data):
1889
+ return self.fp.write(data)
1890
+
1891
+ def flush(self):
1892
+ self.fp.flush()
1893
+
1894
+ class UnseekableTests(unittest.TestCase):
1895
+ def test_writestr(self):
1896
+ for wrapper in (lambda f: f), Tellable, Unseekable:
1897
+ with self.subTest(wrapper=wrapper):
1898
+ f = io.BytesIO()
1899
+ f.write(b'abc')
1900
+ bf = io.BufferedWriter(f)
1901
+ with zipfile.ZipFile(wrapper(bf), 'w', zipfile.ZIP_STORED) as zipfp:
1902
+ zipfp.writestr('ones', b'111')
1903
+ zipfp.writestr('twos', b'222')
1904
+ self.assertEqual(f.getvalue()[:5], b'abcPK')
1905
+ with zipfile.ZipFile(f, mode='r') as zipf:
1906
+ with zipf.open('ones') as zopen:
1907
+ self.assertEqual(zopen.read(), b'111')
1908
+ with zipf.open('twos') as zopen:
1909
+ self.assertEqual(zopen.read(), b'222')
1910
+
1911
+ def test_write(self):
1912
+ for wrapper in (lambda f: f), Tellable, Unseekable:
1913
+ with self.subTest(wrapper=wrapper):
1914
+ f = io.BytesIO()
1915
+ f.write(b'abc')
1916
+ bf = io.BufferedWriter(f)
1917
+ with zipfile.ZipFile(wrapper(bf), 'w', zipfile.ZIP_STORED) as zipfp:
1918
+ self.addCleanup(unlink, TESTFN)
1919
+ with open(TESTFN, 'wb') as f2:
1920
+ f2.write(b'111')
1921
+ zipfp.write(TESTFN, 'ones')
1922
+ with open(TESTFN, 'wb') as f2:
1923
+ f2.write(b'222')
1924
+ zipfp.write(TESTFN, 'twos')
1925
+ self.assertEqual(f.getvalue()[:5], b'abcPK')
1926
+ with zipfile.ZipFile(f, mode='r') as zipf:
1927
+ with zipf.open('ones') as zopen:
1928
+ self.assertEqual(zopen.read(), b'111')
1929
+ with zipf.open('twos') as zopen:
1930
+ self.assertEqual(zopen.read(), b'222')
1931
+
1932
+ def test_open_write(self):
1933
+ for wrapper in (lambda f: f), Tellable, Unseekable:
1934
+ with self.subTest(wrapper=wrapper):
1935
+ f = io.BytesIO()
1936
+ f.write(b'abc')
1937
+ bf = io.BufferedWriter(f)
1938
+ with zipfile.ZipFile(wrapper(bf), 'w', zipfile.ZIP_STORED) as zipf:
1939
+ with zipf.open('ones', 'w') as zopen:
1940
+ zopen.write(b'111')
1941
+ with zipf.open('twos', 'w') as zopen:
1942
+ zopen.write(b'222')
1943
+ self.assertEqual(f.getvalue()[:5], b'abcPK')
1944
+ with zipfile.ZipFile(f) as zipf:
1945
+ self.assertEqual(zipf.read('ones'), b'111')
1946
+ self.assertEqual(zipf.read('twos'), b'222')
1947
+
1948
+
1949
+ @requires_zlib
1950
+ class TestsWithMultipleOpens(unittest.TestCase):
1951
+ @classmethod
1952
+ def setUpClass(cls):
1953
+ cls.data1 = b'111' + getrandbytes(10000)
1954
+ cls.data2 = b'222' + getrandbytes(10000)
1955
+
1956
+ def make_test_archive(self, f):
1957
+ # Create the ZIP archive
1958
+ with zipfile.ZipFile(f, "w", zipfile.ZIP_DEFLATED) as zipfp:
1959
+ zipfp.writestr('ones', self.data1)
1960
+ zipfp.writestr('twos', self.data2)
1961
+
1962
+ def test_same_file(self):
1963
+ # Verify that (when the ZipFile is in control of creating file objects)
1964
+ # multiple open() calls can be made without interfering with each other.
1965
+ for f in get_files(self):
1966
+ self.make_test_archive(f)
1967
+ with zipfile.ZipFile(f, mode="r") as zipf:
1968
+ with zipf.open('ones') as zopen1, zipf.open('ones') as zopen2:
1969
+ data1 = zopen1.read(500)
1970
+ data2 = zopen2.read(500)
1971
+ data1 += zopen1.read()
1972
+ data2 += zopen2.read()
1973
+ self.assertEqual(data1, data2)
1974
+ self.assertEqual(data1, self.data1)
1975
+
1976
+ def test_different_file(self):
1977
+ # Verify that (when the ZipFile is in control of creating file objects)
1978
+ # multiple open() calls can be made without interfering with each other.
1979
+ for f in get_files(self):
1980
+ self.make_test_archive(f)
1981
+ with zipfile.ZipFile(f, mode="r") as zipf:
1982
+ with zipf.open('ones') as zopen1, zipf.open('twos') as zopen2:
1983
+ data1 = zopen1.read(500)
1984
+ data2 = zopen2.read(500)
1985
+ data1 += zopen1.read()
1986
+ data2 += zopen2.read()
1987
+ self.assertEqual(data1, self.data1)
1988
+ self.assertEqual(data2, self.data2)
1989
+
1990
+ def test_interleaved(self):
1991
+ # Verify that (when the ZipFile is in control of creating file objects)
1992
+ # multiple open() calls can be made without interfering with each other.
1993
+ for f in get_files(self):
1994
+ self.make_test_archive(f)
1995
+ with zipfile.ZipFile(f, mode="r") as zipf:
1996
+ with zipf.open('ones') as zopen1:
1997
+ data1 = zopen1.read(500)
1998
+ with zipf.open('twos') as zopen2:
1999
+ data2 = zopen2.read(500)
2000
+ data1 += zopen1.read()
2001
+ data2 += zopen2.read()
2002
+ self.assertEqual(data1, self.data1)
2003
+ self.assertEqual(data2, self.data2)
2004
+
2005
+ def test_read_after_close(self):
2006
+ for f in get_files(self):
2007
+ self.make_test_archive(f)
2008
+ with contextlib.ExitStack() as stack:
2009
+ with zipfile.ZipFile(f, 'r') as zipf:
2010
+ zopen1 = stack.enter_context(zipf.open('ones'))
2011
+ zopen2 = stack.enter_context(zipf.open('twos'))
2012
+ data1 = zopen1.read(500)
2013
+ data2 = zopen2.read(500)
2014
+ data1 += zopen1.read()
2015
+ data2 += zopen2.read()
2016
+ self.assertEqual(data1, self.data1)
2017
+ self.assertEqual(data2, self.data2)
2018
+
2019
+ def test_read_after_write(self):
2020
+ for f in get_files(self):
2021
+ with zipfile.ZipFile(f, 'w', zipfile.ZIP_DEFLATED) as zipf:
2022
+ zipf.writestr('ones', self.data1)
2023
+ zipf.writestr('twos', self.data2)
2024
+ with zipf.open('ones') as zopen1:
2025
+ data1 = zopen1.read(500)
2026
+ self.assertEqual(data1, self.data1[:500])
2027
+ with zipfile.ZipFile(f, 'r') as zipf:
2028
+ data1 = zipf.read('ones')
2029
+ data2 = zipf.read('twos')
2030
+ self.assertEqual(data1, self.data1)
2031
+ self.assertEqual(data2, self.data2)
2032
+
2033
+ def test_write_after_read(self):
2034
+ for f in get_files(self):
2035
+ with zipfile.ZipFile(f, "w", zipfile.ZIP_DEFLATED) as zipf:
2036
+ zipf.writestr('ones', self.data1)
2037
+ with zipf.open('ones') as zopen1:
2038
+ zopen1.read(500)
2039
+ zipf.writestr('twos', self.data2)
2040
+ with zipfile.ZipFile(f, 'r') as zipf:
2041
+ data1 = zipf.read('ones')
2042
+ data2 = zipf.read('twos')
2043
+ self.assertEqual(data1, self.data1)
2044
+ self.assertEqual(data2, self.data2)
2045
+
2046
+ def test_many_opens(self):
2047
+ # Verify that read() and open() promptly close the file descriptor,
2048
+ # and don't rely on the garbage collector to free resources.
2049
+ self.make_test_archive(TESTFN2)
2050
+ with zipfile.ZipFile(TESTFN2, mode="r") as zipf:
2051
+ for x in range(100):
2052
+ zipf.read('ones')
2053
+ with zipf.open('ones') as zopen1:
2054
+ pass
2055
+ with open(os.devnull) as f:
2056
+ self.assertLess(f.fileno(), 100)
2057
+
2058
+ def test_write_while_reading(self):
2059
+ with zipfile.ZipFile(TESTFN2, 'w', zipfile.ZIP_DEFLATED) as zipf:
2060
+ zipf.writestr('ones', self.data1)
2061
+ with zipfile.ZipFile(TESTFN2, 'a', zipfile.ZIP_DEFLATED) as zipf:
2062
+ with zipf.open('ones', 'r') as r1:
2063
+ data1 = r1.read(500)
2064
+ with zipf.open('twos', 'w') as w1:
2065
+ w1.write(self.data2)
2066
+ data1 += r1.read()
2067
+ self.assertEqual(data1, self.data1)
2068
+ with zipfile.ZipFile(TESTFN2) as zipf:
2069
+ self.assertEqual(zipf.read('twos'), self.data2)
2070
+
2071
+ def tearDown(self):
2072
+ unlink(TESTFN2)
2073
+
2074
+
2075
+ class TestWithDirectory(unittest.TestCase):
2076
+ def setUp(self):
2077
+ os.mkdir(TESTFN2)
2078
+
2079
+ def test_extract_dir(self):
2080
+ with zipfile.ZipFile(findfile("zipdir.zip")) as zipf:
2081
+ zipf.extractall(TESTFN2)
2082
+ self.assertTrue(os.path.isdir(os.path.join(TESTFN2, "a")))
2083
+ self.assertTrue(os.path.isdir(os.path.join(TESTFN2, "a", "b")))
2084
+ self.assertTrue(os.path.exists(os.path.join(TESTFN2, "a", "b", "c")))
2085
+
2086
+ def test_bug_6050(self):
2087
+ # Extraction should succeed if directories already exist
2088
+ os.mkdir(os.path.join(TESTFN2, "a"))
2089
+ self.test_extract_dir()
2090
+
2091
+ def test_write_dir(self):
2092
+ dirpath = os.path.join(TESTFN2, "x")
2093
+ os.mkdir(dirpath)
2094
+ mode = os.stat(dirpath).st_mode & 0xFFFF
2095
+ with zipfile.ZipFile(TESTFN, "w") as zipf:
2096
+ zipf.write(dirpath)
2097
+ zinfo = zipf.filelist[0]
2098
+ self.assertTrue(zinfo.filename.endswith("/x/"))
2099
+ self.assertEqual(zinfo.external_attr, (mode << 16) | 0x10)
2100
+ zipf.write(dirpath, "y")
2101
+ zinfo = zipf.filelist[1]
2102
+ self.assertTrue(zinfo.filename, "y/")
2103
+ self.assertEqual(zinfo.external_attr, (mode << 16) | 0x10)
2104
+ with zipfile.ZipFile(TESTFN, "r") as zipf:
2105
+ zinfo = zipf.filelist[0]
2106
+ self.assertTrue(zinfo.filename.endswith("/x/"))
2107
+ self.assertEqual(zinfo.external_attr, (mode << 16) | 0x10)
2108
+ zinfo = zipf.filelist[1]
2109
+ self.assertTrue(zinfo.filename, "y/")
2110
+ self.assertEqual(zinfo.external_attr, (mode << 16) | 0x10)
2111
+ target = os.path.join(TESTFN2, "target")
2112
+ os.mkdir(target)
2113
+ zipf.extractall(target)
2114
+ self.assertTrue(os.path.isdir(os.path.join(target, "y")))
2115
+ self.assertEqual(len(os.listdir(target)), 2)
2116
+
2117
+ def test_writestr_dir(self):
2118
+ os.mkdir(os.path.join(TESTFN2, "x"))
2119
+ with zipfile.ZipFile(TESTFN, "w") as zipf:
2120
+ zipf.writestr("x/", b'')
2121
+ zinfo = zipf.filelist[0]
2122
+ self.assertEqual(zinfo.filename, "x/")
2123
+ self.assertEqual(zinfo.external_attr, (0o40775 << 16) | 0x10)
2124
+ with zipfile.ZipFile(TESTFN, "r") as zipf:
2125
+ zinfo = zipf.filelist[0]
2126
+ self.assertTrue(zinfo.filename.endswith("x/"))
2127
+ self.assertEqual(zinfo.external_attr, (0o40775 << 16) | 0x10)
2128
+ target = os.path.join(TESTFN2, "target")
2129
+ os.mkdir(target)
2130
+ zipf.extractall(target)
2131
+ self.assertTrue(os.path.isdir(os.path.join(target, "x")))
2132
+ self.assertEqual(os.listdir(target), ["x"])
2133
+
2134
+ def tearDown(self):
2135
+ rmtree(TESTFN2)
2136
+ if os.path.exists(TESTFN):
2137
+ unlink(TESTFN)
2138
+
2139
+
2140
+ class ZipInfoTests(unittest.TestCase):
2141
+ def test_from_file(self):
2142
+ zi = zipfile.ZipInfo.from_file(__file__)
2143
+ self.assertEqual(posixpath.basename(zi.filename), 'test_zipfile.py')
2144
+ self.assertFalse(zi.is_dir())
2145
+ self.assertEqual(zi.file_size, os.path.getsize(__file__))
2146
+
2147
+ def test_from_file_pathlike(self):
2148
+ zi = zipfile.ZipInfo.from_file(pathlib.Path(__file__))
2149
+ self.assertEqual(posixpath.basename(zi.filename), 'test_zipfile.py')
2150
+ self.assertFalse(zi.is_dir())
2151
+ self.assertEqual(zi.file_size, os.path.getsize(__file__))
2152
+
2153
+ def test_from_file_bytes(self):
2154
+ zi = zipfile.ZipInfo.from_file(os.fsencode(__file__), 'test')
2155
+ self.assertEqual(posixpath.basename(zi.filename), 'test')
2156
+ self.assertFalse(zi.is_dir())
2157
+ self.assertEqual(zi.file_size, os.path.getsize(__file__))
2158
+
2159
+ def test_from_file_fileno(self):
2160
+ with open(__file__, 'rb') as f:
2161
+ zi = zipfile.ZipInfo.from_file(f.fileno(), 'test')
2162
+ self.assertEqual(posixpath.basename(zi.filename), 'test')
2163
+ self.assertFalse(zi.is_dir())
2164
+ self.assertEqual(zi.file_size, os.path.getsize(__file__))
2165
+
2166
+ def test_from_dir(self):
2167
+ dirpath = os.path.dirname(os.path.abspath(__file__))
2168
+ zi = zipfile.ZipInfo.from_file(dirpath, 'stdlib_tests')
2169
+ self.assertEqual(zi.filename, 'stdlib_tests/')
2170
+ self.assertTrue(zi.is_dir())
2171
+ self.assertEqual(zi.compress_type, zipfile.ZIP_STORED)
2172
+ self.assertEqual(zi.file_size, 0)
2173
+
2174
+
2175
+ class CommandLineTest(unittest.TestCase):
2176
+
2177
+ def zipfilecmd(self, *args, **kwargs):
2178
+ rc, out, err = script_helper.assert_python_ok('-m', 'zipfile', *args,
2179
+ **kwargs)
2180
+ return out.replace(os.linesep.encode(), b'\n')
2181
+
2182
+ def zipfilecmd_failure(self, *args):
2183
+ return script_helper.assert_python_failure('-m', 'zipfile', *args)
2184
+
2185
+ def test_test_command(self):
2186
+ zip_name = findfile('zipdir.zip')
2187
+ out = self.zipfilecmd('-t', zip_name)
2188
+ self.assertEqual(out.rstrip(), b'Done testing')
2189
+ zip_name = findfile('testtar.tar')
2190
+ rc, out, err = self.zipfilecmd_failure('-t', zip_name)
2191
+ self.assertEqual(out, b'')
2192
+
2193
+ def test_list_command(self):
2194
+ zip_name = findfile('zipdir.zip')
2195
+ t = io.StringIO()
2196
+ with zipfile.ZipFile(zip_name, 'r') as tf:
2197
+ tf.printdir(t)
2198
+ expected = t.getvalue().encode('ascii', 'backslashreplace')
2199
+ out = self.zipfilecmd('-l', zip_name,
2200
+ PYTHONIOENCODING='ascii:backslashreplace')
2201
+ self.assertEqual(out, expected)
2202
+
2203
+ @requires_zlib
2204
+ def test_create_command(self):
2205
+ self.addCleanup(unlink, TESTFN)
2206
+ with open(TESTFN, 'w') as f:
2207
+ f.write('test 1')
2208
+ os.mkdir(TESTFNDIR)
2209
+ self.addCleanup(rmtree, TESTFNDIR)
2210
+ with open(os.path.join(TESTFNDIR, 'file.txt'), 'w') as f:
2211
+ f.write('test 2')
2212
+ files = [TESTFN, TESTFNDIR]
2213
+ namelist = [TESTFN, TESTFNDIR + '/', TESTFNDIR + '/file.txt']
2214
+ try:
2215
+ out = self.zipfilecmd('-c', TESTFN2, *files)
2216
+ self.assertEqual(out, b'')
2217
+ with zipfile.ZipFile(TESTFN2) as zf:
2218
+ self.assertEqual(zf.namelist(), namelist)
2219
+ self.assertEqual(zf.read(namelist[0]), b'test 1')
2220
+ self.assertEqual(zf.read(namelist[2]), b'test 2')
2221
+ finally:
2222
+ unlink(TESTFN2)
2223
+
2224
+ def test_extract_command(self):
2225
+ zip_name = findfile('zipdir.zip')
2226
+ with temp_dir() as extdir:
2227
+ out = self.zipfilecmd('-e', zip_name, extdir)
2228
+ self.assertEqual(out, b'')
2229
+ with zipfile.ZipFile(zip_name) as zf:
2230
+ for zi in zf.infolist():
2231
+ path = os.path.join(extdir,
2232
+ zi.filename.replace('/', os.sep))
2233
+ if zi.is_dir():
2234
+ self.assertTrue(os.path.isdir(path))
2235
+ else:
2236
+ self.assertTrue(os.path.isfile(path))
2237
+ with open(path, 'rb') as f:
2238
+ self.assertEqual(f.read(), zf.read(zi))
2239
+
2240
+ if __name__ == "__main__":
2241
+ unittest.main()