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,2762 @@
1
+ """
2
+ Package resource API
3
+ --------------------
4
+
5
+ A resource is a logical file contained within a package, or a logical
6
+ subdirectory thereof. The package resource API expects resource names
7
+ to have their path parts separated with ``/``, *not* whatever the local
8
+ path separator is. Do not use os.path operations to manipulate resource
9
+ names being passed into the API.
10
+
11
+ The package resource API is designed to work with normal filesystem packages,
12
+ .egg files, and unpacked .egg files. It can also work in a limited way with
13
+ .zip files and with custom PEP 302 loaders that support the ``get_data()``
14
+ method.
15
+ """
16
+
17
+ import sys
18
+ import os
19
+ import time
20
+ import re
21
+ import imp
22
+ import zipfile
23
+ import zipimport
24
+ import warnings
25
+ import stat
26
+ import functools
27
+ import pkgutil
28
+ import token
29
+ import symbol
30
+ import operator
31
+ import platform
32
+ from pkgutil import get_importer
33
+
34
+ try:
35
+ from urlparse import urlparse, urlunparse
36
+ except ImportError:
37
+ from urllib.parse import urlparse, urlunparse
38
+
39
+ try:
40
+ frozenset
41
+ except NameError:
42
+ from sets import ImmutableSet as frozenset
43
+ try:
44
+ basestring
45
+ next = lambda o: o.next()
46
+ from cStringIO import StringIO as BytesIO
47
+ except NameError:
48
+ basestring = str
49
+ from io import BytesIO
50
+ def execfile(fn, globs=None, locs=None):
51
+ if globs is None:
52
+ globs = globals()
53
+ if locs is None:
54
+ locs = globs
55
+ exec(compile(open(fn).read(), fn, 'exec'), globs, locs)
56
+
57
+ # capture these to bypass sandboxing
58
+ from os import utime
59
+ try:
60
+ from os import mkdir, rename, unlink
61
+ WRITE_SUPPORT = True
62
+ except ImportError:
63
+ # no write support, probably under GAE
64
+ WRITE_SUPPORT = False
65
+
66
+ from os import open as os_open
67
+ from os.path import isdir, split
68
+
69
+ # Avoid try/except due to potential problems with delayed import mechanisms.
70
+ if sys.version_info >= (3, 3) and sys.implementation.name == "cpython":
71
+ import importlib._bootstrap as importlib_bootstrap
72
+ else:
73
+ importlib_bootstrap = None
74
+
75
+ try:
76
+ import parser
77
+ except ImportError:
78
+ pass
79
+
80
+ def _bypass_ensure_directory(name, mode=0x1FF): # 0777
81
+ # Sandbox-bypassing version of ensure_directory()
82
+ if not WRITE_SUPPORT:
83
+ raise IOError('"os.mkdir" not supported on this platform.')
84
+ dirname, filename = split(name)
85
+ if dirname and filename and not isdir(dirname):
86
+ _bypass_ensure_directory(dirname)
87
+ mkdir(dirname, mode)
88
+
89
+
90
+ _state_vars = {}
91
+
92
+ def _declare_state(vartype, **kw):
93
+ globals().update(kw)
94
+ _state_vars.update(dict.fromkeys(kw, vartype))
95
+
96
+ def __getstate__():
97
+ state = {}
98
+ g = globals()
99
+ for k, v in _state_vars.items():
100
+ state[k] = g['_sget_'+v](g[k])
101
+ return state
102
+
103
+ def __setstate__(state):
104
+ g = globals()
105
+ for k, v in state.items():
106
+ g['_sset_'+_state_vars[k]](k, g[k], v)
107
+ return state
108
+
109
+ def _sget_dict(val):
110
+ return val.copy()
111
+
112
+ def _sset_dict(key, ob, state):
113
+ ob.clear()
114
+ ob.update(state)
115
+
116
+ def _sget_object(val):
117
+ return val.__getstate__()
118
+
119
+ def _sset_object(key, ob, state):
120
+ ob.__setstate__(state)
121
+
122
+ _sget_none = _sset_none = lambda *args: None
123
+
124
+
125
+ def get_supported_platform():
126
+ """Return this platform's maximum compatible version.
127
+
128
+ distutils.util.get_platform() normally reports the minimum version
129
+ of Mac OS X that would be required to *use* extensions produced by
130
+ distutils. But what we want when checking compatibility is to know the
131
+ version of Mac OS X that we are *running*. To allow usage of packages that
132
+ explicitly require a newer version of Mac OS X, we must also know the
133
+ current version of the OS.
134
+
135
+ If this condition occurs for any other platform with a version in its
136
+ platform strings, this function should be extended accordingly.
137
+ """
138
+ plat = get_build_platform()
139
+ m = macosVersionString.match(plat)
140
+ if m is not None and sys.platform == "darwin":
141
+ try:
142
+ plat = 'macosx-%s-%s' % ('.'.join(_macosx_vers()[:2]), m.group(3))
143
+ except ValueError:
144
+ pass # not Mac OS X
145
+ return plat
146
+
147
+ __all__ = [
148
+ # Basic resource access and distribution/entry point discovery
149
+ 'require', 'run_script', 'get_provider', 'get_distribution',
150
+ 'load_entry_point', 'get_entry_map', 'get_entry_info', 'iter_entry_points',
151
+ 'resource_string', 'resource_stream', 'resource_filename',
152
+ 'resource_listdir', 'resource_exists', 'resource_isdir',
153
+
154
+ # Environmental control
155
+ 'declare_namespace', 'working_set', 'add_activation_listener',
156
+ 'find_distributions', 'set_extraction_path', 'cleanup_resources',
157
+ 'get_default_cache',
158
+
159
+ # Primary implementation classes
160
+ 'Environment', 'WorkingSet', 'ResourceManager',
161
+ 'Distribution', 'Requirement', 'EntryPoint',
162
+
163
+ # Exceptions
164
+ 'ResolutionError','VersionConflict','DistributionNotFound','UnknownExtra',
165
+ 'ExtractionError',
166
+
167
+ # Parsing functions and string utilities
168
+ 'parse_requirements', 'parse_version', 'safe_name', 'safe_version',
169
+ 'get_platform', 'compatible_platforms', 'yield_lines', 'split_sections',
170
+ 'safe_extra', 'to_filename', 'invalid_marker', 'evaluate_marker',
171
+
172
+ # filesystem utilities
173
+ 'ensure_directory', 'normalize_path',
174
+
175
+ # Distribution "precedence" constants
176
+ 'EGG_DIST', 'BINARY_DIST', 'SOURCE_DIST', 'CHECKOUT_DIST', 'DEVELOP_DIST',
177
+
178
+ # "Provider" interfaces, implementations, and registration/lookup APIs
179
+ 'IMetadataProvider', 'IResourceProvider', 'FileMetadata',
180
+ 'PathMetadata', 'EggMetadata', 'EmptyProvider', 'empty_provider',
181
+ 'NullProvider', 'EggProvider', 'DefaultProvider', 'ZipProvider',
182
+ 'register_finder', 'register_namespace_handler', 'register_loader_type',
183
+ 'fixup_namespace_packages', 'get_importer',
184
+
185
+ # Deprecated/backward compatibility only
186
+ 'run_main', 'AvailableDistributions',
187
+ ]
188
+
189
+ class ResolutionError(Exception):
190
+ """Abstract base for dependency resolution errors"""
191
+ def __repr__(self):
192
+ return self.__class__.__name__+repr(self.args)
193
+
194
+ class VersionConflict(ResolutionError):
195
+ """An already-installed version conflicts with the requested version"""
196
+
197
+ class DistributionNotFound(ResolutionError):
198
+ """A requested distribution was not found"""
199
+
200
+ class UnknownExtra(ResolutionError):
201
+ """Distribution doesn't have an "extra feature" of the given name"""
202
+ _provider_factories = {}
203
+
204
+ PY_MAJOR = sys.version[:3]
205
+ EGG_DIST = 3
206
+ BINARY_DIST = 2
207
+ SOURCE_DIST = 1
208
+ CHECKOUT_DIST = 0
209
+ DEVELOP_DIST = -1
210
+
211
+ def register_loader_type(loader_type, provider_factory):
212
+ """Register `provider_factory` to make providers for `loader_type`
213
+
214
+ `loader_type` is the type or class of a PEP 302 ``module.__loader__``,
215
+ and `provider_factory` is a function that, passed a *module* object,
216
+ returns an ``IResourceProvider`` for that module.
217
+ """
218
+ _provider_factories[loader_type] = provider_factory
219
+
220
+ def get_provider(moduleOrReq):
221
+ """Return an IResourceProvider for the named module or requirement"""
222
+ if isinstance(moduleOrReq,Requirement):
223
+ return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
224
+ try:
225
+ module = sys.modules[moduleOrReq]
226
+ except KeyError:
227
+ __import__(moduleOrReq)
228
+ module = sys.modules[moduleOrReq]
229
+ loader = getattr(module, '__loader__', None)
230
+ return _find_adapter(_provider_factories, loader)(module)
231
+
232
+ def _macosx_vers(_cache=[]):
233
+ if not _cache:
234
+ import platform
235
+ version = platform.mac_ver()[0]
236
+ # fallback for MacPorts
237
+ if version == '':
238
+ import plistlib
239
+ plist = '/System/Library/CoreServices/SystemVersion.plist'
240
+ if os.path.exists(plist):
241
+ if hasattr(plistlib, 'readPlist'):
242
+ plist_content = plistlib.readPlist(plist)
243
+ if 'ProductVersion' in plist_content:
244
+ version = plist_content['ProductVersion']
245
+
246
+ _cache.append(version.split('.'))
247
+ return _cache[0]
248
+
249
+ def _macosx_arch(machine):
250
+ return {'PowerPC':'ppc', 'Power_Macintosh':'ppc'}.get(machine,machine)
251
+
252
+ def get_build_platform():
253
+ """Return this platform's string for platform-specific distributions
254
+
255
+ XXX Currently this is the same as ``distutils.util.get_platform()``, but it
256
+ needs some hacks for Linux and Mac OS X.
257
+ """
258
+ try:
259
+ # Python 2.7 or >=3.2
260
+ from sysconfig import get_platform
261
+ except ImportError:
262
+ from distutils.util import get_platform
263
+
264
+ plat = get_platform()
265
+ if sys.platform == "darwin" and not plat.startswith('macosx-'):
266
+ try:
267
+ version = _macosx_vers()
268
+ machine = os.uname()[4].replace(" ", "_")
269
+ return "macosx-%d.%d-%s" % (int(version[0]), int(version[1]),
270
+ _macosx_arch(machine))
271
+ except ValueError:
272
+ # if someone is running a non-Mac darwin system, this will fall
273
+ # through to the default implementation
274
+ pass
275
+ return plat
276
+
277
+ macosVersionString = re.compile(r"macosx-(\d+)\.(\d+)-(.*)")
278
+ darwinVersionString = re.compile(r"darwin-(\d+)\.(\d+)\.(\d+)-(.*)")
279
+ get_platform = get_build_platform # XXX backward compat
280
+
281
+
282
+ def compatible_platforms(provided,required):
283
+ """Can code for the `provided` platform run on the `required` platform?
284
+
285
+ Returns true if either platform is ``None``, or the platforms are equal.
286
+
287
+ XXX Needs compatibility checks for Linux and other unixy OSes.
288
+ """
289
+ if provided is None or required is None or provided==required:
290
+ return True # easy case
291
+
292
+ # Mac OS X special cases
293
+ reqMac = macosVersionString.match(required)
294
+ if reqMac:
295
+ provMac = macosVersionString.match(provided)
296
+
297
+ # is this a Mac package?
298
+ if not provMac:
299
+ # this is backwards compatibility for packages built before
300
+ # setuptools 0.6. All packages built after this point will
301
+ # use the new macosx designation.
302
+ provDarwin = darwinVersionString.match(provided)
303
+ if provDarwin:
304
+ dversion = int(provDarwin.group(1))
305
+ macosversion = "%s.%s" % (reqMac.group(1), reqMac.group(2))
306
+ if dversion == 7 and macosversion >= "10.3" or \
307
+ dversion == 8 and macosversion >= "10.4":
308
+
309
+ #import warnings
310
+ #warnings.warn("Mac eggs should be rebuilt to "
311
+ # "use the macosx designation instead of darwin.",
312
+ # category=DeprecationWarning)
313
+ return True
314
+ return False # egg isn't macosx or legacy darwin
315
+
316
+ # are they the same major version and machine type?
317
+ if provMac.group(1) != reqMac.group(1) or \
318
+ provMac.group(3) != reqMac.group(3):
319
+ return False
320
+
321
+ # is the required OS major update >= the provided one?
322
+ if int(provMac.group(2)) > int(reqMac.group(2)):
323
+ return False
324
+
325
+ return True
326
+
327
+ # XXX Linux and other platforms' special cases should go here
328
+ return False
329
+
330
+
331
+ def run_script(dist_spec, script_name):
332
+ """Locate distribution `dist_spec` and run its `script_name` script"""
333
+ ns = sys._getframe(1).f_globals
334
+ name = ns['__name__']
335
+ ns.clear()
336
+ ns['__name__'] = name
337
+ require(dist_spec)[0].run_script(script_name, ns)
338
+
339
+ run_main = run_script # backward compatibility
340
+
341
+ def get_distribution(dist):
342
+ """Return a current distribution object for a Requirement or string"""
343
+ if isinstance(dist,basestring): dist = Requirement.parse(dist)
344
+ if isinstance(dist,Requirement): dist = get_provider(dist)
345
+ if not isinstance(dist,Distribution):
346
+ raise TypeError("Expected string, Requirement, or Distribution", dist)
347
+ return dist
348
+
349
+ def load_entry_point(dist, group, name):
350
+ """Return `name` entry point of `group` for `dist` or raise ImportError"""
351
+ return get_distribution(dist).load_entry_point(group, name)
352
+
353
+ def get_entry_map(dist, group=None):
354
+ """Return the entry point map for `group`, or the full entry map"""
355
+ return get_distribution(dist).get_entry_map(group)
356
+
357
+ def get_entry_info(dist, group, name):
358
+ """Return the EntryPoint object for `group`+`name`, or ``None``"""
359
+ return get_distribution(dist).get_entry_info(group, name)
360
+
361
+
362
+ class IMetadataProvider:
363
+
364
+ def has_metadata(name):
365
+ """Does the package's distribution contain the named metadata?"""
366
+
367
+ def get_metadata(name):
368
+ """The named metadata resource as a string"""
369
+
370
+ def get_metadata_lines(name):
371
+ """Yield named metadata resource as list of non-blank non-comment lines
372
+
373
+ Leading and trailing whitespace is stripped from each line, and lines
374
+ with ``#`` as the first non-blank character are omitted."""
375
+
376
+ def metadata_isdir(name):
377
+ """Is the named metadata a directory? (like ``os.path.isdir()``)"""
378
+
379
+ def metadata_listdir(name):
380
+ """List of metadata names in the directory (like ``os.listdir()``)"""
381
+
382
+ def run_script(script_name, namespace):
383
+ """Execute the named script in the supplied namespace dictionary"""
384
+
385
+
386
+ class IResourceProvider(IMetadataProvider):
387
+ """An object that provides access to package resources"""
388
+
389
+ def get_resource_filename(manager, resource_name):
390
+ """Return a true filesystem path for `resource_name`
391
+
392
+ `manager` must be an ``IResourceManager``"""
393
+
394
+ def get_resource_stream(manager, resource_name):
395
+ """Return a readable file-like object for `resource_name`
396
+
397
+ `manager` must be an ``IResourceManager``"""
398
+
399
+ def get_resource_string(manager, resource_name):
400
+ """Return a string containing the contents of `resource_name`
401
+
402
+ `manager` must be an ``IResourceManager``"""
403
+
404
+ def has_resource(resource_name):
405
+ """Does the package contain the named resource?"""
406
+
407
+ def resource_isdir(resource_name):
408
+ """Is the named resource a directory? (like ``os.path.isdir()``)"""
409
+
410
+ def resource_listdir(resource_name):
411
+ """List of resource names in the directory (like ``os.listdir()``)"""
412
+
413
+
414
+ class WorkingSet(object):
415
+ """A collection of active distributions on sys.path (or a similar list)"""
416
+
417
+ def __init__(self, entries=None):
418
+ """Create working set from list of path entries (default=sys.path)"""
419
+ self.entries = []
420
+ self.entry_keys = {}
421
+ self.by_key = {}
422
+ self.callbacks = []
423
+
424
+ if entries is None:
425
+ entries = sys.path
426
+
427
+ for entry in entries:
428
+ self.add_entry(entry)
429
+
430
+ @classmethod
431
+ def _build_master(cls):
432
+ """
433
+ Prepare the master working set.
434
+ """
435
+ ws = cls()
436
+ try:
437
+ from __main__ import __requires__
438
+ except ImportError:
439
+ # The main program does not list any requirements
440
+ return ws
441
+
442
+ # ensure the requirements are met
443
+ try:
444
+ ws.require(__requires__)
445
+ except VersionConflict:
446
+ return cls._build_from_requirements(__requires__)
447
+
448
+ return ws
449
+
450
+ @classmethod
451
+ def _build_from_requirements(cls, req_spec):
452
+ """
453
+ Build a working set from a requirement spec. Rewrites sys.path.
454
+ """
455
+ # try it without defaults already on sys.path
456
+ # by starting with an empty path
457
+ ws = cls([])
458
+ reqs = parse_requirements(req_spec)
459
+ dists = ws.resolve(reqs, Environment())
460
+ for dist in dists:
461
+ ws.add(dist)
462
+
463
+ # add any missing entries from sys.path
464
+ for entry in sys.path:
465
+ if entry not in ws.entries:
466
+ ws.add_entry(entry)
467
+
468
+ # then copy back to sys.path
469
+ sys.path[:] = ws.entries
470
+ return ws
471
+
472
+ def add_entry(self, entry):
473
+ """Add a path item to ``.entries``, finding any distributions on it
474
+
475
+ ``find_distributions(entry, True)`` is used to find distributions
476
+ corresponding to the path entry, and they are added. `entry` is
477
+ always appended to ``.entries``, even if it is already present.
478
+ (This is because ``sys.path`` can contain the same value more than
479
+ once, and the ``.entries`` of the ``sys.path`` WorkingSet should always
480
+ equal ``sys.path``.)
481
+ """
482
+ self.entry_keys.setdefault(entry, [])
483
+ self.entries.append(entry)
484
+ for dist in find_distributions(entry, True):
485
+ self.add(dist, entry, False)
486
+
487
+ def __contains__(self,dist):
488
+ """True if `dist` is the active distribution for its project"""
489
+ return self.by_key.get(dist.key) == dist
490
+
491
+ def find(self, req):
492
+ """Find a distribution matching requirement `req`
493
+
494
+ If there is an active distribution for the requested project, this
495
+ returns it as long as it meets the version requirement specified by
496
+ `req`. But, if there is an active distribution for the project and it
497
+ does *not* meet the `req` requirement, ``VersionConflict`` is raised.
498
+ If there is no active distribution for the requested project, ``None``
499
+ is returned.
500
+ """
501
+ dist = self.by_key.get(req.key)
502
+ if dist is not None and dist not in req:
503
+ raise VersionConflict(dist,req) # XXX add more info
504
+ else:
505
+ return dist
506
+
507
+ def iter_entry_points(self, group, name=None):
508
+ """Yield entry point objects from `group` matching `name`
509
+
510
+ If `name` is None, yields all entry points in `group` from all
511
+ distributions in the working set, otherwise only ones matching
512
+ both `group` and `name` are yielded (in distribution order).
513
+ """
514
+ for dist in self:
515
+ entries = dist.get_entry_map(group)
516
+ if name is None:
517
+ for ep in entries.values():
518
+ yield ep
519
+ elif name in entries:
520
+ yield entries[name]
521
+
522
+ def run_script(self, requires, script_name):
523
+ """Locate distribution for `requires` and run `script_name` script"""
524
+ ns = sys._getframe(1).f_globals
525
+ name = ns['__name__']
526
+ ns.clear()
527
+ ns['__name__'] = name
528
+ self.require(requires)[0].run_script(script_name, ns)
529
+
530
+ def __iter__(self):
531
+ """Yield distributions for non-duplicate projects in the working set
532
+
533
+ The yield order is the order in which the items' path entries were
534
+ added to the working set.
535
+ """
536
+ seen = {}
537
+ for item in self.entries:
538
+ if item not in self.entry_keys:
539
+ # workaround a cache issue
540
+ continue
541
+
542
+ for key in self.entry_keys[item]:
543
+ if key not in seen:
544
+ seen[key]=1
545
+ yield self.by_key[key]
546
+
547
+ def add(self, dist, entry=None, insert=True, replace=False):
548
+ """Add `dist` to working set, associated with `entry`
549
+
550
+ If `entry` is unspecified, it defaults to the ``.location`` of `dist`.
551
+ On exit from this routine, `entry` is added to the end of the working
552
+ set's ``.entries`` (if it wasn't already present).
553
+
554
+ `dist` is only added to the working set if it's for a project that
555
+ doesn't already have a distribution in the set, unless `replace=True`.
556
+ If it's added, any callbacks registered with the ``subscribe()`` method
557
+ will be called.
558
+ """
559
+ if insert:
560
+ dist.insert_on(self.entries, entry)
561
+
562
+ if entry is None:
563
+ entry = dist.location
564
+ keys = self.entry_keys.setdefault(entry,[])
565
+ keys2 = self.entry_keys.setdefault(dist.location,[])
566
+ if not replace and dist.key in self.by_key:
567
+ return # ignore hidden distros
568
+
569
+ self.by_key[dist.key] = dist
570
+ if dist.key not in keys:
571
+ keys.append(dist.key)
572
+ if dist.key not in keys2:
573
+ keys2.append(dist.key)
574
+ self._added_new(dist)
575
+
576
+ def resolve(self, requirements, env=None, installer=None,
577
+ replace_conflicting=False):
578
+ """List all distributions needed to (recursively) meet `requirements`
579
+
580
+ `requirements` must be a sequence of ``Requirement`` objects. `env`,
581
+ if supplied, should be an ``Environment`` instance. If
582
+ not supplied, it defaults to all distributions available within any
583
+ entry or distribution in the working set. `installer`, if supplied,
584
+ will be invoked with each requirement that cannot be met by an
585
+ already-installed distribution; it should return a ``Distribution`` or
586
+ ``None``.
587
+
588
+ Unless `replace_conflicting=True`, raises a VersionConflict exception if
589
+ any requirements are found on the path that have the correct name but
590
+ the wrong version. Otherwise, if an `installer` is supplied it will be
591
+ invoked to obtain the correct version of the requirement and activate
592
+ it.
593
+ """
594
+
595
+ requirements = list(requirements)[::-1] # set up the stack
596
+ processed = {} # set of processed requirements
597
+ best = {} # key -> dist
598
+ to_activate = []
599
+
600
+ while requirements:
601
+ req = requirements.pop(0) # process dependencies breadth-first
602
+ if req in processed:
603
+ # Ignore cyclic or redundant dependencies
604
+ continue
605
+ dist = best.get(req.key)
606
+ if dist is None:
607
+ # Find the best distribution and add it to the map
608
+ dist = self.by_key.get(req.key)
609
+ if dist is None or (dist not in req and replace_conflicting):
610
+ ws = self
611
+ if env is None:
612
+ if dist is None:
613
+ env = Environment(self.entries)
614
+ else:
615
+ # Use an empty environment and workingset to avoid
616
+ # any further conflicts with the conflicting
617
+ # distribution
618
+ env = Environment([])
619
+ ws = WorkingSet([])
620
+ dist = best[req.key] = env.best_match(req, ws, installer)
621
+ if dist is None:
622
+ #msg = ("The '%s' distribution was not found on this "
623
+ # "system, and is required by this application.")
624
+ #raise DistributionNotFound(msg % req)
625
+
626
+ # unfortunately, zc.buildout uses a str(err)
627
+ # to get the name of the distribution here..
628
+ raise DistributionNotFound(req)
629
+ to_activate.append(dist)
630
+ if dist not in req:
631
+ # Oops, the "best" so far conflicts with a dependency
632
+ raise VersionConflict(dist,req) # XXX put more info here
633
+ requirements.extend(dist.requires(req.extras)[::-1])
634
+ processed[req] = True
635
+
636
+ return to_activate # return list of distros to activate
637
+
638
+ def find_plugins(self, plugin_env, full_env=None, installer=None,
639
+ fallback=True):
640
+ """Find all activatable distributions in `plugin_env`
641
+
642
+ Example usage::
643
+
644
+ distributions, errors = working_set.find_plugins(
645
+ Environment(plugin_dirlist)
646
+ )
647
+ map(working_set.add, distributions) # add plugins+libs to sys.path
648
+ print 'Could not load', errors # display errors
649
+
650
+ The `plugin_env` should be an ``Environment`` instance that contains
651
+ only distributions that are in the project's "plugin directory" or
652
+ directories. The `full_env`, if supplied, should be an ``Environment``
653
+ contains all currently-available distributions. If `full_env` is not
654
+ supplied, one is created automatically from the ``WorkingSet`` this
655
+ method is called on, which will typically mean that every directory on
656
+ ``sys.path`` will be scanned for distributions.
657
+
658
+ `installer` is a standard installer callback as used by the
659
+ ``resolve()`` method. The `fallback` flag indicates whether we should
660
+ attempt to resolve older versions of a plugin if the newest version
661
+ cannot be resolved.
662
+
663
+ This method returns a 2-tuple: (`distributions`, `error_info`), where
664
+ `distributions` is a list of the distributions found in `plugin_env`
665
+ that were loadable, along with any other distributions that are needed
666
+ to resolve their dependencies. `error_info` is a dictionary mapping
667
+ unloadable plugin distributions to an exception instance describing the
668
+ error that occurred. Usually this will be a ``DistributionNotFound`` or
669
+ ``VersionConflict`` instance.
670
+ """
671
+
672
+ plugin_projects = list(plugin_env)
673
+ plugin_projects.sort() # scan project names in alphabetic order
674
+
675
+ error_info = {}
676
+ distributions = {}
677
+
678
+ if full_env is None:
679
+ env = Environment(self.entries)
680
+ env += plugin_env
681
+ else:
682
+ env = full_env + plugin_env
683
+
684
+ shadow_set = self.__class__([])
685
+ list(map(shadow_set.add, self)) # put all our entries in shadow_set
686
+
687
+ for project_name in plugin_projects:
688
+
689
+ for dist in plugin_env[project_name]:
690
+
691
+ req = [dist.as_requirement()]
692
+
693
+ try:
694
+ resolvees = shadow_set.resolve(req, env, installer)
695
+
696
+ except ResolutionError:
697
+ v = sys.exc_info()[1]
698
+ error_info[dist] = v # save error info
699
+ if fallback:
700
+ continue # try the next older version of project
701
+ else:
702
+ break # give up on this project, keep going
703
+
704
+ else:
705
+ list(map(shadow_set.add, resolvees))
706
+ distributions.update(dict.fromkeys(resolvees))
707
+
708
+ # success, no need to try any more versions of this project
709
+ break
710
+
711
+ distributions = list(distributions)
712
+ distributions.sort()
713
+
714
+ return distributions, error_info
715
+
716
+ def require(self, *requirements):
717
+ """Ensure that distributions matching `requirements` are activated
718
+
719
+ `requirements` must be a string or a (possibly-nested) sequence
720
+ thereof, specifying the distributions and versions required. The
721
+ return value is a sequence of the distributions that needed to be
722
+ activated to fulfill the requirements; all relevant distributions are
723
+ included, even if they were already activated in this working set.
724
+ """
725
+ needed = self.resolve(parse_requirements(requirements))
726
+
727
+ for dist in needed:
728
+ self.add(dist)
729
+
730
+ return needed
731
+
732
+ def subscribe(self, callback):
733
+ """Invoke `callback` for all distributions (including existing ones)"""
734
+ if callback in self.callbacks:
735
+ return
736
+ self.callbacks.append(callback)
737
+ for dist in self:
738
+ callback(dist)
739
+
740
+ def _added_new(self, dist):
741
+ for callback in self.callbacks:
742
+ callback(dist)
743
+
744
+ def __getstate__(self):
745
+ return (
746
+ self.entries[:], self.entry_keys.copy(), self.by_key.copy(),
747
+ self.callbacks[:]
748
+ )
749
+
750
+ def __setstate__(self, e_k_b_c):
751
+ entries, keys, by_key, callbacks = e_k_b_c
752
+ self.entries = entries[:]
753
+ self.entry_keys = keys.copy()
754
+ self.by_key = by_key.copy()
755
+ self.callbacks = callbacks[:]
756
+
757
+
758
+ class Environment(object):
759
+ """Searchable snapshot of distributions on a search path"""
760
+
761
+ def __init__(self, search_path=None, platform=get_supported_platform(), python=PY_MAJOR):
762
+ """Snapshot distributions available on a search path
763
+
764
+ Any distributions found on `search_path` are added to the environment.
765
+ `search_path` should be a sequence of ``sys.path`` items. If not
766
+ supplied, ``sys.path`` is used.
767
+
768
+ `platform` is an optional string specifying the name of the platform
769
+ that platform-specific distributions must be compatible with. If
770
+ unspecified, it defaults to the current platform. `python` is an
771
+ optional string naming the desired version of Python (e.g. ``'3.3'``);
772
+ it defaults to the current version.
773
+
774
+ You may explicitly set `platform` (and/or `python`) to ``None`` if you
775
+ wish to map *all* distributions, not just those compatible with the
776
+ running platform or Python version.
777
+ """
778
+ self._distmap = {}
779
+ self._cache = {}
780
+ self.platform = platform
781
+ self.python = python
782
+ self.scan(search_path)
783
+
784
+ def can_add(self, dist):
785
+ """Is distribution `dist` acceptable for this environment?
786
+
787
+ The distribution must match the platform and python version
788
+ requirements specified when this environment was created, or False
789
+ is returned.
790
+ """
791
+ return (self.python is None or dist.py_version is None
792
+ or dist.py_version==self.python) \
793
+ and compatible_platforms(dist.platform,self.platform)
794
+
795
+ def remove(self, dist):
796
+ """Remove `dist` from the environment"""
797
+ self._distmap[dist.key].remove(dist)
798
+
799
+ def scan(self, search_path=None):
800
+ """Scan `search_path` for distributions usable in this environment
801
+
802
+ Any distributions found are added to the environment.
803
+ `search_path` should be a sequence of ``sys.path`` items. If not
804
+ supplied, ``sys.path`` is used. Only distributions conforming to
805
+ the platform/python version defined at initialization are added.
806
+ """
807
+ if search_path is None:
808
+ search_path = sys.path
809
+
810
+ for item in search_path:
811
+ for dist in find_distributions(item):
812
+ self.add(dist)
813
+
814
+ def __getitem__(self,project_name):
815
+ """Return a newest-to-oldest list of distributions for `project_name`
816
+ """
817
+ try:
818
+ return self._cache[project_name]
819
+ except KeyError:
820
+ project_name = project_name.lower()
821
+ if project_name not in self._distmap:
822
+ return []
823
+
824
+ if project_name not in self._cache:
825
+ dists = self._cache[project_name] = self._distmap[project_name]
826
+ _sort_dists(dists)
827
+
828
+ return self._cache[project_name]
829
+
830
+ def add(self,dist):
831
+ """Add `dist` if we ``can_add()`` it and it isn't already added"""
832
+ if self.can_add(dist) and dist.has_version():
833
+ dists = self._distmap.setdefault(dist.key,[])
834
+ if dist not in dists:
835
+ dists.append(dist)
836
+ if dist.key in self._cache:
837
+ _sort_dists(self._cache[dist.key])
838
+
839
+ def best_match(self, req, working_set, installer=None):
840
+ """Find distribution best matching `req` and usable on `working_set`
841
+
842
+ This calls the ``find(req)`` method of the `working_set` to see if a
843
+ suitable distribution is already active. (This may raise
844
+ ``VersionConflict`` if an unsuitable version of the project is already
845
+ active in the specified `working_set`.) If a suitable distribution
846
+ isn't active, this method returns the newest distribution in the
847
+ environment that meets the ``Requirement`` in `req`. If no suitable
848
+ distribution is found, and `installer` is supplied, then the result of
849
+ calling the environment's ``obtain(req, installer)`` method will be
850
+ returned.
851
+ """
852
+ dist = working_set.find(req)
853
+ if dist is not None:
854
+ return dist
855
+ for dist in self[req.key]:
856
+ if dist in req:
857
+ return dist
858
+ return self.obtain(req, installer) # try and download/install
859
+
860
+ def obtain(self, requirement, installer=None):
861
+ """Obtain a distribution matching `requirement` (e.g. via download)
862
+
863
+ Obtain a distro that matches requirement (e.g. via download). In the
864
+ base ``Environment`` class, this routine just returns
865
+ ``installer(requirement)``, unless `installer` is None, in which case
866
+ None is returned instead. This method is a hook that allows subclasses
867
+ to attempt other ways of obtaining a distribution before falling back
868
+ to the `installer` argument."""
869
+ if installer is not None:
870
+ return installer(requirement)
871
+
872
+ def __iter__(self):
873
+ """Yield the unique project names of the available distributions"""
874
+ for key in self._distmap.keys():
875
+ if self[key]: yield key
876
+
877
+ def __iadd__(self, other):
878
+ """In-place addition of a distribution or environment"""
879
+ if isinstance(other,Distribution):
880
+ self.add(other)
881
+ elif isinstance(other,Environment):
882
+ for project in other:
883
+ for dist in other[project]:
884
+ self.add(dist)
885
+ else:
886
+ raise TypeError("Can't add %r to environment" % (other,))
887
+ return self
888
+
889
+ def __add__(self, other):
890
+ """Add an environment or distribution to an environment"""
891
+ new = self.__class__([], platform=None, python=None)
892
+ for env in self, other:
893
+ new += env
894
+ return new
895
+
896
+
897
+ AvailableDistributions = Environment # XXX backward compatibility
898
+
899
+
900
+ class ExtractionError(RuntimeError):
901
+ """An error occurred extracting a resource
902
+
903
+ The following attributes are available from instances of this exception:
904
+
905
+ manager
906
+ The resource manager that raised this exception
907
+
908
+ cache_path
909
+ The base directory for resource extraction
910
+
911
+ original_error
912
+ The exception instance that caused extraction to fail
913
+ """
914
+
915
+
916
+ class ResourceManager:
917
+ """Manage resource extraction and packages"""
918
+ extraction_path = None
919
+
920
+ def __init__(self):
921
+ self.cached_files = {}
922
+
923
+ def resource_exists(self, package_or_requirement, resource_name):
924
+ """Does the named resource exist?"""
925
+ return get_provider(package_or_requirement).has_resource(resource_name)
926
+
927
+ def resource_isdir(self, package_or_requirement, resource_name):
928
+ """Is the named resource an existing directory?"""
929
+ return get_provider(package_or_requirement).resource_isdir(
930
+ resource_name
931
+ )
932
+
933
+ def resource_filename(self, package_or_requirement, resource_name):
934
+ """Return a true filesystem path for specified resource"""
935
+ return get_provider(package_or_requirement).get_resource_filename(
936
+ self, resource_name
937
+ )
938
+
939
+ def resource_stream(self, package_or_requirement, resource_name):
940
+ """Return a readable file-like object for specified resource"""
941
+ return get_provider(package_or_requirement).get_resource_stream(
942
+ self, resource_name
943
+ )
944
+
945
+ def resource_string(self, package_or_requirement, resource_name):
946
+ """Return specified resource as a string"""
947
+ return get_provider(package_or_requirement).get_resource_string(
948
+ self, resource_name
949
+ )
950
+
951
+ def resource_listdir(self, package_or_requirement, resource_name):
952
+ """List the contents of the named resource directory"""
953
+ return get_provider(package_or_requirement).resource_listdir(
954
+ resource_name
955
+ )
956
+
957
+ def extraction_error(self):
958
+ """Give an error message for problems extracting file(s)"""
959
+
960
+ old_exc = sys.exc_info()[1]
961
+ cache_path = self.extraction_path or get_default_cache()
962
+
963
+ err = ExtractionError("""Can't extract file(s) to egg cache
964
+
965
+ The following error occurred while trying to extract file(s) to the Python egg
966
+ cache:
967
+
968
+ %s
969
+
970
+ The Python egg cache directory is currently set to:
971
+
972
+ %s
973
+
974
+ Perhaps your account does not have write access to this directory? You can
975
+ change the cache directory by setting the PYTHON_EGG_CACHE environment
976
+ variable to point to an accessible directory.
977
+ """ % (old_exc, cache_path)
978
+ )
979
+ err.manager = self
980
+ err.cache_path = cache_path
981
+ err.original_error = old_exc
982
+ raise err
983
+
984
+ def get_cache_path(self, archive_name, names=()):
985
+ """Return absolute location in cache for `archive_name` and `names`
986
+
987
+ The parent directory of the resulting path will be created if it does
988
+ not already exist. `archive_name` should be the base filename of the
989
+ enclosing egg (which may not be the name of the enclosing zipfile!),
990
+ including its ".egg" extension. `names`, if provided, should be a
991
+ sequence of path name parts "under" the egg's extraction location.
992
+
993
+ This method should only be called by resource providers that need to
994
+ obtain an extraction location, and only for names they intend to
995
+ extract, as it tracks the generated names for possible cleanup later.
996
+ """
997
+ extract_path = self.extraction_path or get_default_cache()
998
+ target_path = os.path.join(extract_path, archive_name+'-tmp', *names)
999
+ try:
1000
+ _bypass_ensure_directory(target_path)
1001
+ except:
1002
+ self.extraction_error()
1003
+
1004
+ self._warn_unsafe_extraction_path(extract_path)
1005
+
1006
+ self.cached_files[target_path] = 1
1007
+ return target_path
1008
+
1009
+ @staticmethod
1010
+ def _warn_unsafe_extraction_path(path):
1011
+ """
1012
+ If the default extraction path is overridden and set to an insecure
1013
+ location, such as /tmp, it opens up an opportunity for an attacker to
1014
+ replace an extracted file with an unauthorized payload. Warn the user
1015
+ if a known insecure location is used.
1016
+
1017
+ See Distribute #375 for more details.
1018
+ """
1019
+ if os.name == 'nt' and not path.startswith(os.environ['windir']):
1020
+ # On Windows, permissions are generally restrictive by default
1021
+ # and temp directories are not writable by other users, so
1022
+ # bypass the warning.
1023
+ return
1024
+ mode = os.stat(path).st_mode
1025
+ if mode & stat.S_IWOTH or mode & stat.S_IWGRP:
1026
+ msg = ("%s is writable by group/others and vulnerable to attack "
1027
+ "when "
1028
+ "used with get_resource_filename. Consider a more secure "
1029
+ "location (set with .set_extraction_path or the "
1030
+ "PYTHON_EGG_CACHE environment variable)." % path)
1031
+ warnings.warn(msg, UserWarning)
1032
+
1033
+ def postprocess(self, tempname, filename):
1034
+ """Perform any platform-specific postprocessing of `tempname`
1035
+
1036
+ This is where Mac header rewrites should be done; other platforms don't
1037
+ have anything special they should do.
1038
+
1039
+ Resource providers should call this method ONLY after successfully
1040
+ extracting a compressed resource. They must NOT call it on resources
1041
+ that are already in the filesystem.
1042
+
1043
+ `tempname` is the current (temporary) name of the file, and `filename`
1044
+ is the name it will be renamed to by the caller after this routine
1045
+ returns.
1046
+ """
1047
+
1048
+ if os.name == 'posix':
1049
+ # Make the resource executable
1050
+ mode = ((os.stat(tempname).st_mode) | 0x16D) & 0xFFF # 0555, 07777
1051
+ os.chmod(tempname, mode)
1052
+
1053
+ def set_extraction_path(self, path):
1054
+ """Set the base path where resources will be extracted to, if needed.
1055
+
1056
+ If you do not call this routine before any extractions take place, the
1057
+ path defaults to the return value of ``get_default_cache()``. (Which
1058
+ is based on the ``PYTHON_EGG_CACHE`` environment variable, with various
1059
+ platform-specific fallbacks. See that routine's documentation for more
1060
+ details.)
1061
+
1062
+ Resources are extracted to subdirectories of this path based upon
1063
+ information given by the ``IResourceProvider``. You may set this to a
1064
+ temporary directory, but then you must call ``cleanup_resources()`` to
1065
+ delete the extracted files when done. There is no guarantee that
1066
+ ``cleanup_resources()`` will be able to remove all extracted files.
1067
+
1068
+ (Note: you may not change the extraction path for a given resource
1069
+ manager once resources have been extracted, unless you first call
1070
+ ``cleanup_resources()``.)
1071
+ """
1072
+ if self.cached_files:
1073
+ raise ValueError(
1074
+ "Can't change extraction path, files already extracted"
1075
+ )
1076
+
1077
+ self.extraction_path = path
1078
+
1079
+ def cleanup_resources(self, force=False):
1080
+ """
1081
+ Delete all extracted resource files and directories, returning a list
1082
+ of the file and directory names that could not be successfully removed.
1083
+ This function does not have any concurrency protection, so it should
1084
+ generally only be called when the extraction path is a temporary
1085
+ directory exclusive to a single process. This method is not
1086
+ automatically called; you must call it explicitly or register it as an
1087
+ ``atexit`` function if you wish to ensure cleanup of a temporary
1088
+ directory used for extractions.
1089
+ """
1090
+ # XXX
1091
+
1092
+ def get_default_cache():
1093
+ """Determine the default cache location
1094
+
1095
+ This returns the ``PYTHON_EGG_CACHE`` environment variable, if set.
1096
+ Otherwise, on Windows, it returns a "Python-Eggs" subdirectory of the
1097
+ "Application Data" directory. On all other systems, it's "~/.python-eggs".
1098
+ """
1099
+ try:
1100
+ return os.environ['PYTHON_EGG_CACHE']
1101
+ except KeyError:
1102
+ pass
1103
+
1104
+ if os.name!='nt':
1105
+ return os.path.expanduser('~/.python-eggs')
1106
+
1107
+ app_data = 'Application Data' # XXX this may be locale-specific!
1108
+ app_homes = [
1109
+ (('APPDATA',), None), # best option, should be locale-safe
1110
+ (('USERPROFILE',), app_data),
1111
+ (('HOMEDRIVE','HOMEPATH'), app_data),
1112
+ (('HOMEPATH',), app_data),
1113
+ (('HOME',), None),
1114
+ (('WINDIR',), app_data), # 95/98/ME
1115
+ ]
1116
+
1117
+ for keys, subdir in app_homes:
1118
+ dirname = ''
1119
+ for key in keys:
1120
+ if key in os.environ:
1121
+ dirname = os.path.join(dirname, os.environ[key])
1122
+ else:
1123
+ break
1124
+ else:
1125
+ if subdir:
1126
+ dirname = os.path.join(dirname,subdir)
1127
+ return os.path.join(dirname, 'Python-Eggs')
1128
+ else:
1129
+ raise RuntimeError(
1130
+ "Please set the PYTHON_EGG_CACHE enviroment variable"
1131
+ )
1132
+
1133
+ def safe_name(name):
1134
+ """Convert an arbitrary string to a standard distribution name
1135
+
1136
+ Any runs of non-alphanumeric/. characters are replaced with a single '-'.
1137
+ """
1138
+ return re.sub('[^A-Za-z0-9.]+', '-', name)
1139
+
1140
+
1141
+ def safe_version(version):
1142
+ """Convert an arbitrary string to a standard version string
1143
+
1144
+ Spaces become dots, and all other non-alphanumeric characters become
1145
+ dashes, with runs of multiple dashes condensed to a single dash.
1146
+ """
1147
+ version = version.replace(' ','.')
1148
+ return re.sub('[^A-Za-z0-9.]+', '-', version)
1149
+
1150
+
1151
+ def safe_extra(extra):
1152
+ """Convert an arbitrary string to a standard 'extra' name
1153
+
1154
+ Any runs of non-alphanumeric characters are replaced with a single '_',
1155
+ and the result is always lowercased.
1156
+ """
1157
+ return re.sub('[^A-Za-z0-9.]+', '_', extra).lower()
1158
+
1159
+
1160
+ def to_filename(name):
1161
+ """Convert a project or version name to its filename-escaped form
1162
+
1163
+ Any '-' characters are currently replaced with '_'.
1164
+ """
1165
+ return name.replace('-','_')
1166
+
1167
+
1168
+ class MarkerEvaluation(object):
1169
+ values = {
1170
+ 'os_name': lambda: os.name,
1171
+ 'sys_platform': lambda: sys.platform,
1172
+ 'python_full_version': lambda: sys.version.split()[0],
1173
+ 'python_version': lambda:'%s.%s' % (sys.version_info[0], sys.version_info[1]),
1174
+ 'platform_version': platform.version,
1175
+ 'platform_machine': platform.machine,
1176
+ 'python_implementation': platform.python_implementation,
1177
+ }
1178
+
1179
+ @classmethod
1180
+ def is_invalid_marker(cls, text):
1181
+ """
1182
+ Validate text as a PEP 426 environment marker; return an exception
1183
+ if invalid or False otherwise.
1184
+ """
1185
+ try:
1186
+ cls.evaluate_marker(text)
1187
+ except SyntaxError:
1188
+ return cls.normalize_exception(sys.exc_info()[1])
1189
+ return False
1190
+
1191
+ @staticmethod
1192
+ def normalize_exception(exc):
1193
+ """
1194
+ Given a SyntaxError from a marker evaluation, normalize the error message:
1195
+ - Remove indications of filename and line number.
1196
+ - Replace platform-specific error messages with standard error messages.
1197
+ """
1198
+ subs = {
1199
+ 'unexpected EOF while parsing': 'invalid syntax',
1200
+ 'parenthesis is never closed': 'invalid syntax',
1201
+ }
1202
+ exc.filename = None
1203
+ exc.lineno = None
1204
+ exc.msg = subs.get(exc.msg, exc.msg)
1205
+ return exc
1206
+
1207
+ @classmethod
1208
+ def and_test(cls, nodelist):
1209
+ # MUST NOT short-circuit evaluation, or invalid syntax can be skipped!
1210
+ return functools.reduce(operator.and_, [cls.interpret(nodelist[i]) for i in range(1,len(nodelist),2)])
1211
+
1212
+ @classmethod
1213
+ def test(cls, nodelist):
1214
+ # MUST NOT short-circuit evaluation, or invalid syntax can be skipped!
1215
+ return functools.reduce(operator.or_, [cls.interpret(nodelist[i]) for i in range(1,len(nodelist),2)])
1216
+
1217
+ @classmethod
1218
+ def atom(cls, nodelist):
1219
+ t = nodelist[1][0]
1220
+ if t == token.LPAR:
1221
+ if nodelist[2][0] == token.RPAR:
1222
+ raise SyntaxError("Empty parentheses")
1223
+ return cls.interpret(nodelist[2])
1224
+ raise SyntaxError("Language feature not supported in environment markers")
1225
+
1226
+ @classmethod
1227
+ def comparison(cls, nodelist):
1228
+ if len(nodelist)>4:
1229
+ raise SyntaxError("Chained comparison not allowed in environment markers")
1230
+ comp = nodelist[2][1]
1231
+ cop = comp[1]
1232
+ if comp[0] == token.NAME:
1233
+ if len(nodelist[2]) == 3:
1234
+ if cop == 'not':
1235
+ cop = 'not in'
1236
+ else:
1237
+ cop = 'is not'
1238
+ try:
1239
+ cop = cls.get_op(cop)
1240
+ except KeyError:
1241
+ raise SyntaxError(repr(cop)+" operator not allowed in environment markers")
1242
+ return cop(cls.evaluate(nodelist[1]), cls.evaluate(nodelist[3]))
1243
+
1244
+ @classmethod
1245
+ def get_op(cls, op):
1246
+ ops = {
1247
+ symbol.test: cls.test,
1248
+ symbol.and_test: cls.and_test,
1249
+ symbol.atom: cls.atom,
1250
+ symbol.comparison: cls.comparison,
1251
+ 'not in': lambda x, y: x not in y,
1252
+ 'in': lambda x, y: x in y,
1253
+ '==': operator.eq,
1254
+ '!=': operator.ne,
1255
+ }
1256
+ if hasattr(symbol, 'or_test'):
1257
+ ops[symbol.or_test] = cls.test
1258
+ return ops[op]
1259
+
1260
+ @classmethod
1261
+ def evaluate_marker(cls, text, extra=None):
1262
+ """
1263
+ Evaluate a PEP 426 environment marker on CPython 2.4+.
1264
+ Return a boolean indicating the marker result in this environment.
1265
+ Raise SyntaxError if marker is invalid.
1266
+
1267
+ This implementation uses the 'parser' module, which is not implemented on
1268
+ Jython and has been superseded by the 'ast' module in Python 2.6 and
1269
+ later.
1270
+ """
1271
+ return cls.interpret(parser.expr(text).totuple(1)[1])
1272
+
1273
+ @classmethod
1274
+ def _markerlib_evaluate(cls, text):
1275
+ """
1276
+ Evaluate a PEP 426 environment marker using markerlib.
1277
+ Return a boolean indicating the marker result in this environment.
1278
+ Raise SyntaxError if marker is invalid.
1279
+ """
1280
+ from pip._vendor import _markerlib
1281
+ # markerlib implements Metadata 1.2 (PEP 345) environment markers.
1282
+ # Translate the variables to Metadata 2.0 (PEP 426).
1283
+ env = _markerlib.default_environment()
1284
+ for key in env.keys():
1285
+ new_key = key.replace('.', '_')
1286
+ env[new_key] = env.pop(key)
1287
+ try:
1288
+ result = _markerlib.interpret(text, env)
1289
+ except NameError:
1290
+ e = sys.exc_info()[1]
1291
+ raise SyntaxError(e.args[0])
1292
+ return result
1293
+
1294
+ if 'parser' not in globals():
1295
+ # Fall back to less-complete _markerlib implementation if 'parser' module
1296
+ # is not available.
1297
+ evaluate_marker = _markerlib_evaluate
1298
+
1299
+ @classmethod
1300
+ def interpret(cls, nodelist):
1301
+ while len(nodelist)==2: nodelist = nodelist[1]
1302
+ try:
1303
+ op = cls.get_op(nodelist[0])
1304
+ except KeyError:
1305
+ raise SyntaxError("Comparison or logical expression expected")
1306
+ return op(nodelist)
1307
+
1308
+ @classmethod
1309
+ def evaluate(cls, nodelist):
1310
+ while len(nodelist)==2: nodelist = nodelist[1]
1311
+ kind = nodelist[0]
1312
+ name = nodelist[1]
1313
+ if kind==token.NAME:
1314
+ try:
1315
+ op = cls.values[name]
1316
+ except KeyError:
1317
+ raise SyntaxError("Unknown name %r" % name)
1318
+ return op()
1319
+ if kind==token.STRING:
1320
+ s = nodelist[1]
1321
+ if s[:1] not in "'\"" or s.startswith('"""') or s.startswith("'''") \
1322
+ or '\\' in s:
1323
+ raise SyntaxError(
1324
+ "Only plain strings allowed in environment markers")
1325
+ return s[1:-1]
1326
+ raise SyntaxError("Language feature not supported in environment markers")
1327
+
1328
+ invalid_marker = MarkerEvaluation.is_invalid_marker
1329
+ evaluate_marker = MarkerEvaluation.evaluate_marker
1330
+
1331
+ class NullProvider:
1332
+ """Try to implement resources and metadata for arbitrary PEP 302 loaders"""
1333
+
1334
+ egg_name = None
1335
+ egg_info = None
1336
+ loader = None
1337
+
1338
+ def __init__(self, module):
1339
+ self.loader = getattr(module, '__loader__', None)
1340
+ self.module_path = os.path.dirname(getattr(module, '__file__', ''))
1341
+
1342
+ def get_resource_filename(self, manager, resource_name):
1343
+ return self._fn(self.module_path, resource_name)
1344
+
1345
+ def get_resource_stream(self, manager, resource_name):
1346
+ return BytesIO(self.get_resource_string(manager, resource_name))
1347
+
1348
+ def get_resource_string(self, manager, resource_name):
1349
+ return self._get(self._fn(self.module_path, resource_name))
1350
+
1351
+ def has_resource(self, resource_name):
1352
+ return self._has(self._fn(self.module_path, resource_name))
1353
+
1354
+ def has_metadata(self, name):
1355
+ return self.egg_info and self._has(self._fn(self.egg_info,name))
1356
+
1357
+ if sys.version_info <= (3,):
1358
+ def get_metadata(self, name):
1359
+ if not self.egg_info:
1360
+ return ""
1361
+ return self._get(self._fn(self.egg_info,name))
1362
+ else:
1363
+ def get_metadata(self, name):
1364
+ if not self.egg_info:
1365
+ return ""
1366
+ return self._get(self._fn(self.egg_info,name)).decode("utf-8")
1367
+
1368
+ def get_metadata_lines(self, name):
1369
+ return yield_lines(self.get_metadata(name))
1370
+
1371
+ def resource_isdir(self,resource_name):
1372
+ return self._isdir(self._fn(self.module_path, resource_name))
1373
+
1374
+ def metadata_isdir(self,name):
1375
+ return self.egg_info and self._isdir(self._fn(self.egg_info,name))
1376
+
1377
+ def resource_listdir(self,resource_name):
1378
+ return self._listdir(self._fn(self.module_path,resource_name))
1379
+
1380
+ def metadata_listdir(self,name):
1381
+ if self.egg_info:
1382
+ return self._listdir(self._fn(self.egg_info,name))
1383
+ return []
1384
+
1385
+ def run_script(self,script_name,namespace):
1386
+ script = 'scripts/'+script_name
1387
+ if not self.has_metadata(script):
1388
+ raise ResolutionError("No script named %r" % script_name)
1389
+ script_text = self.get_metadata(script).replace('\r\n','\n')
1390
+ script_text = script_text.replace('\r','\n')
1391
+ script_filename = self._fn(self.egg_info,script)
1392
+ namespace['__file__'] = script_filename
1393
+ if os.path.exists(script_filename):
1394
+ execfile(script_filename, namespace, namespace)
1395
+ else:
1396
+ from linecache import cache
1397
+ cache[script_filename] = (
1398
+ len(script_text), 0, script_text.split('\n'), script_filename
1399
+ )
1400
+ script_code = compile(script_text,script_filename,'exec')
1401
+ exec(script_code, namespace, namespace)
1402
+
1403
+ def _has(self, path):
1404
+ raise NotImplementedError(
1405
+ "Can't perform this operation for unregistered loader type"
1406
+ )
1407
+
1408
+ def _isdir(self, path):
1409
+ raise NotImplementedError(
1410
+ "Can't perform this operation for unregistered loader type"
1411
+ )
1412
+
1413
+ def _listdir(self, path):
1414
+ raise NotImplementedError(
1415
+ "Can't perform this operation for unregistered loader type"
1416
+ )
1417
+
1418
+ def _fn(self, base, resource_name):
1419
+ if resource_name:
1420
+ return os.path.join(base, *resource_name.split('/'))
1421
+ return base
1422
+
1423
+ def _get(self, path):
1424
+ if hasattr(self.loader, 'get_data'):
1425
+ return self.loader.get_data(path)
1426
+ raise NotImplementedError(
1427
+ "Can't perform this operation for loaders without 'get_data()'"
1428
+ )
1429
+
1430
+ register_loader_type(object, NullProvider)
1431
+
1432
+
1433
+ class EggProvider(NullProvider):
1434
+ """Provider based on a virtual filesystem"""
1435
+
1436
+ def __init__(self,module):
1437
+ NullProvider.__init__(self,module)
1438
+ self._setup_prefix()
1439
+
1440
+ def _setup_prefix(self):
1441
+ # we assume here that our metadata may be nested inside a "basket"
1442
+ # of multiple eggs; that's why we use module_path instead of .archive
1443
+ path = self.module_path
1444
+ old = None
1445
+ while path!=old:
1446
+ if path.lower().endswith('.egg'):
1447
+ self.egg_name = os.path.basename(path)
1448
+ self.egg_info = os.path.join(path, 'EGG-INFO')
1449
+ self.egg_root = path
1450
+ break
1451
+ old = path
1452
+ path, base = os.path.split(path)
1453
+
1454
+ class DefaultProvider(EggProvider):
1455
+ """Provides access to package resources in the filesystem"""
1456
+
1457
+ def _has(self, path):
1458
+ return os.path.exists(path)
1459
+
1460
+ def _isdir(self,path):
1461
+ return os.path.isdir(path)
1462
+
1463
+ def _listdir(self,path):
1464
+ return os.listdir(path)
1465
+
1466
+ def get_resource_stream(self, manager, resource_name):
1467
+ return open(self._fn(self.module_path, resource_name), 'rb')
1468
+
1469
+ def _get(self, path):
1470
+ stream = open(path, 'rb')
1471
+ try:
1472
+ return stream.read()
1473
+ finally:
1474
+ stream.close()
1475
+
1476
+ register_loader_type(type(None), DefaultProvider)
1477
+
1478
+ if importlib_bootstrap is not None:
1479
+ register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
1480
+
1481
+
1482
+ class EmptyProvider(NullProvider):
1483
+ """Provider that returns nothing for all requests"""
1484
+
1485
+ _isdir = _has = lambda self,path: False
1486
+ _get = lambda self,path: ''
1487
+ _listdir = lambda self,path: []
1488
+ module_path = None
1489
+
1490
+ def __init__(self):
1491
+ pass
1492
+
1493
+ empty_provider = EmptyProvider()
1494
+
1495
+
1496
+ def build_zipmanifest(path):
1497
+ """
1498
+ This builds a similar dictionary to the zipimport directory
1499
+ caches. However instead of tuples, ZipInfo objects are stored.
1500
+
1501
+ The translation of the tuple is as follows:
1502
+ * [0] - zipinfo.filename on stock pythons this needs "/" --> os.sep
1503
+ on pypy it is the same (one reason why distribute did work
1504
+ in some cases on pypy and win32).
1505
+ * [1] - zipinfo.compress_type
1506
+ * [2] - zipinfo.compress_size
1507
+ * [3] - zipinfo.file_size
1508
+ * [4] - len(utf-8 encoding of filename) if zipinfo & 0x800
1509
+ len(ascii encoding of filename) otherwise
1510
+ * [5] - (zipinfo.date_time[0] - 1980) << 9 |
1511
+ zipinfo.date_time[1] << 5 | zipinfo.date_time[2]
1512
+ * [6] - (zipinfo.date_time[3] - 1980) << 11 |
1513
+ zipinfo.date_time[4] << 5 | (zipinfo.date_time[5] // 2)
1514
+ * [7] - zipinfo.CRC
1515
+ """
1516
+ zipinfo = dict()
1517
+ zfile = zipfile.ZipFile(path)
1518
+ #Got ZipFile has not __exit__ on python 3.1
1519
+ try:
1520
+ for zitem in zfile.namelist():
1521
+ zpath = zitem.replace('/', os.sep)
1522
+ zipinfo[zpath] = zfile.getinfo(zitem)
1523
+ assert zipinfo[zpath] is not None
1524
+ finally:
1525
+ zfile.close()
1526
+ return zipinfo
1527
+
1528
+
1529
+ class ZipProvider(EggProvider):
1530
+ """Resource support for zips and eggs"""
1531
+
1532
+ eagers = None
1533
+
1534
+ def __init__(self, module):
1535
+ EggProvider.__init__(self,module)
1536
+ self.zipinfo = build_zipmanifest(self.loader.archive)
1537
+ self.zip_pre = self.loader.archive+os.sep
1538
+
1539
+ def _zipinfo_name(self, fspath):
1540
+ # Convert a virtual filename (full path to file) into a zipfile subpath
1541
+ # usable with the zipimport directory cache for our target archive
1542
+ if fspath.startswith(self.zip_pre):
1543
+ return fspath[len(self.zip_pre):]
1544
+ raise AssertionError(
1545
+ "%s is not a subpath of %s" % (fspath,self.zip_pre)
1546
+ )
1547
+
1548
+ def _parts(self,zip_path):
1549
+ # Convert a zipfile subpath into an egg-relative path part list
1550
+ fspath = self.zip_pre+zip_path # pseudo-fs path
1551
+ if fspath.startswith(self.egg_root+os.sep):
1552
+ return fspath[len(self.egg_root)+1:].split(os.sep)
1553
+ raise AssertionError(
1554
+ "%s is not a subpath of %s" % (fspath,self.egg_root)
1555
+ )
1556
+
1557
+ def get_resource_filename(self, manager, resource_name):
1558
+ if not self.egg_name:
1559
+ raise NotImplementedError(
1560
+ "resource_filename() only supported for .egg, not .zip"
1561
+ )
1562
+ # no need to lock for extraction, since we use temp names
1563
+ zip_path = self._resource_to_zip(resource_name)
1564
+ eagers = self._get_eager_resources()
1565
+ if '/'.join(self._parts(zip_path)) in eagers:
1566
+ for name in eagers:
1567
+ self._extract_resource(manager, self._eager_to_zip(name))
1568
+ return self._extract_resource(manager, zip_path)
1569
+
1570
+ @staticmethod
1571
+ def _get_date_and_size(zip_stat):
1572
+ size = zip_stat.file_size
1573
+ date_time = zip_stat.date_time + (0, 0, -1) # ymdhms+wday, yday, dst
1574
+ #1980 offset already done
1575
+ timestamp = time.mktime(date_time)
1576
+ return timestamp, size
1577
+
1578
+ def _extract_resource(self, manager, zip_path):
1579
+
1580
+ if zip_path in self._index():
1581
+ for name in self._index()[zip_path]:
1582
+ last = self._extract_resource(
1583
+ manager, os.path.join(zip_path, name)
1584
+ )
1585
+ return os.path.dirname(last) # return the extracted directory name
1586
+
1587
+ timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])
1588
+
1589
+ if not WRITE_SUPPORT:
1590
+ raise IOError('"os.rename" and "os.unlink" are not supported '
1591
+ 'on this platform')
1592
+ try:
1593
+
1594
+ real_path = manager.get_cache_path(
1595
+ self.egg_name, self._parts(zip_path)
1596
+ )
1597
+
1598
+ if self._is_current(real_path, zip_path):
1599
+ return real_path
1600
+
1601
+ outf, tmpnam = _mkstemp(".$extract", dir=os.path.dirname(real_path))
1602
+ os.write(outf, self.loader.get_data(zip_path))
1603
+ os.close(outf)
1604
+ utime(tmpnam, (timestamp,timestamp))
1605
+ manager.postprocess(tmpnam, real_path)
1606
+
1607
+ try:
1608
+ rename(tmpnam, real_path)
1609
+
1610
+ except os.error:
1611
+ if os.path.isfile(real_path):
1612
+ if self._is_current(real_path, zip_path):
1613
+ # the file became current since it was checked above,
1614
+ # so proceed.
1615
+ return real_path
1616
+ elif os.name=='nt': # Windows, del old file and retry
1617
+ unlink(real_path)
1618
+ rename(tmpnam, real_path)
1619
+ return real_path
1620
+ raise
1621
+
1622
+ except os.error:
1623
+ manager.extraction_error() # report a user-friendly error
1624
+
1625
+ return real_path
1626
+
1627
+ def _is_current(self, file_path, zip_path):
1628
+ """
1629
+ Return True if the file_path is current for this zip_path
1630
+ """
1631
+ timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])
1632
+ if not os.path.isfile(file_path):
1633
+ return False
1634
+ stat = os.stat(file_path)
1635
+ if stat.st_size!=size or stat.st_mtime!=timestamp:
1636
+ return False
1637
+ # check that the contents match
1638
+ zip_contents = self.loader.get_data(zip_path)
1639
+ f = open(file_path, 'rb')
1640
+ file_contents = f.read()
1641
+ f.close()
1642
+ return zip_contents == file_contents
1643
+
1644
+ def _get_eager_resources(self):
1645
+ if self.eagers is None:
1646
+ eagers = []
1647
+ for name in ('native_libs.txt', 'eager_resources.txt'):
1648
+ if self.has_metadata(name):
1649
+ eagers.extend(self.get_metadata_lines(name))
1650
+ self.eagers = eagers
1651
+ return self.eagers
1652
+
1653
+ def _index(self):
1654
+ try:
1655
+ return self._dirindex
1656
+ except AttributeError:
1657
+ ind = {}
1658
+ for path in self.zipinfo:
1659
+ parts = path.split(os.sep)
1660
+ while parts:
1661
+ parent = os.sep.join(parts[:-1])
1662
+ if parent in ind:
1663
+ ind[parent].append(parts[-1])
1664
+ break
1665
+ else:
1666
+ ind[parent] = [parts.pop()]
1667
+ self._dirindex = ind
1668
+ return ind
1669
+
1670
+ def _has(self, fspath):
1671
+ zip_path = self._zipinfo_name(fspath)
1672
+ return zip_path in self.zipinfo or zip_path in self._index()
1673
+
1674
+ def _isdir(self,fspath):
1675
+ return self._zipinfo_name(fspath) in self._index()
1676
+
1677
+ def _listdir(self,fspath):
1678
+ return list(self._index().get(self._zipinfo_name(fspath), ()))
1679
+
1680
+ def _eager_to_zip(self,resource_name):
1681
+ return self._zipinfo_name(self._fn(self.egg_root,resource_name))
1682
+
1683
+ def _resource_to_zip(self,resource_name):
1684
+ return self._zipinfo_name(self._fn(self.module_path,resource_name))
1685
+
1686
+ register_loader_type(zipimport.zipimporter, ZipProvider)
1687
+
1688
+
1689
+ class FileMetadata(EmptyProvider):
1690
+ """Metadata handler for standalone PKG-INFO files
1691
+
1692
+ Usage::
1693
+
1694
+ metadata = FileMetadata("/path/to/PKG-INFO")
1695
+
1696
+ This provider rejects all data and metadata requests except for PKG-INFO,
1697
+ which is treated as existing, and will be the contents of the file at
1698
+ the provided location.
1699
+ """
1700
+
1701
+ def __init__(self,path):
1702
+ self.path = path
1703
+
1704
+ def has_metadata(self,name):
1705
+ return name=='PKG-INFO'
1706
+
1707
+ def get_metadata(self,name):
1708
+ if name=='PKG-INFO':
1709
+ f = open(self.path,'rU')
1710
+ metadata = f.read()
1711
+ f.close()
1712
+ return metadata
1713
+ raise KeyError("No metadata except PKG-INFO is available")
1714
+
1715
+ def get_metadata_lines(self,name):
1716
+ return yield_lines(self.get_metadata(name))
1717
+
1718
+
1719
+ class PathMetadata(DefaultProvider):
1720
+ """Metadata provider for egg directories
1721
+
1722
+ Usage::
1723
+
1724
+ # Development eggs:
1725
+
1726
+ egg_info = "/path/to/PackageName.egg-info"
1727
+ base_dir = os.path.dirname(egg_info)
1728
+ metadata = PathMetadata(base_dir, egg_info)
1729
+ dist_name = os.path.splitext(os.path.basename(egg_info))[0]
1730
+ dist = Distribution(basedir,project_name=dist_name,metadata=metadata)
1731
+
1732
+ # Unpacked egg directories:
1733
+
1734
+ egg_path = "/path/to/PackageName-ver-pyver-etc.egg"
1735
+ metadata = PathMetadata(egg_path, os.path.join(egg_path,'EGG-INFO'))
1736
+ dist = Distribution.from_filename(egg_path, metadata=metadata)
1737
+ """
1738
+
1739
+ def __init__(self, path, egg_info):
1740
+ self.module_path = path
1741
+ self.egg_info = egg_info
1742
+
1743
+
1744
+ class EggMetadata(ZipProvider):
1745
+ """Metadata provider for .egg files"""
1746
+
1747
+ def __init__(self, importer):
1748
+ """Create a metadata provider from a zipimporter"""
1749
+
1750
+ self.zipinfo = build_zipmanifest(importer.archive)
1751
+ self.zip_pre = importer.archive+os.sep
1752
+ self.loader = importer
1753
+ if importer.prefix:
1754
+ self.module_path = os.path.join(importer.archive, importer.prefix)
1755
+ else:
1756
+ self.module_path = importer.archive
1757
+ self._setup_prefix()
1758
+
1759
+ _declare_state('dict', _distribution_finders = {})
1760
+
1761
+ def register_finder(importer_type, distribution_finder):
1762
+ """Register `distribution_finder` to find distributions in sys.path items
1763
+
1764
+ `importer_type` is the type or class of a PEP 302 "Importer" (sys.path item
1765
+ handler), and `distribution_finder` is a callable that, passed a path
1766
+ item and the importer instance, yields ``Distribution`` instances found on
1767
+ that path item. See ``pkg_resources.find_on_path`` for an example."""
1768
+ _distribution_finders[importer_type] = distribution_finder
1769
+
1770
+
1771
+ def find_distributions(path_item, only=False):
1772
+ """Yield distributions accessible via `path_item`"""
1773
+ importer = get_importer(path_item)
1774
+ finder = _find_adapter(_distribution_finders, importer)
1775
+ return finder(importer, path_item, only)
1776
+
1777
+ def find_eggs_in_zip(importer, path_item, only=False):
1778
+ """
1779
+ Find eggs in zip files; possibly multiple nested eggs.
1780
+ """
1781
+ if importer.archive.endswith('.whl'):
1782
+ # wheels are not supported with this finder
1783
+ # they don't have PKG-INFO metadata, and won't ever contain eggs
1784
+ return
1785
+ metadata = EggMetadata(importer)
1786
+ if metadata.has_metadata('PKG-INFO'):
1787
+ yield Distribution.from_filename(path_item, metadata=metadata)
1788
+ if only:
1789
+ return # don't yield nested distros
1790
+ for subitem in metadata.resource_listdir('/'):
1791
+ if subitem.endswith('.egg'):
1792
+ subpath = os.path.join(path_item, subitem)
1793
+ for dist in find_eggs_in_zip(zipimport.zipimporter(subpath), subpath):
1794
+ yield dist
1795
+
1796
+ register_finder(zipimport.zipimporter, find_eggs_in_zip)
1797
+
1798
+ def find_nothing(importer, path_item, only=False):
1799
+ return ()
1800
+ register_finder(object,find_nothing)
1801
+
1802
+ def find_on_path(importer, path_item, only=False):
1803
+ """Yield distributions accessible on a sys.path directory"""
1804
+ path_item = _normalize_cached(path_item)
1805
+
1806
+ if os.path.isdir(path_item) and os.access(path_item, os.R_OK):
1807
+ if path_item.lower().endswith('.egg'):
1808
+ # unpacked egg
1809
+ yield Distribution.from_filename(
1810
+ path_item, metadata=PathMetadata(
1811
+ path_item, os.path.join(path_item,'EGG-INFO')
1812
+ )
1813
+ )
1814
+ else:
1815
+ # scan for .egg and .egg-info in directory
1816
+ for entry in os.listdir(path_item):
1817
+ lower = entry.lower()
1818
+ if lower.endswith('.egg-info') or lower.endswith('.dist-info'):
1819
+ fullpath = os.path.join(path_item, entry)
1820
+ if os.path.isdir(fullpath):
1821
+ # egg-info directory, allow getting metadata
1822
+ metadata = PathMetadata(path_item, fullpath)
1823
+ else:
1824
+ metadata = FileMetadata(fullpath)
1825
+ yield Distribution.from_location(
1826
+ path_item,entry,metadata,precedence=DEVELOP_DIST
1827
+ )
1828
+ elif not only and lower.endswith('.egg'):
1829
+ for dist in find_distributions(os.path.join(path_item, entry)):
1830
+ yield dist
1831
+ elif not only and lower.endswith('.egg-link'):
1832
+ entry_file = open(os.path.join(path_item, entry))
1833
+ try:
1834
+ entry_lines = entry_file.readlines()
1835
+ finally:
1836
+ entry_file.close()
1837
+ for line in entry_lines:
1838
+ if not line.strip(): continue
1839
+ for item in find_distributions(os.path.join(path_item,line.rstrip())):
1840
+ yield item
1841
+ break
1842
+ register_finder(pkgutil.ImpImporter,find_on_path)
1843
+
1844
+ if importlib_bootstrap is not None:
1845
+ register_finder(importlib_bootstrap.FileFinder, find_on_path)
1846
+
1847
+ _declare_state('dict', _namespace_handlers={})
1848
+ _declare_state('dict', _namespace_packages={})
1849
+
1850
+
1851
+ def register_namespace_handler(importer_type, namespace_handler):
1852
+ """Register `namespace_handler` to declare namespace packages
1853
+
1854
+ `importer_type` is the type or class of a PEP 302 "Importer" (sys.path item
1855
+ handler), and `namespace_handler` is a callable like this::
1856
+
1857
+ def namespace_handler(importer,path_entry,moduleName,module):
1858
+ # return a path_entry to use for child packages
1859
+
1860
+ Namespace handlers are only called if the importer object has already
1861
+ agreed that it can handle the relevant path item, and they should only
1862
+ return a subpath if the module __path__ does not already contain an
1863
+ equivalent subpath. For an example namespace handler, see
1864
+ ``pkg_resources.file_ns_handler``.
1865
+ """
1866
+ _namespace_handlers[importer_type] = namespace_handler
1867
+
1868
+ def _handle_ns(packageName, path_item):
1869
+ """Ensure that named package includes a subpath of path_item (if needed)"""
1870
+
1871
+ importer = get_importer(path_item)
1872
+ if importer is None:
1873
+ return None
1874
+ loader = importer.find_module(packageName)
1875
+ if loader is None:
1876
+ return None
1877
+ module = sys.modules.get(packageName)
1878
+ if module is None:
1879
+ module = sys.modules[packageName] = imp.new_module(packageName)
1880
+ module.__path__ = []
1881
+ _set_parent_ns(packageName)
1882
+ elif not hasattr(module,'__path__'):
1883
+ raise TypeError("Not a package:", packageName)
1884
+ handler = _find_adapter(_namespace_handlers, importer)
1885
+ subpath = handler(importer, path_item, packageName, module)
1886
+ if subpath is not None:
1887
+ path = module.__path__
1888
+ path.append(subpath)
1889
+ loader.load_module(packageName)
1890
+ for path_item in path:
1891
+ if path_item not in module.__path__:
1892
+ module.__path__.append(path_item)
1893
+ return subpath
1894
+
1895
+ def declare_namespace(packageName):
1896
+ """Declare that package 'packageName' is a namespace package"""
1897
+
1898
+ imp.acquire_lock()
1899
+ try:
1900
+ if packageName in _namespace_packages:
1901
+ return
1902
+
1903
+ path, parent = sys.path, None
1904
+ if '.' in packageName:
1905
+ parent = '.'.join(packageName.split('.')[:-1])
1906
+ declare_namespace(parent)
1907
+ if parent not in _namespace_packages:
1908
+ __import__(parent)
1909
+ try:
1910
+ path = sys.modules[parent].__path__
1911
+ except AttributeError:
1912
+ raise TypeError("Not a package:", parent)
1913
+
1914
+ # Track what packages are namespaces, so when new path items are added,
1915
+ # they can be updated
1916
+ _namespace_packages.setdefault(parent,[]).append(packageName)
1917
+ _namespace_packages.setdefault(packageName,[])
1918
+
1919
+ for path_item in path:
1920
+ # Ensure all the parent's path items are reflected in the child,
1921
+ # if they apply
1922
+ _handle_ns(packageName, path_item)
1923
+
1924
+ finally:
1925
+ imp.release_lock()
1926
+
1927
+ def fixup_namespace_packages(path_item, parent=None):
1928
+ """Ensure that previously-declared namespace packages include path_item"""
1929
+ imp.acquire_lock()
1930
+ try:
1931
+ for package in _namespace_packages.get(parent,()):
1932
+ subpath = _handle_ns(package, path_item)
1933
+ if subpath: fixup_namespace_packages(subpath,package)
1934
+ finally:
1935
+ imp.release_lock()
1936
+
1937
+ def file_ns_handler(importer, path_item, packageName, module):
1938
+ """Compute an ns-package subpath for a filesystem or zipfile importer"""
1939
+
1940
+ subpath = os.path.join(path_item, packageName.split('.')[-1])
1941
+ normalized = _normalize_cached(subpath)
1942
+ for item in module.__path__:
1943
+ if _normalize_cached(item)==normalized:
1944
+ break
1945
+ else:
1946
+ # Only return the path if it's not already there
1947
+ return subpath
1948
+
1949
+ register_namespace_handler(pkgutil.ImpImporter,file_ns_handler)
1950
+ register_namespace_handler(zipimport.zipimporter,file_ns_handler)
1951
+
1952
+ if importlib_bootstrap is not None:
1953
+ register_namespace_handler(importlib_bootstrap.FileFinder, file_ns_handler)
1954
+
1955
+
1956
+ def null_ns_handler(importer, path_item, packageName, module):
1957
+ return None
1958
+
1959
+ register_namespace_handler(object,null_ns_handler)
1960
+
1961
+
1962
+ def normalize_path(filename):
1963
+ """Normalize a file/dir name for comparison purposes"""
1964
+ return os.path.normcase(os.path.realpath(filename))
1965
+
1966
+ def _normalize_cached(filename,_cache={}):
1967
+ try:
1968
+ return _cache[filename]
1969
+ except KeyError:
1970
+ _cache[filename] = result = normalize_path(filename)
1971
+ return result
1972
+
1973
+ def _set_parent_ns(packageName):
1974
+ parts = packageName.split('.')
1975
+ name = parts.pop()
1976
+ if parts:
1977
+ parent = '.'.join(parts)
1978
+ setattr(sys.modules[parent], name, sys.modules[packageName])
1979
+
1980
+
1981
+ def yield_lines(strs):
1982
+ """Yield non-empty/non-comment lines of a ``basestring`` or sequence"""
1983
+ if isinstance(strs,basestring):
1984
+ for s in strs.splitlines():
1985
+ s = s.strip()
1986
+ if s and not s.startswith('#'): # skip blank lines/comments
1987
+ yield s
1988
+ else:
1989
+ for ss in strs:
1990
+ for s in yield_lines(ss):
1991
+ yield s
1992
+
1993
+ LINE_END = re.compile(r"\s*(#.*)?$").match # whitespace and comment
1994
+ CONTINUE = re.compile(r"\s*\\\s*(#.*)?$").match # line continuation
1995
+ DISTRO = re.compile(r"\s*((\w|[-.])+)").match # Distribution or extra
1996
+ VERSION = re.compile(r"\s*(<=?|>=?|==|!=)\s*((\w|[-.])+)").match # ver. info
1997
+ COMMA = re.compile(r"\s*,").match # comma between items
1998
+ OBRACKET = re.compile(r"\s*\[").match
1999
+ CBRACKET = re.compile(r"\s*\]").match
2000
+ MODULE = re.compile(r"\w+(\.\w+)*$").match
2001
+ EGG_NAME = re.compile(
2002
+ r"(?P<name>[^-]+)"
2003
+ r"( -(?P<ver>[^-]+) (-py(?P<pyver>[^-]+) (-(?P<plat>.+))? )? )?",
2004
+ re.VERBOSE | re.IGNORECASE
2005
+ ).match
2006
+
2007
+ component_re = re.compile(r'(\d+ | [a-z]+ | \.| -)', re.VERBOSE)
2008
+ replace = {'pre':'c', 'preview':'c','-':'final-','rc':'c','dev':'@'}.get
2009
+
2010
+ def _parse_version_parts(s):
2011
+ for part in component_re.split(s):
2012
+ part = replace(part,part)
2013
+ if not part or part=='.':
2014
+ continue
2015
+ if part[:1] in '0123456789':
2016
+ yield part.zfill(8) # pad for numeric comparison
2017
+ else:
2018
+ yield '*'+part
2019
+
2020
+ yield '*final' # ensure that alpha/beta/candidate are before final
2021
+
2022
+ def parse_version(s):
2023
+ """Convert a version string to a chronologically-sortable key
2024
+
2025
+ This is a rough cross between distutils' StrictVersion and LooseVersion;
2026
+ if you give it versions that would work with StrictVersion, then it behaves
2027
+ the same; otherwise it acts like a slightly-smarter LooseVersion. It is
2028
+ *possible* to create pathological version coding schemes that will fool
2029
+ this parser, but they should be very rare in practice.
2030
+
2031
+ The returned value will be a tuple of strings. Numeric portions of the
2032
+ version are padded to 8 digits so they will compare numerically, but
2033
+ without relying on how numbers compare relative to strings. Dots are
2034
+ dropped, but dashes are retained. Trailing zeros between alpha segments
2035
+ or dashes are suppressed, so that e.g. "2.4.0" is considered the same as
2036
+ "2.4". Alphanumeric parts are lower-cased.
2037
+
2038
+ The algorithm assumes that strings like "-" and any alpha string that
2039
+ alphabetically follows "final" represents a "patch level". So, "2.4-1"
2040
+ is assumed to be a branch or patch of "2.4", and therefore "2.4.1" is
2041
+ considered newer than "2.4-1", which in turn is newer than "2.4".
2042
+
2043
+ Strings like "a", "b", "c", "alpha", "beta", "candidate" and so on (that
2044
+ come before "final" alphabetically) are assumed to be pre-release versions,
2045
+ so that the version "2.4" is considered newer than "2.4a1".
2046
+
2047
+ Finally, to handle miscellaneous cases, the strings "pre", "preview", and
2048
+ "rc" are treated as if they were "c", i.e. as though they were release
2049
+ candidates, and therefore are not as new as a version string that does not
2050
+ contain them, and "dev" is replaced with an '@' so that it sorts lower than
2051
+ than any other pre-release tag.
2052
+ """
2053
+ parts = []
2054
+ for part in _parse_version_parts(s.lower()):
2055
+ if part.startswith('*'):
2056
+ if part<'*final': # remove '-' before a prerelease tag
2057
+ while parts and parts[-1]=='*final-': parts.pop()
2058
+ # remove trailing zeros from each series of numeric parts
2059
+ while parts and parts[-1]=='00000000':
2060
+ parts.pop()
2061
+ parts.append(part)
2062
+ return tuple(parts)
2063
+ class EntryPoint(object):
2064
+ """Object representing an advertised importable object"""
2065
+
2066
+ def __init__(self, name, module_name, attrs=(), extras=(), dist=None):
2067
+ if not MODULE(module_name):
2068
+ raise ValueError("Invalid module name", module_name)
2069
+ self.name = name
2070
+ self.module_name = module_name
2071
+ self.attrs = tuple(attrs)
2072
+ self.extras = Requirement.parse(("x[%s]" % ','.join(extras))).extras
2073
+ self.dist = dist
2074
+
2075
+ def __str__(self):
2076
+ s = "%s = %s" % (self.name, self.module_name)
2077
+ if self.attrs:
2078
+ s += ':' + '.'.join(self.attrs)
2079
+ if self.extras:
2080
+ s += ' [%s]' % ','.join(self.extras)
2081
+ return s
2082
+
2083
+ def __repr__(self):
2084
+ return "EntryPoint.parse(%r)" % str(self)
2085
+
2086
+ def load(self, require=True, env=None, installer=None):
2087
+ if require: self.require(env, installer)
2088
+ entry = __import__(self.module_name, globals(),globals(), ['__name__'])
2089
+ for attr in self.attrs:
2090
+ try:
2091
+ entry = getattr(entry,attr)
2092
+ except AttributeError:
2093
+ raise ImportError("%r has no %r attribute" % (entry,attr))
2094
+ return entry
2095
+
2096
+ def require(self, env=None, installer=None):
2097
+ if self.extras and not self.dist:
2098
+ raise UnknownExtra("Can't require() without a distribution", self)
2099
+ list(map(working_set.add,
2100
+ working_set.resolve(self.dist.requires(self.extras),env,installer)))
2101
+
2102
+ @classmethod
2103
+ def parse(cls, src, dist=None):
2104
+ """Parse a single entry point from string `src`
2105
+
2106
+ Entry point syntax follows the form::
2107
+
2108
+ name = some.module:some.attr [extra1,extra2]
2109
+
2110
+ The entry name and module name are required, but the ``:attrs`` and
2111
+ ``[extras]`` parts are optional
2112
+ """
2113
+ try:
2114
+ attrs = extras = ()
2115
+ name,value = src.split('=',1)
2116
+ if '[' in value:
2117
+ value,extras = value.split('[',1)
2118
+ req = Requirement.parse("x["+extras)
2119
+ if req.specs: raise ValueError
2120
+ extras = req.extras
2121
+ if ':' in value:
2122
+ value,attrs = value.split(':',1)
2123
+ if not MODULE(attrs.rstrip()):
2124
+ raise ValueError
2125
+ attrs = attrs.rstrip().split('.')
2126
+ except ValueError:
2127
+ raise ValueError(
2128
+ "EntryPoint must be in 'name=module:attrs [extras]' format",
2129
+ src
2130
+ )
2131
+ else:
2132
+ return cls(name.strip(), value.strip(), attrs, extras, dist)
2133
+
2134
+ @classmethod
2135
+ def parse_group(cls, group, lines, dist=None):
2136
+ """Parse an entry point group"""
2137
+ if not MODULE(group):
2138
+ raise ValueError("Invalid group name", group)
2139
+ this = {}
2140
+ for line in yield_lines(lines):
2141
+ ep = cls.parse(line, dist)
2142
+ if ep.name in this:
2143
+ raise ValueError("Duplicate entry point", group, ep.name)
2144
+ this[ep.name]=ep
2145
+ return this
2146
+
2147
+ @classmethod
2148
+ def parse_map(cls, data, dist=None):
2149
+ """Parse a map of entry point groups"""
2150
+ if isinstance(data,dict):
2151
+ data = data.items()
2152
+ else:
2153
+ data = split_sections(data)
2154
+ maps = {}
2155
+ for group, lines in data:
2156
+ if group is None:
2157
+ if not lines:
2158
+ continue
2159
+ raise ValueError("Entry points must be listed in groups")
2160
+ group = group.strip()
2161
+ if group in maps:
2162
+ raise ValueError("Duplicate group name", group)
2163
+ maps[group] = cls.parse_group(group, lines, dist)
2164
+ return maps
2165
+
2166
+
2167
+ def _remove_md5_fragment(location):
2168
+ if not location:
2169
+ return ''
2170
+ parsed = urlparse(location)
2171
+ if parsed[-1].startswith('md5='):
2172
+ return urlunparse(parsed[:-1] + ('',))
2173
+ return location
2174
+
2175
+
2176
+ class Distribution(object):
2177
+ """Wrap an actual or potential sys.path entry w/metadata"""
2178
+ PKG_INFO = 'PKG-INFO'
2179
+
2180
+ def __init__(self, location=None, metadata=None, project_name=None,
2181
+ version=None, py_version=PY_MAJOR, platform=None,
2182
+ precedence=EGG_DIST):
2183
+ self.project_name = safe_name(project_name or 'Unknown')
2184
+ if version is not None:
2185
+ self._version = safe_version(version)
2186
+ self.py_version = py_version
2187
+ self.platform = platform
2188
+ self.location = location
2189
+ self.precedence = precedence
2190
+ self._provider = metadata or empty_provider
2191
+
2192
+ @classmethod
2193
+ def from_location(cls,location,basename,metadata=None,**kw):
2194
+ project_name, version, py_version, platform = [None]*4
2195
+ basename, ext = os.path.splitext(basename)
2196
+ if ext.lower() in _distributionImpl:
2197
+ # .dist-info gets much metadata differently
2198
+ match = EGG_NAME(basename)
2199
+ if match:
2200
+ project_name, version, py_version, platform = match.group(
2201
+ 'name','ver','pyver','plat'
2202
+ )
2203
+ cls = _distributionImpl[ext.lower()]
2204
+ return cls(
2205
+ location, metadata, project_name=project_name, version=version,
2206
+ py_version=py_version, platform=platform, **kw
2207
+ )
2208
+
2209
+ hashcmp = property(
2210
+ lambda self: (
2211
+ getattr(self,'parsed_version',()),
2212
+ self.precedence,
2213
+ self.key,
2214
+ _remove_md5_fragment(self.location),
2215
+ self.py_version,
2216
+ self.platform
2217
+ )
2218
+ )
2219
+ def __hash__(self): return hash(self.hashcmp)
2220
+ def __lt__(self, other):
2221
+ return self.hashcmp < other.hashcmp
2222
+ def __le__(self, other):
2223
+ return self.hashcmp <= other.hashcmp
2224
+ def __gt__(self, other):
2225
+ return self.hashcmp > other.hashcmp
2226
+ def __ge__(self, other):
2227
+ return self.hashcmp >= other.hashcmp
2228
+ def __eq__(self, other):
2229
+ if not isinstance(other, self.__class__):
2230
+ # It's not a Distribution, so they are not equal
2231
+ return False
2232
+ return self.hashcmp == other.hashcmp
2233
+ def __ne__(self, other):
2234
+ return not self == other
2235
+
2236
+ # These properties have to be lazy so that we don't have to load any
2237
+ # metadata until/unless it's actually needed. (i.e., some distributions
2238
+ # may not know their name or version without loading PKG-INFO)
2239
+
2240
+ @property
2241
+ def key(self):
2242
+ try:
2243
+ return self._key
2244
+ except AttributeError:
2245
+ self._key = key = self.project_name.lower()
2246
+ return key
2247
+
2248
+ @property
2249
+ def parsed_version(self):
2250
+ try:
2251
+ return self._parsed_version
2252
+ except AttributeError:
2253
+ self._parsed_version = pv = parse_version(self.version)
2254
+ return pv
2255
+
2256
+ @property
2257
+ def version(self):
2258
+ try:
2259
+ return self._version
2260
+ except AttributeError:
2261
+ for line in self._get_metadata(self.PKG_INFO):
2262
+ if line.lower().startswith('version:'):
2263
+ self._version = safe_version(line.split(':',1)[1].strip())
2264
+ return self._version
2265
+ else:
2266
+ raise ValueError(
2267
+ "Missing 'Version:' header and/or %s file" % self.PKG_INFO, self
2268
+ )
2269
+
2270
+ @property
2271
+ def _dep_map(self):
2272
+ try:
2273
+ return self.__dep_map
2274
+ except AttributeError:
2275
+ dm = self.__dep_map = {None: []}
2276
+ for name in 'requires.txt', 'depends.txt':
2277
+ for extra,reqs in split_sections(self._get_metadata(name)):
2278
+ if extra:
2279
+ if ':' in extra:
2280
+ extra, marker = extra.split(':',1)
2281
+ if invalid_marker(marker):
2282
+ reqs=[] # XXX warn
2283
+ elif not evaluate_marker(marker):
2284
+ reqs=[]
2285
+ extra = safe_extra(extra) or None
2286
+ dm.setdefault(extra,[]).extend(parse_requirements(reqs))
2287
+ return dm
2288
+
2289
+ def requires(self,extras=()):
2290
+ """List of Requirements needed for this distro if `extras` are used"""
2291
+ dm = self._dep_map
2292
+ deps = []
2293
+ deps.extend(dm.get(None,()))
2294
+ for ext in extras:
2295
+ try:
2296
+ deps.extend(dm[safe_extra(ext)])
2297
+ except KeyError:
2298
+ raise UnknownExtra(
2299
+ "%s has no such extra feature %r" % (self, ext)
2300
+ )
2301
+ return deps
2302
+
2303
+ def _get_metadata(self,name):
2304
+ if self.has_metadata(name):
2305
+ for line in self.get_metadata_lines(name):
2306
+ yield line
2307
+
2308
+ def activate(self,path=None):
2309
+ """Ensure distribution is importable on `path` (default=sys.path)"""
2310
+ if path is None: path = sys.path
2311
+ self.insert_on(path)
2312
+ if path is sys.path:
2313
+ fixup_namespace_packages(self.location)
2314
+ for pkg in self._get_metadata('namespace_packages.txt'):
2315
+ if pkg in sys.modules:
2316
+ declare_namespace(pkg)
2317
+
2318
+ def egg_name(self):
2319
+ """Return what this distribution's standard .egg filename should be"""
2320
+ filename = "%s-%s-py%s" % (
2321
+ to_filename(self.project_name), to_filename(self.version),
2322
+ self.py_version or PY_MAJOR
2323
+ )
2324
+
2325
+ if self.platform:
2326
+ filename += '-'+self.platform
2327
+ return filename
2328
+
2329
+ def __repr__(self):
2330
+ if self.location:
2331
+ return "%s (%s)" % (self,self.location)
2332
+ else:
2333
+ return str(self)
2334
+
2335
+ def __str__(self):
2336
+ try: version = getattr(self,'version',None)
2337
+ except ValueError: version = None
2338
+ version = version or "[unknown version]"
2339
+ return "%s %s" % (self.project_name,version)
2340
+
2341
+ def __getattr__(self,attr):
2342
+ """Delegate all unrecognized public attributes to .metadata provider"""
2343
+ if attr.startswith('_'):
2344
+ raise AttributeError(attr)
2345
+ return getattr(self._provider, attr)
2346
+
2347
+ @classmethod
2348
+ def from_filename(cls,filename,metadata=None, **kw):
2349
+ return cls.from_location(
2350
+ _normalize_cached(filename), os.path.basename(filename), metadata,
2351
+ **kw
2352
+ )
2353
+
2354
+ def as_requirement(self):
2355
+ """Return a ``Requirement`` that matches this distribution exactly"""
2356
+ return Requirement.parse('%s==%s' % (self.project_name, self.version))
2357
+
2358
+ def load_entry_point(self, group, name):
2359
+ """Return the `name` entry point of `group` or raise ImportError"""
2360
+ ep = self.get_entry_info(group,name)
2361
+ if ep is None:
2362
+ raise ImportError("Entry point %r not found" % ((group,name),))
2363
+ return ep.load()
2364
+
2365
+ def get_entry_map(self, group=None):
2366
+ """Return the entry point map for `group`, or the full entry map"""
2367
+ try:
2368
+ ep_map = self._ep_map
2369
+ except AttributeError:
2370
+ ep_map = self._ep_map = EntryPoint.parse_map(
2371
+ self._get_metadata('entry_points.txt'), self
2372
+ )
2373
+ if group is not None:
2374
+ return ep_map.get(group,{})
2375
+ return ep_map
2376
+
2377
+ def get_entry_info(self, group, name):
2378
+ """Return the EntryPoint object for `group`+`name`, or ``None``"""
2379
+ return self.get_entry_map(group).get(name)
2380
+
2381
+ def insert_on(self, path, loc = None):
2382
+ """Insert self.location in path before its nearest parent directory"""
2383
+
2384
+ loc = loc or self.location
2385
+ if not loc:
2386
+ return
2387
+
2388
+ nloc = _normalize_cached(loc)
2389
+ bdir = os.path.dirname(nloc)
2390
+ npath= [(p and _normalize_cached(p) or p) for p in path]
2391
+
2392
+ for p, item in enumerate(npath):
2393
+ if item==nloc:
2394
+ break
2395
+ elif item==bdir and self.precedence==EGG_DIST:
2396
+ # if it's an .egg, give it precedence over its directory
2397
+ if path is sys.path:
2398
+ self.check_version_conflict()
2399
+ path.insert(p, loc)
2400
+ npath.insert(p, nloc)
2401
+ break
2402
+ else:
2403
+ if path is sys.path:
2404
+ self.check_version_conflict()
2405
+ path.append(loc)
2406
+ return
2407
+
2408
+ # p is the spot where we found or inserted loc; now remove duplicates
2409
+ while 1:
2410
+ try:
2411
+ np = npath.index(nloc, p+1)
2412
+ except ValueError:
2413
+ break
2414
+ else:
2415
+ del npath[np], path[np]
2416
+ p = np # ha!
2417
+
2418
+ return
2419
+
2420
+ def check_version_conflict(self):
2421
+ if self.key=='setuptools':
2422
+ return # ignore the inevitable setuptools self-conflicts :(
2423
+
2424
+ nsp = dict.fromkeys(self._get_metadata('namespace_packages.txt'))
2425
+ loc = normalize_path(self.location)
2426
+ for modname in self._get_metadata('top_level.txt'):
2427
+ if (modname not in sys.modules or modname in nsp
2428
+ or modname in _namespace_packages):
2429
+ continue
2430
+ if modname in ('pkg_resources', 'setuptools', 'site'):
2431
+ continue
2432
+ fn = getattr(sys.modules[modname], '__file__', None)
2433
+ if fn and (normalize_path(fn).startswith(loc) or
2434
+ fn.startswith(self.location)):
2435
+ continue
2436
+ issue_warning(
2437
+ "Module %s was already imported from %s, but %s is being added"
2438
+ " to sys.path" % (modname, fn, self.location),
2439
+ )
2440
+
2441
+ def has_version(self):
2442
+ try:
2443
+ self.version
2444
+ except ValueError:
2445
+ issue_warning("Unbuilt egg for "+repr(self))
2446
+ return False
2447
+ return True
2448
+
2449
+ def clone(self,**kw):
2450
+ """Copy this distribution, substituting in any changed keyword args"""
2451
+ for attr in (
2452
+ 'project_name', 'version', 'py_version', 'platform', 'location',
2453
+ 'precedence'
2454
+ ):
2455
+ kw.setdefault(attr, getattr(self,attr,None))
2456
+ kw.setdefault('metadata', self._provider)
2457
+ return self.__class__(**kw)
2458
+
2459
+ @property
2460
+ def extras(self):
2461
+ return [dep for dep in self._dep_map if dep]
2462
+
2463
+
2464
+ class DistInfoDistribution(Distribution):
2465
+ """Wrap an actual or potential sys.path entry w/metadata, .dist-info style"""
2466
+ PKG_INFO = 'METADATA'
2467
+ EQEQ = re.compile(r"([\(,])\s*(\d.*?)\s*([,\)])")
2468
+
2469
+ @property
2470
+ def _parsed_pkg_info(self):
2471
+ """Parse and cache metadata"""
2472
+ try:
2473
+ return self._pkg_info
2474
+ except AttributeError:
2475
+ from email.parser import Parser
2476
+ self._pkg_info = Parser().parsestr(self.get_metadata(self.PKG_INFO))
2477
+ return self._pkg_info
2478
+
2479
+ @property
2480
+ def _dep_map(self):
2481
+ try:
2482
+ return self.__dep_map
2483
+ except AttributeError:
2484
+ self.__dep_map = self._compute_dependencies()
2485
+ return self.__dep_map
2486
+
2487
+ def _preparse_requirement(self, requires_dist):
2488
+ """Convert 'Foobar (1); baz' to ('Foobar ==1', 'baz')
2489
+ Split environment marker, add == prefix to version specifiers as
2490
+ necessary, and remove parenthesis.
2491
+ """
2492
+ parts = requires_dist.split(';', 1) + ['']
2493
+ distvers = parts[0].strip()
2494
+ mark = parts[1].strip()
2495
+ distvers = re.sub(self.EQEQ, r"\1==\2\3", distvers)
2496
+ distvers = distvers.replace('(', '').replace(')', '')
2497
+ return (distvers, mark)
2498
+
2499
+ def _compute_dependencies(self):
2500
+ """Recompute this distribution's dependencies."""
2501
+ from pip._vendor._markerlib import compile as compile_marker
2502
+ dm = self.__dep_map = {None: []}
2503
+
2504
+ reqs = []
2505
+ # Including any condition expressions
2506
+ for req in self._parsed_pkg_info.get_all('Requires-Dist') or []:
2507
+ distvers, mark = self._preparse_requirement(req)
2508
+ parsed = next(parse_requirements(distvers))
2509
+ parsed.marker_fn = compile_marker(mark)
2510
+ reqs.append(parsed)
2511
+
2512
+ def reqs_for_extra(extra):
2513
+ for req in reqs:
2514
+ if req.marker_fn(override={'extra':extra}):
2515
+ yield req
2516
+
2517
+ common = frozenset(reqs_for_extra(None))
2518
+ dm[None].extend(common)
2519
+
2520
+ for extra in self._parsed_pkg_info.get_all('Provides-Extra') or []:
2521
+ extra = safe_extra(extra.strip())
2522
+ dm[extra] = list(frozenset(reqs_for_extra(extra)) - common)
2523
+
2524
+ return dm
2525
+
2526
+
2527
+ _distributionImpl = {
2528
+ '.egg': Distribution,
2529
+ '.egg-info': Distribution,
2530
+ '.dist-info': DistInfoDistribution,
2531
+ }
2532
+
2533
+
2534
+ def issue_warning(*args,**kw):
2535
+ level = 1
2536
+ g = globals()
2537
+ try:
2538
+ # find the first stack frame that is *not* code in
2539
+ # the pkg_resources module, to use for the warning
2540
+ while sys._getframe(level).f_globals is g:
2541
+ level += 1
2542
+ except ValueError:
2543
+ pass
2544
+ from warnings import warn
2545
+ warn(stacklevel = level+1, *args, **kw)
2546
+
2547
+
2548
+ def parse_requirements(strs):
2549
+ """Yield ``Requirement`` objects for each specification in `strs`
2550
+
2551
+ `strs` must be an instance of ``basestring``, or a (possibly-nested)
2552
+ iterable thereof.
2553
+ """
2554
+ # create a steppable iterator, so we can handle \-continuations
2555
+ lines = iter(yield_lines(strs))
2556
+
2557
+ def scan_list(ITEM,TERMINATOR,line,p,groups,item_name):
2558
+
2559
+ items = []
2560
+
2561
+ while not TERMINATOR(line,p):
2562
+ if CONTINUE(line,p):
2563
+ try:
2564
+ line = next(lines)
2565
+ p = 0
2566
+ except StopIteration:
2567
+ raise ValueError(
2568
+ "\\ must not appear on the last nonblank line"
2569
+ )
2570
+
2571
+ match = ITEM(line,p)
2572
+ if not match:
2573
+ raise ValueError("Expected "+item_name+" in",line,"at",line[p:])
2574
+
2575
+ items.append(match.group(*groups))
2576
+ p = match.end()
2577
+
2578
+ match = COMMA(line,p)
2579
+ if match:
2580
+ p = match.end() # skip the comma
2581
+ elif not TERMINATOR(line,p):
2582
+ raise ValueError(
2583
+ "Expected ',' or end-of-list in",line,"at",line[p:]
2584
+ )
2585
+
2586
+ match = TERMINATOR(line,p)
2587
+ if match: p = match.end() # skip the terminator, if any
2588
+ return line, p, items
2589
+
2590
+ for line in lines:
2591
+ match = DISTRO(line)
2592
+ if not match:
2593
+ raise ValueError("Missing distribution spec", line)
2594
+ project_name = match.group(1)
2595
+ p = match.end()
2596
+ extras = []
2597
+
2598
+ match = OBRACKET(line,p)
2599
+ if match:
2600
+ p = match.end()
2601
+ line, p, extras = scan_list(
2602
+ DISTRO, CBRACKET, line, p, (1,), "'extra' name"
2603
+ )
2604
+
2605
+ line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")
2606
+ specs = [(op,safe_version(val)) for op,val in specs]
2607
+ yield Requirement(project_name, specs, extras)
2608
+
2609
+
2610
+ def _sort_dists(dists):
2611
+ tmp = [(dist.hashcmp,dist) for dist in dists]
2612
+ tmp.sort()
2613
+ dists[::-1] = [d for hc,d in tmp]
2614
+
2615
+
2616
+ class Requirement:
2617
+ def __init__(self, project_name, specs, extras):
2618
+ """DO NOT CALL THIS UNDOCUMENTED METHOD; use Requirement.parse()!"""
2619
+ self.unsafe_name, project_name = project_name, safe_name(project_name)
2620
+ self.project_name, self.key = project_name, project_name.lower()
2621
+ index = [(parse_version(v),state_machine[op],op,v) for op,v in specs]
2622
+ index.sort()
2623
+ self.specs = [(op,ver) for parsed,trans,op,ver in index]
2624
+ self.index, self.extras = index, tuple(map(safe_extra,extras))
2625
+ self.hashCmp = (
2626
+ self.key, tuple([(op,parsed) for parsed,trans,op,ver in index]),
2627
+ frozenset(self.extras)
2628
+ )
2629
+ self.__hash = hash(self.hashCmp)
2630
+
2631
+ def __str__(self):
2632
+ specs = ','.join([''.join(s) for s in self.specs])
2633
+ extras = ','.join(self.extras)
2634
+ if extras: extras = '[%s]' % extras
2635
+ return '%s%s%s' % (self.project_name, extras, specs)
2636
+
2637
+ def __eq__(self,other):
2638
+ return isinstance(other,Requirement) and self.hashCmp==other.hashCmp
2639
+
2640
+ def __contains__(self,item):
2641
+ if isinstance(item,Distribution):
2642
+ if item.key != self.key: return False
2643
+ if self.index: item = item.parsed_version # only get if we need it
2644
+ elif isinstance(item,basestring):
2645
+ item = parse_version(item)
2646
+ last = None
2647
+ compare = lambda a, b: (a > b) - (a < b) # -1, 0, 1
2648
+ for parsed,trans,op,ver in self.index:
2649
+ action = trans[compare(item,parsed)] # Indexing: 0, 1, -1
2650
+ if action=='F':
2651
+ return False
2652
+ elif action=='T':
2653
+ return True
2654
+ elif action=='+':
2655
+ last = True
2656
+ elif action=='-' or last is None: last = False
2657
+ if last is None: last = True # no rules encountered
2658
+ return last
2659
+
2660
+ def __hash__(self):
2661
+ return self.__hash
2662
+
2663
+ def __repr__(self): return "Requirement.parse(%r)" % str(self)
2664
+
2665
+ @staticmethod
2666
+ def parse(s):
2667
+ reqs = list(parse_requirements(s))
2668
+ if reqs:
2669
+ if len(reqs)==1:
2670
+ return reqs[0]
2671
+ raise ValueError("Expected only one requirement", s)
2672
+ raise ValueError("No requirements found", s)
2673
+
2674
+ state_machine = {
2675
+ # =><
2676
+ '<': '--T',
2677
+ '<=': 'T-T',
2678
+ '>': 'F+F',
2679
+ '>=': 'T+F',
2680
+ '==': 'T..',
2681
+ '!=': 'F++',
2682
+ }
2683
+
2684
+
2685
+ def _get_mro(cls):
2686
+ """Get an mro for a type or classic class"""
2687
+ if not isinstance(cls,type):
2688
+ class cls(cls,object): pass
2689
+ return cls.__mro__[1:]
2690
+ return cls.__mro__
2691
+
2692
+ def _find_adapter(registry, ob):
2693
+ """Return an adapter factory for `ob` from `registry`"""
2694
+ for t in _get_mro(getattr(ob, '__class__', type(ob))):
2695
+ if t in registry:
2696
+ return registry[t]
2697
+
2698
+
2699
+ def ensure_directory(path):
2700
+ """Ensure that the parent directory of `path` exists"""
2701
+ dirname = os.path.dirname(path)
2702
+ if not os.path.isdir(dirname):
2703
+ os.makedirs(dirname)
2704
+
2705
+ def split_sections(s):
2706
+ """Split a string or iterable thereof into (section,content) pairs
2707
+
2708
+ Each ``section`` is a stripped version of the section header ("[section]")
2709
+ and each ``content`` is a list of stripped lines excluding blank lines and
2710
+ comment-only lines. If there are any such lines before the first section
2711
+ header, they're returned in a first ``section`` of ``None``.
2712
+ """
2713
+ section = None
2714
+ content = []
2715
+ for line in yield_lines(s):
2716
+ if line.startswith("["):
2717
+ if line.endswith("]"):
2718
+ if section or content:
2719
+ yield section, content
2720
+ section = line[1:-1].strip()
2721
+ content = []
2722
+ else:
2723
+ raise ValueError("Invalid section heading", line)
2724
+ else:
2725
+ content.append(line)
2726
+
2727
+ # wrap up last segment
2728
+ yield section, content
2729
+
2730
+ def _mkstemp(*args,**kw):
2731
+ from tempfile import mkstemp
2732
+ old_open = os.open
2733
+ try:
2734
+ os.open = os_open # temporarily bypass sandboxing
2735
+ return mkstemp(*args,**kw)
2736
+ finally:
2737
+ os.open = old_open # and then put it back
2738
+
2739
+
2740
+ # Set up global resource manager (deliberately not state-saved)
2741
+ _manager = ResourceManager()
2742
+ def _initialize(g):
2743
+ for name in dir(_manager):
2744
+ if not name.startswith('_'):
2745
+ g[name] = getattr(_manager, name)
2746
+ _initialize(globals())
2747
+
2748
+ # Prepare the master working set and make the ``require()`` API available
2749
+ working_set = WorkingSet._build_master()
2750
+ _declare_state('object', working_set=working_set)
2751
+
2752
+ require = working_set.require
2753
+ iter_entry_points = working_set.iter_entry_points
2754
+ add_activation_listener = working_set.subscribe
2755
+ run_script = working_set.run_script
2756
+ run_main = run_script # backward compatibility
2757
+ # Activate all distributions already on sys.path, and ensure that
2758
+ # all distributions added to the working set in the future (e.g. by
2759
+ # calling ``require()``) will get activated as well.
2760
+ add_activation_listener(lambda dist: dist.activate())
2761
+ working_set.entries=[]
2762
+ list(map(working_set.add_entry,sys.path)) # match order