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,2550 @@
1
+ # As a test suite for the os module, this is woefully inadequate, but this
2
+ # does add tests for a few functions which have been determined to be more
3
+ # portable than they had been thought to be.
4
+
5
+ import os
6
+ import errno
7
+ import unittest
8
+ import warnings
9
+ import sys
10
+ import signal
11
+ import subprocess
12
+ import time
13
+ import shutil
14
+ from test import support
15
+ import contextlib
16
+ import mmap
17
+ import platform
18
+ import re
19
+ import uuid
20
+ import asyncore
21
+ import asynchat
22
+ import socket
23
+ import itertools
24
+ import stat
25
+ import locale
26
+ import codecs
27
+ import decimal
28
+ import fractions
29
+ import pickle
30
+ try:
31
+ import threading
32
+ except ImportError:
33
+ threading = None
34
+ try:
35
+ import resource
36
+ except ImportError:
37
+ resource = None
38
+ try:
39
+ import fcntl
40
+ except ImportError:
41
+ fcntl = None
42
+
43
+ from test.script_helper import assert_python_ok
44
+
45
+ with warnings.catch_warnings():
46
+ warnings.simplefilter("ignore", DeprecationWarning)
47
+ os.stat_float_times(True)
48
+ st = os.stat(__file__)
49
+ stat_supports_subsecond = (
50
+ # check if float and int timestamps are different
51
+ (st.st_atime != st[7])
52
+ or (st.st_mtime != st[8])
53
+ or (st.st_ctime != st[9]))
54
+
55
+ # Detect whether we're on a Linux system that uses the (now outdated
56
+ # and unmaintained) linuxthreads threading library. There's an issue
57
+ # when combining linuxthreads with a failed execv call: see
58
+ # http://bugs.python.org/issue4970.
59
+ if hasattr(sys, 'thread_info') and sys.thread_info.version:
60
+ USING_LINUXTHREADS = sys.thread_info.version.startswith("linuxthreads")
61
+ else:
62
+ USING_LINUXTHREADS = False
63
+
64
+ # Issue #14110: Some tests fail on FreeBSD if the user is in the wheel group.
65
+ HAVE_WHEEL_GROUP = sys.platform.startswith('freebsd') and os.getgid() == 0
66
+
67
+ # Tests creating TESTFN
68
+ class FileTests(unittest.TestCase):
69
+ def setUp(self):
70
+ if os.path.exists(support.TESTFN):
71
+ os.unlink(support.TESTFN)
72
+ tearDown = setUp
73
+
74
+ def test_access(self):
75
+ f = os.open(support.TESTFN, os.O_CREAT|os.O_RDWR)
76
+ os.close(f)
77
+ self.assertTrue(os.access(support.TESTFN, os.W_OK))
78
+
79
+ def test_closerange(self):
80
+ first = os.open(support.TESTFN, os.O_CREAT|os.O_RDWR)
81
+ # We must allocate two consecutive file descriptors, otherwise
82
+ # it will mess up other file descriptors (perhaps even the three
83
+ # standard ones).
84
+ second = os.dup(first)
85
+ try:
86
+ retries = 0
87
+ while second != first + 1:
88
+ os.close(first)
89
+ retries += 1
90
+ if retries > 10:
91
+ # XXX test skipped
92
+ self.skipTest("couldn't allocate two consecutive fds")
93
+ first, second = second, os.dup(second)
94
+ finally:
95
+ os.close(second)
96
+ # close a fd that is open, and one that isn't
97
+ os.closerange(first, first + 2)
98
+ self.assertRaises(OSError, os.write, first, b"a")
99
+
100
+ @support.cpython_only
101
+ def test_rename(self):
102
+ path = support.TESTFN
103
+ old = sys.getrefcount(path)
104
+ self.assertRaises(TypeError, os.rename, path, 0)
105
+ new = sys.getrefcount(path)
106
+ self.assertEqual(old, new)
107
+
108
+ def test_read(self):
109
+ with open(support.TESTFN, "w+b") as fobj:
110
+ fobj.write(b"spam")
111
+ fobj.flush()
112
+ fd = fobj.fileno()
113
+ os.lseek(fd, 0, 0)
114
+ s = os.read(fd, 4)
115
+ self.assertEqual(type(s), bytes)
116
+ self.assertEqual(s, b"spam")
117
+
118
+ def test_write(self):
119
+ # os.write() accepts bytes- and buffer-like objects but not strings
120
+ fd = os.open(support.TESTFN, os.O_CREAT | os.O_WRONLY)
121
+ self.assertRaises(TypeError, os.write, fd, "beans")
122
+ os.write(fd, b"bacon\n")
123
+ os.write(fd, bytearray(b"eggs\n"))
124
+ os.write(fd, memoryview(b"spam\n"))
125
+ os.close(fd)
126
+ with open(support.TESTFN, "rb") as fobj:
127
+ self.assertEqual(fobj.read().splitlines(),
128
+ [b"bacon", b"eggs", b"spam"])
129
+
130
+ def write_windows_console(self, *args):
131
+ retcode = subprocess.call(args,
132
+ # use a new console to not flood the test output
133
+ creationflags=subprocess.CREATE_NEW_CONSOLE,
134
+ # use a shell to hide the console window (SW_HIDE)
135
+ shell=True)
136
+ self.assertEqual(retcode, 0)
137
+
138
+ @unittest.skipUnless(sys.platform == 'win32',
139
+ 'test specific to the Windows console')
140
+ def test_write_windows_console(self):
141
+ # Issue #11395: the Windows console returns an error (12: not enough
142
+ # space error) on writing into stdout if stdout mode is binary and the
143
+ # length is greater than 66,000 bytes (or less, depending on heap
144
+ # usage).
145
+ code = "print('x' * 100000)"
146
+ self.write_windows_console(sys.executable, "-c", code)
147
+ self.write_windows_console(sys.executable, "-u", "-c", code)
148
+
149
+ def fdopen_helper(self, *args):
150
+ fd = os.open(support.TESTFN, os.O_RDONLY)
151
+ f = os.fdopen(fd, *args)
152
+ f.close()
153
+
154
+ def test_fdopen(self):
155
+ fd = os.open(support.TESTFN, os.O_CREAT|os.O_RDWR)
156
+ os.close(fd)
157
+
158
+ self.fdopen_helper()
159
+ self.fdopen_helper('r')
160
+ self.fdopen_helper('r', 100)
161
+
162
+ def test_replace(self):
163
+ TESTFN2 = support.TESTFN + ".2"
164
+ with open(support.TESTFN, 'w') as f:
165
+ f.write("1")
166
+ with open(TESTFN2, 'w') as f:
167
+ f.write("2")
168
+ self.addCleanup(os.unlink, TESTFN2)
169
+ os.replace(support.TESTFN, TESTFN2)
170
+ self.assertRaises(FileNotFoundError, os.stat, support.TESTFN)
171
+ with open(TESTFN2, 'r') as f:
172
+ self.assertEqual(f.read(), "1")
173
+
174
+
175
+ # Test attributes on return values from os.*stat* family.
176
+ class StatAttributeTests(unittest.TestCase):
177
+ def setUp(self):
178
+ os.mkdir(support.TESTFN)
179
+ self.fname = os.path.join(support.TESTFN, "f1")
180
+ f = open(self.fname, 'wb')
181
+ f.write(b"ABC")
182
+ f.close()
183
+
184
+ def tearDown(self):
185
+ os.unlink(self.fname)
186
+ os.rmdir(support.TESTFN)
187
+
188
+ @unittest.skipUnless(hasattr(os, 'stat'), 'test needs os.stat()')
189
+ def check_stat_attributes(self, fname):
190
+ result = os.stat(fname)
191
+
192
+ # Make sure direct access works
193
+ self.assertEqual(result[stat.ST_SIZE], 3)
194
+ self.assertEqual(result.st_size, 3)
195
+
196
+ # Make sure all the attributes are there
197
+ members = dir(result)
198
+ for name in dir(stat):
199
+ if name[:3] == 'ST_':
200
+ attr = name.lower()
201
+ if name.endswith("TIME"):
202
+ def trunc(x): return int(x)
203
+ else:
204
+ def trunc(x): return x
205
+ self.assertEqual(trunc(getattr(result, attr)),
206
+ result[getattr(stat, name)])
207
+ self.assertIn(attr, members)
208
+
209
+ # Make sure that the st_?time and st_?time_ns fields roughly agree
210
+ # (they should always agree up to around tens-of-microseconds)
211
+ for name in 'st_atime st_mtime st_ctime'.split():
212
+ floaty = int(getattr(result, name) * 100000)
213
+ nanosecondy = getattr(result, name + "_ns") // 10000
214
+ self.assertAlmostEqual(floaty, nanosecondy, delta=2)
215
+
216
+ try:
217
+ result[200]
218
+ self.fail("No exception raised")
219
+ except IndexError:
220
+ pass
221
+
222
+ # Make sure that assignment fails
223
+ try:
224
+ result.st_mode = 1
225
+ self.fail("No exception raised")
226
+ except AttributeError:
227
+ pass
228
+
229
+ try:
230
+ result.st_rdev = 1
231
+ self.fail("No exception raised")
232
+ except (AttributeError, TypeError):
233
+ pass
234
+
235
+ try:
236
+ result.parrot = 1
237
+ self.fail("No exception raised")
238
+ except AttributeError:
239
+ pass
240
+
241
+ # Use the stat_result constructor with a too-short tuple.
242
+ try:
243
+ result2 = os.stat_result((10,))
244
+ self.fail("No exception raised")
245
+ except TypeError:
246
+ pass
247
+
248
+ # Use the constructor with a too-long tuple.
249
+ try:
250
+ result2 = os.stat_result((0,1,2,3,4,5,6,7,8,9,10,11,12,13,14))
251
+ except TypeError:
252
+ pass
253
+
254
+ def test_stat_attributes(self):
255
+ self.check_stat_attributes(self.fname)
256
+
257
+ def test_stat_attributes_bytes(self):
258
+ try:
259
+ fname = self.fname.encode(sys.getfilesystemencoding())
260
+ except UnicodeEncodeError:
261
+ self.skipTest("cannot encode %a for the filesystem" % self.fname)
262
+ with warnings.catch_warnings():
263
+ warnings.simplefilter("ignore", DeprecationWarning)
264
+ self.check_stat_attributes(fname)
265
+
266
+ def test_stat_result_pickle(self):
267
+ result = os.stat(self.fname)
268
+ p = pickle.dumps(result)
269
+ self.assertIn(b'\x03cos\nstat_result\n', p)
270
+ unpickled = pickle.loads(p)
271
+ self.assertEqual(result, unpickled)
272
+
273
+ @unittest.skipUnless(hasattr(os, 'statvfs'), 'test needs os.statvfs()')
274
+ def test_statvfs_attributes(self):
275
+ try:
276
+ result = os.statvfs(self.fname)
277
+ except OSError as e:
278
+ # On AtheOS, glibc always returns ENOSYS
279
+ if e.errno == errno.ENOSYS:
280
+ self.skipTest('os.statvfs() failed with ENOSYS')
281
+
282
+ # Make sure direct access works
283
+ self.assertEqual(result.f_bfree, result[3])
284
+
285
+ # Make sure all the attributes are there.
286
+ members = ('bsize', 'frsize', 'blocks', 'bfree', 'bavail', 'files',
287
+ 'ffree', 'favail', 'flag', 'namemax')
288
+ for value, member in enumerate(members):
289
+ self.assertEqual(getattr(result, 'f_' + member), result[value])
290
+
291
+ # Make sure that assignment really fails
292
+ try:
293
+ result.f_bfree = 1
294
+ self.fail("No exception raised")
295
+ except AttributeError:
296
+ pass
297
+
298
+ try:
299
+ result.parrot = 1
300
+ self.fail("No exception raised")
301
+ except AttributeError:
302
+ pass
303
+
304
+ # Use the constructor with a too-short tuple.
305
+ try:
306
+ result2 = os.statvfs_result((10,))
307
+ self.fail("No exception raised")
308
+ except TypeError:
309
+ pass
310
+
311
+ # Use the constructor with a too-long tuple.
312
+ try:
313
+ result2 = os.statvfs_result((0,1,2,3,4,5,6,7,8,9,10,11,12,13,14))
314
+ except TypeError:
315
+ pass
316
+
317
+ @unittest.skipUnless(hasattr(os, 'statvfs'),
318
+ "need os.statvfs()")
319
+ def test_statvfs_result_pickle(self):
320
+ try:
321
+ result = os.statvfs(self.fname)
322
+ except OSError as e:
323
+ # On AtheOS, glibc always returns ENOSYS
324
+ if e.errno == errno.ENOSYS:
325
+ self.skipTest('os.statvfs() failed with ENOSYS')
326
+
327
+ p = pickle.dumps(result)
328
+ self.assertIn(b'\x03cos\nstatvfs_result\n', p)
329
+ unpickled = pickle.loads(p)
330
+ self.assertEqual(result, unpickled)
331
+
332
+ def test_utime_dir(self):
333
+ delta = 1000000
334
+ st = os.stat(support.TESTFN)
335
+ # round to int, because some systems may support sub-second
336
+ # time stamps in stat, but not in utime.
337
+ os.utime(support.TESTFN, (st.st_atime, int(st.st_mtime-delta)))
338
+ st2 = os.stat(support.TESTFN)
339
+ self.assertEqual(st2.st_mtime, int(st.st_mtime-delta))
340
+
341
+ def _test_utime(self, filename, attr, utime, delta):
342
+ # Issue #13327 removed the requirement to pass None as the
343
+ # second argument. Check that the previous methods of passing
344
+ # a time tuple or None work in addition to no argument.
345
+ st0 = os.stat(filename)
346
+ # Doesn't set anything new, but sets the time tuple way
347
+ utime(filename, (attr(st0, "st_atime"), attr(st0, "st_mtime")))
348
+ # Setting the time to the time you just read, then reading again,
349
+ # should always return exactly the same times.
350
+ st1 = os.stat(filename)
351
+ self.assertEqual(attr(st0, "st_mtime"), attr(st1, "st_mtime"))
352
+ self.assertEqual(attr(st0, "st_atime"), attr(st1, "st_atime"))
353
+ # Set to the current time in the old explicit way.
354
+ os.utime(filename, None)
355
+ st2 = os.stat(support.TESTFN)
356
+ # Set to the current time in the new way
357
+ os.utime(filename)
358
+ st3 = os.stat(filename)
359
+ self.assertAlmostEqual(attr(st2, "st_mtime"), attr(st3, "st_mtime"), delta=delta)
360
+
361
+ def test_utime(self):
362
+ def utime(file, times):
363
+ return os.utime(file, times)
364
+ self._test_utime(self.fname, getattr, utime, 10)
365
+ self._test_utime(support.TESTFN, getattr, utime, 10)
366
+
367
+
368
+ def _test_utime_ns(self, set_times_ns, test_dir=True):
369
+ def getattr_ns(o, attr):
370
+ return getattr(o, attr + "_ns")
371
+ ten_s = 10 * 1000 * 1000 * 1000
372
+ self._test_utime(self.fname, getattr_ns, set_times_ns, ten_s)
373
+ if test_dir:
374
+ self._test_utime(support.TESTFN, getattr_ns, set_times_ns, ten_s)
375
+
376
+ def test_utime_ns(self):
377
+ def utime_ns(file, times):
378
+ return os.utime(file, ns=times)
379
+ self._test_utime_ns(utime_ns)
380
+
381
+ requires_utime_dir_fd = unittest.skipUnless(
382
+ os.utime in os.supports_dir_fd,
383
+ "dir_fd support for utime required for this test.")
384
+ requires_utime_fd = unittest.skipUnless(
385
+ os.utime in os.supports_fd,
386
+ "fd support for utime required for this test.")
387
+ requires_utime_nofollow_symlinks = unittest.skipUnless(
388
+ os.utime in os.supports_follow_symlinks,
389
+ "follow_symlinks support for utime required for this test.")
390
+
391
+ @requires_utime_nofollow_symlinks
392
+ def test_lutimes_ns(self):
393
+ def lutimes_ns(file, times):
394
+ return os.utime(file, ns=times, follow_symlinks=False)
395
+ self._test_utime_ns(lutimes_ns)
396
+
397
+ @requires_utime_fd
398
+ def test_futimes_ns(self):
399
+ def futimes_ns(file, times):
400
+ with open(file, "wb") as f:
401
+ os.utime(f.fileno(), ns=times)
402
+ self._test_utime_ns(futimes_ns, test_dir=False)
403
+
404
+ def _utime_invalid_arguments(self, name, arg):
405
+ with self.assertRaises(ValueError):
406
+ getattr(os, name)(arg, (5, 5), ns=(5, 5))
407
+
408
+ def test_utime_invalid_arguments(self):
409
+ self._utime_invalid_arguments('utime', self.fname)
410
+
411
+
412
+ @unittest.skipUnless(stat_supports_subsecond,
413
+ "os.stat() doesn't has a subsecond resolution")
414
+ def _test_utime_subsecond(self, set_time_func):
415
+ asec, amsec = 1, 901
416
+ atime = asec + amsec * 1e-3
417
+ msec, mmsec = 2, 901
418
+ mtime = msec + mmsec * 1e-3
419
+ filename = self.fname
420
+ os.utime(filename, (0, 0))
421
+ set_time_func(filename, atime, mtime)
422
+ with warnings.catch_warnings():
423
+ warnings.simplefilter("ignore", DeprecationWarning)
424
+ os.stat_float_times(True)
425
+ st = os.stat(filename)
426
+ self.assertAlmostEqual(st.st_atime, atime, places=3)
427
+ self.assertAlmostEqual(st.st_mtime, mtime, places=3)
428
+
429
+ def test_utime_subsecond(self):
430
+ def set_time(filename, atime, mtime):
431
+ os.utime(filename, (atime, mtime))
432
+ self._test_utime_subsecond(set_time)
433
+
434
+ @requires_utime_fd
435
+ def test_futimes_subsecond(self):
436
+ def set_time(filename, atime, mtime):
437
+ with open(filename, "wb") as f:
438
+ os.utime(f.fileno(), times=(atime, mtime))
439
+ self._test_utime_subsecond(set_time)
440
+
441
+ @requires_utime_fd
442
+ def test_futimens_subsecond(self):
443
+ def set_time(filename, atime, mtime):
444
+ with open(filename, "wb") as f:
445
+ os.utime(f.fileno(), times=(atime, mtime))
446
+ self._test_utime_subsecond(set_time)
447
+
448
+ @requires_utime_dir_fd
449
+ def test_futimesat_subsecond(self):
450
+ def set_time(filename, atime, mtime):
451
+ dirname = os.path.dirname(filename)
452
+ dirfd = os.open(dirname, os.O_RDONLY)
453
+ try:
454
+ os.utime(os.path.basename(filename), dir_fd=dirfd,
455
+ times=(atime, mtime))
456
+ finally:
457
+ os.close(dirfd)
458
+ self._test_utime_subsecond(set_time)
459
+
460
+ @requires_utime_nofollow_symlinks
461
+ def test_lutimes_subsecond(self):
462
+ def set_time(filename, atime, mtime):
463
+ os.utime(filename, (atime, mtime), follow_symlinks=False)
464
+ self._test_utime_subsecond(set_time)
465
+
466
+ @requires_utime_dir_fd
467
+ def test_utimensat_subsecond(self):
468
+ def set_time(filename, atime, mtime):
469
+ dirname = os.path.dirname(filename)
470
+ dirfd = os.open(dirname, os.O_RDONLY)
471
+ try:
472
+ os.utime(os.path.basename(filename), dir_fd=dirfd,
473
+ times=(atime, mtime))
474
+ finally:
475
+ os.close(dirfd)
476
+ self._test_utime_subsecond(set_time)
477
+
478
+ # Restrict tests to Win32, since there is no guarantee other
479
+ # systems support centiseconds
480
+ def get_file_system(path):
481
+ if sys.platform == 'win32':
482
+ root = os.path.splitdrive(os.path.abspath(path))[0] + '\\'
483
+ import ctypes
484
+ kernel32 = ctypes.windll.kernel32
485
+ buf = ctypes.create_unicode_buffer("", 100)
486
+ if kernel32.GetVolumeInformationW(root, None, 0, None, None, None, buf, len(buf)):
487
+ return buf.value
488
+
489
+ @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests")
490
+ @unittest.skipUnless(get_file_system(support.TESTFN) == "NTFS",
491
+ "requires NTFS")
492
+ def test_1565150(self):
493
+ t1 = 1159195039.25
494
+ os.utime(self.fname, (t1, t1))
495
+ self.assertEqual(os.stat(self.fname).st_mtime, t1)
496
+
497
+ @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests")
498
+ @unittest.skipUnless(get_file_system(support.TESTFN) == "NTFS",
499
+ "requires NTFS")
500
+ def test_large_time(self):
501
+ t1 = 5000000000 # some day in 2128
502
+ os.utime(self.fname, (t1, t1))
503
+ self.assertEqual(os.stat(self.fname).st_mtime, t1)
504
+
505
+ @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests")
506
+ def test_1686475(self):
507
+ # Verify that an open file can be stat'ed
508
+ try:
509
+ os.stat(r"c:\pagefile.sys")
510
+ except FileNotFoundError:
511
+ self.skipTest(r'c:\pagefile.sys does not exist')
512
+ except OSError as e:
513
+ self.fail("Could not stat pagefile.sys")
514
+
515
+ @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests")
516
+ @unittest.skipUnless(hasattr(os, "pipe"), "requires os.pipe()")
517
+ def test_15261(self):
518
+ # Verify that stat'ing a closed fd does not cause crash
519
+ r, w = os.pipe()
520
+ try:
521
+ os.stat(r) # should not raise error
522
+ finally:
523
+ os.close(r)
524
+ os.close(w)
525
+ with self.assertRaises(OSError) as ctx:
526
+ os.stat(r)
527
+ self.assertEqual(ctx.exception.errno, errno.EBADF)
528
+
529
+ from test import mapping_tests
530
+
531
+ class EnvironTests(mapping_tests.BasicTestMappingProtocol):
532
+ """check that os.environ object conform to mapping protocol"""
533
+ type2test = None
534
+
535
+ def setUp(self):
536
+ self.__save = dict(os.environ)
537
+ if os.supports_bytes_environ:
538
+ self.__saveb = dict(os.environb)
539
+ for key, value in self._reference().items():
540
+ os.environ[key] = value
541
+
542
+ def tearDown(self):
543
+ os.environ.clear()
544
+ os.environ.update(self.__save)
545
+ if os.supports_bytes_environ:
546
+ os.environb.clear()
547
+ os.environb.update(self.__saveb)
548
+
549
+ def _reference(self):
550
+ return {"KEY1":"VALUE1", "KEY2":"VALUE2", "KEY3":"VALUE3"}
551
+
552
+ def _empty_mapping(self):
553
+ os.environ.clear()
554
+ return os.environ
555
+
556
+ # Bug 1110478
557
+ @unittest.skipUnless(os.path.exists('/bin/sh'), 'requires /bin/sh')
558
+ def test_update2(self):
559
+ os.environ.clear()
560
+ os.environ.update(HELLO="World")
561
+ with os.popen("/bin/sh -c 'echo $HELLO'") as popen:
562
+ value = popen.read().strip()
563
+ self.assertEqual(value, "World")
564
+
565
+ @unittest.skipUnless(os.path.exists('/bin/sh'), 'requires /bin/sh')
566
+ def test_os_popen_iter(self):
567
+ with os.popen(
568
+ "/bin/sh -c 'echo \"line1\nline2\nline3\"'") as popen:
569
+ it = iter(popen)
570
+ self.assertEqual(next(it), "line1\n")
571
+ self.assertEqual(next(it), "line2\n")
572
+ self.assertEqual(next(it), "line3\n")
573
+ self.assertRaises(StopIteration, next, it)
574
+
575
+ # Verify environ keys and values from the OS are of the
576
+ # correct str type.
577
+ def test_keyvalue_types(self):
578
+ for key, val in os.environ.items():
579
+ self.assertEqual(type(key), str)
580
+ self.assertEqual(type(val), str)
581
+
582
+ def test_items(self):
583
+ for key, value in self._reference().items():
584
+ self.assertEqual(os.environ.get(key), value)
585
+
586
+ # Issue 7310
587
+ def test___repr__(self):
588
+ """Check that the repr() of os.environ looks like environ({...})."""
589
+ env = os.environ
590
+ self.assertEqual(repr(env), 'environ({{{}}})'.format(', '.join(
591
+ '{!r}: {!r}'.format(key, value)
592
+ for key, value in env.items())))
593
+
594
+ def test_get_exec_path(self):
595
+ defpath_list = os.defpath.split(os.pathsep)
596
+ test_path = ['/monty', '/python', '', '/flying/circus']
597
+ test_env = {'PATH': os.pathsep.join(test_path)}
598
+
599
+ saved_environ = os.environ
600
+ try:
601
+ os.environ = dict(test_env)
602
+ # Test that defaulting to os.environ works.
603
+ self.assertSequenceEqual(test_path, os.get_exec_path())
604
+ self.assertSequenceEqual(test_path, os.get_exec_path(env=None))
605
+ finally:
606
+ os.environ = saved_environ
607
+
608
+ # No PATH environment variable
609
+ self.assertSequenceEqual(defpath_list, os.get_exec_path({}))
610
+ # Empty PATH environment variable
611
+ self.assertSequenceEqual(('',), os.get_exec_path({'PATH':''}))
612
+ # Supplied PATH environment variable
613
+ self.assertSequenceEqual(test_path, os.get_exec_path(test_env))
614
+
615
+ if os.supports_bytes_environ:
616
+ # env cannot contain 'PATH' and b'PATH' keys
617
+ try:
618
+ # ignore BytesWarning warning
619
+ with warnings.catch_warnings(record=True):
620
+ mixed_env = {'PATH': '1', b'PATH': b'2'}
621
+ except BytesWarning:
622
+ # mixed_env cannot be created with python -bb
623
+ pass
624
+ else:
625
+ self.assertRaises(ValueError, os.get_exec_path, mixed_env)
626
+
627
+ # bytes key and/or value
628
+ self.assertSequenceEqual(os.get_exec_path({b'PATH': b'abc'}),
629
+ ['abc'])
630
+ self.assertSequenceEqual(os.get_exec_path({b'PATH': 'abc'}),
631
+ ['abc'])
632
+ self.assertSequenceEqual(os.get_exec_path({'PATH': b'abc'}),
633
+ ['abc'])
634
+
635
+ @unittest.skipUnless(os.supports_bytes_environ,
636
+ "os.environb required for this test.")
637
+ def test_environb(self):
638
+ # os.environ -> os.environb
639
+ value = 'euro\u20ac'
640
+ try:
641
+ value_bytes = value.encode(sys.getfilesystemencoding(),
642
+ 'surrogateescape')
643
+ except UnicodeEncodeError:
644
+ msg = "U+20AC character is not encodable to %s" % (
645
+ sys.getfilesystemencoding(),)
646
+ self.skipTest(msg)
647
+ os.environ['unicode'] = value
648
+ self.assertEqual(os.environ['unicode'], value)
649
+ self.assertEqual(os.environb[b'unicode'], value_bytes)
650
+
651
+ # os.environb -> os.environ
652
+ value = b'\xff'
653
+ os.environb[b'bytes'] = value
654
+ self.assertEqual(os.environb[b'bytes'], value)
655
+ value_str = value.decode(sys.getfilesystemencoding(), 'surrogateescape')
656
+ self.assertEqual(os.environ['bytes'], value_str)
657
+
658
+ # On FreeBSD < 7 and OS X < 10.6, unsetenv() doesn't return a value (issue
659
+ # #13415).
660
+ @support.requires_freebsd_version(7)
661
+ @support.requires_mac_ver(10, 6)
662
+ def test_unset_error(self):
663
+ if sys.platform == "win32":
664
+ # an environment variable is limited to 32,767 characters
665
+ key = 'x' * 50000
666
+ self.assertRaises(ValueError, os.environ.__delitem__, key)
667
+ else:
668
+ # "=" is not allowed in a variable name
669
+ key = 'key='
670
+ self.assertRaises(OSError, os.environ.__delitem__, key)
671
+
672
+ def test_key_type(self):
673
+ missing = 'missingkey'
674
+ self.assertNotIn(missing, os.environ)
675
+
676
+ with self.assertRaises(KeyError) as cm:
677
+ os.environ[missing]
678
+ self.assertIs(cm.exception.args[0], missing)
679
+ self.assertTrue(cm.exception.__suppress_context__)
680
+
681
+ with self.assertRaises(KeyError) as cm:
682
+ del os.environ[missing]
683
+ self.assertIs(cm.exception.args[0], missing)
684
+ self.assertTrue(cm.exception.__suppress_context__)
685
+
686
+
687
+ class WalkTests(unittest.TestCase):
688
+ """Tests for os.walk()."""
689
+
690
+ def setUp(self):
691
+ import os
692
+ from os.path import join
693
+
694
+ # Build:
695
+ # TESTFN/
696
+ # TEST1/ a file kid and two directory kids
697
+ # tmp1
698
+ # SUB1/ a file kid and a directory kid
699
+ # tmp2
700
+ # SUB11/ no kids
701
+ # SUB2/ a file kid and a dirsymlink kid
702
+ # tmp3
703
+ # link/ a symlink to TESTFN.2
704
+ # broken_link
705
+ # TEST2/
706
+ # tmp4 a lone file
707
+ walk_path = join(support.TESTFN, "TEST1")
708
+ sub1_path = join(walk_path, "SUB1")
709
+ sub11_path = join(sub1_path, "SUB11")
710
+ sub2_path = join(walk_path, "SUB2")
711
+ tmp1_path = join(walk_path, "tmp1")
712
+ tmp2_path = join(sub1_path, "tmp2")
713
+ tmp3_path = join(sub2_path, "tmp3")
714
+ link_path = join(sub2_path, "link")
715
+ t2_path = join(support.TESTFN, "TEST2")
716
+ tmp4_path = join(support.TESTFN, "TEST2", "tmp4")
717
+ link_path = join(sub2_path, "link")
718
+ broken_link_path = join(sub2_path, "broken_link")
719
+
720
+ # Create stuff.
721
+ os.makedirs(sub11_path)
722
+ os.makedirs(sub2_path)
723
+ os.makedirs(t2_path)
724
+ for path in tmp1_path, tmp2_path, tmp3_path, tmp4_path:
725
+ f = open(path, "w")
726
+ f.write("I'm " + path + " and proud of it. Blame test_os.\n")
727
+ f.close()
728
+ if support.can_symlink():
729
+ os.symlink(os.path.abspath(t2_path), link_path)
730
+ os.symlink('broken', broken_link_path, True)
731
+ sub2_tree = (sub2_path, ["link"], ["broken_link", "tmp3"])
732
+ else:
733
+ sub2_tree = (sub2_path, [], ["tmp3"])
734
+
735
+ # Walk top-down.
736
+ all = list(os.walk(walk_path))
737
+ self.assertEqual(len(all), 4)
738
+ # We can't know which order SUB1 and SUB2 will appear in.
739
+ # Not flipped: TESTFN, SUB1, SUB11, SUB2
740
+ # flipped: TESTFN, SUB2, SUB1, SUB11
741
+ flipped = all[0][1][0] != "SUB1"
742
+ all[0][1].sort()
743
+ all[3 - 2 * flipped][-1].sort()
744
+ self.assertEqual(all[0], (walk_path, ["SUB1", "SUB2"], ["tmp1"]))
745
+ self.assertEqual(all[1 + flipped], (sub1_path, ["SUB11"], ["tmp2"]))
746
+ self.assertEqual(all[2 + flipped], (sub11_path, [], []))
747
+ self.assertEqual(all[3 - 2 * flipped], sub2_tree)
748
+
749
+ # Prune the search.
750
+ all = []
751
+ for root, dirs, files in os.walk(walk_path):
752
+ all.append((root, dirs, files))
753
+ # Don't descend into SUB1.
754
+ if 'SUB1' in dirs:
755
+ # Note that this also mutates the dirs we appended to all!
756
+ dirs.remove('SUB1')
757
+ self.assertEqual(len(all), 2)
758
+ self.assertEqual(all[0], (walk_path, ["SUB2"], ["tmp1"]))
759
+ all[1][-1].sort()
760
+ self.assertEqual(all[1], sub2_tree)
761
+
762
+ # Walk bottom-up.
763
+ all = list(os.walk(walk_path, topdown=False))
764
+ self.assertEqual(len(all), 4)
765
+ # We can't know which order SUB1 and SUB2 will appear in.
766
+ # Not flipped: SUB11, SUB1, SUB2, TESTFN
767
+ # flipped: SUB2, SUB11, SUB1, TESTFN
768
+ flipped = all[3][1][0] != "SUB1"
769
+ all[3][1].sort()
770
+ all[2 - 2 * flipped][-1].sort()
771
+ self.assertEqual(all[3], (walk_path, ["SUB1", "SUB2"], ["tmp1"]))
772
+ self.assertEqual(all[flipped], (sub11_path, [], []))
773
+ self.assertEqual(all[flipped + 1], (sub1_path, ["SUB11"], ["tmp2"]))
774
+ self.assertEqual(all[2 - 2 * flipped], sub2_tree)
775
+
776
+ if support.can_symlink():
777
+ # Walk, following symlinks.
778
+ for root, dirs, files in os.walk(walk_path, followlinks=True):
779
+ if root == link_path:
780
+ self.assertEqual(dirs, [])
781
+ self.assertEqual(files, ["tmp4"])
782
+ break
783
+ else:
784
+ self.fail("Didn't follow symlink with followlinks=True")
785
+
786
+ def tearDown(self):
787
+ # Tear everything down. This is a decent use for bottom-up on
788
+ # Windows, which doesn't have a recursive delete command. The
789
+ # (not so) subtlety is that rmdir will fail unless the dir's
790
+ # kids are removed first, so bottom up is essential.
791
+ for root, dirs, files in os.walk(support.TESTFN, topdown=False):
792
+ for name in files:
793
+ os.remove(os.path.join(root, name))
794
+ for name in dirs:
795
+ dirname = os.path.join(root, name)
796
+ if not os.path.islink(dirname):
797
+ os.rmdir(dirname)
798
+ else:
799
+ os.remove(dirname)
800
+ os.rmdir(support.TESTFN)
801
+
802
+
803
+ @unittest.skipUnless(hasattr(os, 'fwalk'), "Test needs os.fwalk()")
804
+ class FwalkTests(WalkTests):
805
+ """Tests for os.fwalk()."""
806
+
807
+ def _compare_to_walk(self, walk_kwargs, fwalk_kwargs):
808
+ """
809
+ compare with walk() results.
810
+ """
811
+ walk_kwargs = walk_kwargs.copy()
812
+ fwalk_kwargs = fwalk_kwargs.copy()
813
+ for topdown, follow_symlinks in itertools.product((True, False), repeat=2):
814
+ walk_kwargs.update(topdown=topdown, followlinks=follow_symlinks)
815
+ fwalk_kwargs.update(topdown=topdown, follow_symlinks=follow_symlinks)
816
+
817
+ expected = {}
818
+ for root, dirs, files in os.walk(**walk_kwargs):
819
+ expected[root] = (set(dirs), set(files))
820
+
821
+ for root, dirs, files, rootfd in os.fwalk(**fwalk_kwargs):
822
+ self.assertIn(root, expected)
823
+ self.assertEqual(expected[root], (set(dirs), set(files)))
824
+
825
+ def test_compare_to_walk(self):
826
+ kwargs = {'top': support.TESTFN}
827
+ self._compare_to_walk(kwargs, kwargs)
828
+
829
+ def test_dir_fd(self):
830
+ try:
831
+ fd = os.open(".", os.O_RDONLY)
832
+ walk_kwargs = {'top': support.TESTFN}
833
+ fwalk_kwargs = walk_kwargs.copy()
834
+ fwalk_kwargs['dir_fd'] = fd
835
+ self._compare_to_walk(walk_kwargs, fwalk_kwargs)
836
+ finally:
837
+ os.close(fd)
838
+
839
+ def test_yields_correct_dir_fd(self):
840
+ # check returned file descriptors
841
+ for topdown, follow_symlinks in itertools.product((True, False), repeat=2):
842
+ args = support.TESTFN, topdown, None
843
+ for root, dirs, files, rootfd in os.fwalk(*args, follow_symlinks=follow_symlinks):
844
+ # check that the FD is valid
845
+ os.fstat(rootfd)
846
+ # redundant check
847
+ os.stat(rootfd)
848
+ # check that listdir() returns consistent information
849
+ self.assertEqual(set(os.listdir(rootfd)), set(dirs) | set(files))
850
+
851
+ def test_fd_leak(self):
852
+ # Since we're opening a lot of FDs, we must be careful to avoid leaks:
853
+ # we both check that calling fwalk() a large number of times doesn't
854
+ # yield EMFILE, and that the minimum allocated FD hasn't changed.
855
+ minfd = os.dup(1)
856
+ os.close(minfd)
857
+ for i in range(256):
858
+ for x in os.fwalk(support.TESTFN):
859
+ pass
860
+ newfd = os.dup(1)
861
+ self.addCleanup(os.close, newfd)
862
+ self.assertEqual(newfd, minfd)
863
+
864
+ def tearDown(self):
865
+ # cleanup
866
+ for root, dirs, files, rootfd in os.fwalk(support.TESTFN, topdown=False):
867
+ for name in files:
868
+ os.unlink(name, dir_fd=rootfd)
869
+ for name in dirs:
870
+ st = os.stat(name, dir_fd=rootfd, follow_symlinks=False)
871
+ if stat.S_ISDIR(st.st_mode):
872
+ os.rmdir(name, dir_fd=rootfd)
873
+ else:
874
+ os.unlink(name, dir_fd=rootfd)
875
+ os.rmdir(support.TESTFN)
876
+
877
+
878
+ class MakedirTests(unittest.TestCase):
879
+ def setUp(self):
880
+ os.mkdir(support.TESTFN)
881
+
882
+ def test_makedir(self):
883
+ base = support.TESTFN
884
+ path = os.path.join(base, 'dir1', 'dir2', 'dir3')
885
+ os.makedirs(path) # Should work
886
+ path = os.path.join(base, 'dir1', 'dir2', 'dir3', 'dir4')
887
+ os.makedirs(path)
888
+
889
+ # Try paths with a '.' in them
890
+ self.assertRaises(OSError, os.makedirs, os.curdir)
891
+ path = os.path.join(base, 'dir1', 'dir2', 'dir3', 'dir4', 'dir5', os.curdir)
892
+ os.makedirs(path)
893
+ path = os.path.join(base, 'dir1', os.curdir, 'dir2', 'dir3', 'dir4',
894
+ 'dir5', 'dir6')
895
+ os.makedirs(path)
896
+
897
+ def test_exist_ok_existing_directory(self):
898
+ path = os.path.join(support.TESTFN, 'dir1')
899
+ mode = 0o777
900
+ old_mask = os.umask(0o022)
901
+ os.makedirs(path, mode)
902
+ self.assertRaises(OSError, os.makedirs, path, mode)
903
+ self.assertRaises(OSError, os.makedirs, path, mode, exist_ok=False)
904
+ os.makedirs(path, 0o776, exist_ok=True)
905
+ os.makedirs(path, mode=mode, exist_ok=True)
906
+ os.umask(old_mask)
907
+
908
+ @unittest.skipUnless(hasattr(os, 'chown'), 'test needs os.chown')
909
+ def test_chown_uid_gid_arguments_must_be_index(self):
910
+ stat = os.stat(support.TESTFN)
911
+ uid = stat.st_uid
912
+ gid = stat.st_gid
913
+ for value in (-1.0, -1j, decimal.Decimal(-1), fractions.Fraction(-2, 2)):
914
+ self.assertRaises(TypeError, os.chown, support.TESTFN, value, gid)
915
+ self.assertRaises(TypeError, os.chown, support.TESTFN, uid, value)
916
+ self.assertIsNone(os.chown(support.TESTFN, uid, gid))
917
+ self.assertIsNone(os.chown(support.TESTFN, -1, -1))
918
+
919
+ def test_exist_ok_s_isgid_directory(self):
920
+ path = os.path.join(support.TESTFN, 'dir1')
921
+ S_ISGID = stat.S_ISGID
922
+ mode = 0o777
923
+ old_mask = os.umask(0o022)
924
+ try:
925
+ existing_testfn_mode = stat.S_IMODE(
926
+ os.lstat(support.TESTFN).st_mode)
927
+ try:
928
+ os.chmod(support.TESTFN, existing_testfn_mode | S_ISGID)
929
+ except PermissionError:
930
+ raise unittest.SkipTest('Cannot set S_ISGID for dir.')
931
+ if (os.lstat(support.TESTFN).st_mode & S_ISGID != S_ISGID):
932
+ raise unittest.SkipTest('No support for S_ISGID dir mode.')
933
+ # The os should apply S_ISGID from the parent dir for us, but
934
+ # this test need not depend on that behavior. Be explicit.
935
+ os.makedirs(path, mode | S_ISGID)
936
+ # http://bugs.python.org/issue14992
937
+ # Should not fail when the bit is already set.
938
+ os.makedirs(path, mode, exist_ok=True)
939
+ # remove the bit.
940
+ os.chmod(path, stat.S_IMODE(os.lstat(path).st_mode) & ~S_ISGID)
941
+ # May work even when the bit is not already set when demanded.
942
+ os.makedirs(path, mode | S_ISGID, exist_ok=True)
943
+ finally:
944
+ os.umask(old_mask)
945
+
946
+ def test_exist_ok_existing_regular_file(self):
947
+ base = support.TESTFN
948
+ path = os.path.join(support.TESTFN, 'dir1')
949
+ f = open(path, 'w')
950
+ f.write('abc')
951
+ f.close()
952
+ self.assertRaises(OSError, os.makedirs, path)
953
+ self.assertRaises(OSError, os.makedirs, path, exist_ok=False)
954
+ self.assertRaises(OSError, os.makedirs, path, exist_ok=True)
955
+ os.remove(path)
956
+
957
+ def tearDown(self):
958
+ path = os.path.join(support.TESTFN, 'dir1', 'dir2', 'dir3',
959
+ 'dir4', 'dir5', 'dir6')
960
+ # If the tests failed, the bottom-most directory ('../dir6')
961
+ # may not have been created, so we look for the outermost directory
962
+ # that exists.
963
+ while not os.path.exists(path) and path != support.TESTFN:
964
+ path = os.path.dirname(path)
965
+
966
+ os.removedirs(path)
967
+
968
+
969
+ class RemoveDirsTests(unittest.TestCase):
970
+ def setUp(self):
971
+ os.makedirs(support.TESTFN)
972
+
973
+ def tearDown(self):
974
+ support.rmtree(support.TESTFN)
975
+
976
+ def test_remove_all(self):
977
+ dira = os.path.join(support.TESTFN, 'dira')
978
+ os.mkdir(dira)
979
+ dirb = os.path.join(dira, 'dirb')
980
+ os.mkdir(dirb)
981
+ os.removedirs(dirb)
982
+ self.assertFalse(os.path.exists(dirb))
983
+ self.assertFalse(os.path.exists(dira))
984
+ self.assertFalse(os.path.exists(support.TESTFN))
985
+
986
+ def test_remove_partial(self):
987
+ dira = os.path.join(support.TESTFN, 'dira')
988
+ os.mkdir(dira)
989
+ dirb = os.path.join(dira, 'dirb')
990
+ os.mkdir(dirb)
991
+ with open(os.path.join(dira, 'file.txt'), 'w') as f:
992
+ f.write('text')
993
+ os.removedirs(dirb)
994
+ self.assertFalse(os.path.exists(dirb))
995
+ self.assertTrue(os.path.exists(dira))
996
+ self.assertTrue(os.path.exists(support.TESTFN))
997
+
998
+ def test_remove_nothing(self):
999
+ dira = os.path.join(support.TESTFN, 'dira')
1000
+ os.mkdir(dira)
1001
+ dirb = os.path.join(dira, 'dirb')
1002
+ os.mkdir(dirb)
1003
+ with open(os.path.join(dirb, 'file.txt'), 'w') as f:
1004
+ f.write('text')
1005
+ with self.assertRaises(OSError):
1006
+ os.removedirs(dirb)
1007
+ self.assertTrue(os.path.exists(dirb))
1008
+ self.assertTrue(os.path.exists(dira))
1009
+ self.assertTrue(os.path.exists(support.TESTFN))
1010
+
1011
+
1012
+ class DevNullTests(unittest.TestCase):
1013
+ def test_devnull(self):
1014
+ with open(os.devnull, 'wb') as f:
1015
+ f.write(b'hello')
1016
+ f.close()
1017
+ with open(os.devnull, 'rb') as f:
1018
+ self.assertEqual(f.read(), b'')
1019
+
1020
+
1021
+ class URandomTests(unittest.TestCase):
1022
+ def test_urandom_length(self):
1023
+ self.assertEqual(len(os.urandom(0)), 0)
1024
+ self.assertEqual(len(os.urandom(1)), 1)
1025
+ self.assertEqual(len(os.urandom(10)), 10)
1026
+ self.assertEqual(len(os.urandom(100)), 100)
1027
+ self.assertEqual(len(os.urandom(1000)), 1000)
1028
+
1029
+ def test_urandom_value(self):
1030
+ data1 = os.urandom(16)
1031
+ data2 = os.urandom(16)
1032
+ self.assertNotEqual(data1, data2)
1033
+
1034
+ def get_urandom_subprocess(self, count):
1035
+ code = '\n'.join((
1036
+ 'import os, sys',
1037
+ 'data = os.urandom(%s)' % count,
1038
+ 'sys.stdout.buffer.write(data)',
1039
+ 'sys.stdout.buffer.flush()'))
1040
+ out = assert_python_ok('-c', code)
1041
+ stdout = out[1]
1042
+ self.assertEqual(len(stdout), 16)
1043
+ return stdout
1044
+
1045
+ def test_urandom_subprocess(self):
1046
+ data1 = self.get_urandom_subprocess(16)
1047
+ data2 = self.get_urandom_subprocess(16)
1048
+ self.assertNotEqual(data1, data2)
1049
+
1050
+ @unittest.skipUnless(resource, "test requires the resource module")
1051
+ def test_urandom_failure(self):
1052
+ # Check urandom() failing when it is not able to open /dev/random.
1053
+ # We spawn a new process to make the test more robust (if getrlimit()
1054
+ # failed to restore the file descriptor limit after this, the whole
1055
+ # test suite would crash; this actually happened on the OS X Tiger
1056
+ # buildbot).
1057
+ code = """if 1:
1058
+ import errno
1059
+ import os
1060
+ import resource
1061
+
1062
+ soft_limit, hard_limit = resource.getrlimit(resource.RLIMIT_NOFILE)
1063
+ resource.setrlimit(resource.RLIMIT_NOFILE, (1, hard_limit))
1064
+ try:
1065
+ os.urandom(16)
1066
+ except OSError as e:
1067
+ assert e.errno == errno.EMFILE, e.errno
1068
+ else:
1069
+ raise AssertionError("OSError not raised")
1070
+ """
1071
+ assert_python_ok('-c', code)
1072
+
1073
+ def test_urandom_fd_closed(self):
1074
+ # Issue #21207: urandom() should reopen its fd to /dev/urandom if
1075
+ # closed.
1076
+ code = """if 1:
1077
+ import os
1078
+ import sys
1079
+ os.urandom(4)
1080
+ os.closerange(3, 256)
1081
+ sys.stdout.buffer.write(os.urandom(4))
1082
+ """
1083
+ rc, out, err = assert_python_ok('-Sc', code)
1084
+
1085
+ def test_urandom_fd_reopened(self):
1086
+ # Issue #21207: urandom() should detect its fd to /dev/urandom
1087
+ # changed to something else, and reopen it.
1088
+ with open(support.TESTFN, 'wb') as f:
1089
+ f.write(b"x" * 256)
1090
+ self.addCleanup(os.unlink, support.TESTFN)
1091
+ code = """if 1:
1092
+ import os
1093
+ import sys
1094
+ os.urandom(4)
1095
+ for fd in range(3, 256):
1096
+ try:
1097
+ os.close(fd)
1098
+ except OSError:
1099
+ pass
1100
+ else:
1101
+ # Found the urandom fd (XXX hopefully)
1102
+ break
1103
+ os.closerange(3, 256)
1104
+ with open({TESTFN!r}, 'rb') as f:
1105
+ os.dup2(f.fileno(), fd)
1106
+ sys.stdout.buffer.write(os.urandom(4))
1107
+ sys.stdout.buffer.write(os.urandom(4))
1108
+ """.format(TESTFN=support.TESTFN)
1109
+ rc, out, err = assert_python_ok('-Sc', code)
1110
+ self.assertEqual(len(out), 8)
1111
+ self.assertNotEqual(out[0:4], out[4:8])
1112
+ rc, out2, err2 = assert_python_ok('-Sc', code)
1113
+ self.assertEqual(len(out2), 8)
1114
+ self.assertNotEqual(out2, out)
1115
+
1116
+
1117
+ @contextlib.contextmanager
1118
+ def _execvpe_mockup(defpath=None):
1119
+ """
1120
+ Stubs out execv and execve functions when used as context manager.
1121
+ Records exec calls. The mock execv and execve functions always raise an
1122
+ exception as they would normally never return.
1123
+ """
1124
+ # A list of tuples containing (function name, first arg, args)
1125
+ # of calls to execv or execve that have been made.
1126
+ calls = []
1127
+
1128
+ def mock_execv(name, *args):
1129
+ calls.append(('execv', name, args))
1130
+ raise RuntimeError("execv called")
1131
+
1132
+ def mock_execve(name, *args):
1133
+ calls.append(('execve', name, args))
1134
+ raise OSError(errno.ENOTDIR, "execve called")
1135
+
1136
+ try:
1137
+ orig_execv = os.execv
1138
+ orig_execve = os.execve
1139
+ orig_defpath = os.defpath
1140
+ os.execv = mock_execv
1141
+ os.execve = mock_execve
1142
+ if defpath is not None:
1143
+ os.defpath = defpath
1144
+ yield calls
1145
+ finally:
1146
+ os.execv = orig_execv
1147
+ os.execve = orig_execve
1148
+ os.defpath = orig_defpath
1149
+
1150
+ class ExecTests(unittest.TestCase):
1151
+ @unittest.skipIf(USING_LINUXTHREADS,
1152
+ "avoid triggering a linuxthreads bug: see issue #4970")
1153
+ def test_execvpe_with_bad_program(self):
1154
+ self.assertRaises(OSError, os.execvpe, 'no such app-',
1155
+ ['no such app-'], None)
1156
+
1157
+ def test_execvpe_with_bad_arglist(self):
1158
+ self.assertRaises(ValueError, os.execvpe, 'notepad', [], None)
1159
+
1160
+ @unittest.skipUnless(hasattr(os, '_execvpe'),
1161
+ "No internal os._execvpe function to test.")
1162
+ def _test_internal_execvpe(self, test_type):
1163
+ program_path = os.sep + 'absolutepath'
1164
+ if test_type is bytes:
1165
+ program = b'executable'
1166
+ fullpath = os.path.join(os.fsencode(program_path), program)
1167
+ native_fullpath = fullpath
1168
+ arguments = [b'progname', 'arg1', 'arg2']
1169
+ else:
1170
+ program = 'executable'
1171
+ arguments = ['progname', 'arg1', 'arg2']
1172
+ fullpath = os.path.join(program_path, program)
1173
+ if os.name != "nt":
1174
+ native_fullpath = os.fsencode(fullpath)
1175
+ else:
1176
+ native_fullpath = fullpath
1177
+ env = {'spam': 'beans'}
1178
+
1179
+ # test os._execvpe() with an absolute path
1180
+ with _execvpe_mockup() as calls:
1181
+ self.assertRaises(RuntimeError,
1182
+ os._execvpe, fullpath, arguments)
1183
+ self.assertEqual(len(calls), 1)
1184
+ self.assertEqual(calls[0], ('execv', fullpath, (arguments,)))
1185
+
1186
+ # test os._execvpe() with a relative path:
1187
+ # os.get_exec_path() returns defpath
1188
+ with _execvpe_mockup(defpath=program_path) as calls:
1189
+ self.assertRaises(OSError,
1190
+ os._execvpe, program, arguments, env=env)
1191
+ self.assertEqual(len(calls), 1)
1192
+ self.assertSequenceEqual(calls[0],
1193
+ ('execve', native_fullpath, (arguments, env)))
1194
+
1195
+ # test os._execvpe() with a relative path:
1196
+ # os.get_exec_path() reads the 'PATH' variable
1197
+ with _execvpe_mockup() as calls:
1198
+ env_path = env.copy()
1199
+ if test_type is bytes:
1200
+ env_path[b'PATH'] = program_path
1201
+ else:
1202
+ env_path['PATH'] = program_path
1203
+ self.assertRaises(OSError,
1204
+ os._execvpe, program, arguments, env=env_path)
1205
+ self.assertEqual(len(calls), 1)
1206
+ self.assertSequenceEqual(calls[0],
1207
+ ('execve', native_fullpath, (arguments, env_path)))
1208
+
1209
+ def test_internal_execvpe_str(self):
1210
+ self._test_internal_execvpe(str)
1211
+ if os.name != "nt":
1212
+ self._test_internal_execvpe(bytes)
1213
+
1214
+
1215
+ @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests")
1216
+ class Win32ErrorTests(unittest.TestCase):
1217
+ def test_rename(self):
1218
+ self.assertRaises(OSError, os.rename, support.TESTFN, support.TESTFN+".bak")
1219
+
1220
+ def test_remove(self):
1221
+ self.assertRaises(OSError, os.remove, support.TESTFN)
1222
+
1223
+ def test_chdir(self):
1224
+ self.assertRaises(OSError, os.chdir, support.TESTFN)
1225
+
1226
+ def test_mkdir(self):
1227
+ f = open(support.TESTFN, "w")
1228
+ try:
1229
+ self.assertRaises(OSError, os.mkdir, support.TESTFN)
1230
+ finally:
1231
+ f.close()
1232
+ os.unlink(support.TESTFN)
1233
+
1234
+ def test_utime(self):
1235
+ self.assertRaises(OSError, os.utime, support.TESTFN, None)
1236
+
1237
+ def test_chmod(self):
1238
+ self.assertRaises(OSError, os.chmod, support.TESTFN, 0)
1239
+
1240
+ class TestInvalidFD(unittest.TestCase):
1241
+ singles = ["fchdir", "dup", "fdopen", "fdatasync", "fstat",
1242
+ "fstatvfs", "fsync", "tcgetpgrp", "ttyname"]
1243
+ #singles.append("close")
1244
+ #We omit close because it doesn'r raise an exception on some platforms
1245
+ def get_single(f):
1246
+ def helper(self):
1247
+ if hasattr(os, f):
1248
+ self.check(getattr(os, f))
1249
+ return helper
1250
+ for f in singles:
1251
+ locals()["test_"+f] = get_single(f)
1252
+
1253
+ def check(self, f, *args):
1254
+ try:
1255
+ f(support.make_bad_fd(), *args)
1256
+ except OSError as e:
1257
+ self.assertEqual(e.errno, errno.EBADF)
1258
+ else:
1259
+ self.fail("%r didn't raise a OSError with a bad file descriptor"
1260
+ % f)
1261
+
1262
+ @unittest.skipUnless(hasattr(os, 'isatty'), 'test needs os.isatty()')
1263
+ def test_isatty(self):
1264
+ self.assertEqual(os.isatty(support.make_bad_fd()), False)
1265
+
1266
+ @unittest.skipUnless(hasattr(os, 'closerange'), 'test needs os.closerange()')
1267
+ def test_closerange(self):
1268
+ fd = support.make_bad_fd()
1269
+ # Make sure none of the descriptors we are about to close are
1270
+ # currently valid (issue 6542).
1271
+ for i in range(10):
1272
+ try: os.fstat(fd+i)
1273
+ except OSError:
1274
+ pass
1275
+ else:
1276
+ break
1277
+ if i < 2:
1278
+ raise unittest.SkipTest(
1279
+ "Unable to acquire a range of invalid file descriptors")
1280
+ self.assertEqual(os.closerange(fd, fd + i-1), None)
1281
+
1282
+ @unittest.skipUnless(hasattr(os, 'dup2'), 'test needs os.dup2()')
1283
+ def test_dup2(self):
1284
+ self.check(os.dup2, 20)
1285
+
1286
+ @unittest.skipUnless(hasattr(os, 'fchmod'), 'test needs os.fchmod()')
1287
+ def test_fchmod(self):
1288
+ self.check(os.fchmod, 0)
1289
+
1290
+ @unittest.skipUnless(hasattr(os, 'fchown'), 'test needs os.fchown()')
1291
+ def test_fchown(self):
1292
+ self.check(os.fchown, -1, -1)
1293
+
1294
+ @unittest.skipUnless(hasattr(os, 'fpathconf'), 'test needs os.fpathconf()')
1295
+ def test_fpathconf(self):
1296
+ self.check(os.pathconf, "PC_NAME_MAX")
1297
+ self.check(os.fpathconf, "PC_NAME_MAX")
1298
+
1299
+ @unittest.skipUnless(hasattr(os, 'ftruncate'), 'test needs os.ftruncate()')
1300
+ def test_ftruncate(self):
1301
+ self.check(os.truncate, 0)
1302
+ self.check(os.ftruncate, 0)
1303
+
1304
+ @unittest.skipUnless(hasattr(os, 'lseek'), 'test needs os.lseek()')
1305
+ def test_lseek(self):
1306
+ self.check(os.lseek, 0, 0)
1307
+
1308
+ @unittest.skipUnless(hasattr(os, 'read'), 'test needs os.read()')
1309
+ def test_read(self):
1310
+ self.check(os.read, 1)
1311
+
1312
+ @unittest.skipUnless(hasattr(os, 'readv'), 'test needs os.readv()')
1313
+ def test_readv(self):
1314
+ buf = bytearray(10)
1315
+ self.check(os.readv, [buf])
1316
+
1317
+ @unittest.skipUnless(hasattr(os, 'tcsetpgrp'), 'test needs os.tcsetpgrp()')
1318
+ def test_tcsetpgrpt(self):
1319
+ self.check(os.tcsetpgrp, 0)
1320
+
1321
+ @unittest.skipUnless(hasattr(os, 'write'), 'test needs os.write()')
1322
+ def test_write(self):
1323
+ self.check(os.write, b" ")
1324
+
1325
+ @unittest.skipUnless(hasattr(os, 'writev'), 'test needs os.writev()')
1326
+ def test_writev(self):
1327
+ self.check(os.writev, [b'abc'])
1328
+
1329
+
1330
+ class LinkTests(unittest.TestCase):
1331
+ def setUp(self):
1332
+ self.file1 = support.TESTFN
1333
+ self.file2 = os.path.join(support.TESTFN + "2")
1334
+
1335
+ def tearDown(self):
1336
+ for file in (self.file1, self.file2):
1337
+ if os.path.exists(file):
1338
+ os.unlink(file)
1339
+
1340
+ def _test_link(self, file1, file2):
1341
+ with open(file1, "w") as f1:
1342
+ f1.write("test")
1343
+
1344
+ with warnings.catch_warnings():
1345
+ warnings.simplefilter("ignore", DeprecationWarning)
1346
+ os.link(file1, file2)
1347
+ with open(file1, "r") as f1, open(file2, "r") as f2:
1348
+ self.assertTrue(os.path.sameopenfile(f1.fileno(), f2.fileno()))
1349
+
1350
+ def test_link(self):
1351
+ self._test_link(self.file1, self.file2)
1352
+
1353
+ def test_link_bytes(self):
1354
+ self._test_link(bytes(self.file1, sys.getfilesystemencoding()),
1355
+ bytes(self.file2, sys.getfilesystemencoding()))
1356
+
1357
+ def test_unicode_name(self):
1358
+ try:
1359
+ os.fsencode("\xf1")
1360
+ except UnicodeError:
1361
+ raise unittest.SkipTest("Unable to encode for this platform.")
1362
+
1363
+ self.file1 += "\xf1"
1364
+ self.file2 = self.file1 + "2"
1365
+ self._test_link(self.file1, self.file2)
1366
+
1367
+ @unittest.skipIf(sys.platform == "win32", "Posix specific tests")
1368
+ class PosixUidGidTests(unittest.TestCase):
1369
+ @unittest.skipUnless(hasattr(os, 'setuid'), 'test needs os.setuid()')
1370
+ def test_setuid(self):
1371
+ if os.getuid() != 0:
1372
+ self.assertRaises(OSError, os.setuid, 0)
1373
+ self.assertRaises(OverflowError, os.setuid, 1<<32)
1374
+
1375
+ @unittest.skipUnless(hasattr(os, 'setgid'), 'test needs os.setgid()')
1376
+ def test_setgid(self):
1377
+ if os.getuid() != 0 and not HAVE_WHEEL_GROUP:
1378
+ self.assertRaises(OSError, os.setgid, 0)
1379
+ self.assertRaises(OverflowError, os.setgid, 1<<32)
1380
+
1381
+ @unittest.skipUnless(hasattr(os, 'seteuid'), 'test needs os.seteuid()')
1382
+ def test_seteuid(self):
1383
+ if os.getuid() != 0:
1384
+ self.assertRaises(OSError, os.seteuid, 0)
1385
+ self.assertRaises(OverflowError, os.seteuid, 1<<32)
1386
+
1387
+ @unittest.skipUnless(hasattr(os, 'setegid'), 'test needs os.setegid()')
1388
+ def test_setegid(self):
1389
+ if os.getuid() != 0 and not HAVE_WHEEL_GROUP:
1390
+ self.assertRaises(OSError, os.setegid, 0)
1391
+ self.assertRaises(OverflowError, os.setegid, 1<<32)
1392
+
1393
+ @unittest.skipUnless(hasattr(os, 'setreuid'), 'test needs os.setreuid()')
1394
+ def test_setreuid(self):
1395
+ if os.getuid() != 0:
1396
+ self.assertRaises(OSError, os.setreuid, 0, 0)
1397
+ self.assertRaises(OverflowError, os.setreuid, 1<<32, 0)
1398
+ self.assertRaises(OverflowError, os.setreuid, 0, 1<<32)
1399
+
1400
+ @unittest.skipUnless(hasattr(os, 'setreuid'), 'test needs os.setreuid()')
1401
+ def test_setreuid_neg1(self):
1402
+ # Needs to accept -1. We run this in a subprocess to avoid
1403
+ # altering the test runner's process state (issue8045).
1404
+ subprocess.check_call([
1405
+ sys.executable, '-c',
1406
+ 'import os,sys;os.setreuid(-1,-1);sys.exit(0)'])
1407
+
1408
+ @unittest.skipUnless(hasattr(os, 'setregid'), 'test needs os.setregid()')
1409
+ def test_setregid(self):
1410
+ if os.getuid() != 0 and not HAVE_WHEEL_GROUP:
1411
+ self.assertRaises(OSError, os.setregid, 0, 0)
1412
+ self.assertRaises(OverflowError, os.setregid, 1<<32, 0)
1413
+ self.assertRaises(OverflowError, os.setregid, 0, 1<<32)
1414
+
1415
+ @unittest.skipUnless(hasattr(os, 'setregid'), 'test needs os.setregid()')
1416
+ def test_setregid_neg1(self):
1417
+ # Needs to accept -1. We run this in a subprocess to avoid
1418
+ # altering the test runner's process state (issue8045).
1419
+ subprocess.check_call([
1420
+ sys.executable, '-c',
1421
+ 'import os,sys;os.setregid(-1,-1);sys.exit(0)'])
1422
+
1423
+ @unittest.skipIf(sys.platform == "win32", "Posix specific tests")
1424
+ class Pep383Tests(unittest.TestCase):
1425
+ def setUp(self):
1426
+ if support.TESTFN_UNENCODABLE:
1427
+ self.dir = support.TESTFN_UNENCODABLE
1428
+ elif support.TESTFN_NONASCII:
1429
+ self.dir = support.TESTFN_NONASCII
1430
+ else:
1431
+ self.dir = support.TESTFN
1432
+ self.bdir = os.fsencode(self.dir)
1433
+
1434
+ bytesfn = []
1435
+ def add_filename(fn):
1436
+ try:
1437
+ fn = os.fsencode(fn)
1438
+ except UnicodeEncodeError:
1439
+ return
1440
+ bytesfn.append(fn)
1441
+ add_filename(support.TESTFN_UNICODE)
1442
+ if support.TESTFN_UNENCODABLE:
1443
+ add_filename(support.TESTFN_UNENCODABLE)
1444
+ if support.TESTFN_NONASCII:
1445
+ add_filename(support.TESTFN_NONASCII)
1446
+ if not bytesfn:
1447
+ self.skipTest("couldn't create any non-ascii filename")
1448
+
1449
+ self.unicodefn = set()
1450
+ os.mkdir(self.dir)
1451
+ try:
1452
+ for fn in bytesfn:
1453
+ support.create_empty_file(os.path.join(self.bdir, fn))
1454
+ fn = os.fsdecode(fn)
1455
+ if fn in self.unicodefn:
1456
+ raise ValueError("duplicate filename")
1457
+ self.unicodefn.add(fn)
1458
+ except:
1459
+ shutil.rmtree(self.dir)
1460
+ raise
1461
+
1462
+ def tearDown(self):
1463
+ shutil.rmtree(self.dir)
1464
+
1465
+ def test_listdir(self):
1466
+ expected = self.unicodefn
1467
+ found = set(os.listdir(self.dir))
1468
+ self.assertEqual(found, expected)
1469
+ # test listdir without arguments
1470
+ current_directory = os.getcwd()
1471
+ try:
1472
+ os.chdir(os.sep)
1473
+ self.assertEqual(set(os.listdir()), set(os.listdir(os.sep)))
1474
+ finally:
1475
+ os.chdir(current_directory)
1476
+
1477
+ def test_open(self):
1478
+ for fn in self.unicodefn:
1479
+ f = open(os.path.join(self.dir, fn), 'rb')
1480
+ f.close()
1481
+
1482
+ @unittest.skipUnless(hasattr(os, 'statvfs'),
1483
+ "need os.statvfs()")
1484
+ def test_statvfs(self):
1485
+ # issue #9645
1486
+ for fn in self.unicodefn:
1487
+ # should not fail with file not found error
1488
+ fullname = os.path.join(self.dir, fn)
1489
+ os.statvfs(fullname)
1490
+
1491
+ def test_stat(self):
1492
+ for fn in self.unicodefn:
1493
+ os.stat(os.path.join(self.dir, fn))
1494
+
1495
+ @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests")
1496
+ class Win32KillTests(unittest.TestCase):
1497
+ def _kill(self, sig):
1498
+ # Start sys.executable as a subprocess and communicate from the
1499
+ # subprocess to the parent that the interpreter is ready. When it
1500
+ # becomes ready, send *sig* via os.kill to the subprocess and check
1501
+ # that the return code is equal to *sig*.
1502
+ import ctypes
1503
+ from ctypes import wintypes
1504
+ import msvcrt
1505
+
1506
+ # Since we can't access the contents of the process' stdout until the
1507
+ # process has exited, use PeekNamedPipe to see what's inside stdout
1508
+ # without waiting. This is done so we can tell that the interpreter
1509
+ # is started and running at a point where it could handle a signal.
1510
+ PeekNamedPipe = ctypes.windll.kernel32.PeekNamedPipe
1511
+ PeekNamedPipe.restype = wintypes.BOOL
1512
+ PeekNamedPipe.argtypes = (wintypes.HANDLE, # Pipe handle
1513
+ ctypes.POINTER(ctypes.c_char), # stdout buf
1514
+ wintypes.DWORD, # Buffer size
1515
+ ctypes.POINTER(wintypes.DWORD), # bytes read
1516
+ ctypes.POINTER(wintypes.DWORD), # bytes avail
1517
+ ctypes.POINTER(wintypes.DWORD)) # bytes left
1518
+ msg = "running"
1519
+ proc = subprocess.Popen([sys.executable, "-c",
1520
+ "import sys;"
1521
+ "sys.stdout.write('{}');"
1522
+ "sys.stdout.flush();"
1523
+ "input()".format(msg)],
1524
+ stdout=subprocess.PIPE,
1525
+ stderr=subprocess.PIPE,
1526
+ stdin=subprocess.PIPE)
1527
+ self.addCleanup(proc.stdout.close)
1528
+ self.addCleanup(proc.stderr.close)
1529
+ self.addCleanup(proc.stdin.close)
1530
+
1531
+ count, max = 0, 100
1532
+ while count < max and proc.poll() is None:
1533
+ # Create a string buffer to store the result of stdout from the pipe
1534
+ buf = ctypes.create_string_buffer(len(msg))
1535
+ # Obtain the text currently in proc.stdout
1536
+ # Bytes read/avail/left are left as NULL and unused
1537
+ rslt = PeekNamedPipe(msvcrt.get_osfhandle(proc.stdout.fileno()),
1538
+ buf, ctypes.sizeof(buf), None, None, None)
1539
+ self.assertNotEqual(rslt, 0, "PeekNamedPipe failed")
1540
+ if buf.value:
1541
+ self.assertEqual(msg, buf.value.decode())
1542
+ break
1543
+ time.sleep(0.1)
1544
+ count += 1
1545
+ else:
1546
+ self.fail("Did not receive communication from the subprocess")
1547
+
1548
+ os.kill(proc.pid, sig)
1549
+ self.assertEqual(proc.wait(), sig)
1550
+
1551
+ def test_kill_sigterm(self):
1552
+ # SIGTERM doesn't mean anything special, but make sure it works
1553
+ self._kill(signal.SIGTERM)
1554
+
1555
+ def test_kill_int(self):
1556
+ # os.kill on Windows can take an int which gets set as the exit code
1557
+ self._kill(100)
1558
+
1559
+ def _kill_with_event(self, event, name):
1560
+ tagname = "test_os_%s" % uuid.uuid1()
1561
+ m = mmap.mmap(-1, 1, tagname)
1562
+ m[0] = 0
1563
+ # Run a script which has console control handling enabled.
1564
+ proc = subprocess.Popen([sys.executable,
1565
+ os.path.join(os.path.dirname(__file__),
1566
+ "win_console_handler.py"), tagname],
1567
+ creationflags=subprocess.CREATE_NEW_PROCESS_GROUP)
1568
+ # Let the interpreter startup before we send signals. See #3137.
1569
+ count, max = 0, 100
1570
+ while count < max and proc.poll() is None:
1571
+ if m[0] == 1:
1572
+ break
1573
+ time.sleep(0.1)
1574
+ count += 1
1575
+ else:
1576
+ # Forcefully kill the process if we weren't able to signal it.
1577
+ os.kill(proc.pid, signal.SIGINT)
1578
+ self.fail("Subprocess didn't finish initialization")
1579
+ os.kill(proc.pid, event)
1580
+ # proc.send_signal(event) could also be done here.
1581
+ # Allow time for the signal to be passed and the process to exit.
1582
+ time.sleep(0.5)
1583
+ if not proc.poll():
1584
+ # Forcefully kill the process if we weren't able to signal it.
1585
+ os.kill(proc.pid, signal.SIGINT)
1586
+ self.fail("subprocess did not stop on {}".format(name))
1587
+
1588
+ @unittest.skip("subprocesses aren't inheriting CTRL+C property")
1589
+ def test_CTRL_C_EVENT(self):
1590
+ from ctypes import wintypes
1591
+ import ctypes
1592
+
1593
+ # Make a NULL value by creating a pointer with no argument.
1594
+ NULL = ctypes.POINTER(ctypes.c_int)()
1595
+ SetConsoleCtrlHandler = ctypes.windll.kernel32.SetConsoleCtrlHandler
1596
+ SetConsoleCtrlHandler.argtypes = (ctypes.POINTER(ctypes.c_int),
1597
+ wintypes.BOOL)
1598
+ SetConsoleCtrlHandler.restype = wintypes.BOOL
1599
+
1600
+ # Calling this with NULL and FALSE causes the calling process to
1601
+ # handle CTRL+C, rather than ignore it. This property is inherited
1602
+ # by subprocesses.
1603
+ SetConsoleCtrlHandler(NULL, 0)
1604
+
1605
+ self._kill_with_event(signal.CTRL_C_EVENT, "CTRL_C_EVENT")
1606
+
1607
+ def test_CTRL_BREAK_EVENT(self):
1608
+ self._kill_with_event(signal.CTRL_BREAK_EVENT, "CTRL_BREAK_EVENT")
1609
+
1610
+
1611
+ @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests")
1612
+ class Win32ListdirTests(unittest.TestCase):
1613
+ """Test listdir on Windows."""
1614
+
1615
+ def setUp(self):
1616
+ self.created_paths = []
1617
+ for i in range(2):
1618
+ dir_name = 'SUB%d' % i
1619
+ dir_path = os.path.join(support.TESTFN, dir_name)
1620
+ file_name = 'FILE%d' % i
1621
+ file_path = os.path.join(support.TESTFN, file_name)
1622
+ os.makedirs(dir_path)
1623
+ with open(file_path, 'w') as f:
1624
+ f.write("I'm %s and proud of it. Blame test_os.\n" % file_path)
1625
+ self.created_paths.extend([dir_name, file_name])
1626
+ self.created_paths.sort()
1627
+
1628
+ def tearDown(self):
1629
+ shutil.rmtree(support.TESTFN)
1630
+
1631
+ def test_listdir_no_extended_path(self):
1632
+ """Test when the path is not an "extended" path."""
1633
+ # unicode
1634
+ self.assertEqual(
1635
+ sorted(os.listdir(support.TESTFN)),
1636
+ self.created_paths)
1637
+ # bytes
1638
+ self.assertEqual(
1639
+ sorted(os.listdir(os.fsencode(support.TESTFN))),
1640
+ [os.fsencode(path) for path in self.created_paths])
1641
+
1642
+ def test_listdir_extended_path(self):
1643
+ """Test when the path starts with '\\\\?\\'."""
1644
+ # See: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#maxpath
1645
+ # unicode
1646
+ path = '\\\\?\\' + os.path.abspath(support.TESTFN)
1647
+ self.assertEqual(
1648
+ sorted(os.listdir(path)),
1649
+ self.created_paths)
1650
+ # bytes
1651
+ path = b'\\\\?\\' + os.fsencode(os.path.abspath(support.TESTFN))
1652
+ self.assertEqual(
1653
+ sorted(os.listdir(path)),
1654
+ [os.fsencode(path) for path in self.created_paths])
1655
+
1656
+
1657
+ @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests")
1658
+ @support.skip_unless_symlink
1659
+ class Win32SymlinkTests(unittest.TestCase):
1660
+ filelink = 'filelinktest'
1661
+ filelink_target = os.path.abspath(__file__)
1662
+ dirlink = 'dirlinktest'
1663
+ dirlink_target = os.path.dirname(filelink_target)
1664
+ missing_link = 'missing link'
1665
+
1666
+ def setUp(self):
1667
+ assert os.path.exists(self.dirlink_target)
1668
+ assert os.path.exists(self.filelink_target)
1669
+ assert not os.path.exists(self.dirlink)
1670
+ assert not os.path.exists(self.filelink)
1671
+ assert not os.path.exists(self.missing_link)
1672
+
1673
+ def tearDown(self):
1674
+ if os.path.exists(self.filelink):
1675
+ os.remove(self.filelink)
1676
+ if os.path.exists(self.dirlink):
1677
+ os.rmdir(self.dirlink)
1678
+ if os.path.lexists(self.missing_link):
1679
+ os.remove(self.missing_link)
1680
+
1681
+ def test_directory_link(self):
1682
+ os.symlink(self.dirlink_target, self.dirlink)
1683
+ self.assertTrue(os.path.exists(self.dirlink))
1684
+ self.assertTrue(os.path.isdir(self.dirlink))
1685
+ self.assertTrue(os.path.islink(self.dirlink))
1686
+ self.check_stat(self.dirlink, self.dirlink_target)
1687
+
1688
+ def test_file_link(self):
1689
+ os.symlink(self.filelink_target, self.filelink)
1690
+ self.assertTrue(os.path.exists(self.filelink))
1691
+ self.assertTrue(os.path.isfile(self.filelink))
1692
+ self.assertTrue(os.path.islink(self.filelink))
1693
+ self.check_stat(self.filelink, self.filelink_target)
1694
+
1695
+ def _create_missing_dir_link(self):
1696
+ 'Create a "directory" link to a non-existent target'
1697
+ linkname = self.missing_link
1698
+ if os.path.lexists(linkname):
1699
+ os.remove(linkname)
1700
+ target = r'c:\\target does not exist.29r3c740'
1701
+ assert not os.path.exists(target)
1702
+ target_is_dir = True
1703
+ os.symlink(target, linkname, target_is_dir)
1704
+
1705
+ def test_remove_directory_link_to_missing_target(self):
1706
+ self._create_missing_dir_link()
1707
+ # For compatibility with Unix, os.remove will check the
1708
+ # directory status and call RemoveDirectory if the symlink
1709
+ # was created with target_is_dir==True.
1710
+ os.remove(self.missing_link)
1711
+
1712
+ @unittest.skip("currently fails; consider for improvement")
1713
+ def test_isdir_on_directory_link_to_missing_target(self):
1714
+ self._create_missing_dir_link()
1715
+ # consider having isdir return true for directory links
1716
+ self.assertTrue(os.path.isdir(self.missing_link))
1717
+
1718
+ @unittest.skip("currently fails; consider for improvement")
1719
+ def test_rmdir_on_directory_link_to_missing_target(self):
1720
+ self._create_missing_dir_link()
1721
+ # consider allowing rmdir to remove directory links
1722
+ os.rmdir(self.missing_link)
1723
+
1724
+ def check_stat(self, link, target):
1725
+ self.assertEqual(os.stat(link), os.stat(target))
1726
+ self.assertNotEqual(os.lstat(link), os.stat(link))
1727
+
1728
+ bytes_link = os.fsencode(link)
1729
+ with warnings.catch_warnings():
1730
+ warnings.simplefilter("ignore", DeprecationWarning)
1731
+ self.assertEqual(os.stat(bytes_link), os.stat(target))
1732
+ self.assertNotEqual(os.lstat(bytes_link), os.stat(bytes_link))
1733
+
1734
+ def test_12084(self):
1735
+ level1 = os.path.abspath(support.TESTFN)
1736
+ level2 = os.path.join(level1, "level2")
1737
+ level3 = os.path.join(level2, "level3")
1738
+ try:
1739
+ os.mkdir(level1)
1740
+ os.mkdir(level2)
1741
+ os.mkdir(level3)
1742
+
1743
+ file1 = os.path.abspath(os.path.join(level1, "file1"))
1744
+
1745
+ with open(file1, "w") as f:
1746
+ f.write("file1")
1747
+
1748
+ orig_dir = os.getcwd()
1749
+ try:
1750
+ os.chdir(level2)
1751
+ link = os.path.join(level2, "link")
1752
+ os.symlink(os.path.relpath(file1), "link")
1753
+ self.assertIn("link", os.listdir(os.getcwd()))
1754
+
1755
+ # Check os.stat calls from the same dir as the link
1756
+ self.assertEqual(os.stat(file1), os.stat("link"))
1757
+
1758
+ # Check os.stat calls from a dir below the link
1759
+ os.chdir(level1)
1760
+ self.assertEqual(os.stat(file1),
1761
+ os.stat(os.path.relpath(link)))
1762
+
1763
+ # Check os.stat calls from a dir above the link
1764
+ os.chdir(level3)
1765
+ self.assertEqual(os.stat(file1),
1766
+ os.stat(os.path.relpath(link)))
1767
+ finally:
1768
+ os.chdir(orig_dir)
1769
+ except OSError as err:
1770
+ self.fail(err)
1771
+ finally:
1772
+ os.remove(file1)
1773
+ shutil.rmtree(level1)
1774
+
1775
+
1776
+ @support.skip_unless_symlink
1777
+ class NonLocalSymlinkTests(unittest.TestCase):
1778
+
1779
+ def setUp(self):
1780
+ """
1781
+ Create this structure:
1782
+
1783
+ base
1784
+ \___ some_dir
1785
+ """
1786
+ os.makedirs('base/some_dir')
1787
+
1788
+ def tearDown(self):
1789
+ shutil.rmtree('base')
1790
+
1791
+ def test_directory_link_nonlocal(self):
1792
+ """
1793
+ The symlink target should resolve relative to the link, not relative
1794
+ to the current directory.
1795
+
1796
+ Then, link base/some_link -> base/some_dir and ensure that some_link
1797
+ is resolved as a directory.
1798
+
1799
+ In issue13772, it was discovered that directory detection failed if
1800
+ the symlink target was not specified relative to the current
1801
+ directory, which was a defect in the implementation.
1802
+ """
1803
+ src = os.path.join('base', 'some_link')
1804
+ os.symlink('some_dir', src)
1805
+ assert os.path.isdir(src)
1806
+
1807
+
1808
+ class FSEncodingTests(unittest.TestCase):
1809
+ def test_nop(self):
1810
+ self.assertEqual(os.fsencode(b'abc\xff'), b'abc\xff')
1811
+ self.assertEqual(os.fsdecode('abc\u0141'), 'abc\u0141')
1812
+
1813
+ def test_identity(self):
1814
+ # assert fsdecode(fsencode(x)) == x
1815
+ for fn in ('unicode\u0141', 'latin\xe9', 'ascii'):
1816
+ try:
1817
+ bytesfn = os.fsencode(fn)
1818
+ except UnicodeEncodeError:
1819
+ continue
1820
+ self.assertEqual(os.fsdecode(bytesfn), fn)
1821
+
1822
+
1823
+
1824
+ class DeviceEncodingTests(unittest.TestCase):
1825
+
1826
+ def test_bad_fd(self):
1827
+ # Return None when an fd doesn't actually exist.
1828
+ self.assertIsNone(os.device_encoding(123456))
1829
+
1830
+ @unittest.skipUnless(os.isatty(0) and (sys.platform.startswith('win') or
1831
+ (hasattr(locale, 'nl_langinfo') and hasattr(locale, 'CODESET'))),
1832
+ 'test requires a tty and either Windows or nl_langinfo(CODESET)')
1833
+ def test_device_encoding(self):
1834
+ encoding = os.device_encoding(0)
1835
+ self.assertIsNotNone(encoding)
1836
+ self.assertTrue(codecs.lookup(encoding))
1837
+
1838
+
1839
+ class PidTests(unittest.TestCase):
1840
+ @unittest.skipUnless(hasattr(os, 'getppid'), "test needs os.getppid")
1841
+ def test_getppid(self):
1842
+ p = subprocess.Popen([sys.executable, '-c',
1843
+ 'import os; print(os.getppid())'],
1844
+ stdout=subprocess.PIPE)
1845
+ stdout, _ = p.communicate()
1846
+ # We are the parent of our subprocess
1847
+ self.assertEqual(int(stdout), os.getpid())
1848
+
1849
+
1850
+ # The introduction of this TestCase caused at least two different errors on
1851
+ # *nix buildbots. Temporarily skip this to let the buildbots move along.
1852
+ @unittest.skip("Skip due to platform/environment differences on *NIX buildbots")
1853
+ @unittest.skipUnless(hasattr(os, 'getlogin'), "test needs os.getlogin")
1854
+ class LoginTests(unittest.TestCase):
1855
+ def test_getlogin(self):
1856
+ user_name = os.getlogin()
1857
+ self.assertNotEqual(len(user_name), 0)
1858
+
1859
+
1860
+ @unittest.skipUnless(hasattr(os, 'getpriority') and hasattr(os, 'setpriority'),
1861
+ "needs os.getpriority and os.setpriority")
1862
+ class ProgramPriorityTests(unittest.TestCase):
1863
+ """Tests for os.getpriority() and os.setpriority()."""
1864
+
1865
+ def test_set_get_priority(self):
1866
+
1867
+ base = os.getpriority(os.PRIO_PROCESS, os.getpid())
1868
+ os.setpriority(os.PRIO_PROCESS, os.getpid(), base + 1)
1869
+ try:
1870
+ new_prio = os.getpriority(os.PRIO_PROCESS, os.getpid())
1871
+ if base >= 19 and new_prio <= 19:
1872
+ raise unittest.SkipTest(
1873
+ "unable to reliably test setpriority at current nice level of %s" % base)
1874
+ else:
1875
+ self.assertEqual(new_prio, base + 1)
1876
+ finally:
1877
+ try:
1878
+ os.setpriority(os.PRIO_PROCESS, os.getpid(), base)
1879
+ except OSError as err:
1880
+ if err.errno != errno.EACCES:
1881
+ raise
1882
+
1883
+
1884
+ if threading is not None:
1885
+ class SendfileTestServer(asyncore.dispatcher, threading.Thread):
1886
+
1887
+ class Handler(asynchat.async_chat):
1888
+
1889
+ def __init__(self, conn):
1890
+ asynchat.async_chat.__init__(self, conn)
1891
+ self.in_buffer = []
1892
+ self.closed = False
1893
+ self.push(b"220 ready\r\n")
1894
+
1895
+ def handle_read(self):
1896
+ data = self.recv(4096)
1897
+ self.in_buffer.append(data)
1898
+
1899
+ def get_data(self):
1900
+ return b''.join(self.in_buffer)
1901
+
1902
+ def handle_close(self):
1903
+ self.close()
1904
+ self.closed = True
1905
+
1906
+ def handle_error(self):
1907
+ raise
1908
+
1909
+ def __init__(self, address):
1910
+ threading.Thread.__init__(self)
1911
+ asyncore.dispatcher.__init__(self)
1912
+ self.create_socket(socket.AF_INET, socket.SOCK_STREAM)
1913
+ self.bind(address)
1914
+ self.listen(5)
1915
+ self.host, self.port = self.socket.getsockname()[:2]
1916
+ self.handler_instance = None
1917
+ self._active = False
1918
+ self._active_lock = threading.Lock()
1919
+
1920
+ # --- public API
1921
+
1922
+ @property
1923
+ def running(self):
1924
+ return self._active
1925
+
1926
+ def start(self):
1927
+ assert not self.running
1928
+ self.__flag = threading.Event()
1929
+ threading.Thread.start(self)
1930
+ self.__flag.wait()
1931
+
1932
+ def stop(self):
1933
+ assert self.running
1934
+ self._active = False
1935
+ self.join()
1936
+
1937
+ def wait(self):
1938
+ # wait for handler connection to be closed, then stop the server
1939
+ while not getattr(self.handler_instance, "closed", False):
1940
+ time.sleep(0.001)
1941
+ self.stop()
1942
+
1943
+ # --- internals
1944
+
1945
+ def run(self):
1946
+ self._active = True
1947
+ self.__flag.set()
1948
+ while self._active and asyncore.socket_map:
1949
+ self._active_lock.acquire()
1950
+ asyncore.loop(timeout=0.001, count=1)
1951
+ self._active_lock.release()
1952
+ asyncore.close_all()
1953
+
1954
+ def handle_accept(self):
1955
+ conn, addr = self.accept()
1956
+ self.handler_instance = self.Handler(conn)
1957
+
1958
+ def handle_connect(self):
1959
+ self.close()
1960
+ handle_read = handle_connect
1961
+
1962
+ def writable(self):
1963
+ return 0
1964
+
1965
+ def handle_error(self):
1966
+ raise
1967
+
1968
+
1969
+ @unittest.skipUnless(threading is not None, "test needs threading module")
1970
+ @unittest.skipUnless(hasattr(os, 'sendfile'), "test needs os.sendfile()")
1971
+ class TestSendfile(unittest.TestCase):
1972
+
1973
+ DATA = b"12345abcde" * 16 * 1024 # 160 KB
1974
+ SUPPORT_HEADERS_TRAILERS = not sys.platform.startswith("linux") and \
1975
+ not sys.platform.startswith("solaris") and \
1976
+ not sys.platform.startswith("sunos")
1977
+ requires_headers_trailers = unittest.skipUnless(SUPPORT_HEADERS_TRAILERS,
1978
+ 'requires headers and trailers support')
1979
+
1980
+ @classmethod
1981
+ def setUpClass(cls):
1982
+ with open(support.TESTFN, "wb") as f:
1983
+ f.write(cls.DATA)
1984
+
1985
+ @classmethod
1986
+ def tearDownClass(cls):
1987
+ support.unlink(support.TESTFN)
1988
+
1989
+ def setUp(self):
1990
+ self.server = SendfileTestServer((support.HOST, 0))
1991
+ self.server.start()
1992
+ self.client = socket.socket()
1993
+ self.client.connect((self.server.host, self.server.port))
1994
+ self.client.settimeout(1)
1995
+ # synchronize by waiting for "220 ready" response
1996
+ self.client.recv(1024)
1997
+ self.sockno = self.client.fileno()
1998
+ self.file = open(support.TESTFN, 'rb')
1999
+ self.fileno = self.file.fileno()
2000
+
2001
+ def tearDown(self):
2002
+ self.file.close()
2003
+ self.client.close()
2004
+ if self.server.running:
2005
+ self.server.stop()
2006
+
2007
+ def sendfile_wrapper(self, sock, file, offset, nbytes, headers=[], trailers=[]):
2008
+ """A higher level wrapper representing how an application is
2009
+ supposed to use sendfile().
2010
+ """
2011
+ while 1:
2012
+ try:
2013
+ if self.SUPPORT_HEADERS_TRAILERS:
2014
+ return os.sendfile(sock, file, offset, nbytes, headers,
2015
+ trailers)
2016
+ else:
2017
+ return os.sendfile(sock, file, offset, nbytes)
2018
+ except OSError as err:
2019
+ if err.errno == errno.ECONNRESET:
2020
+ # disconnected
2021
+ raise
2022
+ elif err.errno in (errno.EAGAIN, errno.EBUSY):
2023
+ # we have to retry send data
2024
+ continue
2025
+ else:
2026
+ raise
2027
+
2028
+ def test_send_whole_file(self):
2029
+ # normal send
2030
+ total_sent = 0
2031
+ offset = 0
2032
+ nbytes = 4096
2033
+ while total_sent < len(self.DATA):
2034
+ sent = self.sendfile_wrapper(self.sockno, self.fileno, offset, nbytes)
2035
+ if sent == 0:
2036
+ break
2037
+ offset += sent
2038
+ total_sent += sent
2039
+ self.assertTrue(sent <= nbytes)
2040
+ self.assertEqual(offset, total_sent)
2041
+
2042
+ self.assertEqual(total_sent, len(self.DATA))
2043
+ self.client.shutdown(socket.SHUT_RDWR)
2044
+ self.client.close()
2045
+ self.server.wait()
2046
+ data = self.server.handler_instance.get_data()
2047
+ self.assertEqual(len(data), len(self.DATA))
2048
+ self.assertEqual(data, self.DATA)
2049
+
2050
+ def test_send_at_certain_offset(self):
2051
+ # start sending a file at a certain offset
2052
+ total_sent = 0
2053
+ offset = len(self.DATA) // 2
2054
+ must_send = len(self.DATA) - offset
2055
+ nbytes = 4096
2056
+ while total_sent < must_send:
2057
+ sent = self.sendfile_wrapper(self.sockno, self.fileno, offset, nbytes)
2058
+ if sent == 0:
2059
+ break
2060
+ offset += sent
2061
+ total_sent += sent
2062
+ self.assertTrue(sent <= nbytes)
2063
+
2064
+ self.client.shutdown(socket.SHUT_RDWR)
2065
+ self.client.close()
2066
+ self.server.wait()
2067
+ data = self.server.handler_instance.get_data()
2068
+ expected = self.DATA[len(self.DATA) // 2:]
2069
+ self.assertEqual(total_sent, len(expected))
2070
+ self.assertEqual(len(data), len(expected))
2071
+ self.assertEqual(data, expected)
2072
+
2073
+ def test_offset_overflow(self):
2074
+ # specify an offset > file size
2075
+ offset = len(self.DATA) + 4096
2076
+ try:
2077
+ sent = os.sendfile(self.sockno, self.fileno, offset, 4096)
2078
+ except OSError as e:
2079
+ # Solaris can raise EINVAL if offset >= file length, ignore.
2080
+ if e.errno != errno.EINVAL:
2081
+ raise
2082
+ else:
2083
+ self.assertEqual(sent, 0)
2084
+ self.client.shutdown(socket.SHUT_RDWR)
2085
+ self.client.close()
2086
+ self.server.wait()
2087
+ data = self.server.handler_instance.get_data()
2088
+ self.assertEqual(data, b'')
2089
+
2090
+ def test_invalid_offset(self):
2091
+ with self.assertRaises(OSError) as cm:
2092
+ os.sendfile(self.sockno, self.fileno, -1, 4096)
2093
+ self.assertEqual(cm.exception.errno, errno.EINVAL)
2094
+
2095
+ # --- headers / trailers tests
2096
+
2097
+ @requires_headers_trailers
2098
+ def test_headers(self):
2099
+ total_sent = 0
2100
+ sent = os.sendfile(self.sockno, self.fileno, 0, 4096,
2101
+ headers=[b"x" * 512])
2102
+ total_sent += sent
2103
+ offset = 4096
2104
+ nbytes = 4096
2105
+ while 1:
2106
+ sent = self.sendfile_wrapper(self.sockno, self.fileno,
2107
+ offset, nbytes)
2108
+ if sent == 0:
2109
+ break
2110
+ total_sent += sent
2111
+ offset += sent
2112
+
2113
+ expected_data = b"x" * 512 + self.DATA
2114
+ self.assertEqual(total_sent, len(expected_data))
2115
+ self.client.close()
2116
+ self.server.wait()
2117
+ data = self.server.handler_instance.get_data()
2118
+ self.assertEqual(hash(data), hash(expected_data))
2119
+
2120
+ @requires_headers_trailers
2121
+ def test_trailers(self):
2122
+ TESTFN2 = support.TESTFN + "2"
2123
+ file_data = b"abcdef"
2124
+ with open(TESTFN2, 'wb') as f:
2125
+ f.write(file_data)
2126
+ with open(TESTFN2, 'rb')as f:
2127
+ self.addCleanup(os.remove, TESTFN2)
2128
+ os.sendfile(self.sockno, f.fileno(), 0, len(file_data),
2129
+ trailers=[b"1234"])
2130
+ self.client.close()
2131
+ self.server.wait()
2132
+ data = self.server.handler_instance.get_data()
2133
+ self.assertEqual(data, b"abcdef1234")
2134
+
2135
+ @requires_headers_trailers
2136
+ @unittest.skipUnless(hasattr(os, 'SF_NODISKIO'),
2137
+ 'test needs os.SF_NODISKIO')
2138
+ def test_flags(self):
2139
+ try:
2140
+ os.sendfile(self.sockno, self.fileno, 0, 4096,
2141
+ flags=os.SF_NODISKIO)
2142
+ except OSError as err:
2143
+ if err.errno not in (errno.EBUSY, errno.EAGAIN):
2144
+ raise
2145
+
2146
+
2147
+ def supports_extended_attributes():
2148
+ if not hasattr(os, "setxattr"):
2149
+ return False
2150
+ try:
2151
+ with open(support.TESTFN, "wb") as fp:
2152
+ try:
2153
+ os.setxattr(fp.fileno(), b"user.test", b"")
2154
+ except OSError:
2155
+ return False
2156
+ finally:
2157
+ support.unlink(support.TESTFN)
2158
+ # Kernels < 2.6.39 don't respect setxattr flags.
2159
+ kernel_version = platform.release()
2160
+ m = re.match("2.6.(\d{1,2})", kernel_version)
2161
+ return m is None or int(m.group(1)) >= 39
2162
+
2163
+
2164
+ @unittest.skipUnless(supports_extended_attributes(),
2165
+ "no non-broken extended attribute support")
2166
+ class ExtendedAttributeTests(unittest.TestCase):
2167
+
2168
+ def tearDown(self):
2169
+ support.unlink(support.TESTFN)
2170
+
2171
+ def _check_xattrs_str(self, s, getxattr, setxattr, removexattr, listxattr, **kwargs):
2172
+ fn = support.TESTFN
2173
+ open(fn, "wb").close()
2174
+ with self.assertRaises(OSError) as cm:
2175
+ getxattr(fn, s("user.test"), **kwargs)
2176
+ self.assertEqual(cm.exception.errno, errno.ENODATA)
2177
+ init_xattr = listxattr(fn)
2178
+ self.assertIsInstance(init_xattr, list)
2179
+ setxattr(fn, s("user.test"), b"", **kwargs)
2180
+ xattr = set(init_xattr)
2181
+ xattr.add("user.test")
2182
+ self.assertEqual(set(listxattr(fn)), xattr)
2183
+ self.assertEqual(getxattr(fn, b"user.test", **kwargs), b"")
2184
+ setxattr(fn, s("user.test"), b"hello", os.XATTR_REPLACE, **kwargs)
2185
+ self.assertEqual(getxattr(fn, b"user.test", **kwargs), b"hello")
2186
+ with self.assertRaises(OSError) as cm:
2187
+ setxattr(fn, s("user.test"), b"bye", os.XATTR_CREATE, **kwargs)
2188
+ self.assertEqual(cm.exception.errno, errno.EEXIST)
2189
+ with self.assertRaises(OSError) as cm:
2190
+ setxattr(fn, s("user.test2"), b"bye", os.XATTR_REPLACE, **kwargs)
2191
+ self.assertEqual(cm.exception.errno, errno.ENODATA)
2192
+ setxattr(fn, s("user.test2"), b"foo", os.XATTR_CREATE, **kwargs)
2193
+ xattr.add("user.test2")
2194
+ self.assertEqual(set(listxattr(fn)), xattr)
2195
+ removexattr(fn, s("user.test"), **kwargs)
2196
+ with self.assertRaises(OSError) as cm:
2197
+ getxattr(fn, s("user.test"), **kwargs)
2198
+ self.assertEqual(cm.exception.errno, errno.ENODATA)
2199
+ xattr.remove("user.test")
2200
+ self.assertEqual(set(listxattr(fn)), xattr)
2201
+ self.assertEqual(getxattr(fn, s("user.test2"), **kwargs), b"foo")
2202
+ setxattr(fn, s("user.test"), b"a"*1024, **kwargs)
2203
+ self.assertEqual(getxattr(fn, s("user.test"), **kwargs), b"a"*1024)
2204
+ removexattr(fn, s("user.test"), **kwargs)
2205
+ many = sorted("user.test{}".format(i) for i in range(100))
2206
+ for thing in many:
2207
+ setxattr(fn, thing, b"x", **kwargs)
2208
+ self.assertEqual(set(listxattr(fn)), set(init_xattr) | set(many))
2209
+
2210
+ def _check_xattrs(self, *args, **kwargs):
2211
+ def make_bytes(s):
2212
+ return bytes(s, "ascii")
2213
+ self._check_xattrs_str(str, *args, **kwargs)
2214
+ support.unlink(support.TESTFN)
2215
+ self._check_xattrs_str(make_bytes, *args, **kwargs)
2216
+
2217
+ def test_simple(self):
2218
+ self._check_xattrs(os.getxattr, os.setxattr, os.removexattr,
2219
+ os.listxattr)
2220
+
2221
+ def test_lpath(self):
2222
+ self._check_xattrs(os.getxattr, os.setxattr, os.removexattr,
2223
+ os.listxattr, follow_symlinks=False)
2224
+
2225
+ def test_fds(self):
2226
+ def getxattr(path, *args):
2227
+ with open(path, "rb") as fp:
2228
+ return os.getxattr(fp.fileno(), *args)
2229
+ def setxattr(path, *args):
2230
+ with open(path, "wb") as fp:
2231
+ os.setxattr(fp.fileno(), *args)
2232
+ def removexattr(path, *args):
2233
+ with open(path, "wb") as fp:
2234
+ os.removexattr(fp.fileno(), *args)
2235
+ def listxattr(path, *args):
2236
+ with open(path, "rb") as fp:
2237
+ return os.listxattr(fp.fileno(), *args)
2238
+ self._check_xattrs(getxattr, setxattr, removexattr, listxattr)
2239
+
2240
+
2241
+ @unittest.skipUnless(sys.platform == "win32", "Win32 specific tests")
2242
+ class Win32DeprecatedBytesAPI(unittest.TestCase):
2243
+ def test_deprecated(self):
2244
+ import nt
2245
+ filename = os.fsencode(support.TESTFN)
2246
+ with warnings.catch_warnings():
2247
+ warnings.simplefilter("error", DeprecationWarning)
2248
+ for func, *args in (
2249
+ (nt._getfullpathname, filename),
2250
+ (nt._isdir, filename),
2251
+ (os.access, filename, os.R_OK),
2252
+ (os.chdir, filename),
2253
+ (os.chmod, filename, 0o777),
2254
+ (os.getcwdb,),
2255
+ (os.link, filename, filename),
2256
+ (os.listdir, filename),
2257
+ (os.lstat, filename),
2258
+ (os.mkdir, filename),
2259
+ (os.open, filename, os.O_RDONLY),
2260
+ (os.rename, filename, filename),
2261
+ (os.rmdir, filename),
2262
+ (os.startfile, filename),
2263
+ (os.stat, filename),
2264
+ (os.unlink, filename),
2265
+ (os.utime, filename),
2266
+ ):
2267
+ self.assertRaises(DeprecationWarning, func, *args)
2268
+
2269
+ @support.skip_unless_symlink
2270
+ def test_symlink(self):
2271
+ filename = os.fsencode(support.TESTFN)
2272
+ with warnings.catch_warnings():
2273
+ warnings.simplefilter("error", DeprecationWarning)
2274
+ self.assertRaises(DeprecationWarning,
2275
+ os.symlink, filename, filename)
2276
+
2277
+
2278
+ @unittest.skipUnless(hasattr(os, 'get_terminal_size'), "requires os.get_terminal_size")
2279
+ class TermsizeTests(unittest.TestCase):
2280
+ def test_does_not_crash(self):
2281
+ """Check if get_terminal_size() returns a meaningful value.
2282
+
2283
+ There's no easy portable way to actually check the size of the
2284
+ terminal, so let's check if it returns something sensible instead.
2285
+ """
2286
+ try:
2287
+ size = os.get_terminal_size()
2288
+ except OSError as e:
2289
+ if sys.platform == "win32" or e.errno in (errno.EINVAL, errno.ENOTTY):
2290
+ # Under win32 a generic OSError can be thrown if the
2291
+ # handle cannot be retrieved
2292
+ self.skipTest("failed to query terminal size")
2293
+ raise
2294
+
2295
+ self.assertGreaterEqual(size.columns, 0)
2296
+ self.assertGreaterEqual(size.lines, 0)
2297
+
2298
+ def test_stty_match(self):
2299
+ """Check if stty returns the same results
2300
+
2301
+ stty actually tests stdin, so get_terminal_size is invoked on
2302
+ stdin explicitly. If stty succeeded, then get_terminal_size()
2303
+ should work too.
2304
+ """
2305
+ try:
2306
+ size = subprocess.check_output(['stty', 'size']).decode().split()
2307
+ except (FileNotFoundError, subprocess.CalledProcessError):
2308
+ self.skipTest("stty invocation failed")
2309
+ expected = (int(size[1]), int(size[0])) # reversed order
2310
+
2311
+ try:
2312
+ actual = os.get_terminal_size(sys.__stdin__.fileno())
2313
+ except OSError as e:
2314
+ if sys.platform == "win32" or e.errno in (errno.EINVAL, errno.ENOTTY):
2315
+ # Under win32 a generic OSError can be thrown if the
2316
+ # handle cannot be retrieved
2317
+ self.skipTest("failed to query terminal size")
2318
+ raise
2319
+ self.assertEqual(expected, actual)
2320
+
2321
+
2322
+ class OSErrorTests(unittest.TestCase):
2323
+ def setUp(self):
2324
+ class Str(str):
2325
+ pass
2326
+
2327
+ self.bytes_filenames = []
2328
+ self.unicode_filenames = []
2329
+ if support.TESTFN_UNENCODABLE is not None:
2330
+ decoded = support.TESTFN_UNENCODABLE
2331
+ else:
2332
+ decoded = support.TESTFN
2333
+ self.unicode_filenames.append(decoded)
2334
+ self.unicode_filenames.append(Str(decoded))
2335
+ if support.TESTFN_UNDECODABLE is not None:
2336
+ encoded = support.TESTFN_UNDECODABLE
2337
+ else:
2338
+ encoded = os.fsencode(support.TESTFN)
2339
+ self.bytes_filenames.append(encoded)
2340
+ self.bytes_filenames.append(memoryview(encoded))
2341
+
2342
+ self.filenames = self.bytes_filenames + self.unicode_filenames
2343
+
2344
+ def test_oserror_filename(self):
2345
+ funcs = [
2346
+ (self.filenames, os.chdir,),
2347
+ (self.filenames, os.chmod, 0o777),
2348
+ (self.filenames, os.lstat,),
2349
+ (self.filenames, os.open, os.O_RDONLY),
2350
+ (self.filenames, os.rmdir,),
2351
+ (self.filenames, os.stat,),
2352
+ (self.filenames, os.unlink,),
2353
+ ]
2354
+ if sys.platform == "win32":
2355
+ funcs.extend((
2356
+ (self.bytes_filenames, os.rename, b"dst"),
2357
+ (self.bytes_filenames, os.replace, b"dst"),
2358
+ (self.unicode_filenames, os.rename, "dst"),
2359
+ (self.unicode_filenames, os.replace, "dst"),
2360
+ # Issue #16414: Don't test undecodable names with listdir()
2361
+ # because of a Windows bug.
2362
+ #
2363
+ # With the ANSI code page 932, os.listdir(b'\xe7') return an
2364
+ # empty list (instead of failing), whereas os.listdir(b'\xff')
2365
+ # raises a FileNotFoundError. It looks like a Windows bug:
2366
+ # b'\xe7' directory does not exist, FindFirstFileA(b'\xe7')
2367
+ # fails with ERROR_FILE_NOT_FOUND (2), instead of
2368
+ # ERROR_PATH_NOT_FOUND (3).
2369
+ (self.unicode_filenames, os.listdir,),
2370
+ ))
2371
+ else:
2372
+ funcs.extend((
2373
+ (self.filenames, os.listdir,),
2374
+ (self.filenames, os.rename, "dst"),
2375
+ (self.filenames, os.replace, "dst"),
2376
+ ))
2377
+ if hasattr(os, "chown"):
2378
+ funcs.append((self.filenames, os.chown, 0, 0))
2379
+ if hasattr(os, "lchown"):
2380
+ funcs.append((self.filenames, os.lchown, 0, 0))
2381
+ if hasattr(os, "truncate"):
2382
+ funcs.append((self.filenames, os.truncate, 0))
2383
+ if hasattr(os, "chflags"):
2384
+ funcs.append((self.filenames, os.chflags, 0))
2385
+ if hasattr(os, "lchflags"):
2386
+ funcs.append((self.filenames, os.lchflags, 0))
2387
+ if hasattr(os, "chroot"):
2388
+ funcs.append((self.filenames, os.chroot,))
2389
+ if hasattr(os, "link"):
2390
+ if sys.platform == "win32":
2391
+ funcs.append((self.bytes_filenames, os.link, b"dst"))
2392
+ funcs.append((self.unicode_filenames, os.link, "dst"))
2393
+ else:
2394
+ funcs.append((self.filenames, os.link, "dst"))
2395
+ if hasattr(os, "listxattr"):
2396
+ funcs.extend((
2397
+ (self.filenames, os.listxattr,),
2398
+ (self.filenames, os.getxattr, "user.test"),
2399
+ (self.filenames, os.setxattr, "user.test", b'user'),
2400
+ (self.filenames, os.removexattr, "user.test"),
2401
+ ))
2402
+ if hasattr(os, "lchmod"):
2403
+ funcs.append((self.filenames, os.lchmod, 0o777))
2404
+ if hasattr(os, "readlink"):
2405
+ if sys.platform == "win32":
2406
+ funcs.append((self.unicode_filenames, os.readlink,))
2407
+ else:
2408
+ funcs.append((self.filenames, os.readlink,))
2409
+
2410
+ for filenames, func, *func_args in funcs:
2411
+ for name in filenames:
2412
+ try:
2413
+ func(name, *func_args)
2414
+ except OSError as err:
2415
+ self.assertIs(err.filename, name)
2416
+ else:
2417
+ self.fail("No exception thrown by {}".format(func))
2418
+
2419
+ class CPUCountTests(unittest.TestCase):
2420
+ def test_cpu_count(self):
2421
+ cpus = os.cpu_count()
2422
+ if cpus is not None:
2423
+ self.assertIsInstance(cpus, int)
2424
+ self.assertGreater(cpus, 0)
2425
+ else:
2426
+ self.skipTest("Could not determine the number of CPUs")
2427
+
2428
+
2429
+ class FDInheritanceTests(unittest.TestCase):
2430
+ def test_get_set_inheritable(self):
2431
+ fd = os.open(__file__, os.O_RDONLY)
2432
+ self.addCleanup(os.close, fd)
2433
+ self.assertEqual(os.get_inheritable(fd), False)
2434
+
2435
+ os.set_inheritable(fd, True)
2436
+ self.assertEqual(os.get_inheritable(fd), True)
2437
+
2438
+ @unittest.skipIf(fcntl is None, "need fcntl")
2439
+ def test_get_inheritable_cloexec(self):
2440
+ fd = os.open(__file__, os.O_RDONLY)
2441
+ self.addCleanup(os.close, fd)
2442
+ self.assertEqual(os.get_inheritable(fd), False)
2443
+
2444
+ # clear FD_CLOEXEC flag
2445
+ flags = fcntl.fcntl(fd, fcntl.F_GETFD)
2446
+ flags &= ~fcntl.FD_CLOEXEC
2447
+ fcntl.fcntl(fd, fcntl.F_SETFD, flags)
2448
+
2449
+ self.assertEqual(os.get_inheritable(fd), True)
2450
+
2451
+ @unittest.skipIf(fcntl is None, "need fcntl")
2452
+ def test_set_inheritable_cloexec(self):
2453
+ fd = os.open(__file__, os.O_RDONLY)
2454
+ self.addCleanup(os.close, fd)
2455
+ self.assertEqual(fcntl.fcntl(fd, fcntl.F_GETFD) & fcntl.FD_CLOEXEC,
2456
+ fcntl.FD_CLOEXEC)
2457
+
2458
+ os.set_inheritable(fd, True)
2459
+ self.assertEqual(fcntl.fcntl(fd, fcntl.F_GETFD) & fcntl.FD_CLOEXEC,
2460
+ 0)
2461
+
2462
+ def test_open(self):
2463
+ fd = os.open(__file__, os.O_RDONLY)
2464
+ self.addCleanup(os.close, fd)
2465
+ self.assertEqual(os.get_inheritable(fd), False)
2466
+
2467
+ @unittest.skipUnless(hasattr(os, 'pipe'), "need os.pipe()")
2468
+ def test_pipe(self):
2469
+ rfd, wfd = os.pipe()
2470
+ self.addCleanup(os.close, rfd)
2471
+ self.addCleanup(os.close, wfd)
2472
+ self.assertEqual(os.get_inheritable(rfd), False)
2473
+ self.assertEqual(os.get_inheritable(wfd), False)
2474
+
2475
+ def test_dup(self):
2476
+ fd1 = os.open(__file__, os.O_RDONLY)
2477
+ self.addCleanup(os.close, fd1)
2478
+
2479
+ fd2 = os.dup(fd1)
2480
+ self.addCleanup(os.close, fd2)
2481
+ self.assertEqual(os.get_inheritable(fd2), False)
2482
+
2483
+ @unittest.skipUnless(hasattr(os, 'dup2'), "need os.dup2()")
2484
+ def test_dup2(self):
2485
+ fd = os.open(__file__, os.O_RDONLY)
2486
+ self.addCleanup(os.close, fd)
2487
+
2488
+ # inheritable by default
2489
+ fd2 = os.open(__file__, os.O_RDONLY)
2490
+ try:
2491
+ os.dup2(fd, fd2)
2492
+ self.assertEqual(os.get_inheritable(fd2), True)
2493
+ finally:
2494
+ os.close(fd2)
2495
+
2496
+ # force non-inheritable
2497
+ fd3 = os.open(__file__, os.O_RDONLY)
2498
+ try:
2499
+ os.dup2(fd, fd3, inheritable=False)
2500
+ self.assertEqual(os.get_inheritable(fd3), False)
2501
+ finally:
2502
+ os.close(fd3)
2503
+
2504
+ @unittest.skipUnless(hasattr(os, 'openpty'), "need os.openpty()")
2505
+ def test_openpty(self):
2506
+ master_fd, slave_fd = os.openpty()
2507
+ self.addCleanup(os.close, master_fd)
2508
+ self.addCleanup(os.close, slave_fd)
2509
+ self.assertEqual(os.get_inheritable(master_fd), False)
2510
+ self.assertEqual(os.get_inheritable(slave_fd), False)
2511
+
2512
+
2513
+ @support.reap_threads
2514
+ def test_main():
2515
+ support.run_unittest(
2516
+ FileTests,
2517
+ StatAttributeTests,
2518
+ EnvironTests,
2519
+ WalkTests,
2520
+ FwalkTests,
2521
+ MakedirTests,
2522
+ DevNullTests,
2523
+ URandomTests,
2524
+ ExecTests,
2525
+ Win32ErrorTests,
2526
+ TestInvalidFD,
2527
+ PosixUidGidTests,
2528
+ Pep383Tests,
2529
+ Win32KillTests,
2530
+ Win32ListdirTests,
2531
+ Win32SymlinkTests,
2532
+ NonLocalSymlinkTests,
2533
+ FSEncodingTests,
2534
+ DeviceEncodingTests,
2535
+ PidTests,
2536
+ LoginTests,
2537
+ LinkTests,
2538
+ TestSendfile,
2539
+ ProgramPriorityTests,
2540
+ ExtendedAttributeTests,
2541
+ Win32DeprecatedBytesAPI,
2542
+ TermsizeTests,
2543
+ OSErrorTests,
2544
+ RemoveDirsTests,
2545
+ CPUCountTests,
2546
+ FDInheritanceTests,
2547
+ )
2548
+
2549
+ if __name__ == "__main__":
2550
+ test_main()