com.googler.python 1.0.0

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 (2352) hide show
  1. package/package.json +7 -0
  2. package/python3 +6 -0
  3. package/python3.4.2/bin/2to3 +5 -0
  4. package/python3.4.2/bin/2to3-3.4 +5 -0
  5. package/python3.4.2/bin/android-debian-builder +10 -0
  6. package/python3.4.2/bin/easy_install-3.4 +11 -0
  7. package/python3.4.2/bin/idle3 +5 -0
  8. package/python3.4.2/bin/idle3.4 +5 -0
  9. package/python3.4.2/bin/pip3 +11 -0
  10. package/python3.4.2/bin/pip3.4 +11 -0
  11. package/python3.4.2/bin/pydoc3 +5 -0
  12. package/python3.4.2/bin/pydoc3.4 +5 -0
  13. package/python3.4.2/bin/python3-config +111 -0
  14. package/python3.4.2/bin/python3.4 +0 -0
  15. package/python3.4.2/bin/python3.4-config +111 -0
  16. package/python3.4.2/bin/python3.4m-config +111 -0
  17. package/python3.4.2/bin/pyvenv +11 -0
  18. package/python3.4.2/bin/pyvenv-3.4 +11 -0
  19. package/python3.4.2/include/python3.4m/Python-ast.h +569 -0
  20. package/python3.4.2/include/python3.4m/Python.h +133 -0
  21. package/python3.4.2/include/python3.4m/abstract.h +1267 -0
  22. package/python3.4.2/include/python3.4m/accu.h +37 -0
  23. package/python3.4.2/include/python3.4m/asdl.h +45 -0
  24. package/python3.4.2/include/python3.4m/ast.h +22 -0
  25. package/python3.4.2/include/python3.4m/bitset.h +32 -0
  26. package/python3.4.2/include/python3.4m/bltinmodule.h +14 -0
  27. package/python3.4.2/include/python3.4m/boolobject.h +34 -0
  28. package/python3.4.2/include/python3.4m/bytearrayobject.h +62 -0
  29. package/python3.4.2/include/python3.4m/bytes_methods.h +46 -0
  30. package/python3.4.2/include/python3.4m/bytesobject.h +128 -0
  31. package/python3.4.2/include/python3.4m/cellobject.h +29 -0
  32. package/python3.4.2/include/python3.4m/ceval.h +205 -0
  33. package/python3.4.2/include/python3.4m/classobject.h +58 -0
  34. package/python3.4.2/include/python3.4m/code.h +115 -0
  35. package/python3.4.2/include/python3.4m/codecs.h +233 -0
  36. package/python3.4.2/include/python3.4m/compile.h +72 -0
  37. package/python3.4.2/include/python3.4m/complexobject.h +77 -0
  38. package/python3.4.2/include/python3.4m/datetime.h +243 -0
  39. package/python3.4.2/include/python3.4m/descrobject.h +105 -0
  40. package/python3.4.2/include/python3.4m/dictobject.h +126 -0
  41. package/python3.4.2/include/python3.4m/dtoa.h +19 -0
  42. package/python3.4.2/include/python3.4m/dynamic_annotations.h +499 -0
  43. package/python3.4.2/include/python3.4m/enumobject.h +17 -0
  44. package/python3.4.2/include/python3.4m/errcode.h +38 -0
  45. package/python3.4.2/include/python3.4m/eval.h +27 -0
  46. package/python3.4.2/include/python3.4m/fileobject.h +58 -0
  47. package/python3.4.2/include/python3.4m/fileutils.h +79 -0
  48. package/python3.4.2/include/python3.4m/floatobject.h +128 -0
  49. package/python3.4.2/include/python3.4m/frameobject.h +95 -0
  50. package/python3.4.2/include/python3.4m/funcobject.h +89 -0
  51. package/python3.4.2/include/python3.4m/genobject.h +46 -0
  52. package/python3.4.2/include/python3.4m/graminit.h +84 -0
  53. package/python3.4.2/include/python3.4m/grammar.h +93 -0
  54. package/python3.4.2/include/python3.4m/import.h +130 -0
  55. package/python3.4.2/include/python3.4m/intrcheck.h +21 -0
  56. package/python3.4.2/include/python3.4m/iterobject.h +25 -0
  57. package/python3.4.2/include/python3.4m/listobject.h +80 -0
  58. package/python3.4.2/include/python3.4m/longintrepr.h +103 -0
  59. package/python3.4.2/include/python3.4m/longobject.h +204 -0
  60. package/python3.4.2/include/python3.4m/marshal.h +28 -0
  61. package/python3.4.2/include/python3.4m/memoryobject.h +74 -0
  62. package/python3.4.2/include/python3.4m/metagrammar.h +18 -0
  63. package/python3.4.2/include/python3.4m/methodobject.h +93 -0
  64. package/python3.4.2/include/python3.4m/modsupport.h +132 -0
  65. package/python3.4.2/include/python3.4m/moduleobject.h +63 -0
  66. package/python3.4.2/include/python3.4m/namespaceobject.h +17 -0
  67. package/python3.4.2/include/python3.4m/node.h +44 -0
  68. package/python3.4.2/include/python3.4m/object.h +1015 -0
  69. package/python3.4.2/include/python3.4m/objimpl.h +361 -0
  70. package/python3.4.2/include/python3.4m/opcode.h +159 -0
  71. package/python3.4.2/include/python3.4m/osdefs.h +50 -0
  72. package/python3.4.2/include/python3.4m/parsetok.h +108 -0
  73. package/python3.4.2/include/python3.4m/patchlevel.h +35 -0
  74. package/python3.4.2/include/python3.4m/pgen.h +18 -0
  75. package/python3.4.2/include/python3.4m/pgenheaders.h +42 -0
  76. package/python3.4.2/include/python3.4m/py_curses.h +177 -0
  77. package/python3.4.2/include/python3.4m/pyarena.h +64 -0
  78. package/python3.4.2/include/python3.4m/pyatomic.h +184 -0
  79. package/python3.4.2/include/python3.4m/pycapsule.h +59 -0
  80. package/python3.4.2/include/python3.4m/pyconfig.h +1503 -0
  81. package/python3.4.2/include/python3.4m/pyctype.h +33 -0
  82. package/python3.4.2/include/python3.4m/pydebug.h +34 -0
  83. package/python3.4.2/include/python3.4m/pyerrors.h +464 -0
  84. package/python3.4.2/include/python3.4m/pyexpat.h +53 -0
  85. package/python3.4.2/include/python3.4m/pyfpe.h +176 -0
  86. package/python3.4.2/include/python3.4m/pygetopt.h +21 -0
  87. package/python3.4.2/include/python3.4m/pyhash.h +149 -0
  88. package/python3.4.2/include/python3.4m/pymacconfig.h +102 -0
  89. package/python3.4.2/include/python3.4m/pymacro.h +78 -0
  90. package/python3.4.2/include/python3.4m/pymath.h +190 -0
  91. package/python3.4.2/include/python3.4m/pymem.h +183 -0
  92. package/python3.4.2/include/python3.4m/pyport.h +883 -0
  93. package/python3.4.2/include/python3.4m/pystate.h +271 -0
  94. package/python3.4.2/include/python3.4m/pystrcmp.h +23 -0
  95. package/python3.4.2/include/python3.4m/pystrtod.h +41 -0
  96. package/python3.4.2/include/python3.4m/pythonrun.h +304 -0
  97. package/python3.4.2/include/python3.4m/pythread.h +93 -0
  98. package/python3.4.2/include/python3.4m/pytime.h +105 -0
  99. package/python3.4.2/include/python3.4m/rangeobject.h +27 -0
  100. package/python3.4.2/include/python3.4m/setobject.h +113 -0
  101. package/python3.4.2/include/python3.4m/sliceobject.h +50 -0
  102. package/python3.4.2/include/python3.4m/structmember.h +76 -0
  103. package/python3.4.2/include/python3.4m/structseq.h +49 -0
  104. package/python3.4.2/include/python3.4m/symtable.h +122 -0
  105. package/python3.4.2/include/python3.4m/sysmodule.h +43 -0
  106. package/python3.4.2/include/python3.4m/token.h +87 -0
  107. package/python3.4.2/include/python3.4m/traceback.h +72 -0
  108. package/python3.4.2/include/python3.4m/tupleobject.h +73 -0
  109. package/python3.4.2/include/python3.4m/typeslots.h +76 -0
  110. package/python3.4.2/include/python3.4m/ucnhash.h +36 -0
  111. package/python3.4.2/include/python3.4m/unicodeobject.h +2271 -0
  112. package/python3.4.2/include/python3.4m/warnings.h +54 -0
  113. package/python3.4.2/include/python3.4m/weakrefobject.h +86 -0
  114. package/python3.4.2/lib/pkgconfig/python-3.4.pc +13 -0
  115. package/python3.4.2/lib/pkgconfig/python-3.4m.pc +13 -0
  116. package/python3.4.2/lib/pkgconfig/python3.pc +13 -0
  117. package/python3.4.2/lib/python3.4/LICENSE.txt +254 -0
  118. package/python3.4.2/lib/python3.4/__future__.py +134 -0
  119. package/python3.4.2/lib/python3.4/__phello__.foo.py +1 -0
  120. package/python3.4.2/lib/python3.4/__pycache__/_bootlocale.cpython-34.pyc +0 -0
  121. package/python3.4.2/lib/python3.4/__pycache__/_collections_abc.cpython-34.pyc +0 -0
  122. package/python3.4.2/lib/python3.4/__pycache__/_sitebuiltins.cpython-34.pyc +0 -0
  123. package/python3.4.2/lib/python3.4/__pycache__/_sysconfigdata.cpython-34.pyc +0 -0
  124. package/python3.4.2/lib/python3.4/__pycache__/_weakrefset.cpython-34.pyc +0 -0
  125. package/python3.4.2/lib/python3.4/__pycache__/abc.cpython-34.pyc +0 -0
  126. package/python3.4.2/lib/python3.4/__pycache__/codecs.cpython-34.pyc +0 -0
  127. package/python3.4.2/lib/python3.4/__pycache__/genericpath.cpython-34.pyc +0 -0
  128. package/python3.4.2/lib/python3.4/__pycache__/io.cpython-34.pyc +0 -0
  129. package/python3.4.2/lib/python3.4/__pycache__/os.cpython-34.pyc +0 -0
  130. package/python3.4.2/lib/python3.4/__pycache__/posixpath.cpython-34.pyc +0 -0
  131. package/python3.4.2/lib/python3.4/__pycache__/rlcompleter.cpython-34.pyc +0 -0
  132. package/python3.4.2/lib/python3.4/__pycache__/site.cpython-34.pyc +0 -0
  133. package/python3.4.2/lib/python3.4/__pycache__/stat.cpython-34.pyc +0 -0
  134. package/python3.4.2/lib/python3.4/__pycache__/sysconfig.cpython-34.pyc +0 -0
  135. package/python3.4.2/lib/python3.4/_bootlocale.py +34 -0
  136. package/python3.4.2/lib/python3.4/_collections_abc.py +753 -0
  137. package/python3.4.2/lib/python3.4/_compat_pickle.py +137 -0
  138. package/python3.4.2/lib/python3.4/_dummy_thread.py +155 -0
  139. package/python3.4.2/lib/python3.4/_markupbase.py +395 -0
  140. package/python3.4.2/lib/python3.4/_osx_support.py +502 -0
  141. package/python3.4.2/lib/python3.4/_pyio.py +2105 -0
  142. package/python3.4.2/lib/python3.4/_sitebuiltins.py +103 -0
  143. package/python3.4.2/lib/python3.4/_strptime.py +511 -0
  144. package/python3.4.2/lib/python3.4/_sysconfigdata.py +710 -0
  145. package/python3.4.2/lib/python3.4/_threading_local.py +246 -0
  146. package/python3.4.2/lib/python3.4/_weakrefset.py +196 -0
  147. package/python3.4.2/lib/python3.4/abc.py +248 -0
  148. package/python3.4.2/lib/python3.4/aifc.py +918 -0
  149. package/python3.4.2/lib/python3.4/antigravity.py +17 -0
  150. package/python3.4.2/lib/python3.4/argparse.py +2379 -0
  151. package/python3.4.2/lib/python3.4/ast.py +315 -0
  152. package/python3.4.2/lib/python3.4/asynchat.py +333 -0
  153. package/python3.4.2/lib/python3.4/asyncio/__init__.py +48 -0
  154. package/python3.4.2/lib/python3.4/asyncio/base_events.py +1055 -0
  155. package/python3.4.2/lib/python3.4/asyncio/base_subprocess.py +197 -0
  156. package/python3.4.2/lib/python3.4/asyncio/constants.py +7 -0
  157. package/python3.4.2/lib/python3.4/asyncio/coroutines.py +195 -0
  158. package/python3.4.2/lib/python3.4/asyncio/events.py +586 -0
  159. package/python3.4.2/lib/python3.4/asyncio/futures.py +411 -0
  160. package/python3.4.2/lib/python3.4/asyncio/locks.py +469 -0
  161. package/python3.4.2/lib/python3.4/asyncio/log.py +7 -0
  162. package/python3.4.2/lib/python3.4/asyncio/proactor_events.py +499 -0
  163. package/python3.4.2/lib/python3.4/asyncio/protocols.py +129 -0
  164. package/python3.4.2/lib/python3.4/asyncio/queues.py +288 -0
  165. package/python3.4.2/lib/python3.4/asyncio/selector_events.py +996 -0
  166. package/python3.4.2/lib/python3.4/asyncio/streams.py +485 -0
  167. package/python3.4.2/lib/python3.4/asyncio/subprocess.py +228 -0
  168. package/python3.4.2/lib/python3.4/asyncio/tasks.py +658 -0
  169. package/python3.4.2/lib/python3.4/asyncio/test_utils.py +425 -0
  170. package/python3.4.2/lib/python3.4/asyncio/transports.py +298 -0
  171. package/python3.4.2/lib/python3.4/asyncio/unix_events.py +922 -0
  172. package/python3.4.2/lib/python3.4/asyncio/windows_events.py +634 -0
  173. package/python3.4.2/lib/python3.4/asyncio/windows_utils.py +207 -0
  174. package/python3.4.2/lib/python3.4/asyncore.py +666 -0
  175. package/python3.4.2/lib/python3.4/base64.py +602 -0
  176. package/python3.4.2/lib/python3.4/bdb.py +673 -0
  177. package/python3.4.2/lib/python3.4/binhex.py +471 -0
  178. package/python3.4.2/lib/python3.4/bisect.py +92 -0
  179. package/python3.4.2/lib/python3.4/bz2.py +521 -0
  180. package/python3.4.2/lib/python3.4/cProfile.py +160 -0
  181. package/python3.4.2/lib/python3.4/calendar.py +703 -0
  182. package/python3.4.2/lib/python3.4/cgi.py +1061 -0
  183. package/python3.4.2/lib/python3.4/cgitb.py +320 -0
  184. package/python3.4.2/lib/python3.4/chunk.py +167 -0
  185. package/python3.4.2/lib/python3.4/cmd.py +401 -0
  186. package/python3.4.2/lib/python3.4/code.py +302 -0
  187. package/python3.4.2/lib/python3.4/codecs.py +1110 -0
  188. package/python3.4.2/lib/python3.4/codeop.py +168 -0
  189. package/python3.4.2/lib/python3.4/collections/__init__.py +1132 -0
  190. package/python3.4.2/lib/python3.4/collections/__main__.py +38 -0
  191. package/python3.4.2/lib/python3.4/collections/abc.py +2 -0
  192. package/python3.4.2/lib/python3.4/colorsys.py +164 -0
  193. package/python3.4.2/lib/python3.4/compileall.py +241 -0
  194. package/python3.4.2/lib/python3.4/concurrent/__init__.py +1 -0
  195. package/python3.4.2/lib/python3.4/concurrent/futures/__init__.py +18 -0
  196. package/python3.4.2/lib/python3.4/concurrent/futures/_base.py +575 -0
  197. package/python3.4.2/lib/python3.4/concurrent/futures/process.py +427 -0
  198. package/python3.4.2/lib/python3.4/concurrent/futures/thread.py +132 -0
  199. package/python3.4.2/lib/python3.4/config-3.4m/Makefile +1835 -0
  200. package/python3.4.2/lib/python3.4/config-3.4m/Setup +466 -0
  201. package/python3.4.2/lib/python3.4/config-3.4m/Setup.config +13 -0
  202. package/python3.4.2/lib/python3.4/config-3.4m/Setup.local +1 -0
  203. package/python3.4.2/lib/python3.4/config-3.4m/config.c +234 -0
  204. package/python3.4.2/lib/python3.4/config-3.4m/config.c.in +67 -0
  205. package/python3.4.2/lib/python3.4/config-3.4m/install-sh +294 -0
  206. package/python3.4.2/lib/python3.4/config-3.4m/makesetup +293 -0
  207. package/python3.4.2/lib/python3.4/config-3.4m/python-config.py +68 -0
  208. package/python3.4.2/lib/python3.4/configparser.py +1254 -0
  209. package/python3.4.2/lib/python3.4/contextlib.py +340 -0
  210. package/python3.4.2/lib/python3.4/copy.py +333 -0
  211. package/python3.4.2/lib/python3.4/copyreg.py +202 -0
  212. package/python3.4.2/lib/python3.4/crypt.py +62 -0
  213. package/python3.4.2/lib/python3.4/csv.py +449 -0
  214. package/python3.4.2/lib/python3.4/ctypes/__init__.py +541 -0
  215. package/python3.4.2/lib/python3.4/ctypes/_endian.py +59 -0
  216. package/python3.4.2/lib/python3.4/ctypes/macholib/README.ctypes +7 -0
  217. package/python3.4.2/lib/python3.4/ctypes/macholib/__init__.py +9 -0
  218. package/python3.4.2/lib/python3.4/ctypes/macholib/dyld.py +158 -0
  219. package/python3.4.2/lib/python3.4/ctypes/macholib/dylib.py +63 -0
  220. package/python3.4.2/lib/python3.4/ctypes/macholib/fetch_macholib +2 -0
  221. package/python3.4.2/lib/python3.4/ctypes/macholib/fetch_macholib.bat +1 -0
  222. package/python3.4.2/lib/python3.4/ctypes/macholib/framework.py +65 -0
  223. package/python3.4.2/lib/python3.4/ctypes/test/__init__.py +14 -0
  224. package/python3.4.2/lib/python3.4/ctypes/test/__main__.py +4 -0
  225. package/python3.4.2/lib/python3.4/ctypes/test/test_anon.py +60 -0
  226. package/python3.4.2/lib/python3.4/ctypes/test/test_array_in_pointer.py +64 -0
  227. package/python3.4.2/lib/python3.4/ctypes/test/test_arrays.py +181 -0
  228. package/python3.4.2/lib/python3.4/ctypes/test/test_as_parameter.py +226 -0
  229. package/python3.4.2/lib/python3.4/ctypes/test/test_bitfields.py +263 -0
  230. package/python3.4.2/lib/python3.4/ctypes/test/test_buffers.py +64 -0
  231. package/python3.4.2/lib/python3.4/ctypes/test/test_bytes.py +65 -0
  232. package/python3.4.2/lib/python3.4/ctypes/test/test_byteswap.py +295 -0
  233. package/python3.4.2/lib/python3.4/ctypes/test/test_callbacks.py +247 -0
  234. package/python3.4.2/lib/python3.4/ctypes/test/test_cast.py +86 -0
  235. package/python3.4.2/lib/python3.4/ctypes/test/test_cfuncs.py +212 -0
  236. package/python3.4.2/lib/python3.4/ctypes/test/test_checkretval.py +36 -0
  237. package/python3.4.2/lib/python3.4/ctypes/test/test_delattr.py +21 -0
  238. package/python3.4.2/lib/python3.4/ctypes/test/test_errno.py +79 -0
  239. package/python3.4.2/lib/python3.4/ctypes/test/test_find.py +81 -0
  240. package/python3.4.2/lib/python3.4/ctypes/test/test_frombuffer.py +81 -0
  241. package/python3.4.2/lib/python3.4/ctypes/test/test_funcptr.py +127 -0
  242. package/python3.4.2/lib/python3.4/ctypes/test/test_functions.py +402 -0
  243. package/python3.4.2/lib/python3.4/ctypes/test/test_incomplete.py +42 -0
  244. package/python3.4.2/lib/python3.4/ctypes/test/test_init.py +40 -0
  245. package/python3.4.2/lib/python3.4/ctypes/test/test_internals.py +100 -0
  246. package/python3.4.2/lib/python3.4/ctypes/test/test_keeprefs.py +153 -0
  247. package/python3.4.2/lib/python3.4/ctypes/test/test_libc.py +33 -0
  248. package/python3.4.2/lib/python3.4/ctypes/test/test_loading.py +119 -0
  249. package/python3.4.2/lib/python3.4/ctypes/test/test_macholib.py +63 -0
  250. package/python3.4.2/lib/python3.4/ctypes/test/test_memfunctions.py +79 -0
  251. package/python3.4.2/lib/python3.4/ctypes/test/test_numbers.py +290 -0
  252. package/python3.4.2/lib/python3.4/ctypes/test/test_objects.py +67 -0
  253. package/python3.4.2/lib/python3.4/ctypes/test/test_parameters.py +176 -0
  254. package/python3.4.2/lib/python3.4/ctypes/test/test_pep3118.py +206 -0
  255. package/python3.4.2/lib/python3.4/ctypes/test/test_pickling.py +83 -0
  256. package/python3.4.2/lib/python3.4/ctypes/test/test_pointers.py +192 -0
  257. package/python3.4.2/lib/python3.4/ctypes/test/test_prototypes.py +219 -0
  258. package/python3.4.2/lib/python3.4/ctypes/test/test_python_api.py +89 -0
  259. package/python3.4.2/lib/python3.4/ctypes/test/test_random_things.py +74 -0
  260. package/python3.4.2/lib/python3.4/ctypes/test/test_refcounts.py +101 -0
  261. package/python3.4.2/lib/python3.4/ctypes/test/test_repr.py +29 -0
  262. package/python3.4.2/lib/python3.4/ctypes/test/test_returnfuncptrs.py +67 -0
  263. package/python3.4.2/lib/python3.4/ctypes/test/test_simplesubclasses.py +55 -0
  264. package/python3.4.2/lib/python3.4/ctypes/test/test_sizes.py +34 -0
  265. package/python3.4.2/lib/python3.4/ctypes/test/test_slicing.py +167 -0
  266. package/python3.4.2/lib/python3.4/ctypes/test/test_stringptr.py +77 -0
  267. package/python3.4.2/lib/python3.4/ctypes/test/test_strings.py +225 -0
  268. package/python3.4.2/lib/python3.4/ctypes/test/test_struct_fields.py +50 -0
  269. package/python3.4.2/lib/python3.4/ctypes/test/test_structures.py +468 -0
  270. package/python3.4.2/lib/python3.4/ctypes/test/test_unaligned_structures.py +45 -0
  271. package/python3.4.2/lib/python3.4/ctypes/test/test_unicode.py +56 -0
  272. package/python3.4.2/lib/python3.4/ctypes/test/test_values.py +95 -0
  273. package/python3.4.2/lib/python3.4/ctypes/test/test_varsize_struct.py +50 -0
  274. package/python3.4.2/lib/python3.4/ctypes/test/test_win32.py +119 -0
  275. package/python3.4.2/lib/python3.4/ctypes/test/test_wintypes.py +41 -0
  276. package/python3.4.2/lib/python3.4/ctypes/util.py +267 -0
  277. package/python3.4.2/lib/python3.4/ctypes/wintypes.py +202 -0
  278. package/python3.4.2/lib/python3.4/curses/__init__.py +101 -0
  279. package/python3.4.2/lib/python3.4/curses/ascii.py +99 -0
  280. package/python3.4.2/lib/python3.4/curses/has_key.py +192 -0
  281. package/python3.4.2/lib/python3.4/curses/panel.py +6 -0
  282. package/python3.4.2/lib/python3.4/curses/textpad.py +188 -0
  283. package/python3.4.2/lib/python3.4/datetime.py +2136 -0
  284. package/python3.4.2/lib/python3.4/dbm/__init__.py +188 -0
  285. package/python3.4.2/lib/python3.4/dbm/dumb.py +291 -0
  286. package/python3.4.2/lib/python3.4/dbm/gnu.py +3 -0
  287. package/python3.4.2/lib/python3.4/dbm/ndbm.py +3 -0
  288. package/python3.4.2/lib/python3.4/decimal.py +6414 -0
  289. package/python3.4.2/lib/python3.4/difflib.py +2039 -0
  290. package/python3.4.2/lib/python3.4/dis.py +475 -0
  291. package/python3.4.2/lib/python3.4/distutils/README +13 -0
  292. package/python3.4.2/lib/python3.4/distutils/__init__.py +17 -0
  293. package/python3.4.2/lib/python3.4/distutils/archive_util.py +245 -0
  294. package/python3.4.2/lib/python3.4/distutils/bcppcompiler.py +393 -0
  295. package/python3.4.2/lib/python3.4/distutils/ccompiler.py +1115 -0
  296. package/python3.4.2/lib/python3.4/distutils/cmd.py +435 -0
  297. package/python3.4.2/lib/python3.4/distutils/command/__init__.py +31 -0
  298. package/python3.4.2/lib/python3.4/distutils/command/bdist.py +142 -0
  299. package/python3.4.2/lib/python3.4/distutils/command/bdist_dumb.py +122 -0
  300. package/python3.4.2/lib/python3.4/distutils/command/bdist_msi.py +741 -0
  301. package/python3.4.2/lib/python3.4/distutils/command/bdist_rpm.py +582 -0
  302. package/python3.4.2/lib/python3.4/distutils/command/bdist_wininst.py +349 -0
  303. package/python3.4.2/lib/python3.4/distutils/command/build.py +148 -0
  304. package/python3.4.2/lib/python3.4/distutils/command/build_clib.py +209 -0
  305. package/python3.4.2/lib/python3.4/distutils/command/build_ext.py +735 -0
  306. package/python3.4.2/lib/python3.4/distutils/command/build_py.py +416 -0
  307. package/python3.4.2/lib/python3.4/distutils/command/build_scripts.py +160 -0
  308. package/python3.4.2/lib/python3.4/distutils/command/check.py +145 -0
  309. package/python3.4.2/lib/python3.4/distutils/command/clean.py +76 -0
  310. package/python3.4.2/lib/python3.4/distutils/command/command_template +33 -0
  311. package/python3.4.2/lib/python3.4/distutils/command/config.py +347 -0
  312. package/python3.4.2/lib/python3.4/distutils/command/install.py +650 -0
  313. package/python3.4.2/lib/python3.4/distutils/command/install_data.py +79 -0
  314. package/python3.4.2/lib/python3.4/distutils/command/install_egg_info.py +77 -0
  315. package/python3.4.2/lib/python3.4/distutils/command/install_headers.py +47 -0
  316. package/python3.4.2/lib/python3.4/distutils/command/install_lib.py +217 -0
  317. package/python3.4.2/lib/python3.4/distutils/command/install_scripts.py +60 -0
  318. package/python3.4.2/lib/python3.4/distutils/command/register.py +304 -0
  319. package/python3.4.2/lib/python3.4/distutils/command/sdist.py +467 -0
  320. package/python3.4.2/lib/python3.4/distutils/command/upload.py +202 -0
  321. package/python3.4.2/lib/python3.4/distutils/command/wininst-10.0-amd64.exe +0 -0
  322. package/python3.4.2/lib/python3.4/distutils/command/wininst-10.0.exe +0 -0
  323. package/python3.4.2/lib/python3.4/distutils/command/wininst-6.0.exe +0 -0
  324. package/python3.4.2/lib/python3.4/distutils/command/wininst-7.1.exe +0 -0
  325. package/python3.4.2/lib/python3.4/distutils/command/wininst-8.0.exe +0 -0
  326. package/python3.4.2/lib/python3.4/distutils/command/wininst-9.0-amd64.exe +0 -0
  327. package/python3.4.2/lib/python3.4/distutils/command/wininst-9.0.exe +0 -0
  328. package/python3.4.2/lib/python3.4/distutils/config.py +131 -0
  329. package/python3.4.2/lib/python3.4/distutils/core.py +237 -0
  330. package/python3.4.2/lib/python3.4/distutils/cygwinccompiler.py +405 -0
  331. package/python3.4.2/lib/python3.4/distutils/debug.py +5 -0
  332. package/python3.4.2/lib/python3.4/distutils/dep_util.py +92 -0
  333. package/python3.4.2/lib/python3.4/distutils/dir_util.py +210 -0
  334. package/python3.4.2/lib/python3.4/distutils/dist.py +1238 -0
  335. package/python3.4.2/lib/python3.4/distutils/errors.py +97 -0
  336. package/python3.4.2/lib/python3.4/distutils/extension.py +233 -0
  337. package/python3.4.2/lib/python3.4/distutils/fancy_getopt.py +457 -0
  338. package/python3.4.2/lib/python3.4/distutils/file_util.py +230 -0
  339. package/python3.4.2/lib/python3.4/distutils/filelist.py +328 -0
  340. package/python3.4.2/lib/python3.4/distutils/log.py +75 -0
  341. package/python3.4.2/lib/python3.4/distutils/msvc9compiler.py +788 -0
  342. package/python3.4.2/lib/python3.4/distutils/msvccompiler.py +640 -0
  343. package/python3.4.2/lib/python3.4/distutils/spawn.py +195 -0
  344. package/python3.4.2/lib/python3.4/distutils/sysconfig.py +562 -0
  345. package/python3.4.2/lib/python3.4/distutils/tests/Setup.sample +67 -0
  346. package/python3.4.2/lib/python3.4/distutils/tests/__init__.py +36 -0
  347. package/python3.4.2/lib/python3.4/distutils/tests/support.py +210 -0
  348. package/python3.4.2/lib/python3.4/distutils/tests/test_archive_util.py +341 -0
  349. package/python3.4.2/lib/python3.4/distutils/tests/test_bdist.py +50 -0
  350. package/python3.4.2/lib/python3.4/distutils/tests/test_bdist_dumb.py +97 -0
  351. package/python3.4.2/lib/python3.4/distutils/tests/test_bdist_msi.py +25 -0
  352. package/python3.4.2/lib/python3.4/distutils/tests/test_bdist_rpm.py +134 -0
  353. package/python3.4.2/lib/python3.4/distutils/tests/test_bdist_wininst.py +31 -0
  354. package/python3.4.2/lib/python3.4/distutils/tests/test_build.py +55 -0
  355. package/python3.4.2/lib/python3.4/distutils/tests/test_build_clib.py +143 -0
  356. package/python3.4.2/lib/python3.4/distutils/tests/test_build_ext.py +488 -0
  357. package/python3.4.2/lib/python3.4/distutils/tests/test_build_py.py +178 -0
  358. package/python3.4.2/lib/python3.4/distutils/tests/test_build_scripts.py +112 -0
  359. package/python3.4.2/lib/python3.4/distutils/tests/test_check.py +106 -0
  360. package/python3.4.2/lib/python3.4/distutils/tests/test_clean.py +51 -0
  361. package/python3.4.2/lib/python3.4/distutils/tests/test_cmd.py +126 -0
  362. package/python3.4.2/lib/python3.4/distutils/tests/test_config.py +120 -0
  363. package/python3.4.2/lib/python3.4/distutils/tests/test_config_cmd.py +89 -0
  364. package/python3.4.2/lib/python3.4/distutils/tests/test_core.py +108 -0
  365. package/python3.4.2/lib/python3.4/distutils/tests/test_cygwinccompiler.py +155 -0
  366. package/python3.4.2/lib/python3.4/distutils/tests/test_dep_util.py +81 -0
  367. package/python3.4.2/lib/python3.4/distutils/tests/test_dir_util.py +139 -0
  368. package/python3.4.2/lib/python3.4/distutils/tests/test_dist.py +454 -0
  369. package/python3.4.2/lib/python3.4/distutils/tests/test_extension.py +69 -0
  370. package/python3.4.2/lib/python3.4/distutils/tests/test_file_util.py +85 -0
  371. package/python3.4.2/lib/python3.4/distutils/tests/test_filelist.py +299 -0
  372. package/python3.4.2/lib/python3.4/distutils/tests/test_install.py +246 -0
  373. package/python3.4.2/lib/python3.4/distutils/tests/test_install_data.py +77 -0
  374. package/python3.4.2/lib/python3.4/distutils/tests/test_install_headers.py +41 -0
  375. package/python3.4.2/lib/python3.4/distutils/tests/test_install_lib.py +115 -0
  376. package/python3.4.2/lib/python3.4/distutils/tests/test_install_scripts.py +82 -0
  377. package/python3.4.2/lib/python3.4/distutils/tests/test_log.py +37 -0
  378. package/python3.4.2/lib/python3.4/distutils/tests/test_msvc9compiler.py +184 -0
  379. package/python3.4.2/lib/python3.4/distutils/tests/test_register.py +309 -0
  380. package/python3.4.2/lib/python3.4/distutils/tests/test_sdist.py +484 -0
  381. package/python3.4.2/lib/python3.4/distutils/tests/test_spawn.py +58 -0
  382. package/python3.4.2/lib/python3.4/distutils/tests/test_sysconfig.py +207 -0
  383. package/python3.4.2/lib/python3.4/distutils/tests/test_text_file.py +107 -0
  384. package/python3.4.2/lib/python3.4/distutils/tests/test_unixccompiler.py +150 -0
  385. package/python3.4.2/lib/python3.4/distutils/tests/test_upload.py +151 -0
  386. package/python3.4.2/lib/python3.4/distutils/tests/test_util.py +300 -0
  387. package/python3.4.2/lib/python3.4/distutils/tests/test_version.py +71 -0
  388. package/python3.4.2/lib/python3.4/distutils/tests/test_versionpredicate.py +13 -0
  389. package/python3.4.2/lib/python3.4/distutils/tests/xxmodule.c +396 -0
  390. package/python3.4.2/lib/python3.4/distutils/text_file.py +285 -0
  391. package/python3.4.2/lib/python3.4/distutils/unixccompiler.py +298 -0
  392. package/python3.4.2/lib/python3.4/distutils/util.py +553 -0
  393. package/python3.4.2/lib/python3.4/distutils/version.py +349 -0
  394. package/python3.4.2/lib/python3.4/distutils/versionpredicate.py +166 -0
  395. package/python3.4.2/lib/python3.4/doctest.py +2793 -0
  396. package/python3.4.2/lib/python3.4/dummy_threading.py +78 -0
  397. package/python3.4.2/lib/python3.4/email/__init__.py +64 -0
  398. package/python3.4.2/lib/python3.4/email/_encoded_words.py +221 -0
  399. package/python3.4.2/lib/python3.4/email/_header_value_parser.py +2947 -0
  400. package/python3.4.2/lib/python3.4/email/_parseaddr.py +540 -0
  401. package/python3.4.2/lib/python3.4/email/_policybase.py +358 -0
  402. package/python3.4.2/lib/python3.4/email/architecture.rst +216 -0
  403. package/python3.4.2/lib/python3.4/email/base64mime.py +119 -0
  404. package/python3.4.2/lib/python3.4/email/charset.py +409 -0
  405. package/python3.4.2/lib/python3.4/email/contentmanager.py +249 -0
  406. package/python3.4.2/lib/python3.4/email/encoders.py +69 -0
  407. package/python3.4.2/lib/python3.4/email/errors.py +107 -0
  408. package/python3.4.2/lib/python3.4/email/feedparser.py +526 -0
  409. package/python3.4.2/lib/python3.4/email/generator.py +507 -0
  410. package/python3.4.2/lib/python3.4/email/header.py +581 -0
  411. package/python3.4.2/lib/python3.4/email/headerregistry.py +583 -0
  412. package/python3.4.2/lib/python3.4/email/iterators.py +71 -0
  413. package/python3.4.2/lib/python3.4/email/message.py +1147 -0
  414. package/python3.4.2/lib/python3.4/email/mime/__init__.py +0 -0
  415. package/python3.4.2/lib/python3.4/email/mime/application.py +36 -0
  416. package/python3.4.2/lib/python3.4/email/mime/audio.py +73 -0
  417. package/python3.4.2/lib/python3.4/email/mime/base.py +26 -0
  418. package/python3.4.2/lib/python3.4/email/mime/image.py +46 -0
  419. package/python3.4.2/lib/python3.4/email/mime/message.py +34 -0
  420. package/python3.4.2/lib/python3.4/email/mime/multipart.py +47 -0
  421. package/python3.4.2/lib/python3.4/email/mime/nonmultipart.py +22 -0
  422. package/python3.4.2/lib/python3.4/email/mime/text.py +41 -0
  423. package/python3.4.2/lib/python3.4/email/parser.py +132 -0
  424. package/python3.4.2/lib/python3.4/email/policy.py +201 -0
  425. package/python3.4.2/lib/python3.4/email/quoprimime.py +299 -0
  426. package/python3.4.2/lib/python3.4/email/utils.py +399 -0
  427. package/python3.4.2/lib/python3.4/encodings/__init__.py +152 -0
  428. package/python3.4.2/lib/python3.4/encodings/__pycache__/__init__.cpython-34.pyc +0 -0
  429. package/python3.4.2/lib/python3.4/encodings/__pycache__/aliases.cpython-34.pyc +0 -0
  430. package/python3.4.2/lib/python3.4/encodings/__pycache__/ascii.cpython-34.pyc +0 -0
  431. package/python3.4.2/lib/python3.4/encodings/__pycache__/latin_1.cpython-34.pyc +0 -0
  432. package/python3.4.2/lib/python3.4/encodings/__pycache__/utf_8.cpython-34.pyc +0 -0
  433. package/python3.4.2/lib/python3.4/encodings/aliases.py +544 -0
  434. package/python3.4.2/lib/python3.4/encodings/ascii.py +50 -0
  435. package/python3.4.2/lib/python3.4/encodings/base64_codec.py +55 -0
  436. package/python3.4.2/lib/python3.4/encodings/big5.py +39 -0
  437. package/python3.4.2/lib/python3.4/encodings/big5hkscs.py +39 -0
  438. package/python3.4.2/lib/python3.4/encodings/bz2_codec.py +78 -0
  439. package/python3.4.2/lib/python3.4/encodings/charmap.py +69 -0
  440. package/python3.4.2/lib/python3.4/encodings/cp037.py +307 -0
  441. package/python3.4.2/lib/python3.4/encodings/cp1006.py +307 -0
  442. package/python3.4.2/lib/python3.4/encodings/cp1026.py +307 -0
  443. package/python3.4.2/lib/python3.4/encodings/cp1125.py +698 -0
  444. package/python3.4.2/lib/python3.4/encodings/cp1140.py +307 -0
  445. package/python3.4.2/lib/python3.4/encodings/cp1250.py +307 -0
  446. package/python3.4.2/lib/python3.4/encodings/cp1251.py +307 -0
  447. package/python3.4.2/lib/python3.4/encodings/cp1252.py +307 -0
  448. package/python3.4.2/lib/python3.4/encodings/cp1253.py +307 -0
  449. package/python3.4.2/lib/python3.4/encodings/cp1254.py +307 -0
  450. package/python3.4.2/lib/python3.4/encodings/cp1255.py +307 -0
  451. package/python3.4.2/lib/python3.4/encodings/cp1256.py +307 -0
  452. package/python3.4.2/lib/python3.4/encodings/cp1257.py +307 -0
  453. package/python3.4.2/lib/python3.4/encodings/cp1258.py +307 -0
  454. package/python3.4.2/lib/python3.4/encodings/cp273.py +307 -0
  455. package/python3.4.2/lib/python3.4/encodings/cp424.py +307 -0
  456. package/python3.4.2/lib/python3.4/encodings/cp437.py +698 -0
  457. package/python3.4.2/lib/python3.4/encodings/cp500.py +307 -0
  458. package/python3.4.2/lib/python3.4/encodings/cp65001.py +40 -0
  459. package/python3.4.2/lib/python3.4/encodings/cp720.py +309 -0
  460. package/python3.4.2/lib/python3.4/encodings/cp737.py +698 -0
  461. package/python3.4.2/lib/python3.4/encodings/cp775.py +697 -0
  462. package/python3.4.2/lib/python3.4/encodings/cp850.py +698 -0
  463. package/python3.4.2/lib/python3.4/encodings/cp852.py +698 -0
  464. package/python3.4.2/lib/python3.4/encodings/cp855.py +698 -0
  465. package/python3.4.2/lib/python3.4/encodings/cp856.py +307 -0
  466. package/python3.4.2/lib/python3.4/encodings/cp857.py +694 -0
  467. package/python3.4.2/lib/python3.4/encodings/cp858.py +698 -0
  468. package/python3.4.2/lib/python3.4/encodings/cp860.py +698 -0
  469. package/python3.4.2/lib/python3.4/encodings/cp861.py +698 -0
  470. package/python3.4.2/lib/python3.4/encodings/cp862.py +698 -0
  471. package/python3.4.2/lib/python3.4/encodings/cp863.py +698 -0
  472. package/python3.4.2/lib/python3.4/encodings/cp864.py +690 -0
  473. package/python3.4.2/lib/python3.4/encodings/cp865.py +698 -0
  474. package/python3.4.2/lib/python3.4/encodings/cp866.py +698 -0
  475. package/python3.4.2/lib/python3.4/encodings/cp869.py +689 -0
  476. package/python3.4.2/lib/python3.4/encodings/cp874.py +307 -0
  477. package/python3.4.2/lib/python3.4/encodings/cp875.py +307 -0
  478. package/python3.4.2/lib/python3.4/encodings/cp932.py +39 -0
  479. package/python3.4.2/lib/python3.4/encodings/cp949.py +39 -0
  480. package/python3.4.2/lib/python3.4/encodings/cp950.py +39 -0
  481. package/python3.4.2/lib/python3.4/encodings/euc_jis_2004.py +39 -0
  482. package/python3.4.2/lib/python3.4/encodings/euc_jisx0213.py +39 -0
  483. package/python3.4.2/lib/python3.4/encodings/euc_jp.py +39 -0
  484. package/python3.4.2/lib/python3.4/encodings/euc_kr.py +39 -0
  485. package/python3.4.2/lib/python3.4/encodings/gb18030.py +39 -0
  486. package/python3.4.2/lib/python3.4/encodings/gb2312.py +39 -0
  487. package/python3.4.2/lib/python3.4/encodings/gbk.py +39 -0
  488. package/python3.4.2/lib/python3.4/encodings/hex_codec.py +55 -0
  489. package/python3.4.2/lib/python3.4/encodings/hp_roman8.py +312 -0
  490. package/python3.4.2/lib/python3.4/encodings/hz.py +39 -0
  491. package/python3.4.2/lib/python3.4/encodings/idna.py +309 -0
  492. package/python3.4.2/lib/python3.4/encodings/iso2022_jp.py +39 -0
  493. package/python3.4.2/lib/python3.4/encodings/iso2022_jp_1.py +39 -0
  494. package/python3.4.2/lib/python3.4/encodings/iso2022_jp_2.py +39 -0
  495. package/python3.4.2/lib/python3.4/encodings/iso2022_jp_2004.py +39 -0
  496. package/python3.4.2/lib/python3.4/encodings/iso2022_jp_3.py +39 -0
  497. package/python3.4.2/lib/python3.4/encodings/iso2022_jp_ext.py +39 -0
  498. package/python3.4.2/lib/python3.4/encodings/iso2022_kr.py +39 -0
  499. package/python3.4.2/lib/python3.4/encodings/iso8859_1.py +307 -0
  500. package/python3.4.2/lib/python3.4/encodings/iso8859_10.py +307 -0
  501. package/python3.4.2/lib/python3.4/encodings/iso8859_11.py +307 -0
  502. package/python3.4.2/lib/python3.4/encodings/iso8859_13.py +307 -0
  503. package/python3.4.2/lib/python3.4/encodings/iso8859_14.py +307 -0
  504. package/python3.4.2/lib/python3.4/encodings/iso8859_15.py +307 -0
  505. package/python3.4.2/lib/python3.4/encodings/iso8859_16.py +307 -0
  506. package/python3.4.2/lib/python3.4/encodings/iso8859_2.py +307 -0
  507. package/python3.4.2/lib/python3.4/encodings/iso8859_3.py +307 -0
  508. package/python3.4.2/lib/python3.4/encodings/iso8859_4.py +307 -0
  509. package/python3.4.2/lib/python3.4/encodings/iso8859_5.py +307 -0
  510. package/python3.4.2/lib/python3.4/encodings/iso8859_6.py +307 -0
  511. package/python3.4.2/lib/python3.4/encodings/iso8859_7.py +307 -0
  512. package/python3.4.2/lib/python3.4/encodings/iso8859_8.py +307 -0
  513. package/python3.4.2/lib/python3.4/encodings/iso8859_9.py +307 -0
  514. package/python3.4.2/lib/python3.4/encodings/johab.py +39 -0
  515. package/python3.4.2/lib/python3.4/encodings/koi8_r.py +307 -0
  516. package/python3.4.2/lib/python3.4/encodings/koi8_u.py +307 -0
  517. package/python3.4.2/lib/python3.4/encodings/latin_1.py +50 -0
  518. package/python3.4.2/lib/python3.4/encodings/mac_arabic.py +698 -0
  519. package/python3.4.2/lib/python3.4/encodings/mac_centeuro.py +307 -0
  520. package/python3.4.2/lib/python3.4/encodings/mac_croatian.py +307 -0
  521. package/python3.4.2/lib/python3.4/encodings/mac_cyrillic.py +307 -0
  522. package/python3.4.2/lib/python3.4/encodings/mac_farsi.py +307 -0
  523. package/python3.4.2/lib/python3.4/encodings/mac_greek.py +307 -0
  524. package/python3.4.2/lib/python3.4/encodings/mac_iceland.py +307 -0
  525. package/python3.4.2/lib/python3.4/encodings/mac_latin2.py +312 -0
  526. package/python3.4.2/lib/python3.4/encodings/mac_roman.py +307 -0
  527. package/python3.4.2/lib/python3.4/encodings/mac_romanian.py +307 -0
  528. package/python3.4.2/lib/python3.4/encodings/mac_turkish.py +307 -0
  529. package/python3.4.2/lib/python3.4/encodings/mbcs.py +47 -0
  530. package/python3.4.2/lib/python3.4/encodings/palmos.py +308 -0
  531. package/python3.4.2/lib/python3.4/encodings/ptcp154.py +312 -0
  532. package/python3.4.2/lib/python3.4/encodings/punycode.py +237 -0
  533. package/python3.4.2/lib/python3.4/encodings/quopri_codec.py +56 -0
  534. package/python3.4.2/lib/python3.4/encodings/raw_unicode_escape.py +45 -0
  535. package/python3.4.2/lib/python3.4/encodings/rot_13.py +113 -0
  536. package/python3.4.2/lib/python3.4/encodings/shift_jis.py +39 -0
  537. package/python3.4.2/lib/python3.4/encodings/shift_jis_2004.py +39 -0
  538. package/python3.4.2/lib/python3.4/encodings/shift_jisx0213.py +39 -0
  539. package/python3.4.2/lib/python3.4/encodings/tis_620.py +307 -0
  540. package/python3.4.2/lib/python3.4/encodings/undefined.py +49 -0
  541. package/python3.4.2/lib/python3.4/encodings/unicode_escape.py +45 -0
  542. package/python3.4.2/lib/python3.4/encodings/unicode_internal.py +45 -0
  543. package/python3.4.2/lib/python3.4/encodings/utf_16.py +155 -0
  544. package/python3.4.2/lib/python3.4/encodings/utf_16_be.py +42 -0
  545. package/python3.4.2/lib/python3.4/encodings/utf_16_le.py +42 -0
  546. package/python3.4.2/lib/python3.4/encodings/utf_32.py +150 -0
  547. package/python3.4.2/lib/python3.4/encodings/utf_32_be.py +37 -0
  548. package/python3.4.2/lib/python3.4/encodings/utf_32_le.py +37 -0
  549. package/python3.4.2/lib/python3.4/encodings/utf_7.py +38 -0
  550. package/python3.4.2/lib/python3.4/encodings/utf_8.py +42 -0
  551. package/python3.4.2/lib/python3.4/encodings/utf_8_sig.py +130 -0
  552. package/python3.4.2/lib/python3.4/encodings/uu_codec.py +99 -0
  553. package/python3.4.2/lib/python3.4/encodings/zlib_codec.py +77 -0
  554. package/python3.4.2/lib/python3.4/ensurepip/__init__.py +210 -0
  555. package/python3.4.2/lib/python3.4/ensurepip/__main__.py +4 -0
  556. package/python3.4.2/lib/python3.4/ensurepip/_bundled/pip-1.5.6-py2.py3-none-any.whl +0 -0
  557. package/python3.4.2/lib/python3.4/ensurepip/_bundled/setuptools-2.1-py2.py3-none-any.whl +0 -0
  558. package/python3.4.2/lib/python3.4/ensurepip/_uninstall.py +30 -0
  559. package/python3.4.2/lib/python3.4/enum.py +525 -0
  560. package/python3.4.2/lib/python3.4/filecmp.py +305 -0
  561. package/python3.4.2/lib/python3.4/fileinput.py +429 -0
  562. package/python3.4.2/lib/python3.4/fnmatch.py +109 -0
  563. package/python3.4.2/lib/python3.4/formatter.py +448 -0
  564. package/python3.4.2/lib/python3.4/fractions.py +630 -0
  565. package/python3.4.2/lib/python3.4/ftplib.py +1088 -0
  566. package/python3.4.2/lib/python3.4/functools.py +721 -0
  567. package/python3.4.2/lib/python3.4/genericpath.py +132 -0
  568. package/python3.4.2/lib/python3.4/getopt.py +215 -0
  569. package/python3.4.2/lib/python3.4/getpass.py +186 -0
  570. package/python3.4.2/lib/python3.4/gettext.py +523 -0
  571. package/python3.4.2/lib/python3.4/glob.py +110 -0
  572. package/python3.4.2/lib/python3.4/gzip.py +674 -0
  573. package/python3.4.2/lib/python3.4/hashlib.py +217 -0
  574. package/python3.4.2/lib/python3.4/heapq.py +476 -0
  575. package/python3.4.2/lib/python3.4/hmac.py +144 -0
  576. package/python3.4.2/lib/python3.4/html/__init__.py +132 -0
  577. package/python3.4.2/lib/python3.4/html/entities.py +2506 -0
  578. package/python3.4.2/lib/python3.4/html/parser.py +550 -0
  579. package/python3.4.2/lib/python3.4/http/__init__.py +1 -0
  580. package/python3.4.2/lib/python3.4/http/client.py +1302 -0
  581. package/python3.4.2/lib/python3.4/http/cookiejar.py +2080 -0
  582. package/python3.4.2/lib/python3.4/http/cookies.py +578 -0
  583. package/python3.4.2/lib/python3.4/http/server.py +1241 -0
  584. package/python3.4.2/lib/python3.4/idlelib/AutoComplete.py +233 -0
  585. package/python3.4.2/lib/python3.4/idlelib/AutoCompleteWindow.py +415 -0
  586. package/python3.4.2/lib/python3.4/idlelib/AutoExpand.py +104 -0
  587. package/python3.4.2/lib/python3.4/idlelib/Bindings.py +94 -0
  588. package/python3.4.2/lib/python3.4/idlelib/CREDITS.txt +37 -0
  589. package/python3.4.2/lib/python3.4/idlelib/CallTipWindow.py +170 -0
  590. package/python3.4.2/lib/python3.4/idlelib/CallTips.py +175 -0
  591. package/python3.4.2/lib/python3.4/idlelib/ChangeLog +1591 -0
  592. package/python3.4.2/lib/python3.4/idlelib/ClassBrowser.py +229 -0
  593. package/python3.4.2/lib/python3.4/idlelib/CodeContext.py +176 -0
  594. package/python3.4.2/lib/python3.4/idlelib/ColorDelegator.py +254 -0
  595. package/python3.4.2/lib/python3.4/idlelib/Debugger.py +490 -0
  596. package/python3.4.2/lib/python3.4/idlelib/Delegator.py +25 -0
  597. package/python3.4.2/lib/python3.4/idlelib/EditorWindow.py +1729 -0
  598. package/python3.4.2/lib/python3.4/idlelib/FileList.py +129 -0
  599. package/python3.4.2/lib/python3.4/idlelib/FormatParagraph.py +193 -0
  600. package/python3.4.2/lib/python3.4/idlelib/GrepDialog.py +159 -0
  601. package/python3.4.2/lib/python3.4/idlelib/HISTORY.txt +296 -0
  602. package/python3.4.2/lib/python3.4/idlelib/HyperParser.py +313 -0
  603. package/python3.4.2/lib/python3.4/idlelib/IOBinding.py +555 -0
  604. package/python3.4.2/lib/python3.4/idlelib/Icons/folder.gif +0 -0
  605. package/python3.4.2/lib/python3.4/idlelib/Icons/idle.icns +0 -0
  606. package/python3.4.2/lib/python3.4/idlelib/Icons/idle.ico +0 -0
  607. package/python3.4.2/lib/python3.4/idlelib/Icons/idle_16.gif +0 -0
  608. package/python3.4.2/lib/python3.4/idlelib/Icons/idle_16.png +0 -0
  609. package/python3.4.2/lib/python3.4/idlelib/Icons/idle_32.gif +0 -0
  610. package/python3.4.2/lib/python3.4/idlelib/Icons/idle_32.png +0 -0
  611. package/python3.4.2/lib/python3.4/idlelib/Icons/idle_48.gif +0 -0
  612. package/python3.4.2/lib/python3.4/idlelib/Icons/idle_48.png +0 -0
  613. package/python3.4.2/lib/python3.4/idlelib/Icons/minusnode.gif +0 -0
  614. package/python3.4.2/lib/python3.4/idlelib/Icons/openfolder.gif +0 -0
  615. package/python3.4.2/lib/python3.4/idlelib/Icons/plusnode.gif +0 -0
  616. package/python3.4.2/lib/python3.4/idlelib/Icons/python.gif +0 -0
  617. package/python3.4.2/lib/python3.4/idlelib/Icons/tk.gif +0 -0
  618. package/python3.4.2/lib/python3.4/idlelib/IdleHistory.py +104 -0
  619. package/python3.4.2/lib/python3.4/idlelib/MultiCall.py +453 -0
  620. package/python3.4.2/lib/python3.4/idlelib/MultiStatusBar.py +45 -0
  621. package/python3.4.2/lib/python3.4/idlelib/NEWS.txt +877 -0
  622. package/python3.4.2/lib/python3.4/idlelib/ObjectBrowser.py +143 -0
  623. package/python3.4.2/lib/python3.4/idlelib/OutputWindow.py +144 -0
  624. package/python3.4.2/lib/python3.4/idlelib/ParenMatch.py +178 -0
  625. package/python3.4.2/lib/python3.4/idlelib/PathBrowser.py +106 -0
  626. package/python3.4.2/lib/python3.4/idlelib/Percolator.py +104 -0
  627. package/python3.4.2/lib/python3.4/idlelib/PyParse.py +618 -0
  628. package/python3.4.2/lib/python3.4/idlelib/PyShell.py +1619 -0
  629. package/python3.4.2/lib/python3.4/idlelib/README.txt +60 -0
  630. package/python3.4.2/lib/python3.4/idlelib/RemoteDebugger.py +389 -0
  631. package/python3.4.2/lib/python3.4/idlelib/RemoteObjectBrowser.py +36 -0
  632. package/python3.4.2/lib/python3.4/idlelib/ReplaceDialog.py +221 -0
  633. package/python3.4.2/lib/python3.4/idlelib/RstripExtension.py +33 -0
  634. package/python3.4.2/lib/python3.4/idlelib/ScriptBinding.py +207 -0
  635. package/python3.4.2/lib/python3.4/idlelib/ScrolledList.py +140 -0
  636. package/python3.4.2/lib/python3.4/idlelib/SearchDialog.py +89 -0
  637. package/python3.4.2/lib/python3.4/idlelib/SearchDialogBase.py +184 -0
  638. package/python3.4.2/lib/python3.4/idlelib/SearchEngine.py +233 -0
  639. package/python3.4.2/lib/python3.4/idlelib/StackViewer.py +152 -0
  640. package/python3.4.2/lib/python3.4/idlelib/TODO.txt +210 -0
  641. package/python3.4.2/lib/python3.4/idlelib/ToolTip.py +97 -0
  642. package/python3.4.2/lib/python3.4/idlelib/TreeWidget.py +465 -0
  643. package/python3.4.2/lib/python3.4/idlelib/UndoDelegator.py +365 -0
  644. package/python3.4.2/lib/python3.4/idlelib/WidgetRedirector.py +174 -0
  645. package/python3.4.2/lib/python3.4/idlelib/WindowList.py +90 -0
  646. package/python3.4.2/lib/python3.4/idlelib/ZoomHeight.py +51 -0
  647. package/python3.4.2/lib/python3.4/idlelib/__init__.py +1 -0
  648. package/python3.4.2/lib/python3.4/idlelib/__main__.py +9 -0
  649. package/python3.4.2/lib/python3.4/idlelib/aboutDialog.py +145 -0
  650. package/python3.4.2/lib/python3.4/idlelib/config-extensions.def +96 -0
  651. package/python3.4.2/lib/python3.4/idlelib/config-highlight.def +64 -0
  652. package/python3.4.2/lib/python3.4/idlelib/config-keys.def +214 -0
  653. package/python3.4.2/lib/python3.4/idlelib/config-main.def +79 -0
  654. package/python3.4.2/lib/python3.4/idlelib/configDialog.py +1195 -0
  655. package/python3.4.2/lib/python3.4/idlelib/configHandler.py +722 -0
  656. package/python3.4.2/lib/python3.4/idlelib/configHelpSourceEdit.py +166 -0
  657. package/python3.4.2/lib/python3.4/idlelib/configSectionNameDialog.py +98 -0
  658. package/python3.4.2/lib/python3.4/idlelib/dynOptionMenuWidget.py +57 -0
  659. package/python3.4.2/lib/python3.4/idlelib/extend.txt +83 -0
  660. package/python3.4.2/lib/python3.4/idlelib/help.txt +368 -0
  661. package/python3.4.2/lib/python3.4/idlelib/idle.bat +4 -0
  662. package/python3.4.2/lib/python3.4/idlelib/idle.py +11 -0
  663. package/python3.4.2/lib/python3.4/idlelib/idle.pyw +21 -0
  664. package/python3.4.2/lib/python3.4/idlelib/idle_test/README.txt +115 -0
  665. package/python3.4.2/lib/python3.4/idlelib/idle_test/__init__.py +9 -0
  666. package/python3.4.2/lib/python3.4/idlelib/idle_test/htest.py +369 -0
  667. package/python3.4.2/lib/python3.4/idlelib/idle_test/mock_idle.py +55 -0
  668. package/python3.4.2/lib/python3.4/idlelib/idle_test/mock_tk.py +298 -0
  669. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_autocomplete.py +143 -0
  670. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_autoexpand.py +141 -0
  671. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_calltips.py +172 -0
  672. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_config_name.py +75 -0
  673. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_configdialog.py +32 -0
  674. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_delegator.py +37 -0
  675. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_formatparagraph.py +377 -0
  676. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_grep.py +80 -0
  677. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_hyperparser.py +273 -0
  678. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_idlehistory.py +167 -0
  679. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_parenmatch.py +109 -0
  680. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_pathbrowser.py +12 -0
  681. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_rstrip.py +49 -0
  682. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_searchdialogbase.py +165 -0
  683. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_searchengine.py +329 -0
  684. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_text.py +228 -0
  685. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_textview.py +97 -0
  686. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_warning.py +73 -0
  687. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_widgetredir.py +122 -0
  688. package/python3.4.2/lib/python3.4/idlelib/idlever.py +1 -0
  689. package/python3.4.2/lib/python3.4/idlelib/keybindingDialog.py +266 -0
  690. package/python3.4.2/lib/python3.4/idlelib/macosxSupport.py +239 -0
  691. package/python3.4.2/lib/python3.4/idlelib/rpc.py +624 -0
  692. package/python3.4.2/lib/python3.4/idlelib/run.py +404 -0
  693. package/python3.4.2/lib/python3.4/idlelib/tabbedpages.py +498 -0
  694. package/python3.4.2/lib/python3.4/idlelib/testcode.py +31 -0
  695. package/python3.4.2/lib/python3.4/idlelib/textView.py +86 -0
  696. package/python3.4.2/lib/python3.4/imaplib.py +1549 -0
  697. package/python3.4.2/lib/python3.4/imghdr.py +154 -0
  698. package/python3.4.2/lib/python3.4/imp.py +315 -0
  699. package/python3.4.2/lib/python3.4/importlib/__init__.py +156 -0
  700. package/python3.4.2/lib/python3.4/importlib/_bootstrap.py +2461 -0
  701. package/python3.4.2/lib/python3.4/importlib/abc.py +323 -0
  702. package/python3.4.2/lib/python3.4/importlib/machinery.py +21 -0
  703. package/python3.4.2/lib/python3.4/importlib/util.py +202 -0
  704. package/python3.4.2/lib/python3.4/inspect.py +2759 -0
  705. package/python3.4.2/lib/python3.4/io.py +92 -0
  706. package/python3.4.2/lib/python3.4/ipaddress.py +2183 -0
  707. package/python3.4.2/lib/python3.4/json/__init__.py +331 -0
  708. package/python3.4.2/lib/python3.4/json/decoder.py +362 -0
  709. package/python3.4.2/lib/python3.4/json/encoder.py +433 -0
  710. package/python3.4.2/lib/python3.4/json/scanner.py +73 -0
  711. package/python3.4.2/lib/python3.4/json/tool.py +39 -0
  712. package/python3.4.2/lib/python3.4/keyword.py +94 -0
  713. package/python3.4.2/lib/python3.4/lib2to3/Grammar.txt +159 -0
  714. package/python3.4.2/lib/python3.4/lib2to3/Grammar3.4.2.final.0.pickle +0 -0
  715. package/python3.4.2/lib/python3.4/lib2to3/PatternGrammar.txt +28 -0
  716. package/python3.4.2/lib/python3.4/lib2to3/PatternGrammar3.4.2.final.0.pickle +0 -0
  717. package/python3.4.2/lib/python3.4/lib2to3/__init__.py +1 -0
  718. package/python3.4.2/lib/python3.4/lib2to3/__main__.py +4 -0
  719. package/python3.4.2/lib/python3.4/lib2to3/btm_matcher.py +168 -0
  720. package/python3.4.2/lib/python3.4/lib2to3/btm_utils.py +281 -0
  721. package/python3.4.2/lib/python3.4/lib2to3/fixer_base.py +187 -0
  722. package/python3.4.2/lib/python3.4/lib2to3/fixer_util.py +455 -0
  723. package/python3.4.2/lib/python3.4/lib2to3/fixes/__init__.py +1 -0
  724. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_apply.py +59 -0
  725. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_asserts.py +34 -0
  726. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_basestring.py +14 -0
  727. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_buffer.py +22 -0
  728. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_callable.py +37 -0
  729. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_dict.py +107 -0
  730. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_except.py +93 -0
  731. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_exec.py +40 -0
  732. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_execfile.py +52 -0
  733. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_exitfunc.py +72 -0
  734. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_filter.py +76 -0
  735. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_funcattrs.py +21 -0
  736. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_future.py +22 -0
  737. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_getcwdu.py +19 -0
  738. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_has_key.py +110 -0
  739. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_idioms.py +152 -0
  740. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_import.py +99 -0
  741. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_imports.py +145 -0
  742. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_imports2.py +16 -0
  743. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_input.py +26 -0
  744. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_intern.py +31 -0
  745. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_isinstance.py +52 -0
  746. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_itertools.py +43 -0
  747. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_itertools_imports.py +57 -0
  748. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_long.py +19 -0
  749. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_map.py +91 -0
  750. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_metaclass.py +228 -0
  751. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_methodattrs.py +24 -0
  752. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_ne.py +23 -0
  753. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_next.py +103 -0
  754. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_nonzero.py +21 -0
  755. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_numliterals.py +28 -0
  756. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_operator.py +98 -0
  757. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_paren.py +44 -0
  758. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_print.py +87 -0
  759. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_raise.py +90 -0
  760. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_raw_input.py +17 -0
  761. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_reduce.py +35 -0
  762. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_reload.py +28 -0
  763. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_renames.py +70 -0
  764. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_repr.py +23 -0
  765. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_set_literal.py +53 -0
  766. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_standarderror.py +18 -0
  767. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_sys_exc.py +30 -0
  768. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_throw.py +56 -0
  769. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_tuple_params.py +175 -0
  770. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_types.py +62 -0
  771. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_unicode.py +42 -0
  772. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_urllib.py +197 -0
  773. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_ws_comma.py +39 -0
  774. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_xrange.py +73 -0
  775. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_xreadlines.py +25 -0
  776. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_zip.py +35 -0
  777. package/python3.4.2/lib/python3.4/lib2to3/main.py +268 -0
  778. package/python3.4.2/lib/python3.4/lib2to3/patcomp.py +205 -0
  779. package/python3.4.2/lib/python3.4/lib2to3/pgen2/__init__.py +4 -0
  780. package/python3.4.2/lib/python3.4/lib2to3/pgen2/conv.py +257 -0
  781. package/python3.4.2/lib/python3.4/lib2to3/pgen2/driver.py +157 -0
  782. package/python3.4.2/lib/python3.4/lib2to3/pgen2/grammar.py +183 -0
  783. package/python3.4.2/lib/python3.4/lib2to3/pgen2/literals.py +60 -0
  784. package/python3.4.2/lib/python3.4/lib2to3/pgen2/parse.py +201 -0
  785. package/python3.4.2/lib/python3.4/lib2to3/pgen2/pgen.py +386 -0
  786. package/python3.4.2/lib/python3.4/lib2to3/pgen2/token.py +83 -0
  787. package/python3.4.2/lib/python3.4/lib2to3/pgen2/tokenize.py +502 -0
  788. package/python3.4.2/lib/python3.4/lib2to3/pygram.py +40 -0
  789. package/python3.4.2/lib/python3.4/lib2to3/pytree.py +864 -0
  790. package/python3.4.2/lib/python3.4/lib2to3/refactor.py +747 -0
  791. package/python3.4.2/lib/python3.4/lib2to3/tests/__init__.py +24 -0
  792. package/python3.4.2/lib/python3.4/lib2to3/tests/data/README +6 -0
  793. package/python3.4.2/lib/python3.4/lib2to3/tests/data/bom.py +2 -0
  794. package/python3.4.2/lib/python3.4/lib2to3/tests/data/crlf.py +3 -0
  795. package/python3.4.2/lib/python3.4/lib2to3/tests/data/different_encoding.py +6 -0
  796. package/python3.4.2/lib/python3.4/lib2to3/tests/data/false_encoding.py +2 -0
  797. package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/bad_order.py +5 -0
  798. package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/__init__.py +0 -0
  799. package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_explicit.py +6 -0
  800. package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_first.py +6 -0
  801. package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_last.py +7 -0
  802. package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_parrot.py +13 -0
  803. package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_preorder.py +6 -0
  804. package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/no_fixer_cls.py +1 -0
  805. package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/parrot_example.py +2 -0
  806. package/python3.4.2/lib/python3.4/lib2to3/tests/data/infinite_recursion.py +2669 -0
  807. package/python3.4.2/lib/python3.4/lib2to3/tests/data/py2_test_grammar.py +974 -0
  808. package/python3.4.2/lib/python3.4/lib2to3/tests/data/py3_test_grammar.py +923 -0
  809. package/python3.4.2/lib/python3.4/lib2to3/tests/pytree_idempotency.py +92 -0
  810. package/python3.4.2/lib/python3.4/lib2to3/tests/support.py +54 -0
  811. package/python3.4.2/lib/python3.4/lib2to3/tests/test_all_fixers.py +23 -0
  812. package/python3.4.2/lib/python3.4/lib2to3/tests/test_fixers.py +4687 -0
  813. package/python3.4.2/lib/python3.4/lib2to3/tests/test_main.py +139 -0
  814. package/python3.4.2/lib/python3.4/lib2to3/tests/test_parser.py +249 -0
  815. package/python3.4.2/lib/python3.4/lib2to3/tests/test_pytree.py +477 -0
  816. package/python3.4.2/lib/python3.4/lib2to3/tests/test_refactor.py +321 -0
  817. package/python3.4.2/lib/python3.4/lib2to3/tests/test_util.py +594 -0
  818. package/python3.4.2/lib/python3.4/linecache.py +134 -0
  819. package/python3.4.2/lib/python3.4/locale.py +1559 -0
  820. package/python3.4.2/lib/python3.4/logging/__init__.py +1950 -0
  821. package/python3.4.2/lib/python3.4/logging/config.py +927 -0
  822. package/python3.4.2/lib/python3.4/logging/handlers.py +1452 -0
  823. package/python3.4.2/lib/python3.4/lzma.py +511 -0
  824. package/python3.4.2/lib/python3.4/macpath.py +205 -0
  825. package/python3.4.2/lib/python3.4/macurl2path.py +77 -0
  826. package/python3.4.2/lib/python3.4/mailbox.py +2136 -0
  827. package/python3.4.2/lib/python3.4/mailcap.py +253 -0
  828. package/python3.4.2/lib/python3.4/mimetypes.py +592 -0
  829. package/python3.4.2/lib/python3.4/modulefinder.py +642 -0
  830. package/python3.4.2/lib/python3.4/multiprocessing/__init__.py +38 -0
  831. package/python3.4.2/lib/python3.4/multiprocessing/connection.py +954 -0
  832. package/python3.4.2/lib/python3.4/multiprocessing/context.py +348 -0
  833. package/python3.4.2/lib/python3.4/multiprocessing/dummy/__init__.py +119 -0
  834. package/python3.4.2/lib/python3.4/multiprocessing/dummy/connection.py +74 -0
  835. package/python3.4.2/lib/python3.4/multiprocessing/forkserver.py +267 -0
  836. package/python3.4.2/lib/python3.4/multiprocessing/heap.py +249 -0
  837. package/python3.4.2/lib/python3.4/multiprocessing/managers.py +1131 -0
  838. package/python3.4.2/lib/python3.4/multiprocessing/pool.py +769 -0
  839. package/python3.4.2/lib/python3.4/multiprocessing/popen_fork.py +83 -0
  840. package/python3.4.2/lib/python3.4/multiprocessing/popen_forkserver.py +69 -0
  841. package/python3.4.2/lib/python3.4/multiprocessing/popen_spawn_posix.py +69 -0
  842. package/python3.4.2/lib/python3.4/multiprocessing/popen_spawn_win32.py +99 -0
  843. package/python3.4.2/lib/python3.4/multiprocessing/process.py +332 -0
  844. package/python3.4.2/lib/python3.4/multiprocessing/queues.py +367 -0
  845. package/python3.4.2/lib/python3.4/multiprocessing/reduction.py +240 -0
  846. package/python3.4.2/lib/python3.4/multiprocessing/resource_sharer.py +158 -0
  847. package/python3.4.2/lib/python3.4/multiprocessing/semaphore_tracker.py +143 -0
  848. package/python3.4.2/lib/python3.4/multiprocessing/sharedctypes.py +245 -0
  849. package/python3.4.2/lib/python3.4/multiprocessing/spawn.py +287 -0
  850. package/python3.4.2/lib/python3.4/multiprocessing/synchronize.py +418 -0
  851. package/python3.4.2/lib/python3.4/multiprocessing/util.py +367 -0
  852. package/python3.4.2/lib/python3.4/netrc.py +142 -0
  853. package/python3.4.2/lib/python3.4/nntplib.py +1134 -0
  854. package/python3.4.2/lib/python3.4/ntpath.py +625 -0
  855. package/python3.4.2/lib/python3.4/nturl2path.py +66 -0
  856. package/python3.4.2/lib/python3.4/numbers.py +394 -0
  857. package/python3.4.2/lib/python3.4/opcode.py +200 -0
  858. package/python3.4.2/lib/python3.4/operator.py +411 -0
  859. package/python3.4.2/lib/python3.4/optparse.py +1680 -0
  860. package/python3.4.2/lib/python3.4/os.py +980 -0
  861. package/python3.4.2/lib/python3.4/pathlib.py +1291 -0
  862. package/python3.4.2/lib/python3.4/pdb.py +1685 -0
  863. package/python3.4.2/lib/python3.4/pickle.py +1599 -0
  864. package/python3.4.2/lib/python3.4/pickletools.py +2818 -0
  865. package/python3.4.2/lib/python3.4/pipes.py +247 -0
  866. package/python3.4.2/lib/python3.4/pkgutil.py +629 -0
  867. package/python3.4.2/lib/python3.4/plat-linux/CDROM.py +207 -0
  868. package/python3.4.2/lib/python3.4/plat-linux/DLFCN.py +83 -0
  869. package/python3.4.2/lib/python3.4/plat-linux/IN.py +615 -0
  870. package/python3.4.2/lib/python3.4/plat-linux/TYPES.py +170 -0
  871. package/python3.4.2/lib/python3.4/plat-linux/regen +8 -0
  872. package/python3.4.2/lib/python3.4/platform.py +1476 -0
  873. package/python3.4.2/lib/python3.4/plistlib.py +1025 -0
  874. package/python3.4.2/lib/python3.4/poplib.py +461 -0
  875. package/python3.4.2/lib/python3.4/posixpath.py +457 -0
  876. package/python3.4.2/lib/python3.4/pprint.py +416 -0
  877. package/python3.4.2/lib/python3.4/profile.py +589 -0
  878. package/python3.4.2/lib/python3.4/pstats.py +691 -0
  879. package/python3.4.2/lib/python3.4/pty.py +170 -0
  880. package/python3.4.2/lib/python3.4/py_compile.py +185 -0
  881. package/python3.4.2/lib/python3.4/pyclbr.py +351 -0
  882. package/python3.4.2/lib/python3.4/pydoc.py +2622 -0
  883. package/python3.4.2/lib/python3.4/pydoc_data/__init__.py +0 -0
  884. package/python3.4.2/lib/python3.4/pydoc_data/_pydoc.css +6 -0
  885. package/python3.4.2/lib/python3.4/pydoc_data/topics.py +79 -0
  886. package/python3.4.2/lib/python3.4/queue.py +249 -0
  887. package/python3.4.2/lib/python3.4/quopri.py +242 -0
  888. package/python3.4.2/lib/python3.4/random.py +742 -0
  889. package/python3.4.2/lib/python3.4/re.py +368 -0
  890. package/python3.4.2/lib/python3.4/reprlib.py +157 -0
  891. package/python3.4.2/lib/python3.4/rlcompleter.py +165 -0
  892. package/python3.4.2/lib/python3.4/runpy.py +271 -0
  893. package/python3.4.2/lib/python3.4/sched.py +167 -0
  894. package/python3.4.2/lib/python3.4/selectors.py +525 -0
  895. package/python3.4.2/lib/python3.4/shelve.py +239 -0
  896. package/python3.4.2/lib/python3.4/shlex.py +304 -0
  897. package/python3.4.2/lib/python3.4/shutil.py +1127 -0
  898. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/PKG-INFO +55 -0
  899. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/SOURCES.txt +126 -0
  900. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/dependency_links.txt +1 -0
  901. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/entry_points.txt +4 -0
  902. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/not-zip-safe +1 -0
  903. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/requires.txt +4 -0
  904. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/top_level.txt +1 -0
  905. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/__init__.py +69 -0
  906. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/_compat.py +150 -0
  907. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/_stringdefs.py +132 -0
  908. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/bccache.py +344 -0
  909. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/compiler.py +1640 -0
  910. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/constants.py +32 -0
  911. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/debug.py +337 -0
  912. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/defaults.py +43 -0
  913. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/environment.py +1191 -0
  914. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/exceptions.py +146 -0
  915. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/ext.py +636 -0
  916. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/filters.py +987 -0
  917. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/lexer.py +733 -0
  918. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/loaders.py +471 -0
  919. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/meta.py +103 -0
  920. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/nodes.py +914 -0
  921. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/optimizer.py +68 -0
  922. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/parser.py +895 -0
  923. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/runtime.py +581 -0
  924. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/sandbox.py +368 -0
  925. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/tests.py +149 -0
  926. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/__init__.py +156 -0
  927. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/api.py +261 -0
  928. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/bytecode_cache.py +37 -0
  929. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/core_tags.py +305 -0
  930. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/debug.py +58 -0
  931. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/doctests.py +29 -0
  932. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/ext.py +459 -0
  933. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/filters.py +515 -0
  934. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/imports.py +141 -0
  935. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/inheritance.py +250 -0
  936. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/lexnparse.py +593 -0
  937. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/loader.py +226 -0
  938. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/regression.py +279 -0
  939. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/__init__.py +0 -0
  940. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/templates/broken.html +3 -0
  941. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/templates/foo/test.html +1 -0
  942. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/templates/syntaxerror.html +4 -0
  943. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/templates/test.html +1 -0
  944. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/security.py +166 -0
  945. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/tests.py +93 -0
  946. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/utils.py +82 -0
  947. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/utils.py +520 -0
  948. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/visitor.py +87 -0
  949. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/PKG-INFO +119 -0
  950. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/SOURCES.txt +17 -0
  951. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/dependency_links.txt +1 -0
  952. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/not-zip-safe +1 -0
  953. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/top_level.txt +1 -0
  954. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/__init__.py +298 -0
  955. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/_compat.py +26 -0
  956. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/_constants.py +267 -0
  957. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/_native.py +46 -0
  958. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/_speedups.c +239 -0
  959. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/tests.py +179 -0
  960. package/python3.4.2/lib/python3.4/site-packages/README +2 -0
  961. package/python3.4.2/lib/python3.4/site-packages/_markerlib/__init__.py +16 -0
  962. package/python3.4.2/lib/python3.4/site-packages/_markerlib/markers.py +119 -0
  963. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/PKG-INFO +68 -0
  964. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/SOURCES.txt +23 -0
  965. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/dependency_links.txt +1 -0
  966. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/entry_points.txt +3 -0
  967. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/not-zip-safe +1 -0
  968. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/requires.txt +1 -0
  969. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/scripts/android-debian-builder +6 -0
  970. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/top_level.txt +1 -0
  971. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/__init__.py +0 -0
  972. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/__main__.py +26 -0
  973. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/build.py +63 -0
  974. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/config.py +82 -0
  975. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/data/deb.sh +106 -0
  976. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/data/default-config +42 -0
  977. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/data/first-time-setup.sh +94 -0
  978. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/data/init.sh +27 -0
  979. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/examples/jessie-armhf.cfg +26 -0
  980. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/run_tests.py +38 -0
  981. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/script.py +110 -0
  982. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/util.py +177 -0
  983. package/python3.4.2/lib/python3.4/site-packages/easy-install.pth +4 -0
  984. package/python3.4.2/lib/python3.4/site-packages/easy_install.py +5 -0
  985. package/python3.4.2/lib/python3.4/site-packages/pip/__init__.py +277 -0
  986. package/python3.4.2/lib/python3.4/site-packages/pip/__main__.py +7 -0
  987. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/__init__.py +8 -0
  988. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/_markerlib/__init__.py +16 -0
  989. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/_markerlib/markers.py +119 -0
  990. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/__init__.py +7 -0
  991. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/ansi.py +50 -0
  992. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/ansitowin32.py +190 -0
  993. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/initialise.py +56 -0
  994. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/win32.py +137 -0
  995. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/winterm.py +120 -0
  996. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/__init__.py +23 -0
  997. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/__init__.py +6 -0
  998. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/misc.py +41 -0
  999. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/shutil.py +761 -0
  1000. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/sysconfig.cfg +84 -0
  1001. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/sysconfig.py +788 -0
  1002. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/tarfile.py +2607 -0
  1003. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/compat.py +1064 -0
  1004. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/database.py +1301 -0
  1005. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/index.py +488 -0
  1006. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/locators.py +1194 -0
  1007. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/manifest.py +364 -0
  1008. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/markers.py +190 -0
  1009. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/metadata.py +1026 -0
  1010. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/resources.py +317 -0
  1011. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/scripts.py +323 -0
  1012. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/t32.exe +0 -0
  1013. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/t64.exe +0 -0
  1014. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/util.py +1575 -0
  1015. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/version.py +721 -0
  1016. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/w32.exe +0 -0
  1017. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/w64.exe +0 -0
  1018. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/wheel.py +958 -0
  1019. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/__init__.py +23 -0
  1020. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/constants.py +3104 -0
  1021. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/__init__.py +0 -0
  1022. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/_base.py +12 -0
  1023. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.py +20 -0
  1024. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/inject_meta_charset.py +65 -0
  1025. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/lint.py +93 -0
  1026. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/optionaltags.py +205 -0
  1027. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/sanitizer.py +12 -0
  1028. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/whitespace.py +38 -0
  1029. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/html5parser.py +2713 -0
  1030. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/ihatexml.py +285 -0
  1031. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/inputstream.py +881 -0
  1032. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/sanitizer.py +271 -0
  1033. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/serializer/__init__.py +16 -0
  1034. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/serializer/htmlserializer.py +320 -0
  1035. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/tokenizer.py +1731 -0
  1036. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py +0 -0
  1037. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treeadapters/sax.py +44 -0
  1038. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/__init__.py +76 -0
  1039. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/_base.py +377 -0
  1040. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/dom.py +227 -0
  1041. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/etree.py +337 -0
  1042. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/etree_lxml.py +369 -0
  1043. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/__init__.py +57 -0
  1044. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/_base.py +200 -0
  1045. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/dom.py +46 -0
  1046. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/etree.py +138 -0
  1047. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/genshistream.py +69 -0
  1048. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/lxmletree.py +208 -0
  1049. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/pulldom.py +63 -0
  1050. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/trie/__init__.py +12 -0
  1051. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/trie/_base.py +37 -0
  1052. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/trie/datrie.py +44 -0
  1053. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/trie/py.py +67 -0
  1054. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/utils.py +82 -0
  1055. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/pkg_resources.py +2762 -0
  1056. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/re-vendor.py +34 -0
  1057. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/__init__.py +77 -0
  1058. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/adapters.py +388 -0
  1059. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/api.py +120 -0
  1060. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/auth.py +193 -0
  1061. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/cacert.pem +5026 -0
  1062. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/certs.py +24 -0
  1063. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/compat.py +115 -0
  1064. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/cookies.py +454 -0
  1065. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/exceptions.py +75 -0
  1066. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/hooks.py +45 -0
  1067. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/models.py +803 -0
  1068. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/__init__.py +3 -0
  1069. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/__init__.py +32 -0
  1070. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/big5freq.py +925 -0
  1071. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/big5prober.py +42 -0
  1072. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/chardetect.py +46 -0
  1073. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/chardistribution.py +231 -0
  1074. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/charsetgroupprober.py +106 -0
  1075. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/charsetprober.py +62 -0
  1076. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/codingstatemachine.py +61 -0
  1077. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/compat.py +34 -0
  1078. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/constants.py +39 -0
  1079. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/cp949prober.py +44 -0
  1080. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/escprober.py +86 -0
  1081. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/escsm.py +242 -0
  1082. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/eucjpprober.py +90 -0
  1083. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/euckrfreq.py +596 -0
  1084. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/euckrprober.py +42 -0
  1085. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/euctwfreq.py +428 -0
  1086. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/euctwprober.py +41 -0
  1087. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/gb2312freq.py +472 -0
  1088. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/gb2312prober.py +41 -0
  1089. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/hebrewprober.py +283 -0
  1090. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/jisfreq.py +569 -0
  1091. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/jpcntx.py +219 -0
  1092. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langbulgarianmodel.py +229 -0
  1093. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langcyrillicmodel.py +329 -0
  1094. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langgreekmodel.py +225 -0
  1095. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langhebrewmodel.py +201 -0
  1096. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langhungarianmodel.py +225 -0
  1097. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langthaimodel.py +200 -0
  1098. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/latin1prober.py +139 -0
  1099. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/mbcharsetprober.py +86 -0
  1100. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/mbcsgroupprober.py +54 -0
  1101. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/mbcssm.py +575 -0
  1102. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/sbcharsetprober.py +120 -0
  1103. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/sbcsgroupprober.py +69 -0
  1104. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/sjisprober.py +91 -0
  1105. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/universaldetector.py +170 -0
  1106. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/utf8prober.py +76 -0
  1107. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/__init__.py +58 -0
  1108. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/_collections.py +205 -0
  1109. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/connection.py +204 -0
  1110. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py +710 -0
  1111. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/contrib/__init__.py +0 -0
  1112. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/contrib/ntlmpool.py +120 -0
  1113. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/contrib/pyopenssl.py +422 -0
  1114. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/exceptions.py +126 -0
  1115. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/fields.py +177 -0
  1116. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/filepost.py +100 -0
  1117. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/__init__.py +4 -0
  1118. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/ordered_dict.py +260 -0
  1119. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/six.py +385 -0
  1120. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname/__init__.py +13 -0
  1121. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.py +105 -0
  1122. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/poolmanager.py +258 -0
  1123. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/request.py +141 -0
  1124. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/response.py +308 -0
  1125. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/__init__.py +27 -0
  1126. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/connection.py +45 -0
  1127. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/request.py +68 -0
  1128. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/response.py +13 -0
  1129. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py +133 -0
  1130. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/timeout.py +234 -0
  1131. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/url.py +162 -0
  1132. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/sessions.py +637 -0
  1133. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/status_codes.py +88 -0
  1134. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/structures.py +127 -0
  1135. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/utils.py +673 -0
  1136. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/six.py +646 -0
  1137. package/python3.4.2/lib/python3.4/site-packages/pip/backwardcompat/__init__.py +138 -0
  1138. package/python3.4.2/lib/python3.4/site-packages/pip/basecommand.py +201 -0
  1139. package/python3.4.2/lib/python3.4/site-packages/pip/baseparser.py +224 -0
  1140. package/python3.4.2/lib/python3.4/site-packages/pip/cmdoptions.py +371 -0
  1141. package/python3.4.2/lib/python3.4/site-packages/pip/commands/__init__.py +88 -0
  1142. package/python3.4.2/lib/python3.4/site-packages/pip/commands/bundle.py +42 -0
  1143. package/python3.4.2/lib/python3.4/site-packages/pip/commands/completion.py +59 -0
  1144. package/python3.4.2/lib/python3.4/site-packages/pip/commands/freeze.py +114 -0
  1145. package/python3.4.2/lib/python3.4/site-packages/pip/commands/help.py +33 -0
  1146. package/python3.4.2/lib/python3.4/site-packages/pip/commands/install.py +314 -0
  1147. package/python3.4.2/lib/python3.4/site-packages/pip/commands/list.py +162 -0
  1148. package/python3.4.2/lib/python3.4/site-packages/pip/commands/search.py +132 -0
  1149. package/python3.4.2/lib/python3.4/site-packages/pip/commands/show.py +80 -0
  1150. package/python3.4.2/lib/python3.4/site-packages/pip/commands/uninstall.py +59 -0
  1151. package/python3.4.2/lib/python3.4/site-packages/pip/commands/unzip.py +7 -0
  1152. package/python3.4.2/lib/python3.4/site-packages/pip/commands/wheel.py +195 -0
  1153. package/python3.4.2/lib/python3.4/site-packages/pip/commands/zip.py +351 -0
  1154. package/python3.4.2/lib/python3.4/site-packages/pip/download.py +644 -0
  1155. package/python3.4.2/lib/python3.4/site-packages/pip/exceptions.py +46 -0
  1156. package/python3.4.2/lib/python3.4/site-packages/pip/index.py +990 -0
  1157. package/python3.4.2/lib/python3.4/site-packages/pip/locations.py +172 -0
  1158. package/python3.4.2/lib/python3.4/site-packages/pip/log.py +276 -0
  1159. package/python3.4.2/lib/python3.4/site-packages/pip/pep425tags.py +102 -0
  1160. package/python3.4.2/lib/python3.4/site-packages/pip/req.py +1931 -0
  1161. package/python3.4.2/lib/python3.4/site-packages/pip/runner.py +18 -0
  1162. package/python3.4.2/lib/python3.4/site-packages/pip/status_codes.py +6 -0
  1163. package/python3.4.2/lib/python3.4/site-packages/pip/util.py +720 -0
  1164. package/python3.4.2/lib/python3.4/site-packages/pip/vcs/__init__.py +251 -0
  1165. package/python3.4.2/lib/python3.4/site-packages/pip/vcs/bazaar.py +131 -0
  1166. package/python3.4.2/lib/python3.4/site-packages/pip/vcs/git.py +194 -0
  1167. package/python3.4.2/lib/python3.4/site-packages/pip/vcs/mercurial.py +151 -0
  1168. package/python3.4.2/lib/python3.4/site-packages/pip/vcs/subversion.py +273 -0
  1169. package/python3.4.2/lib/python3.4/site-packages/pip/wheel.py +560 -0
  1170. package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/DESCRIPTION.rst +71 -0
  1171. package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/METADATA +98 -0
  1172. package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/RECORD +373 -0
  1173. package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/WHEEL +6 -0
  1174. package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/entry_points.txt +5 -0
  1175. package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/metadata.json +1 -0
  1176. package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/top_level.txt +1 -0
  1177. package/python3.4.2/lib/python3.4/site-packages/pkg_resources.py +2719 -0
  1178. package/python3.4.2/lib/python3.4/site-packages/setuptools/__init__.py +98 -0
  1179. package/python3.4.2/lib/python3.4/site-packages/setuptools/archive_util.py +210 -0
  1180. package/python3.4.2/lib/python3.4/site-packages/setuptools/cli-32.exe +0 -0
  1181. package/python3.4.2/lib/python3.4/site-packages/setuptools/cli-64.exe +0 -0
  1182. package/python3.4.2/lib/python3.4/site-packages/setuptools/cli-arm-32.exe +0 -0
  1183. package/python3.4.2/lib/python3.4/site-packages/setuptools/cli.exe +0 -0
  1184. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/__init__.py +17 -0
  1185. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/alias.py +82 -0
  1186. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/bdist_egg.py +553 -0
  1187. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/bdist_rpm.py +82 -0
  1188. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/bdist_wininst.py +82 -0
  1189. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/build_ext.py +298 -0
  1190. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/build_py.py +221 -0
  1191. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/develop.py +167 -0
  1192. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/easy_install.py +1915 -0
  1193. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/egg_info.py +392 -0
  1194. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/install.py +103 -0
  1195. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/install_egg_info.py +125 -0
  1196. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/install_lib.py +82 -0
  1197. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/install_scripts.py +54 -0
  1198. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/launcher manifest.xml +15 -0
  1199. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/register.py +10 -0
  1200. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/rotate.py +83 -0
  1201. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/saveopts.py +24 -0
  1202. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/sdist.py +238 -0
  1203. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/setopt.py +164 -0
  1204. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/test.py +198 -0
  1205. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/upload_docs.py +193 -0
  1206. package/python3.4.2/lib/python3.4/site-packages/setuptools/compat.py +83 -0
  1207. package/python3.4.2/lib/python3.4/site-packages/setuptools/depends.py +246 -0
  1208. package/python3.4.2/lib/python3.4/site-packages/setuptools/dist.py +796 -0
  1209. package/python3.4.2/lib/python3.4/site-packages/setuptools/extension.py +46 -0
  1210. package/python3.4.2/lib/python3.4/site-packages/setuptools/gui-32.exe +0 -0
  1211. package/python3.4.2/lib/python3.4/site-packages/setuptools/gui-64.exe +0 -0
  1212. package/python3.4.2/lib/python3.4/site-packages/setuptools/gui-arm-32.exe +0 -0
  1213. package/python3.4.2/lib/python3.4/site-packages/setuptools/gui.exe +0 -0
  1214. package/python3.4.2/lib/python3.4/site-packages/setuptools/lib2to3_ex.py +58 -0
  1215. package/python3.4.2/lib/python3.4/site-packages/setuptools/package_index.py +1057 -0
  1216. package/python3.4.2/lib/python3.4/site-packages/setuptools/py26compat.py +19 -0
  1217. package/python3.4.2/lib/python3.4/site-packages/setuptools/py27compat.py +15 -0
  1218. package/python3.4.2/lib/python3.4/site-packages/setuptools/py31compat.py +11 -0
  1219. package/python3.4.2/lib/python3.4/site-packages/setuptools/sandbox.py +322 -0
  1220. package/python3.4.2/lib/python3.4/site-packages/setuptools/script template (dev).py +11 -0
  1221. package/python3.4.2/lib/python3.4/site-packages/setuptools/script template.py +4 -0
  1222. package/python3.4.2/lib/python3.4/site-packages/setuptools/site-patch.py +83 -0
  1223. package/python3.4.2/lib/python3.4/site-packages/setuptools/ssl_support.py +234 -0
  1224. package/python3.4.2/lib/python3.4/site-packages/setuptools/svn_utils.py +564 -0
  1225. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/__init__.py +352 -0
  1226. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/doctest.py +2683 -0
  1227. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/environment.py +165 -0
  1228. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/py26compat.py +14 -0
  1229. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/script-with-bom.py +3 -0
  1230. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/server.py +82 -0
  1231. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_bdist_egg.py +69 -0
  1232. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_build_ext.py +20 -0
  1233. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_develop.py +122 -0
  1234. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_dist_info.py +83 -0
  1235. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_easy_install.py +394 -0
  1236. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_egg_info.py +173 -0
  1237. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_markerlib.py +68 -0
  1238. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_packageindex.py +203 -0
  1239. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_resources.py +620 -0
  1240. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_sandbox.py +79 -0
  1241. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_sdist.py +535 -0
  1242. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_svn.py +246 -0
  1243. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_test.py +124 -0
  1244. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_upload_docs.py +72 -0
  1245. package/python3.4.2/lib/python3.4/site-packages/setuptools/version.py +1 -0
  1246. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/DESCRIPTION.rst +1742 -0
  1247. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/METADATA +1772 -0
  1248. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/RECORD +149 -0
  1249. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/WHEEL +6 -0
  1250. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/dependency_links.txt +2 -0
  1251. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/entry_points.txt +62 -0
  1252. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/entry_points.txt.orig +62 -0
  1253. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/pydist.json +1 -0
  1254. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/requires.txt.orig +7 -0
  1255. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/top_level.txt +4 -0
  1256. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/zip-safe +1 -0
  1257. package/python3.4.2/lib/python3.4/site.py +616 -0
  1258. package/python3.4.2/lib/python3.4/smtpd.py +861 -0
  1259. package/python3.4.2/lib/python3.4/smtplib.py +999 -0
  1260. package/python3.4.2/lib/python3.4/sndhdr.py +240 -0
  1261. package/python3.4.2/lib/python3.4/socket.py +535 -0
  1262. package/python3.4.2/lib/python3.4/socketserver.py +748 -0
  1263. package/python3.4.2/lib/python3.4/sqlite3/__init__.py +23 -0
  1264. package/python3.4.2/lib/python3.4/sqlite3/dbapi2.py +89 -0
  1265. package/python3.4.2/lib/python3.4/sqlite3/dump.py +70 -0
  1266. package/python3.4.2/lib/python3.4/sqlite3/test/__init__.py +0 -0
  1267. package/python3.4.2/lib/python3.4/sqlite3/test/dbapi.py +911 -0
  1268. package/python3.4.2/lib/python3.4/sqlite3/test/dump.py +81 -0
  1269. package/python3.4.2/lib/python3.4/sqlite3/test/factory.py +253 -0
  1270. package/python3.4.2/lib/python3.4/sqlite3/test/hooks.py +258 -0
  1271. package/python3.4.2/lib/python3.4/sqlite3/test/regression.py +358 -0
  1272. package/python3.4.2/lib/python3.4/sqlite3/test/transactions.py +204 -0
  1273. package/python3.4.2/lib/python3.4/sqlite3/test/types.py +403 -0
  1274. package/python3.4.2/lib/python3.4/sqlite3/test/userfunctions.py +468 -0
  1275. package/python3.4.2/lib/python3.4/sre_compile.py +489 -0
  1276. package/python3.4.2/lib/python3.4/sre_constants.py +261 -0
  1277. package/python3.4.2/lib/python3.4/sre_parse.py +859 -0
  1278. package/python3.4.2/lib/python3.4/ssl.py +945 -0
  1279. package/python3.4.2/lib/python3.4/stat.py +155 -0
  1280. package/python3.4.2/lib/python3.4/statistics.py +595 -0
  1281. package/python3.4.2/lib/python3.4/string.py +282 -0
  1282. package/python3.4.2/lib/python3.4/stringprep.py +272 -0
  1283. package/python3.4.2/lib/python3.4/struct.py +15 -0
  1284. package/python3.4.2/lib/python3.4/subprocess.py +1690 -0
  1285. package/python3.4.2/lib/python3.4/sunau.py +525 -0
  1286. package/python3.4.2/lib/python3.4/symbol.py +111 -0
  1287. package/python3.4.2/lib/python3.4/symtable.py +240 -0
  1288. package/python3.4.2/lib/python3.4/sysconfig.py +709 -0
  1289. package/python3.4.2/lib/python3.4/tabnanny.py +332 -0
  1290. package/python3.4.2/lib/python3.4/tarfile.py +2519 -0
  1291. package/python3.4.2/lib/python3.4/telnetlib.py +672 -0
  1292. package/python3.4.2/lib/python3.4/tempfile.py +698 -0
  1293. package/python3.4.2/lib/python3.4/test/185test.db +0 -0
  1294. package/python3.4.2/lib/python3.4/test/Sine-1000Hz-300ms.aif +0 -0
  1295. package/python3.4.2/lib/python3.4/test/__init__.py +1 -0
  1296. package/python3.4.2/lib/python3.4/test/__main__.py +3 -0
  1297. package/python3.4.2/lib/python3.4/test/_test_multiprocessing.py +3841 -0
  1298. package/python3.4.2/lib/python3.4/test/audiodata/pluck-alaw.aifc +0 -0
  1299. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm16.aiff +0 -0
  1300. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm16.au +0 -0
  1301. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm16.wav +0 -0
  1302. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm24.aiff +0 -0
  1303. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm24.au +0 -0
  1304. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm24.wav +0 -0
  1305. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm32.aiff +0 -0
  1306. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm32.au +0 -0
  1307. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm32.wav +0 -0
  1308. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm8.aiff +0 -0
  1309. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm8.au +0 -0
  1310. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm8.wav +0 -0
  1311. package/python3.4.2/lib/python3.4/test/audiodata/pluck-ulaw.aifc +0 -0
  1312. package/python3.4.2/lib/python3.4/test/audiodata/pluck-ulaw.au +0 -0
  1313. package/python3.4.2/lib/python3.4/test/audiotest.au +0 -0
  1314. package/python3.4.2/lib/python3.4/test/audiotests.py +329 -0
  1315. package/python3.4.2/lib/python3.4/test/autotest.py +6 -0
  1316. package/python3.4.2/lib/python3.4/test/bad_coding.py +1 -0
  1317. package/python3.4.2/lib/python3.4/test/bad_coding2.py +2 -0
  1318. package/python3.4.2/lib/python3.4/test/badcert.pem +36 -0
  1319. package/python3.4.2/lib/python3.4/test/badkey.pem +40 -0
  1320. package/python3.4.2/lib/python3.4/test/badsyntax_3131.py +2 -0
  1321. package/python3.4.2/lib/python3.4/test/badsyntax_future10.py +3 -0
  1322. package/python3.4.2/lib/python3.4/test/badsyntax_future3.py +10 -0
  1323. package/python3.4.2/lib/python3.4/test/badsyntax_future4.py +10 -0
  1324. package/python3.4.2/lib/python3.4/test/badsyntax_future5.py +12 -0
  1325. package/python3.4.2/lib/python3.4/test/badsyntax_future6.py +10 -0
  1326. package/python3.4.2/lib/python3.4/test/badsyntax_future7.py +11 -0
  1327. package/python3.4.2/lib/python3.4/test/badsyntax_future8.py +10 -0
  1328. package/python3.4.2/lib/python3.4/test/badsyntax_future9.py +10 -0
  1329. package/python3.4.2/lib/python3.4/test/badsyntax_pep3120.py +1 -0
  1330. package/python3.4.2/lib/python3.4/test/buffer_tests.py +218 -0
  1331. package/python3.4.2/lib/python3.4/test/bytecode_helper.py +41 -0
  1332. package/python3.4.2/lib/python3.4/test/capath/4e1295a3.0 +14 -0
  1333. package/python3.4.2/lib/python3.4/test/capath/5ed36f99.0 +41 -0
  1334. package/python3.4.2/lib/python3.4/test/capath/6e88d7b8.0 +14 -0
  1335. package/python3.4.2/lib/python3.4/test/capath/99d0fa06.0 +41 -0
  1336. package/python3.4.2/lib/python3.4/test/cfgparser.1 +2 -0
  1337. package/python3.4.2/lib/python3.4/test/cfgparser.2 +537 -0
  1338. package/python3.4.2/lib/python3.4/test/cfgparser.3 +69 -0
  1339. package/python3.4.2/lib/python3.4/test/check_soundcard.vbs +13 -0
  1340. package/python3.4.2/lib/python3.4/test/cjkencodings/big5-utf8.txt +9 -0
  1341. package/python3.4.2/lib/python3.4/test/cjkencodings/big5.txt +9 -0
  1342. package/python3.4.2/lib/python3.4/test/cjkencodings/big5hkscs-utf8.txt +2 -0
  1343. package/python3.4.2/lib/python3.4/test/cjkencodings/big5hkscs.txt +2 -0
  1344. package/python3.4.2/lib/python3.4/test/cjkencodings/cp949-utf8.txt +9 -0
  1345. package/python3.4.2/lib/python3.4/test/cjkencodings/cp949.txt +9 -0
  1346. package/python3.4.2/lib/python3.4/test/cjkencodings/euc_jisx0213-utf8.txt +8 -0
  1347. package/python3.4.2/lib/python3.4/test/cjkencodings/euc_jisx0213.txt +8 -0
  1348. package/python3.4.2/lib/python3.4/test/cjkencodings/euc_jp-utf8.txt +7 -0
  1349. package/python3.4.2/lib/python3.4/test/cjkencodings/euc_jp.txt +7 -0
  1350. package/python3.4.2/lib/python3.4/test/cjkencodings/euc_kr-utf8.txt +7 -0
  1351. package/python3.4.2/lib/python3.4/test/cjkencodings/euc_kr.txt +7 -0
  1352. package/python3.4.2/lib/python3.4/test/cjkencodings/gb18030-utf8.txt +15 -0
  1353. package/python3.4.2/lib/python3.4/test/cjkencodings/gb18030.txt +15 -0
  1354. package/python3.4.2/lib/python3.4/test/cjkencodings/gb2312-utf8.txt +6 -0
  1355. package/python3.4.2/lib/python3.4/test/cjkencodings/gb2312.txt +6 -0
  1356. package/python3.4.2/lib/python3.4/test/cjkencodings/gbk-utf8.txt +14 -0
  1357. package/python3.4.2/lib/python3.4/test/cjkencodings/gbk.txt +14 -0
  1358. package/python3.4.2/lib/python3.4/test/cjkencodings/hz-utf8.txt +2 -0
  1359. package/python3.4.2/lib/python3.4/test/cjkencodings/hz.txt +2 -0
  1360. package/python3.4.2/lib/python3.4/test/cjkencodings/iso2022_jp-utf8.txt +7 -0
  1361. package/python3.4.2/lib/python3.4/test/cjkencodings/iso2022_jp.txt +7 -0
  1362. package/python3.4.2/lib/python3.4/test/cjkencodings/iso2022_kr-utf8.txt +7 -0
  1363. package/python3.4.2/lib/python3.4/test/cjkencodings/iso2022_kr.txt +7 -0
  1364. package/python3.4.2/lib/python3.4/test/cjkencodings/johab-utf8.txt +9 -0
  1365. package/python3.4.2/lib/python3.4/test/cjkencodings/johab.txt +9 -0
  1366. package/python3.4.2/lib/python3.4/test/cjkencodings/shift_jis-utf8.txt +7 -0
  1367. package/python3.4.2/lib/python3.4/test/cjkencodings/shift_jis.txt +7 -0
  1368. package/python3.4.2/lib/python3.4/test/cjkencodings/shift_jisx0213-utf8.txt +8 -0
  1369. package/python3.4.2/lib/python3.4/test/cjkencodings/shift_jisx0213.txt +8 -0
  1370. package/python3.4.2/lib/python3.4/test/cmath_testcases.txt +2370 -0
  1371. package/python3.4.2/lib/python3.4/test/coding20731.py +4 -0
  1372. package/python3.4.2/lib/python3.4/test/curses_tests.py +46 -0
  1373. package/python3.4.2/lib/python3.4/test/data/README +2 -0
  1374. package/python3.4.2/lib/python3.4/test/datetimetester.py +3786 -0
  1375. package/python3.4.2/lib/python3.4/test/decimaltestdata/abs.decTest +161 -0
  1376. package/python3.4.2/lib/python3.4/test/decimaltestdata/add.decTest +2716 -0
  1377. package/python3.4.2/lib/python3.4/test/decimaltestdata/and.decTest +338 -0
  1378. package/python3.4.2/lib/python3.4/test/decimaltestdata/base.decTest +1411 -0
  1379. package/python3.4.2/lib/python3.4/test/decimaltestdata/clamp.decTest +211 -0
  1380. package/python3.4.2/lib/python3.4/test/decimaltestdata/class.decTest +131 -0
  1381. package/python3.4.2/lib/python3.4/test/decimaltestdata/compare.decTest +758 -0
  1382. package/python3.4.2/lib/python3.4/test/decimaltestdata/comparetotal.decTest +798 -0
  1383. package/python3.4.2/lib/python3.4/test/decimaltestdata/comparetotmag.decTest +790 -0
  1384. package/python3.4.2/lib/python3.4/test/decimaltestdata/copy.decTest +86 -0
  1385. package/python3.4.2/lib/python3.4/test/decimaltestdata/copyabs.decTest +86 -0
  1386. package/python3.4.2/lib/python3.4/test/decimaltestdata/copynegate.decTest +86 -0
  1387. package/python3.4.2/lib/python3.4/test/decimaltestdata/copysign.decTest +177 -0
  1388. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddAbs.decTest +126 -0
  1389. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddAdd.decTest +1328 -0
  1390. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddAnd.decTest +347 -0
  1391. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddBase.decTest +1104 -0
  1392. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCanonical.decTest +357 -0
  1393. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddClass.decTest +76 -0
  1394. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCompare.decTest +744 -0
  1395. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCompareSig.decTest +647 -0
  1396. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCompareTotal.decTest +706 -0
  1397. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCompareTotalMag.decTest +706 -0
  1398. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCopy.decTest +88 -0
  1399. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCopyAbs.decTest +88 -0
  1400. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCopyNegate.decTest +88 -0
  1401. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCopySign.decTest +175 -0
  1402. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddDivide.decTest +863 -0
  1403. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddDivideInt.decTest +449 -0
  1404. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddEncode.decTest +495 -0
  1405. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddFMA.decTest +1698 -0
  1406. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddInvert.decTest +202 -0
  1407. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddLogB.decTest +159 -0
  1408. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMax.decTest +322 -0
  1409. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMaxMag.decTest +304 -0
  1410. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMin.decTest +309 -0
  1411. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMinMag.decTest +293 -0
  1412. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMinus.decTest +88 -0
  1413. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMultiply.decTest +553 -0
  1414. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddNextMinus.decTest +126 -0
  1415. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddNextPlus.decTest +124 -0
  1416. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddNextToward.decTest +374 -0
  1417. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddOr.decTest +292 -0
  1418. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddPlus.decTest +88 -0
  1419. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddQuantize.decTest +833 -0
  1420. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddReduce.decTest +182 -0
  1421. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddRemainder.decTest +600 -0
  1422. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddRemainderNear.decTest +629 -0
  1423. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddRotate.decTest +262 -0
  1424. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddSameQuantum.decTest +389 -0
  1425. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddScaleB.decTest +243 -0
  1426. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddShift.decTest +262 -0
  1427. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddSubtract.decTest +629 -0
  1428. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddToIntegral.decTest +257 -0
  1429. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddXor.decTest +337 -0
  1430. package/python3.4.2/lib/python3.4/test/decimaltestdata/decDouble.decTest +65 -0
  1431. package/python3.4.2/lib/python3.4/test/decimaltestdata/decQuad.decTest +65 -0
  1432. package/python3.4.2/lib/python3.4/test/decimaltestdata/decSingle.decTest +25 -0
  1433. package/python3.4.2/lib/python3.4/test/decimaltestdata/divide.decTest +854 -0
  1434. package/python3.4.2/lib/python3.4/test/decimaltestdata/divideint.decTest +486 -0
  1435. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqAbs.decTest +126 -0
  1436. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqAdd.decTest +1215 -0
  1437. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqAnd.decTest +420 -0
  1438. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqBase.decTest +1081 -0
  1439. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCanonical.decTest +372 -0
  1440. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqClass.decTest +77 -0
  1441. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCompare.decTest +753 -0
  1442. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCompareSig.decTest +647 -0
  1443. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCompareTotal.decTest +706 -0
  1444. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCompareTotalMag.decTest +706 -0
  1445. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCopy.decTest +88 -0
  1446. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCopyAbs.decTest +88 -0
  1447. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCopyNegate.decTest +88 -0
  1448. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCopySign.decTest +175 -0
  1449. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqDivide.decTest +808 -0
  1450. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqDivideInt.decTest +453 -0
  1451. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqEncode.decTest +477 -0
  1452. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqFMA.decTest +1786 -0
  1453. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqInvert.decTest +245 -0
  1454. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqLogB.decTest +160 -0
  1455. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMax.decTest +322 -0
  1456. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMaxMag.decTest +304 -0
  1457. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMin.decTest +309 -0
  1458. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMinMag.decTest +293 -0
  1459. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMinus.decTest +88 -0
  1460. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMultiply.decTest +589 -0
  1461. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqNextMinus.decTest +126 -0
  1462. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqNextPlus.decTest +124 -0
  1463. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqNextToward.decTest +375 -0
  1464. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqOr.decTest +401 -0
  1465. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqPlus.decTest +88 -0
  1466. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqQuantize.decTest +836 -0
  1467. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqReduce.decTest +183 -0
  1468. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqRemainder.decTest +597 -0
  1469. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqRemainderNear.decTest +631 -0
  1470. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqRotate.decTest +298 -0
  1471. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqSameQuantum.decTest +389 -0
  1472. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqScaleB.decTest +260 -0
  1473. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqShift.decTest +298 -0
  1474. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqSubtract.decTest +635 -0
  1475. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqToIntegral.decTest +257 -0
  1476. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqXor.decTest +410 -0
  1477. package/python3.4.2/lib/python3.4/test/decimaltestdata/dsBase.decTest +1062 -0
  1478. package/python3.4.2/lib/python3.4/test/decimaltestdata/dsEncode.decTest +372 -0
  1479. package/python3.4.2/lib/python3.4/test/decimaltestdata/exp.decTest +674 -0
  1480. package/python3.4.2/lib/python3.4/test/decimaltestdata/extra.decTest +2830 -0
  1481. package/python3.4.2/lib/python3.4/test/decimaltestdata/fma.decTest +3426 -0
  1482. package/python3.4.2/lib/python3.4/test/decimaltestdata/inexact.decTest +215 -0
  1483. package/python3.4.2/lib/python3.4/test/decimaltestdata/invert.decTest +176 -0
  1484. package/python3.4.2/lib/python3.4/test/decimaltestdata/ln.decTest +611 -0
  1485. package/python3.4.2/lib/python3.4/test/decimaltestdata/log10.decTest +551 -0
  1486. package/python3.4.2/lib/python3.4/test/decimaltestdata/logb.decTest +188 -0
  1487. package/python3.4.2/lib/python3.4/test/decimaltestdata/max.decTest +424 -0
  1488. package/python3.4.2/lib/python3.4/test/decimaltestdata/maxmag.decTest +404 -0
  1489. package/python3.4.2/lib/python3.4/test/decimaltestdata/min.decTest +407 -0
  1490. package/python3.4.2/lib/python3.4/test/decimaltestdata/minmag.decTest +390 -0
  1491. package/python3.4.2/lib/python3.4/test/decimaltestdata/minus.decTest +182 -0
  1492. package/python3.4.2/lib/python3.4/test/decimaltestdata/multiply.decTest +731 -0
  1493. package/python3.4.2/lib/python3.4/test/decimaltestdata/nextminus.decTest +148 -0
  1494. package/python3.4.2/lib/python3.4/test/decimaltestdata/nextplus.decTest +150 -0
  1495. package/python3.4.2/lib/python3.4/test/decimaltestdata/nexttoward.decTest +426 -0
  1496. package/python3.4.2/lib/python3.4/test/decimaltestdata/or.decTest +334 -0
  1497. package/python3.4.2/lib/python3.4/test/decimaltestdata/plus.decTest +195 -0
  1498. package/python3.4.2/lib/python3.4/test/decimaltestdata/power.decTest +1624 -0
  1499. package/python3.4.2/lib/python3.4/test/decimaltestdata/powersqrt.decTest +2970 -0
  1500. package/python3.4.2/lib/python3.4/test/decimaltestdata/quantize.decTest +948 -0
  1501. package/python3.4.2/lib/python3.4/test/decimaltestdata/randomBound32.decTest +2443 -0
  1502. package/python3.4.2/lib/python3.4/test/decimaltestdata/randoms.decTest +4030 -0
  1503. package/python3.4.2/lib/python3.4/test/decimaltestdata/reduce.decTest +234 -0
  1504. package/python3.4.2/lib/python3.4/test/decimaltestdata/remainder.decTest +640 -0
  1505. package/python3.4.2/lib/python3.4/test/decimaltestdata/remainderNear.decTest +572 -0
  1506. package/python3.4.2/lib/python3.4/test/decimaltestdata/rescale.decTest +764 -0
  1507. package/python3.4.2/lib/python3.4/test/decimaltestdata/rotate.decTest +247 -0
  1508. package/python3.4.2/lib/python3.4/test/decimaltestdata/rounding.decTest +1303 -0
  1509. package/python3.4.2/lib/python3.4/test/decimaltestdata/samequantum.decTest +389 -0
  1510. package/python3.4.2/lib/python3.4/test/decimaltestdata/scaleb.decTest +209 -0
  1511. package/python3.4.2/lib/python3.4/test/decimaltestdata/shift.decTest +250 -0
  1512. package/python3.4.2/lib/python3.4/test/decimaltestdata/squareroot.decTest +3834 -0
  1513. package/python3.4.2/lib/python3.4/test/decimaltestdata/subtract.decTest +873 -0
  1514. package/python3.4.2/lib/python3.4/test/decimaltestdata/testall.decTest +87 -0
  1515. package/python3.4.2/lib/python3.4/test/decimaltestdata/tointegral.decTest +241 -0
  1516. package/python3.4.2/lib/python3.4/test/decimaltestdata/tointegralx.decTest +255 -0
  1517. package/python3.4.2/lib/python3.4/test/decimaltestdata/xor.decTest +335 -0
  1518. package/python3.4.2/lib/python3.4/test/dh512.pem +9 -0
  1519. package/python3.4.2/lib/python3.4/test/dis_module.py +5 -0
  1520. package/python3.4.2/lib/python3.4/test/doctest_aliases.py +13 -0
  1521. package/python3.4.2/lib/python3.4/test/double_const.py +30 -0
  1522. package/python3.4.2/lib/python3.4/test/empty.vbs +1 -0
  1523. package/python3.4.2/lib/python3.4/test/encoded_modules/__init__.py +23 -0
  1524. package/python3.4.2/lib/python3.4/test/encoded_modules/module_iso_8859_1.py +5 -0
  1525. package/python3.4.2/lib/python3.4/test/encoded_modules/module_koi8_r.py +3 -0
  1526. package/python3.4.2/lib/python3.4/test/exception_hierarchy.txt +61 -0
  1527. package/python3.4.2/lib/python3.4/test/final_a.py +19 -0
  1528. package/python3.4.2/lib/python3.4/test/final_b.py +19 -0
  1529. package/python3.4.2/lib/python3.4/test/floating_points.txt +1028 -0
  1530. package/python3.4.2/lib/python3.4/test/fork_wait.py +77 -0
  1531. package/python3.4.2/lib/python3.4/test/formatfloat_testcases.txt +355 -0
  1532. package/python3.4.2/lib/python3.4/test/future_test1.py +11 -0
  1533. package/python3.4.2/lib/python3.4/test/future_test2.py +10 -0
  1534. package/python3.4.2/lib/python3.4/test/gdb_sample.py +12 -0
  1535. package/python3.4.2/lib/python3.4/test/https_svn_python_org_root.pem +41 -0
  1536. package/python3.4.2/lib/python3.4/test/ieee754.txt +185 -0
  1537. package/python3.4.2/lib/python3.4/test/imghdrdata/python.bmp +0 -0
  1538. package/python3.4.2/lib/python3.4/test/imghdrdata/python.gif +0 -0
  1539. package/python3.4.2/lib/python3.4/test/imghdrdata/python.jpg +0 -0
  1540. package/python3.4.2/lib/python3.4/test/imghdrdata/python.pbm +3 -0
  1541. package/python3.4.2/lib/python3.4/test/imghdrdata/python.pgm +0 -0
  1542. package/python3.4.2/lib/python3.4/test/imghdrdata/python.png +0 -0
  1543. package/python3.4.2/lib/python3.4/test/imghdrdata/python.ppm +0 -0
  1544. package/python3.4.2/lib/python3.4/test/imghdrdata/python.ras +0 -0
  1545. package/python3.4.2/lib/python3.4/test/imghdrdata/python.sgi +0 -0
  1546. package/python3.4.2/lib/python3.4/test/imghdrdata/python.tiff +0 -0
  1547. package/python3.4.2/lib/python3.4/test/imghdrdata/python.xbm +6 -0
  1548. package/python3.4.2/lib/python3.4/test/inspect_fodder.py +58 -0
  1549. package/python3.4.2/lib/python3.4/test/inspect_fodder2.py +111 -0
  1550. package/python3.4.2/lib/python3.4/test/keycert.passwd.pem +33 -0
  1551. package/python3.4.2/lib/python3.4/test/keycert.pem +31 -0
  1552. package/python3.4.2/lib/python3.4/test/keycert2.pem +31 -0
  1553. package/python3.4.2/lib/python3.4/test/keycert3.pem +73 -0
  1554. package/python3.4.2/lib/python3.4/test/keycert4.pem +73 -0
  1555. package/python3.4.2/lib/python3.4/test/list_tests.py +585 -0
  1556. package/python3.4.2/lib/python3.4/test/lock_tests.py +896 -0
  1557. package/python3.4.2/lib/python3.4/test/mailcap.txt +39 -0
  1558. package/python3.4.2/lib/python3.4/test/make_ssl_certs.py +176 -0
  1559. package/python3.4.2/lib/python3.4/test/mapping_tests.py +657 -0
  1560. package/python3.4.2/lib/python3.4/test/math_testcases.txt +633 -0
  1561. package/python3.4.2/lib/python3.4/test/memory_watchdog.py +28 -0
  1562. package/python3.4.2/lib/python3.4/test/mime.types +1445 -0
  1563. package/python3.4.2/lib/python3.4/test/mock_socket.py +156 -0
  1564. package/python3.4.2/lib/python3.4/test/mp_fork_bomb.py +18 -0
  1565. package/python3.4.2/lib/python3.4/test/multibytecodec_support.py +377 -0
  1566. package/python3.4.2/lib/python3.4/test/nokia.pem +31 -0
  1567. package/python3.4.2/lib/python3.4/test/nullbytecert.pem +90 -0
  1568. package/python3.4.2/lib/python3.4/test/nullcert.pem +0 -0
  1569. package/python3.4.2/lib/python3.4/test/outstanding_bugs.py +18 -0
  1570. package/python3.4.2/lib/python3.4/test/pickletester.py +2253 -0
  1571. package/python3.4.2/lib/python3.4/test/profilee.py +115 -0
  1572. package/python3.4.2/lib/python3.4/test/pstats.pck +0 -0
  1573. package/python3.4.2/lib/python3.4/test/pycacert.pem +78 -0
  1574. package/python3.4.2/lib/python3.4/test/pycakey.pem +28 -0
  1575. package/python3.4.2/lib/python3.4/test/pyclbr_input.py +33 -0
  1576. package/python3.4.2/lib/python3.4/test/pydoc_mod.py +37 -0
  1577. package/python3.4.2/lib/python3.4/test/pydocfodder.py +216 -0
  1578. package/python3.4.2/lib/python3.4/test/pystone.py +277 -0
  1579. package/python3.4.2/lib/python3.4/test/randv2_32.pck +633 -0
  1580. package/python3.4.2/lib/python3.4/test/randv2_64.pck +633 -0
  1581. package/python3.4.2/lib/python3.4/test/randv3.pck +633 -0
  1582. package/python3.4.2/lib/python3.4/test/re_tests.py +670 -0
  1583. package/python3.4.2/lib/python3.4/test/regrtest.py +1589 -0
  1584. package/python3.4.2/lib/python3.4/test/relimport.py +1 -0
  1585. package/python3.4.2/lib/python3.4/test/reperf.py +23 -0
  1586. package/python3.4.2/lib/python3.4/test/revocation.crl +11 -0
  1587. package/python3.4.2/lib/python3.4/test/sample_doctest.py +76 -0
  1588. package/python3.4.2/lib/python3.4/test/sample_doctest_no_docstrings.py +12 -0
  1589. package/python3.4.2/lib/python3.4/test/sample_doctest_no_doctests.py +15 -0
  1590. package/python3.4.2/lib/python3.4/test/script_helper.py +178 -0
  1591. package/python3.4.2/lib/python3.4/test/seq_tests.py +397 -0
  1592. package/python3.4.2/lib/python3.4/test/sgml_input.html +212 -0
  1593. package/python3.4.2/lib/python3.4/test/sha256.pem +128 -0
  1594. package/python3.4.2/lib/python3.4/test/sndhdrdata/README +12 -0
  1595. package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.8svx +0 -0
  1596. package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.aifc +0 -0
  1597. package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.aiff +0 -0
  1598. package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.au +0 -0
  1599. package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.hcom +0 -0
  1600. package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.sndt +0 -0
  1601. package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.voc +0 -0
  1602. package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.wav +0 -0
  1603. package/python3.4.2/lib/python3.4/test/sortperf.py +169 -0
  1604. package/python3.4.2/lib/python3.4/test/ssl_cert.pem +15 -0
  1605. package/python3.4.2/lib/python3.4/test/ssl_key.passwd.pem +18 -0
  1606. package/python3.4.2/lib/python3.4/test/ssl_key.pem +16 -0
  1607. package/python3.4.2/lib/python3.4/test/ssl_servers.py +205 -0
  1608. package/python3.4.2/lib/python3.4/test/ssltests.py +22 -0
  1609. package/python3.4.2/lib/python3.4/test/string_tests.py +1385 -0
  1610. package/python3.4.2/lib/python3.4/test/subprocessdata/fd_status.py +34 -0
  1611. package/python3.4.2/lib/python3.4/test/subprocessdata/input_reader.py +7 -0
  1612. package/python3.4.2/lib/python3.4/test/subprocessdata/qcat.py +7 -0
  1613. package/python3.4.2/lib/python3.4/test/subprocessdata/qgrep.py +10 -0
  1614. package/python3.4.2/lib/python3.4/test/subprocessdata/sigchild_ignore.py +15 -0
  1615. package/python3.4.2/lib/python3.4/test/support/__init__.py +2241 -0
  1616. package/python3.4.2/lib/python3.4/test/test___all__.py +117 -0
  1617. package/python3.4.2/lib/python3.4/test/test___future__.py +65 -0
  1618. package/python3.4.2/lib/python3.4/test/test__locale.py +170 -0
  1619. package/python3.4.2/lib/python3.4/test/test__opcode.py +23 -0
  1620. package/python3.4.2/lib/python3.4/test/test__osx_support.py +281 -0
  1621. package/python3.4.2/lib/python3.4/test/test_abc.py +408 -0
  1622. package/python3.4.2/lib/python3.4/test/test_abstract_numbers.py +44 -0
  1623. package/python3.4.2/lib/python3.4/test/test_aifc.py +384 -0
  1624. package/python3.4.2/lib/python3.4/test/test_argparse.py +4979 -0
  1625. package/python3.4.2/lib/python3.4/test/test_array.py +1323 -0
  1626. package/python3.4.2/lib/python3.4/test/test_ast.py +1038 -0
  1627. package/python3.4.2/lib/python3.4/test/test_asynchat.py +333 -0
  1628. package/python3.4.2/lib/python3.4/test/test_asyncio/__init__.py +10 -0
  1629. package/python3.4.2/lib/python3.4/test/test_asyncio/__main__.py +4 -0
  1630. package/python3.4.2/lib/python3.4/test/test_asyncio/echo.py +8 -0
  1631. package/python3.4.2/lib/python3.4/test/test_asyncio/echo2.py +6 -0
  1632. package/python3.4.2/lib/python3.4/test/test_asyncio/echo3.py +11 -0
  1633. package/python3.4.2/lib/python3.4/test/test_asyncio/keycert3.pem +73 -0
  1634. package/python3.4.2/lib/python3.4/test/test_asyncio/pycacert.pem +78 -0
  1635. package/python3.4.2/lib/python3.4/test/test_asyncio/ssl_cert.pem +15 -0
  1636. package/python3.4.2/lib/python3.4/test/test_asyncio/ssl_key.pem +16 -0
  1637. package/python3.4.2/lib/python3.4/test/test_asyncio/test_base_events.py +1064 -0
  1638. package/python3.4.2/lib/python3.4/test/test_asyncio/test_events.py +2240 -0
  1639. package/python3.4.2/lib/python3.4/test/test_asyncio/test_futures.py +442 -0
  1640. package/python3.4.2/lib/python3.4/test/test_asyncio/test_locks.py +858 -0
  1641. package/python3.4.2/lib/python3.4/test/test_asyncio/test_proactor_events.py +492 -0
  1642. package/python3.4.2/lib/python3.4/test/test_asyncio/test_queues.py +476 -0
  1643. package/python3.4.2/lib/python3.4/test/test_asyncio/test_selector_events.py +1737 -0
  1644. package/python3.4.2/lib/python3.4/test/test_asyncio/test_streams.py +628 -0
  1645. package/python3.4.2/lib/python3.4/test/test_asyncio/test_subprocess.py +217 -0
  1646. package/python3.4.2/lib/python3.4/test/test_asyncio/test_tasks.py +1977 -0
  1647. package/python3.4.2/lib/python3.4/test/test_asyncio/test_transports.py +90 -0
  1648. package/python3.4.2/lib/python3.4/test/test_asyncio/test_unix_events.py +1582 -0
  1649. package/python3.4.2/lib/python3.4/test/test_asyncio/test_windows_events.py +141 -0
  1650. package/python3.4.2/lib/python3.4/test/test_asyncio/test_windows_utils.py +171 -0
  1651. package/python3.4.2/lib/python3.4/test/test_asyncore.py +859 -0
  1652. package/python3.4.2/lib/python3.4/test/test_atexit.py +185 -0
  1653. package/python3.4.2/lib/python3.4/test/test_audioop.py +534 -0
  1654. package/python3.4.2/lib/python3.4/test/test_augassign.py +315 -0
  1655. package/python3.4.2/lib/python3.4/test/test_base64.py +666 -0
  1656. package/python3.4.2/lib/python3.4/test/test_bigaddrspace.py +101 -0
  1657. package/python3.4.2/lib/python3.4/test/test_bigmem.py +1257 -0
  1658. package/python3.4.2/lib/python3.4/test/test_binascii.py +270 -0
  1659. package/python3.4.2/lib/python3.4/test/test_binhex.py +56 -0
  1660. package/python3.4.2/lib/python3.4/test/test_binop.py +380 -0
  1661. package/python3.4.2/lib/python3.4/test/test_bisect.py +328 -0
  1662. package/python3.4.2/lib/python3.4/test/test_bool.py +347 -0
  1663. package/python3.4.2/lib/python3.4/test/test_buffer.py +4294 -0
  1664. package/python3.4.2/lib/python3.4/test/test_bufio.py +73 -0
  1665. package/python3.4.2/lib/python3.4/test/test_builtin.py +1637 -0
  1666. package/python3.4.2/lib/python3.4/test/test_bytes.py +1433 -0
  1667. package/python3.4.2/lib/python3.4/test/test_bz2.py +880 -0
  1668. package/python3.4.2/lib/python3.4/test/test_calendar.py +714 -0
  1669. package/python3.4.2/lib/python3.4/test/test_call.py +131 -0
  1670. package/python3.4.2/lib/python3.4/test/test_capi.py +469 -0
  1671. package/python3.4.2/lib/python3.4/test/test_cgi.py +489 -0
  1672. package/python3.4.2/lib/python3.4/test/test_cgitb.py +70 -0
  1673. package/python3.4.2/lib/python3.4/test/test_charmapcodec.py +56 -0
  1674. package/python3.4.2/lib/python3.4/test/test_class.py +552 -0
  1675. package/python3.4.2/lib/python3.4/test/test_cmath.py +536 -0
  1676. package/python3.4.2/lib/python3.4/test/test_cmd.py +243 -0
  1677. package/python3.4.2/lib/python3.4/test/test_cmd_line.py +473 -0
  1678. package/python3.4.2/lib/python3.4/test/test_cmd_line_script.py +481 -0
  1679. package/python3.4.2/lib/python3.4/test/test_code.py +170 -0
  1680. package/python3.4.2/lib/python3.4/test/test_code_module.py +86 -0
  1681. package/python3.4.2/lib/python3.4/test/test_codeccallbacks.py +880 -0
  1682. package/python3.4.2/lib/python3.4/test/test_codecencodings_cn.py +90 -0
  1683. package/python3.4.2/lib/python3.4/test/test_codecencodings_hk.py +26 -0
  1684. package/python3.4.2/lib/python3.4/test/test_codecencodings_iso2022.py +45 -0
  1685. package/python3.4.2/lib/python3.4/test/test_codecencodings_jp.py +130 -0
  1686. package/python3.4.2/lib/python3.4/test/test_codecencodings_kr.py +73 -0
  1687. package/python3.4.2/lib/python3.4/test/test_codecencodings_tw.py +26 -0
  1688. package/python3.4.2/lib/python3.4/test/test_codecmaps_cn.py +29 -0
  1689. package/python3.4.2/lib/python3.4/test/test_codecmaps_hk.py +16 -0
  1690. package/python3.4.2/lib/python3.4/test/test_codecmaps_jp.py +63 -0
  1691. package/python3.4.2/lib/python3.4/test/test_codecmaps_kr.py +40 -0
  1692. package/python3.4.2/lib/python3.4/test/test_codecmaps_tw.py +30 -0
  1693. package/python3.4.2/lib/python3.4/test/test_codecs.py +2901 -0
  1694. package/python3.4.2/lib/python3.4/test/test_codeop.py +304 -0
  1695. package/python3.4.2/lib/python3.4/test/test_collections.py +1552 -0
  1696. package/python3.4.2/lib/python3.4/test/test_colorsys.py +100 -0
  1697. package/python3.4.2/lib/python3.4/test/test_compare.py +67 -0
  1698. package/python3.4.2/lib/python3.4/test/test_compile.py +561 -0
  1699. package/python3.4.2/lib/python3.4/test/test_compileall.py +384 -0
  1700. package/python3.4.2/lib/python3.4/test/test_complex.py +638 -0
  1701. package/python3.4.2/lib/python3.4/test/test_concurrent_futures.py +685 -0
  1702. package/python3.4.2/lib/python3.4/test/test_configparser.py +1768 -0
  1703. package/python3.4.2/lib/python3.4/test/test_contains.py +93 -0
  1704. package/python3.4.2/lib/python3.4/test/test_contextlib.py +828 -0
  1705. package/python3.4.2/lib/python3.4/test/test_copy.py +759 -0
  1706. package/python3.4.2/lib/python3.4/test/test_copyreg.py +121 -0
  1707. package/python3.4.2/lib/python3.4/test/test_cprofile.py +98 -0
  1708. package/python3.4.2/lib/python3.4/test/test_crashers.py +38 -0
  1709. package/python3.4.2/lib/python3.4/test/test_crypt.py +33 -0
  1710. package/python3.4.2/lib/python3.4/test/test_csv.py +1074 -0
  1711. package/python3.4.2/lib/python3.4/test/test_ctypes.py +6 -0
  1712. package/python3.4.2/lib/python3.4/test/test_curses.py +395 -0
  1713. package/python3.4.2/lib/python3.4/test/test_datetime.py +48 -0
  1714. package/python3.4.2/lib/python3.4/test/test_dbm.py +193 -0
  1715. package/python3.4.2/lib/python3.4/test/test_dbm_dumb.py +228 -0
  1716. package/python3.4.2/lib/python3.4/test/test_dbm_gnu.py +97 -0
  1717. package/python3.4.2/lib/python3.4/test/test_dbm_ndbm.py +54 -0
  1718. package/python3.4.2/lib/python3.4/test/test_decimal.py +5504 -0
  1719. package/python3.4.2/lib/python3.4/test/test_decorators.py +309 -0
  1720. package/python3.4.2/lib/python3.4/test/test_defaultdict.py +190 -0
  1721. package/python3.4.2/lib/python3.4/test/test_deque.py +817 -0
  1722. package/python3.4.2/lib/python3.4/test/test_descr.py +5006 -0
  1723. package/python3.4.2/lib/python3.4/test/test_descrtut.py +485 -0
  1724. package/python3.4.2/lib/python3.4/test/test_devpoll.py +146 -0
  1725. package/python3.4.2/lib/python3.4/test/test_dict.py +928 -0
  1726. package/python3.4.2/lib/python3.4/test/test_dictcomps.py +88 -0
  1727. package/python3.4.2/lib/python3.4/test/test_dictviews.py +206 -0
  1728. package/python3.4.2/lib/python3.4/test/test_difflib.py +298 -0
  1729. package/python3.4.2/lib/python3.4/test/test_difflib_expect.html +526 -0
  1730. package/python3.4.2/lib/python3.4/test/test_dis.py +832 -0
  1731. package/python3.4.2/lib/python3.4/test/test_distutils.py +18 -0
  1732. package/python3.4.2/lib/python3.4/test/test_doctest.py +2921 -0
  1733. package/python3.4.2/lib/python3.4/test/test_doctest.txt +17 -0
  1734. package/python3.4.2/lib/python3.4/test/test_doctest2.py +123 -0
  1735. package/python3.4.2/lib/python3.4/test/test_doctest2.txt +14 -0
  1736. package/python3.4.2/lib/python3.4/test/test_doctest3.txt +5 -0
  1737. package/python3.4.2/lib/python3.4/test/test_doctest4.txt +11 -0
  1738. package/python3.4.2/lib/python3.4/test/test_docxmlrpc.py +219 -0
  1739. package/python3.4.2/lib/python3.4/test/test_dummy_thread.py +182 -0
  1740. package/python3.4.2/lib/python3.4/test/test_dummy_threading.py +64 -0
  1741. package/python3.4.2/lib/python3.4/test/test_dynamic.py +143 -0
  1742. package/python3.4.2/lib/python3.4/test/test_dynamicclassattribute.py +304 -0
  1743. package/python3.4.2/lib/python3.4/test/test_email/__init__.py +159 -0
  1744. package/python3.4.2/lib/python3.4/test/test_email/__main__.py +4 -0
  1745. package/python3.4.2/lib/python3.4/test/test_email/data/PyBanner048.gif +0 -0
  1746. package/python3.4.2/lib/python3.4/test/test_email/data/audiotest.au +0 -0
  1747. package/python3.4.2/lib/python3.4/test/test_email/data/msg_01.txt +19 -0
  1748. package/python3.4.2/lib/python3.4/test/test_email/data/msg_02.txt +136 -0
  1749. package/python3.4.2/lib/python3.4/test/test_email/data/msg_03.txt +16 -0
  1750. package/python3.4.2/lib/python3.4/test/test_email/data/msg_04.txt +37 -0
  1751. package/python3.4.2/lib/python3.4/test/test_email/data/msg_05.txt +28 -0
  1752. package/python3.4.2/lib/python3.4/test/test_email/data/msg_06.txt +33 -0
  1753. package/python3.4.2/lib/python3.4/test/test_email/data/msg_07.txt +83 -0
  1754. package/python3.4.2/lib/python3.4/test/test_email/data/msg_08.txt +24 -0
  1755. package/python3.4.2/lib/python3.4/test/test_email/data/msg_09.txt +24 -0
  1756. package/python3.4.2/lib/python3.4/test/test_email/data/msg_10.txt +39 -0
  1757. package/python3.4.2/lib/python3.4/test/test_email/data/msg_11.txt +7 -0
  1758. package/python3.4.2/lib/python3.4/test/test_email/data/msg_12.txt +36 -0
  1759. package/python3.4.2/lib/python3.4/test/test_email/data/msg_12a.txt +38 -0
  1760. package/python3.4.2/lib/python3.4/test/test_email/data/msg_13.txt +94 -0
  1761. package/python3.4.2/lib/python3.4/test/test_email/data/msg_14.txt +23 -0
  1762. package/python3.4.2/lib/python3.4/test/test_email/data/msg_15.txt +52 -0
  1763. package/python3.4.2/lib/python3.4/test/test_email/data/msg_16.txt +123 -0
  1764. package/python3.4.2/lib/python3.4/test/test_email/data/msg_17.txt +12 -0
  1765. package/python3.4.2/lib/python3.4/test/test_email/data/msg_18.txt +6 -0
  1766. package/python3.4.2/lib/python3.4/test/test_email/data/msg_19.txt +43 -0
  1767. package/python3.4.2/lib/python3.4/test/test_email/data/msg_20.txt +22 -0
  1768. package/python3.4.2/lib/python3.4/test/test_email/data/msg_21.txt +20 -0
  1769. package/python3.4.2/lib/python3.4/test/test_email/data/msg_22.txt +46 -0
  1770. package/python3.4.2/lib/python3.4/test/test_email/data/msg_23.txt +8 -0
  1771. package/python3.4.2/lib/python3.4/test/test_email/data/msg_24.txt +10 -0
  1772. package/python3.4.2/lib/python3.4/test/test_email/data/msg_25.txt +117 -0
  1773. package/python3.4.2/lib/python3.4/test/test_email/data/msg_26.txt +46 -0
  1774. package/python3.4.2/lib/python3.4/test/test_email/data/msg_27.txt +15 -0
  1775. package/python3.4.2/lib/python3.4/test/test_email/data/msg_28.txt +25 -0
  1776. package/python3.4.2/lib/python3.4/test/test_email/data/msg_29.txt +22 -0
  1777. package/python3.4.2/lib/python3.4/test/test_email/data/msg_30.txt +23 -0
  1778. package/python3.4.2/lib/python3.4/test/test_email/data/msg_31.txt +15 -0
  1779. package/python3.4.2/lib/python3.4/test/test_email/data/msg_32.txt +14 -0
  1780. package/python3.4.2/lib/python3.4/test/test_email/data/msg_33.txt +29 -0
  1781. package/python3.4.2/lib/python3.4/test/test_email/data/msg_34.txt +19 -0
  1782. package/python3.4.2/lib/python3.4/test/test_email/data/msg_35.txt +4 -0
  1783. package/python3.4.2/lib/python3.4/test/test_email/data/msg_36.txt +40 -0
  1784. package/python3.4.2/lib/python3.4/test/test_email/data/msg_37.txt +22 -0
  1785. package/python3.4.2/lib/python3.4/test/test_email/data/msg_38.txt +101 -0
  1786. package/python3.4.2/lib/python3.4/test/test_email/data/msg_39.txt +83 -0
  1787. package/python3.4.2/lib/python3.4/test/test_email/data/msg_40.txt +10 -0
  1788. package/python3.4.2/lib/python3.4/test/test_email/data/msg_41.txt +8 -0
  1789. package/python3.4.2/lib/python3.4/test/test_email/data/msg_42.txt +20 -0
  1790. package/python3.4.2/lib/python3.4/test/test_email/data/msg_43.txt +217 -0
  1791. package/python3.4.2/lib/python3.4/test/test_email/data/msg_44.txt +33 -0
  1792. package/python3.4.2/lib/python3.4/test/test_email/data/msg_45.txt +33 -0
  1793. package/python3.4.2/lib/python3.4/test/test_email/data/msg_46.txt +23 -0
  1794. package/python3.4.2/lib/python3.4/test/test_email/test__encoded_words.py +192 -0
  1795. package/python3.4.2/lib/python3.4/test/test_email/test__header_value_parser.py +2606 -0
  1796. package/python3.4.2/lib/python3.4/test/test_email/test_asian_codecs.py +82 -0
  1797. package/python3.4.2/lib/python3.4/test/test_email/test_contentmanager.py +796 -0
  1798. package/python3.4.2/lib/python3.4/test/test_email/test_defect_handling.py +320 -0
  1799. package/python3.4.2/lib/python3.4/test/test_email/test_email.py +5289 -0
  1800. package/python3.4.2/lib/python3.4/test/test_email/test_generator.py +199 -0
  1801. package/python3.4.2/lib/python3.4/test/test_email/test_headerregistry.py +1594 -0
  1802. package/python3.4.2/lib/python3.4/test/test_email/test_inversion.py +49 -0
  1803. package/python3.4.2/lib/python3.4/test/test_email/test_message.py +783 -0
  1804. package/python3.4.2/lib/python3.4/test/test_email/test_parser.py +36 -0
  1805. package/python3.4.2/lib/python3.4/test/test_email/test_pickleable.py +74 -0
  1806. package/python3.4.2/lib/python3.4/test/test_email/test_policy.py +332 -0
  1807. package/python3.4.2/lib/python3.4/test/test_email/test_utils.py +140 -0
  1808. package/python3.4.2/lib/python3.4/test/test_email/torture_test.py +136 -0
  1809. package/python3.4.2/lib/python3.4/test/test_ensurepip.py +345 -0
  1810. package/python3.4.2/lib/python3.4/test/test_enum.py +1592 -0
  1811. package/python3.4.2/lib/python3.4/test/test_enumerate.py +272 -0
  1812. package/python3.4.2/lib/python3.4/test/test_eof.py +31 -0
  1813. package/python3.4.2/lib/python3.4/test/test_epoll.py +259 -0
  1814. package/python3.4.2/lib/python3.4/test/test_errno.py +40 -0
  1815. package/python3.4.2/lib/python3.4/test/test_exception_variations.py +180 -0
  1816. package/python3.4.2/lib/python3.4/test/test_exceptions.py +978 -0
  1817. package/python3.4.2/lib/python3.4/test/test_extcall.py +349 -0
  1818. package/python3.4.2/lib/python3.4/test/test_faulthandler.py +623 -0
  1819. package/python3.4.2/lib/python3.4/test/test_fcntl.py +152 -0
  1820. package/python3.4.2/lib/python3.4/test/test_file.py +329 -0
  1821. package/python3.4.2/lib/python3.4/test/test_file_eintr.py +236 -0
  1822. package/python3.4.2/lib/python3.4/test/test_filecmp.py +217 -0
  1823. package/python3.4.2/lib/python3.4/test/test_fileinput.py +891 -0
  1824. package/python3.4.2/lib/python3.4/test/test_fileio.py +480 -0
  1825. package/python3.4.2/lib/python3.4/test/test_finalization.py +522 -0
  1826. package/python3.4.2/lib/python3.4/test/test_float.py +1312 -0
  1827. package/python3.4.2/lib/python3.4/test/test_flufl.py +27 -0
  1828. package/python3.4.2/lib/python3.4/test/test_fnmatch.py +89 -0
  1829. package/python3.4.2/lib/python3.4/test/test_fork1.py +111 -0
  1830. package/python3.4.2/lib/python3.4/test/test_format.py +362 -0
  1831. package/python3.4.2/lib/python3.4/test/test_fractions.py +612 -0
  1832. package/python3.4.2/lib/python3.4/test/test_frame.py +168 -0
  1833. package/python3.4.2/lib/python3.4/test/test_ftplib.py +1080 -0
  1834. package/python3.4.2/lib/python3.4/test/test_funcattrs.py +385 -0
  1835. package/python3.4.2/lib/python3.4/test/test_functools.py +1584 -0
  1836. package/python3.4.2/lib/python3.4/test/test_future.py +125 -0
  1837. package/python3.4.2/lib/python3.4/test/test_future3.py +26 -0
  1838. package/python3.4.2/lib/python3.4/test/test_future4.py +6 -0
  1839. package/python3.4.2/lib/python3.4/test/test_future5.py +21 -0
  1840. package/python3.4.2/lib/python3.4/test/test_gc.py +1013 -0
  1841. package/python3.4.2/lib/python3.4/test/test_gdb.py +870 -0
  1842. package/python3.4.2/lib/python3.4/test/test_generators.py +1940 -0
  1843. package/python3.4.2/lib/python3.4/test/test_genericpath.py +439 -0
  1844. package/python3.4.2/lib/python3.4/test/test_genexps.py +285 -0
  1845. package/python3.4.2/lib/python3.4/test/test_getargs2.py +615 -0
  1846. package/python3.4.2/lib/python3.4/test/test_getopt.py +187 -0
  1847. package/python3.4.2/lib/python3.4/test/test_getpass.py +163 -0
  1848. package/python3.4.2/lib/python3.4/test/test_gettext.py +467 -0
  1849. package/python3.4.2/lib/python3.4/test/test_glob.py +200 -0
  1850. package/python3.4.2/lib/python3.4/test/test_global.py +61 -0
  1851. package/python3.4.2/lib/python3.4/test/test_grammar.py +1024 -0
  1852. package/python3.4.2/lib/python3.4/test/test_grp.py +99 -0
  1853. package/python3.4.2/lib/python3.4/test/test_gzip.py +561 -0
  1854. package/python3.4.2/lib/python3.4/test/test_hash.py +346 -0
  1855. package/python3.4.2/lib/python3.4/test/test_hashlib.py +533 -0
  1856. package/python3.4.2/lib/python3.4/test/test_heapq.py +417 -0
  1857. package/python3.4.2/lib/python3.4/test/test_hmac.py +506 -0
  1858. package/python3.4.2/lib/python3.4/test/test_html.py +104 -0
  1859. package/python3.4.2/lib/python3.4/test/test_htmlparser.py +832 -0
  1860. package/python3.4.2/lib/python3.4/test/test_http_cookiejar.py +1714 -0
  1861. package/python3.4.2/lib/python3.4/test/test_http_cookies.py +243 -0
  1862. package/python3.4.2/lib/python3.4/test/test_httplib.py +1025 -0
  1863. package/python3.4.2/lib/python3.4/test/test_httpservers.py +770 -0
  1864. package/python3.4.2/lib/python3.4/test/test_idle.py +16 -0
  1865. package/python3.4.2/lib/python3.4/test/test_imaplib.py +504 -0
  1866. package/python3.4.2/lib/python3.4/test/test_imghdr.py +131 -0
  1867. package/python3.4.2/lib/python3.4/test/test_imp.py +485 -0
  1868. package/python3.4.2/lib/python3.4/test/test_import.py +1072 -0
  1869. package/python3.4.2/lib/python3.4/test/test_importlib/__init__.py +5 -0
  1870. package/python3.4.2/lib/python3.4/test/test_importlib/__main__.py +4 -0
  1871. package/python3.4.2/lib/python3.4/test/test_importlib/abc.py +94 -0
  1872. package/python3.4.2/lib/python3.4/test/test_importlib/builtin/__init__.py +5 -0
  1873. package/python3.4.2/lib/python3.4/test/test_importlib/builtin/__main__.py +4 -0
  1874. package/python3.4.2/lib/python3.4/test/test_importlib/builtin/test_finder.py +85 -0
  1875. package/python3.4.2/lib/python3.4/test/test_importlib/builtin/test_loader.py +106 -0
  1876. package/python3.4.2/lib/python3.4/test/test_importlib/builtin/util.py +7 -0
  1877. package/python3.4.2/lib/python3.4/test/test_importlib/extension/__init__.py +5 -0
  1878. package/python3.4.2/lib/python3.4/test/test_importlib/extension/__main__.py +4 -0
  1879. package/python3.4.2/lib/python3.4/test/test_importlib/extension/test_case_sensitivity.py +51 -0
  1880. package/python3.4.2/lib/python3.4/test/test_importlib/extension/test_finder.py +44 -0
  1881. package/python3.4.2/lib/python3.4/test/test_importlib/extension/test_loader.py +86 -0
  1882. package/python3.4.2/lib/python3.4/test/test_importlib/extension/test_path_hook.py +32 -0
  1883. package/python3.4.2/lib/python3.4/test/test_importlib/extension/util.py +19 -0
  1884. package/python3.4.2/lib/python3.4/test/test_importlib/frozen/__init__.py +5 -0
  1885. package/python3.4.2/lib/python3.4/test/test_importlib/frozen/__main__.py +4 -0
  1886. package/python3.4.2/lib/python3.4/test/test_importlib/frozen/test_finder.py +80 -0
  1887. package/python3.4.2/lib/python3.4/test/test_importlib/frozen/test_loader.py +222 -0
  1888. package/python3.4.2/lib/python3.4/test/test_importlib/import_/__init__.py +5 -0
  1889. package/python3.4.2/lib/python3.4/test/test_importlib/import_/__main__.py +4 -0
  1890. package/python3.4.2/lib/python3.4/test/test_importlib/import_/test___loader__.py +70 -0
  1891. package/python3.4.2/lib/python3.4/test/test_importlib/import_/test___package__.py +133 -0
  1892. package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_api.py +94 -0
  1893. package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_caching.py +92 -0
  1894. package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_fromlist.py +129 -0
  1895. package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_meta_path.py +119 -0
  1896. package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_packages.py +110 -0
  1897. package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_path.py +144 -0
  1898. package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_relative_imports.py +216 -0
  1899. package/python3.4.2/lib/python3.4/test/test_importlib/import_/util.py +20 -0
  1900. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/both_portions/foo/one.py +1 -0
  1901. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/both_portions/foo/two.py +1 -0
  1902. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/missing_directory.zip +0 -0
  1903. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test/empty +0 -0
  1904. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test.py +1 -0
  1905. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/nested_portion1.zip +0 -0
  1906. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/not_a_namespace_pkg/foo/__init__.py +0 -0
  1907. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/not_a_namespace_pkg/foo/one.py +1 -0
  1908. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/portion1/foo/one.py +1 -0
  1909. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/portion2/foo/two.py +1 -0
  1910. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/project1/parent/child/one.py +1 -0
  1911. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/project2/parent/child/two.py +1 -0
  1912. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/project3/parent/child/three.py +1 -0
  1913. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/top_level_portion1.zip +0 -0
  1914. package/python3.4.2/lib/python3.4/test/test_importlib/regrtest.py +17 -0
  1915. package/python3.4.2/lib/python3.4/test/test_importlib/source/__init__.py +5 -0
  1916. package/python3.4.2/lib/python3.4/test/test_importlib/source/__main__.py +4 -0
  1917. package/python3.4.2/lib/python3.4/test/test_importlib/source/test_case_sensitivity.py +83 -0
  1918. package/python3.4.2/lib/python3.4/test/test_importlib/source/test_file_loader.py +588 -0
  1919. package/python3.4.2/lib/python3.4/test/test_importlib/source/test_finder.py +232 -0
  1920. package/python3.4.2/lib/python3.4/test/test_importlib/source/test_path_hook.py +30 -0
  1921. package/python3.4.2/lib/python3.4/test/test_importlib/source/test_source_encoding.py +165 -0
  1922. package/python3.4.2/lib/python3.4/test/test_importlib/source/util.py +96 -0
  1923. package/python3.4.2/lib/python3.4/test/test_importlib/test_abc.py +951 -0
  1924. package/python3.4.2/lib/python3.4/test/test_importlib/test_api.py +437 -0
  1925. package/python3.4.2/lib/python3.4/test/test_importlib/test_locks.py +156 -0
  1926. package/python3.4.2/lib/python3.4/test/test_importlib/test_namespace_pkgs.py +293 -0
  1927. package/python3.4.2/lib/python3.4/test/test_importlib/test_spec.py +957 -0
  1928. package/python3.4.2/lib/python3.4/test/test_importlib/test_util.py +592 -0
  1929. package/python3.4.2/lib/python3.4/test/test_importlib/test_windows.py +29 -0
  1930. package/python3.4.2/lib/python3.4/test/test_importlib/util.py +225 -0
  1931. package/python3.4.2/lib/python3.4/test/test_index.py +275 -0
  1932. package/python3.4.2/lib/python3.4/test/test_inspect.py +3103 -0
  1933. package/python3.4.2/lib/python3.4/test/test_int.py +458 -0
  1934. package/python3.4.2/lib/python3.4/test/test_int_literal.py +147 -0
  1935. package/python3.4.2/lib/python3.4/test/test_io.py +3481 -0
  1936. package/python3.4.2/lib/python3.4/test/test_ioctl.py +91 -0
  1937. package/python3.4.2/lib/python3.4/test/test_ipaddress.py +1693 -0
  1938. package/python3.4.2/lib/python3.4/test/test_isinstance.py +289 -0
  1939. package/python3.4.2/lib/python3.4/test/test_iter.py +927 -0
  1940. package/python3.4.2/lib/python3.4/test/test_iterlen.py +229 -0
  1941. package/python3.4.2/lib/python3.4/test/test_itertools.py +2142 -0
  1942. package/python3.4.2/lib/python3.4/test/test_json/__init__.py +53 -0
  1943. package/python3.4.2/lib/python3.4/test/test_json/__main__.py +4 -0
  1944. package/python3.4.2/lib/python3.4/test/test_json/test_decode.py +99 -0
  1945. package/python3.4.2/lib/python3.4/test/test_json/test_default.py +12 -0
  1946. package/python3.4.2/lib/python3.4/test/test_json/test_dump.py +49 -0
  1947. package/python3.4.2/lib/python3.4/test/test_json/test_encode_basestring_ascii.py +44 -0
  1948. package/python3.4.2/lib/python3.4/test/test_json/test_enum.py +120 -0
  1949. package/python3.4.2/lib/python3.4/test/test_json/test_fail.py +194 -0
  1950. package/python3.4.2/lib/python3.4/test/test_json/test_float.py +33 -0
  1951. package/python3.4.2/lib/python3.4/test/test_json/test_indent.py +67 -0
  1952. package/python3.4.2/lib/python3.4/test/test_json/test_pass1.py +75 -0
  1953. package/python3.4.2/lib/python3.4/test/test_json/test_pass2.py +18 -0
  1954. package/python3.4.2/lib/python3.4/test/test_json/test_pass3.py +24 -0
  1955. package/python3.4.2/lib/python3.4/test/test_json/test_recursion.py +100 -0
  1956. package/python3.4.2/lib/python3.4/test/test_json/test_scanstring.py +141 -0
  1957. package/python3.4.2/lib/python3.4/test/test_json/test_separators.py +44 -0
  1958. package/python3.4.2/lib/python3.4/test/test_json/test_speedups.py +24 -0
  1959. package/python3.4.2/lib/python3.4/test/test_json/test_tool.py +69 -0
  1960. package/python3.4.2/lib/python3.4/test/test_json/test_unicode.py +75 -0
  1961. package/python3.4.2/lib/python3.4/test/test_keyword.py +138 -0
  1962. package/python3.4.2/lib/python3.4/test/test_keywordonlyarg.py +193 -0
  1963. package/python3.4.2/lib/python3.4/test/test_kqueue.py +219 -0
  1964. package/python3.4.2/lib/python3.4/test/test_largefile.py +180 -0
  1965. package/python3.4.2/lib/python3.4/test/test_lib2to3.py +22 -0
  1966. package/python3.4.2/lib/python3.4/test/test_linecache.py +133 -0
  1967. package/python3.4.2/lib/python3.4/test/test_list.py +125 -0
  1968. package/python3.4.2/lib/python3.4/test/test_listcomps.py +148 -0
  1969. package/python3.4.2/lib/python3.4/test/test_locale.py +528 -0
  1970. package/python3.4.2/lib/python3.4/test/test_logging.py +4179 -0
  1971. package/python3.4.2/lib/python3.4/test/test_long.py +1250 -0
  1972. package/python3.4.2/lib/python3.4/test/test_longexp.py +14 -0
  1973. package/python3.4.2/lib/python3.4/test/test_lzma.py +1592 -0
  1974. package/python3.4.2/lib/python3.4/test/test_macpath.py +123 -0
  1975. package/python3.4.2/lib/python3.4/test/test_macurl2path.py +31 -0
  1976. package/python3.4.2/lib/python3.4/test/test_mailbox.py +2287 -0
  1977. package/python3.4.2/lib/python3.4/test/test_mailcap.py +221 -0
  1978. package/python3.4.2/lib/python3.4/test/test_marshal.py +451 -0
  1979. package/python3.4.2/lib/python3.4/test/test_math.py +1107 -0
  1980. package/python3.4.2/lib/python3.4/test/test_memoryio.py +784 -0
  1981. package/python3.4.2/lib/python3.4/test/test_memoryview.py +478 -0
  1982. package/python3.4.2/lib/python3.4/test/test_metaclass.py +265 -0
  1983. package/python3.4.2/lib/python3.4/test/test_mimetypes.py +111 -0
  1984. package/python3.4.2/lib/python3.4/test/test_minidom.py +1545 -0
  1985. package/python3.4.2/lib/python3.4/test/test_mmap.py +774 -0
  1986. package/python3.4.2/lib/python3.4/test/test_module.py +222 -0
  1987. package/python3.4.2/lib/python3.4/test/test_modulefinder.py +324 -0
  1988. package/python3.4.2/lib/python3.4/test/test_msilib.py +46 -0
  1989. package/python3.4.2/lib/python3.4/test/test_multibytecodec.py +263 -0
  1990. package/python3.4.2/lib/python3.4/test/test_multiprocessing_fork.py +7 -0
  1991. package/python3.4.2/lib/python3.4/test/test_multiprocessing_forkserver.py +7 -0
  1992. package/python3.4.2/lib/python3.4/test/test_multiprocessing_main_handling.py +289 -0
  1993. package/python3.4.2/lib/python3.4/test/test_multiprocessing_spawn.py +7 -0
  1994. package/python3.4.2/lib/python3.4/test/test_netrc.py +130 -0
  1995. package/python3.4.2/lib/python3.4/test/test_nis.py +43 -0
  1996. package/python3.4.2/lib/python3.4/test/test_nntplib.py +1429 -0
  1997. package/python3.4.2/lib/python3.4/test/test_normalization.py +104 -0
  1998. package/python3.4.2/lib/python3.4/test/test_ntpath.py +385 -0
  1999. package/python3.4.2/lib/python3.4/test/test_numeric_tower.py +206 -0
  2000. package/python3.4.2/lib/python3.4/test/test_opcodes.py +112 -0
  2001. package/python3.4.2/lib/python3.4/test/test_openpty.py +25 -0
  2002. package/python3.4.2/lib/python3.4/test/test_operator.py +484 -0
  2003. package/python3.4.2/lib/python3.4/test/test_optparse.py +1657 -0
  2004. package/python3.4.2/lib/python3.4/test/test_os.py +2550 -0
  2005. package/python3.4.2/lib/python3.4/test/test_ossaudiodev.py +202 -0
  2006. package/python3.4.2/lib/python3.4/test/test_osx_env.py +34 -0
  2007. package/python3.4.2/lib/python3.4/test/test_parser.py +745 -0
  2008. package/python3.4.2/lib/python3.4/test/test_pathlib.py +1884 -0
  2009. package/python3.4.2/lib/python3.4/test/test_pdb.py +1052 -0
  2010. package/python3.4.2/lib/python3.4/test/test_peepholer.py +339 -0
  2011. package/python3.4.2/lib/python3.4/test/test_pep247.py +70 -0
  2012. package/python3.4.2/lib/python3.4/test/test_pep277.py +201 -0
  2013. package/python3.4.2/lib/python3.4/test/test_pep292.py +247 -0
  2014. package/python3.4.2/lib/python3.4/test/test_pep3120.py +47 -0
  2015. package/python3.4.2/lib/python3.4/test/test_pep3131.py +35 -0
  2016. package/python3.4.2/lib/python3.4/test/test_pep3151.py +209 -0
  2017. package/python3.4.2/lib/python3.4/test/test_pep352.py +184 -0
  2018. package/python3.4.2/lib/python3.4/test/test_pep380.py +1023 -0
  2019. package/python3.4.2/lib/python3.4/test/test_pickle.py +156 -0
  2020. package/python3.4.2/lib/python3.4/test/test_pickletools.py +25 -0
  2021. package/python3.4.2/lib/python3.4/test/test_pipes.py +196 -0
  2022. package/python3.4.2/lib/python3.4/test/test_pkg.py +299 -0
  2023. package/python3.4.2/lib/python3.4/test/test_pkgimport.py +84 -0
  2024. package/python3.4.2/lib/python3.4/test/test_pkgutil.py +410 -0
  2025. package/python3.4.2/lib/python3.4/test/test_platform.py +320 -0
  2026. package/python3.4.2/lib/python3.4/test/test_plistlib.py +526 -0
  2027. package/python3.4.2/lib/python3.4/test/test_poll.py +215 -0
  2028. package/python3.4.2/lib/python3.4/test/test_popen.py +64 -0
  2029. package/python3.4.2/lib/python3.4/test/test_poplib.py +507 -0
  2030. package/python3.4.2/lib/python3.4/test/test_posix.py +1183 -0
  2031. package/python3.4.2/lib/python3.4/test/test_posixpath.py +544 -0
  2032. package/python3.4.2/lib/python3.4/test/test_pow.py +129 -0
  2033. package/python3.4.2/lib/python3.4/test/test_pprint.py +602 -0
  2034. package/python3.4.2/lib/python3.4/test/test_print.py +132 -0
  2035. package/python3.4.2/lib/python3.4/test/test_profile.py +187 -0
  2036. package/python3.4.2/lib/python3.4/test/test_property.py +254 -0
  2037. package/python3.4.2/lib/python3.4/test/test_pstats.py +45 -0
  2038. package/python3.4.2/lib/python3.4/test/test_pty.py +302 -0
  2039. package/python3.4.2/lib/python3.4/test/test_pulldom.py +347 -0
  2040. package/python3.4.2/lib/python3.4/test/test_pwd.py +114 -0
  2041. package/python3.4.2/lib/python3.4/test/test_py_compile.py +103 -0
  2042. package/python3.4.2/lib/python3.4/test/test_pyclbr.py +181 -0
  2043. package/python3.4.2/lib/python3.4/test/test_pydoc.py +1003 -0
  2044. package/python3.4.2/lib/python3.4/test/test_pyexpat.py +708 -0
  2045. package/python3.4.2/lib/python3.4/test/test_queue.py +363 -0
  2046. package/python3.4.2/lib/python3.4/test/test_quopri.py +208 -0
  2047. package/python3.4.2/lib/python3.4/test/test_raise.py +422 -0
  2048. package/python3.4.2/lib/python3.4/test/test_random.py +759 -0
  2049. package/python3.4.2/lib/python3.4/test/test_range.py +652 -0
  2050. package/python3.4.2/lib/python3.4/test/test_re.py +1451 -0
  2051. package/python3.4.2/lib/python3.4/test/test_readline.py +60 -0
  2052. package/python3.4.2/lib/python3.4/test/test_regrtest.py +275 -0
  2053. package/python3.4.2/lib/python3.4/test/test_reprlib.py +383 -0
  2054. package/python3.4.2/lib/python3.4/test/test_resource.py +166 -0
  2055. package/python3.4.2/lib/python3.4/test/test_richcmp.py +333 -0
  2056. package/python3.4.2/lib/python3.4/test/test_rlcompleter.py +73 -0
  2057. package/python3.4.2/lib/python3.4/test/test_robotparser.py +320 -0
  2058. package/python3.4.2/lib/python3.4/test/test_runpy.py +691 -0
  2059. package/python3.4.2/lib/python3.4/test/test_sax.py +1007 -0
  2060. package/python3.4.2/lib/python3.4/test/test_sched.py +199 -0
  2061. package/python3.4.2/lib/python3.4/test/test_scope.py +764 -0
  2062. package/python3.4.2/lib/python3.4/test/test_select.py +83 -0
  2063. package/python3.4.2/lib/python3.4/test/test_selectors.py +453 -0
  2064. package/python3.4.2/lib/python3.4/test/test_set.py +1839 -0
  2065. package/python3.4.2/lib/python3.4/test/test_setcomps.py +151 -0
  2066. package/python3.4.2/lib/python3.4/test/test_shelve.py +224 -0
  2067. package/python3.4.2/lib/python3.4/test/test_shlex.py +202 -0
  2068. package/python3.4.2/lib/python3.4/test/test_shutil.py +1766 -0
  2069. package/python3.4.2/lib/python3.4/test/test_signal.py +940 -0
  2070. package/python3.4.2/lib/python3.4/test/test_site.py +468 -0
  2071. package/python3.4.2/lib/python3.4/test/test_slice.py +247 -0
  2072. package/python3.4.2/lib/python3.4/test/test_smtpd.py +557 -0
  2073. package/python3.4.2/lib/python3.4/test/test_smtplib.py +950 -0
  2074. package/python3.4.2/lib/python3.4/test/test_smtpnet.py +86 -0
  2075. package/python3.4.2/lib/python3.4/test/test_sndhdr.py +23 -0
  2076. package/python3.4.2/lib/python3.4/test/test_socket.py +5163 -0
  2077. package/python3.4.2/lib/python3.4/test/test_socketserver.py +314 -0
  2078. package/python3.4.2/lib/python3.4/test/test_sort.py +285 -0
  2079. package/python3.4.2/lib/python3.4/test/test_source_encoding.py +145 -0
  2080. package/python3.4.2/lib/python3.4/test/test_spwd.py +60 -0
  2081. package/python3.4.2/lib/python3.4/test/test_sqlite.py +24 -0
  2082. package/python3.4.2/lib/python3.4/test/test_ssl.py +2908 -0
  2083. package/python3.4.2/lib/python3.4/test/test_startfile.py +37 -0
  2084. package/python3.4.2/lib/python3.4/test/test_stat.py +202 -0
  2085. package/python3.4.2/lib/python3.4/test/test_statistics.py +1574 -0
  2086. package/python3.4.2/lib/python3.4/test/test_strftime.py +204 -0
  2087. package/python3.4.2/lib/python3.4/test/test_string.py +174 -0
  2088. package/python3.4.2/lib/python3.4/test/test_stringprep.py +96 -0
  2089. package/python3.4.2/lib/python3.4/test/test_strlit.py +206 -0
  2090. package/python3.4.2/lib/python3.4/test/test_strptime.py +577 -0
  2091. package/python3.4.2/lib/python3.4/test/test_strtod.py +436 -0
  2092. package/python3.4.2/lib/python3.4/test/test_struct.py +667 -0
  2093. package/python3.4.2/lib/python3.4/test/test_structmembers.py +147 -0
  2094. package/python3.4.2/lib/python3.4/test/test_structseq.py +130 -0
  2095. package/python3.4.2/lib/python3.4/test/test_subprocess.py +2474 -0
  2096. package/python3.4.2/lib/python3.4/test/test_sunau.py +122 -0
  2097. package/python3.4.2/lib/python3.4/test/test_sundry.py +59 -0
  2098. package/python3.4.2/lib/python3.4/test/test_super.py +181 -0
  2099. package/python3.4.2/lib/python3.4/test/test_support.py +315 -0
  2100. package/python3.4.2/lib/python3.4/test/test_symtable.py +176 -0
  2101. package/python3.4.2/lib/python3.4/test/test_syntax.py +593 -0
  2102. package/python3.4.2/lib/python3.4/test/test_sys.py +1000 -0
  2103. package/python3.4.2/lib/python3.4/test/test_sys_setprofile.py +386 -0
  2104. package/python3.4.2/lib/python3.4/test/test_sys_settrace.py +834 -0
  2105. package/python3.4.2/lib/python3.4/test/test_sysconfig.py +423 -0
  2106. package/python3.4.2/lib/python3.4/test/test_syslog.py +43 -0
  2107. package/python3.4.2/lib/python3.4/test/test_tarfile.py +2180 -0
  2108. package/python3.4.2/lib/python3.4/test/test_tcl.py +642 -0
  2109. package/python3.4.2/lib/python3.4/test/test_telnetlib.py +401 -0
  2110. package/python3.4.2/lib/python3.4/test/test_tempfile.py +1248 -0
  2111. package/python3.4.2/lib/python3.4/test/test_textwrap.py +929 -0
  2112. package/python3.4.2/lib/python3.4/test/test_thread.py +260 -0
  2113. package/python3.4.2/lib/python3.4/test/test_threaded_import.py +244 -0
  2114. package/python3.4.2/lib/python3.4/test/test_threadedtempfile.py +78 -0
  2115. package/python3.4.2/lib/python3.4/test/test_threading.py +1021 -0
  2116. package/python3.4.2/lib/python3.4/test/test_threading_local.py +225 -0
  2117. package/python3.4.2/lib/python3.4/test/test_threadsignals.py +227 -0
  2118. package/python3.4.2/lib/python3.4/test/test_time.py +763 -0
  2119. package/python3.4.2/lib/python3.4/test/test_timeit.py +306 -0
  2120. package/python3.4.2/lib/python3.4/test/test_timeout.py +303 -0
  2121. package/python3.4.2/lib/python3.4/test/test_tk.py +18 -0
  2122. package/python3.4.2/lib/python3.4/test/test_tokenize.py +1233 -0
  2123. package/python3.4.2/lib/python3.4/test/test_trace.py +415 -0
  2124. package/python3.4.2/lib/python3.4/test/test_traceback.py +451 -0
  2125. package/python3.4.2/lib/python3.4/test/test_tracemalloc.py +826 -0
  2126. package/python3.4.2/lib/python3.4/test/test_ttk_guionly.py +37 -0
  2127. package/python3.4.2/lib/python3.4/test/test_ttk_textonly.py +17 -0
  2128. package/python3.4.2/lib/python3.4/test/test_tuple.py +208 -0
  2129. package/python3.4.2/lib/python3.4/test/test_typechecks.py +76 -0
  2130. package/python3.4.2/lib/python3.4/test/test_types.py +1178 -0
  2131. package/python3.4.2/lib/python3.4/test/test_ucn.py +240 -0
  2132. package/python3.4.2/lib/python3.4/test/test_unary.py +58 -0
  2133. package/python3.4.2/lib/python3.4/test/test_unicode.py +2596 -0
  2134. package/python3.4.2/lib/python3.4/test/test_unicode_file.py +144 -0
  2135. package/python3.4.2/lib/python3.4/test/test_unicodedata.py +323 -0
  2136. package/python3.4.2/lib/python3.4/test/test_unittest.py +16 -0
  2137. package/python3.4.2/lib/python3.4/test/test_univnewlines.py +123 -0
  2138. package/python3.4.2/lib/python3.4/test/test_unpack.py +130 -0
  2139. package/python3.4.2/lib/python3.4/test/test_unpack_ex.py +174 -0
  2140. package/python3.4.2/lib/python3.4/test/test_urllib.py +1486 -0
  2141. package/python3.4.2/lib/python3.4/test/test_urllib2.py +1646 -0
  2142. package/python3.4.2/lib/python3.4/test/test_urllib2_localnet.py +690 -0
  2143. package/python3.4.2/lib/python3.4/test/test_urllib2net.py +342 -0
  2144. package/python3.4.2/lib/python3.4/test/test_urllib_response.py +59 -0
  2145. package/python3.4.2/lib/python3.4/test/test_urllibnet.py +212 -0
  2146. package/python3.4.2/lib/python3.4/test/test_urlparse.py +879 -0
  2147. package/python3.4.2/lib/python3.4/test/test_userdict.py +199 -0
  2148. package/python3.4.2/lib/python3.4/test/test_userlist.py +65 -0
  2149. package/python3.4.2/lib/python3.4/test/test_userstring.py +47 -0
  2150. package/python3.4.2/lib/python3.4/test/test_uu.py +239 -0
  2151. package/python3.4.2/lib/python3.4/test/test_uuid.py +498 -0
  2152. package/python3.4.2/lib/python3.4/test/test_venv.py +406 -0
  2153. package/python3.4.2/lib/python3.4/test/test_wait3.py +38 -0
  2154. package/python3.4.2/lib/python3.4/test/test_wait4.py +38 -0
  2155. package/python3.4.2/lib/python3.4/test/test_warnings.py +873 -0
  2156. package/python3.4.2/lib/python3.4/test/test_wave.py +107 -0
  2157. package/python3.4.2/lib/python3.4/test/test_weakref.py +1801 -0
  2158. package/python3.4.2/lib/python3.4/test/test_weakset.py +450 -0
  2159. package/python3.4.2/lib/python3.4/test/test_webbrowser.py +192 -0
  2160. package/python3.4.2/lib/python3.4/test/test_winreg.py +485 -0
  2161. package/python3.4.2/lib/python3.4/test/test_winsound.py +253 -0
  2162. package/python3.4.2/lib/python3.4/test/test_with.py +750 -0
  2163. package/python3.4.2/lib/python3.4/test/test_wsgiref.py +640 -0
  2164. package/python3.4.2/lib/python3.4/test/test_xdrlib.py +58 -0
  2165. package/python3.4.2/lib/python3.4/test/test_xml_dom_minicompat.py +101 -0
  2166. package/python3.4.2/lib/python3.4/test/test_xml_etree.py +2587 -0
  2167. package/python3.4.2/lib/python3.4/test/test_xml_etree_c.py +94 -0
  2168. package/python3.4.2/lib/python3.4/test/test_xmlrpc.py +1114 -0
  2169. package/python3.4.2/lib/python3.4/test/test_xmlrpc_net.py +33 -0
  2170. package/python3.4.2/lib/python3.4/test/test_zipfile.py +1783 -0
  2171. package/python3.4.2/lib/python3.4/test/test_zipfile64.py +118 -0
  2172. package/python3.4.2/lib/python3.4/test/test_zipimport.py +507 -0
  2173. package/python3.4.2/lib/python3.4/test/test_zipimport_support.py +246 -0
  2174. package/python3.4.2/lib/python3.4/test/test_zlib.py +725 -0
  2175. package/python3.4.2/lib/python3.4/test/testcodec.py +48 -0
  2176. package/python3.4.2/lib/python3.4/test/testtar.tar +0 -0
  2177. package/python3.4.2/lib/python3.4/test/tf_inherit_check.py +25 -0
  2178. package/python3.4.2/lib/python3.4/test/threaded_import_hangers.py +45 -0
  2179. package/python3.4.2/lib/python3.4/test/time_hashlib.py +87 -0
  2180. package/python3.4.2/lib/python3.4/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt +13 -0
  2181. package/python3.4.2/lib/python3.4/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt +11 -0
  2182. package/python3.4.2/lib/python3.4/test/tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt +13 -0
  2183. package/python3.4.2/lib/python3.4/test/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt +12 -0
  2184. package/python3.4.2/lib/python3.4/test/tokenize_tests.txt +189 -0
  2185. package/python3.4.2/lib/python3.4/test/tracedmodules/__init__.py +4 -0
  2186. package/python3.4.2/lib/python3.4/test/tracedmodules/testmod.py +9 -0
  2187. package/python3.4.2/lib/python3.4/test/warning_tests.py +9 -0
  2188. package/python3.4.2/lib/python3.4/test/win_console_handler.py +49 -0
  2189. package/python3.4.2/lib/python3.4/test/xmltestdata/simple-ns.xml +7 -0
  2190. package/python3.4.2/lib/python3.4/test/xmltestdata/simple.xml +6 -0
  2191. package/python3.4.2/lib/python3.4/test/xmltestdata/test.xml +115 -0
  2192. package/python3.4.2/lib/python3.4/test/xmltestdata/test.xml.out +115 -0
  2193. package/python3.4.2/lib/python3.4/test/xmltests.py +21 -0
  2194. package/python3.4.2/lib/python3.4/test/zip_cp437_header.zip +0 -0
  2195. package/python3.4.2/lib/python3.4/test/zipdir.zip +0 -0
  2196. package/python3.4.2/lib/python3.4/textwrap.py +470 -0
  2197. package/python3.4.2/lib/python3.4/this.py +28 -0
  2198. package/python3.4.2/lib/python3.4/threading.py +1359 -0
  2199. package/python3.4.2/lib/python3.4/timeit.py +322 -0
  2200. package/python3.4.2/lib/python3.4/tkinter/__init__.py +3898 -0
  2201. package/python3.4.2/lib/python3.4/tkinter/__main__.py +7 -0
  2202. package/python3.4.2/lib/python3.4/tkinter/_fix.py +78 -0
  2203. package/python3.4.2/lib/python3.4/tkinter/colorchooser.py +72 -0
  2204. package/python3.4.2/lib/python3.4/tkinter/commondialog.py +60 -0
  2205. package/python3.4.2/lib/python3.4/tkinter/constants.py +110 -0
  2206. package/python3.4.2/lib/python3.4/tkinter/dialog.py +49 -0
  2207. package/python3.4.2/lib/python3.4/tkinter/dnd.py +321 -0
  2208. package/python3.4.2/lib/python3.4/tkinter/filedialog.py +479 -0
  2209. package/python3.4.2/lib/python3.4/tkinter/font.py +234 -0
  2210. package/python3.4.2/lib/python3.4/tkinter/messagebox.py +134 -0
  2211. package/python3.4.2/lib/python3.4/tkinter/scrolledtext.py +54 -0
  2212. package/python3.4.2/lib/python3.4/tkinter/simpledialog.py +423 -0
  2213. package/python3.4.2/lib/python3.4/tkinter/test/README +14 -0
  2214. package/python3.4.2/lib/python3.4/tkinter/test/__init__.py +0 -0
  2215. package/python3.4.2/lib/python3.4/tkinter/test/runtktests.py +71 -0
  2216. package/python3.4.2/lib/python3.4/tkinter/test/support.py +104 -0
  2217. package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/__init__.py +0 -0
  2218. package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_font.py +27 -0
  2219. package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_geometry_managers.py +900 -0
  2220. package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_images.py +327 -0
  2221. package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_loadtk.py +46 -0
  2222. package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_misc.py +42 -0
  2223. package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_text.py +47 -0
  2224. package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_variables.py +186 -0
  2225. package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_widgets.py +1193 -0
  2226. package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/__init__.py +0 -0
  2227. package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/test_extensions.py +291 -0
  2228. package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/test_functions.py +462 -0
  2229. package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/test_style.py +92 -0
  2230. package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/test_widgets.py +1598 -0
  2231. package/python3.4.2/lib/python3.4/tkinter/test/widget_tests.py +521 -0
  2232. package/python3.4.2/lib/python3.4/tkinter/tix.py +1944 -0
  2233. package/python3.4.2/lib/python3.4/tkinter/ttk.py +1616 -0
  2234. package/python3.4.2/lib/python3.4/token.py +140 -0
  2235. package/python3.4.2/lib/python3.4/tokenize.py +691 -0
  2236. package/python3.4.2/lib/python3.4/trace.py +858 -0
  2237. package/python3.4.2/lib/python3.4/traceback.py +313 -0
  2238. package/python3.4.2/lib/python3.4/tracemalloc.py +487 -0
  2239. package/python3.4.2/lib/python3.4/tty.py +36 -0
  2240. package/python3.4.2/lib/python3.4/turtle.py +4140 -0
  2241. package/python3.4.2/lib/python3.4/turtledemo/__init__.py +14 -0
  2242. package/python3.4.2/lib/python3.4/turtledemo/__main__.py +380 -0
  2243. package/python3.4.2/lib/python3.4/turtledemo/bytedesign.py +162 -0
  2244. package/python3.4.2/lib/python3.4/turtledemo/chaos.py +59 -0
  2245. package/python3.4.2/lib/python3.4/turtledemo/clock.py +132 -0
  2246. package/python3.4.2/lib/python3.4/turtledemo/colormixer.py +58 -0
  2247. package/python3.4.2/lib/python3.4/turtledemo/forest.py +108 -0
  2248. package/python3.4.2/lib/python3.4/turtledemo/fractalcurves.py +138 -0
  2249. package/python3.4.2/lib/python3.4/turtledemo/lindenmayer.py +119 -0
  2250. package/python3.4.2/lib/python3.4/turtledemo/minimal_hanoi.py +79 -0
  2251. package/python3.4.2/lib/python3.4/turtledemo/nim.py +226 -0
  2252. package/python3.4.2/lib/python3.4/turtledemo/paint.py +54 -0
  2253. package/python3.4.2/lib/python3.4/turtledemo/peace.py +61 -0
  2254. package/python3.4.2/lib/python3.4/turtledemo/penrose.py +181 -0
  2255. package/python3.4.2/lib/python3.4/turtledemo/planet_and_moon.py +112 -0
  2256. package/python3.4.2/lib/python3.4/turtledemo/round_dance.py +86 -0
  2257. package/python3.4.2/lib/python3.4/turtledemo/tree.py +63 -0
  2258. package/python3.4.2/lib/python3.4/turtledemo/turtle.cfg +10 -0
  2259. package/python3.4.2/lib/python3.4/turtledemo/two_canvases.py +54 -0
  2260. package/python3.4.2/lib/python3.4/turtledemo/wikipedia.py +65 -0
  2261. package/python3.4.2/lib/python3.4/turtledemo/yinyang.py +49 -0
  2262. package/python3.4.2/lib/python3.4/types.py +158 -0
  2263. package/python3.4.2/lib/python3.4/unittest/__init__.py +69 -0
  2264. package/python3.4.2/lib/python3.4/unittest/__main__.py +18 -0
  2265. package/python3.4.2/lib/python3.4/unittest/case.py +1400 -0
  2266. package/python3.4.2/lib/python3.4/unittest/loader.py +379 -0
  2267. package/python3.4.2/lib/python3.4/unittest/main.py +248 -0
  2268. package/python3.4.2/lib/python3.4/unittest/mock.py +2330 -0
  2269. package/python3.4.2/lib/python3.4/unittest/result.py +212 -0
  2270. package/python3.4.2/lib/python3.4/unittest/runner.py +213 -0
  2271. package/python3.4.2/lib/python3.4/unittest/signals.py +71 -0
  2272. package/python3.4.2/lib/python3.4/unittest/suite.py +324 -0
  2273. package/python3.4.2/lib/python3.4/unittest/test/__init__.py +22 -0
  2274. package/python3.4.2/lib/python3.4/unittest/test/__main__.py +18 -0
  2275. package/python3.4.2/lib/python3.4/unittest/test/_test_warnings.py +73 -0
  2276. package/python3.4.2/lib/python3.4/unittest/test/dummy.py +1 -0
  2277. package/python3.4.2/lib/python3.4/unittest/test/support.py +142 -0
  2278. package/python3.4.2/lib/python3.4/unittest/test/test_assertions.py +398 -0
  2279. package/python3.4.2/lib/python3.4/unittest/test/test_break.py +288 -0
  2280. package/python3.4.2/lib/python3.4/unittest/test/test_case.py +1574 -0
  2281. package/python3.4.2/lib/python3.4/unittest/test/test_discovery.py +527 -0
  2282. package/python3.4.2/lib/python3.4/unittest/test/test_functiontestcase.py +148 -0
  2283. package/python3.4.2/lib/python3.4/unittest/test/test_loader.py +1312 -0
  2284. package/python3.4.2/lib/python3.4/unittest/test/test_program.py +396 -0
  2285. package/python3.4.2/lib/python3.4/unittest/test/test_result.py +660 -0
  2286. package/python3.4.2/lib/python3.4/unittest/test/test_runner.py +346 -0
  2287. package/python3.4.2/lib/python3.4/unittest/test/test_setups.py +506 -0
  2288. package/python3.4.2/lib/python3.4/unittest/test/test_skipping.py +227 -0
  2289. package/python3.4.2/lib/python3.4/unittest/test/test_suite.py +447 -0
  2290. package/python3.4.2/lib/python3.4/unittest/test/testmock/__init__.py +17 -0
  2291. package/python3.4.2/lib/python3.4/unittest/test/testmock/__main__.py +18 -0
  2292. package/python3.4.2/lib/python3.4/unittest/test/testmock/support.py +23 -0
  2293. package/python3.4.2/lib/python3.4/unittest/test/testmock/testcallable.py +151 -0
  2294. package/python3.4.2/lib/python3.4/unittest/test/testmock/testhelpers.py +908 -0
  2295. package/python3.4.2/lib/python3.4/unittest/test/testmock/testmagicmethods.py +428 -0
  2296. package/python3.4.2/lib/python3.4/unittest/test/testmock/testmock.py +1412 -0
  2297. package/python3.4.2/lib/python3.4/unittest/test/testmock/testpatch.py +1801 -0
  2298. package/python3.4.2/lib/python3.4/unittest/test/testmock/testsentinel.py +28 -0
  2299. package/python3.4.2/lib/python3.4/unittest/test/testmock/testwith.py +259 -0
  2300. package/python3.4.2/lib/python3.4/unittest/util.py +177 -0
  2301. package/python3.4.2/lib/python3.4/urllib/__init__.py +0 -0
  2302. package/python3.4.2/lib/python3.4/urllib/error.py +76 -0
  2303. package/python3.4.2/lib/python3.4/urllib/parse.py +973 -0
  2304. package/python3.4.2/lib/python3.4/urllib/request.py +2559 -0
  2305. package/python3.4.2/lib/python3.4/urllib/response.py +76 -0
  2306. package/python3.4.2/lib/python3.4/urllib/robotparser.py +212 -0
  2307. package/python3.4.2/lib/python3.4/uu.py +199 -0
  2308. package/python3.4.2/lib/python3.4/uuid.py +591 -0
  2309. package/python3.4.2/lib/python3.4/venv/__init__.py +449 -0
  2310. package/python3.4.2/lib/python3.4/venv/__main__.py +10 -0
  2311. package/python3.4.2/lib/python3.4/venv/scripts/posix/activate +76 -0
  2312. package/python3.4.2/lib/python3.4/venv/scripts/posix/activate.csh +37 -0
  2313. package/python3.4.2/lib/python3.4/venv/scripts/posix/activate.fish +74 -0
  2314. package/python3.4.2/lib/python3.4/warnings.py +407 -0
  2315. package/python3.4.2/lib/python3.4/wave.py +503 -0
  2316. package/python3.4.2/lib/python3.4/weakref.py +577 -0
  2317. package/python3.4.2/lib/python3.4/webbrowser.py +651 -0
  2318. package/python3.4.2/lib/python3.4/wsgiref/__init__.py +23 -0
  2319. package/python3.4.2/lib/python3.4/wsgiref/handlers.py +547 -0
  2320. package/python3.4.2/lib/python3.4/wsgiref/headers.py +184 -0
  2321. package/python3.4.2/lib/python3.4/wsgiref/simple_server.py +165 -0
  2322. package/python3.4.2/lib/python3.4/wsgiref/util.py +165 -0
  2323. package/python3.4.2/lib/python3.4/wsgiref/validate.py +443 -0
  2324. package/python3.4.2/lib/python3.4/xdrlib.py +224 -0
  2325. package/python3.4.2/lib/python3.4/xml/__init__.py +20 -0
  2326. package/python3.4.2/lib/python3.4/xml/dom/NodeFilter.py +27 -0
  2327. package/python3.4.2/lib/python3.4/xml/dom/__init__.py +140 -0
  2328. package/python3.4.2/lib/python3.4/xml/dom/domreg.py +97 -0
  2329. package/python3.4.2/lib/python3.4/xml/dom/expatbuilder.py +965 -0
  2330. package/python3.4.2/lib/python3.4/xml/dom/minicompat.py +109 -0
  2331. package/python3.4.2/lib/python3.4/xml/dom/minidom.py +1983 -0
  2332. package/python3.4.2/lib/python3.4/xml/dom/pulldom.py +342 -0
  2333. package/python3.4.2/lib/python3.4/xml/dom/xmlbuilder.py +386 -0
  2334. package/python3.4.2/lib/python3.4/xml/etree/ElementInclude.py +143 -0
  2335. package/python3.4.2/lib/python3.4/xml/etree/ElementPath.py +308 -0
  2336. package/python3.4.2/lib/python3.4/xml/etree/ElementTree.py +1667 -0
  2337. package/python3.4.2/lib/python3.4/xml/etree/__init__.py +33 -0
  2338. package/python3.4.2/lib/python3.4/xml/etree/cElementTree.py +3 -0
  2339. package/python3.4.2/lib/python3.4/xml/parsers/__init__.py +8 -0
  2340. package/python3.4.2/lib/python3.4/xml/parsers/expat.py +8 -0
  2341. package/python3.4.2/lib/python3.4/xml/sax/__init__.py +105 -0
  2342. package/python3.4.2/lib/python3.4/xml/sax/_exceptions.py +131 -0
  2343. package/python3.4.2/lib/python3.4/xml/sax/expatreader.py +417 -0
  2344. package/python3.4.2/lib/python3.4/xml/sax/handler.py +342 -0
  2345. package/python3.4.2/lib/python3.4/xml/sax/saxutils.py +365 -0
  2346. package/python3.4.2/lib/python3.4/xml/sax/xmlreader.py +378 -0
  2347. package/python3.4.2/lib/python3.4/xmlrpc/__init__.py +1 -0
  2348. package/python3.4.2/lib/python3.4/xmlrpc/client.py +1479 -0
  2349. package/python3.4.2/lib/python3.4/xmlrpc/server.py +986 -0
  2350. package/python3.4.2/lib/python3.4/zipfile.py +1788 -0
  2351. package/python3.4.2/share/man/man1/python3.1 +460 -0
  2352. package/python3.4.2/share/man/man1/python3.4.1 +460 -0
