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,2606 @@
1
+ import string
2
+ import unittest
3
+ from email import _header_value_parser as parser
4
+ from email import errors
5
+ from email import policy
6
+ from test.test_email import TestEmailBase, parameterize
7
+
8
+ class TestTokens(TestEmailBase):
9
+
10
+ # EWWhiteSpaceTerminal
11
+
12
+ def test_EWWhiteSpaceTerminal(self):
13
+ x = parser.EWWhiteSpaceTerminal(' \t', 'fws')
14
+ self.assertEqual(x, ' \t')
15
+ self.assertEqual(str(x), '')
16
+ self.assertEqual(x.value, '')
17
+ self.assertEqual(x.encoded, ' \t')
18
+
19
+ # UnstructuredTokenList
20
+
21
+ def test_undecodable_bytes_error_preserved(self):
22
+ badstr = b"le pouf c\xaflebre".decode('ascii', 'surrogateescape')
23
+ unst = parser.get_unstructured(badstr)
24
+ self.assertDefectsEqual(unst.all_defects, [errors.UndecodableBytesDefect])
25
+ parts = list(unst.parts)
26
+ self.assertDefectsEqual(parts[0].all_defects, [])
27
+ self.assertDefectsEqual(parts[1].all_defects, [])
28
+ self.assertDefectsEqual(parts[2].all_defects, [errors.UndecodableBytesDefect])
29
+
30
+
31
+ class TestParserMixin:
32
+
33
+ def _assert_results(self, tl, rest, string, value, defects, remainder,
34
+ comments=None):
35
+ self.assertEqual(str(tl), string)
36
+ self.assertEqual(tl.value, value)
37
+ self.assertDefectsEqual(tl.all_defects, defects)
38
+ self.assertEqual(rest, remainder)
39
+ if comments is not None:
40
+ self.assertEqual(tl.comments, comments)
41
+
42
+ def _test_get_x(self, method, source, string, value, defects,
43
+ remainder, comments=None):
44
+ tl, rest = method(source)
45
+ self._assert_results(tl, rest, string, value, defects, remainder,
46
+ comments=None)
47
+ return tl
48
+
49
+ def _test_parse_x(self, method, input, string, value, defects,
50
+ comments=None):
51
+ tl = method(input)
52
+ self._assert_results(tl, '', string, value, defects, '', comments)
53
+ return tl
54
+
55
+
56
+ class TestParser(TestParserMixin, TestEmailBase):
57
+
58
+ # _wsp_splitter
59
+
60
+ rfc_printable_ascii = bytes(range(33, 127)).decode('ascii')
61
+ rfc_atext_chars = (string.ascii_letters + string.digits +
62
+ "!#$%&\'*+-/=?^_`{}|~")
63
+ rfc_dtext_chars = rfc_printable_ascii.translate(str.maketrans('','',r'\[]'))
64
+
65
+ def test__wsp_splitter_one_word(self):
66
+ self.assertEqual(parser._wsp_splitter('foo', 1), ['foo'])
67
+
68
+ def test__wsp_splitter_two_words(self):
69
+ self.assertEqual(parser._wsp_splitter('foo def', 1),
70
+ ['foo', ' ', 'def'])
71
+
72
+ def test__wsp_splitter_ws_runs(self):
73
+ self.assertEqual(parser._wsp_splitter('foo \t def jik', 1),
74
+ ['foo', ' \t ', 'def jik'])
75
+
76
+
77
+ # get_fws
78
+
79
+ def test_get_fws_only(self):
80
+ fws = self._test_get_x(parser.get_fws, ' \t ', ' \t ', ' ', [], '')
81
+ self.assertEqual(fws.token_type, 'fws')
82
+
83
+ def test_get_fws_space(self):
84
+ self._test_get_x(parser.get_fws, ' foo', ' ', ' ', [], 'foo')
85
+
86
+ def test_get_fws_ws_run(self):
87
+ self._test_get_x(parser.get_fws, ' \t foo ', ' \t ', ' ', [], 'foo ')
88
+
89
+ # get_encoded_word
90
+
91
+ def test_get_encoded_word_missing_start_raises(self):
92
+ with self.assertRaises(errors.HeaderParseError):
93
+ parser.get_encoded_word('abc')
94
+
95
+ def test_get_encoded_word_missing_end_raises(self):
96
+ with self.assertRaises(errors.HeaderParseError):
97
+ parser.get_encoded_word('=?abc')
98
+
99
+ def test_get_encoded_word_missing_middle_raises(self):
100
+ with self.assertRaises(errors.HeaderParseError):
101
+ parser.get_encoded_word('=?abc?=')
102
+
103
+ def test_get_encoded_word_valid_ew(self):
104
+ self._test_get_x(parser.get_encoded_word,
105
+ '=?us-ascii?q?this_is_a_test?= bird',
106
+ 'this is a test',
107
+ 'this is a test',
108
+ [],
109
+ ' bird')
110
+
111
+ def test_get_encoded_word_internal_spaces(self):
112
+ self._test_get_x(parser.get_encoded_word,
113
+ '=?us-ascii?q?this is a test?= bird',
114
+ 'this is a test',
115
+ 'this is a test',
116
+ [errors.InvalidHeaderDefect],
117
+ ' bird')
118
+
119
+ def test_get_encoded_word_gets_first(self):
120
+ self._test_get_x(parser.get_encoded_word,
121
+ '=?us-ascii?q?first?= =?utf-8?q?second?=',
122
+ 'first',
123
+ 'first',
124
+ [],
125
+ ' =?utf-8?q?second?=')
126
+
127
+ def test_get_encoded_word_gets_first_even_if_no_space(self):
128
+ self._test_get_x(parser.get_encoded_word,
129
+ '=?us-ascii?q?first?==?utf-8?q?second?=',
130
+ 'first',
131
+ 'first',
132
+ [],
133
+ '=?utf-8?q?second?=')
134
+
135
+ def test_get_encoded_word_sets_extra_attributes(self):
136
+ ew = self._test_get_x(parser.get_encoded_word,
137
+ '=?us-ascii*jive?q?first_second?=',
138
+ 'first second',
139
+ 'first second',
140
+ [],
141
+ '')
142
+ self.assertEqual(ew.encoded, '=?us-ascii*jive?q?first_second?=')
143
+ self.assertEqual(ew.charset, 'us-ascii')
144
+ self.assertEqual(ew.lang, 'jive')
145
+
146
+ def test_get_encoded_word_lang_default_is_blank(self):
147
+ ew = self._test_get_x(parser.get_encoded_word,
148
+ '=?us-ascii?q?first_second?=',
149
+ 'first second',
150
+ 'first second',
151
+ [],
152
+ '')
153
+ self.assertEqual(ew.encoded, '=?us-ascii?q?first_second?=')
154
+ self.assertEqual(ew.charset, 'us-ascii')
155
+ self.assertEqual(ew.lang, '')
156
+
157
+ def test_get_encoded_word_non_printable_defect(self):
158
+ self._test_get_x(parser.get_encoded_word,
159
+ '=?us-ascii?q?first\x02second?=',
160
+ 'first\x02second',
161
+ 'first\x02second',
162
+ [errors.NonPrintableDefect],
163
+ '')
164
+
165
+ def test_get_encoded_word_leading_internal_space(self):
166
+ self._test_get_x(parser.get_encoded_word,
167
+ '=?us-ascii?q?=20foo?=',
168
+ ' foo',
169
+ ' foo',
170
+ [],
171
+ '')
172
+
173
+ def test_get_encoded_word_quopri_utf_escape_follows_cte(self):
174
+ # Issue 18044
175
+ self._test_get_x(parser.get_encoded_word,
176
+ '=?utf-8?q?=C3=89ric?=',
177
+ 'Éric',
178
+ 'Éric',
179
+ [],
180
+ '')
181
+
182
+ # get_unstructured
183
+
184
+ def _get_unst(self, value):
185
+ token = parser.get_unstructured(value)
186
+ return token, ''
187
+
188
+ def test_get_unstructured_null(self):
189
+ self._test_get_x(self._get_unst, '', '', '', [], '')
190
+
191
+ def test_get_unstructured_one_word(self):
192
+ self._test_get_x(self._get_unst, 'foo', 'foo', 'foo', [], '')
193
+
194
+ def test_get_unstructured_normal_phrase(self):
195
+ self._test_get_x(self._get_unst, 'foo bar bird',
196
+ 'foo bar bird',
197
+ 'foo bar bird',
198
+ [],
199
+ '')
200
+
201
+ def test_get_unstructured_normal_phrase_with_whitespace(self):
202
+ self._test_get_x(self._get_unst, 'foo \t bar bird',
203
+ 'foo \t bar bird',
204
+ 'foo bar bird',
205
+ [],
206
+ '')
207
+
208
+ def test_get_unstructured_leading_whitespace(self):
209
+ self._test_get_x(self._get_unst, ' foo bar',
210
+ ' foo bar',
211
+ ' foo bar',
212
+ [],
213
+ '')
214
+
215
+ def test_get_unstructured_trailing_whitespace(self):
216
+ self._test_get_x(self._get_unst, 'foo bar ',
217
+ 'foo bar ',
218
+ 'foo bar ',
219
+ [],
220
+ '')
221
+
222
+ def test_get_unstructured_leading_and_trailing_whitespace(self):
223
+ self._test_get_x(self._get_unst, ' foo bar ',
224
+ ' foo bar ',
225
+ ' foo bar ',
226
+ [],
227
+ '')
228
+
229
+ def test_get_unstructured_one_valid_ew_no_ws(self):
230
+ self._test_get_x(self._get_unst, '=?us-ascii?q?bar?=',
231
+ 'bar',
232
+ 'bar',
233
+ [],
234
+ '')
235
+
236
+ def test_get_unstructured_one_ew_trailing_ws(self):
237
+ self._test_get_x(self._get_unst, '=?us-ascii?q?bar?= ',
238
+ 'bar ',
239
+ 'bar ',
240
+ [],
241
+ '')
242
+
243
+ def test_get_unstructured_one_valid_ew_trailing_text(self):
244
+ self._test_get_x(self._get_unst, '=?us-ascii?q?bar?= bird',
245
+ 'bar bird',
246
+ 'bar bird',
247
+ [],
248
+ '')
249
+
250
+ def test_get_unstructured_phrase_with_ew_in_middle_of_text(self):
251
+ self._test_get_x(self._get_unst, 'foo =?us-ascii?q?bar?= bird',
252
+ 'foo bar bird',
253
+ 'foo bar bird',
254
+ [],
255
+ '')
256
+
257
+ def test_get_unstructured_phrase_with_two_ew(self):
258
+ self._test_get_x(self._get_unst,
259
+ 'foo =?us-ascii?q?bar?= =?us-ascii?q?bird?=',
260
+ 'foo barbird',
261
+ 'foo barbird',
262
+ [],
263
+ '')
264
+
265
+ def test_get_unstructured_phrase_with_two_ew_trailing_ws(self):
266
+ self._test_get_x(self._get_unst,
267
+ 'foo =?us-ascii?q?bar?= =?us-ascii?q?bird?= ',
268
+ 'foo barbird ',
269
+ 'foo barbird ',
270
+ [],
271
+ '')
272
+
273
+ def test_get_unstructured_phrase_with_ew_with_leading_ws(self):
274
+ self._test_get_x(self._get_unst,
275
+ ' =?us-ascii?q?bar?=',
276
+ ' bar',
277
+ ' bar',
278
+ [],
279
+ '')
280
+
281
+ def test_get_unstructured_phrase_with_two_ew_extra_ws(self):
282
+ self._test_get_x(self._get_unst,
283
+ 'foo =?us-ascii?q?bar?= \t =?us-ascii?q?bird?=',
284
+ 'foo barbird',
285
+ 'foo barbird',
286
+ [],
287
+ '')
288
+
289
+ def test_get_unstructured_two_ew_extra_ws_trailing_text(self):
290
+ self._test_get_x(self._get_unst,
291
+ '=?us-ascii?q?test?= =?us-ascii?q?foo?= val',
292
+ 'testfoo val',
293
+ 'testfoo val',
294
+ [],
295
+ '')
296
+
297
+ def test_get_unstructured_ew_with_internal_ws(self):
298
+ self._test_get_x(self._get_unst,
299
+ '=?iso-8859-1?q?hello=20world?=',
300
+ 'hello world',
301
+ 'hello world',
302
+ [],
303
+ '')
304
+
305
+ def test_get_unstructured_ew_with_internal_leading_ws(self):
306
+ self._test_get_x(self._get_unst,
307
+ ' =?us-ascii?q?=20test?= =?us-ascii?q?=20foo?= val',
308
+ ' test foo val',
309
+ ' test foo val',
310
+ [],
311
+ '')
312
+
313
+ def test_get_unstructured_invaild_ew(self):
314
+ self._test_get_x(self._get_unst,
315
+ '=?test val',
316
+ '=?test val',
317
+ '=?test val',
318
+ [],
319
+ '')
320
+
321
+ def test_get_unstructured_undecodable_bytes(self):
322
+ self._test_get_x(self._get_unst,
323
+ b'test \xACfoo val'.decode('ascii', 'surrogateescape'),
324
+ 'test \uDCACfoo val',
325
+ 'test \uDCACfoo val',
326
+ [errors.UndecodableBytesDefect],
327
+ '')
328
+
329
+ def test_get_unstructured_undecodable_bytes_in_EW(self):
330
+ self._test_get_x(self._get_unst,
331
+ (b'=?us-ascii?q?=20test?= =?us-ascii?q?=20\xACfoo?='
332
+ b' val').decode('ascii', 'surrogateescape'),
333
+ ' test \uDCACfoo val',
334
+ ' test \uDCACfoo val',
335
+ [errors.UndecodableBytesDefect]*2,
336
+ '')
337
+
338
+ def test_get_unstructured_missing_base64_padding(self):
339
+ self._test_get_x(self._get_unst,
340
+ '=?utf-8?b?dmk?=',
341
+ 'vi',
342
+ 'vi',
343
+ [errors.InvalidBase64PaddingDefect],
344
+ '')
345
+
346
+ def test_get_unstructured_invalid_base64_character(self):
347
+ self._test_get_x(self._get_unst,
348
+ '=?utf-8?b?dm\x01k===?=',
349
+ 'vi',
350
+ 'vi',
351
+ [errors.InvalidBase64CharactersDefect],
352
+ '')
353
+
354
+ def test_get_unstructured_invalid_base64_character_and_bad_padding(self):
355
+ self._test_get_x(self._get_unst,
356
+ '=?utf-8?b?dm\x01k?=',
357
+ 'vi',
358
+ 'vi',
359
+ [errors.InvalidBase64CharactersDefect,
360
+ errors.InvalidBase64PaddingDefect],
361
+ '')
362
+
363
+ def test_get_unstructured_no_whitespace_between_ews(self):
364
+ self._test_get_x(self._get_unst,
365
+ '=?utf-8?q?foo?==?utf-8?q?bar?=',
366
+ 'foobar',
367
+ 'foobar',
368
+ [errors.InvalidHeaderDefect],
369
+ '')
370
+
371
+ # get_qp_ctext
372
+
373
+ def test_get_qp_ctext_only(self):
374
+ ptext = self._test_get_x(parser.get_qp_ctext,
375
+ 'foobar', 'foobar', ' ', [], '')
376
+ self.assertEqual(ptext.token_type, 'ptext')
377
+
378
+ def test_get_qp_ctext_all_printables(self):
379
+ with_qp = self.rfc_printable_ascii.replace('\\', '\\\\')
380
+ with_qp = with_qp. replace('(', r'\(')
381
+ with_qp = with_qp.replace(')', r'\)')
382
+ ptext = self._test_get_x(parser.get_qp_ctext,
383
+ with_qp, self.rfc_printable_ascii, ' ', [], '')
384
+
385
+ def test_get_qp_ctext_two_words_gets_first(self):
386
+ self._test_get_x(parser.get_qp_ctext,
387
+ 'foo de', 'foo', ' ', [], ' de')
388
+
389
+ def test_get_qp_ctext_following_wsp_preserved(self):
390
+ self._test_get_x(parser.get_qp_ctext,
391
+ 'foo \t\tde', 'foo', ' ', [], ' \t\tde')
392
+
393
+ def test_get_qp_ctext_up_to_close_paren_only(self):
394
+ self._test_get_x(parser.get_qp_ctext,
395
+ 'foo)', 'foo', ' ', [], ')')
396
+
397
+ def test_get_qp_ctext_wsp_before_close_paren_preserved(self):
398
+ self._test_get_x(parser.get_qp_ctext,
399
+ 'foo )', 'foo', ' ', [], ' )')
400
+
401
+ def test_get_qp_ctext_close_paren_mid_word(self):
402
+ self._test_get_x(parser.get_qp_ctext,
403
+ 'foo)bar', 'foo', ' ', [], ')bar')
404
+
405
+ def test_get_qp_ctext_up_to_open_paren_only(self):
406
+ self._test_get_x(parser.get_qp_ctext,
407
+ 'foo(', 'foo', ' ', [], '(')
408
+
409
+ def test_get_qp_ctext_wsp_before_open_paren_preserved(self):
410
+ self._test_get_x(parser.get_qp_ctext,
411
+ 'foo (', 'foo', ' ', [], ' (')
412
+
413
+ def test_get_qp_ctext_open_paren_mid_word(self):
414
+ self._test_get_x(parser.get_qp_ctext,
415
+ 'foo(bar', 'foo', ' ', [], '(bar')
416
+
417
+ def test_get_qp_ctext_non_printables(self):
418
+ ptext = self._test_get_x(parser.get_qp_ctext,
419
+ 'foo\x00bar)', 'foo\x00bar', ' ',
420
+ [errors.NonPrintableDefect], ')')
421
+ self.assertEqual(ptext.defects[0].non_printables[0], '\x00')
422
+
423
+ # get_qcontent
424
+
425
+ def test_get_qcontent_only(self):
426
+ ptext = self._test_get_x(parser.get_qcontent,
427
+ 'foobar', 'foobar', 'foobar', [], '')
428
+ self.assertEqual(ptext.token_type, 'ptext')
429
+
430
+ def test_get_qcontent_all_printables(self):
431
+ with_qp = self.rfc_printable_ascii.replace('\\', '\\\\')
432
+ with_qp = with_qp. replace('"', r'\"')
433
+ ptext = self._test_get_x(parser.get_qcontent, with_qp,
434
+ self.rfc_printable_ascii,
435
+ self.rfc_printable_ascii, [], '')
436
+
437
+ def test_get_qcontent_two_words_gets_first(self):
438
+ self._test_get_x(parser.get_qcontent,
439
+ 'foo de', 'foo', 'foo', [], ' de')
440
+
441
+ def test_get_qcontent_following_wsp_preserved(self):
442
+ self._test_get_x(parser.get_qcontent,
443
+ 'foo \t\tde', 'foo', 'foo', [], ' \t\tde')
444
+
445
+ def test_get_qcontent_up_to_dquote_only(self):
446
+ self._test_get_x(parser.get_qcontent,
447
+ 'foo"', 'foo', 'foo', [], '"')
448
+
449
+ def test_get_qcontent_wsp_before_close_paren_preserved(self):
450
+ self._test_get_x(parser.get_qcontent,
451
+ 'foo "', 'foo', 'foo', [], ' "')
452
+
453
+ def test_get_qcontent_close_paren_mid_word(self):
454
+ self._test_get_x(parser.get_qcontent,
455
+ 'foo"bar', 'foo', 'foo', [], '"bar')
456
+
457
+ def test_get_qcontent_non_printables(self):
458
+ ptext = self._test_get_x(parser.get_qcontent,
459
+ 'foo\x00fg"', 'foo\x00fg', 'foo\x00fg',
460
+ [errors.NonPrintableDefect], '"')
461
+ self.assertEqual(ptext.defects[0].non_printables[0], '\x00')
462
+
463
+ # get_atext
464
+
465
+ def test_get_atext_only(self):
466
+ atext = self._test_get_x(parser.get_atext,
467
+ 'foobar', 'foobar', 'foobar', [], '')
468
+ self.assertEqual(atext.token_type, 'atext')
469
+
470
+ def test_get_atext_all_atext(self):
471
+ atext = self._test_get_x(parser.get_atext, self.rfc_atext_chars,
472
+ self.rfc_atext_chars,
473
+ self.rfc_atext_chars, [], '')
474
+
475
+ def test_get_atext_two_words_gets_first(self):
476
+ self._test_get_x(parser.get_atext,
477
+ 'foo bar', 'foo', 'foo', [], ' bar')
478
+
479
+ def test_get_atext_following_wsp_preserved(self):
480
+ self._test_get_x(parser.get_atext,
481
+ 'foo \t\tbar', 'foo', 'foo', [], ' \t\tbar')
482
+
483
+ def test_get_atext_up_to_special(self):
484
+ self._test_get_x(parser.get_atext,
485
+ 'foo@bar', 'foo', 'foo', [], '@bar')
486
+
487
+ def test_get_atext_non_printables(self):
488
+ atext = self._test_get_x(parser.get_atext,
489
+ 'foo\x00bar(', 'foo\x00bar', 'foo\x00bar',
490
+ [errors.NonPrintableDefect], '(')
491
+ self.assertEqual(atext.defects[0].non_printables[0], '\x00')
492
+
493
+ # get_bare_quoted_string
494
+
495
+ def test_get_bare_quoted_string_only(self):
496
+ bqs = self._test_get_x(parser.get_bare_quoted_string,
497
+ '"foo"', '"foo"', 'foo', [], '')
498
+ self.assertEqual(bqs.token_type, 'bare-quoted-string')
499
+
500
+ def test_get_bare_quoted_string_must_start_with_dquote(self):
501
+ with self.assertRaises(errors.HeaderParseError):
502
+ parser.get_bare_quoted_string('foo"')
503
+ with self.assertRaises(errors.HeaderParseError):
504
+ parser.get_bare_quoted_string(' "foo"')
505
+
506
+ def test_get_bare_quoted_string_following_wsp_preserved(self):
507
+ self._test_get_x(parser.get_bare_quoted_string,
508
+ '"foo"\t bar', '"foo"', 'foo', [], '\t bar')
509
+
510
+ def test_get_bare_quoted_string_multiple_words(self):
511
+ self._test_get_x(parser.get_bare_quoted_string,
512
+ '"foo bar moo"', '"foo bar moo"', 'foo bar moo', [], '')
513
+
514
+ def test_get_bare_quoted_string_multiple_words_wsp_preserved(self):
515
+ self._test_get_x(parser.get_bare_quoted_string,
516
+ '" foo moo\t"', '" foo moo\t"', ' foo moo\t', [], '')
517
+
518
+ def test_get_bare_quoted_string_end_dquote_mid_word(self):
519
+ self._test_get_x(parser.get_bare_quoted_string,
520
+ '"foo"bar', '"foo"', 'foo', [], 'bar')
521
+
522
+ def test_get_bare_quoted_string_quoted_dquote(self):
523
+ self._test_get_x(parser.get_bare_quoted_string,
524
+ r'"foo\"in"a', r'"foo\"in"', 'foo"in', [], 'a')
525
+
526
+ def test_get_bare_quoted_string_non_printables(self):
527
+ self._test_get_x(parser.get_bare_quoted_string,
528
+ '"a\x01a"', '"a\x01a"', 'a\x01a',
529
+ [errors.NonPrintableDefect], '')
530
+
531
+ def test_get_bare_quoted_string_no_end_dquote(self):
532
+ self._test_get_x(parser.get_bare_quoted_string,
533
+ '"foo', '"foo"', 'foo',
534
+ [errors.InvalidHeaderDefect], '')
535
+ self._test_get_x(parser.get_bare_quoted_string,
536
+ '"foo ', '"foo "', 'foo ',
537
+ [errors.InvalidHeaderDefect], '')
538
+
539
+ def test_get_bare_quoted_string_empty_quotes(self):
540
+ self._test_get_x(parser.get_bare_quoted_string,
541
+ '""', '""', '', [], '')
542
+
543
+ # Issue 16983: apply postel's law to some bad encoding.
544
+ def test_encoded_word_inside_quotes(self):
545
+ self._test_get_x(parser.get_bare_quoted_string,
546
+ '"=?utf-8?Q?not_really_valid?="',
547
+ '"not really valid"',
548
+ 'not really valid',
549
+ [errors.InvalidHeaderDefect],
550
+ '')
551
+
552
+ # get_comment
553
+
554
+ def test_get_comment_only(self):
555
+ comment = self._test_get_x(parser.get_comment,
556
+ '(comment)', '(comment)', ' ', [], '', ['comment'])
557
+ self.assertEqual(comment.token_type, 'comment')
558
+
559
+ def test_get_comment_must_start_with_paren(self):
560
+ with self.assertRaises(errors.HeaderParseError):
561
+ parser.get_comment('foo"')
562
+ with self.assertRaises(errors.HeaderParseError):
563
+ parser.get_comment(' (foo"')
564
+
565
+ def test_get_comment_following_wsp_preserved(self):
566
+ self._test_get_x(parser.get_comment,
567
+ '(comment) \t', '(comment)', ' ', [], ' \t', ['comment'])
568
+
569
+ def test_get_comment_multiple_words(self):
570
+ self._test_get_x(parser.get_comment,
571
+ '(foo bar) \t', '(foo bar)', ' ', [], ' \t', ['foo bar'])
572
+
573
+ def test_get_comment_multiple_words_wsp_preserved(self):
574
+ self._test_get_x(parser.get_comment,
575
+ '( foo bar\t ) \t', '( foo bar\t )', ' ', [], ' \t',
576
+ [' foo bar\t '])
577
+
578
+ def test_get_comment_end_paren_mid_word(self):
579
+ self._test_get_x(parser.get_comment,
580
+ '(foo)bar', '(foo)', ' ', [], 'bar', ['foo'])
581
+
582
+ def test_get_comment_quoted_parens(self):
583
+ self._test_get_x(parser.get_comment,
584
+ '(foo\) \(\)bar)', '(foo\) \(\)bar)', ' ', [], '', ['foo) ()bar'])
585
+
586
+ def test_get_comment_non_printable(self):
587
+ self._test_get_x(parser.get_comment,
588
+ '(foo\x7Fbar)', '(foo\x7Fbar)', ' ',
589
+ [errors.NonPrintableDefect], '', ['foo\x7Fbar'])
590
+
591
+ def test_get_comment_no_end_paren(self):
592
+ self._test_get_x(parser.get_comment,
593
+ '(foo bar', '(foo bar)', ' ',
594
+ [errors.InvalidHeaderDefect], '', ['foo bar'])
595
+ self._test_get_x(parser.get_comment,
596
+ '(foo bar ', '(foo bar )', ' ',
597
+ [errors.InvalidHeaderDefect], '', ['foo bar '])
598
+
599
+ def test_get_comment_nested_comment(self):
600
+ comment = self._test_get_x(parser.get_comment,
601
+ '(foo(bar))', '(foo(bar))', ' ', [], '', ['foo(bar)'])
602
+ self.assertEqual(comment[1].content, 'bar')
603
+
604
+ def test_get_comment_nested_comment_wsp(self):
605
+ comment = self._test_get_x(parser.get_comment,
606
+ '(foo ( bar ) )', '(foo ( bar ) )', ' ', [], '', ['foo ( bar ) '])
607
+ self.assertEqual(comment[2].content, ' bar ')
608
+
609
+ def test_get_comment_empty_comment(self):
610
+ self._test_get_x(parser.get_comment,
611
+ '()', '()', ' ', [], '', [''])
612
+
613
+ def test_get_comment_multiple_nesting(self):
614
+ comment = self._test_get_x(parser.get_comment,
615
+ '(((((foo)))))', '(((((foo)))))', ' ', [], '', ['((((foo))))'])
616
+ for i in range(4, 0, -1):
617
+ self.assertEqual(comment[0].content, '('*(i-1)+'foo'+')'*(i-1))
618
+ comment = comment[0]
619
+ self.assertEqual(comment.content, 'foo')
620
+
621
+ def test_get_comment_missing_end_of_nesting(self):
622
+ self._test_get_x(parser.get_comment,
623
+ '(((((foo)))', '(((((foo)))))', ' ',
624
+ [errors.InvalidHeaderDefect]*2, '', ['((((foo))))'])
625
+
626
+ def test_get_comment_qs_in_nested_comment(self):
627
+ comment = self._test_get_x(parser.get_comment,
628
+ '(foo (b\)))', '(foo (b\)))', ' ', [], '', ['foo (b\))'])
629
+ self.assertEqual(comment[2].content, 'b)')
630
+
631
+ # get_cfws
632
+
633
+ def test_get_cfws_only_ws(self):
634
+ cfws = self._test_get_x(parser.get_cfws,
635
+ ' \t \t', ' \t \t', ' ', [], '', [])
636
+ self.assertEqual(cfws.token_type, 'cfws')
637
+
638
+ def test_get_cfws_only_comment(self):
639
+ cfws = self._test_get_x(parser.get_cfws,
640
+ '(foo)', '(foo)', ' ', [], '', ['foo'])
641
+ self.assertEqual(cfws[0].content, 'foo')
642
+
643
+ def test_get_cfws_only_mixed(self):
644
+ cfws = self._test_get_x(parser.get_cfws,
645
+ ' (foo ) ( bar) ', ' (foo ) ( bar) ', ' ', [], '',
646
+ ['foo ', ' bar'])
647
+ self.assertEqual(cfws[1].content, 'foo ')
648
+ self.assertEqual(cfws[3].content, ' bar')
649
+
650
+ def test_get_cfws_ends_at_non_leader(self):
651
+ cfws = self._test_get_x(parser.get_cfws,
652
+ '(foo) bar', '(foo) ', ' ', [], 'bar', ['foo'])
653
+ self.assertEqual(cfws[0].content, 'foo')
654
+
655
+ def test_get_cfws_ends_at_non_printable(self):
656
+ cfws = self._test_get_x(parser.get_cfws,
657
+ '(foo) \x07', '(foo) ', ' ', [], '\x07', ['foo'])
658
+ self.assertEqual(cfws[0].content, 'foo')
659
+
660
+ def test_get_cfws_non_printable_in_comment(self):
661
+ cfws = self._test_get_x(parser.get_cfws,
662
+ '(foo \x07) "test"', '(foo \x07) ', ' ',
663
+ [errors.NonPrintableDefect], '"test"', ['foo \x07'])
664
+ self.assertEqual(cfws[0].content, 'foo \x07')
665
+
666
+ def test_get_cfws_header_ends_in_comment(self):
667
+ cfws = self._test_get_x(parser.get_cfws,
668
+ ' (foo ', ' (foo )', ' ',
669
+ [errors.InvalidHeaderDefect], '', ['foo '])
670
+ self.assertEqual(cfws[1].content, 'foo ')
671
+
672
+ def test_get_cfws_multiple_nested_comments(self):
673
+ cfws = self._test_get_x(parser.get_cfws,
674
+ '(foo (bar)) ((a)(a))', '(foo (bar)) ((a)(a))', ' ', [],
675
+ '', ['foo (bar)', '(a)(a)'])
676
+ self.assertEqual(cfws[0].comments, ['foo (bar)'])
677
+ self.assertEqual(cfws[2].comments, ['(a)(a)'])
678
+
679
+ # get_quoted_string
680
+
681
+ def test_get_quoted_string_only(self):
682
+ qs = self._test_get_x(parser.get_quoted_string,
683
+ '"bob"', '"bob"', 'bob', [], '')
684
+ self.assertEqual(qs.token_type, 'quoted-string')
685
+ self.assertEqual(qs.quoted_value, '"bob"')
686
+ self.assertEqual(qs.content, 'bob')
687
+
688
+ def test_get_quoted_string_with_wsp(self):
689
+ qs = self._test_get_x(parser.get_quoted_string,
690
+ '\t "bob" ', '\t "bob" ', ' bob ', [], '')
691
+ self.assertEqual(qs.quoted_value, ' "bob" ')
692
+ self.assertEqual(qs.content, 'bob')
693
+
694
+ def test_get_quoted_string_with_comments_and_wsp(self):
695
+ qs = self._test_get_x(parser.get_quoted_string,
696
+ ' (foo) "bob"(bar)', ' (foo) "bob"(bar)', ' bob ', [], '')
697
+ self.assertEqual(qs[0][1].content, 'foo')
698
+ self.assertEqual(qs[2][0].content, 'bar')
699
+ self.assertEqual(qs.content, 'bob')
700
+ self.assertEqual(qs.quoted_value, ' "bob" ')
701
+
702
+ def test_get_quoted_string_with_multiple_comments(self):
703
+ qs = self._test_get_x(parser.get_quoted_string,
704
+ ' (foo) (bar) "bob"(bird)', ' (foo) (bar) "bob"(bird)', ' bob ',
705
+ [], '')
706
+ self.assertEqual(qs[0].comments, ['foo', 'bar'])
707
+ self.assertEqual(qs[2].comments, ['bird'])
708
+ self.assertEqual(qs.content, 'bob')
709
+ self.assertEqual(qs.quoted_value, ' "bob" ')
710
+
711
+ def test_get_quoted_string_non_printable_in_comment(self):
712
+ qs = self._test_get_x(parser.get_quoted_string,
713
+ ' (\x0A) "bob"', ' (\x0A) "bob"', ' bob',
714
+ [errors.NonPrintableDefect], '')
715
+ self.assertEqual(qs[0].comments, ['\x0A'])
716
+ self.assertEqual(qs.content, 'bob')
717
+ self.assertEqual(qs.quoted_value, ' "bob"')
718
+
719
+ def test_get_quoted_string_non_printable_in_qcontent(self):
720
+ qs = self._test_get_x(parser.get_quoted_string,
721
+ ' (a) "a\x0B"', ' (a) "a\x0B"', ' a\x0B',
722
+ [errors.NonPrintableDefect], '')
723
+ self.assertEqual(qs[0].comments, ['a'])
724
+ self.assertEqual(qs.content, 'a\x0B')
725
+ self.assertEqual(qs.quoted_value, ' "a\x0B"')
726
+
727
+ def test_get_quoted_string_internal_ws(self):
728
+ qs = self._test_get_x(parser.get_quoted_string,
729
+ ' (a) "foo bar "', ' (a) "foo bar "', ' foo bar ',
730
+ [], '')
731
+ self.assertEqual(qs[0].comments, ['a'])
732
+ self.assertEqual(qs.content, 'foo bar ')
733
+ self.assertEqual(qs.quoted_value, ' "foo bar "')
734
+
735
+ def test_get_quoted_string_header_ends_in_comment(self):
736
+ qs = self._test_get_x(parser.get_quoted_string,
737
+ ' (a) "bob" (a', ' (a) "bob" (a)', ' bob ',
738
+ [errors.InvalidHeaderDefect], '')
739
+ self.assertEqual(qs[0].comments, ['a'])
740
+ self.assertEqual(qs[2].comments, ['a'])
741
+ self.assertEqual(qs.content, 'bob')
742
+ self.assertEqual(qs.quoted_value, ' "bob" ')
743
+
744
+ def test_get_quoted_string_header_ends_in_qcontent(self):
745
+ qs = self._test_get_x(parser.get_quoted_string,
746
+ ' (a) "bob', ' (a) "bob"', ' bob',
747
+ [errors.InvalidHeaderDefect], '')
748
+ self.assertEqual(qs[0].comments, ['a'])
749
+ self.assertEqual(qs.content, 'bob')
750
+ self.assertEqual(qs.quoted_value, ' "bob"')
751
+
752
+ def test_get_quoted_string_no_quoted_string(self):
753
+ with self.assertRaises(errors.HeaderParseError):
754
+ parser.get_quoted_string(' (ab) xyz')
755
+
756
+ def test_get_quoted_string_qs_ends_at_noncfws(self):
757
+ qs = self._test_get_x(parser.get_quoted_string,
758
+ '\t "bob" fee', '\t "bob" ', ' bob ', [], 'fee')
759
+ self.assertEqual(qs.content, 'bob')
760
+ self.assertEqual(qs.quoted_value, ' "bob" ')
761
+
762
+ # get_atom
763
+
764
+ def test_get_atom_only(self):
765
+ atom = self._test_get_x(parser.get_atom,
766
+ 'bob', 'bob', 'bob', [], '')
767
+ self.assertEqual(atom.token_type, 'atom')
768
+
769
+ def test_get_atom_with_wsp(self):
770
+ self._test_get_x(parser.get_atom,
771
+ '\t bob ', '\t bob ', ' bob ', [], '')
772
+
773
+ def test_get_atom_with_comments_and_wsp(self):
774
+ atom = self._test_get_x(parser.get_atom,
775
+ ' (foo) bob(bar)', ' (foo) bob(bar)', ' bob ', [], '')
776
+ self.assertEqual(atom[0][1].content, 'foo')
777
+ self.assertEqual(atom[2][0].content, 'bar')
778
+
779
+ def test_get_atom_with_multiple_comments(self):
780
+ atom = self._test_get_x(parser.get_atom,
781
+ ' (foo) (bar) bob(bird)', ' (foo) (bar) bob(bird)', ' bob ',
782
+ [], '')
783
+ self.assertEqual(atom[0].comments, ['foo', 'bar'])
784
+ self.assertEqual(atom[2].comments, ['bird'])
785
+
786
+ def test_get_atom_non_printable_in_comment(self):
787
+ atom = self._test_get_x(parser.get_atom,
788
+ ' (\x0A) bob', ' (\x0A) bob', ' bob',
789
+ [errors.NonPrintableDefect], '')
790
+ self.assertEqual(atom[0].comments, ['\x0A'])
791
+
792
+ def test_get_atom_non_printable_in_atext(self):
793
+ atom = self._test_get_x(parser.get_atom,
794
+ ' (a) a\x0B', ' (a) a\x0B', ' a\x0B',
795
+ [errors.NonPrintableDefect], '')
796
+ self.assertEqual(atom[0].comments, ['a'])
797
+
798
+ def test_get_atom_header_ends_in_comment(self):
799
+ atom = self._test_get_x(parser.get_atom,
800
+ ' (a) bob (a', ' (a) bob (a)', ' bob ',
801
+ [errors.InvalidHeaderDefect], '')
802
+ self.assertEqual(atom[0].comments, ['a'])
803
+ self.assertEqual(atom[2].comments, ['a'])
804
+
805
+ def test_get_atom_no_atom(self):
806
+ with self.assertRaises(errors.HeaderParseError):
807
+ parser.get_atom(' (ab) ')
808
+
809
+ def test_get_atom_no_atom_before_special(self):
810
+ with self.assertRaises(errors.HeaderParseError):
811
+ parser.get_atom(' (ab) @')
812
+
813
+ def test_get_atom_atom_ends_at_special(self):
814
+ atom = self._test_get_x(parser.get_atom,
815
+ ' (foo) bob(bar) @bang', ' (foo) bob(bar) ', ' bob ', [], '@bang')
816
+ self.assertEqual(atom[0].comments, ['foo'])
817
+ self.assertEqual(atom[2].comments, ['bar'])
818
+
819
+ def test_get_atom_atom_ends_at_noncfws(self):
820
+ self._test_get_x(parser.get_atom,
821
+ 'bob fred', 'bob ', 'bob ', [], 'fred')
822
+
823
+ def test_get_atom_rfc2047_atom(self):
824
+ self._test_get_x(parser.get_atom,
825
+ '=?utf-8?q?=20bob?=', ' bob', ' bob', [], '')
826
+
827
+ # get_dot_atom_text
828
+
829
+ def test_get_dot_atom_text(self):
830
+ dot_atom_text = self._test_get_x(parser.get_dot_atom_text,
831
+ 'foo.bar.bang', 'foo.bar.bang', 'foo.bar.bang', [], '')
832
+ self.assertEqual(dot_atom_text.token_type, 'dot-atom-text')
833
+ self.assertEqual(len(dot_atom_text), 5)
834
+
835
+ def test_get_dot_atom_text_lone_atom_is_valid(self):
836
+ dot_atom_text = self._test_get_x(parser.get_dot_atom_text,
837
+ 'foo', 'foo', 'foo', [], '')
838
+
839
+ def test_get_dot_atom_text_raises_on_leading_dot(self):
840
+ with self.assertRaises(errors.HeaderParseError):
841
+ parser.get_dot_atom_text('.foo.bar')
842
+
843
+ def test_get_dot_atom_text_raises_on_trailing_dot(self):
844
+ with self.assertRaises(errors.HeaderParseError):
845
+ parser.get_dot_atom_text('foo.bar.')
846
+
847
+ def test_get_dot_atom_text_raises_on_leading_non_atext(self):
848
+ with self.assertRaises(errors.HeaderParseError):
849
+ parser.get_dot_atom_text(' foo.bar')
850
+ with self.assertRaises(errors.HeaderParseError):
851
+ parser.get_dot_atom_text('@foo.bar')
852
+ with self.assertRaises(errors.HeaderParseError):
853
+ parser.get_dot_atom_text('"foo.bar"')
854
+
855
+ def test_get_dot_atom_text_trailing_text_preserved(self):
856
+ dot_atom_text = self._test_get_x(parser.get_dot_atom_text,
857
+ 'foo@bar', 'foo', 'foo', [], '@bar')
858
+
859
+ def test_get_dot_atom_text_trailing_ws_preserved(self):
860
+ dot_atom_text = self._test_get_x(parser.get_dot_atom_text,
861
+ 'foo .bar', 'foo', 'foo', [], ' .bar')
862
+
863
+ # get_dot_atom
864
+
865
+ def test_get_dot_atom_only(self):
866
+ dot_atom = self._test_get_x(parser.get_dot_atom,
867
+ 'foo.bar.bing', 'foo.bar.bing', 'foo.bar.bing', [], '')
868
+ self.assertEqual(dot_atom.token_type, 'dot-atom')
869
+ self.assertEqual(len(dot_atom), 1)
870
+
871
+ def test_get_dot_atom_with_wsp(self):
872
+ self._test_get_x(parser.get_dot_atom,
873
+ '\t foo.bar.bing ', '\t foo.bar.bing ', ' foo.bar.bing ', [], '')
874
+
875
+ def test_get_dot_atom_with_comments_and_wsp(self):
876
+ self._test_get_x(parser.get_dot_atom,
877
+ ' (sing) foo.bar.bing (here) ', ' (sing) foo.bar.bing (here) ',
878
+ ' foo.bar.bing ', [], '')
879
+
880
+ def test_get_dot_atom_space_ends_dot_atom(self):
881
+ self._test_get_x(parser.get_dot_atom,
882
+ ' (sing) foo.bar .bing (here) ', ' (sing) foo.bar ',
883
+ ' foo.bar ', [], '.bing (here) ')
884
+
885
+ def test_get_dot_atom_no_atom_raises(self):
886
+ with self.assertRaises(errors.HeaderParseError):
887
+ parser.get_dot_atom(' (foo) ')
888
+
889
+ def test_get_dot_atom_leading_dot_raises(self):
890
+ with self.assertRaises(errors.HeaderParseError):
891
+ parser.get_dot_atom(' (foo) .bar')
892
+
893
+ def test_get_dot_atom_two_dots_raises(self):
894
+ with self.assertRaises(errors.HeaderParseError):
895
+ parser.get_dot_atom('bar..bang')
896
+
897
+ def test_get_dot_atom_trailing_dot_raises(self):
898
+ with self.assertRaises(errors.HeaderParseError):
899
+ parser.get_dot_atom(' (foo) bar.bang. foo')
900
+
901
+ def test_get_dot_atom_rfc2047_atom(self):
902
+ self._test_get_x(parser.get_dot_atom,
903
+ '=?utf-8?q?=20bob?=', ' bob', ' bob', [], '')
904
+
905
+ # get_word (if this were black box we'd repeat all the qs/atom tests)
906
+
907
+ def test_get_word_atom_yields_atom(self):
908
+ word = self._test_get_x(parser.get_word,
909
+ ' (foo) bar (bang) :ah', ' (foo) bar (bang) ', ' bar ', [], ':ah')
910
+ self.assertEqual(word.token_type, 'atom')
911
+ self.assertEqual(word[0].token_type, 'cfws')
912
+
913
+ def test_get_word_qs_yields_qs(self):
914
+ word = self._test_get_x(parser.get_word,
915
+ '"bar " (bang) ah', '"bar " (bang) ', 'bar ', [], 'ah')
916
+ self.assertEqual(word.token_type, 'quoted-string')
917
+ self.assertEqual(word[0].token_type, 'bare-quoted-string')
918
+ self.assertEqual(word[0].value, 'bar ')
919
+ self.assertEqual(word.content, 'bar ')
920
+
921
+ def test_get_word_ends_at_dot(self):
922
+ self._test_get_x(parser.get_word,
923
+ 'foo.', 'foo', 'foo', [], '.')
924
+
925
+ # get_phrase
926
+
927
+ def test_get_phrase_simple(self):
928
+ phrase = self._test_get_x(parser.get_phrase,
929
+ '"Fred A. Johnson" is his name, oh.',
930
+ '"Fred A. Johnson" is his name',
931
+ 'Fred A. Johnson is his name',
932
+ [],
933
+ ', oh.')
934
+ self.assertEqual(phrase.token_type, 'phrase')
935
+
936
+ def test_get_phrase_complex(self):
937
+ phrase = self._test_get_x(parser.get_phrase,
938
+ ' (A) bird (in (my|your)) "hand " is messy\t<>\t',
939
+ ' (A) bird (in (my|your)) "hand " is messy\t',
940
+ ' bird hand is messy ',
941
+ [],
942
+ '<>\t')
943
+ self.assertEqual(phrase[0][0].comments, ['A'])
944
+ self.assertEqual(phrase[0][2].comments, ['in (my|your)'])
945
+
946
+ def test_get_phrase_obsolete(self):
947
+ phrase = self._test_get_x(parser.get_phrase,
948
+ 'Fred A.(weird).O Johnson',
949
+ 'Fred A.(weird).O Johnson',
950
+ 'Fred A. .O Johnson',
951
+ [errors.ObsoleteHeaderDefect]*3,
952
+ '')
953
+ self.assertEqual(len(phrase), 7)
954
+ self.assertEqual(phrase[3].comments, ['weird'])
955
+
956
+ def test_get_phrase_pharse_must_start_with_word(self):
957
+ phrase = self._test_get_x(parser.get_phrase,
958
+ '(even weirder).name',
959
+ '(even weirder).name',
960
+ ' .name',
961
+ [errors.InvalidHeaderDefect] + [errors.ObsoleteHeaderDefect]*2,
962
+ '')
963
+ self.assertEqual(len(phrase), 3)
964
+ self.assertEqual(phrase[0].comments, ['even weirder'])
965
+
966
+ def test_get_phrase_ending_with_obsolete(self):
967
+ phrase = self._test_get_x(parser.get_phrase,
968
+ 'simple phrase.(with trailing comment):boo',
969
+ 'simple phrase.(with trailing comment)',
970
+ 'simple phrase. ',
971
+ [errors.ObsoleteHeaderDefect]*2,
972
+ ':boo')
973
+ self.assertEqual(len(phrase), 4)
974
+ self.assertEqual(phrase[3].comments, ['with trailing comment'])
975
+
976
+ def get_phrase_cfws_only_raises(self):
977
+ with self.assertRaises(errors.HeaderParseError):
978
+ parser.get_phrase(' (foo) ')
979
+
980
+ # get_local_part
981
+
982
+ def test_get_local_part_simple(self):
983
+ local_part = self._test_get_x(parser.get_local_part,
984
+ 'dinsdale@python.org', 'dinsdale', 'dinsdale', [], '@python.org')
985
+ self.assertEqual(local_part.token_type, 'local-part')
986
+ self.assertEqual(local_part.local_part, 'dinsdale')
987
+
988
+ def test_get_local_part_with_dot(self):
989
+ local_part = self._test_get_x(parser.get_local_part,
990
+ 'Fred.A.Johnson@python.org',
991
+ 'Fred.A.Johnson',
992
+ 'Fred.A.Johnson',
993
+ [],
994
+ '@python.org')
995
+ self.assertEqual(local_part.local_part, 'Fred.A.Johnson')
996
+
997
+ def test_get_local_part_with_whitespace(self):
998
+ local_part = self._test_get_x(parser.get_local_part,
999
+ ' Fred.A.Johnson @python.org',
1000
+ ' Fred.A.Johnson ',
1001
+ ' Fred.A.Johnson ',
1002
+ [],
1003
+ '@python.org')
1004
+ self.assertEqual(local_part.local_part, 'Fred.A.Johnson')
1005
+
1006
+ def test_get_local_part_with_cfws(self):
1007
+ local_part = self._test_get_x(parser.get_local_part,
1008
+ ' (foo) Fred.A.Johnson (bar (bird)) @python.org',
1009
+ ' (foo) Fred.A.Johnson (bar (bird)) ',
1010
+ ' Fred.A.Johnson ',
1011
+ [],
1012
+ '@python.org')
1013
+ self.assertEqual(local_part.local_part, 'Fred.A.Johnson')
1014
+ self.assertEqual(local_part[0][0].comments, ['foo'])
1015
+ self.assertEqual(local_part[0][2].comments, ['bar (bird)'])
1016
+
1017
+ def test_get_local_part_simple_quoted(self):
1018
+ local_part = self._test_get_x(parser.get_local_part,
1019
+ '"dinsdale"@python.org', '"dinsdale"', '"dinsdale"', [], '@python.org')
1020
+ self.assertEqual(local_part.token_type, 'local-part')
1021
+ self.assertEqual(local_part.local_part, 'dinsdale')
1022
+
1023
+ def test_get_local_part_with_quoted_dot(self):
1024
+ local_part = self._test_get_x(parser.get_local_part,
1025
+ '"Fred.A.Johnson"@python.org',
1026
+ '"Fred.A.Johnson"',
1027
+ '"Fred.A.Johnson"',
1028
+ [],
1029
+ '@python.org')
1030
+ self.assertEqual(local_part.local_part, 'Fred.A.Johnson')
1031
+
1032
+ def test_get_local_part_quoted_with_whitespace(self):
1033
+ local_part = self._test_get_x(parser.get_local_part,
1034
+ ' "Fred A. Johnson" @python.org',
1035
+ ' "Fred A. Johnson" ',
1036
+ ' "Fred A. Johnson" ',
1037
+ [],
1038
+ '@python.org')
1039
+ self.assertEqual(local_part.local_part, 'Fred A. Johnson')
1040
+
1041
+ def test_get_local_part_quoted_with_cfws(self):
1042
+ local_part = self._test_get_x(parser.get_local_part,
1043
+ ' (foo) " Fred A. Johnson " (bar (bird)) @python.org',
1044
+ ' (foo) " Fred A. Johnson " (bar (bird)) ',
1045
+ ' " Fred A. Johnson " ',
1046
+ [],
1047
+ '@python.org')
1048
+ self.assertEqual(local_part.local_part, ' Fred A. Johnson ')
1049
+ self.assertEqual(local_part[0][0].comments, ['foo'])
1050
+ self.assertEqual(local_part[0][2].comments, ['bar (bird)'])
1051
+
1052
+
1053
+ def test_get_local_part_simple_obsolete(self):
1054
+ local_part = self._test_get_x(parser.get_local_part,
1055
+ 'Fred. A.Johnson@python.org',
1056
+ 'Fred. A.Johnson',
1057
+ 'Fred. A.Johnson',
1058
+ [errors.ObsoleteHeaderDefect],
1059
+ '@python.org')
1060
+ self.assertEqual(local_part.local_part, 'Fred.A.Johnson')
1061
+
1062
+ def test_get_local_part_complex_obsolete_1(self):
1063
+ local_part = self._test_get_x(parser.get_local_part,
1064
+ ' (foo )Fred (bar).(bird) A.(sheep)Johnson."and dogs "@python.org',
1065
+ ' (foo )Fred (bar).(bird) A.(sheep)Johnson."and dogs "',
1066
+ ' Fred . A. Johnson.and dogs ',
1067
+ [errors.ObsoleteHeaderDefect],
1068
+ '@python.org')
1069
+ self.assertEqual(local_part.local_part, 'Fred.A.Johnson.and dogs ')
1070
+
1071
+ def test_get_local_part_complex_obsolete_invalid(self):
1072
+ local_part = self._test_get_x(parser.get_local_part,
1073
+ ' (foo )Fred (bar).(bird) A.(sheep)Johnson "and dogs"@python.org',
1074
+ ' (foo )Fred (bar).(bird) A.(sheep)Johnson "and dogs"',
1075
+ ' Fred . A. Johnson and dogs',
1076
+ [errors.InvalidHeaderDefect]*2,
1077
+ '@python.org')
1078
+ self.assertEqual(local_part.local_part, 'Fred.A.Johnson and dogs')
1079
+
1080
+ def test_get_local_part_no_part_raises(self):
1081
+ with self.assertRaises(errors.HeaderParseError):
1082
+ parser.get_local_part(' (foo) ')
1083
+
1084
+ def test_get_local_part_special_instead_raises(self):
1085
+ with self.assertRaises(errors.HeaderParseError):
1086
+ parser.get_local_part(' (foo) @python.org')
1087
+
1088
+ def test_get_local_part_trailing_dot(self):
1089
+ local_part = self._test_get_x(parser.get_local_part,
1090
+ ' borris.@python.org',
1091
+ ' borris.',
1092
+ ' borris.',
1093
+ [errors.InvalidHeaderDefect]*2,
1094
+ '@python.org')
1095
+ self.assertEqual(local_part.local_part, 'borris.')
1096
+
1097
+ def test_get_local_part_trailing_dot_with_ws(self):
1098
+ local_part = self._test_get_x(parser.get_local_part,
1099
+ ' borris. @python.org',
1100
+ ' borris. ',
1101
+ ' borris. ',
1102
+ [errors.InvalidHeaderDefect]*2,
1103
+ '@python.org')
1104
+ self.assertEqual(local_part.local_part, 'borris.')
1105
+
1106
+ def test_get_local_part_leading_dot(self):
1107
+ local_part = self._test_get_x(parser.get_local_part,
1108
+ '.borris@python.org',
1109
+ '.borris',
1110
+ '.borris',
1111
+ [errors.InvalidHeaderDefect]*2,
1112
+ '@python.org')
1113
+ self.assertEqual(local_part.local_part, '.borris')
1114
+
1115
+ def test_get_local_part_leading_dot_after_ws(self):
1116
+ local_part = self._test_get_x(parser.get_local_part,
1117
+ ' .borris@python.org',
1118
+ ' .borris',
1119
+ ' .borris',
1120
+ [errors.InvalidHeaderDefect]*2,
1121
+ '@python.org')
1122
+ self.assertEqual(local_part.local_part, '.borris')
1123
+
1124
+ def test_get_local_part_double_dot_raises(self):
1125
+ local_part = self._test_get_x(parser.get_local_part,
1126
+ ' borris.(foo).natasha@python.org',
1127
+ ' borris.(foo).natasha',
1128
+ ' borris. .natasha',
1129
+ [errors.InvalidHeaderDefect]*2,
1130
+ '@python.org')
1131
+ self.assertEqual(local_part.local_part, 'borris..natasha')
1132
+
1133
+ def test_get_local_part_quoted_strings_in_atom_list(self):
1134
+ local_part = self._test_get_x(parser.get_local_part,
1135
+ '""example" example"@example.com',
1136
+ '""example" example"',
1137
+ 'example example',
1138
+ [errors.InvalidHeaderDefect]*3,
1139
+ '@example.com')
1140
+ self.assertEqual(local_part.local_part, 'example example')
1141
+
1142
+ def test_get_local_part_valid_and_invalid_qp_in_atom_list(self):
1143
+ local_part = self._test_get_x(parser.get_local_part,
1144
+ r'"\\"example\\" example"@example.com',
1145
+ r'"\\"example\\" example"',
1146
+ r'\example\\ example',
1147
+ [errors.InvalidHeaderDefect]*5,
1148
+ '@example.com')
1149
+ self.assertEqual(local_part.local_part, r'\example\\ example')
1150
+
1151
+ def test_get_local_part_unicode_defect(self):
1152
+ # Currently this only happens when parsing unicode, not when parsing
1153
+ # stuff that was originally binary.
1154
+ local_part = self._test_get_x(parser.get_local_part,
1155
+ 'exámple@example.com',
1156
+ 'exámple',
1157
+ 'exámple',
1158
+ [errors.NonASCIILocalPartDefect],
1159
+ '@example.com')
1160
+ self.assertEqual(local_part.local_part, 'exámple')
1161
+
1162
+ # get_dtext
1163
+
1164
+ def test_get_dtext_only(self):
1165
+ dtext = self._test_get_x(parser.get_dtext,
1166
+ 'foobar', 'foobar', 'foobar', [], '')
1167
+ self.assertEqual(dtext.token_type, 'ptext')
1168
+
1169
+ def test_get_dtext_all_dtext(self):
1170
+ dtext = self._test_get_x(parser.get_dtext, self.rfc_dtext_chars,
1171
+ self.rfc_dtext_chars,
1172
+ self.rfc_dtext_chars, [], '')
1173
+
1174
+ def test_get_dtext_two_words_gets_first(self):
1175
+ self._test_get_x(parser.get_dtext,
1176
+ 'foo bar', 'foo', 'foo', [], ' bar')
1177
+
1178
+ def test_get_dtext_following_wsp_preserved(self):
1179
+ self._test_get_x(parser.get_dtext,
1180
+ 'foo \t\tbar', 'foo', 'foo', [], ' \t\tbar')
1181
+
1182
+ def test_get_dtext_non_printables(self):
1183
+ dtext = self._test_get_x(parser.get_dtext,
1184
+ 'foo\x00bar]', 'foo\x00bar', 'foo\x00bar',
1185
+ [errors.NonPrintableDefect], ']')
1186
+ self.assertEqual(dtext.defects[0].non_printables[0], '\x00')
1187
+
1188
+ def test_get_dtext_with_qp(self):
1189
+ ptext = self._test_get_x(parser.get_dtext,
1190
+ r'foo\]\[\\bar\b\e\l\l',
1191
+ r'foo][\barbell',
1192
+ r'foo][\barbell',
1193
+ [errors.ObsoleteHeaderDefect],
1194
+ '')
1195
+
1196
+ def test_get_dtext_up_to_close_bracket_only(self):
1197
+ self._test_get_x(parser.get_dtext,
1198
+ 'foo]', 'foo', 'foo', [], ']')
1199
+
1200
+ def test_get_dtext_wsp_before_close_bracket_preserved(self):
1201
+ self._test_get_x(parser.get_dtext,
1202
+ 'foo ]', 'foo', 'foo', [], ' ]')
1203
+
1204
+ def test_get_dtext_close_bracket_mid_word(self):
1205
+ self._test_get_x(parser.get_dtext,
1206
+ 'foo]bar', 'foo', 'foo', [], ']bar')
1207
+
1208
+ def test_get_dtext_up_to_open_bracket_only(self):
1209
+ self._test_get_x(parser.get_dtext,
1210
+ 'foo[', 'foo', 'foo', [], '[')
1211
+
1212
+ def test_get_dtext_wsp_before_open_bracket_preserved(self):
1213
+ self._test_get_x(parser.get_dtext,
1214
+ 'foo [', 'foo', 'foo', [], ' [')
1215
+
1216
+ def test_get_dtext_open_bracket_mid_word(self):
1217
+ self._test_get_x(parser.get_dtext,
1218
+ 'foo[bar', 'foo', 'foo', [], '[bar')
1219
+
1220
+ # get_domain_literal
1221
+
1222
+ def test_get_domain_literal_only(self):
1223
+ domain_literal = domain_literal = self._test_get_x(parser.get_domain_literal,
1224
+ '[127.0.0.1]',
1225
+ '[127.0.0.1]',
1226
+ '[127.0.0.1]',
1227
+ [],
1228
+ '')
1229
+ self.assertEqual(domain_literal.token_type, 'domain-literal')
1230
+ self.assertEqual(domain_literal.domain, '[127.0.0.1]')
1231
+ self.assertEqual(domain_literal.ip, '127.0.0.1')
1232
+
1233
+ def test_get_domain_literal_with_internal_ws(self):
1234
+ domain_literal = self._test_get_x(parser.get_domain_literal,
1235
+ '[ 127.0.0.1\t ]',
1236
+ '[ 127.0.0.1\t ]',
1237
+ '[ 127.0.0.1 ]',
1238
+ [],
1239
+ '')
1240
+ self.assertEqual(domain_literal.domain, '[127.0.0.1]')
1241
+ self.assertEqual(domain_literal.ip, '127.0.0.1')
1242
+
1243
+ def test_get_domain_literal_with_surrounding_cfws(self):
1244
+ domain_literal = self._test_get_x(parser.get_domain_literal,
1245
+ '(foo)[ 127.0.0.1] (bar)',
1246
+ '(foo)[ 127.0.0.1] (bar)',
1247
+ ' [ 127.0.0.1] ',
1248
+ [],
1249
+ '')
1250
+ self.assertEqual(domain_literal.domain, '[127.0.0.1]')
1251
+ self.assertEqual(domain_literal.ip, '127.0.0.1')
1252
+
1253
+ def test_get_domain_literal_no_start_char_raises(self):
1254
+ with self.assertRaises(errors.HeaderParseError):
1255
+ parser.get_domain_literal('(foo) ')
1256
+
1257
+ def test_get_domain_literal_no_start_char_before_special_raises(self):
1258
+ with self.assertRaises(errors.HeaderParseError):
1259
+ parser.get_domain_literal('(foo) @')
1260
+
1261
+ def test_get_domain_literal_bad_dtext_char_before_special_raises(self):
1262
+ with self.assertRaises(errors.HeaderParseError):
1263
+ parser.get_domain_literal('(foo) [abc[@')
1264
+
1265
+ # get_domain
1266
+
1267
+ def test_get_domain_regular_domain_only(self):
1268
+ domain = self._test_get_x(parser.get_domain,
1269
+ 'example.com',
1270
+ 'example.com',
1271
+ 'example.com',
1272
+ [],
1273
+ '')
1274
+ self.assertEqual(domain.token_type, 'domain')
1275
+ self.assertEqual(domain.domain, 'example.com')
1276
+
1277
+ def test_get_domain_domain_literal_only(self):
1278
+ domain = self._test_get_x(parser.get_domain,
1279
+ '[127.0.0.1]',
1280
+ '[127.0.0.1]',
1281
+ '[127.0.0.1]',
1282
+ [],
1283
+ '')
1284
+ self.assertEqual(domain.token_type, 'domain')
1285
+ self.assertEqual(domain.domain, '[127.0.0.1]')
1286
+
1287
+ def test_get_domain_with_cfws(self):
1288
+ domain = self._test_get_x(parser.get_domain,
1289
+ '(foo) example.com(bar)\t',
1290
+ '(foo) example.com(bar)\t',
1291
+ ' example.com ',
1292
+ [],
1293
+ '')
1294
+ self.assertEqual(domain.domain, 'example.com')
1295
+
1296
+ def test_get_domain_domain_literal_with_cfws(self):
1297
+ domain = self._test_get_x(parser.get_domain,
1298
+ '(foo)[127.0.0.1]\t(bar)',
1299
+ '(foo)[127.0.0.1]\t(bar)',
1300
+ ' [127.0.0.1] ',
1301
+ [],
1302
+ '')
1303
+ self.assertEqual(domain.domain, '[127.0.0.1]')
1304
+
1305
+ def test_get_domain_domain_with_cfws_ends_at_special(self):
1306
+ domain = self._test_get_x(parser.get_domain,
1307
+ '(foo)example.com\t(bar), next',
1308
+ '(foo)example.com\t(bar)',
1309
+ ' example.com ',
1310
+ [],
1311
+ ', next')
1312
+ self.assertEqual(domain.domain, 'example.com')
1313
+
1314
+ def test_get_domain_domain_literal_with_cfws_ends_at_special(self):
1315
+ domain = self._test_get_x(parser.get_domain,
1316
+ '(foo)[127.0.0.1]\t(bar), next',
1317
+ '(foo)[127.0.0.1]\t(bar)',
1318
+ ' [127.0.0.1] ',
1319
+ [],
1320
+ ', next')
1321
+ self.assertEqual(domain.domain, '[127.0.0.1]')
1322
+
1323
+ def test_get_domain_obsolete(self):
1324
+ domain = self._test_get_x(parser.get_domain,
1325
+ '(foo) example . (bird)com(bar)\t',
1326
+ '(foo) example . (bird)com(bar)\t',
1327
+ ' example . com ',
1328
+ [errors.ObsoleteHeaderDefect],
1329
+ '')
1330
+ self.assertEqual(domain.domain, 'example.com')
1331
+
1332
+ def test_get_domain_no_non_cfws_raises(self):
1333
+ with self.assertRaises(errors.HeaderParseError):
1334
+ parser.get_domain(" (foo)\t")
1335
+
1336
+ def test_get_domain_no_atom_raises(self):
1337
+ with self.assertRaises(errors.HeaderParseError):
1338
+ parser.get_domain(" (foo)\t, broken")
1339
+
1340
+
1341
+ # get_addr_spec
1342
+
1343
+ def test_get_addr_spec_normal(self):
1344
+ addr_spec = self._test_get_x(parser.get_addr_spec,
1345
+ 'dinsdale@example.com',
1346
+ 'dinsdale@example.com',
1347
+ 'dinsdale@example.com',
1348
+ [],
1349
+ '')
1350
+ self.assertEqual(addr_spec.token_type, 'addr-spec')
1351
+ self.assertEqual(addr_spec.local_part, 'dinsdale')
1352
+ self.assertEqual(addr_spec.domain, 'example.com')
1353
+ self.assertEqual(addr_spec.addr_spec, 'dinsdale@example.com')
1354
+
1355
+ def test_get_addr_spec_with_doamin_literal(self):
1356
+ addr_spec = self._test_get_x(parser.get_addr_spec,
1357
+ 'dinsdale@[127.0.0.1]',
1358
+ 'dinsdale@[127.0.0.1]',
1359
+ 'dinsdale@[127.0.0.1]',
1360
+ [],
1361
+ '')
1362
+ self.assertEqual(addr_spec.local_part, 'dinsdale')
1363
+ self.assertEqual(addr_spec.domain, '[127.0.0.1]')
1364
+ self.assertEqual(addr_spec.addr_spec, 'dinsdale@[127.0.0.1]')
1365
+
1366
+ def test_get_addr_spec_with_cfws(self):
1367
+ addr_spec = self._test_get_x(parser.get_addr_spec,
1368
+ '(foo) dinsdale(bar)@ (bird) example.com (bog)',
1369
+ '(foo) dinsdale(bar)@ (bird) example.com (bog)',
1370
+ ' dinsdale@example.com ',
1371
+ [],
1372
+ '')
1373
+ self.assertEqual(addr_spec.local_part, 'dinsdale')
1374
+ self.assertEqual(addr_spec.domain, 'example.com')
1375
+ self.assertEqual(addr_spec.addr_spec, 'dinsdale@example.com')
1376
+
1377
+ def test_get_addr_spec_with_qouoted_string_and_cfws(self):
1378
+ addr_spec = self._test_get_x(parser.get_addr_spec,
1379
+ '(foo) "roy a bug"(bar)@ (bird) example.com (bog)',
1380
+ '(foo) "roy a bug"(bar)@ (bird) example.com (bog)',
1381
+ ' "roy a bug"@example.com ',
1382
+ [],
1383
+ '')
1384
+ self.assertEqual(addr_spec.local_part, 'roy a bug')
1385
+ self.assertEqual(addr_spec.domain, 'example.com')
1386
+ self.assertEqual(addr_spec.addr_spec, '"roy a bug"@example.com')
1387
+
1388
+ def test_get_addr_spec_ends_at_special(self):
1389
+ addr_spec = self._test_get_x(parser.get_addr_spec,
1390
+ '(foo) "roy a bug"(bar)@ (bird) example.com (bog) , next',
1391
+ '(foo) "roy a bug"(bar)@ (bird) example.com (bog) ',
1392
+ ' "roy a bug"@example.com ',
1393
+ [],
1394
+ ', next')
1395
+ self.assertEqual(addr_spec.local_part, 'roy a bug')
1396
+ self.assertEqual(addr_spec.domain, 'example.com')
1397
+ self.assertEqual(addr_spec.addr_spec, '"roy a bug"@example.com')
1398
+
1399
+ def test_get_addr_spec_quoted_strings_in_atom_list(self):
1400
+ addr_spec = self._test_get_x(parser.get_addr_spec,
1401
+ '""example" example"@example.com',
1402
+ '""example" example"@example.com',
1403
+ 'example example@example.com',
1404
+ [errors.InvalidHeaderDefect]*3,
1405
+ '')
1406
+ self.assertEqual(addr_spec.local_part, 'example example')
1407
+ self.assertEqual(addr_spec.domain, 'example.com')
1408
+ self.assertEqual(addr_spec.addr_spec, '"example example"@example.com')
1409
+
1410
+ def test_get_addr_spec_dot_atom(self):
1411
+ addr_spec = self._test_get_x(parser.get_addr_spec,
1412
+ 'star.a.star@example.com',
1413
+ 'star.a.star@example.com',
1414
+ 'star.a.star@example.com',
1415
+ [],
1416
+ '')
1417
+ self.assertEqual(addr_spec.local_part, 'star.a.star')
1418
+ self.assertEqual(addr_spec.domain, 'example.com')
1419
+ self.assertEqual(addr_spec.addr_spec, 'star.a.star@example.com')
1420
+
1421
+ # get_obs_route
1422
+
1423
+ def test_get_obs_route_simple(self):
1424
+ obs_route = self._test_get_x(parser.get_obs_route,
1425
+ '@example.com, @two.example.com:',
1426
+ '@example.com, @two.example.com:',
1427
+ '@example.com, @two.example.com:',
1428
+ [],
1429
+ '')
1430
+ self.assertEqual(obs_route.token_type, 'obs-route')
1431
+ self.assertEqual(obs_route.domains, ['example.com', 'two.example.com'])
1432
+
1433
+ def test_get_obs_route_complex(self):
1434
+ obs_route = self._test_get_x(parser.get_obs_route,
1435
+ '(foo),, (blue)@example.com (bar),@two.(foo) example.com (bird):',
1436
+ '(foo),, (blue)@example.com (bar),@two.(foo) example.com (bird):',
1437
+ ' ,, @example.com ,@two. example.com :',
1438
+ [errors.ObsoleteHeaderDefect], # This is the obs-domain
1439
+ '')
1440
+ self.assertEqual(obs_route.token_type, 'obs-route')
1441
+ self.assertEqual(obs_route.domains, ['example.com', 'two.example.com'])
1442
+
1443
+ def test_get_obs_route_no_route_before_end_raises(self):
1444
+ with self.assertRaises(errors.HeaderParseError):
1445
+ parser.get_obs_route('(foo) @example.com,')
1446
+
1447
+ def test_get_obs_route_no_route_before_special_raises(self):
1448
+ with self.assertRaises(errors.HeaderParseError):
1449
+ parser.get_obs_route('(foo) [abc],')
1450
+
1451
+ def test_get_obs_route_no_route_before_special_raises2(self):
1452
+ with self.assertRaises(errors.HeaderParseError):
1453
+ parser.get_obs_route('(foo) @example.com [abc],')
1454
+
1455
+ # get_angle_addr
1456
+
1457
+ def test_get_angle_addr_simple(self):
1458
+ angle_addr = self._test_get_x(parser.get_angle_addr,
1459
+ '<dinsdale@example.com>',
1460
+ '<dinsdale@example.com>',
1461
+ '<dinsdale@example.com>',
1462
+ [],
1463
+ '')
1464
+ self.assertEqual(angle_addr.token_type, 'angle-addr')
1465
+ self.assertEqual(angle_addr.local_part, 'dinsdale')
1466
+ self.assertEqual(angle_addr.domain, 'example.com')
1467
+ self.assertIsNone(angle_addr.route)
1468
+ self.assertEqual(angle_addr.addr_spec, 'dinsdale@example.com')
1469
+
1470
+ def test_get_angle_addr_empty(self):
1471
+ angle_addr = self._test_get_x(parser.get_angle_addr,
1472
+ '<>',
1473
+ '<>',
1474
+ '<>',
1475
+ [errors.InvalidHeaderDefect],
1476
+ '')
1477
+ self.assertEqual(angle_addr.token_type, 'angle-addr')
1478
+ self.assertIsNone(angle_addr.local_part)
1479
+ self.assertIsNone(angle_addr.domain)
1480
+ self.assertIsNone(angle_addr.route)
1481
+ self.assertEqual(angle_addr.addr_spec, '<>')
1482
+
1483
+ def test_get_angle_addr_with_cfws(self):
1484
+ angle_addr = self._test_get_x(parser.get_angle_addr,
1485
+ ' (foo) <dinsdale@example.com>(bar)',
1486
+ ' (foo) <dinsdale@example.com>(bar)',
1487
+ ' <dinsdale@example.com> ',
1488
+ [],
1489
+ '')
1490
+ self.assertEqual(angle_addr.token_type, 'angle-addr')
1491
+ self.assertEqual(angle_addr.local_part, 'dinsdale')
1492
+ self.assertEqual(angle_addr.domain, 'example.com')
1493
+ self.assertIsNone(angle_addr.route)
1494
+ self.assertEqual(angle_addr.addr_spec, 'dinsdale@example.com')
1495
+
1496
+ def test_get_angle_addr_qs_and_domain_literal(self):
1497
+ angle_addr = self._test_get_x(parser.get_angle_addr,
1498
+ '<"Fred Perfect"@[127.0.0.1]>',
1499
+ '<"Fred Perfect"@[127.0.0.1]>',
1500
+ '<"Fred Perfect"@[127.0.0.1]>',
1501
+ [],
1502
+ '')
1503
+ self.assertEqual(angle_addr.local_part, 'Fred Perfect')
1504
+ self.assertEqual(angle_addr.domain, '[127.0.0.1]')
1505
+ self.assertIsNone(angle_addr.route)
1506
+ self.assertEqual(angle_addr.addr_spec, '"Fred Perfect"@[127.0.0.1]')
1507
+
1508
+ def test_get_angle_addr_internal_cfws(self):
1509
+ angle_addr = self._test_get_x(parser.get_angle_addr,
1510
+ '<(foo) dinsdale@example.com(bar)>',
1511
+ '<(foo) dinsdale@example.com(bar)>',
1512
+ '< dinsdale@example.com >',
1513
+ [],
1514
+ '')
1515
+ self.assertEqual(angle_addr.local_part, 'dinsdale')
1516
+ self.assertEqual(angle_addr.domain, 'example.com')
1517
+ self.assertIsNone(angle_addr.route)
1518
+ self.assertEqual(angle_addr.addr_spec, 'dinsdale@example.com')
1519
+
1520
+ def test_get_angle_addr_obs_route(self):
1521
+ angle_addr = self._test_get_x(parser.get_angle_addr,
1522
+ '(foo)<@example.com, (bird) @two.example.com: dinsdale@example.com> (bar) ',
1523
+ '(foo)<@example.com, (bird) @two.example.com: dinsdale@example.com> (bar) ',
1524
+ ' <@example.com, @two.example.com: dinsdale@example.com> ',
1525
+ [errors.ObsoleteHeaderDefect],
1526
+ '')
1527
+ self.assertEqual(angle_addr.local_part, 'dinsdale')
1528
+ self.assertEqual(angle_addr.domain, 'example.com')
1529
+ self.assertEqual(angle_addr.route, ['example.com', 'two.example.com'])
1530
+ self.assertEqual(angle_addr.addr_spec, 'dinsdale@example.com')
1531
+
1532
+ def test_get_angle_addr_missing_closing_angle(self):
1533
+ angle_addr = self._test_get_x(parser.get_angle_addr,
1534
+ '<dinsdale@example.com',
1535
+ '<dinsdale@example.com>',
1536
+ '<dinsdale@example.com>',
1537
+ [errors.InvalidHeaderDefect],
1538
+ '')
1539
+ self.assertEqual(angle_addr.local_part, 'dinsdale')
1540
+ self.assertEqual(angle_addr.domain, 'example.com')
1541
+ self.assertIsNone(angle_addr.route)
1542
+ self.assertEqual(angle_addr.addr_spec, 'dinsdale@example.com')
1543
+
1544
+ def test_get_angle_addr_missing_closing_angle_with_cfws(self):
1545
+ angle_addr = self._test_get_x(parser.get_angle_addr,
1546
+ '<dinsdale@example.com (foo)',
1547
+ '<dinsdale@example.com (foo)>',
1548
+ '<dinsdale@example.com >',
1549
+ [errors.InvalidHeaderDefect],
1550
+ '')
1551
+ self.assertEqual(angle_addr.local_part, 'dinsdale')
1552
+ self.assertEqual(angle_addr.domain, 'example.com')
1553
+ self.assertIsNone(angle_addr.route)
1554
+ self.assertEqual(angle_addr.addr_spec, 'dinsdale@example.com')
1555
+
1556
+ def test_get_angle_addr_ends_at_special(self):
1557
+ angle_addr = self._test_get_x(parser.get_angle_addr,
1558
+ '<dinsdale@example.com> (foo), next',
1559
+ '<dinsdale@example.com> (foo)',
1560
+ '<dinsdale@example.com> ',
1561
+ [],
1562
+ ', next')
1563
+ self.assertEqual(angle_addr.local_part, 'dinsdale')
1564
+ self.assertEqual(angle_addr.domain, 'example.com')
1565
+ self.assertIsNone(angle_addr.route)
1566
+ self.assertEqual(angle_addr.addr_spec, 'dinsdale@example.com')
1567
+
1568
+ def test_get_angle_addr_no_angle_raise(self):
1569
+ with self.assertRaises(errors.HeaderParseError):
1570
+ parser.get_angle_addr('(foo) ')
1571
+
1572
+ def test_get_angle_addr_no_angle_before_special_raises(self):
1573
+ with self.assertRaises(errors.HeaderParseError):
1574
+ parser.get_angle_addr('(foo) , next')
1575
+
1576
+ def test_get_angle_addr_no_angle_raises(self):
1577
+ with self.assertRaises(errors.HeaderParseError):
1578
+ parser.get_angle_addr('bar')
1579
+
1580
+ def test_get_angle_addr_special_after_angle_raises(self):
1581
+ with self.assertRaises(errors.HeaderParseError):
1582
+ parser.get_angle_addr('(foo) <, bar')
1583
+
1584
+ # get_display_name This is phrase but with a different value.
1585
+
1586
+ def test_get_display_name_simple(self):
1587
+ display_name = self._test_get_x(parser.get_display_name,
1588
+ 'Fred A Johnson',
1589
+ 'Fred A Johnson',
1590
+ 'Fred A Johnson',
1591
+ [],
1592
+ '')
1593
+ self.assertEqual(display_name.token_type, 'display-name')
1594
+ self.assertEqual(display_name.display_name, 'Fred A Johnson')
1595
+
1596
+ def test_get_display_name_complex1(self):
1597
+ display_name = self._test_get_x(parser.get_display_name,
1598
+ '"Fred A. Johnson" is his name, oh.',
1599
+ '"Fred A. Johnson" is his name',
1600
+ '"Fred A. Johnson is his name"',
1601
+ [],
1602
+ ', oh.')
1603
+ self.assertEqual(display_name.token_type, 'display-name')
1604
+ self.assertEqual(display_name.display_name, 'Fred A. Johnson is his name')
1605
+
1606
+ def test_get_display_name_complex2(self):
1607
+ display_name = self._test_get_x(parser.get_display_name,
1608
+ ' (A) bird (in (my|your)) "hand " is messy\t<>\t',
1609
+ ' (A) bird (in (my|your)) "hand " is messy\t',
1610
+ ' "bird hand is messy" ',
1611
+ [],
1612
+ '<>\t')
1613
+ self.assertEqual(display_name[0][0].comments, ['A'])
1614
+ self.assertEqual(display_name[0][2].comments, ['in (my|your)'])
1615
+ self.assertEqual(display_name.display_name, 'bird hand is messy')
1616
+
1617
+ def test_get_display_name_obsolete(self):
1618
+ display_name = self._test_get_x(parser.get_display_name,
1619
+ 'Fred A.(weird).O Johnson',
1620
+ 'Fred A.(weird).O Johnson',
1621
+ '"Fred A. .O Johnson"',
1622
+ [errors.ObsoleteHeaderDefect]*3,
1623
+ '')
1624
+ self.assertEqual(len(display_name), 7)
1625
+ self.assertEqual(display_name[3].comments, ['weird'])
1626
+ self.assertEqual(display_name.display_name, 'Fred A. .O Johnson')
1627
+
1628
+ def test_get_display_name_pharse_must_start_with_word(self):
1629
+ display_name = self._test_get_x(parser.get_display_name,
1630
+ '(even weirder).name',
1631
+ '(even weirder).name',
1632
+ ' ".name"',
1633
+ [errors.InvalidHeaderDefect] + [errors.ObsoleteHeaderDefect]*2,
1634
+ '')
1635
+ self.assertEqual(len(display_name), 3)
1636
+ self.assertEqual(display_name[0].comments, ['even weirder'])
1637
+ self.assertEqual(display_name.display_name, '.name')
1638
+
1639
+ def test_get_display_name_ending_with_obsolete(self):
1640
+ display_name = self._test_get_x(parser.get_display_name,
1641
+ 'simple phrase.(with trailing comment):boo',
1642
+ 'simple phrase.(with trailing comment)',
1643
+ '"simple phrase." ',
1644
+ [errors.ObsoleteHeaderDefect]*2,
1645
+ ':boo')
1646
+ self.assertEqual(len(display_name), 4)
1647
+ self.assertEqual(display_name[3].comments, ['with trailing comment'])
1648
+ self.assertEqual(display_name.display_name, 'simple phrase.')
1649
+
1650
+ # get_name_addr
1651
+
1652
+ def test_get_name_addr_angle_addr_only(self):
1653
+ name_addr = self._test_get_x(parser.get_name_addr,
1654
+ '<dinsdale@example.com>',
1655
+ '<dinsdale@example.com>',
1656
+ '<dinsdale@example.com>',
1657
+ [],
1658
+ '')
1659
+ self.assertEqual(name_addr.token_type, 'name-addr')
1660
+ self.assertIsNone(name_addr.display_name)
1661
+ self.assertEqual(name_addr.local_part, 'dinsdale')
1662
+ self.assertEqual(name_addr.domain, 'example.com')
1663
+ self.assertIsNone(name_addr.route)
1664
+ self.assertEqual(name_addr.addr_spec, 'dinsdale@example.com')
1665
+
1666
+ def test_get_name_addr_atom_name(self):
1667
+ name_addr = self._test_get_x(parser.get_name_addr,
1668
+ 'Dinsdale <dinsdale@example.com>',
1669
+ 'Dinsdale <dinsdale@example.com>',
1670
+ 'Dinsdale <dinsdale@example.com>',
1671
+ [],
1672
+ '')
1673
+ self.assertEqual(name_addr.token_type, 'name-addr')
1674
+ self.assertEqual(name_addr.display_name, 'Dinsdale')
1675
+ self.assertEqual(name_addr.local_part, 'dinsdale')
1676
+ self.assertEqual(name_addr.domain, 'example.com')
1677
+ self.assertIsNone(name_addr.route)
1678
+ self.assertEqual(name_addr.addr_spec, 'dinsdale@example.com')
1679
+
1680
+ def test_get_name_addr_atom_name_with_cfws(self):
1681
+ name_addr = self._test_get_x(parser.get_name_addr,
1682
+ '(foo) Dinsdale (bar) <dinsdale@example.com> (bird)',
1683
+ '(foo) Dinsdale (bar) <dinsdale@example.com> (bird)',
1684
+ ' Dinsdale <dinsdale@example.com> ',
1685
+ [],
1686
+ '')
1687
+ self.assertEqual(name_addr.display_name, 'Dinsdale')
1688
+ self.assertEqual(name_addr.local_part, 'dinsdale')
1689
+ self.assertEqual(name_addr.domain, 'example.com')
1690
+ self.assertIsNone(name_addr.route)
1691
+ self.assertEqual(name_addr.addr_spec, 'dinsdale@example.com')
1692
+
1693
+ def test_get_name_addr_name_with_cfws_and_dots(self):
1694
+ name_addr = self._test_get_x(parser.get_name_addr,
1695
+ '(foo) Roy.A.Bear (bar) <dinsdale@example.com> (bird)',
1696
+ '(foo) Roy.A.Bear (bar) <dinsdale@example.com> (bird)',
1697
+ ' "Roy.A.Bear" <dinsdale@example.com> ',
1698
+ [errors.ObsoleteHeaderDefect]*2,
1699
+ '')
1700
+ self.assertEqual(name_addr.display_name, 'Roy.A.Bear')
1701
+ self.assertEqual(name_addr.local_part, 'dinsdale')
1702
+ self.assertEqual(name_addr.domain, 'example.com')
1703
+ self.assertIsNone(name_addr.route)
1704
+ self.assertEqual(name_addr.addr_spec, 'dinsdale@example.com')
1705
+
1706
+ def test_get_name_addr_qs_name(self):
1707
+ name_addr = self._test_get_x(parser.get_name_addr,
1708
+ '"Roy.A.Bear" <dinsdale@example.com>',
1709
+ '"Roy.A.Bear" <dinsdale@example.com>',
1710
+ '"Roy.A.Bear" <dinsdale@example.com>',
1711
+ [],
1712
+ '')
1713
+ self.assertEqual(name_addr.display_name, 'Roy.A.Bear')
1714
+ self.assertEqual(name_addr.local_part, 'dinsdale')
1715
+ self.assertEqual(name_addr.domain, 'example.com')
1716
+ self.assertIsNone(name_addr.route)
1717
+ self.assertEqual(name_addr.addr_spec, 'dinsdale@example.com')
1718
+
1719
+ def test_get_name_addr_with_route(self):
1720
+ name_addr = self._test_get_x(parser.get_name_addr,
1721
+ '"Roy.A.Bear" <@two.example.com: dinsdale@example.com>',
1722
+ '"Roy.A.Bear" <@two.example.com: dinsdale@example.com>',
1723
+ '"Roy.A.Bear" <@two.example.com: dinsdale@example.com>',
1724
+ [errors.ObsoleteHeaderDefect],
1725
+ '')
1726
+ self.assertEqual(name_addr.display_name, 'Roy.A.Bear')
1727
+ self.assertEqual(name_addr.local_part, 'dinsdale')
1728
+ self.assertEqual(name_addr.domain, 'example.com')
1729
+ self.assertEqual(name_addr.route, ['two.example.com'])
1730
+ self.assertEqual(name_addr.addr_spec, 'dinsdale@example.com')
1731
+
1732
+ def test_get_name_addr_ends_at_special(self):
1733
+ name_addr = self._test_get_x(parser.get_name_addr,
1734
+ '"Roy.A.Bear" <dinsdale@example.com>, next',
1735
+ '"Roy.A.Bear" <dinsdale@example.com>',
1736
+ '"Roy.A.Bear" <dinsdale@example.com>',
1737
+ [],
1738
+ ', next')
1739
+ self.assertEqual(name_addr.display_name, 'Roy.A.Bear')
1740
+ self.assertEqual(name_addr.local_part, 'dinsdale')
1741
+ self.assertEqual(name_addr.domain, 'example.com')
1742
+ self.assertIsNone(name_addr.route)
1743
+ self.assertEqual(name_addr.addr_spec, 'dinsdale@example.com')
1744
+
1745
+ def test_get_name_addr_no_content_raises(self):
1746
+ with self.assertRaises(errors.HeaderParseError):
1747
+ parser.get_name_addr(' (foo) ')
1748
+
1749
+ def test_get_name_addr_no_content_before_special_raises(self):
1750
+ with self.assertRaises(errors.HeaderParseError):
1751
+ parser.get_name_addr(' (foo) ,')
1752
+
1753
+ def test_get_name_addr_no_angle_after_display_name_raises(self):
1754
+ with self.assertRaises(errors.HeaderParseError):
1755
+ parser.get_name_addr('foo bar')
1756
+
1757
+ # get_mailbox
1758
+
1759
+ def test_get_mailbox_addr_spec_only(self):
1760
+ mailbox = self._test_get_x(parser.get_mailbox,
1761
+ 'dinsdale@example.com',
1762
+ 'dinsdale@example.com',
1763
+ 'dinsdale@example.com',
1764
+ [],
1765
+ '')
1766
+ self.assertEqual(mailbox.token_type, 'mailbox')
1767
+ self.assertIsNone(mailbox.display_name)
1768
+ self.assertEqual(mailbox.local_part, 'dinsdale')
1769
+ self.assertEqual(mailbox.domain, 'example.com')
1770
+ self.assertIsNone(mailbox.route)
1771
+ self.assertEqual(mailbox.addr_spec, 'dinsdale@example.com')
1772
+
1773
+ def test_get_mailbox_angle_addr_only(self):
1774
+ mailbox = self._test_get_x(parser.get_mailbox,
1775
+ '<dinsdale@example.com>',
1776
+ '<dinsdale@example.com>',
1777
+ '<dinsdale@example.com>',
1778
+ [],
1779
+ '')
1780
+ self.assertEqual(mailbox.token_type, 'mailbox')
1781
+ self.assertIsNone(mailbox.display_name)
1782
+ self.assertEqual(mailbox.local_part, 'dinsdale')
1783
+ self.assertEqual(mailbox.domain, 'example.com')
1784
+ self.assertIsNone(mailbox.route)
1785
+ self.assertEqual(mailbox.addr_spec, 'dinsdale@example.com')
1786
+
1787
+ def test_get_mailbox_name_addr(self):
1788
+ mailbox = self._test_get_x(parser.get_mailbox,
1789
+ '"Roy A. Bear" <dinsdale@example.com>',
1790
+ '"Roy A. Bear" <dinsdale@example.com>',
1791
+ '"Roy A. Bear" <dinsdale@example.com>',
1792
+ [],
1793
+ '')
1794
+ self.assertEqual(mailbox.token_type, 'mailbox')
1795
+ self.assertEqual(mailbox.display_name, 'Roy A. Bear')
1796
+ self.assertEqual(mailbox.local_part, 'dinsdale')
1797
+ self.assertEqual(mailbox.domain, 'example.com')
1798
+ self.assertIsNone(mailbox.route)
1799
+ self.assertEqual(mailbox.addr_spec, 'dinsdale@example.com')
1800
+
1801
+ def test_get_mailbox_ends_at_special(self):
1802
+ mailbox = self._test_get_x(parser.get_mailbox,
1803
+ '"Roy A. Bear" <dinsdale@example.com>, rest',
1804
+ '"Roy A. Bear" <dinsdale@example.com>',
1805
+ '"Roy A. Bear" <dinsdale@example.com>',
1806
+ [],
1807
+ ', rest')
1808
+ self.assertEqual(mailbox.token_type, 'mailbox')
1809
+ self.assertEqual(mailbox.display_name, 'Roy A. Bear')
1810
+ self.assertEqual(mailbox.local_part, 'dinsdale')
1811
+ self.assertEqual(mailbox.domain, 'example.com')
1812
+ self.assertIsNone(mailbox.route)
1813
+ self.assertEqual(mailbox.addr_spec, 'dinsdale@example.com')
1814
+
1815
+ def test_get_mailbox_quoted_strings_in_atom_list(self):
1816
+ mailbox = self._test_get_x(parser.get_mailbox,
1817
+ '""example" example"@example.com',
1818
+ '""example" example"@example.com',
1819
+ 'example example@example.com',
1820
+ [errors.InvalidHeaderDefect]*3,
1821
+ '')
1822
+ self.assertEqual(mailbox.local_part, 'example example')
1823
+ self.assertEqual(mailbox.domain, 'example.com')
1824
+ self.assertEqual(mailbox.addr_spec, '"example example"@example.com')
1825
+
1826
+ # get_mailbox_list
1827
+
1828
+ def test_get_mailbox_list_single_addr(self):
1829
+ mailbox_list = self._test_get_x(parser.get_mailbox_list,
1830
+ 'dinsdale@example.com',
1831
+ 'dinsdale@example.com',
1832
+ 'dinsdale@example.com',
1833
+ [],
1834
+ '')
1835
+ self.assertEqual(mailbox_list.token_type, 'mailbox-list')
1836
+ self.assertEqual(len(mailbox_list.mailboxes), 1)
1837
+ mailbox = mailbox_list.mailboxes[0]
1838
+ self.assertIsNone(mailbox.display_name)
1839
+ self.assertEqual(mailbox.local_part, 'dinsdale')
1840
+ self.assertEqual(mailbox.domain, 'example.com')
1841
+ self.assertIsNone(mailbox.route)
1842
+ self.assertEqual(mailbox.addr_spec, 'dinsdale@example.com')
1843
+ self.assertEqual(mailbox_list.mailboxes,
1844
+ mailbox_list.all_mailboxes)
1845
+
1846
+ def test_get_mailbox_list_two_simple_addr(self):
1847
+ mailbox_list = self._test_get_x(parser.get_mailbox_list,
1848
+ 'dinsdale@example.com, dinsdale@test.example.com',
1849
+ 'dinsdale@example.com, dinsdale@test.example.com',
1850
+ 'dinsdale@example.com, dinsdale@test.example.com',
1851
+ [],
1852
+ '')
1853
+ self.assertEqual(mailbox_list.token_type, 'mailbox-list')
1854
+ self.assertEqual(len(mailbox_list.mailboxes), 2)
1855
+ self.assertEqual(mailbox_list.mailboxes[0].addr_spec,
1856
+ 'dinsdale@example.com')
1857
+ self.assertEqual(mailbox_list.mailboxes[1].addr_spec,
1858
+ 'dinsdale@test.example.com')
1859
+ self.assertEqual(mailbox_list.mailboxes,
1860
+ mailbox_list.all_mailboxes)
1861
+
1862
+ def test_get_mailbox_list_two_name_addr(self):
1863
+ mailbox_list = self._test_get_x(parser.get_mailbox_list,
1864
+ ('"Roy A. Bear" <dinsdale@example.com>,'
1865
+ ' "Fred Flintstone" <dinsdale@test.example.com>'),
1866
+ ('"Roy A. Bear" <dinsdale@example.com>,'
1867
+ ' "Fred Flintstone" <dinsdale@test.example.com>'),
1868
+ ('"Roy A. Bear" <dinsdale@example.com>,'
1869
+ ' "Fred Flintstone" <dinsdale@test.example.com>'),
1870
+ [],
1871
+ '')
1872
+ self.assertEqual(len(mailbox_list.mailboxes), 2)
1873
+ self.assertEqual(mailbox_list.mailboxes[0].addr_spec,
1874
+ 'dinsdale@example.com')
1875
+ self.assertEqual(mailbox_list.mailboxes[0].display_name,
1876
+ 'Roy A. Bear')
1877
+ self.assertEqual(mailbox_list.mailboxes[1].addr_spec,
1878
+ 'dinsdale@test.example.com')
1879
+ self.assertEqual(mailbox_list.mailboxes[1].display_name,
1880
+ 'Fred Flintstone')
1881
+ self.assertEqual(mailbox_list.mailboxes,
1882
+ mailbox_list.all_mailboxes)
1883
+
1884
+ def test_get_mailbox_list_two_complex(self):
1885
+ mailbox_list = self._test_get_x(parser.get_mailbox_list,
1886
+ ('(foo) "Roy A. Bear" <dinsdale@example.com>(bar),'
1887
+ ' "Fred Flintstone" <dinsdale@test.(bird)example.com>'),
1888
+ ('(foo) "Roy A. Bear" <dinsdale@example.com>(bar),'
1889
+ ' "Fred Flintstone" <dinsdale@test.(bird)example.com>'),
1890
+ (' "Roy A. Bear" <dinsdale@example.com> ,'
1891
+ ' "Fred Flintstone" <dinsdale@test. example.com>'),
1892
+ [errors.ObsoleteHeaderDefect],
1893
+ '')
1894
+ self.assertEqual(len(mailbox_list.mailboxes), 2)
1895
+ self.assertEqual(mailbox_list.mailboxes[0].addr_spec,
1896
+ 'dinsdale@example.com')
1897
+ self.assertEqual(mailbox_list.mailboxes[0].display_name,
1898
+ 'Roy A. Bear')
1899
+ self.assertEqual(mailbox_list.mailboxes[1].addr_spec,
1900
+ 'dinsdale@test.example.com')
1901
+ self.assertEqual(mailbox_list.mailboxes[1].display_name,
1902
+ 'Fred Flintstone')
1903
+ self.assertEqual(mailbox_list.mailboxes,
1904
+ mailbox_list.all_mailboxes)
1905
+
1906
+ def test_get_mailbox_list_unparseable_mailbox_null(self):
1907
+ mailbox_list = self._test_get_x(parser.get_mailbox_list,
1908
+ ('"Roy A. Bear"[] dinsdale@example.com,'
1909
+ ' "Fred Flintstone" <dinsdale@test.(bird)example.com>'),
1910
+ ('"Roy A. Bear"[] dinsdale@example.com,'
1911
+ ' "Fred Flintstone" <dinsdale@test.(bird)example.com>'),
1912
+ ('"Roy A. Bear"[] dinsdale@example.com,'
1913
+ ' "Fred Flintstone" <dinsdale@test. example.com>'),
1914
+ [errors.InvalidHeaderDefect, # the 'extra' text after the local part
1915
+ errors.InvalidHeaderDefect, # the local part with no angle-addr
1916
+ errors.ObsoleteHeaderDefect, # period in extra text (example.com)
1917
+ errors.ObsoleteHeaderDefect], # (bird) in valid address.
1918
+ '')
1919
+ self.assertEqual(len(mailbox_list.mailboxes), 1)
1920
+ self.assertEqual(len(mailbox_list.all_mailboxes), 2)
1921
+ self.assertEqual(mailbox_list.all_mailboxes[0].token_type,
1922
+ 'invalid-mailbox')
1923
+ self.assertIsNone(mailbox_list.all_mailboxes[0].display_name)
1924
+ self.assertEqual(mailbox_list.all_mailboxes[0].local_part,
1925
+ 'Roy A. Bear')
1926
+ self.assertIsNone(mailbox_list.all_mailboxes[0].domain)
1927
+ self.assertEqual(mailbox_list.all_mailboxes[0].addr_spec,
1928
+ '"Roy A. Bear"')
1929
+ self.assertIs(mailbox_list.all_mailboxes[1],
1930
+ mailbox_list.mailboxes[0])
1931
+ self.assertEqual(mailbox_list.mailboxes[0].addr_spec,
1932
+ 'dinsdale@test.example.com')
1933
+ self.assertEqual(mailbox_list.mailboxes[0].display_name,
1934
+ 'Fred Flintstone')
1935
+
1936
+ def test_get_mailbox_list_junk_after_valid_address(self):
1937
+ mailbox_list = self._test_get_x(parser.get_mailbox_list,
1938
+ ('"Roy A. Bear" <dinsdale@example.com>@@,'
1939
+ ' "Fred Flintstone" <dinsdale@test.example.com>'),
1940
+ ('"Roy A. Bear" <dinsdale@example.com>@@,'
1941
+ ' "Fred Flintstone" <dinsdale@test.example.com>'),
1942
+ ('"Roy A. Bear" <dinsdale@example.com>@@,'
1943
+ ' "Fred Flintstone" <dinsdale@test.example.com>'),
1944
+ [errors.InvalidHeaderDefect],
1945
+ '')
1946
+ self.assertEqual(len(mailbox_list.mailboxes), 1)
1947
+ self.assertEqual(len(mailbox_list.all_mailboxes), 2)
1948
+ self.assertEqual(mailbox_list.all_mailboxes[0].addr_spec,
1949
+ 'dinsdale@example.com')
1950
+ self.assertEqual(mailbox_list.all_mailboxes[0].display_name,
1951
+ 'Roy A. Bear')
1952
+ self.assertEqual(mailbox_list.all_mailboxes[0].token_type,
1953
+ 'invalid-mailbox')
1954
+ self.assertIs(mailbox_list.all_mailboxes[1],
1955
+ mailbox_list.mailboxes[0])
1956
+ self.assertEqual(mailbox_list.mailboxes[0].addr_spec,
1957
+ 'dinsdale@test.example.com')
1958
+ self.assertEqual(mailbox_list.mailboxes[0].display_name,
1959
+ 'Fred Flintstone')
1960
+
1961
+ def test_get_mailbox_list_empty_list_element(self):
1962
+ mailbox_list = self._test_get_x(parser.get_mailbox_list,
1963
+ ('"Roy A. Bear" <dinsdale@example.com>, (bird),,'
1964
+ ' "Fred Flintstone" <dinsdale@test.example.com>'),
1965
+ ('"Roy A. Bear" <dinsdale@example.com>, (bird),,'
1966
+ ' "Fred Flintstone" <dinsdale@test.example.com>'),
1967
+ ('"Roy A. Bear" <dinsdale@example.com>, ,,'
1968
+ ' "Fred Flintstone" <dinsdale@test.example.com>'),
1969
+ [errors.ObsoleteHeaderDefect]*2,
1970
+ '')
1971
+ self.assertEqual(len(mailbox_list.mailboxes), 2)
1972
+ self.assertEqual(mailbox_list.all_mailboxes,
1973
+ mailbox_list.mailboxes)
1974
+ self.assertEqual(mailbox_list.all_mailboxes[0].addr_spec,
1975
+ 'dinsdale@example.com')
1976
+ self.assertEqual(mailbox_list.all_mailboxes[0].display_name,
1977
+ 'Roy A. Bear')
1978
+ self.assertEqual(mailbox_list.mailboxes[1].addr_spec,
1979
+ 'dinsdale@test.example.com')
1980
+ self.assertEqual(mailbox_list.mailboxes[1].display_name,
1981
+ 'Fred Flintstone')
1982
+
1983
+ def test_get_mailbox_list_only_empty_elements(self):
1984
+ mailbox_list = self._test_get_x(parser.get_mailbox_list,
1985
+ '(foo),, (bar)',
1986
+ '(foo),, (bar)',
1987
+ ' ,, ',
1988
+ [errors.ObsoleteHeaderDefect]*3,
1989
+ '')
1990
+ self.assertEqual(len(mailbox_list.mailboxes), 0)
1991
+ self.assertEqual(mailbox_list.all_mailboxes,
1992
+ mailbox_list.mailboxes)
1993
+
1994
+ # get_group_list
1995
+
1996
+ def test_get_group_list_cfws_only(self):
1997
+ group_list = self._test_get_x(parser.get_group_list,
1998
+ '(hidden);',
1999
+ '(hidden)',
2000
+ ' ',
2001
+ [],
2002
+ ';')
2003
+ self.assertEqual(group_list.token_type, 'group-list')
2004
+ self.assertEqual(len(group_list.mailboxes), 0)
2005
+ self.assertEqual(group_list.mailboxes,
2006
+ group_list.all_mailboxes)
2007
+
2008
+ def test_get_group_list_mailbox_list(self):
2009
+ group_list = self._test_get_x(parser.get_group_list,
2010
+ 'dinsdale@example.org, "Fred A. Bear" <dinsdale@example.org>',
2011
+ 'dinsdale@example.org, "Fred A. Bear" <dinsdale@example.org>',
2012
+ 'dinsdale@example.org, "Fred A. Bear" <dinsdale@example.org>',
2013
+ [],
2014
+ '')
2015
+ self.assertEqual(group_list.token_type, 'group-list')
2016
+ self.assertEqual(len(group_list.mailboxes), 2)
2017
+ self.assertEqual(group_list.mailboxes,
2018
+ group_list.all_mailboxes)
2019
+ self.assertEqual(group_list.mailboxes[1].display_name,
2020
+ 'Fred A. Bear')
2021
+
2022
+ def test_get_group_list_obs_group_list(self):
2023
+ group_list = self._test_get_x(parser.get_group_list,
2024
+ ', (foo),,(bar)',
2025
+ ', (foo),,(bar)',
2026
+ ', ,, ',
2027
+ [errors.ObsoleteHeaderDefect],
2028
+ '')
2029
+ self.assertEqual(group_list.token_type, 'group-list')
2030
+ self.assertEqual(len(group_list.mailboxes), 0)
2031
+ self.assertEqual(group_list.mailboxes,
2032
+ group_list.all_mailboxes)
2033
+
2034
+ def test_get_group_list_comment_only_invalid(self):
2035
+ group_list = self._test_get_x(parser.get_group_list,
2036
+ '(bar)',
2037
+ '(bar)',
2038
+ ' ',
2039
+ [errors.InvalidHeaderDefect],
2040
+ '')
2041
+ self.assertEqual(group_list.token_type, 'group-list')
2042
+ self.assertEqual(len(group_list.mailboxes), 0)
2043
+ self.assertEqual(group_list.mailboxes,
2044
+ group_list.all_mailboxes)
2045
+
2046
+ # get_group
2047
+
2048
+ def test_get_group_empty(self):
2049
+ group = self._test_get_x(parser.get_group,
2050
+ 'Monty Python:;',
2051
+ 'Monty Python:;',
2052
+ 'Monty Python:;',
2053
+ [],
2054
+ '')
2055
+ self.assertEqual(group.token_type, 'group')
2056
+ self.assertEqual(group.display_name, 'Monty Python')
2057
+ self.assertEqual(len(group.mailboxes), 0)
2058
+ self.assertEqual(group.mailboxes,
2059
+ group.all_mailboxes)
2060
+
2061
+ def test_get_group_null_addr_spec(self):
2062
+ group = self._test_get_x(parser.get_group,
2063
+ 'foo: <>;',
2064
+ 'foo: <>;',
2065
+ 'foo: <>;',
2066
+ [errors.InvalidHeaderDefect],
2067
+ '')
2068
+ self.assertEqual(group.display_name, 'foo')
2069
+ self.assertEqual(len(group.mailboxes), 0)
2070
+ self.assertEqual(len(group.all_mailboxes), 1)
2071
+ self.assertEqual(group.all_mailboxes[0].value, '<>')
2072
+
2073
+ def test_get_group_cfws_only(self):
2074
+ group = self._test_get_x(parser.get_group,
2075
+ 'Monty Python: (hidden);',
2076
+ 'Monty Python: (hidden);',
2077
+ 'Monty Python: ;',
2078
+ [],
2079
+ '')
2080
+ self.assertEqual(group.token_type, 'group')
2081
+ self.assertEqual(group.display_name, 'Monty Python')
2082
+ self.assertEqual(len(group.mailboxes), 0)
2083
+ self.assertEqual(group.mailboxes,
2084
+ group.all_mailboxes)
2085
+
2086
+ def test_get_group_single_mailbox(self):
2087
+ group = self._test_get_x(parser.get_group,
2088
+ 'Monty Python: "Fred A. Bear" <dinsdale@example.com>;',
2089
+ 'Monty Python: "Fred A. Bear" <dinsdale@example.com>;',
2090
+ 'Monty Python: "Fred A. Bear" <dinsdale@example.com>;',
2091
+ [],
2092
+ '')
2093
+ self.assertEqual(group.token_type, 'group')
2094
+ self.assertEqual(group.display_name, 'Monty Python')
2095
+ self.assertEqual(len(group.mailboxes), 1)
2096
+ self.assertEqual(group.mailboxes,
2097
+ group.all_mailboxes)
2098
+ self.assertEqual(group.mailboxes[0].addr_spec,
2099
+ 'dinsdale@example.com')
2100
+
2101
+ def test_get_group_mixed_list(self):
2102
+ group = self._test_get_x(parser.get_group,
2103
+ ('Monty Python: "Fred A. Bear" <dinsdale@example.com>,'
2104
+ '(foo) Roger <ping@exampele.com>, x@test.example.com;'),
2105
+ ('Monty Python: "Fred A. Bear" <dinsdale@example.com>,'
2106
+ '(foo) Roger <ping@exampele.com>, x@test.example.com;'),
2107
+ ('Monty Python: "Fred A. Bear" <dinsdale@example.com>,'
2108
+ ' Roger <ping@exampele.com>, x@test.example.com;'),
2109
+ [],
2110
+ '')
2111
+ self.assertEqual(group.token_type, 'group')
2112
+ self.assertEqual(group.display_name, 'Monty Python')
2113
+ self.assertEqual(len(group.mailboxes), 3)
2114
+ self.assertEqual(group.mailboxes,
2115
+ group.all_mailboxes)
2116
+ self.assertEqual(group.mailboxes[0].display_name,
2117
+ 'Fred A. Bear')
2118
+ self.assertEqual(group.mailboxes[1].display_name,
2119
+ 'Roger')
2120
+ self.assertEqual(group.mailboxes[2].local_part, 'x')
2121
+
2122
+ def test_get_group_one_invalid(self):
2123
+ group = self._test_get_x(parser.get_group,
2124
+ ('Monty Python: "Fred A. Bear" <dinsdale@example.com>,'
2125
+ '(foo) Roger ping@exampele.com, x@test.example.com;'),
2126
+ ('Monty Python: "Fred A. Bear" <dinsdale@example.com>,'
2127
+ '(foo) Roger ping@exampele.com, x@test.example.com;'),
2128
+ ('Monty Python: "Fred A. Bear" <dinsdale@example.com>,'
2129
+ ' Roger ping@exampele.com, x@test.example.com;'),
2130
+ [errors.InvalidHeaderDefect, # non-angle addr makes local part invalid
2131
+ errors.InvalidHeaderDefect], # and its not obs-local either: no dots.
2132
+ '')
2133
+ self.assertEqual(group.token_type, 'group')
2134
+ self.assertEqual(group.display_name, 'Monty Python')
2135
+ self.assertEqual(len(group.mailboxes), 2)
2136
+ self.assertEqual(len(group.all_mailboxes), 3)
2137
+ self.assertEqual(group.mailboxes[0].display_name,
2138
+ 'Fred A. Bear')
2139
+ self.assertEqual(group.mailboxes[1].local_part, 'x')
2140
+ self.assertIsNone(group.all_mailboxes[1].display_name)
2141
+
2142
+ # get_address
2143
+
2144
+ def test_get_address_simple(self):
2145
+ address = self._test_get_x(parser.get_address,
2146
+ 'dinsdale@example.com',
2147
+ 'dinsdale@example.com',
2148
+ 'dinsdale@example.com',
2149
+ [],
2150
+ '')
2151
+ self.assertEqual(address.token_type, 'address')
2152
+ self.assertEqual(len(address.mailboxes), 1)
2153
+ self.assertEqual(address.mailboxes,
2154
+ address.all_mailboxes)
2155
+ self.assertEqual(address.mailboxes[0].domain,
2156
+ 'example.com')
2157
+ self.assertEqual(address[0].token_type,
2158
+ 'mailbox')
2159
+
2160
+ def test_get_address_complex(self):
2161
+ address = self._test_get_x(parser.get_address,
2162
+ '(foo) "Fred A. Bear" <(bird)dinsdale@example.com>',
2163
+ '(foo) "Fred A. Bear" <(bird)dinsdale@example.com>',
2164
+ ' "Fred A. Bear" < dinsdale@example.com>',
2165
+ [],
2166
+ '')
2167
+ self.assertEqual(address.token_type, 'address')
2168
+ self.assertEqual(len(address.mailboxes), 1)
2169
+ self.assertEqual(address.mailboxes,
2170
+ address.all_mailboxes)
2171
+ self.assertEqual(address.mailboxes[0].display_name,
2172
+ 'Fred A. Bear')
2173
+ self.assertEqual(address[0].token_type,
2174
+ 'mailbox')
2175
+
2176
+ def test_get_address_rfc2047_display_name(self):
2177
+ address = self._test_get_x(parser.get_address,
2178
+ '=?utf-8?q?=C3=89ric?= <foo@example.com>',
2179
+ 'Éric <foo@example.com>',
2180
+ 'Éric <foo@example.com>',
2181
+ [],
2182
+ '')
2183
+ self.assertEqual(address.token_type, 'address')
2184
+ self.assertEqual(len(address.mailboxes), 1)
2185
+ self.assertEqual(address.mailboxes,
2186
+ address.all_mailboxes)
2187
+ self.assertEqual(address.mailboxes[0].display_name,
2188
+ 'Éric')
2189
+ self.assertEqual(address[0].token_type,
2190
+ 'mailbox')
2191
+
2192
+ def test_get_address_empty_group(self):
2193
+ address = self._test_get_x(parser.get_address,
2194
+ 'Monty Python:;',
2195
+ 'Monty Python:;',
2196
+ 'Monty Python:;',
2197
+ [],
2198
+ '')
2199
+ self.assertEqual(address.token_type, 'address')
2200
+ self.assertEqual(len(address.mailboxes), 0)
2201
+ self.assertEqual(address.mailboxes,
2202
+ address.all_mailboxes)
2203
+ self.assertEqual(address[0].token_type,
2204
+ 'group')
2205
+ self.assertEqual(address[0].display_name,
2206
+ 'Monty Python')
2207
+
2208
+ def test_get_address_group(self):
2209
+ address = self._test_get_x(parser.get_address,
2210
+ 'Monty Python: x@example.com, y@example.com;',
2211
+ 'Monty Python: x@example.com, y@example.com;',
2212
+ 'Monty Python: x@example.com, y@example.com;',
2213
+ [],
2214
+ '')
2215
+ self.assertEqual(address.token_type, 'address')
2216
+ self.assertEqual(len(address.mailboxes), 2)
2217
+ self.assertEqual(address.mailboxes,
2218
+ address.all_mailboxes)
2219
+ self.assertEqual(address[0].token_type,
2220
+ 'group')
2221
+ self.assertEqual(address[0].display_name,
2222
+ 'Monty Python')
2223
+ self.assertEqual(address.mailboxes[0].local_part, 'x')
2224
+
2225
+ def test_get_address_quoted_local_part(self):
2226
+ address = self._test_get_x(parser.get_address,
2227
+ '"foo bar"@example.com',
2228
+ '"foo bar"@example.com',
2229
+ '"foo bar"@example.com',
2230
+ [],
2231
+ '')
2232
+ self.assertEqual(address.token_type, 'address')
2233
+ self.assertEqual(len(address.mailboxes), 1)
2234
+ self.assertEqual(address.mailboxes,
2235
+ address.all_mailboxes)
2236
+ self.assertEqual(address.mailboxes[0].domain,
2237
+ 'example.com')
2238
+ self.assertEqual(address.mailboxes[0].local_part,
2239
+ 'foo bar')
2240
+ self.assertEqual(address[0].token_type, 'mailbox')
2241
+
2242
+ def test_get_address_ends_at_special(self):
2243
+ address = self._test_get_x(parser.get_address,
2244
+ 'dinsdale@example.com, next',
2245
+ 'dinsdale@example.com',
2246
+ 'dinsdale@example.com',
2247
+ [],
2248
+ ', next')
2249
+ self.assertEqual(address.token_type, 'address')
2250
+ self.assertEqual(len(address.mailboxes), 1)
2251
+ self.assertEqual(address.mailboxes,
2252
+ address.all_mailboxes)
2253
+ self.assertEqual(address.mailboxes[0].domain,
2254
+ 'example.com')
2255
+ self.assertEqual(address[0].token_type, 'mailbox')
2256
+
2257
+ def test_get_address_invalid_mailbox_invalid(self):
2258
+ address = self._test_get_x(parser.get_address,
2259
+ 'ping example.com, next',
2260
+ 'ping example.com',
2261
+ 'ping example.com',
2262
+ [errors.InvalidHeaderDefect, # addr-spec with no domain
2263
+ errors.InvalidHeaderDefect, # invalid local-part
2264
+ errors.InvalidHeaderDefect, # missing .s in local-part
2265
+ ],
2266
+ ', next')
2267
+ self.assertEqual(address.token_type, 'address')
2268
+ self.assertEqual(len(address.mailboxes), 0)
2269
+ self.assertEqual(len(address.all_mailboxes), 1)
2270
+ self.assertIsNone(address.all_mailboxes[0].domain)
2271
+ self.assertEqual(address.all_mailboxes[0].local_part, 'ping example.com')
2272
+ self.assertEqual(address[0].token_type, 'invalid-mailbox')
2273
+
2274
+ def test_get_address_quoted_strings_in_atom_list(self):
2275
+ address = self._test_get_x(parser.get_address,
2276
+ '""example" example"@example.com',
2277
+ '""example" example"@example.com',
2278
+ 'example example@example.com',
2279
+ [errors.InvalidHeaderDefect]*3,
2280
+ '')
2281
+ self.assertEqual(address.all_mailboxes[0].local_part, 'example example')
2282
+ self.assertEqual(address.all_mailboxes[0].domain, 'example.com')
2283
+ self.assertEqual(address.all_mailboxes[0].addr_spec, '"example example"@example.com')
2284
+
2285
+
2286
+ # get_address_list
2287
+
2288
+ def test_get_address_list_mailboxes_simple(self):
2289
+ address_list = self._test_get_x(parser.get_address_list,
2290
+ 'dinsdale@example.com',
2291
+ 'dinsdale@example.com',
2292
+ 'dinsdale@example.com',
2293
+ [],
2294
+ '')
2295
+ self.assertEqual(address_list.token_type, 'address-list')
2296
+ self.assertEqual(len(address_list.mailboxes), 1)
2297
+ self.assertEqual(address_list.mailboxes,
2298
+ address_list.all_mailboxes)
2299
+ self.assertEqual([str(x) for x in address_list.mailboxes],
2300
+ [str(x) for x in address_list.addresses])
2301
+ self.assertEqual(address_list.mailboxes[0].domain, 'example.com')
2302
+ self.assertEqual(address_list[0].token_type, 'address')
2303
+ self.assertIsNone(address_list[0].display_name)
2304
+
2305
+ def test_get_address_list_mailboxes_two_simple(self):
2306
+ address_list = self._test_get_x(parser.get_address_list,
2307
+ 'foo@example.com, "Fred A. Bar" <bar@example.com>',
2308
+ 'foo@example.com, "Fred A. Bar" <bar@example.com>',
2309
+ 'foo@example.com, "Fred A. Bar" <bar@example.com>',
2310
+ [],
2311
+ '')
2312
+ self.assertEqual(address_list.token_type, 'address-list')
2313
+ self.assertEqual(len(address_list.mailboxes), 2)
2314
+ self.assertEqual(address_list.mailboxes,
2315
+ address_list.all_mailboxes)
2316
+ self.assertEqual([str(x) for x in address_list.mailboxes],
2317
+ [str(x) for x in address_list.addresses])
2318
+ self.assertEqual(address_list.mailboxes[0].local_part, 'foo')
2319
+ self.assertEqual(address_list.mailboxes[1].display_name, "Fred A. Bar")
2320
+
2321
+ def test_get_address_list_mailboxes_complex(self):
2322
+ address_list = self._test_get_x(parser.get_address_list,
2323
+ ('"Roy A. Bear" <dinsdale@example.com>, '
2324
+ '(ping) Foo <x@example.com>,'
2325
+ 'Nobody Is. Special <y@(bird)example.(bad)com>'),
2326
+ ('"Roy A. Bear" <dinsdale@example.com>, '
2327
+ '(ping) Foo <x@example.com>,'
2328
+ 'Nobody Is. Special <y@(bird)example.(bad)com>'),
2329
+ ('"Roy A. Bear" <dinsdale@example.com>, '
2330
+ 'Foo <x@example.com>,'
2331
+ '"Nobody Is. Special" <y@example. com>'),
2332
+ [errors.ObsoleteHeaderDefect, # period in Is.
2333
+ errors.ObsoleteHeaderDefect], # cfws in domain
2334
+ '')
2335
+ self.assertEqual(address_list.token_type, 'address-list')
2336
+ self.assertEqual(len(address_list.mailboxes), 3)
2337
+ self.assertEqual(address_list.mailboxes,
2338
+ address_list.all_mailboxes)
2339
+ self.assertEqual([str(x) for x in address_list.mailboxes],
2340
+ [str(x) for x in address_list.addresses])
2341
+ self.assertEqual(address_list.mailboxes[0].domain, 'example.com')
2342
+ self.assertEqual(address_list.mailboxes[0].token_type, 'mailbox')
2343
+ self.assertEqual(address_list.addresses[0].token_type, 'address')
2344
+ self.assertEqual(address_list.mailboxes[1].local_part, 'x')
2345
+ self.assertEqual(address_list.mailboxes[2].display_name,
2346
+ 'Nobody Is. Special')
2347
+
2348
+ def test_get_address_list_mailboxes_invalid_addresses(self):
2349
+ address_list = self._test_get_x(parser.get_address_list,
2350
+ ('"Roy A. Bear" <dinsdale@example.com>, '
2351
+ '(ping) Foo x@example.com[],'
2352
+ 'Nobody Is. Special <(bird)example.(bad)com>'),
2353
+ ('"Roy A. Bear" <dinsdale@example.com>, '
2354
+ '(ping) Foo x@example.com[],'
2355
+ 'Nobody Is. Special <(bird)example.(bad)com>'),
2356
+ ('"Roy A. Bear" <dinsdale@example.com>, '
2357
+ 'Foo x@example.com[],'
2358
+ '"Nobody Is. Special" < example. com>'),
2359
+ [errors.InvalidHeaderDefect, # invalid address in list
2360
+ errors.InvalidHeaderDefect, # 'Foo x' local part invalid.
2361
+ errors.InvalidHeaderDefect, # Missing . in 'Foo x' local part
2362
+ errors.ObsoleteHeaderDefect, # period in 'Is.' disp-name phrase
2363
+ errors.InvalidHeaderDefect, # no domain part in addr-spec
2364
+ errors.ObsoleteHeaderDefect], # addr-spec has comment in it
2365
+ '')
2366
+ self.assertEqual(address_list.token_type, 'address-list')
2367
+ self.assertEqual(len(address_list.mailboxes), 1)
2368
+ self.assertEqual(len(address_list.all_mailboxes), 3)
2369
+ self.assertEqual([str(x) for x in address_list.all_mailboxes],
2370
+ [str(x) for x in address_list.addresses])
2371
+ self.assertEqual(address_list.mailboxes[0].domain, 'example.com')
2372
+ self.assertEqual(address_list.mailboxes[0].token_type, 'mailbox')
2373
+ self.assertEqual(address_list.addresses[0].token_type, 'address')
2374
+ self.assertEqual(address_list.addresses[1].token_type, 'address')
2375
+ self.assertEqual(len(address_list.addresses[0].mailboxes), 1)
2376
+ self.assertEqual(len(address_list.addresses[1].mailboxes), 0)
2377
+ self.assertEqual(len(address_list.addresses[1].mailboxes), 0)
2378
+ self.assertEqual(
2379
+ address_list.addresses[1].all_mailboxes[0].local_part, 'Foo x')
2380
+ self.assertEqual(
2381
+ address_list.addresses[2].all_mailboxes[0].display_name,
2382
+ "Nobody Is. Special")
2383
+
2384
+ def test_get_address_list_group_empty(self):
2385
+ address_list = self._test_get_x(parser.get_address_list,
2386
+ 'Monty Python: ;',
2387
+ 'Monty Python: ;',
2388
+ 'Monty Python: ;',
2389
+ [],
2390
+ '')
2391
+ self.assertEqual(address_list.token_type, 'address-list')
2392
+ self.assertEqual(len(address_list.mailboxes), 0)
2393
+ self.assertEqual(address_list.mailboxes,
2394
+ address_list.all_mailboxes)
2395
+ self.assertEqual(len(address_list.addresses), 1)
2396
+ self.assertEqual(address_list.addresses[0].token_type, 'address')
2397
+ self.assertEqual(address_list.addresses[0].display_name, 'Monty Python')
2398
+ self.assertEqual(len(address_list.addresses[0].mailboxes), 0)
2399
+
2400
+ def test_get_address_list_group_simple(self):
2401
+ address_list = self._test_get_x(parser.get_address_list,
2402
+ 'Monty Python: dinsdale@example.com;',
2403
+ 'Monty Python: dinsdale@example.com;',
2404
+ 'Monty Python: dinsdale@example.com;',
2405
+ [],
2406
+ '')
2407
+ self.assertEqual(address_list.token_type, 'address-list')
2408
+ self.assertEqual(len(address_list.mailboxes), 1)
2409
+ self.assertEqual(address_list.mailboxes,
2410
+ address_list.all_mailboxes)
2411
+ self.assertEqual(address_list.mailboxes[0].domain, 'example.com')
2412
+ self.assertEqual(address_list.addresses[0].display_name,
2413
+ 'Monty Python')
2414
+ self.assertEqual(address_list.addresses[0].mailboxes[0].domain,
2415
+ 'example.com')
2416
+
2417
+ def test_get_address_list_group_and_mailboxes(self):
2418
+ address_list = self._test_get_x(parser.get_address_list,
2419
+ ('Monty Python: dinsdale@example.com, "Fred" <flint@example.com>;, '
2420
+ 'Abe <x@example.com>, Bee <y@example.com>'),
2421
+ ('Monty Python: dinsdale@example.com, "Fred" <flint@example.com>;, '
2422
+ 'Abe <x@example.com>, Bee <y@example.com>'),
2423
+ ('Monty Python: dinsdale@example.com, "Fred" <flint@example.com>;, '
2424
+ 'Abe <x@example.com>, Bee <y@example.com>'),
2425
+ [],
2426
+ '')
2427
+ self.assertEqual(address_list.token_type, 'address-list')
2428
+ self.assertEqual(len(address_list.mailboxes), 4)
2429
+ self.assertEqual(address_list.mailboxes,
2430
+ address_list.all_mailboxes)
2431
+ self.assertEqual(len(address_list.addresses), 3)
2432
+ self.assertEqual(address_list.mailboxes[0].local_part, 'dinsdale')
2433
+ self.assertEqual(address_list.addresses[0].display_name,
2434
+ 'Monty Python')
2435
+ self.assertEqual(address_list.addresses[0].mailboxes[0].domain,
2436
+ 'example.com')
2437
+ self.assertEqual(address_list.addresses[0].mailboxes[1].local_part,
2438
+ 'flint')
2439
+ self.assertEqual(address_list.addresses[1].mailboxes[0].local_part,
2440
+ 'x')
2441
+ self.assertEqual(address_list.addresses[2].mailboxes[0].local_part,
2442
+ 'y')
2443
+ self.assertEqual(str(address_list.addresses[1]),
2444
+ str(address_list.mailboxes[2]))
2445
+
2446
+ def test_invalid_content_disposition(self):
2447
+ content_disp = self._test_parse_x(
2448
+ parser.parse_content_disposition_header,
2449
+ ";attachment", "; attachment", ";attachment",
2450
+ [errors.InvalidHeaderDefect]*2
2451
+ )
2452
+
2453
+ def test_invalid_content_transfer_encoding(self):
2454
+ cte = self._test_parse_x(
2455
+ parser.parse_content_transfer_encoding_header,
2456
+ ";foo", ";foo", ";foo", [errors.InvalidHeaderDefect]*3
2457
+ )
2458
+
2459
+ @parameterize
2460
+ class Test_parse_mime_version(TestParserMixin, TestEmailBase):
2461
+
2462
+ def mime_version_as_value(self,
2463
+ value,
2464
+ tl_str,
2465
+ tl_value,
2466
+ major,
2467
+ minor,
2468
+ defects):
2469
+ mime_version = self._test_parse_x(parser.parse_mime_version,
2470
+ value, tl_str, tl_value, defects)
2471
+ self.assertEqual(mime_version.major, major)
2472
+ self.assertEqual(mime_version.minor, minor)
2473
+
2474
+ mime_version_params = {
2475
+
2476
+ 'rfc_2045_1': (
2477
+ '1.0',
2478
+ '1.0',
2479
+ '1.0',
2480
+ 1,
2481
+ 0,
2482
+ []),
2483
+
2484
+ 'RFC_2045_2': (
2485
+ '1.0 (produced by MetaSend Vx.x)',
2486
+ '1.0 (produced by MetaSend Vx.x)',
2487
+ '1.0 ',
2488
+ 1,
2489
+ 0,
2490
+ []),
2491
+
2492
+ 'RFC_2045_3': (
2493
+ '(produced by MetaSend Vx.x) 1.0',
2494
+ '(produced by MetaSend Vx.x) 1.0',
2495
+ ' 1.0',
2496
+ 1,
2497
+ 0,
2498
+ []),
2499
+
2500
+ 'RFC_2045_4': (
2501
+ '1.(produced by MetaSend Vx.x)0',
2502
+ '1.(produced by MetaSend Vx.x)0',
2503
+ '1. 0',
2504
+ 1,
2505
+ 0,
2506
+ []),
2507
+
2508
+ 'empty': (
2509
+ '',
2510
+ '',
2511
+ '',
2512
+ None,
2513
+ None,
2514
+ [errors.HeaderMissingRequiredValue]),
2515
+
2516
+ }
2517
+
2518
+
2519
+
2520
+ class TestFolding(TestEmailBase):
2521
+
2522
+ policy = policy.default
2523
+
2524
+ def _test(self, tl, folded, policy=policy):
2525
+ self.assertEqual(tl.fold(policy=policy), folded, tl.ppstr())
2526
+
2527
+ def test_simple_unstructured_no_folds(self):
2528
+ self._test(parser.get_unstructured("This is a test"),
2529
+ "This is a test\n")
2530
+
2531
+ def test_simple_unstructured_folded(self):
2532
+ self._test(parser.get_unstructured("This is also a test, but this "
2533
+ "time there are enough words (and even some "
2534
+ "symbols) to make it wrap; at least in theory."),
2535
+ "This is also a test, but this time there are enough "
2536
+ "words (and even some\n"
2537
+ " symbols) to make it wrap; at least in theory.\n")
2538
+
2539
+ def test_unstructured_with_unicode_no_folds(self):
2540
+ self._test(parser.get_unstructured("hübsch kleiner beißt"),
2541
+ "=?utf-8?q?h=C3=BCbsch_kleiner_bei=C3=9Ft?=\n")
2542
+
2543
+ def test_one_ew_on_each_of_two_wrapped_lines(self):
2544
+ self._test(parser.get_unstructured("Mein kleiner Kaktus ist sehr "
2545
+ "hübsch. Es hat viele Stacheln "
2546
+ "und oft beißt mich."),
2547
+ "Mein kleiner Kaktus ist sehr =?utf-8?q?h=C3=BCbsch=2E?= "
2548
+ "Es hat viele Stacheln\n"
2549
+ " und oft =?utf-8?q?bei=C3=9Ft?= mich.\n")
2550
+
2551
+ def test_ews_combined_before_wrap(self):
2552
+ self._test(parser.get_unstructured("Mein Kaktus ist hübsch. "
2553
+ "Es beißt mich. "
2554
+ "And that's all I'm sayin."),
2555
+ "Mein Kaktus ist =?utf-8?q?h=C3=BCbsch=2E__Es_bei=C3=9Ft?= "
2556
+ "mich. And that's\n"
2557
+ " all I'm sayin.\n")
2558
+
2559
+ # XXX Need test of an encoded word so long that it needs to be wrapped
2560
+
2561
+ def test_simple_address(self):
2562
+ self._test(parser.get_address_list("abc <xyz@example.com>")[0],
2563
+ "abc <xyz@example.com>\n")
2564
+
2565
+ def test_address_list_folding_at_commas(self):
2566
+ self._test(parser.get_address_list('abc <xyz@example.com>, '
2567
+ '"Fred Blunt" <sharp@example.com>, '
2568
+ '"J.P.Cool" <hot@example.com>, '
2569
+ '"K<>y" <key@example.com>, '
2570
+ 'Firesale <cheap@example.com>, '
2571
+ '<end@example.com>')[0],
2572
+ 'abc <xyz@example.com>, "Fred Blunt" <sharp@example.com>,\n'
2573
+ ' "J.P.Cool" <hot@example.com>, "K<>y" <key@example.com>,\n'
2574
+ ' Firesale <cheap@example.com>, <end@example.com>\n')
2575
+
2576
+ def test_address_list_with_unicode_names(self):
2577
+ self._test(parser.get_address_list(
2578
+ 'Hübsch Kaktus <beautiful@example.com>, '
2579
+ 'beißt beißt <biter@example.com>')[0],
2580
+ '=?utf-8?q?H=C3=BCbsch?= Kaktus <beautiful@example.com>,\n'
2581
+ ' =?utf-8?q?bei=C3=9Ft_bei=C3=9Ft?= <biter@example.com>\n')
2582
+
2583
+ def test_address_list_with_unicode_names_in_quotes(self):
2584
+ self._test(parser.get_address_list(
2585
+ '"Hübsch Kaktus" <beautiful@example.com>, '
2586
+ '"beißt" beißt <biter@example.com>')[0],
2587
+ '=?utf-8?q?H=C3=BCbsch?= Kaktus <beautiful@example.com>,\n'
2588
+ ' =?utf-8?q?bei=C3=9Ft_bei=C3=9Ft?= <biter@example.com>\n')
2589
+
2590
+ # XXX Need tests with comments on various sides of a unicode token,
2591
+ # and with unicode tokens in the comments. Spaces inside the quotes
2592
+ # currently don't do the right thing.
2593
+
2594
+ def test_initial_whitespace_splitting(self):
2595
+ body = parser.get_unstructured(' ' + 'x'*77)
2596
+ header = parser.Header([
2597
+ parser.HeaderLabel([parser.ValueTerminal('test:', 'atext')]),
2598
+ parser.CFWSList([parser.WhiteSpaceTerminal(' ', 'fws')]), body])
2599
+ self._test(header, 'test: \n ' + 'x'*77 + '\n')
2600
+
2601
+ def test_whitespace_splitting(self):
2602
+ self._test(parser.get_unstructured('xxx ' + 'y'*77),
2603
+ 'xxx \n ' + 'y'*77 + '\n')
2604
+
2605
+ if __name__ == '__main__':
2606
+ unittest.main()