@@ -0,0 +1,2793 @@
1
+ # Module doctest.
2
+ # Released to the public domain 16-Jan-2001, by Tim Peters (tim@python.org).
3
+ # Major enhancements and refactoring by:
4
+ # Jim Fulton
5
+ # Edward Loper
6
+
7
+ # Provided as-is; use at your own risk; no warranty; no promises; enjoy!
8
+
9
+ r"""Module doctest -- a framework for running examples in docstrings.
10
+
11
+ In simplest use, end each module M to be tested with:
12
+
13
+ def _test():
14
+ import doctest
15
+ doctest.testmod()
16
+
17
+ if __name__ == "__main__":
18
+ _test()
19
+
20
+ Then running the module as a script will cause the examples in the
21
+ docstrings to get executed and verified:
22
+
23
+ python M.py
24
+
25
+ This won't display anything unless an example fails, in which case the
26
+ failing example(s) and the cause(s) of the failure(s) are printed to stdout
27
+ (why not stderr? because stderr is a lame hack <0.2 wink>), and the final
28
+ line of output is "Test failed.".
29
+
30
+ Run it with the -v switch instead:
31
+
32
+ python M.py -v
33
+
34
+ and a detailed report of all examples tried is printed to stdout, along
35
+ with assorted summaries at the end.
36
+
37
+ You can force verbose mode by passing "verbose=True" to testmod, or prohibit
38
+ it by passing "verbose=False". In either of those cases, sys.argv is not
39
+ examined by testmod.
40
+
41
+ There are a variety of other ways to run doctests, including integration
42
+ with the unittest framework, and support for running non-Python text
43
+ files containing doctests. There are also many ways to override parts
44
+ of doctest's default behaviors. See the Library Reference Manual for
45
+ details.
46
+ """
47
+
48
+ __docformat__ = 'reStructuredText en'
49
+
50
+ __all__ = [
51
+ # 0, Option Flags
52
+ 'register_optionflag',
53
+ 'DONT_ACCEPT_TRUE_FOR_1',
54
+ 'DONT_ACCEPT_BLANKLINE',
55
+ 'NORMALIZE_WHITESPACE',
56
+ 'ELLIPSIS',
57
+ 'SKIP',
58
+ 'IGNORE_EXCEPTION_DETAIL',
59
+ 'COMPARISON_FLAGS',
60
+ 'REPORT_UDIFF',
61
+ 'REPORT_CDIFF',
62
+ 'REPORT_NDIFF',
63
+ 'REPORT_ONLY_FIRST_FAILURE',
64
+ 'REPORTING_FLAGS',
65
+ 'FAIL_FAST',
66
+ # 1. Utility Functions
67
+ # 2. Example & DocTest
68
+ 'Example',
69
+ 'DocTest',
70
+ # 3. Doctest Parser
71
+ 'DocTestParser',
72
+ # 4. Doctest Finder
73
+ 'DocTestFinder',
74
+ # 5. Doctest Runner
75
+ 'DocTestRunner',
76
+ 'OutputChecker',
77
+ 'DocTestFailure',
78
+ 'UnexpectedException',
79
+ 'DebugRunner',
80
+ # 6. Test Functions
81
+ 'testmod',
82
+ 'testfile',
83
+ 'run_docstring_examples',
84
+ # 7. Unittest Support
85
+ 'DocTestSuite',
86
+ 'DocFileSuite',
87
+ 'set_unittest_reportflags',
88
+ # 8. Debugging Support
89
+ 'script_from_examples',
90
+ 'testsource',
91
+ 'debug_src',
92
+ 'debug',
93
+ ]
94
+
95
+ import __future__
96
+ import argparse
97
+ import difflib
98
+ import inspect
99
+ import linecache
100
+ import os
101
+ import pdb
102
+ import re
103
+ import sys
104
+ import traceback
105
+ import unittest
106
+ from io import StringIO
107
+ from collections import namedtuple
108
+
109
+ TestResults = namedtuple('TestResults', 'failed attempted')
110
+
111
+ # There are 4 basic classes:
112
+ # - Example: a <source, want> pair, plus an intra-docstring line number.
113
+ # - DocTest: a collection of examples, parsed from a docstring, plus
114
+ # info about where the docstring came from (name, filename, lineno).
115
+ # - DocTestFinder: extracts DocTests from a given object's docstring and
116
+ # its contained objects' docstrings.
117
+ # - DocTestRunner: runs DocTest cases, and accumulates statistics.
118
+ #
119
+ # So the basic picture is:
120
+ #
121
+ # list of:
122
+ # +------+ +---------+ +-------+
123
+ # |object| --DocTestFinder-> | DocTest | --DocTestRunner-> |results|
124
+ # +------+ +---------+ +-------+
125
+ # | Example |
126
+ # | ... |
127
+ # | Example |
128
+ # +---------+
129
+
130
+ # Option constants.
131
+
132
+ OPTIONFLAGS_BY_NAME = {}
133
+ def register_optionflag(name):
134
+ # Create a new flag unless `name` is already known.
135
+ return OPTIONFLAGS_BY_NAME.setdefault(name, 1 << len(OPTIONFLAGS_BY_NAME))
136
+
137
+ DONT_ACCEPT_TRUE_FOR_1 = register_optionflag('DONT_ACCEPT_TRUE_FOR_1')
138
+ DONT_ACCEPT_BLANKLINE = register_optionflag('DONT_ACCEPT_BLANKLINE')
139
+ NORMALIZE_WHITESPACE = register_optionflag('NORMALIZE_WHITESPACE')
140
+ ELLIPSIS = register_optionflag('ELLIPSIS')
141
+ SKIP = register_optionflag('SKIP')
142
+ IGNORE_EXCEPTION_DETAIL = register_optionflag('IGNORE_EXCEPTION_DETAIL')
143
+
144
+ COMPARISON_FLAGS = (DONT_ACCEPT_TRUE_FOR_1 |
145
+ DONT_ACCEPT_BLANKLINE |
146
+ NORMALIZE_WHITESPACE |
147
+ ELLIPSIS |
148
+ SKIP |
149
+ IGNORE_EXCEPTION_DETAIL)
150
+
151
+ REPORT_UDIFF = register_optionflag('REPORT_UDIFF')
152
+ REPORT_CDIFF = register_optionflag('REPORT_CDIFF')
153
+ REPORT_NDIFF = register_optionflag('REPORT_NDIFF')
154
+ REPORT_ONLY_FIRST_FAILURE = register_optionflag('REPORT_ONLY_FIRST_FAILURE')
155
+ FAIL_FAST = register_optionflag('FAIL_FAST')
156
+
157
+ REPORTING_FLAGS = (REPORT_UDIFF |
158
+ REPORT_CDIFF |
159
+ REPORT_NDIFF |
160
+ REPORT_ONLY_FIRST_FAILURE |
161
+ FAIL_FAST)
162
+
163
+ # Special string markers for use in `want` strings:
164
+ BLANKLINE_MARKER = '<BLANKLINE>'
165
+ ELLIPSIS_MARKER = '...'
166
+
167
+ ######################################################################
168
+ ## Table of Contents
169
+ ######################################################################
170
+ # 1. Utility Functions
171
+ # 2. Example & DocTest -- store test cases
172
+ # 3. DocTest Parser -- extracts examples from strings
173
+ # 4. DocTest Finder -- extracts test cases from objects
174
+ # 5. DocTest Runner -- runs test cases
175
+ # 6. Test Functions -- convenient wrappers for testing
176
+ # 7. Unittest Support
177
+ # 8. Debugging Support
178
+ # 9. Example Usage
179
+
180
+ ######################################################################
181
+ ## 1. Utility Functions
182
+ ######################################################################
183
+
184
+ def _extract_future_flags(globs):
185
+ """
186
+ Return the compiler-flags associated with the future features that
187
+ have been imported into the given namespace (globs).
188
+ """
189
+ flags = 0
190
+ for fname in __future__.all_feature_names:
191
+ feature = globs.get(fname, None)
192
+ if feature is getattr(__future__, fname):
193
+ flags |= feature.compiler_flag
194
+ return flags
195
+
196
+ def _normalize_module(module, depth=2):
197
+ """
198
+ Return the module specified by `module`. In particular:
199
+ - If `module` is a module, then return module.
200
+ - If `module` is a string, then import and return the
201
+ module with that name.
202
+ - If `module` is None, then return the calling module.
203
+ The calling module is assumed to be the module of
204
+ the stack frame at the given depth in the call stack.
205
+ """
206
+ if inspect.ismodule(module):
207
+ return module
208
+ elif isinstance(module, str):
209
+ return __import__(module, globals(), locals(), ["*"])
210
+ elif module is None:
211
+ return sys.modules[sys._getframe(depth).f_globals['__name__']]
212
+ else:
213
+ raise TypeError("Expected a module, string, or None")
214
+
215
+ def _load_testfile(filename, package, module_relative, encoding):
216
+ if module_relative:
217
+ package = _normalize_module(package, 3)
218
+ filename = _module_relative_path(package, filename)
219
+ if getattr(package, '__loader__', None) is not None:
220
+ if hasattr(package.__loader__, 'get_data'):
221
+ file_contents = package.__loader__.get_data(filename)
222
+ file_contents = file_contents.decode(encoding)
223
+ # get_data() opens files as 'rb', so one must do the equivalent
224
+ # conversion as universal newlines would do.
225
+ return file_contents.replace(os.linesep, '\n'), filename
226
+ with open(filename, encoding=encoding) as f:
227
+ return f.read(), filename
228
+
229
+ def _indent(s, indent=4):
230
+ """
231
+ Add the given number of space characters to the beginning of
232
+ every non-blank line in `s`, and return the result.
233
+ """
234
+ # This regexp matches the start of non-blank lines:
235
+ return re.sub('(?m)^(?!$)', indent*' ', s)
236
+
237
+ def _exception_traceback(exc_info):
238
+ """
239
+ Return a string containing a traceback message for the given
240
+ exc_info tuple (as returned by sys.exc_info()).
241
+ """
242
+ # Get a traceback message.
243
+ excout = StringIO()
244
+ exc_type, exc_val, exc_tb = exc_info
245
+ traceback.print_exception(exc_type, exc_val, exc_tb, file=excout)
246
+ return excout.getvalue()
247
+
248
+ # Override some StringIO methods.
249
+ class _SpoofOut(StringIO):
250
+ def getvalue(self):
251
+ result = StringIO.getvalue(self)
252
+ # If anything at all was written, make sure there's a trailing
253
+ # newline. There's no way for the expected output to indicate
254
+ # that a trailing newline is missing.
255
+ if result and not result.endswith("\n"):
256
+ result += "\n"
257
+ return result
258
+
259
+ def truncate(self, size=None):
260
+ self.seek(size)
261
+ StringIO.truncate(self)
262
+
263
+ # Worst-case linear-time ellipsis matching.
264
+ def _ellipsis_match(want, got):
265
+ """
266
+ Essentially the only subtle case:
267
+ >>> _ellipsis_match('aa...aa', 'aaa')
268
+ False
269
+ """
270
+ if ELLIPSIS_MARKER not in want:
271
+ return want == got
272
+
273
+ # Find "the real" strings.
274
+ ws = want.split(ELLIPSIS_MARKER)
275
+ assert len(ws) >= 2
276
+
277
+ # Deal with exact matches possibly needed at one or both ends.
278
+ startpos, endpos = 0, len(got)
279
+ w = ws[0]
280
+ if w: # starts with exact match
281
+ if got.startswith(w):
282
+ startpos = len(w)
283
+ del ws[0]
284
+ else:
285
+ return False
286
+ w = ws[-1]
287
+ if w: # ends with exact match
288
+ if got.endswith(w):
289
+ endpos -= len(w)
290
+ del ws[-1]
291
+ else:
292
+ return False
293
+
294
+ if startpos > endpos:
295
+ # Exact end matches required more characters than we have, as in
296
+ # _ellipsis_match('aa...aa', 'aaa')
297
+ return False
298
+
299
+ # For the rest, we only need to find the leftmost non-overlapping
300
+ # match for each piece. If there's no overall match that way alone,
301
+ # there's no overall match period.
302
+ for w in ws:
303
+ # w may be '' at times, if there are consecutive ellipses, or
304
+ # due to an ellipsis at the start or end of `want`. That's OK.
305
+ # Search for an empty string succeeds, and doesn't change startpos.
306
+ startpos = got.find(w, startpos, endpos)
307
+ if startpos < 0:
308
+ return False
309
+ startpos += len(w)
310
+
311
+ return True
312
+
313
+ def _comment_line(line):
314
+ "Return a commented form of the given line"
315
+ line = line.rstrip()
316
+ if line:
317
+ return '# '+line
318
+ else:
319
+ return '#'
320
+
321
+ def _strip_exception_details(msg):
322
+ # Support for IGNORE_EXCEPTION_DETAIL.
323
+ # Get rid of everything except the exception name; in particular, drop
324
+ # the possibly dotted module path (if any) and the exception message (if
325
+ # any). We assume that a colon is never part of a dotted name, or of an
326
+ # exception name.
327
+ # E.g., given
328
+ # "foo.bar.MyError: la di da"
329
+ # return "MyError"
330
+ # Or for "abc.def" or "abc.def:\n" return "def".
331
+
332
+ start, end = 0, len(msg)
333
+ # The exception name must appear on the first line.
334
+ i = msg.find("\n")
335
+ if i >= 0:
336
+ end = i
337
+ # retain up to the first colon (if any)
338
+ i = msg.find(':', 0, end)
339
+ if i >= 0:
340
+ end = i
341
+ # retain just the exception name
342
+ i = msg.rfind('.', 0, end)
343
+ if i >= 0:
344
+ start = i+1
345
+ return msg[start: end]
346
+
347
+ class _OutputRedirectingPdb(pdb.Pdb):
348
+ """
349
+ A specialized version of the python debugger that redirects stdout
350
+ to a given stream when interacting with the user. Stdout is *not*
351
+ redirected when traced code is executed.
352
+ """
353
+ def __init__(self, out):
354
+ self.__out = out
355
+ self.__debugger_used = False
356
+ # do not play signal games in the pdb
357
+ pdb.Pdb.__init__(self, stdout=out, nosigint=True)
358
+ # still use input() to get user input
359
+ self.use_rawinput = 1
360
+
361
+ def set_trace(self, frame=None):
362
+ self.__debugger_used = True
363
+ if frame is None:
364
+ frame = sys._getframe().f_back
365
+ pdb.Pdb.set_trace(self, frame)
366
+
367
+ def set_continue(self):
368
+ # Calling set_continue unconditionally would break unit test
369
+ # coverage reporting, as Bdb.set_continue calls sys.settrace(None).
370
+ if self.__debugger_used:
371
+ pdb.Pdb.set_continue(self)
372
+
373
+ def trace_dispatch(self, *args):
374
+ # Redirect stdout to the given stream.
375
+ save_stdout = sys.stdout
376
+ sys.stdout = self.__out
377
+ # Call Pdb's trace dispatch method.
378
+ try:
379
+ return pdb.Pdb.trace_dispatch(self, *args)
380
+ finally:
381
+ sys.stdout = save_stdout
382
+
383
+ # [XX] Normalize with respect to os.path.pardir?
384
+ def _module_relative_path(module, path):
385
+ if not inspect.ismodule(module):
386
+ raise TypeError('Expected a module: %r' % module)
387
+ if path.startswith('/'):
388
+ raise ValueError('Module-relative files may not have absolute paths')
389
+
390
+ # Find the base directory for the path.
391
+ if hasattr(module, '__file__'):
392
+ # A normal module/package
393
+ basedir = os.path.split(module.__file__)[0]
394
+ elif module.__name__ == '__main__':
395
+ # An interactive session.
396
+ if len(sys.argv)>0 and sys.argv[0] != '':
397
+ basedir = os.path.split(sys.argv[0])[0]
398
+ else:
399
+ basedir = os.curdir
400
+ else:
401
+ # A module w/o __file__ (this includes builtins)
402
+ raise ValueError("Can't resolve paths relative to the module " +
403
+ module + " (it has no __file__)")
404
+
405
+ # Combine the base directory and the path.
406
+ return os.path.join(basedir, *(path.split('/')))
407
+
408
+ ######################################################################
409
+ ## 2. Example & DocTest
410
+ ######################################################################
411
+ ## - An "example" is a <source, want> pair, where "source" is a
412
+ ## fragment of source code, and "want" is the expected output for
413
+ ## "source." The Example class also includes information about
414
+ ## where the example was extracted from.
415
+ ##
416
+ ## - A "doctest" is a collection of examples, typically extracted from
417
+ ## a string (such as an object's docstring). The DocTest class also
418
+ ## includes information about where the string was extracted from.
419
+
420
+ class Example:
421
+ """
422
+ A single doctest example, consisting of source code and expected
423
+ output. `Example` defines the following attributes:
424
+
425
+ - source: A single Python statement, always ending with a newline.
426
+ The constructor adds a newline if needed.
427
+
428
+ - want: The expected output from running the source code (either
429
+ from stdout, or a traceback in case of exception). `want` ends
430
+ with a newline unless it's empty, in which case it's an empty
431
+ string. The constructor adds a newline if needed.
432
+
433
+ - exc_msg: The exception message generated by the example, if
434
+ the example is expected to generate an exception; or `None` if
435
+ it is not expected to generate an exception. This exception
436
+ message is compared against the return value of
437
+ `traceback.format_exception_only()`. `exc_msg` ends with a
438
+ newline unless it's `None`. The constructor adds a newline
439
+ if needed.
440
+
441
+ - lineno: The line number within the DocTest string containing
442
+ this Example where the Example begins. This line number is
443
+ zero-based, with respect to the beginning of the DocTest.
444
+
445
+ - indent: The example's indentation in the DocTest string.
446
+ I.e., the number of space characters that precede the
447
+ example's first prompt.
448
+
449
+ - options: A dictionary mapping from option flags to True or
450
+ False, which is used to override default options for this
451
+ example. Any option flags not contained in this dictionary
452
+ are left at their default value (as specified by the
453
+ DocTestRunner's optionflags). By default, no options are set.
454
+ """
455
+ def __init__(self, source, want, exc_msg=None, lineno=0, indent=0,
456
+ options=None):
457
+ # Normalize inputs.
458
+ if not source.endswith('\n'):
459
+ source += '\n'
460
+ if want and not want.endswith('\n'):
461
+ want += '\n'
462
+ if exc_msg is not None and not exc_msg.endswith('\n'):
463
+ exc_msg += '\n'
464
+ # Store properties.
465
+ self.source = source
466
+ self.want = want
467
+ self.lineno = lineno
468
+ self.indent = indent
469
+ if options is None: options = {}
470
+ self.options = options
471
+ self.exc_msg = exc_msg
472
+
473
+ def __eq__(self, other):
474
+ if type(self) is not type(other):
475
+ return NotImplemented
476
+
477
+ return self.source == other.source and \
478
+ self.want == other.want and \
479
+ self.lineno == other.lineno and \
480
+ self.indent == other.indent and \
481
+ self.options == other.options and \
482
+ self.exc_msg == other.exc_msg
483
+
484
+ def __ne__(self, other):
485
+ return not self == other
486
+
487
+ def __hash__(self):
488
+ return hash((self.source, self.want, self.lineno, self.indent,
489
+ self.exc_msg))
490
+
491
+ class DocTest:
492
+ """
493
+ A collection of doctest examples that should be run in a single
494
+ namespace. Each `DocTest` defines the following attributes:
495
+
496
+ - examples: the list of examples.
497
+
498
+ - globs: The namespace (aka globals) that the examples should
499
+ be run in.
500
+
501
+ - name: A name identifying the DocTest (typically, the name of
502
+ the object whose docstring this DocTest was extracted from).
503
+
504
+ - filename: The name of the file that this DocTest was extracted
505
+ from, or `None` if the filename is unknown.
506
+
507
+ - lineno: The line number within filename where this DocTest
508
+ begins, or `None` if the line number is unavailable. This
509
+ line number is zero-based, with respect to the beginning of
510
+ the file.
511
+
512
+ - docstring: The string that the examples were extracted from,
513
+ or `None` if the string is unavailable.
514
+ """
515
+ def __init__(self, examples, globs, name, filename, lineno, docstring):
516
+ """
517
+ Create a new DocTest containing the given examples. The
518
+ DocTest's globals are initialized with a copy of `globs`.
519
+ """
520
+ assert not isinstance(examples, str), \
521
+ "DocTest no longer accepts str; use DocTestParser instead"
522
+ self.examples = examples
523
+ self.docstring = docstring
524
+ self.globs = globs.copy()
525
+ self.name = name
526
+ self.filename = filename
527
+ self.lineno = lineno
528
+
529
+ def __repr__(self):
530
+ if len(self.examples) == 0:
531
+ examples = 'no examples'
532
+ elif len(self.examples) == 1:
533
+ examples = '1 example'
534
+ else:
535
+ examples = '%d examples' % len(self.examples)
536
+ return ('<DocTest %s from %s:%s (%s)>' %
537
+ (self.name, self.filename, self.lineno, examples))
538
+
539
+ def __eq__(self, other):
540
+ if type(self) is not type(other):
541
+ return NotImplemented
542
+
543
+ return self.examples == other.examples and \
544
+ self.docstring == other.docstring and \
545
+ self.globs == other.globs and \
546
+ self.name == other.name and \
547
+ self.filename == other.filename and \
548
+ self.lineno == other.lineno
549
+
550
+ def __ne__(self, other):
551
+ return not self == other
552
+
553
+ def __hash__(self):
554
+ return hash((self.docstring, self.name, self.filename, self.lineno))
555
+
556
+ # This lets us sort tests by name:
557
+ def __lt__(self, other):
558
+ if not isinstance(other, DocTest):
559
+ return NotImplemented
560
+ return ((self.name, self.filename, self.lineno, id(self))
561
+ <
562
+ (other.name, other.filename, other.lineno, id(other)))
563
+
564
+ ######################################################################
565
+ ## 3. DocTestParser
566
+ ######################################################################
567
+
568
+ class DocTestParser:
569
+ """
570
+ A class used to parse strings containing doctest examples.
571
+ """
572
+ # This regular expression is used to find doctest examples in a
573
+ # string. It defines three groups: `source` is the source code
574
+ # (including leading indentation and prompts); `indent` is the
575
+ # indentation of the first (PS1) line of the source code; and
576
+ # `want` is the expected output (including leading indentation).
577
+ _EXAMPLE_RE = re.compile(r'''
578
+ # Source consists of a PS1 line followed by zero or more PS2 lines.
579
+ (?P<source>
580
+ (?:^(?P<indent> [ ]*) >>> .*) # PS1 line
581
+ (?:\n [ ]* \.\.\. .*)*) # PS2 lines
582
+ \n?
583
+ # Want consists of any non-blank lines that do not start with PS1.
584
+ (?P<want> (?:(?![ ]*$) # Not a blank line
585
+ (?![ ]*>>>) # Not a line starting with PS1
586
+ .+$\n? # But any other line
587
+ )*)
588
+ ''', re.MULTILINE | re.VERBOSE)
589
+
590
+ # A regular expression for handling `want` strings that contain
591
+ # expected exceptions. It divides `want` into three pieces:
592
+ # - the traceback header line (`hdr`)
593
+ # - the traceback stack (`stack`)
594
+ # - the exception message (`msg`), as generated by
595
+ # traceback.format_exception_only()
596
+ # `msg` may have multiple lines. We assume/require that the
597
+ # exception message is the first non-indented line starting with a word
598
+ # character following the traceback header line.
599
+ _EXCEPTION_RE = re.compile(r"""
600
+ # Grab the traceback header. Different versions of Python have
601
+ # said different things on the first traceback line.
602
+ ^(?P<hdr> Traceback\ \(
603
+ (?: most\ recent\ call\ last
604
+ | innermost\ last
605
+ ) \) :
606
+ )
607
+ \s* $ # toss trailing whitespace on the header.
608
+ (?P<stack> .*?) # don't blink: absorb stuff until...
609
+ ^ (?P<msg> \w+ .*) # a line *starts* with alphanum.
610
+ """, re.VERBOSE | re.MULTILINE | re.DOTALL)
611
+
612
+ # A callable returning a true value iff its argument is a blank line
613
+ # or contains a single comment.
614
+ _IS_BLANK_OR_COMMENT = re.compile(r'^[ ]*(#.*)?$').match
615
+
616
+ def parse(self, string, name='<string>'):
617
+ """
618
+ Divide the given string into examples and intervening text,
619
+ and return them as a list of alternating Examples and strings.
620
+ Line numbers for the Examples are 0-based. The optional
621
+ argument `name` is a name identifying this string, and is only
622
+ used for error messages.
623
+ """
624
+ string = string.expandtabs()
625
+ # If all lines begin with the same indentation, then strip it.
626
+ min_indent = self._min_indent(string)
627
+ if min_indent > 0:
628
+ string = '\n'.join([l[min_indent:] for l in string.split('\n')])
629
+
630
+ output = []
631
+ charno, lineno = 0, 0
632
+ # Find all doctest examples in the string:
633
+ for m in self._EXAMPLE_RE.finditer(string):
634
+ # Add the pre-example text to `output`.
635
+ output.append(string[charno:m.start()])
636
+ # Update lineno (lines before this example)
637
+ lineno += string.count('\n', charno, m.start())
638
+ # Extract info from the regexp match.
639
+ (source, options, want, exc_msg) = \
640
+ self._parse_example(m, name, lineno)
641
+ # Create an Example, and add it to the list.
642
+ if not self._IS_BLANK_OR_COMMENT(source):
643
+ output.append( Example(source, want, exc_msg,
644
+ lineno=lineno,
645
+ indent=min_indent+len(m.group('indent')),
646
+ options=options) )
647
+ # Update lineno (lines inside this example)
648
+ lineno += string.count('\n', m.start(), m.end())
649
+ # Update charno.
650
+ charno = m.end()
651
+ # Add any remaining post-example text to `output`.
652
+ output.append(string[charno:])
653
+ return output
654
+
655
+ def get_doctest(self, string, globs, name, filename, lineno):
656
+ """
657
+ Extract all doctest examples from the given string, and
658
+ collect them into a `DocTest` object.
659
+
660
+ `globs`, `name`, `filename`, and `lineno` are attributes for
661
+ the new `DocTest` object. See the documentation for `DocTest`
662
+ for more information.
663
+ """
664
+ return DocTest(self.get_examples(string, name), globs,
665
+ name, filename, lineno, string)
666
+
667
+ def get_examples(self, string, name='<string>'):
668
+ """
669
+ Extract all doctest examples from the given string, and return
670
+ them as a list of `Example` objects. Line numbers are
671
+ 0-based, because it's most common in doctests that nothing
672
+ interesting appears on the same line as opening triple-quote,
673
+ and so the first interesting line is called \"line 1\" then.
674
+
675
+ The optional argument `name` is a name identifying this
676
+ string, and is only used for error messages.
677
+ """
678
+ return [x for x in self.parse(string, name)
679
+ if isinstance(x, Example)]
680
+
681
+ def _parse_example(self, m, name, lineno):
682
+ """
683
+ Given a regular expression match from `_EXAMPLE_RE` (`m`),
684
+ return a pair `(source, want)`, where `source` is the matched
685
+ example's source code (with prompts and indentation stripped);
686
+ and `want` is the example's expected output (with indentation
687
+ stripped).
688
+
689
+ `name` is the string's name, and `lineno` is the line number
690
+ where the example starts; both are used for error messages.
691
+ """
692
+ # Get the example's indentation level.
693
+ indent = len(m.group('indent'))
694
+
695
+ # Divide source into lines; check that they're properly
696
+ # indented; and then strip their indentation & prompts.
697
+ source_lines = m.group('source').split('\n')
698
+ self._check_prompt_blank(source_lines, indent, name, lineno)
699
+ self._check_prefix(source_lines[1:], ' '*indent + '.', name, lineno)
700
+ source = '\n'.join([sl[indent+4:] for sl in source_lines])
701
+
702
+ # Divide want into lines; check that it's properly indented; and
703
+ # then strip the indentation. Spaces before the last newline should
704
+ # be preserved, so plain rstrip() isn't good enough.
705
+ want = m.group('want')
706
+ want_lines = want.split('\n')
707
+ if len(want_lines) > 1 and re.match(r' *$', want_lines[-1]):
708
+ del want_lines[-1] # forget final newline & spaces after it
709
+ self._check_prefix(want_lines, ' '*indent, name,
710
+ lineno + len(source_lines))
711
+ want = '\n'.join([wl[indent:] for wl in want_lines])
712
+
713
+ # If `want` contains a traceback message, then extract it.
714
+ m = self._EXCEPTION_RE.match(want)
715
+ if m:
716
+ exc_msg = m.group('msg')
717
+ else:
718
+ exc_msg = None
719
+
720
+ # Extract options from the source.
721
+ options = self._find_options(source, name, lineno)
722
+
723
+ return source, options, want, exc_msg
724
+
725
+ # This regular expression looks for option directives in the
726
+ # source code of an example. Option directives are comments
727
+ # starting with "doctest:". Warning: this may give false
728
+ # positives for string-literals that contain the string
729
+ # "#doctest:". Eliminating these false positives would require
730
+ # actually parsing the string; but we limit them by ignoring any
731
+ # line containing "#doctest:" that is *followed* by a quote mark.
732
+ _OPTION_DIRECTIVE_RE = re.compile(r'#\s*doctest:\s*([^\n\'"]*)$',
733
+ re.MULTILINE)
734
+
735
+ def _find_options(self, source, name, lineno):
736
+ """
737
+ Return a dictionary containing option overrides extracted from
738
+ option directives in the given source string.
739
+
740
+ `name` is the string's name, and `lineno` is the line number
741
+ where the example starts; both are used for error messages.
742
+ """
743
+ options = {}
744
+ # (note: with the current regexp, this will match at most once:)
745
+ for m in self._OPTION_DIRECTIVE_RE.finditer(source):
746
+ option_strings = m.group(1).replace(',', ' ').split()
747
+ for option in option_strings:
748
+ if (option[0] not in '+-' or
749
+ option[1:] not in OPTIONFLAGS_BY_NAME):
750
+ raise ValueError('line %r of the doctest for %s '
751
+ 'has an invalid option: %r' %
752
+ (lineno+1, name, option))
753
+ flag = OPTIONFLAGS_BY_NAME[option[1:]]
754
+ options[flag] = (option[0] == '+')
755
+ if options and self._IS_BLANK_OR_COMMENT(source):
756
+ raise ValueError('line %r of the doctest for %s has an option '
757
+ 'directive on a line with no example: %r' %
758
+ (lineno, name, source))
759
+ return options
760
+
761
+ # This regular expression finds the indentation of every non-blank
762
+ # line in a string.
763
+ _INDENT_RE = re.compile('^([ ]*)(?=\S)', re.MULTILINE)
764
+
765
+ def _min_indent(self, s):
766
+ "Return the minimum indentation of any non-blank line in `s`"
767
+ indents = [len(indent) for indent in self._INDENT_RE.findall(s)]
768
+ if len(indents) > 0:
769
+ return min(indents)
770
+ else:
771
+ return 0
772
+
773
+ def _check_prompt_blank(self, lines, indent, name, lineno):
774
+ """
775
+ Given the lines of a source string (including prompts and
776
+ leading indentation), check to make sure that every prompt is
777
+ followed by a space character. If any line is not followed by
778
+ a space character, then raise ValueError.
779
+ """
780
+ for i, line in enumerate(lines):
781
+ if len(line) >= indent+4 and line[indent+3] != ' ':
782
+ raise ValueError('line %r of the docstring for %s '
783
+ 'lacks blank after %s: %r' %
784
+ (lineno+i+1, name,
785
+ line[indent:indent+3], line))
786
+
787
+ def _check_prefix(self, lines, prefix, name, lineno):
788
+ """
789
+ Check that every line in the given list starts with the given
790
+ prefix; if any line does not, then raise a ValueError.
791
+ """
792
+ for i, line in enumerate(lines):
793
+ if line and not line.startswith(prefix):
794
+ raise ValueError('line %r of the docstring for %s has '
795
+ 'inconsistent leading whitespace: %r' %
796
+ (lineno+i+1, name, line))
797
+
798
+
799
+ ######################################################################
800
+ ## 4. DocTest Finder
801
+ ######################################################################
802
+
803
+ class DocTestFinder:
804
+ """
805
+ A class used to extract the DocTests that are relevant to a given
806
+ object, from its docstring and the docstrings of its contained
807
+ objects. Doctests can currently be extracted from the following
808
+ object types: modules, functions, classes, methods, staticmethods,
809
+ classmethods, and properties.
810
+ """
811
+
812
+ def __init__(self, verbose=False, parser=DocTestParser(),
813
+ recurse=True, exclude_empty=True):
814
+ """
815
+ Create a new doctest finder.
816
+
817
+ The optional argument `parser` specifies a class or
818
+ function that should be used to create new DocTest objects (or
819
+ objects that implement the same interface as DocTest). The
820
+ signature for this factory function should match the signature
821
+ of the DocTest constructor.
822
+
823
+ If the optional argument `recurse` is false, then `find` will
824
+ only examine the given object, and not any contained objects.
825
+
826
+ If the optional argument `exclude_empty` is false, then `find`
827
+ will include tests for objects with empty docstrings.
828
+ """
829
+ self._parser = parser
830
+ self._verbose = verbose
831
+ self._recurse = recurse
832
+ self._exclude_empty = exclude_empty
833
+
834
+ def find(self, obj, name=None, module=None, globs=None, extraglobs=None):
835
+ """
836
+ Return a list of the DocTests that are defined by the given
837
+ object's docstring, or by any of its contained objects'
838
+ docstrings.
839
+
840
+ The optional parameter `module` is the module that contains
841
+ the given object. If the module is not specified or is None, then
842
+ the test finder will attempt to automatically determine the
843
+ correct module. The object's module is used:
844
+
845
+ - As a default namespace, if `globs` is not specified.
846
+ - To prevent the DocTestFinder from extracting DocTests
847
+ from objects that are imported from other modules.
848
+ - To find the name of the file containing the object.
849
+ - To help find the line number of the object within its
850
+ file.
851
+
852
+ Contained objects whose module does not match `module` are ignored.
853
+
854
+ If `module` is False, no attempt to find the module will be made.
855
+ This is obscure, of use mostly in tests: if `module` is False, or
856
+ is None but cannot be found automatically, then all objects are
857
+ considered to belong to the (non-existent) module, so all contained
858
+ objects will (recursively) be searched for doctests.
859
+
860
+ The globals for each DocTest is formed by combining `globs`
861
+ and `extraglobs` (bindings in `extraglobs` override bindings
862
+ in `globs`). A new copy of the globals dictionary is created
863
+ for each DocTest. If `globs` is not specified, then it
864
+ defaults to the module's `__dict__`, if specified, or {}
865
+ otherwise. If `extraglobs` is not specified, then it defaults
866
+ to {}.
867
+
868
+ """
869
+ # If name was not specified, then extract it from the object.
870
+ if name is None:
871
+ name = getattr(obj, '__name__', None)
872
+ if name is None:
873
+ raise ValueError("DocTestFinder.find: name must be given "
874
+ "when obj.__name__ doesn't exist: %r" %
875
+ (type(obj),))
876
+
877
+ # Find the module that contains the given object (if obj is
878
+ # a module, then module=obj.). Note: this may fail, in which
879
+ # case module will be None.
880
+ if module is False:
881
+ module = None
882
+ elif module is None:
883
+ module = inspect.getmodule(obj)
884
+
885
+ # Read the module's source code. This is used by
886
+ # DocTestFinder._find_lineno to find the line number for a
887
+ # given object's docstring.
888
+ try:
889
+ file = inspect.getsourcefile(obj)
890
+ except TypeError:
891
+ source_lines = None
892
+ else:
893
+ if not file:
894
+ # Check to see if it's one of our special internal "files"
895
+ # (see __patched_linecache_getlines).
896
+ file = inspect.getfile(obj)
897
+ if not file[0]+file[-2:] == '<]>': file = None
898
+ if file is None:
899
+ source_lines = None
900
+ else:
901
+ if module is not None:
902
+ # Supply the module globals in case the module was
903
+ # originally loaded via a PEP 302 loader and
904
+ # file is not a valid filesystem path
905
+ source_lines = linecache.getlines(file, module.__dict__)
906
+ else:
907
+ # No access to a loader, so assume it's a normal
908
+ # filesystem path
909
+ source_lines = linecache.getlines(file)
910
+ if not source_lines:
911
+ source_lines = None
912
+
913
+ # Initialize globals, and merge in extraglobs.
914
+ if globs is None:
915
+ if module is None:
916
+ globs = {}
917
+ else:
918
+ globs = module.__dict__.copy()
919
+ else:
920
+ globs = globs.copy()
921
+ if extraglobs is not None:
922
+ globs.update(extraglobs)
923
+ if '__name__' not in globs:
924
+ globs['__name__'] = '__main__' # provide a default module name
925
+
926
+ # Recursively explore `obj`, extracting DocTests.
927
+ tests = []
928
+ self._find(tests, obj, name, module, source_lines, globs, {})
929
+ # Sort the tests by alpha order of names, for consistency in
930
+ # verbose-mode output. This was a feature of doctest in Pythons
931
+ # <= 2.3 that got lost by accident in 2.4. It was repaired in
932
+ # 2.4.4 and 2.5.
933
+ tests.sort()
934
+ return tests
935
+
936
+ def _from_module(self, module, object):
937
+ """
938
+ Return true if the given object is defined in the given
939
+ module.
940
+ """
941
+ if module is None:
942
+ return True
943
+ elif inspect.getmodule(object) is not None:
944
+ return module is inspect.getmodule(object)
945
+ elif inspect.isfunction(object):
946
+ return module.__dict__ is object.__globals__
947
+ elif inspect.ismethoddescriptor(object):
948
+ if hasattr(object, '__objclass__'):
949
+ obj_mod = object.__objclass__.__module__
950
+ elif hasattr(object, '__module__'):
951
+ obj_mod = object.__module__
952
+ else:
953
+ return True # [XX] no easy way to tell otherwise
954
+ return module.__name__ == obj_mod
955
+ elif inspect.isclass(object):
956
+ return module.__name__ == object.__module__
957
+ elif hasattr(object, '__module__'):
958
+ return module.__name__ == object.__module__
959
+ elif isinstance(object, property):
960
+ return True # [XX] no way not be sure.
961
+ else:
962
+ raise ValueError("object must be a class or function")
963
+
964
+ def _find(self, tests, obj, name, module, source_lines, globs, seen):
965
+ """
966
+ Find tests for the given object and any contained objects, and
967
+ add them to `tests`.
968
+ """
969
+ if self._verbose:
970
+ print('Finding tests in %s' % name)
971
+
972
+ # If we've already processed this object, then ignore it.
973
+ if id(obj) in seen:
974
+ return
975
+ seen[id(obj)] = 1
976
+
977
+ # Find a test for this object, and add it to the list of tests.
978
+ test = self._get_test(obj, name, module, globs, source_lines)
979
+ if test is not None:
980
+ tests.append(test)
981
+
982
+ # Look for tests in a module's contained objects.
983
+ if inspect.ismodule(obj) and self._recurse:
984
+ for valname, val in obj.__dict__.items():
985
+ valname = '%s.%s' % (name, valname)
986
+ # Recurse to functions & classes.
987
+ if ((inspect.isroutine(val) or inspect.isclass(val)) and
988
+ self._from_module(module, val)):
989
+ self._find(tests, val, valname, module, source_lines,
990
+ globs, seen)
991
+
992
+ # Look for tests in a module's __test__ dictionary.
993
+ if inspect.ismodule(obj) and self._recurse:
994
+ for valname, val in getattr(obj, '__test__', {}).items():
995
+ if not isinstance(valname, str):
996
+ raise ValueError("DocTestFinder.find: __test__ keys "
997
+ "must be strings: %r" %
998
+ (type(valname),))
999
+ if not (inspect.isroutine(val) or inspect.isclass(val) or
1000
+ inspect.ismodule(val) or isinstance(val, str)):
1001
+ raise ValueError("DocTestFinder.find: __test__ values "
1002
+ "must be strings, functions, methods, "
1003
+ "classes, or modules: %r" %
1004
+ (type(val),))
1005
+ valname = '%s.__test__.%s' % (name, valname)
1006
+ self._find(tests, val, valname, module, source_lines,
1007
+ globs, seen)
1008
+
1009
+ # Look for tests in a class's contained objects.
1010
+ if inspect.isclass(obj) and self._recurse:
1011
+ for valname, val in obj.__dict__.items():
1012
+ # Special handling for staticmethod/classmethod.
1013
+ if isinstance(val, staticmethod):
1014
+ val = getattr(obj, valname)
1015
+ if isinstance(val, classmethod):
1016
+ val = getattr(obj, valname).__func__
1017
+
1018
+ # Recurse to methods, properties, and nested classes.
1019
+ if ((inspect.isroutine(val) or inspect.isclass(val) or
1020
+ isinstance(val, property)) and
1021
+ self._from_module(module, val)):
1022
+ valname = '%s.%s' % (name, valname)
1023
+ self._find(tests, val, valname, module, source_lines,
1024
+ globs, seen)
1025
+
1026
+ def _get_test(self, obj, name, module, globs, source_lines):
1027
+ """
1028
+ Return a DocTest for the given object, if it defines a docstring;
1029
+ otherwise, return None.
1030
+ """
1031
+ # Extract the object's docstring. If it doesn't have one,
1032
+ # then return None (no test for this object).
1033
+ if isinstance(obj, str):
1034
+ docstring = obj
1035
+ else:
1036
+ try:
1037
+ if obj.__doc__ is None:
1038
+ docstring = ''
1039
+ else:
1040
+ docstring = obj.__doc__
1041
+ if not isinstance(docstring, str):
1042
+ docstring = str(docstring)
1043
+ except (TypeError, AttributeError):
1044
+ docstring = ''
1045
+
1046
+ # Find the docstring's location in the file.
1047
+ lineno = self._find_lineno(obj, source_lines)
1048
+
1049
+ # Don't bother if the docstring is empty.
1050
+ if self._exclude_empty and not docstring:
1051
+ return None
1052
+
1053
+ # Return a DocTest for this object.
1054
+ if module is None:
1055
+ filename = None
1056
+ else:
1057
+ filename = getattr(module, '__file__', module.__name__)
1058
+ if filename[-4:] in (".pyc", ".pyo"):
1059
+ filename = filename[:-1]
1060
+ return self._parser.get_doctest(docstring, globs, name,
1061
+ filename, lineno)
1062
+
1063
+ def _find_lineno(self, obj, source_lines):
1064
+ """
1065
+ Return a line number of the given object's docstring. Note:
1066
+ this method assumes that the object has a docstring.
1067
+ """
1068
+ lineno = None
1069
+
1070
+ # Find the line number for modules.
1071
+ if inspect.ismodule(obj):
1072
+ lineno = 0
1073
+
1074
+ # Find the line number for classes.
1075
+ # Note: this could be fooled if a class is defined multiple
1076
+ # times in a single file.
1077
+ if inspect.isclass(obj):
1078
+ if source_lines is None:
1079
+ return None
1080
+ pat = re.compile(r'^\s*class\s*%s\b' %
1081
+ getattr(obj, '__name__', '-'))
1082
+ for i, line in enumerate(source_lines):
1083
+ if pat.match(line):
1084
+ lineno = i
1085
+ break
1086
+
1087
+ # Find the line number for functions & methods.
1088
+ if inspect.ismethod(obj): obj = obj.__func__
1089
+ if inspect.isfunction(obj): obj = obj.__code__
1090
+ if inspect.istraceback(obj): obj = obj.tb_frame
1091
+ if inspect.isframe(obj): obj = obj.f_code
1092
+ if inspect.iscode(obj):
1093
+ lineno = getattr(obj, 'co_firstlineno', None)-1
1094
+
1095
+ # Find the line number where the docstring starts. Assume
1096
+ # that it's the first line that begins with a quote mark.
1097
+ # Note: this could be fooled by a multiline function
1098
+ # signature, where a continuation line begins with a quote
1099
+ # mark.
1100
+ if lineno is not None:
1101
+ if source_lines is None:
1102
+ return lineno+1
1103
+ pat = re.compile('(^|.*:)\s*\w*("|\')')
1104
+ for lineno in range(lineno, len(source_lines)):
1105
+ if pat.match(source_lines[lineno]):
1106
+ return lineno
1107
+
1108
+ # We couldn't find the line number.
1109
+ return None
1110
+
1111
+ ######################################################################
1112
+ ## 5. DocTest Runner
1113
+ ######################################################################
1114
+
1115
+ class DocTestRunner:
1116
+ """
1117
+ A class used to run DocTest test cases, and accumulate statistics.
1118
+ The `run` method is used to process a single DocTest case. It
1119
+ returns a tuple `(f, t)`, where `t` is the number of test cases
1120
+ tried, and `f` is the number of test cases that failed.
1121
+
1122
+ >>> tests = DocTestFinder().find(_TestClass)
1123
+ >>> runner = DocTestRunner(verbose=False)
1124
+ >>> tests.sort(key = lambda test: test.name)
1125
+ >>> for test in tests:
1126
+ ... print(test.name, '->', runner.run(test))
1127
+ _TestClass -> TestResults(failed=0, attempted=2)
1128
+ _TestClass.__init__ -> TestResults(failed=0, attempted=2)
1129
+ _TestClass.get -> TestResults(failed=0, attempted=2)
1130
+ _TestClass.square -> TestResults(failed=0, attempted=1)
1131
+
1132
+ The `summarize` method prints a summary of all the test cases that
1133
+ have been run by the runner, and returns an aggregated `(f, t)`
1134
+ tuple:
1135
+
1136
+ >>> runner.summarize(verbose=1)
1137
+ 4 items passed all tests:
1138
+ 2 tests in _TestClass
1139
+ 2 tests in _TestClass.__init__
1140
+ 2 tests in _TestClass.get
1141
+ 1 tests in _TestClass.square
1142
+ 7 tests in 4 items.
1143
+ 7 passed and 0 failed.
1144
+ Test passed.
1145
+ TestResults(failed=0, attempted=7)
1146
+
1147
+ The aggregated number of tried examples and failed examples is
1148
+ also available via the `tries` and `failures` attributes:
1149
+
1150
+ >>> runner.tries
1151
+ 7
1152
+ >>> runner.failures
1153
+ 0
1154
+
1155
+ The comparison between expected outputs and actual outputs is done
1156
+ by an `OutputChecker`. This comparison may be customized with a
1157
+ number of option flags; see the documentation for `testmod` for
1158
+ more information. If the option flags are insufficient, then the
1159
+ comparison may also be customized by passing a subclass of
1160
+ `OutputChecker` to the constructor.
1161
+
1162
+ The test runner's display output can be controlled in two ways.
1163
+ First, an output function (`out) can be passed to
1164
+ `TestRunner.run`; this function will be called with strings that
1165
+ should be displayed. It defaults to `sys.stdout.write`. If
1166
+ capturing the output is not sufficient, then the display output
1167
+ can be also customized by subclassing DocTestRunner, and
1168
+ overriding the methods `report_start`, `report_success`,
1169
+ `report_unexpected_exception`, and `report_failure`.
1170
+ """
1171
+ # This divider string is used to separate failure messages, and to
1172
+ # separate sections of the summary.
1173
+ DIVIDER = "*" * 70
1174
+
1175
+ def __init__(self, checker=None, verbose=None, optionflags=0):
1176
+ """
1177
+ Create a new test runner.
1178
+
1179
+ Optional keyword arg `checker` is the `OutputChecker` that
1180
+ should be used to compare the expected outputs and actual
1181
+ outputs of doctest examples.
1182
+
1183
+ Optional keyword arg 'verbose' prints lots of stuff if true,
1184
+ only failures if false; by default, it's true iff '-v' is in
1185
+ sys.argv.
1186
+
1187
+ Optional argument `optionflags` can be used to control how the
1188
+ test runner compares expected output to actual output, and how
1189
+ it displays failures. See the documentation for `testmod` for
1190
+ more information.
1191
+ """
1192
+ self._checker = checker or OutputChecker()
1193
+ if verbose is None:
1194
+ verbose = '-v' in sys.argv
1195
+ self._verbose = verbose
1196
+ self.optionflags = optionflags
1197
+ self.original_optionflags = optionflags
1198
+
1199
+ # Keep track of the examples we've run.
1200
+ self.tries = 0
1201
+ self.failures = 0
1202
+ self._name2ft = {}
1203
+
1204
+ # Create a fake output target for capturing doctest output.
1205
+ self._fakeout = _SpoofOut()
1206
+
1207
+ #/////////////////////////////////////////////////////////////////
1208
+ # Reporting methods
1209
+ #/////////////////////////////////////////////////////////////////
1210
+
1211
+ def report_start(self, out, test, example):
1212
+ """
1213
+ Report that the test runner is about to process the given
1214
+ example. (Only displays a message if verbose=True)
1215
+ """
1216
+ if self._verbose:
1217
+ if example.want:
1218
+ out('Trying:\n' + _indent(example.source) +
1219
+ 'Expecting:\n' + _indent(example.want))
1220
+ else:
1221
+ out('Trying:\n' + _indent(example.source) +
1222
+ 'Expecting nothing\n')
1223
+
1224
+ def report_success(self, out, test, example, got):
1225
+ """
1226
+ Report that the given example ran successfully. (Only
1227
+ displays a message if verbose=True)
1228
+ """
1229
+ if self._verbose:
1230
+ out("ok\n")
1231
+
1232
+ def report_failure(self, out, test, example, got):
1233
+ """
1234
+ Report that the given example failed.
1235
+ """
1236
+ out(self._failure_header(test, example) +
1237
+ self._checker.output_difference(example, got, self.optionflags))
1238
+
1239
+ def report_unexpected_exception(self, out, test, example, exc_info):
1240
+ """
1241
+ Report that the given example raised an unexpected exception.
1242
+ """
1243
+ out(self._failure_header(test, example) +
1244
+ 'Exception raised:\n' + _indent(_exception_traceback(exc_info)))
1245
+
1246
+ def _failure_header(self, test, example):
1247
+ out = [self.DIVIDER]
1248
+ if test.filename:
1249
+ if test.lineno is not None and example.lineno is not None:
1250
+ lineno = test.lineno + example.lineno + 1
1251
+ else:
1252
+ lineno = '?'
1253
+ out.append('File "%s", line %s, in %s' %
1254
+ (test.filename, lineno, test.name))
1255
+ else:
1256
+ out.append('Line %s, in %s' % (example.lineno+1, test.name))
1257
+ out.append('Failed example:')
1258
+ source = example.source
1259
+ out.append(_indent(source))
1260
+ return '\n'.join(out)
1261
+
1262
+ #/////////////////////////////////////////////////////////////////
1263
+ # DocTest Running
1264
+ #/////////////////////////////////////////////////////////////////
1265
+
1266
+ def __run(self, test, compileflags, out):
1267
+ """
1268
+ Run the examples in `test`. Write the outcome of each example
1269
+ with one of the `DocTestRunner.report_*` methods, using the
1270
+ writer function `out`. `compileflags` is the set of compiler
1271
+ flags that should be used to execute examples. Return a tuple
1272
+ `(f, t)`, where `t` is the number of examples tried, and `f`
1273
+ is the number of examples that failed. The examples are run
1274
+ in the namespace `test.globs`.
1275
+ """
1276
+ # Keep track of the number of failures and tries.
1277
+ failures = tries = 0
1278
+
1279
+ # Save the option flags (since option directives can be used
1280
+ # to modify them).
1281
+ original_optionflags = self.optionflags
1282
+
1283
+ SUCCESS, FAILURE, BOOM = range(3) # `outcome` state
1284
+
1285
+ check = self._checker.check_output
1286
+
1287
+ # Process each example.
1288
+ for examplenum, example in enumerate(test.examples):
1289
+
1290
+ # If REPORT_ONLY_FIRST_FAILURE is set, then suppress
1291
+ # reporting after the first failure.
1292
+ quiet = (self.optionflags & REPORT_ONLY_FIRST_FAILURE and
1293
+ failures > 0)
1294
+
1295
+ # Merge in the example's options.
1296
+ self.optionflags = original_optionflags
1297
+ if example.options:
1298
+ for (optionflag, val) in example.options.items():
1299
+ if val:
1300
+ self.optionflags |= optionflag
1301
+ else:
1302
+ self.optionflags &= ~optionflag
1303
+
1304
+ # If 'SKIP' is set, then skip this example.
1305
+ if self.optionflags & SKIP:
1306
+ continue
1307
+
1308
+ # Record that we started this example.
1309
+ tries += 1
1310
+ if not quiet:
1311
+ self.report_start(out, test, example)
1312
+
1313
+ # Use a special filename for compile(), so we can retrieve
1314
+ # the source code during interactive debugging (see
1315
+ # __patched_linecache_getlines).
1316
+ filename = '<doctest %s[%d]>' % (test.name, examplenum)
1317
+
1318
+ # Run the example in the given context (globs), and record
1319
+ # any exception that gets raised. (But don't intercept
1320
+ # keyboard interrupts.)
1321
+ try:
1322
+ # Don't blink! This is where the user's code gets run.
1323
+ exec(compile(example.source, filename, "single",
1324
+ compileflags, 1), test.globs)
1325
+ self.debugger.set_continue() # ==== Example Finished ====
1326
+ exception = None
1327
+ except KeyboardInterrupt:
1328
+ raise
1329
+ except:
1330
+ exception = sys.exc_info()
1331
+ self.debugger.set_continue() # ==== Example Finished ====
1332
+
1333
+ got = self._fakeout.getvalue() # the actual output
1334
+ self._fakeout.truncate(0)
1335
+ outcome = FAILURE # guilty until proved innocent or insane
1336
+
1337
+ # If the example executed without raising any exceptions,
1338
+ # verify its output.
1339
+ if exception is None:
1340
+ if check(example.want, got, self.optionflags):
1341
+ outcome = SUCCESS
1342
+
1343
+ # The example raised an exception: check if it was expected.
1344
+ else:
1345
+ exc_msg = traceback.format_exception_only(*exception[:2])[-1]
1346
+ if not quiet:
1347
+ got += _exception_traceback(exception)
1348
+
1349
+ # If `example.exc_msg` is None, then we weren't expecting
1350
+ # an exception.
1351
+ if example.exc_msg is None:
1352
+ outcome = BOOM
1353
+
1354
+ # We expected an exception: see whether it matches.
1355
+ elif check(example.exc_msg, exc_msg, self.optionflags):
1356
+ outcome = SUCCESS
1357
+
1358
+ # Another chance if they didn't care about the detail.
1359
+ elif self.optionflags & IGNORE_EXCEPTION_DETAIL:
1360
+ if check(_strip_exception_details(example.exc_msg),
1361
+ _strip_exception_details(exc_msg),
1362
+ self.optionflags):
1363
+ outcome = SUCCESS
1364
+
1365
+ # Report the outcome.
1366
+ if outcome is SUCCESS:
1367
+ if not quiet:
1368
+ self.report_success(out, test, example, got)
1369
+ elif outcome is FAILURE:
1370
+ if not quiet:
1371
+ self.report_failure(out, test, example, got)
1372
+ failures += 1
1373
+ elif outcome is BOOM:
1374
+ if not quiet:
1375
+ self.report_unexpected_exception(out, test, example,
1376
+ exception)
1377
+ failures += 1
1378
+ else:
1379
+ assert False, ("unknown outcome", outcome)
1380
+
1381
+ if failures and self.optionflags & FAIL_FAST:
1382
+ break
1383
+
1384
+ # Restore the option flags (in case they were modified)
1385
+ self.optionflags = original_optionflags
1386
+
1387
+ # Record and return the number of failures and tries.
1388
+ self.__record_outcome(test, failures, tries)
1389
+ return TestResults(failures, tries)
1390
+
1391
+ def __record_outcome(self, test, f, t):
1392
+ """
1393
+ Record the fact that the given DocTest (`test`) generated `f`
1394
+ failures out of `t` tried examples.
1395
+ """
1396
+ f2, t2 = self._name2ft.get(test.name, (0,0))
1397
+ self._name2ft[test.name] = (f+f2, t+t2)
1398
+ self.failures += f
1399
+ self.tries += t
1400
+
1401
+ __LINECACHE_FILENAME_RE = re.compile(r'<doctest '
1402
+ r'(?P<name>.+)'
1403
+ r'\[(?P<examplenum>\d+)\]>$')
1404
+ def __patched_linecache_getlines(self, filename, module_globals=None):
1405
+ m = self.__LINECACHE_FILENAME_RE.match(filename)
1406
+ if m and m.group('name') == self.test.name:
1407
+ example = self.test.examples[int(m.group('examplenum'))]
1408
+ return example.source.splitlines(keepends=True)
1409
+ else:
1410
+ return self.save_linecache_getlines(filename, module_globals)
1411
+
1412
+ def run(self, test, compileflags=None, out=None, clear_globs=True):
1413
+ """
1414
+ Run the examples in `test`, and display the results using the
1415
+ writer function `out`.
1416
+
1417
+ The examples are run in the namespace `test.globs`. If
1418
+ `clear_globs` is true (the default), then this namespace will
1419
+ be cleared after the test runs, to help with garbage
1420
+ collection. If you would like to examine the namespace after
1421
+ the test completes, then use `clear_globs=False`.
1422
+
1423
+ `compileflags` gives the set of flags that should be used by
1424
+ the Python compiler when running the examples. If not
1425
+ specified, then it will default to the set of future-import
1426
+ flags that apply to `globs`.
1427
+
1428
+ The output of each example is checked using
1429
+ `DocTestRunner.check_output`, and the results are formatted by
1430
+ the `DocTestRunner.report_*` methods.
1431
+ """
1432
+ self.test = test
1433
+
1434
+ if compileflags is None:
1435
+ compileflags = _extract_future_flags(test.globs)
1436
+
1437
+ save_stdout = sys.stdout
1438
+ if out is None:
1439
+ encoding = save_stdout.encoding
1440
+ if encoding is None or encoding.lower() == 'utf-8':
1441
+ out = save_stdout.write
1442
+ else:
1443
+ # Use backslashreplace error handling on write
1444
+ def out(s):
1445
+ s = str(s.encode(encoding, 'backslashreplace'), encoding)
1446
+ save_stdout.write(s)
1447
+ sys.stdout = self._fakeout
1448
+
1449
+ # Patch pdb.set_trace to restore sys.stdout during interactive
1450
+ # debugging (so it's not still redirected to self._fakeout).
1451
+ # Note that the interactive output will go to *our*
1452
+ # save_stdout, even if that's not the real sys.stdout; this
1453
+ # allows us to write test cases for the set_trace behavior.
1454
+ save_trace = sys.gettrace()
1455
+ save_set_trace = pdb.set_trace
1456
+ self.debugger = _OutputRedirectingPdb(save_stdout)
1457
+ self.debugger.reset()
1458
+ pdb.set_trace = self.debugger.set_trace
1459
+
1460
+ # Patch linecache.getlines, so we can see the example's source
1461
+ # when we're inside the debugger.
1462
+ self.save_linecache_getlines = linecache.getlines
1463
+ linecache.getlines = self.__patched_linecache_getlines
1464
+
1465
+ # Make sure sys.displayhook just prints the value to stdout
1466
+ save_displayhook = sys.displayhook
1467
+ sys.displayhook = sys.__displayhook__
1468
+
1469
+ try:
1470
+ return self.__run(test, compileflags, out)
1471
+ finally:
1472
+ sys.stdout = save_stdout
1473
+ pdb.set_trace = save_set_trace
1474
+ sys.settrace(save_trace)
1475
+ linecache.getlines = self.save_linecache_getlines
1476
+ sys.displayhook = save_displayhook
1477
+ if clear_globs:
1478
+ test.globs.clear()
1479
+ import builtins
1480
+ builtins._ = None
1481
+
1482
+ #/////////////////////////////////////////////////////////////////
1483
+ # Summarization
1484
+ #/////////////////////////////////////////////////////////////////
1485
+ def summarize(self, verbose=None):
1486
+ """
1487
+ Print a summary of all the test cases that have been run by
1488
+ this DocTestRunner, and return a tuple `(f, t)`, where `f` is
1489
+ the total number of failed examples, and `t` is the total
1490
+ number of tried examples.
1491
+
1492
+ The optional `verbose` argument controls how detailed the
1493
+ summary is. If the verbosity is not specified, then the
1494
+ DocTestRunner's verbosity is used.
1495
+ """
1496
+ if verbose is None:
1497
+ verbose = self._verbose
1498
+ notests = []
1499
+ passed = []
1500
+ failed = []
1501
+ totalt = totalf = 0
1502
+ for x in self._name2ft.items():
1503
+ name, (f, t) = x
1504
+ assert f <= t
1505
+ totalt += t
1506
+ totalf += f
1507
+ if t == 0:
1508
+ notests.append(name)
1509
+ elif f == 0:
1510
+ passed.append( (name, t) )
1511
+ else:
1512
+ failed.append(x)
1513
+ if verbose:
1514
+ if notests:
1515
+ print(len(notests), "items had no tests:")
1516
+ notests.sort()
1517
+ for thing in notests:
1518
+ print(" ", thing)
1519
+ if passed:
1520
+ print(len(passed), "items passed all tests:")
1521
+ passed.sort()
1522
+ for thing, count in passed:
1523
+ print(" %3d tests in %s" % (count, thing))
1524
+ if failed:
1525
+ print(self.DIVIDER)
1526
+ print(len(failed), "items had failures:")
1527
+ failed.sort()
1528
+ for thing, (f, t) in failed:
1529
+ print(" %3d of %3d in %s" % (f, t, thing))
1530
+ if verbose:
1531
+ print(totalt, "tests in", len(self._name2ft), "items.")
1532
+ print(totalt - totalf, "passed and", totalf, "failed.")
1533
+ if totalf:
1534
+ print("***Test Failed***", totalf, "failures.")
1535
+ elif verbose:
1536
+ print("Test passed.")
1537
+ return TestResults(totalf, totalt)
1538
+
1539
+ #/////////////////////////////////////////////////////////////////
1540
+ # Backward compatibility cruft to maintain doctest.master.
1541
+ #/////////////////////////////////////////////////////////////////
1542
+ def merge(self, other):
1543
+ d = self._name2ft
1544
+ for name, (f, t) in other._name2ft.items():
1545
+ if name in d:
1546
+ # Don't print here by default, since doing
1547
+ # so breaks some of the buildbots
1548
+ #print("*** DocTestRunner.merge: '" + name + "' in both" \
1549
+ # " testers; summing outcomes.")
1550
+ f2, t2 = d[name]
1551
+ f = f + f2
1552
+ t = t + t2
1553
+ d[name] = f, t
1554
+
1555
+ class OutputChecker:
1556
+ """
1557
+ A class used to check the whether the actual output from a doctest
1558
+ example matches the expected output. `OutputChecker` defines two
1559
+ methods: `check_output`, which compares a given pair of outputs,
1560
+ and returns true if they match; and `output_difference`, which
1561
+ returns a string describing the differences between two outputs.
1562
+ """
1563
+ def _toAscii(self, s):
1564
+ """
1565
+ Convert string to hex-escaped ASCII string.
1566
+ """
1567
+ return str(s.encode('ASCII', 'backslashreplace'), "ASCII")
1568
+
1569
+ def check_output(self, want, got, optionflags):
1570
+ """
1571
+ Return True iff the actual output from an example (`got`)
1572
+ matches the expected output (`want`). These strings are
1573
+ always considered to match if they are identical; but
1574
+ depending on what option flags the test runner is using,
1575
+ several non-exact match types are also possible. See the
1576
+ documentation for `TestRunner` for more information about
1577
+ option flags.
1578
+ """
1579
+
1580
+ # If `want` contains hex-escaped character such as "\u1234",
1581
+ # then `want` is a string of six characters(e.g. [\,u,1,2,3,4]).
1582
+ # On the other hand, `got` could be an another sequence of
1583
+ # characters such as [\u1234], so `want` and `got` should
1584
+ # be folded to hex-escaped ASCII string to compare.
1585
+ got = self._toAscii(got)
1586
+ want = self._toAscii(want)
1587
+
1588
+ # Handle the common case first, for efficiency:
1589
+ # if they're string-identical, always return true.
1590
+ if got == want:
1591
+ return True
1592
+
1593
+ # The values True and False replaced 1 and 0 as the return
1594
+ # value for boolean comparisons in Python 2.3.
1595
+ if not (optionflags & DONT_ACCEPT_TRUE_FOR_1):
1596
+ if (got,want) == ("True\n", "1\n"):
1597
+ return True
1598
+ if (got,want) == ("False\n", "0\n"):
1599
+ return True
1600
+
1601
+ # <BLANKLINE> can be used as a special sequence to signify a
1602
+ # blank line, unless the DONT_ACCEPT_BLANKLINE flag is used.
1603
+ if not (optionflags & DONT_ACCEPT_BLANKLINE):
1604
+ # Replace <BLANKLINE> in want with a blank line.
1605
+ want = re.sub('(?m)^%s\s*?$' % re.escape(BLANKLINE_MARKER),
1606
+ '', want)
1607
+ # If a line in got contains only spaces, then remove the
1608
+ # spaces.
1609
+ got = re.sub('(?m)^\s*?$', '', got)
1610
+ if got == want:
1611
+ return True
1612
+
1613
+ # This flag causes doctest to ignore any differences in the
1614
+ # contents of whitespace strings. Note that this can be used
1615
+ # in conjunction with the ELLIPSIS flag.
1616
+ if optionflags & NORMALIZE_WHITESPACE:
1617
+ got = ' '.join(got.split())
1618
+ want = ' '.join(want.split())
1619
+ if got == want:
1620
+ return True
1621
+
1622
+ # The ELLIPSIS flag says to let the sequence "..." in `want`
1623
+ # match any substring in `got`.
1624
+ if optionflags & ELLIPSIS:
1625
+ if _ellipsis_match(want, got):
1626
+ return True
1627
+
1628
+ # We didn't find any match; return false.
1629
+ return False
1630
+
1631
+ # Should we do a fancy diff?
1632
+ def _do_a_fancy_diff(self, want, got, optionflags):
1633
+ # Not unless they asked for a fancy diff.
1634
+ if not optionflags & (REPORT_UDIFF |
1635
+ REPORT_CDIFF |
1636
+ REPORT_NDIFF):
1637
+ return False
1638
+
1639
+ # If expected output uses ellipsis, a meaningful fancy diff is
1640
+ # too hard ... or maybe not. In two real-life failures Tim saw,
1641
+ # a diff was a major help anyway, so this is commented out.
1642
+ # [todo] _ellipsis_match() knows which pieces do and don't match,
1643
+ # and could be the basis for a kick-ass diff in this case.
1644
+ ##if optionflags & ELLIPSIS and ELLIPSIS_MARKER in want:
1645
+ ## return False
1646
+
1647
+ # ndiff does intraline difference marking, so can be useful even
1648
+ # for 1-line differences.
1649
+ if optionflags & REPORT_NDIFF:
1650
+ return True
1651
+
1652
+ # The other diff types need at least a few lines to be helpful.
1653
+ return want.count('\n') > 2 and got.count('\n') > 2
1654
+
1655
+ def output_difference(self, example, got, optionflags):
1656
+ """
1657
+ Return a string describing the differences between the
1658
+ expected output for a given example (`example`) and the actual
1659
+ output (`got`). `optionflags` is the set of option flags used
1660
+ to compare `want` and `got`.
1661
+ """
1662
+ want = example.want
1663
+ # If <BLANKLINE>s are being used, then replace blank lines
1664
+ # with <BLANKLINE> in the actual output string.
1665
+ if not (optionflags & DONT_ACCEPT_BLANKLINE):
1666
+ got = re.sub('(?m)^[ ]*(?=\n)', BLANKLINE_MARKER, got)
1667
+
1668
+ # Check if we should use diff.
1669
+ if self._do_a_fancy_diff(want, got, optionflags):
1670
+ # Split want & got into lines.
1671
+ want_lines = want.splitlines(keepends=True)
1672
+ got_lines = got.splitlines(keepends=True)
1673
+ # Use difflib to find their differences.
1674
+ if optionflags & REPORT_UDIFF:
1675
+ diff = difflib.unified_diff(want_lines, got_lines, n=2)
1676
+ diff = list(diff)[2:] # strip the diff header
1677
+ kind = 'unified diff with -expected +actual'
1678
+ elif optionflags & REPORT_CDIFF:
1679
+ diff = difflib.context_diff(want_lines, got_lines, n=2)
1680
+ diff = list(diff)[2:] # strip the diff header
1681
+ kind = 'context diff with expected followed by actual'
1682
+ elif optionflags & REPORT_NDIFF:
1683
+ engine = difflib.Differ(charjunk=difflib.IS_CHARACTER_JUNK)
1684
+ diff = list(engine.compare(want_lines, got_lines))
1685
+ kind = 'ndiff with -expected +actual'
1686
+ else:
1687
+ assert 0, 'Bad diff option'
1688
+ # Remove trailing whitespace on diff output.
1689
+ diff = [line.rstrip() + '\n' for line in diff]
1690
+ return 'Differences (%s):\n' % kind + _indent(''.join(diff))
1691
+
1692
+ # If we're not using diff, then simply list the expected
1693
+ # output followed by the actual output.
1694
+ if want and got:
1695
+ return 'Expected:\n%sGot:\n%s' % (_indent(want), _indent(got))
1696
+ elif want:
1697
+ return 'Expected:\n%sGot nothing\n' % _indent(want)
1698
+ elif got:
1699
+ return 'Expected nothing\nGot:\n%s' % _indent(got)
1700
+ else:
1701
+ return 'Expected nothing\nGot nothing\n'
1702
+
1703
+ class DocTestFailure(Exception):
1704
+ """A DocTest example has failed in debugging mode.
1705
+
1706
+ The exception instance has variables:
1707
+
1708
+ - test: the DocTest object being run
1709
+
1710
+ - example: the Example object that failed
1711
+
1712
+ - got: the actual output
1713
+ """
1714
+ def __init__(self, test, example, got):
1715
+ self.test = test
1716
+ self.example = example
1717
+ self.got = got
1718
+
1719
+ def __str__(self):
1720
+ return str(self.test)
1721
+
1722
+ class UnexpectedException(Exception):
1723
+ """A DocTest example has encountered an unexpected exception
1724
+
1725
+ The exception instance has variables:
1726
+
1727
+ - test: the DocTest object being run
1728
+
1729
+ - example: the Example object that failed
1730
+
1731
+ - exc_info: the exception info
1732
+ """
1733
+ def __init__(self, test, example, exc_info):
1734
+ self.test = test
1735
+ self.example = example
1736
+ self.exc_info = exc_info
1737
+
1738
+ def __str__(self):
1739
+ return str(self.test)
1740
+
1741
+ class DebugRunner(DocTestRunner):
1742
+ r"""Run doc tests but raise an exception as soon as there is a failure.
1743
+
1744
+ If an unexpected exception occurs, an UnexpectedException is raised.
1745
+ It contains the test, the example, and the original exception:
1746
+
1747
+ >>> runner = DebugRunner(verbose=False)
1748
+ >>> test = DocTestParser().get_doctest('>>> raise KeyError\n42',
1749
+ ... {}, 'foo', 'foo.py', 0)
1750
+ >>> try:
1751
+ ... runner.run(test)
1752
+ ... except UnexpectedException as f:
1753
+ ... failure = f
1754
+
1755
+ >>> failure.test is test
1756
+ True
1757
+
1758
+ >>> failure.example.want
1759
+ '42\n'
1760
+
1761
+ >>> exc_info = failure.exc_info
1762
+ >>> raise exc_info[1] # Already has the traceback
1763
+ Traceback (most recent call last):
1764
+ ...
1765
+ KeyError
1766
+
1767
+ We wrap the original exception to give the calling application
1768
+ access to the test and example information.
1769
+
1770
+ If the output doesn't match, then a DocTestFailure is raised:
1771
+
1772
+ >>> test = DocTestParser().get_doctest('''
1773
+ ... >>> x = 1
1774
+ ... >>> x
1775
+ ... 2
1776
+ ... ''', {}, 'foo', 'foo.py', 0)
1777
+
1778
+ >>> try:
1779
+ ... runner.run(test)
1780
+ ... except DocTestFailure as f:
1781
+ ... failure = f
1782
+
1783
+ DocTestFailure objects provide access to the test:
1784
+
1785
+ >>> failure.test is test
1786
+ True
1787
+
1788
+ As well as to the example:
1789
+
1790
+ >>> failure.example.want
1791
+ '2\n'
1792
+
1793
+ and the actual output:
1794
+
1795
+ >>> failure.got
1796
+ '1\n'
1797
+
1798
+ If a failure or error occurs, the globals are left intact:
1799
+
1800
+ >>> del test.globs['__builtins__']
1801
+ >>> test.globs
1802
+ {'x': 1}
1803
+
1804
+ >>> test = DocTestParser().get_doctest('''
1805
+ ... >>> x = 2
1806
+ ... >>> raise KeyError
1807
+ ... ''', {}, 'foo', 'foo.py', 0)
1808
+
1809
+ >>> runner.run(test)
1810
+ Traceback (most recent call last):
1811
+ ...
1812
+ doctest.UnexpectedException: <DocTest foo from foo.py:0 (2 examples)>
1813
+
1814
+ >>> del test.globs['__builtins__']
1815
+ >>> test.globs
1816
+ {'x': 2}
1817
+
1818
+ But the globals are cleared if there is no error:
1819
+
1820
+ >>> test = DocTestParser().get_doctest('''
1821
+ ... >>> x = 2
1822
+ ... ''', {}, 'foo', 'foo.py', 0)
1823
+
1824
+ >>> runner.run(test)
1825
+ TestResults(failed=0, attempted=1)
1826
+
1827
+ >>> test.globs
1828
+ {}
1829
+
1830
+ """
1831
+
1832
+ def run(self, test, compileflags=None, out=None, clear_globs=True):
1833
+ r = DocTestRunner.run(self, test, compileflags, out, False)
1834
+ if clear_globs:
1835
+ test.globs.clear()
1836
+ return r
1837
+
1838
+ def report_unexpected_exception(self, out, test, example, exc_info):
1839
+ raise UnexpectedException(test, example, exc_info)
1840
+
1841
+ def report_failure(self, out, test, example, got):
1842
+ raise DocTestFailure(test, example, got)
1843
+
1844
+ ######################################################################
1845
+ ## 6. Test Functions
1846
+ ######################################################################
1847
+ # These should be backwards compatible.
1848
+
1849
+ # For backward compatibility, a global instance of a DocTestRunner
1850
+ # class, updated by testmod.
1851
+ master = None
1852
+
1853
+ def testmod(m=None, name=None, globs=None, verbose=None,
1854
+ report=True, optionflags=0, extraglobs=None,
1855
+ raise_on_error=False, exclude_empty=False):
1856
+ """m=None, name=None, globs=None, verbose=None, report=True,
1857
+ optionflags=0, extraglobs=None, raise_on_error=False,
1858
+ exclude_empty=False
1859
+
1860
+ Test examples in docstrings in functions and classes reachable
1861
+ from module m (or the current module if m is not supplied), starting
1862
+ with m.__doc__.
1863
+
1864
+ Also test examples reachable from dict m.__test__ if it exists and is
1865
+ not None. m.__test__ maps names to functions, classes and strings;
1866
+ function and class docstrings are tested even if the name is private;
1867
+ strings are tested directly, as if they were docstrings.
1868
+
1869
+ Return (#failures, #tests).
1870
+
1871
+ See help(doctest) for an overview.
1872
+
1873
+ Optional keyword arg "name" gives the name of the module; by default
1874
+ use m.__name__.
1875
+
1876
+ Optional keyword arg "globs" gives a dict to be used as the globals
1877
+ when executing examples; by default, use m.__dict__. A copy of this
1878
+ dict is actually used for each docstring, so that each docstring's
1879
+ examples start with a clean slate.
1880
+
1881
+ Optional keyword arg "extraglobs" gives a dictionary that should be
1882
+ merged into the globals that are used to execute examples. By
1883
+ default, no extra globals are used. This is new in 2.4.
1884
+
1885
+ Optional keyword arg "verbose" prints lots of stuff if true, prints
1886
+ only failures if false; by default, it's true iff "-v" is in sys.argv.
1887
+
1888
+ Optional keyword arg "report" prints a summary at the end when true,
1889
+ else prints nothing at the end. In verbose mode, the summary is
1890
+ detailed, else very brief (in fact, empty if all tests passed).
1891
+
1892
+ Optional keyword arg "optionflags" or's together module constants,
1893
+ and defaults to 0. This is new in 2.3. Possible values (see the
1894
+ docs for details):
1895
+
1896
+ DONT_ACCEPT_TRUE_FOR_1
1897
+ DONT_ACCEPT_BLANKLINE
1898
+ NORMALIZE_WHITESPACE
1899
+ ELLIPSIS
1900
+ SKIP
1901
+ IGNORE_EXCEPTION_DETAIL
1902
+ REPORT_UDIFF
1903
+ REPORT_CDIFF
1904
+ REPORT_NDIFF
1905
+ REPORT_ONLY_FIRST_FAILURE
1906
+
1907
+ Optional keyword arg "raise_on_error" raises an exception on the
1908
+ first unexpected exception or failure. This allows failures to be
1909
+ post-mortem debugged.
1910
+
1911
+ Advanced tomfoolery: testmod runs methods of a local instance of
1912
+ class doctest.Tester, then merges the results into (or creates)
1913
+ global Tester instance doctest.master. Methods of doctest.master
1914
+ can be called directly too, if you want to do something unusual.
1915
+ Passing report=0 to testmod is especially useful then, to delay
1916
+ displaying a summary. Invoke doctest.master.summarize(verbose)
1917
+ when you're done fiddling.
1918
+ """
1919
+ global master
1920
+
1921
+ # If no module was given, then use __main__.
1922
+ if m is None:
1923
+ # DWA - m will still be None if this wasn't invoked from the command
1924
+ # line, in which case the following TypeError is about as good an error
1925
+ # as we should expect
1926
+ m = sys.modules.get('__main__')
1927
+
1928
+ # Check that we were actually given a module.
1929
+ if not inspect.ismodule(m):
1930
+ raise TypeError("testmod: module required; %r" % (m,))
1931
+
1932
+ # If no name was given, then use the module's name.
1933
+ if name is None:
1934
+ name = m.__name__
1935
+
1936
+ # Find, parse, and run all tests in the given module.
1937
+ finder = DocTestFinder(exclude_empty=exclude_empty)
1938
+
1939
+ if raise_on_error:
1940
+ runner = DebugRunner(verbose=verbose, optionflags=optionflags)
1941
+ else:
1942
+ runner = DocTestRunner(verbose=verbose, optionflags=optionflags)
1943
+
1944
+ for test in finder.find(m, name, globs=globs, extraglobs=extraglobs):
1945
+ runner.run(test)
1946
+
1947
+ if report:
1948
+ runner.summarize()
1949
+
1950
+ if master is None:
1951
+ master = runner
1952
+ else:
1953
+ master.merge(runner)
1954
+
1955
+ return TestResults(runner.failures, runner.tries)
1956
+
1957
+ def testfile(filename, module_relative=True, name=None, package=None,
1958
+ globs=None, verbose=None, report=True, optionflags=0,
1959
+ extraglobs=None, raise_on_error=False, parser=DocTestParser(),
1960
+ encoding=None):
1961
+ """
1962
+ Test examples in the given file. Return (#failures, #tests).
1963
+
1964
+ Optional keyword arg "module_relative" specifies how filenames
1965
+ should be interpreted:
1966
+
1967
+ - If "module_relative" is True (the default), then "filename"
1968
+ specifies a module-relative path. By default, this path is
1969
+ relative to the calling module's directory; but if the
1970
+ "package" argument is specified, then it is relative to that
1971
+ package. To ensure os-independence, "filename" should use
1972
+ "/" characters to separate path segments, and should not
1973
+ be an absolute path (i.e., it may not begin with "/").
1974
+
1975
+ - If "module_relative" is False, then "filename" specifies an
1976
+ os-specific path. The path may be absolute or relative (to
1977
+ the current working directory).
1978
+
1979
+ Optional keyword arg "name" gives the name of the test; by default
1980
+ use the file's basename.
1981
+
1982
+ Optional keyword argument "package" is a Python package or the
1983
+ name of a Python package whose directory should be used as the
1984
+ base directory for a module relative filename. If no package is
1985
+ specified, then the calling module's directory is used as the base
1986
+ directory for module relative filenames. It is an error to
1987
+ specify "package" if "module_relative" is False.
1988
+
1989
+ Optional keyword arg "globs" gives a dict to be used as the globals
1990
+ when executing examples; by default, use {}. A copy of this dict
1991
+ is actually used for each docstring, so that each docstring's
1992
+ examples start with a clean slate.
1993
+
1994
+ Optional keyword arg "extraglobs" gives a dictionary that should be
1995
+ merged into the globals that are used to execute examples. By
1996
+ default, no extra globals are used.
1997
+
1998
+ Optional keyword arg "verbose" prints lots of stuff if true, prints
1999
+ only failures if false; by default, it's true iff "-v" is in sys.argv.
2000
+
2001
+ Optional keyword arg "report" prints a summary at the end when true,
2002
+ else prints nothing at the end. In verbose mode, the summary is
2003
+ detailed, else very brief (in fact, empty if all tests passed).
2004
+
2005
+ Optional keyword arg "optionflags" or's together module constants,
2006
+ and defaults to 0. Possible values (see the docs for details):
2007
+
2008
+ DONT_ACCEPT_TRUE_FOR_1
2009
+ DONT_ACCEPT_BLANKLINE
2010
+ NORMALIZE_WHITESPACE
2011
+ ELLIPSIS
2012
+ SKIP
2013
+ IGNORE_EXCEPTION_DETAIL
2014
+ REPORT_UDIFF
2015
+ REPORT_CDIFF
2016
+ REPORT_NDIFF
2017
+ REPORT_ONLY_FIRST_FAILURE
2018
+
2019
+ Optional keyword arg "raise_on_error" raises an exception on the
2020
+ first unexpected exception or failure. This allows failures to be
2021
+ post-mortem debugged.
2022
+
2023
+ Optional keyword arg "parser" specifies a DocTestParser (or
2024
+ subclass) that should be used to extract tests from the files.
2025
+
2026
+ Optional keyword arg "encoding" specifies an encoding that should
2027
+ be used to convert the file to unicode.
2028
+
2029
+ Advanced tomfoolery: testmod runs methods of a local instance of
2030
+ class doctest.Tester, then merges the results into (or creates)
2031
+ global Tester instance doctest.master. Methods of doctest.master
2032
+ can be called directly too, if you want to do something unusual.
2033
+ Passing report=0 to testmod is especially useful then, to delay
2034
+ displaying a summary. Invoke doctest.master.summarize(verbose)
2035
+ when you're done fiddling.
2036
+ """
2037
+ global master
2038
+
2039
+ if package and not module_relative:
2040
+ raise ValueError("Package may only be specified for module-"
2041
+ "relative paths.")
2042
+
2043
+ # Relativize the path
2044
+ text, filename = _load_testfile(filename, package, module_relative,
2045
+ encoding or "utf-8")
2046
+
2047
+ # If no name was given, then use the file's name.
2048
+ if name is None:
2049
+ name = os.path.basename(filename)
2050
+
2051
+ # Assemble the globals.
2052
+ if globs is None:
2053
+ globs = {}
2054
+ else:
2055
+ globs = globs.copy()
2056
+ if extraglobs is not None:
2057
+ globs.update(extraglobs)
2058
+ if '__name__' not in globs:
2059
+ globs['__name__'] = '__main__'
2060
+
2061
+ if raise_on_error:
2062
+ runner = DebugRunner(verbose=verbose, optionflags=optionflags)
2063
+ else:
2064
+ runner = DocTestRunner(verbose=verbose, optionflags=optionflags)
2065
+
2066
+ # Read the file, convert it to a test, and run it.
2067
+ test = parser.get_doctest(text, globs, name, filename, 0)
2068
+ runner.run(test)
2069
+
2070
+ if report:
2071
+ runner.summarize()
2072
+
2073
+ if master is None:
2074
+ master = runner
2075
+ else:
2076
+ master.merge(runner)
2077
+
2078
+ return TestResults(runner.failures, runner.tries)
2079
+
2080
+ def run_docstring_examples(f, globs, verbose=False, name="NoName",
2081
+ compileflags=None, optionflags=0):
2082
+ """
2083
+ Test examples in the given object's docstring (`f`), using `globs`
2084
+ as globals. Optional argument `name` is used in failure messages.
2085
+ If the optional argument `verbose` is true, then generate output
2086
+ even if there are no failures.
2087
+
2088
+ `compileflags` gives the set of flags that should be used by the
2089
+ Python compiler when running the examples. If not specified, then
2090
+ it will default to the set of future-import flags that apply to
2091
+ `globs`.
2092
+
2093
+ Optional keyword arg `optionflags` specifies options for the
2094
+ testing and output. See the documentation for `testmod` for more
2095
+ information.
2096
+ """
2097
+ # Find, parse, and run all tests in the given module.
2098
+ finder = DocTestFinder(verbose=verbose, recurse=False)
2099
+ runner = DocTestRunner(verbose=verbose, optionflags=optionflags)
2100
+ for test in finder.find(f, name, globs=globs):
2101
+ runner.run(test, compileflags=compileflags)
2102
+
2103
+ ######################################################################
2104
+ ## 7. Unittest Support
2105
+ ######################################################################
2106
+
2107
+ _unittest_reportflags = 0
2108
+
2109
+ def set_unittest_reportflags(flags):
2110
+ """Sets the unittest option flags.
2111
+
2112
+ The old flag is returned so that a runner could restore the old
2113
+ value if it wished to:
2114
+
2115
+ >>> import doctest
2116
+ >>> old = doctest._unittest_reportflags
2117
+ >>> doctest.set_unittest_reportflags(REPORT_NDIFF |
2118
+ ... REPORT_ONLY_FIRST_FAILURE) == old
2119
+ True
2120
+
2121
+ >>> doctest._unittest_reportflags == (REPORT_NDIFF |
2122
+ ... REPORT_ONLY_FIRST_FAILURE)
2123
+ True
2124
+
2125
+ Only reporting flags can be set:
2126
+
2127
+ >>> doctest.set_unittest_reportflags(ELLIPSIS)
2128
+ Traceback (most recent call last):
2129
+ ...
2130
+ ValueError: ('Only reporting flags allowed', 8)
2131
+
2132
+ >>> doctest.set_unittest_reportflags(old) == (REPORT_NDIFF |
2133
+ ... REPORT_ONLY_FIRST_FAILURE)
2134
+ True
2135
+ """
2136
+ global _unittest_reportflags
2137
+
2138
+ if (flags & REPORTING_FLAGS) != flags:
2139
+ raise ValueError("Only reporting flags allowed", flags)
2140
+ old = _unittest_reportflags
2141
+ _unittest_reportflags = flags
2142
+ return old
2143
+
2144
+
2145
+ class DocTestCase(unittest.TestCase):
2146
+
2147
+ def __init__(self, test, optionflags=0, setUp=None, tearDown=None,
2148
+ checker=None):
2149
+
2150
+ unittest.TestCase.__init__(self)
2151
+ self._dt_optionflags = optionflags
2152
+ self._dt_checker = checker
2153
+ self._dt_test = test
2154
+ self._dt_setUp = setUp
2155
+ self._dt_tearDown = tearDown
2156
+
2157
+ def setUp(self):
2158
+ test = self._dt_test
2159
+
2160
+ if self._dt_setUp is not None:
2161
+ self._dt_setUp(test)
2162
+
2163
+ def tearDown(self):
2164
+ test = self._dt_test
2165
+
2166
+ if self._dt_tearDown is not None:
2167
+ self._dt_tearDown(test)
2168
+
2169
+ test.globs.clear()
2170
+
2171
+ def runTest(self):
2172
+ test = self._dt_test
2173
+ old = sys.stdout
2174
+ new = StringIO()
2175
+ optionflags = self._dt_optionflags
2176
+
2177
+ if not (optionflags & REPORTING_FLAGS):
2178
+ # The option flags don't include any reporting flags,
2179
+ # so add the default reporting flags
2180
+ optionflags |= _unittest_reportflags
2181
+
2182
+ runner = DocTestRunner(optionflags=optionflags,
2183
+ checker=self._dt_checker, verbose=False)
2184
+
2185
+ try:
2186
+ runner.DIVIDER = "-"*70
2187
+ failures, tries = runner.run(
2188
+ test, out=new.write, clear_globs=False)
2189
+ finally:
2190
+ sys.stdout = old
2191
+
2192
+ if failures:
2193
+ raise self.failureException(self.format_failure(new.getvalue()))
2194
+
2195
+ def format_failure(self, err):
2196
+ test = self._dt_test
2197
+ if test.lineno is None:
2198
+ lineno = 'unknown line number'
2199
+ else:
2200
+ lineno = '%s' % test.lineno
2201
+ lname = '.'.join(test.name.split('.')[-1:])
2202
+ return ('Failed doctest test for %s\n'
2203
+ ' File "%s", line %s, in %s\n\n%s'
2204
+ % (test.name, test.filename, lineno, lname, err)
2205
+ )
2206
+
2207
+ def debug(self):
2208
+ r"""Run the test case without results and without catching exceptions
2209
+
2210
+ The unit test framework includes a debug method on test cases
2211
+ and test suites to support post-mortem debugging. The test code
2212
+ is run in such a way that errors are not caught. This way a
2213
+ caller can catch the errors and initiate post-mortem debugging.
2214
+
2215
+ The DocTestCase provides a debug method that raises
2216
+ UnexpectedException errors if there is an unexpected
2217
+ exception:
2218
+
2219
+ >>> test = DocTestParser().get_doctest('>>> raise KeyError\n42',
2220
+ ... {}, 'foo', 'foo.py', 0)
2221
+ >>> case = DocTestCase(test)
2222
+ >>> try:
2223
+ ... case.debug()
2224
+ ... except UnexpectedException as f:
2225
+ ... failure = f
2226
+
2227
+ The UnexpectedException contains the test, the example, and
2228
+ the original exception:
2229
+
2230
+ >>> failure.test is test
2231
+ True
2232
+
2233
+ >>> failure.example.want
2234
+ '42\n'
2235
+
2236
+ >>> exc_info = failure.exc_info
2237
+ >>> raise exc_info[1] # Already has the traceback
2238
+ Traceback (most recent call last):
2239
+ ...
2240
+ KeyError
2241
+
2242
+ If the output doesn't match, then a DocTestFailure is raised:
2243
+
2244
+ >>> test = DocTestParser().get_doctest('''
2245
+ ... >>> x = 1
2246
+ ... >>> x
2247
+ ... 2
2248
+ ... ''', {}, 'foo', 'foo.py', 0)
2249
+ >>> case = DocTestCase(test)
2250
+
2251
+ >>> try:
2252
+ ... case.debug()
2253
+ ... except DocTestFailure as f:
2254
+ ... failure = f
2255
+
2256
+ DocTestFailure objects provide access to the test:
2257
+
2258
+ >>> failure.test is test
2259
+ True
2260
+
2261
+ As well as to the example:
2262
+
2263
+ >>> failure.example.want
2264
+ '2\n'
2265
+
2266
+ and the actual output:
2267
+
2268
+ >>> failure.got
2269
+ '1\n'
2270
+
2271
+ """
2272
+
2273
+ self.setUp()
2274
+ runner = DebugRunner(optionflags=self._dt_optionflags,
2275
+ checker=self._dt_checker, verbose=False)
2276
+ runner.run(self._dt_test, clear_globs=False)
2277
+ self.tearDown()
2278
+
2279
+ def id(self):
2280
+ return self._dt_test.name
2281
+
2282
+ def __eq__(self, other):
2283
+ if type(self) is not type(other):
2284
+ return NotImplemented
2285
+
2286
+ return self._dt_test == other._dt_test and \
2287
+ self._dt_optionflags == other._dt_optionflags and \
2288
+ self._dt_setUp == other._dt_setUp and \
2289
+ self._dt_tearDown == other._dt_tearDown and \
2290
+ self._dt_checker == other._dt_checker
2291
+
2292
+ def __ne__(self, other):
2293
+ return not self == other
2294
+
2295
+ def __hash__(self):
2296
+ return hash((self._dt_optionflags, self._dt_setUp, self._dt_tearDown,
2297
+ self._dt_checker))
2298
+
2299
+ def __repr__(self):
2300
+ name = self._dt_test.name.split('.')
2301
+ return "%s (%s)" % (name[-1], '.'.join(name[:-1]))
2302
+
2303
+ __str__ = __repr__
2304
+
2305
+ def shortDescription(self):
2306
+ return "Doctest: " + self._dt_test.name
2307
+
2308
+ class SkipDocTestCase(DocTestCase):
2309
+ def __init__(self, module):
2310
+ self.module = module
2311
+ DocTestCase.__init__(self, None)
2312
+
2313
+ def setUp(self):
2314
+ self.skipTest("DocTestSuite will not work with -O2 and above")
2315
+
2316
+ def test_skip(self):
2317
+ pass
2318
+
2319
+ def shortDescription(self):
2320
+ return "Skipping tests from %s" % self.module.__name__
2321
+
2322
+ __str__ = shortDescription
2323
+
2324
+
2325
+ class _DocTestSuite(unittest.TestSuite):
2326
+
2327
+ def _removeTestAtIndex(self, index):
2328
+ pass
2329
+
2330
+
2331
+ def DocTestSuite(module=None, globs=None, extraglobs=None, test_finder=None,
2332
+ **options):
2333
+ """
2334
+ Convert doctest tests for a module to a unittest test suite.
2335
+
2336
+ This converts each documentation string in a module that
2337
+ contains doctest tests to a unittest test case. If any of the
2338
+ tests in a doc string fail, then the test case fails. An exception
2339
+ is raised showing the name of the file containing the test and a
2340
+ (sometimes approximate) line number.
2341
+
2342
+ The `module` argument provides the module to be tested. The argument
2343
+ can be either a module or a module name.
2344
+
2345
+ If no argument is given, the calling module is used.
2346
+
2347
+ A number of options may be provided as keyword arguments:
2348
+
2349
+ setUp
2350
+ A set-up function. This is called before running the
2351
+ tests in each file. The setUp function will be passed a DocTest
2352
+ object. The setUp function can access the test globals as the
2353
+ globs attribute of the test passed.
2354
+
2355
+ tearDown
2356
+ A tear-down function. This is called after running the
2357
+ tests in each file. The tearDown function will be passed a DocTest
2358
+ object. The tearDown function can access the test globals as the
2359
+ globs attribute of the test passed.
2360
+
2361
+ globs
2362
+ A dictionary containing initial global variables for the tests.
2363
+
2364
+ optionflags
2365
+ A set of doctest option flags expressed as an integer.
2366
+ """
2367
+
2368
+ if test_finder is None:
2369
+ test_finder = DocTestFinder()
2370
+
2371
+ module = _normalize_module(module)
2372
+ tests = test_finder.find(module, globs=globs, extraglobs=extraglobs)
2373
+
2374
+ if not tests and sys.flags.optimize >=2:
2375
+ # Skip doctests when running with -O2
2376
+ suite = _DocTestSuite()
2377
+ suite.addTest(SkipDocTestCase(module))
2378
+ return suite
2379
+ elif not tests:
2380
+ # Why do we want to do this? Because it reveals a bug that might
2381
+ # otherwise be hidden.
2382
+ # It is probably a bug that this exception is not also raised if the
2383
+ # number of doctest examples in tests is zero (i.e. if no doctest
2384
+ # examples were found). However, we should probably not be raising
2385
+ # an exception at all here, though it is too late to make this change
2386
+ # for a maintenance release. See also issue #14649.
2387
+ raise ValueError(module, "has no docstrings")
2388
+
2389
+ tests.sort()
2390
+ suite = _DocTestSuite()
2391
+
2392
+ for test in tests:
2393
+ if len(test.examples) == 0:
2394
+ continue
2395
+ if not test.filename:
2396
+ filename = module.__file__
2397
+ if filename[-4:] in (".pyc", ".pyo"):
2398
+ filename = filename[:-1]
2399
+ test.filename = filename
2400
+ suite.addTest(DocTestCase(test, **options))
2401
+
2402
+ return suite
2403
+
2404
+ class DocFileCase(DocTestCase):
2405
+
2406
+ def id(self):
2407
+ return '_'.join(self._dt_test.name.split('.'))
2408
+
2409
+ def __repr__(self):
2410
+ return self._dt_test.filename
2411
+ __str__ = __repr__
2412
+
2413
+ def format_failure(self, err):
2414
+ return ('Failed doctest test for %s\n File "%s", line 0\n\n%s'
2415
+ % (self._dt_test.name, self._dt_test.filename, err)
2416
+ )
2417
+
2418
+ def DocFileTest(path, module_relative=True, package=None,
2419
+ globs=None, parser=DocTestParser(),
2420
+ encoding=None, **options):
2421
+ if globs is None:
2422
+ globs = {}
2423
+ else:
2424
+ globs = globs.copy()
2425
+
2426
+ if package and not module_relative:
2427
+ raise ValueError("Package may only be specified for module-"
2428
+ "relative paths.")
2429
+
2430
+ # Relativize the path.
2431
+ doc, path = _load_testfile(path, package, module_relative,
2432
+ encoding or "utf-8")
2433
+
2434
+ if "__file__" not in globs:
2435
+ globs["__file__"] = path
2436
+
2437
+ # Find the file and read it.
2438
+ name = os.path.basename(path)
2439
+
2440
+ # Convert it to a test, and wrap it in a DocFileCase.
2441
+ test = parser.get_doctest(doc, globs, name, path, 0)
2442
+ return DocFileCase(test, **options)
2443
+
2444
+ def DocFileSuite(*paths, **kw):
2445
+ """A unittest suite for one or more doctest files.
2446
+
2447
+ The path to each doctest file is given as a string; the
2448
+ interpretation of that string depends on the keyword argument
2449
+ "module_relative".
2450
+
2451
+ A number of options may be provided as keyword arguments:
2452
+
2453
+ module_relative
2454
+ If "module_relative" is True, then the given file paths are
2455
+ interpreted as os-independent module-relative paths. By
2456
+ default, these paths are relative to the calling module's
2457
+ directory; but if the "package" argument is specified, then
2458
+ they are relative to that package. To ensure os-independence,
2459
+ "filename" should use "/" characters to separate path
2460
+ segments, and may not be an absolute path (i.e., it may not
2461
+ begin with "/").
2462
+
2463
+ If "module_relative" is False, then the given file paths are
2464
+ interpreted as os-specific paths. These paths may be absolute
2465
+ or relative (to the current working directory).
2466
+
2467
+ package
2468
+ A Python package or the name of a Python package whose directory
2469
+ should be used as the base directory for module relative paths.
2470
+ If "package" is not specified, then the calling module's
2471
+ directory is used as the base directory for module relative
2472
+ filenames. It is an error to specify "package" if
2473
+ "module_relative" is False.
2474
+
2475
+ setUp
2476
+ A set-up function. This is called before running the
2477
+ tests in each file. The setUp function will be passed a DocTest
2478
+ object. The setUp function can access the test globals as the
2479
+ globs attribute of the test passed.
2480
+
2481
+ tearDown
2482
+ A tear-down function. This is called after running the
2483
+ tests in each file. The tearDown function will be passed a DocTest
2484
+ object. The tearDown function can access the test globals as the
2485
+ globs attribute of the test passed.
2486
+
2487
+ globs
2488
+ A dictionary containing initial global variables for the tests.
2489
+
2490
+ optionflags
2491
+ A set of doctest option flags expressed as an integer.
2492
+
2493
+ parser
2494
+ A DocTestParser (or subclass) that should be used to extract
2495
+ tests from the files.
2496
+
2497
+ encoding
2498
+ An encoding that will be used to convert the files to unicode.
2499
+ """
2500
+ suite = _DocTestSuite()
2501
+
2502
+ # We do this here so that _normalize_module is called at the right
2503
+ # level. If it were called in DocFileTest, then this function
2504
+ # would be the caller and we might guess the package incorrectly.
2505
+ if kw.get('module_relative', True):
2506
+ kw['package'] = _normalize_module(kw.get('package'))
2507
+
2508
+ for path in paths:
2509
+ suite.addTest(DocFileTest(path, **kw))
2510
+
2511
+ return suite
2512
+
2513
+ ######################################################################
2514
+ ## 8. Debugging Support
2515
+ ######################################################################
2516
+
2517
+ def script_from_examples(s):
2518
+ r"""Extract script from text with examples.
2519
+
2520
+ Converts text with examples to a Python script. Example input is
2521
+ converted to regular code. Example output and all other words
2522
+ are converted to comments:
2523
+
2524
+ >>> text = '''
2525
+ ... Here are examples of simple math.
2526
+ ...
2527
+ ... Python has super accurate integer addition
2528
+ ...
2529
+ ... >>> 2 + 2
2530
+ ... 5
2531
+ ...
2532
+ ... And very friendly error messages:
2533
+ ...
2534
+ ... >>> 1/0
2535
+ ... To Infinity
2536
+ ... And
2537
+ ... Beyond
2538
+ ...
2539
+ ... You can use logic if you want:
2540
+ ...
2541
+ ... >>> if 0:
2542
+ ... ... blah
2543
+ ... ... blah
2544
+ ... ...
2545
+ ...
2546
+ ... Ho hum
2547
+ ... '''
2548
+
2549
+ >>> print(script_from_examples(text))
2550
+ # Here are examples of simple math.
2551
+ #
2552
+ # Python has super accurate integer addition
2553
+ #
2554
+ 2 + 2
2555
+ # Expected:
2556
+ ## 5
2557
+ #
2558
+ # And very friendly error messages:
2559
+ #
2560
+ 1/0
2561
+ # Expected:
2562
+ ## To Infinity
2563
+ ## And
2564
+ ## Beyond
2565
+ #
2566
+ # You can use logic if you want:
2567
+ #
2568
+ if 0:
2569
+ blah
2570
+ blah
2571
+ #
2572
+ # Ho hum
2573
+ <BLANKLINE>
2574
+ """
2575
+ output = []
2576
+ for piece in DocTestParser().parse(s):
2577
+ if isinstance(piece, Example):
2578
+ # Add the example's source code (strip trailing NL)
2579
+ output.append(piece.source[:-1])
2580
+ # Add the expected output:
2581
+ want = piece.want
2582
+ if want:
2583
+ output.append('# Expected:')
2584
+ output += ['## '+l for l in want.split('\n')[:-1]]
2585
+ else:
2586
+ # Add non-example text.
2587
+ output += [_comment_line(l)
2588
+ for l in piece.split('\n')[:-1]]
2589
+
2590
+ # Trim junk on both ends.
2591
+ while output and output[-1] == '#':
2592
+ output.pop()
2593
+ while output and output[0] == '#':
2594
+ output.pop(0)
2595
+ # Combine the output, and return it.
2596
+ # Add a courtesy newline to prevent exec from choking (see bug #1172785)
2597
+ return '\n'.join(output) + '\n'
2598
+
2599
+ def testsource(module, name):
2600
+ """Extract the test sources from a doctest docstring as a script.
2601
+
2602
+ Provide the module (or dotted name of the module) containing the
2603
+ test to be debugged and the name (within the module) of the object
2604
+ with the doc string with tests to be debugged.
2605
+ """
2606
+ module = _normalize_module(module)
2607
+ tests = DocTestFinder().find(module)
2608
+ test = [t for t in tests if t.name == name]
2609
+ if not test:
2610
+ raise ValueError(name, "not found in tests")
2611
+ test = test[0]
2612
+ testsrc = script_from_examples(test.docstring)
2613
+ return testsrc
2614
+
2615
+ def debug_src(src, pm=False, globs=None):
2616
+ """Debug a single doctest docstring, in argument `src`'"""
2617
+ testsrc = script_from_examples(src)
2618
+ debug_script(testsrc, pm, globs)
2619
+
2620
+ def debug_script(src, pm=False, globs=None):
2621
+ "Debug a test script. `src` is the script, as a string."
2622
+ import pdb
2623
+
2624
+ if globs:
2625
+ globs = globs.copy()
2626
+ else:
2627
+ globs = {}
2628
+
2629
+ if pm:
2630
+ try:
2631
+ exec(src, globs, globs)
2632
+ except:
2633
+ print(sys.exc_info()[1])
2634
+ p = pdb.Pdb(nosigint=True)
2635
+ p.reset()
2636
+ p.interaction(None, sys.exc_info()[2])
2637
+ else:
2638
+ pdb.Pdb(nosigint=True).run("exec(%r)" % src, globs, globs)
2639
+
2640
+ def debug(module, name, pm=False):
2641
+ """Debug a single doctest docstring.
2642
+
2643
+ Provide the module (or dotted name of the module) containing the
2644
+ test to be debugged and the name (within the module) of the object
2645
+ with the docstring with tests to be debugged.
2646
+ """
2647
+ module = _normalize_module(module)
2648
+ testsrc = testsource(module, name)
2649
+ debug_script(testsrc, pm, module.__dict__)
2650
+
2651
+ ######################################################################
2652
+ ## 9. Example Usage
2653
+ ######################################################################
2654
+ class _TestClass:
2655
+ """
2656
+ A pointless class, for sanity-checking of docstring testing.
2657
+
2658
+ Methods:
2659
+ square()
2660
+ get()
2661
+
2662
+ >>> _TestClass(13).get() + _TestClass(-12).get()
2663
+ 1
2664
+ >>> hex(_TestClass(13).square().get())
2665
+ '0xa9'
2666
+ """
2667
+
2668
+ def __init__(self, val):
2669
+ """val -> _TestClass object with associated value val.
2670
+
2671
+ >>> t = _TestClass(123)
2672
+ >>> print(t.get())
2673
+ 123
2674
+ """
2675
+
2676
+ self.val = val
2677
+
2678
+ def square(self):
2679
+ """square() -> square TestClass's associated value
2680
+
2681
+ >>> _TestClass(13).square().get()
2682
+ 169
2683
+ """
2684
+
2685
+ self.val = self.val ** 2
2686
+ return self
2687
+
2688
+ def get(self):
2689
+ """get() -> return TestClass's associated value.
2690
+
2691
+ >>> x = _TestClass(-42)
2692
+ >>> print(x.get())
2693
+ -42
2694
+ """
2695
+
2696
+ return self.val
2697
+
2698
+ __test__ = {"_TestClass": _TestClass,
2699
+ "string": r"""
2700
+ Example of a string object, searched as-is.
2701
+ >>> x = 1; y = 2
2702
+ >>> x + y, x * y
2703
+ (3, 2)
2704
+ """,
2705
+
2706
+ "bool-int equivalence": r"""
2707
+ In 2.2, boolean expressions displayed
2708
+ 0 or 1. By default, we still accept
2709
+ them. This can be disabled by passing
2710
+ DONT_ACCEPT_TRUE_FOR_1 to the new
2711
+ optionflags argument.
2712
+ >>> 4 == 4
2713
+ 1
2714
+ >>> 4 == 4
2715
+ True
2716
+ >>> 4 > 4
2717
+ 0
2718
+ >>> 4 > 4
2719
+ False
2720
+ """,
2721
+
2722
+ "blank lines": r"""
2723
+ Blank lines can be marked with <BLANKLINE>:
2724
+ >>> print('foo\n\nbar\n')
2725
+ foo
2726
+ <BLANKLINE>
2727
+ bar
2728
+ <BLANKLINE>
2729
+ """,
2730
+
2731
+ "ellipsis": r"""
2732
+ If the ellipsis flag is used, then '...' can be used to
2733
+ elide substrings in the desired output:
2734
+ >>> print(list(range(1000))) #doctest: +ELLIPSIS
2735
+ [0, 1, 2, ..., 999]
2736
+ """,
2737
+
2738
+ "whitespace normalization": r"""
2739
+ If the whitespace normalization flag is used, then
2740
+ differences in whitespace are ignored.
2741
+ >>> print(list(range(30))) #doctest: +NORMALIZE_WHITESPACE
2742
+ [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
2743
+ 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
2744
+ 27, 28, 29]
2745
+ """,
2746
+ }
2747
+
2748
+
2749
+ def _test():
2750
+ parser = argparse.ArgumentParser(description="doctest runner")
2751
+ parser.add_argument('-v', '--verbose', action='store_true', default=False,
2752
+ help='print very verbose output for all tests')
2753
+ parser.add_argument('-o', '--option', action='append',
2754
+ choices=OPTIONFLAGS_BY_NAME.keys(), default=[],
2755
+ help=('specify a doctest option flag to apply'
2756
+ ' to the test run; may be specified more'
2757
+ ' than once to apply multiple options'))
2758
+ parser.add_argument('-f', '--fail-fast', action='store_true',
2759
+ help=('stop running tests after first failure (this'
2760
+ ' is a shorthand for -o FAIL_FAST, and is'
2761
+ ' in addition to any other -o options)'))
2762
+ parser.add_argument('file', nargs='+',
2763
+ help='file containing the tests to run')
2764
+ args = parser.parse_args()
2765
+ testfiles = args.file
2766
+ # Verbose used to be handled by the "inspect argv" magic in DocTestRunner,
2767
+ # but since we are using argparse we are passing it manually now.
2768
+ verbose = args.verbose
2769
+ options = 0
2770
+ for option in args.option:
2771
+ options |= OPTIONFLAGS_BY_NAME[option]
2772
+ if args.fail_fast:
2773
+ options |= FAIL_FAST
2774
+ for filename in testfiles:
2775
+ if filename.endswith(".py"):
2776
+ # It is a module -- insert its dir into sys.path and try to
2777
+ # import it. If it is part of a package, that possibly
2778
+ # won't work because of package imports.
2779
+ dirname, filename = os.path.split(filename)
2780
+ sys.path.insert(0, dirname)
2781
+ m = __import__(filename[:-3])
2782
+ del sys.path[0]
2783
+ failures, _ = testmod(m, verbose=verbose, optionflags=options)
2784
+ else:
2785
+ failures, _ = testfile(filename, module_relative=False,
2786
+ verbose=verbose, optionflags=options)
2787
+ if failures:
2788
+ return 1
2789
+ return 0
2790
+
2791
+
2792
+ if __name__ == "__main__":
2793
+ sys.exit(_test())