numpy 1.9.3__zip → 1.10.0__zip

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 (1590) hide show
  1. numpy-1.10.0.post2/INSTALL.txt +200 -0
  2. numpy-1.10.0.post2/LICENSE.txt +30 -0
  3. numpy-1.10.0.post2/MANIFEST.in +31 -0
  4. numpy-1.10.0.post2/PKG-INFO +47 -0
  5. numpy-1.10.0.post2/cnew.txt +117 -0
  6. numpy-1.10.0.post2/cold.txt +44 -0
  7. numpy-1.10.0.post2/committers.txt +160 -0
  8. numpy-1.10.0.post2/cpre.txt +283 -0
  9. numpy-1.10.0.post2/crel.txt +161 -0
  10. numpy-1.10.0.post2/doc/release/1.10.0-notes.rst +439 -0
  11. numpy-1.10.0.post2/doc/source/conf.py +331 -0
  12. numpy-1.10.0.post2/doc/source/dev/development_environment.rst +211 -0
  13. numpy-1.10.0.post2/doc/source/dev/gitwash/development_workflow.rst +534 -0
  14. numpy-1.10.0.post2/doc/source/dev/gitwash/git_links.inc +95 -0
  15. numpy-1.10.0.post2/doc/source/dev/gitwash/index.rst +14 -0
  16. numpy-1.10.0.post2/doc/source/dev/index.rst +11 -0
  17. numpy-1.10.0.post2/doc/source/reference/arrays.classes.rst +490 -0
  18. numpy-1.10.0.post2/doc/source/reference/arrays.dtypes.rst +536 -0
  19. numpy-1.10.0.post2/doc/source/reference/arrays.indexing.rst +549 -0
  20. numpy-1.10.0.post2/doc/source/reference/arrays.interface.rst +337 -0
  21. numpy-1.10.0.post2/doc/source/reference/arrays.ndarray.rst +622 -0
  22. numpy-1.10.0.post2/doc/source/reference/arrays.scalars.rst +291 -0
  23. numpy-1.10.0.post2/doc/source/reference/c-api.array.rst +3393 -0
  24. numpy-1.10.0.post2/doc/source/reference/c-api.config.rst +103 -0
  25. numpy-1.10.0.post2/doc/source/reference/c-api.coremath.rst +420 -0
  26. numpy-1.10.0.post2/doc/source/reference/c-api.dtype.rst +376 -0
  27. numpy-1.10.0.post2/doc/source/reference/c-api.generalized-ufuncs.rst +191 -0
  28. numpy-1.10.0.post2/doc/source/reference/c-api.iterator.rst +1300 -0
  29. numpy-1.10.0.post2/doc/source/reference/c-api.types-and-structures.rst +1240 -0
  30. numpy-1.10.0.post2/doc/source/reference/c-api.ufunc.rst +413 -0
  31. numpy-1.10.0.post2/doc/source/reference/index.rst +43 -0
  32. numpy-1.10.0.post2/doc/source/reference/internals.code-explanations.rst +615 -0
  33. numpy-1.10.0.post2/doc/source/reference/routines.array-manipulation.rst +115 -0
  34. numpy-1.10.0.post2/doc/source/reference/routines.io.rst +78 -0
  35. numpy-1.10.0.post2/doc/source/reference/routines.linalg.rst +91 -0
  36. numpy-1.10.0.post2/doc/source/reference/routines.ma.rst +407 -0
  37. numpy-1.10.0.post2/doc/source/reference/routines.sort.rst +41 -0
  38. numpy-1.10.0.post2/doc/source/reference/routines.statistics.rst +57 -0
  39. numpy-1.10.0.post2/doc/source/reference/swig.interface-file.rst +1066 -0
  40. numpy-1.10.0.post2/doc/source/reference/swig.testing.rst +167 -0
  41. numpy-1.10.0.post2/doc/source/reference/ufuncs.rst +666 -0
  42. numpy-1.10.0.post2/doc/source/release.rst +20 -0
  43. numpy-1.10.0.post2/doc/source/user/basics.io.genfromtxt.rst +531 -0
  44. numpy-1.10.0.post2/doc/source/user/basics.rec.rst +7 -0
  45. numpy-1.10.0.post2/doc/source/user/c-info.beyond-basics.rst +560 -0
  46. numpy-1.10.0.post2/doc/source/user/c-info.how-to-extend.rst +642 -0
  47. numpy-1.10.0.post2/doc/source/user/c-info.python-as-glue.rst +1177 -0
  48. numpy-1.10.0.post2/doc/source/user/c-info.ufunc-tutorial.rst +1211 -0
  49. numpy-1.10.0.post2/doc/source/user/install.rst +194 -0
  50. numpy-1.10.0.post2/numpy/__init__.py +227 -0
  51. numpy-1.10.0.post2/numpy/_build_utils/README +8 -0
  52. numpy-1.10.0.post2/numpy/_build_utils/apple_accelerate.py +21 -0
  53. numpy-1.10.0.post2/numpy/_build_utils/common.py +138 -0
  54. numpy-1.10.0.post2/numpy/_build_utils/src/apple_sgemv_fix.c +227 -0
  55. numpy-1.10.0.post2/numpy/_build_utils/waf.py +531 -0
  56. numpy-1.10.0.post2/numpy/_import_tools.py +353 -0
  57. numpy-1.10.0.post2/numpy/add_newdocs.py +7611 -0
  58. numpy-1.10.0.post2/numpy/compat/_inspect.py +194 -0
  59. numpy-1.10.0.post2/numpy/compat/py3k.py +88 -0
  60. numpy-1.10.0.post2/numpy/compat/setup.py +12 -0
  61. numpy-1.10.0.post2/numpy/core/__init__.py +89 -0
  62. numpy-1.10.0.post2/numpy/core/_internal.py +761 -0
  63. numpy-1.10.0.post2/numpy/core/_methods.py +133 -0
  64. numpy-1.10.0.post2/numpy/core/arrayprint.py +760 -0
  65. numpy-1.10.0.post2/numpy/core/code_generators/cversions.txt +34 -0
  66. numpy-1.10.0.post2/numpy/core/code_generators/generate_ufunc_api.py +219 -0
  67. numpy-1.10.0.post2/numpy/core/code_generators/generate_umath.py +1017 -0
  68. numpy-1.10.0.post2/numpy/core/code_generators/numpy_api.py +415 -0
  69. numpy-1.10.0.post2/numpy/core/code_generators/ufunc_docstrings.py +3442 -0
  70. numpy-1.10.0.post2/numpy/core/defchararray.py +2689 -0
  71. numpy-1.10.0.post2/numpy/core/fromnumeric.py +3089 -0
  72. numpy-1.10.0.post2/numpy/core/function_base.py +203 -0
  73. numpy-1.10.0.post2/numpy/core/getlimits.py +308 -0
  74. numpy-1.10.0.post2/numpy/core/include/numpy/ndarrayobject.h +246 -0
  75. numpy-1.10.0.post2/numpy/core/include/numpy/ndarraytypes.h +1797 -0
  76. numpy-1.10.0.post2/numpy/core/include/numpy/npy_3kcompat.h +448 -0
  77. numpy-1.10.0.post2/numpy/core/include/numpy/npy_common.h +1051 -0
  78. numpy-1.10.0.post2/numpy/core/include/numpy/npy_cpu.h +92 -0
  79. numpy-1.10.0.post2/numpy/core/include/numpy/npy_endian.h +61 -0
  80. numpy-1.10.0.post2/numpy/core/include/numpy/npy_math.h +525 -0
  81. numpy-1.10.0.post2/numpy/core/include/numpy/numpyconfig.h +36 -0
  82. numpy-1.10.0.post2/numpy/core/machar.py +342 -0
  83. numpy-1.10.0.post2/numpy/core/memmap.py +311 -0
  84. numpy-1.10.0.post2/numpy/core/numeric.py +2893 -0
  85. numpy-1.10.0.post2/numpy/core/numerictypes.py +1036 -0
  86. numpy-1.10.0.post2/numpy/core/records.py +846 -0
  87. numpy-1.10.0.post2/numpy/core/setup.py +983 -0
  88. numpy-1.10.0.post2/numpy/core/setup_common.py +352 -0
  89. numpy-1.10.0.post2/numpy/core/shape_base.py +350 -0
  90. numpy-1.10.0.post2/numpy/core/src/multiarray/alloc.c +244 -0
  91. numpy-1.10.0.post2/numpy/core/src/multiarray/arrayobject.c +1858 -0
  92. numpy-1.10.0.post2/numpy/core/src/multiarray/arraytypes.c.src +4738 -0
  93. numpy-1.10.0.post2/numpy/core/src/multiarray/arraytypes.h +37 -0
  94. numpy-1.10.0.post2/numpy/core/src/multiarray/buffer.c +981 -0
  95. numpy-1.10.0.post2/numpy/core/src/multiarray/calculation.c +1224 -0
  96. numpy-1.10.0.post2/numpy/core/src/multiarray/cblasfuncs.c +812 -0
  97. numpy-1.10.0.post2/numpy/core/src/multiarray/cblasfuncs.h +10 -0
  98. numpy-1.10.0.post2/numpy/core/src/multiarray/common.c +911 -0
  99. numpy-1.10.0.post2/numpy/core/src/multiarray/common.h +250 -0
  100. numpy-1.10.0.post2/numpy/core/src/multiarray/compiled_base.c +1664 -0
  101. numpy-1.10.0.post2/numpy/core/src/multiarray/compiled_base.h +24 -0
  102. numpy-1.10.0.post2/numpy/core/src/multiarray/conversion_utils.c +1217 -0
  103. numpy-1.10.0.post2/numpy/core/src/multiarray/convert.c +590 -0
  104. numpy-1.10.0.post2/numpy/core/src/multiarray/convert_datatype.c +2155 -0
  105. numpy-1.10.0.post2/numpy/core/src/multiarray/ctors.c +3838 -0
  106. numpy-1.10.0.post2/numpy/core/src/multiarray/datetime.c +3821 -0
  107. numpy-1.10.0.post2/numpy/core/src/multiarray/datetime_busday.c +1322 -0
  108. numpy-1.10.0.post2/numpy/core/src/multiarray/datetime_busdaycal.c +552 -0
  109. numpy-1.10.0.post2/numpy/core/src/multiarray/datetime_strings.c +1772 -0
  110. numpy-1.10.0.post2/numpy/core/src/multiarray/descriptor.c +3719 -0
  111. numpy-1.10.0.post2/numpy/core/src/multiarray/dtype_transfer.c +4239 -0
  112. numpy-1.10.0.post2/numpy/core/src/multiarray/einsum.c.src +3005 -0
  113. numpy-1.10.0.post2/numpy/core/src/multiarray/getset.c +986 -0
  114. numpy-1.10.0.post2/numpy/core/src/multiarray/hashdescr.c +318 -0
  115. numpy-1.10.0.post2/numpy/core/src/multiarray/item_selection.c +2413 -0
  116. numpy-1.10.0.post2/numpy/core/src/multiarray/iterators.c +2192 -0
  117. numpy-1.10.0.post2/numpy/core/src/multiarray/lowlevel_strided_loops.c.src +1769 -0
  118. numpy-1.10.0.post2/numpy/core/src/multiarray/mapping.c +3380 -0
  119. numpy-1.10.0.post2/numpy/core/src/multiarray/mapping.h +77 -0
  120. numpy-1.10.0.post2/numpy/core/src/multiarray/methods.c +2514 -0
  121. numpy-1.10.0.post2/numpy/core/src/multiarray/multiarray_tests.c.src +1035 -0
  122. numpy-1.10.0.post2/numpy/core/src/multiarray/multiarraymodule.c +4628 -0
  123. numpy-1.10.0.post2/numpy/core/src/multiarray/multiarraymodule.h +15 -0
  124. numpy-1.10.0.post2/numpy/core/src/multiarray/nditer_api.c +2809 -0
  125. numpy-1.10.0.post2/numpy/core/src/multiarray/nditer_constr.c +3160 -0
  126. numpy-1.10.0.post2/numpy/core/src/multiarray/nditer_pywrap.c +2499 -0
  127. numpy-1.10.0.post2/numpy/core/src/multiarray/number.c +1106 -0
  128. numpy-1.10.0.post2/numpy/core/src/multiarray/number.h +77 -0
  129. numpy-1.10.0.post2/numpy/core/src/multiarray/numpymemoryview.c +308 -0
  130. numpy-1.10.0.post2/numpy/core/src/multiarray/numpyos.c +683 -0
  131. numpy-1.10.0.post2/numpy/core/src/multiarray/scalarapi.c +870 -0
  132. numpy-1.10.0.post2/numpy/core/src/multiarray/scalartypes.c.src +4343 -0
  133. numpy-1.10.0.post2/numpy/core/src/multiarray/scalartypes.h +55 -0
  134. numpy-1.10.0.post2/numpy/core/src/multiarray/shape.c +1131 -0
  135. numpy-1.10.0.post2/numpy/core/src/multiarray/ucsnarrow.c +174 -0
  136. numpy-1.10.0.post2/numpy/core/src/multiarray/vdot.c +180 -0
  137. numpy-1.10.0.post2/numpy/core/src/multiarray/vdot.h +18 -0
  138. numpy-1.10.0.post2/numpy/core/src/npymath/ieee754.c.src +808 -0
  139. numpy-1.10.0.post2/numpy/core/src/npymath/npy_math.c.src +597 -0
  140. numpy-1.10.0.post2/numpy/core/src/npymath/npy_math_complex.c.src +1788 -0
  141. numpy-1.10.0.post2/numpy/core/src/npymath/npy_math_private.h +544 -0
  142. numpy-1.10.0.post2/numpy/core/src/npysort/heapsort.c.src +402 -0
  143. numpy-1.10.0.post2/numpy/core/src/npysort/mergesort.c.src +488 -0
  144. numpy-1.10.0.post2/numpy/core/src/npysort/npysort_common.h +360 -0
  145. numpy-1.10.0.post2/numpy/core/src/npysort/quicksort.c.src +523 -0
  146. numpy-1.10.0.post2/numpy/core/src/npysort/selection.c.src +426 -0
  147. numpy-1.10.0.post2/numpy/core/src/private/npy_cblas.h +584 -0
  148. numpy-1.10.0.post2/numpy/core/src/private/npy_config.h +101 -0
  149. numpy-1.10.0.post2/numpy/core/src/private/npy_import.h +32 -0
  150. numpy-1.10.0.post2/numpy/core/src/private/npy_partition.h.src +122 -0
  151. numpy-1.10.0.post2/numpy/core/src/private/npy_sort.h +196 -0
  152. numpy-1.10.0.post2/numpy/core/src/private/templ_common.h.src +43 -0
  153. numpy-1.10.0.post2/numpy/core/src/private/ufunc_override.h +397 -0
  154. numpy-1.10.0.post2/numpy/core/src/umath/funcs.inc.src +356 -0
  155. numpy-1.10.0.post2/numpy/core/src/umath/loops.c.src +2675 -0
  156. numpy-1.10.0.post2/numpy/core/src/umath/loops.h.src +497 -0
  157. numpy-1.10.0.post2/numpy/core/src/umath/operand_flag_tests.c.src +105 -0
  158. numpy-1.10.0.post2/numpy/core/src/umath/scalarmath.c.src +1738 -0
  159. numpy-1.10.0.post2/numpy/core/src/umath/simd.inc.src +903 -0
  160. numpy-1.10.0.post2/numpy/core/src/umath/test_rational.c.src +1404 -0
  161. numpy-1.10.0.post2/numpy/core/src/umath/ufunc_object.c +5703 -0
  162. numpy-1.10.0.post2/numpy/core/src/umath/ufunc_type_resolution.c +2159 -0
  163. numpy-1.10.0.post2/numpy/core/src/umath/umath_tests.c.src +392 -0
  164. numpy-1.10.0.post2/numpy/core/src/umath/umathmodule.c +443 -0
  165. numpy-1.10.0.post2/numpy/core/tests/test_abc.py +47 -0
  166. numpy-1.10.0.post2/numpy/core/tests/test_api.py +515 -0
  167. numpy-1.10.0.post2/numpy/core/tests/test_arrayprint.py +171 -0
  168. numpy-1.10.0.post2/numpy/core/tests/test_datetime.py +1820 -0
  169. numpy-1.10.0.post2/numpy/core/tests/test_defchararray.py +703 -0
  170. numpy-1.10.0.post2/numpy/core/tests/test_deprecations.py +619 -0
  171. numpy-1.10.0.post2/numpy/core/tests/test_dtype.py +578 -0
  172. numpy-1.10.0.post2/numpy/core/tests/test_einsum.py +627 -0
  173. numpy-1.10.0.post2/numpy/core/tests/test_errstate.py +52 -0
  174. numpy-1.10.0.post2/numpy/core/tests/test_function_base.py +142 -0
  175. numpy-1.10.0.post2/numpy/core/tests/test_getlimits.py +77 -0
  176. numpy-1.10.0.post2/numpy/core/tests/test_half.py +436 -0
  177. numpy-1.10.0.post2/numpy/core/tests/test_indexerrors.py +126 -0
  178. numpy-1.10.0.post2/numpy/core/tests/test_indexing.py +1047 -0
  179. numpy-1.10.0.post2/numpy/core/tests/test_item_selection.py +73 -0
  180. numpy-1.10.0.post2/numpy/core/tests/test_machar.py +29 -0
  181. numpy-1.10.0.post2/numpy/core/tests/test_memmap.py +130 -0
  182. numpy-1.10.0.post2/numpy/core/tests/test_multiarray.py +5924 -0
  183. numpy-1.10.0.post2/numpy/core/tests/test_multiarray_assignment.py +84 -0
  184. numpy-1.10.0.post2/numpy/core/tests/test_nditer.py +2638 -0
  185. numpy-1.10.0.post2/numpy/core/tests/test_numeric.py +2204 -0
  186. numpy-1.10.0.post2/numpy/core/tests/test_numerictypes.py +382 -0
  187. numpy-1.10.0.post2/numpy/core/tests/test_print.py +248 -0
  188. numpy-1.10.0.post2/numpy/core/tests/test_records.py +299 -0
  189. numpy-1.10.0.post2/numpy/core/tests/test_regression.py +2177 -0
  190. numpy-1.10.0.post2/numpy/core/tests/test_scalarinherit.py +41 -0
  191. numpy-1.10.0.post2/numpy/core/tests/test_scalarmath.py +316 -0
  192. numpy-1.10.0.post2/numpy/core/tests/test_shape_base.py +319 -0
  193. numpy-1.10.0.post2/numpy/core/tests/test_ufunc.py +1227 -0
  194. numpy-1.10.0.post2/numpy/core/tests/test_umath.py +1933 -0
  195. numpy-1.10.0.post2/numpy/core/tests/test_umath_complex.py +538 -0
  196. numpy-1.10.0.post2/numpy/core/tests/test_unicode.py +360 -0
  197. numpy-1.10.0.post2/numpy/distutils/__init__.py +23 -0
  198. numpy-1.10.0.post2/numpy/distutils/ccompiler.py +690 -0
  199. numpy-1.10.0.post2/numpy/distutils/command/autodist.py +94 -0
  200. numpy-1.10.0.post2/numpy/distutils/command/build.py +47 -0
  201. numpy-1.10.0.post2/numpy/distutils/command/build_clib.py +295 -0
  202. numpy-1.10.0.post2/numpy/distutils/command/build_ext.py +522 -0
  203. numpy-1.10.0.post2/numpy/distutils/command/config.py +437 -0
  204. numpy-1.10.0.post2/numpy/distutils/exec_command.py +651 -0
  205. numpy-1.10.0.post2/numpy/distutils/fcompiler/compaq.py +128 -0
  206. numpy-1.10.0.post2/numpy/distutils/fcompiler/gnu.py +403 -0
  207. numpy-1.10.0.post2/numpy/distutils/fcompiler/intel.py +217 -0
  208. numpy-1.10.0.post2/numpy/distutils/fcompiler/pg.py +63 -0
  209. numpy-1.10.0.post2/numpy/distutils/fcompiler/sun.py +55 -0
  210. numpy-1.10.0.post2/numpy/distutils/intelccompiler.py +95 -0
  211. numpy-1.10.0.post2/numpy/distutils/lib2def.py +116 -0
  212. numpy-1.10.0.post2/numpy/distutils/mingw32ccompiler.py +599 -0
  213. numpy-1.10.0.post2/numpy/distutils/misc_util.py +2306 -0
  214. numpy-1.10.0.post2/numpy/distutils/msvc9compiler.py +23 -0
  215. numpy-1.10.0.post2/numpy/distutils/msvccompiler.py +17 -0
  216. numpy-1.10.0.post2/numpy/distutils/npy_pkg_config.py +451 -0
  217. numpy-1.10.0.post2/numpy/distutils/system_info.py +2397 -0
  218. numpy-1.10.0.post2/numpy/distutils/tests/f2py_ext/tests/test_fib2.py +12 -0
  219. numpy-1.10.0.post2/numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py +11 -0
  220. numpy-1.10.0.post2/numpy/distutils/tests/gen_ext/tests/test_fib3.py +11 -0
  221. numpy-1.10.0.post2/numpy/distutils/tests/pyrex_ext/tests/test_primes.py +13 -0
  222. numpy-1.10.0.post2/numpy/distutils/tests/swig_ext/__init__.py +1 -0
  223. numpy-1.10.0.post2/numpy/distutils/tests/swig_ext/tests/test_example.py +17 -0
  224. numpy-1.10.0.post2/numpy/distutils/tests/swig_ext/tests/test_example2.py +15 -0
  225. numpy-1.10.0.post2/numpy/distutils/tests/test_fcompiler_gnu.py +60 -0
  226. numpy-1.10.0.post2/numpy/distutils/tests/test_fcompiler_intel.py +36 -0
  227. numpy-1.10.0.post2/numpy/distutils/tests/test_misc_util.py +79 -0
  228. numpy-1.10.0.post2/numpy/distutils/tests/test_npy_pkg_config.py +102 -0
  229. numpy-1.10.0.post2/numpy/distutils/tests/test_system_info.py +209 -0
  230. numpy-1.10.0.post2/numpy/distutils/unixccompiler.py +125 -0
  231. numpy-1.10.0.post2/numpy/doc/byteswapping.py +156 -0
  232. numpy-1.10.0.post2/numpy/doc/creation.py +144 -0
  233. numpy-1.10.0.post2/numpy/doc/glossary.py +423 -0
  234. numpy-1.10.0.post2/numpy/doc/indexing.py +439 -0
  235. numpy-1.10.0.post2/numpy/doc/structured_arrays.py +290 -0
  236. numpy-1.10.0.post2/numpy/f2py/__init__.py +49 -0
  237. numpy-1.10.0.post2/numpy/f2py/__main__.py +25 -0
  238. numpy-1.10.0.post2/numpy/f2py/auxfuncs.py +858 -0
  239. numpy-1.10.0.post2/numpy/f2py/capi_maps.py +851 -0
  240. numpy-1.10.0.post2/numpy/f2py/cb_rules.py +554 -0
  241. numpy-1.10.0.post2/numpy/f2py/cfuncs.py +1261 -0
  242. numpy-1.10.0.post2/numpy/f2py/common_rules.py +150 -0
  243. numpy-1.10.0.post2/numpy/f2py/crackfortran.py +3314 -0
  244. numpy-1.10.0.post2/numpy/f2py/diagnose.py +156 -0
  245. numpy-1.10.0.post2/numpy/f2py/f2py2e.py +656 -0
  246. numpy-1.10.0.post2/numpy/f2py/f2py_testing.py +48 -0
  247. numpy-1.10.0.post2/numpy/f2py/f90mod_rules.py +272 -0
  248. numpy-1.10.0.post2/numpy/f2py/func2subr.py +299 -0
  249. numpy-1.10.0.post2/numpy/f2py/rules.py +1475 -0
  250. numpy-1.10.0.post2/numpy/f2py/setup.py +117 -0
  251. numpy-1.10.0.post2/numpy/f2py/src/fortranobject.c +1037 -0
  252. numpy-1.10.0.post2/numpy/f2py/src/fortranobject.h +162 -0
  253. numpy-1.10.0.post2/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c +223 -0
  254. numpy-1.10.0.post2/numpy/f2py/tests/test_array_from_pyobj.py +593 -0
  255. numpy-1.10.0.post2/numpy/f2py/tests/test_assumed_shape.py +35 -0
  256. numpy-1.10.0.post2/numpy/f2py/tests/test_callback.py +136 -0
  257. numpy-1.10.0.post2/numpy/f2py/tests/test_kind.py +36 -0
  258. numpy-1.10.0.post2/numpy/f2py/tests/test_mixed.py +40 -0
  259. numpy-1.10.0.post2/numpy/f2py/tests/test_regression.py +34 -0
  260. numpy-1.10.0.post2/numpy/f2py/tests/test_return_character.py +148 -0
  261. numpy-1.10.0.post2/numpy/f2py/tests/test_return_complex.py +170 -0
  262. numpy-1.10.0.post2/numpy/f2py/tests/test_return_integer.py +180 -0
  263. numpy-1.10.0.post2/numpy/f2py/tests/test_return_logical.py +189 -0
  264. numpy-1.10.0.post2/numpy/f2py/tests/test_return_real.py +206 -0
  265. numpy-1.10.0.post2/numpy/f2py/tests/test_size.py +44 -0
  266. numpy-1.10.0.post2/numpy/f2py/tests/util.py +367 -0
  267. numpy-1.10.0.post2/numpy/f2py/use_rules.py +115 -0
  268. numpy-1.10.0.post2/numpy/fft/fftpack.c +1501 -0
  269. numpy-1.10.0.post2/numpy/fft/fftpack.h +28 -0
  270. numpy-1.10.0.post2/numpy/fft/fftpack.py +1241 -0
  271. numpy-1.10.0.post2/numpy/fft/fftpack_litemodule.c +363 -0
  272. numpy-1.10.0.post2/numpy/fft/info.py +187 -0
  273. numpy-1.10.0.post2/numpy/fft/setup.py +19 -0
  274. numpy-1.10.0.post2/numpy/fft/tests/test_fftpack.py +166 -0
  275. numpy-1.10.0.post2/numpy/fft/tests/test_helper.py +78 -0
  276. numpy-1.10.0.post2/numpy/lib/_iotools.py +917 -0
  277. numpy-1.10.0.post2/numpy/lib/arraypad.py +1497 -0
  278. numpy-1.10.0.post2/numpy/lib/arraysetops.py +480 -0
  279. numpy-1.10.0.post2/numpy/lib/arrayterator.py +226 -0
  280. numpy-1.10.0.post2/numpy/lib/financial.py +737 -0
  281. numpy-1.10.0.post2/numpy/lib/format.py +814 -0
  282. numpy-1.10.0.post2/numpy/lib/function_base.py +4150 -0
  283. numpy-1.10.0.post2/numpy/lib/index_tricks.py +874 -0
  284. numpy-1.10.0.post2/numpy/lib/info.py +152 -0
  285. numpy-1.10.0.post2/numpy/lib/nanfunctions.py +1237 -0
  286. numpy-1.10.0.post2/numpy/lib/npyio.py +1992 -0
  287. numpy-1.10.0.post2/numpy/lib/polynomial.py +1277 -0
  288. numpy-1.10.0.post2/numpy/lib/recfunctions.py +1003 -0
  289. numpy-1.10.0.post2/numpy/lib/setup.py +12 -0
  290. numpy-1.10.0.post2/numpy/lib/shape_base.py +872 -0
  291. numpy-1.10.0.post2/numpy/lib/stride_tricks.py +200 -0
  292. numpy-1.10.0.post2/numpy/lib/tests/data/py2-objarr.npy +0 -0
  293. numpy-1.10.0.post2/numpy/lib/tests/data/py2-objarr.npz +0 -0
  294. numpy-1.10.0.post2/numpy/lib/tests/data/py3-objarr.npy +0 -0
  295. numpy-1.10.0.post2/numpy/lib/tests/data/py3-objarr.npz +0 -0
  296. numpy-1.10.0.post2/numpy/lib/tests/test__iotools.py +348 -0
  297. numpy-1.10.0.post2/numpy/lib/tests/test__version.py +70 -0
  298. numpy-1.10.0.post2/numpy/lib/tests/test_arraypad.py +1047 -0
  299. numpy-1.10.0.post2/numpy/lib/tests/test_arraysetops.py +309 -0
  300. numpy-1.10.0.post2/numpy/lib/tests/test_financial.py +163 -0
  301. numpy-1.10.0.post2/numpy/lib/tests/test_format.py +841 -0
  302. numpy-1.10.0.post2/numpy/lib/tests/test_function_base.py +2555 -0
  303. numpy-1.10.0.post2/numpy/lib/tests/test_index_tricks.py +326 -0
  304. numpy-1.10.0.post2/numpy/lib/tests/test_io.py +1916 -0
  305. numpy-1.10.0.post2/numpy/lib/tests/test_nanfunctions.py +707 -0
  306. numpy-1.10.0.post2/numpy/lib/tests/test_packbits.py +26 -0
  307. numpy-1.10.0.post2/numpy/lib/tests/test_polynomial.py +188 -0
  308. numpy-1.10.0.post2/numpy/lib/tests/test_recfunctions.py +734 -0
  309. numpy-1.10.0.post2/numpy/lib/tests/test_shape_base.py +386 -0
  310. numpy-1.10.0.post2/numpy/lib/tests/test_stride_tricks.py +405 -0
  311. numpy-1.10.0.post2/numpy/lib/tests/test_twodim_base.py +535 -0
  312. numpy-1.10.0.post2/numpy/lib/tests/test_type_check.py +332 -0
  313. numpy-1.10.0.post2/numpy/lib/twodim_base.py +1007 -0
  314. numpy-1.10.0.post2/numpy/lib/type_check.py +596 -0
  315. numpy-1.10.0.post2/numpy/lib/utils.py +1122 -0
  316. numpy-1.10.0.post2/numpy/linalg/lapack_lite/python_xerbla.c +46 -0
  317. numpy-1.10.0.post2/numpy/linalg/lapack_litemodule.c +358 -0
  318. numpy-1.10.0.post2/numpy/linalg/linalg.py +2406 -0
  319. numpy-1.10.0.post2/numpy/linalg/tests/test_build.py +59 -0
  320. numpy-1.10.0.post2/numpy/linalg/tests/test_linalg.py +1351 -0
  321. numpy-1.10.0.post2/numpy/linalg/tests/test_regression.py +95 -0
  322. numpy-1.10.0.post2/numpy/linalg/umath_linalg.c.src +3236 -0
  323. numpy-1.10.0.post2/numpy/ma/__init__.py +56 -0
  324. numpy-1.10.0.post2/numpy/ma/bench.py +131 -0
  325. numpy-1.10.0.post2/numpy/ma/core.py +7608 -0
  326. numpy-1.10.0.post2/numpy/ma/extras.py +1953 -0
  327. numpy-1.10.0.post2/numpy/ma/mrecords.py +796 -0
  328. numpy-1.10.0.post2/numpy/ma/setup.py +13 -0
  329. numpy-1.10.0.post2/numpy/ma/tests/test_core.py +4100 -0
  330. numpy-1.10.0.post2/numpy/ma/tests/test_extras.py +1132 -0
  331. numpy-1.10.0.post2/numpy/ma/tests/test_mrecords.py +520 -0
  332. numpy-1.10.0.post2/numpy/ma/tests/test_old_ma.py +879 -0
  333. numpy-1.10.0.post2/numpy/ma/tests/test_regression.py +80 -0
  334. numpy-1.10.0.post2/numpy/ma/tests/test_subclassing.py +338 -0
  335. numpy-1.10.0.post2/numpy/ma/testutils.py +289 -0
  336. numpy-1.10.0.post2/numpy/ma/timer_comparison.py +440 -0
  337. numpy-1.10.0.post2/numpy/matlib.py +358 -0
  338. numpy-1.10.0.post2/numpy/matrixlib/defmatrix.py +1232 -0
  339. numpy-1.10.0.post2/numpy/matrixlib/tests/test_defmatrix.py +449 -0
  340. numpy-1.10.0.post2/numpy/matrixlib/tests/test_multiarray.py +23 -0
  341. numpy-1.10.0.post2/numpy/matrixlib/tests/test_numeric.py +23 -0
  342. numpy-1.10.0.post2/numpy/matrixlib/tests/test_regression.py +37 -0
  343. numpy-1.10.0.post2/numpy/polynomial/_polybase.py +962 -0
  344. numpy-1.10.0.post2/numpy/polynomial/chebyshev.py +2056 -0
  345. numpy-1.10.0.post2/numpy/polynomial/hermite.py +1831 -0
  346. numpy-1.10.0.post2/numpy/polynomial/hermite_e.py +1828 -0
  347. numpy-1.10.0.post2/numpy/polynomial/laguerre.py +1780 -0
  348. numpy-1.10.0.post2/numpy/polynomial/legendre.py +1808 -0
  349. numpy-1.10.0.post2/numpy/polynomial/polyutils.py +403 -0
  350. numpy-1.10.0.post2/numpy/random/mtrand/distributions.c +912 -0
  351. numpy-1.10.0.post2/numpy/random/mtrand/mtrand.c +34805 -0
  352. numpy-1.10.0.post2/numpy/random/mtrand/mtrand.pyx +4766 -0
  353. numpy-1.10.0.post2/numpy/random/setup.py +61 -0
  354. numpy-1.10.0.post2/numpy/random/tests/test_random.py +723 -0
  355. numpy-1.10.0.post2/numpy/random/tests/test_regression.py +117 -0
  356. numpy-1.10.0.post2/numpy/setup.py +29 -0
  357. numpy-1.10.0.post2/numpy/testing/__init__.py +15 -0
  358. numpy-1.10.0.post2/numpy/testing/decorators.py +271 -0
  359. numpy-1.10.0.post2/numpy/testing/noseclasses.py +353 -0
  360. numpy-1.10.0.post2/numpy/testing/nosetester.py +511 -0
  361. numpy-1.10.0.post2/numpy/testing/print_coercion_tables.py +91 -0
  362. numpy-1.10.0.post2/numpy/testing/setup.py +20 -0
  363. numpy-1.10.0.post2/numpy/testing/tests/test_decorators.py +182 -0
  364. numpy-1.10.0.post2/numpy/testing/tests/test_utils.py +781 -0
  365. numpy-1.10.0.post2/numpy/testing/utils.py +1831 -0
  366. numpy-1.10.0.post2/numpy/tests/test_ctypeslib.py +106 -0
  367. numpy-1.10.0.post2/numpy/tests/test_matlib.py +55 -0
  368. numpy-1.10.0.post2/numpy/tests/test_scripts.py +69 -0
  369. numpy-1.10.0.post2/numpy/version.py +10 -0
  370. numpy-1.10.0.post2/setup.py +260 -0
  371. numpy-1.10.0.post2/site.cfg.example +193 -0
  372. numpy-1.10.0.post2/tmp.txt +789 -0
  373. numpy-1.10.0.post2/tools/swig/README +145 -0
  374. numpy-1.10.0.post2/tools/swig/numpy.i +3161 -0
  375. numpy-1.10.0.post2/tools/swig/test/Array.i +135 -0
  376. numpy-1.10.0.post2/tools/swig/test/ArrayZ.cxx +131 -0
  377. numpy-1.10.0.post2/tools/swig/test/ArrayZ.h +56 -0
  378. numpy-1.10.0.post2/tools/swig/test/Flat.cxx +36 -0
  379. numpy-1.10.0.post2/tools/swig/test/Flat.h +34 -0
  380. numpy-1.10.0.post2/tools/swig/test/Flat.i +36 -0
  381. numpy-1.10.0.post2/tools/swig/test/Makefile +37 -0
  382. numpy-1.10.0.post2/tools/swig/test/setup.py +71 -0
  383. numpy-1.10.0.post2/tools/swig/test/testArray.py +385 -0
  384. numpy-1.10.0.post2/tools/swig/test/testFarray.py +159 -0
  385. numpy-1.10.0.post2/tools/swig/test/testFlat.py +200 -0
  386. numpy-1.10.0.post2/tools/swig/test/testFortran.py +173 -0
  387. numpy-1.10.0.post2/tools/swig/test/testMatrix.py +362 -0
  388. numpy-1.10.0.post2/tools/swig/test/testSuperTensor.py +388 -0
  389. numpy-1.10.0.post2/tools/swig/test/testTensor.py +402 -0
  390. numpy-1.10.0.post2/tools/swig/test/testVector.py +381 -0
  391. numpy-1.9.3/INSTALL.txt +0 -138
  392. numpy-1.9.3/LICENSE.txt +0 -30
  393. numpy-1.9.3/MANIFEST.in +0 -26
  394. numpy-1.9.3/PKG-INFO +0 -39
  395. numpy-1.9.3/doc/release/1.9.3-notes.rst +0 -23
  396. numpy-1.9.3/doc/source/conf.py +0 -331
  397. numpy-1.9.3/doc/source/dev/gitwash/branch_list.png +0 -0
  398. numpy-1.9.3/doc/source/dev/gitwash/branch_list_compare.png +0 -0
  399. numpy-1.9.3/doc/source/dev/gitwash/development_workflow.rst +0 -568
  400. numpy-1.9.3/doc/source/dev/gitwash/git_links.inc +0 -88
  401. numpy-1.9.3/doc/source/dev/gitwash/index.rst +0 -14
  402. numpy-1.9.3/doc/source/dev/index.rst +0 -10
  403. numpy-1.9.3/doc/source/reference/arrays.classes.rst +0 -427
  404. numpy-1.9.3/doc/source/reference/arrays.dtypes.rst +0 -534
  405. numpy-1.9.3/doc/source/reference/arrays.indexing.rst +0 -550
  406. numpy-1.9.3/doc/source/reference/arrays.interface.rst +0 -336
  407. numpy-1.9.3/doc/source/reference/arrays.ndarray.rst +0 -609
  408. numpy-1.9.3/doc/source/reference/arrays.scalars.rst +0 -291
  409. numpy-1.9.3/doc/source/reference/c-api.array.rst +0 -3362
  410. numpy-1.9.3/doc/source/reference/c-api.config.rst +0 -103
  411. numpy-1.9.3/doc/source/reference/c-api.coremath.rst +0 -420
  412. numpy-1.9.3/doc/source/reference/c-api.dtype.rst +0 -376
  413. numpy-1.9.3/doc/source/reference/c-api.generalized-ufuncs.rst +0 -171
  414. numpy-1.9.3/doc/source/reference/c-api.iterator.rst +0 -1298
  415. numpy-1.9.3/doc/source/reference/c-api.types-and-structures.rst +0 -1204
  416. numpy-1.9.3/doc/source/reference/c-api.ufunc.rst +0 -399
  417. numpy-1.9.3/doc/source/reference/index.rst +0 -44
  418. numpy-1.9.3/doc/source/reference/internals.code-explanations.rst +0 -666
  419. numpy-1.9.3/doc/source/reference/routines.array-manipulation.rst +0 -113
  420. numpy-1.9.3/doc/source/reference/routines.io.rst +0 -74
  421. numpy-1.9.3/doc/source/reference/routines.linalg.rst +0 -88
  422. numpy-1.9.3/doc/source/reference/routines.ma.rst +0 -405
  423. numpy-1.9.3/doc/source/reference/routines.sort.rst +0 -42
  424. numpy-1.9.3/doc/source/reference/routines.statistics.rst +0 -55
  425. numpy-1.9.3/doc/source/reference/swig.interface-file.rst +0 -1055
  426. numpy-1.9.3/doc/source/reference/swig.testing.rst +0 -166
  427. numpy-1.9.3/doc/source/reference/ufuncs.rst +0 -651
  428. numpy-1.9.3/doc/source/release.rst +0 -19
  429. numpy-1.9.3/doc/source/user/basics.io.genfromtxt.rst +0 -531
  430. numpy-1.9.3/doc/source/user/basics.rec.rst +0 -7
  431. numpy-1.9.3/doc/source/user/c-info.beyond-basics.rst +0 -560
  432. numpy-1.9.3/doc/source/user/c-info.how-to-extend.rst +0 -642
  433. numpy-1.9.3/doc/source/user/c-info.python-as-glue.rst +0 -1528
  434. numpy-1.9.3/doc/source/user/c-info.ufunc-tutorial.rst +0 -1211
  435. numpy-1.9.3/doc/source/user/install.rst +0 -180
  436. numpy-1.9.3/numpy/__init__.py +0 -216
  437. numpy-1.9.3/numpy/_import_tools.py +0 -348
  438. numpy-1.9.3/numpy/add_newdocs.py +0 -7518
  439. numpy-1.9.3/numpy/compat/_inspect.py +0 -221
  440. numpy-1.9.3/numpy/compat/py3k.py +0 -89
  441. numpy-1.9.3/numpy/compat/setup.py +0 -12
  442. numpy-1.9.3/numpy/core/__init__.py +0 -78
  443. numpy-1.9.3/numpy/core/_internal.py +0 -570
  444. numpy-1.9.3/numpy/core/_methods.py +0 -134
  445. numpy-1.9.3/numpy/core/arrayprint.py +0 -752
  446. numpy-1.9.3/numpy/core/blasdot/_dotblas.c +0 -1255
  447. numpy-1.9.3/numpy/core/blasdot/apple_sgemv_patch.c +0 -216
  448. numpy-1.9.3/numpy/core/blasdot/cblas.h +0 -578
  449. numpy-1.9.3/numpy/core/code_generators/cversions.txt +0 -31
  450. numpy-1.9.3/numpy/core/code_generators/generate_ufunc_api.py +0 -219
  451. numpy-1.9.3/numpy/core/code_generators/generate_umath.py +0 -972
  452. numpy-1.9.3/numpy/core/code_generators/numpy_api.py +0 -412
  453. numpy-1.9.3/numpy/core/code_generators/ufunc_docstrings.py +0 -3419
  454. numpy-1.9.3/numpy/core/defchararray.py +0 -2687
  455. numpy-1.9.3/numpy/core/fromnumeric.py +0 -2938
  456. numpy-1.9.3/numpy/core/function_base.py +0 -190
  457. numpy-1.9.3/numpy/core/getlimits.py +0 -306
  458. numpy-1.9.3/numpy/core/include/numpy/fenv/fenv.c +0 -38
  459. numpy-1.9.3/numpy/core/include/numpy/fenv/fenv.h +0 -224
  460. numpy-1.9.3/numpy/core/include/numpy/ndarrayobject.h +0 -237
  461. numpy-1.9.3/numpy/core/include/numpy/ndarraytypes.h +0 -1820
  462. numpy-1.9.3/numpy/core/include/numpy/npy_3kcompat.h +0 -506
  463. numpy-1.9.3/numpy/core/include/numpy/npy_common.h +0 -1038
  464. numpy-1.9.3/numpy/core/include/numpy/npy_cpu.h +0 -122
  465. numpy-1.9.3/numpy/core/include/numpy/npy_endian.h +0 -49
  466. numpy-1.9.3/numpy/core/include/numpy/npy_math.h +0 -479
  467. numpy-1.9.3/numpy/core/include/numpy/numpyconfig.h +0 -35
  468. numpy-1.9.3/numpy/core/machar.py +0 -338
  469. numpy-1.9.3/numpy/core/memmap.py +0 -308
  470. numpy-1.9.3/numpy/core/numeric.py +0 -2842
  471. numpy-1.9.3/numpy/core/numerictypes.py +0 -1042
  472. numpy-1.9.3/numpy/core/records.py +0 -804
  473. numpy-1.9.3/numpy/core/setup.py +0 -1016
  474. numpy-1.9.3/numpy/core/setup_common.py +0 -330
  475. numpy-1.9.3/numpy/core/shape_base.py +0 -277
  476. numpy-1.9.3/numpy/core/src/multiarray/alloc.c +0 -241
  477. numpy-1.9.3/numpy/core/src/multiarray/arrayobject.c +0 -1791
  478. numpy-1.9.3/numpy/core/src/multiarray/arraytypes.c.src +0 -4372
  479. numpy-1.9.3/numpy/core/src/multiarray/arraytypes.h +0 -13
  480. numpy-1.9.3/numpy/core/src/multiarray/buffer.c +0 -954
  481. numpy-1.9.3/numpy/core/src/multiarray/calculation.c +0 -1229
  482. numpy-1.9.3/numpy/core/src/multiarray/common.c +0 -798
  483. numpy-1.9.3/numpy/core/src/multiarray/common.h +0 -328
  484. numpy-1.9.3/numpy/core/src/multiarray/conversion_utils.c +0 -1240
  485. numpy-1.9.3/numpy/core/src/multiarray/convert.c +0 -589
  486. numpy-1.9.3/numpy/core/src/multiarray/convert_datatype.c +0 -2199
  487. numpy-1.9.3/numpy/core/src/multiarray/ctors.c +0 -3785
  488. numpy-1.9.3/numpy/core/src/multiarray/datetime.c +0 -3823
  489. numpy-1.9.3/numpy/core/src/multiarray/datetime_busday.c +0 -1322
  490. numpy-1.9.3/numpy/core/src/multiarray/datetime_busdaycal.c +0 -552
  491. numpy-1.9.3/numpy/core/src/multiarray/datetime_strings.c +0 -1772
  492. numpy-1.9.3/numpy/core/src/multiarray/descriptor.c +0 -3658
  493. numpy-1.9.3/numpy/core/src/multiarray/dtype_transfer.c +0 -4232
  494. numpy-1.9.3/numpy/core/src/multiarray/einsum.c.src +0 -3013
  495. numpy-1.9.3/numpy/core/src/multiarray/getset.c +0 -984
  496. numpy-1.9.3/numpy/core/src/multiarray/hashdescr.c +0 -319
  497. numpy-1.9.3/numpy/core/src/multiarray/item_selection.c +0 -2711
  498. numpy-1.9.3/numpy/core/src/multiarray/iterators.c +0 -2160
  499. numpy-1.9.3/numpy/core/src/multiarray/lowlevel_strided_loops.c.src +0 -1767
  500. numpy-1.9.3/numpy/core/src/multiarray/mapping.c +0 -3316
  501. numpy-1.9.3/numpy/core/src/multiarray/mapping.h +0 -73
  502. numpy-1.9.3/numpy/core/src/multiarray/methods.c +0 -2497
  503. numpy-1.9.3/numpy/core/src/multiarray/multiarray_tests.c.src +0 -977
  504. numpy-1.9.3/numpy/core/src/multiarray/multiarraymodule.c +0 -4200
  505. numpy-1.9.3/numpy/core/src/multiarray/multiarraymodule.h +0 -4
  506. numpy-1.9.3/numpy/core/src/multiarray/nditer_api.c +0 -2809
  507. numpy-1.9.3/numpy/core/src/multiarray/nditer_constr.c +0 -3159
  508. numpy-1.9.3/numpy/core/src/multiarray/nditer_pywrap.c +0 -2492
  509. numpy-1.9.3/numpy/core/src/multiarray/number.c +0 -1057
  510. numpy-1.9.3/numpy/core/src/multiarray/number.h +0 -76
  511. numpy-1.9.3/numpy/core/src/multiarray/numpymemoryview.c +0 -309
  512. numpy-1.9.3/numpy/core/src/multiarray/numpyos.c +0 -683
  513. numpy-1.9.3/numpy/core/src/multiarray/scalarapi.c +0 -861
  514. numpy-1.9.3/numpy/core/src/multiarray/scalartypes.c.src +0 -4270
  515. numpy-1.9.3/numpy/core/src/multiarray/scalartypes.h +0 -52
  516. numpy-1.9.3/numpy/core/src/multiarray/shape.c +0 -1141
  517. numpy-1.9.3/numpy/core/src/multiarray/ucsnarrow.c +0 -173
  518. numpy-1.9.3/numpy/core/src/npymath/ieee754.c.src +0 -814
  519. numpy-1.9.3/numpy/core/src/npymath/npy_math.c.src +0 -527
  520. numpy-1.9.3/numpy/core/src/npymath/npy_math_complex.c.src +0 -291
  521. numpy-1.9.3/numpy/core/src/npymath/npy_math_private.h +0 -539
  522. numpy-1.9.3/numpy/core/src/npysort/heapsort.c.src +0 -341
  523. numpy-1.9.3/numpy/core/src/npysort/mergesort.c.src +0 -428
  524. numpy-1.9.3/numpy/core/src/npysort/npysort_common.h +0 -367
  525. numpy-1.9.3/numpy/core/src/npysort/quicksort.c.src +0 -363
  526. numpy-1.9.3/numpy/core/src/npysort/selection.c.src +0 -474
  527. numpy-1.9.3/numpy/core/src/private/npy_config.h +0 -68
  528. numpy-1.9.3/numpy/core/src/private/npy_partition.h.src +0 -138
  529. numpy-1.9.3/numpy/core/src/private/npy_sort.h +0 -194
  530. numpy-1.9.3/numpy/core/src/private/scalarmathmodule.h.src +0 -42
  531. numpy-1.9.3/numpy/core/src/private/ufunc_override.h +0 -384
  532. numpy-1.9.3/numpy/core/src/scalarmathmodule.c.src +0 -1980
  533. numpy-1.9.3/numpy/core/src/umath/funcs.inc.src +0 -715
  534. numpy-1.9.3/numpy/core/src/umath/loops.c.src +0 -2654
  535. numpy-1.9.3/numpy/core/src/umath/loops.h.src +0 -501
  536. numpy-1.9.3/numpy/core/src/umath/operand_flag_tests.c.src +0 -105
  537. numpy-1.9.3/numpy/core/src/umath/simd.inc.src +0 -881
  538. numpy-1.9.3/numpy/core/src/umath/test_rational.c.src +0 -1404
  539. numpy-1.9.3/numpy/core/src/umath/ufunc_object.c +0 -5520
  540. numpy-1.9.3/numpy/core/src/umath/ufunc_type_resolution.c +0 -2164
  541. numpy-1.9.3/numpy/core/src/umath/umath_tests.c.src +0 -341
  542. numpy-1.9.3/numpy/core/src/umath/umathmodule.c +0 -561
  543. numpy-1.9.3/numpy/core/tests/test_abc.py +0 -45
  544. numpy-1.9.3/numpy/core/tests/test_api.py +0 -514
  545. numpy-1.9.3/numpy/core/tests/test_arrayprint.py +0 -167
  546. numpy-1.9.3/numpy/core/tests/test_blasdot.py +0 -249
  547. numpy-1.9.3/numpy/core/tests/test_datetime.py +0 -1781
  548. numpy-1.9.3/numpy/core/tests/test_defchararray.py +0 -642
  549. numpy-1.9.3/numpy/core/tests/test_deprecations.py +0 -512
  550. numpy-1.9.3/numpy/core/tests/test_dtype.py +0 -542
  551. numpy-1.9.3/numpy/core/tests/test_einsum.py +0 -583
  552. numpy-1.9.3/numpy/core/tests/test_errstate.py +0 -51
  553. numpy-1.9.3/numpy/core/tests/test_function_base.py +0 -111
  554. numpy-1.9.3/numpy/core/tests/test_getlimits.py +0 -86
  555. numpy-1.9.3/numpy/core/tests/test_half.py +0 -439
  556. numpy-1.9.3/numpy/core/tests/test_indexerrors.py +0 -127
  557. numpy-1.9.3/numpy/core/tests/test_indexing.py +0 -1014
  558. numpy-1.9.3/numpy/core/tests/test_item_selection.py +0 -70
  559. numpy-1.9.3/numpy/core/tests/test_machar.py +0 -30
  560. numpy-1.9.3/numpy/core/tests/test_memmap.py +0 -127
  561. numpy-1.9.3/numpy/core/tests/test_multiarray.py +0 -4645
  562. numpy-1.9.3/numpy/core/tests/test_multiarray_assignment.py +0 -80
  563. numpy-1.9.3/numpy/core/tests/test_nditer.py +0 -2630
  564. numpy-1.9.3/numpy/core/tests/test_numeric.py +0 -2117
  565. numpy-1.9.3/numpy/core/tests/test_numerictypes.py +0 -377
  566. numpy-1.9.3/numpy/core/tests/test_print.py +0 -245
  567. numpy-1.9.3/numpy/core/tests/test_records.py +0 -185
  568. numpy-1.9.3/numpy/core/tests/test_regression.py +0 -2115
  569. numpy-1.9.3/numpy/core/tests/test_scalarinherit.py +0 -34
  570. numpy-1.9.3/numpy/core/tests/test_scalarmath.py +0 -275
  571. numpy-1.9.3/numpy/core/tests/test_shape_base.py +0 -250
  572. numpy-1.9.3/numpy/core/tests/test_ufunc.py +0 -1153
  573. numpy-1.9.3/numpy/core/tests/test_umath.py +0 -1695
  574. numpy-1.9.3/numpy/core/tests/test_umath_complex.py +0 -537
  575. numpy-1.9.3/numpy/core/tests/test_unicode.py +0 -357
  576. numpy-1.9.3/numpy/distutils/__init__.py +0 -39
  577. numpy-1.9.3/numpy/distutils/ccompiler.py +0 -656
  578. numpy-1.9.3/numpy/distutils/command/autodist.py +0 -43
  579. numpy-1.9.3/numpy/distutils/command/build.py +0 -39
  580. numpy-1.9.3/numpy/distutils/command/build_clib.py +0 -284
  581. numpy-1.9.3/numpy/distutils/command/build_ext.py +0 -515
  582. numpy-1.9.3/numpy/distutils/command/config.py +0 -476
  583. numpy-1.9.3/numpy/distutils/exec_command.py +0 -618
  584. numpy-1.9.3/numpy/distutils/fcompiler/compaq.py +0 -128
  585. numpy-1.9.3/numpy/distutils/fcompiler/gnu.py +0 -390
  586. numpy-1.9.3/numpy/distutils/fcompiler/intel.py +0 -205
  587. numpy-1.9.3/numpy/distutils/fcompiler/pg.py +0 -60
  588. numpy-1.9.3/numpy/distutils/fcompiler/sun.py +0 -52
  589. numpy-1.9.3/numpy/distutils/intelccompiler.py +0 -45
  590. numpy-1.9.3/numpy/distutils/lib2def.py +0 -116
  591. numpy-1.9.3/numpy/distutils/mingw32ccompiler.py +0 -582
  592. numpy-1.9.3/numpy/distutils/misc_util.py +0 -2271
  593. numpy-1.9.3/numpy/distutils/npy_pkg_config.py +0 -464
  594. numpy-1.9.3/numpy/distutils/system_info.py +0 -2319
  595. numpy-1.9.3/numpy/distutils/tests/f2py_ext/tests/test_fib2.py +0 -13
  596. numpy-1.9.3/numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py +0 -12
  597. numpy-1.9.3/numpy/distutils/tests/gen_ext/tests/test_fib3.py +0 -12
  598. numpy-1.9.3/numpy/distutils/tests/pyrex_ext/tests/test_primes.py +0 -14
  599. numpy-1.9.3/numpy/distutils/tests/swig_ext/tests/test_example.py +0 -18
  600. numpy-1.9.3/numpy/distutils/tests/swig_ext/tests/test_example2.py +0 -16
  601. numpy-1.9.3/numpy/distutils/tests/test_fcompiler_gnu.py +0 -53
  602. numpy-1.9.3/numpy/distutils/tests/test_fcompiler_intel.py +0 -36
  603. numpy-1.9.3/numpy/distutils/tests/test_misc_util.py +0 -75
  604. numpy-1.9.3/numpy/distutils/tests/test_npy_pkg_config.py +0 -98
  605. numpy-1.9.3/numpy/distutils/unixccompiler.py +0 -113
  606. numpy-1.9.3/numpy/doc/byteswapping.py +0 -147
  607. numpy-1.9.3/numpy/doc/creation.py +0 -144
  608. numpy-1.9.3/numpy/doc/glossary.py +0 -418
  609. numpy-1.9.3/numpy/doc/indexing.py +0 -437
  610. numpy-1.9.3/numpy/doc/structured_arrays.py +0 -223
  611. numpy-1.9.3/numpy/f2py/__init__.py +0 -49
  612. numpy-1.9.3/numpy/f2py/auxfuncs.py +0 -711
  613. numpy-1.9.3/numpy/f2py/capi_maps.py +0 -773
  614. numpy-1.9.3/numpy/f2py/cb_rules.py +0 -539
  615. numpy-1.9.3/numpy/f2py/cfuncs.py +0 -1224
  616. numpy-1.9.3/numpy/f2py/common_rules.py +0 -132
  617. numpy-1.9.3/numpy/f2py/crackfortran.py +0 -2870
  618. numpy-1.9.3/numpy/f2py/diagnose.py +0 -149
  619. numpy-1.9.3/numpy/f2py/f2py2e.py +0 -598
  620. numpy-1.9.3/numpy/f2py/f2py_testing.py +0 -46
  621. numpy-1.9.3/numpy/f2py/f90mod_rules.py +0 -246
  622. numpy-1.9.3/numpy/f2py/func2subr.py +0 -291
  623. numpy-1.9.3/numpy/f2py/rules.py +0 -1448
  624. numpy-1.9.3/numpy/f2py/setup.py +0 -129
  625. numpy-1.9.3/numpy/f2py/src/fortranobject.c +0 -972
  626. numpy-1.9.3/numpy/f2py/src/fortranobject.h +0 -162
  627. numpy-1.9.3/numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c +0 -223
  628. numpy-1.9.3/numpy/f2py/tests/test_array_from_pyobj.py +0 -559
  629. numpy-1.9.3/numpy/f2py/tests/test_assumed_shape.py +0 -37
  630. numpy-1.9.3/numpy/f2py/tests/test_callback.py +0 -132
  631. numpy-1.9.3/numpy/f2py/tests/test_kind.py +0 -36
  632. numpy-1.9.3/numpy/f2py/tests/test_mixed.py +0 -41
  633. numpy-1.9.3/numpy/f2py/tests/test_regression.py +0 -32
  634. numpy-1.9.3/numpy/f2py/tests/test_return_character.py +0 -142
  635. numpy-1.9.3/numpy/f2py/tests/test_return_complex.py +0 -169
  636. numpy-1.9.3/numpy/f2py/tests/test_return_integer.py +0 -178
  637. numpy-1.9.3/numpy/f2py/tests/test_return_logical.py +0 -187
  638. numpy-1.9.3/numpy/f2py/tests/test_return_real.py +0 -203
  639. numpy-1.9.3/numpy/f2py/tests/test_size.py +0 -47
  640. numpy-1.9.3/numpy/f2py/tests/util.py +0 -353
  641. numpy-1.9.3/numpy/f2py/use_rules.py +0 -109
  642. numpy-1.9.3/numpy/fft/fftpack.c +0 -1501
  643. numpy-1.9.3/numpy/fft/fftpack.h +0 -28
  644. numpy-1.9.3/numpy/fft/fftpack.py +0 -1169
  645. numpy-1.9.3/numpy/fft/fftpack_litemodule.c +0 -371
  646. numpy-1.9.3/numpy/fft/info.py +0 -179
  647. numpy-1.9.3/numpy/fft/setup.py +0 -20
  648. numpy-1.9.3/numpy/fft/tests/test_fftpack.py +0 -75
  649. numpy-1.9.3/numpy/fft/tests/test_helper.py +0 -78
  650. numpy-1.9.3/numpy/lib/_iotools.py +0 -891
  651. numpy-1.9.3/numpy/lib/arraypad.py +0 -1475
  652. numpy-1.9.3/numpy/lib/arraysetops.py +0 -464
  653. numpy-1.9.3/numpy/lib/arrayterator.py +0 -226
  654. numpy-1.9.3/numpy/lib/financial.py +0 -737
  655. numpy-1.9.3/numpy/lib/format.py +0 -771
  656. numpy-1.9.3/numpy/lib/function_base.py +0 -3884
  657. numpy-1.9.3/numpy/lib/index_tricks.py +0 -869
  658. numpy-1.9.3/numpy/lib/info.py +0 -151
  659. numpy-1.9.3/numpy/lib/nanfunctions.py +0 -1158
  660. numpy-1.9.3/numpy/lib/npyio.py +0 -1871
  661. numpy-1.9.3/numpy/lib/polynomial.py +0 -1271
  662. numpy-1.9.3/numpy/lib/recfunctions.py +0 -1003
  663. numpy-1.9.3/numpy/lib/setup.py +0 -23
  664. numpy-1.9.3/numpy/lib/shape_base.py +0 -865
  665. numpy-1.9.3/numpy/lib/src/_compiled_base.c +0 -1761
  666. numpy-1.9.3/numpy/lib/stride_tricks.py +0 -123
  667. numpy-1.9.3/numpy/lib/tests/test__iotools.py +0 -326
  668. numpy-1.9.3/numpy/lib/tests/test__version.py +0 -57
  669. numpy-1.9.3/numpy/lib/tests/test_arraypad.py +0 -560
  670. numpy-1.9.3/numpy/lib/tests/test_arraysetops.py +0 -301
  671. numpy-1.9.3/numpy/lib/tests/test_financial.py +0 -160
  672. numpy-1.9.3/numpy/lib/tests/test_format.py +0 -716
  673. numpy-1.9.3/numpy/lib/tests/test_function_base.py +0 -2145
  674. numpy-1.9.3/numpy/lib/tests/test_index_tricks.py +0 -289
  675. numpy-1.9.3/numpy/lib/tests/test_io.py +0 -1754
  676. numpy-1.9.3/numpy/lib/tests/test_nanfunctions.py +0 -774
  677. numpy-1.9.3/numpy/lib/tests/test_polynomial.py +0 -177
  678. numpy-1.9.3/numpy/lib/tests/test_recfunctions.py +0 -705
  679. numpy-1.9.3/numpy/lib/tests/test_shape_base.py +0 -368
  680. numpy-1.9.3/numpy/lib/tests/test_stride_tricks.py +0 -238
  681. numpy-1.9.3/numpy/lib/tests/test_twodim_base.py +0 -504
  682. numpy-1.9.3/numpy/lib/tests/test_type_check.py +0 -328
  683. numpy-1.9.3/numpy/lib/twodim_base.py +0 -1003
  684. numpy-1.9.3/numpy/lib/type_check.py +0 -605
  685. numpy-1.9.3/numpy/lib/utils.py +0 -1176
  686. numpy-1.9.3/numpy/linalg/lapack_lite/python_xerbla.c +0 -47
  687. numpy-1.9.3/numpy/linalg/lapack_litemodule.c +0 -362
  688. numpy-1.9.3/numpy/linalg/linalg.py +0 -2136
  689. numpy-1.9.3/numpy/linalg/tests/test_build.py +0 -53
  690. numpy-1.9.3/numpy/linalg/tests/test_linalg.py +0 -1156
  691. numpy-1.9.3/numpy/linalg/tests/test_regression.py +0 -90
  692. numpy-1.9.3/numpy/linalg/umath_linalg.c.src +0 -3210
  693. numpy-1.9.3/numpy/ma/__init__.py +0 -58
  694. numpy-1.9.3/numpy/ma/bench.py +0 -166
  695. numpy-1.9.3/numpy/ma/core.py +0 -7374
  696. numpy-1.9.3/numpy/ma/extras.py +0 -1932
  697. numpy-1.9.3/numpy/ma/mrecords.py +0 -734
  698. numpy-1.9.3/numpy/ma/setup.py +0 -20
  699. numpy-1.9.3/numpy/ma/tests/test_core.py +0 -3706
  700. numpy-1.9.3/numpy/ma/tests/test_extras.py +0 -954
  701. numpy-1.9.3/numpy/ma/tests/test_mrecords.py +0 -521
  702. numpy-1.9.3/numpy/ma/tests/test_old_ma.py +0 -869
  703. numpy-1.9.3/numpy/ma/tests/test_regression.py +0 -75
  704. numpy-1.9.3/numpy/ma/tests/test_subclassing.py +0 -236
  705. numpy-1.9.3/numpy/ma/testutils.py +0 -240
  706. numpy-1.9.3/numpy/ma/timer_comparison.py +0 -459
  707. numpy-1.9.3/numpy/matlib.py +0 -358
  708. numpy-1.9.3/numpy/matrixlib/defmatrix.py +0 -1094
  709. numpy-1.9.3/numpy/matrixlib/tests/test_defmatrix.py +0 -400
  710. numpy-1.9.3/numpy/matrixlib/tests/test_multiarray.py +0 -18
  711. numpy-1.9.3/numpy/matrixlib/tests/test_numeric.py +0 -10
  712. numpy-1.9.3/numpy/matrixlib/tests/test_regression.py +0 -34
  713. numpy-1.9.3/numpy/polynomial/_polybase.py +0 -962
  714. numpy-1.9.3/numpy/polynomial/chebyshev.py +0 -2056
  715. numpy-1.9.3/numpy/polynomial/hermite.py +0 -1789
  716. numpy-1.9.3/numpy/polynomial/hermite_e.py +0 -1786
  717. numpy-1.9.3/numpy/polynomial/laguerre.py +0 -1781
  718. numpy-1.9.3/numpy/polynomial/legendre.py +0 -1809
  719. numpy-1.9.3/numpy/polynomial/polytemplate.py +0 -927
  720. numpy-1.9.3/numpy/polynomial/polyutils.py +0 -403
  721. numpy-1.9.3/numpy/random/mtrand/distributions.c +0 -892
  722. numpy-1.9.3/numpy/random/mtrand/mtrand.c +0 -36656
  723. numpy-1.9.3/numpy/random/mtrand/mtrand.pyx +0 -4706
  724. numpy-1.9.3/numpy/random/setup.py +0 -74
  725. numpy-1.9.3/numpy/random/tests/test_random.py +0 -707
  726. numpy-1.9.3/numpy/random/tests/test_regression.py +0 -86
  727. numpy-1.9.3/numpy/setup.py +0 -27
  728. numpy-1.9.3/numpy/testing/__init__.py +0 -16
  729. numpy-1.9.3/numpy/testing/decorators.py +0 -271
  730. numpy-1.9.3/numpy/testing/noseclasses.py +0 -353
  731. numpy-1.9.3/numpy/testing/nosetester.py +0 -504
  732. numpy-1.9.3/numpy/testing/print_coercion_tables.py +0 -89
  733. numpy-1.9.3/numpy/testing/setup.py +0 -20
  734. numpy-1.9.3/numpy/testing/tests/test_decorators.py +0 -185
  735. numpy-1.9.3/numpy/testing/tests/test_utils.py +0 -558
  736. numpy-1.9.3/numpy/testing/utils.py +0 -1715
  737. numpy-1.9.3/numpy/tests/test_ctypeslib.py +0 -102
  738. numpy-1.9.3/numpy/tests/test_matlib.py +0 -55
  739. numpy-1.9.3/numpy/version.py +0 -10
  740. numpy-1.9.3/setup.py +0 -251
  741. numpy-1.9.3/site.cfg.example +0 -157
  742. numpy-1.9.3/tools/swig/README +0 -135
  743. numpy-1.9.3/tools/swig/numpy.i +0 -3085
  744. numpy-1.9.3/tools/swig/test/Array.i +0 -102
  745. numpy-1.9.3/tools/swig/test/Makefile +0 -34
  746. numpy-1.9.3/tools/swig/test/setup.py +0 -64
  747. numpy-1.9.3/tools/swig/test/testArray.py +0 -284
  748. numpy-1.9.3/tools/swig/test/testFarray.py +0 -159
  749. numpy-1.9.3/tools/swig/test/testFortran.py +0 -173
  750. numpy-1.9.3/tools/swig/test/testMatrix.py +0 -362
  751. numpy-1.9.3/tools/swig/test/testSuperTensor.py +0 -388
  752. numpy-1.9.3/tools/swig/test/testTensor.py +0 -402
  753. numpy-1.9.3/tools/swig/test/testVector.py +0 -381
  754. {numpy-1.9.3 → numpy-1.10.0.post2}/BENTO_BUILD.txt +0 -0
  755. {numpy-1.9.3 → numpy-1.10.0.post2}/COMPATIBILITY +0 -0
  756. {numpy-1.9.3 → numpy-1.10.0.post2}/DEV_README.txt +0 -0
  757. {numpy-1.9.3 → numpy-1.10.0.post2}/README.txt +0 -0
  758. {numpy-1.9.3 → numpy-1.10.0.post2}/THANKS.txt +0 -0
  759. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/Makefile +0 -0
  760. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/BUGS.txt +0 -0
  761. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/FAQ.txt +0 -0
  762. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/HISTORY.txt +0 -0
  763. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/Makefile +0 -0
  764. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/OLDNEWS.txt +0 -0
  765. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/README.txt +0 -0
  766. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/Release-1.x.txt +0 -0
  767. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/Release-2.x.txt +0 -0
  768. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/Release-3.x.txt +0 -0
  769. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/Release-4.x.txt +0 -0
  770. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/TESTING.txt +0 -0
  771. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/THANKS.txt +0 -0
  772. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/TODO.txt +0 -0
  773. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/apps.tex +0 -0
  774. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/bugs.tex +0 -0
  775. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/collectinput.py +0 -0
  776. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/commands.tex +0 -0
  777. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/default.css +0 -0
  778. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/docutils.conf +0 -0
  779. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/arr.f +0 -0
  780. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/bar.f +0 -0
  781. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/foo.f +0 -0
  782. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/foobar-smart.f90 +0 -0
  783. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/foobar.f90 +0 -0
  784. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/foobarmodule.tex +0 -0
  785. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/ex1/runme +0 -0
  786. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2py.1 +0 -0
  787. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2py2e.tex +0 -0
  788. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/README.txt +0 -0
  789. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/aerostructure.jpg +0 -0
  790. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/flow.jpg +0 -0
  791. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/mk_html.sh +0 -0
  792. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/mk_pdf.sh +0 -0
  793. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/mk_ps.sh +0 -0
  794. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/exp1.f +0 -0
  795. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/exp1mess.txt +0 -0
  796. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/exp1session.txt +0 -0
  797. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/foo.pyf +0 -0
  798. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/src/examples/foom.pyf +0 -0
  799. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/f2python9-final/structure.jpg +0 -0
  800. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/fortranobject.tex +0 -0
  801. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/hello.f +0 -0
  802. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/index.html +0 -0
  803. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/intro.tex +0 -0
  804. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/array_from_pyobj.c +0 -0
  805. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/bar.c +0 -0
  806. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/foo.f +0 -0
  807. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/fortran_array_from_pyobj.txt +0 -0
  808. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/fun.pyf +0 -0
  809. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/run.pyf +0 -0
  810. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarray/transpose.txt +0 -0
  811. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/multiarrays.txt +0 -0
  812. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/notes.tex +0 -0
  813. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/oldnews.html +0 -0
  814. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/options.tex +0 -0
  815. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/pyforttest.pyf +0 -0
  816. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/pytest.py +0 -0
  817. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/python9.tex +0 -0
  818. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/signaturefile.tex +0 -0
  819. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/simple.f +0 -0
  820. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/simple_session.dat +0 -0
  821. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/using_F_compiler.txt +0 -0
  822. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/f2py/win32_notes.txt +0 -0
  823. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/postprocess.py +0 -0
  824. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.3.0-notes.rst +0 -0
  825. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.4.0-notes.rst +0 -0
  826. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.5.0-notes.rst +0 -0
  827. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.6.0-notes.rst +0 -0
  828. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.6.1-notes.rst +0 -0
  829. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.6.2-notes.rst +0 -0
  830. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.7.0-notes.rst +0 -0
  831. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.7.1-notes.rst +0 -0
  832. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.7.2-notes.rst +0 -0
  833. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.8.0-notes.rst +0 -0
  834. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.8.1-notes.rst +0 -0
  835. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.8.2-notes.rst +0 -0
  836. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.9.0-notes.rst +0 -0
  837. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.9.1-notes.rst +0 -0
  838. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/1.9.2-notes.rst +0 -0
  839. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/release/time_based_proposal.rst +0 -0
  840. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/.git +0 -0
  841. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/.gitignore +0 -0
  842. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/Makefile +0 -0
  843. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/README.rst +0 -0
  844. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_static/scipyshiny_small.png +0 -0
  845. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/layout.html +0 -0
  846. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/searchbox.html +0 -0
  847. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/sourcelink.html +0 -0
  848. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/extend.css +0 -0
  849. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/pygments.css +0 -0
  850. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/scipy-central.css +0 -0
  851. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/spc-bootstrap.css +0 -0
  852. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/css/spc-extend.css +0 -0
  853. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/all-icons.svg +0 -0
  854. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/contents.png +0 -0
  855. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/create-new-account-icon.png +0 -0
  856. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-icon-shrunk.png +0 -0
  857. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-icon.png +0 -0
  858. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-icon.svg +0 -0
  859. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-list-icon-tiniest.png +0 -0
  860. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-list-icon-tiny.png +0 -0
  861. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/external-link-list-icon.png +0 -0
  862. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ad.png +0 -0
  863. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ae.png +0 -0
  864. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-af.png +0 -0
  865. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ag.png +0 -0
  866. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ai.png +0 -0
  867. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-al.png +0 -0
  868. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-am.png +0 -0
  869. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ao.png +0 -0
  870. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-aq.png +0 -0
  871. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ar.png +0 -0
  872. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-as.png +0 -0
  873. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-at.png +0 -0
  874. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-au.png +0 -0
  875. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-aw.png +0 -0
  876. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-az.png +0 -0
  877. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ba.png +0 -0
  878. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bb.png +0 -0
  879. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bd.png +0 -0
  880. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-be.png +0 -0
  881. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bf.png +0 -0
  882. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bg.png +0 -0
  883. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bh.png +0 -0
  884. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bi.png +0 -0
  885. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bj.png +0 -0
  886. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bl.png +0 -0
  887. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bm.png +0 -0
  888. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bn.png +0 -0
  889. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bo.png +0 -0
  890. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-br.png +0 -0
  891. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bs.png +0 -0
  892. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bt.png +0 -0
  893. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bw.png +0 -0
  894. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-by.png +0 -0
  895. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-bz.png +0 -0
  896. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ca.png +0 -0
  897. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cc.png +0 -0
  898. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cd.png +0 -0
  899. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cf.png +0 -0
  900. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cg.png +0 -0
  901. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ch.png +0 -0
  902. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ci.png +0 -0
  903. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ck.png +0 -0
  904. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cl.png +0 -0
  905. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cm.png +0 -0
  906. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cn.png +0 -0
  907. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-co.png +0 -0
  908. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cr.png +0 -0
  909. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cu.png +0 -0
  910. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cv.png +0 -0
  911. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cw.png +0 -0
  912. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cx.png +0 -0
  913. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cy.png +0 -0
  914. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-cz.png +0 -0
  915. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-de.png +0 -0
  916. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dj.png +0 -0
  917. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dk.png +0 -0
  918. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dm.png +0 -0
  919. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-do.png +0 -0
  920. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-dz.png +0 -0
  921. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ec.png +0 -0
  922. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ee.png +0 -0
  923. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-eg.png +0 -0
  924. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-er.png +0 -0
  925. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-es.png +0 -0
  926. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-et.png +0 -0
  927. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fi.png +0 -0
  928. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fj.png +0 -0
  929. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fk.png +0 -0
  930. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fm.png +0 -0
  931. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fo.png +0 -0
  932. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-fr.png +0 -0
  933. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ga.png +0 -0
  934. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gb.png +0 -0
  935. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gd.png +0 -0
  936. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ge.png +0 -0
  937. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gf.png +0 -0
  938. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gg.png +0 -0
  939. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gh.png +0 -0
  940. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gi.png +0 -0
  941. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gl.png +0 -0
  942. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gm.png +0 -0
  943. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gn.png +0 -0
  944. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gq.png +0 -0
  945. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gr.png +0 -0
  946. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gs.png +0 -0
  947. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gt.png +0 -0
  948. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gu.png +0 -0
  949. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gw.png +0 -0
  950. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-gy.png +0 -0
  951. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hk.png +0 -0
  952. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hm.png +0 -0
  953. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hn.png +0 -0
  954. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hr.png +0 -0
  955. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ht.png +0 -0
  956. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-hu.png +0 -0
  957. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-id.png +0 -0
  958. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ie.png +0 -0
  959. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-il.png +0 -0
  960. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-im.png +0 -0
  961. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-in.png +0 -0
  962. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-io.png +0 -0
  963. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-iq.png +0 -0
  964. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ir.png +0 -0
  965. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-is.png +0 -0
  966. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-it.png +0 -0
  967. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-je.png +0 -0
  968. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-jm.png +0 -0
  969. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-jo.png +0 -0
  970. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-jp.png +0 -0
  971. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ke.png +0 -0
  972. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kg.png +0 -0
  973. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kh.png +0 -0
  974. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ki.png +0 -0
  975. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-km.png +0 -0
  976. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kn.png +0 -0
  977. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kp.png +0 -0
  978. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kr.png +0 -0
  979. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kw.png +0 -0
  980. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ky.png +0 -0
  981. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-kz.png +0 -0
  982. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-la.png +0 -0
  983. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lb.png +0 -0
  984. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lc.png +0 -0
  985. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-li.png +0 -0
  986. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lk.png +0 -0
  987. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lr.png +0 -0
  988. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ls.png +0 -0
  989. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lt.png +0 -0
  990. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lu.png +0 -0
  991. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-lv.png +0 -0
  992. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ly.png +0 -0
  993. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ma.png +0 -0
  994. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mc.png +0 -0
  995. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-md.png +0 -0
  996. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-me.png +0 -0
  997. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mf.png +0 -0
  998. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mg.png +0 -0
  999. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mh.png +0 -0
  1000. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mk.png +0 -0
  1001. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ml.png +0 -0
  1002. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mm.png +0 -0
  1003. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mn.png +0 -0
  1004. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mo.png +0 -0
  1005. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mp.png +0 -0
  1006. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mq.png +0 -0
  1007. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mr.png +0 -0
  1008. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ms.png +0 -0
  1009. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mt.png +0 -0
  1010. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mu.png +0 -0
  1011. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mv.png +0 -0
  1012. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mw.png +0 -0
  1013. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mx.png +0 -0
  1014. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-my.png +0 -0
  1015. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-mz.png +0 -0
  1016. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-na.png +0 -0
  1017. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nc.png +0 -0
  1018. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ne.png +0 -0
  1019. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nf.png +0 -0
  1020. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ng.png +0 -0
  1021. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ni.png +0 -0
  1022. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nl.png +0 -0
  1023. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-no.png +0 -0
  1024. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-np.png +0 -0
  1025. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nr.png +0 -0
  1026. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nu.png +0 -0
  1027. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-nz.png +0 -0
  1028. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-om.png +0 -0
  1029. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pa.png +0 -0
  1030. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pe.png +0 -0
  1031. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pf.png +0 -0
  1032. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pg.png +0 -0
  1033. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ph.png +0 -0
  1034. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pk.png +0 -0
  1035. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pl.png +0 -0
  1036. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pm.png +0 -0
  1037. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pn.png +0 -0
  1038. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pr.png +0 -0
  1039. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ps.png +0 -0
  1040. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pt.png +0 -0
  1041. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-pw.png +0 -0
  1042. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-py.png +0 -0
  1043. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-qa.png +0 -0
  1044. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-re.png +0 -0
  1045. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ro.png +0 -0
  1046. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-rs.png +0 -0
  1047. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ru.png +0 -0
  1048. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-rw.png +0 -0
  1049. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sa.png +0 -0
  1050. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sb.png +0 -0
  1051. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sc.png +0 -0
  1052. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sd.png +0 -0
  1053. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-se.png +0 -0
  1054. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sg.png +0 -0
  1055. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sh.png +0 -0
  1056. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-si.png +0 -0
  1057. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sj.png +0 -0
  1058. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sk.png +0 -0
  1059. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sl.png +0 -0
  1060. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sm.png +0 -0
  1061. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sn.png +0 -0
  1062. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-so.png +0 -0
  1063. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sr.png +0 -0
  1064. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-st.png +0 -0
  1065. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sv.png +0 -0
  1066. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sy.png +0 -0
  1067. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-sz.png +0 -0
  1068. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tc.png +0 -0
  1069. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-td.png +0 -0
  1070. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tf.png +0 -0
  1071. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tg.png +0 -0
  1072. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-th.png +0 -0
  1073. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tj.png +0 -0
  1074. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tk.png +0 -0
  1075. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tl.png +0 -0
  1076. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tm.png +0 -0
  1077. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tn.png +0 -0
  1078. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-to.png +0 -0
  1079. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tr.png +0 -0
  1080. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tt.png +0 -0
  1081. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tv.png +0 -0
  1082. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tw.png +0 -0
  1083. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-tz.png +0 -0
  1084. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ua.png +0 -0
  1085. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ug.png +0 -0
  1086. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-um.png +0 -0
  1087. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-us.png +0 -0
  1088. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-uy.png +0 -0
  1089. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-uz.png +0 -0
  1090. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-va.png +0 -0
  1091. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vc.png +0 -0
  1092. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ve.png +0 -0
  1093. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vg.png +0 -0
  1094. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vi.png +0 -0
  1095. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vn.png +0 -0
  1096. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-vu.png +0 -0
  1097. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-wf.png +0 -0
  1098. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ws.png +0 -0
  1099. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-ye.png +0 -0
  1100. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-za.png +0 -0
  1101. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-zm.png +0 -0
  1102. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/flags/flag-zw.png +0 -0
  1103. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/glyphicons-halflings-white.png +0 -0
  1104. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/glyphicons-halflings.png +0 -0
  1105. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/important-icon.png +0 -0
  1106. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/information-icon.png +0 -0
  1107. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/internet-web-browser.png +0 -0
  1108. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-icon-shrunk.png +0 -0
  1109. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-icon.png +0 -0
  1110. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-icon.svg +0 -0
  1111. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-list-icon-tiny.png +0 -0
  1112. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/multiple-file-list-icon.png +0 -0
  1113. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/navigation.png +0 -0
  1114. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/person-list-icon-tiny.png +0 -0
  1115. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/person-list-icon.png +0 -0
  1116. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipy-logo.png +0 -0
  1117. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipy_org_logo.gif +0 -0
  1118. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipycentral_logo.png +0 -0
  1119. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/scipyshiny_small.png +0 -0
  1120. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/send-email-icon.png +0 -0
  1121. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-icon-shrunk.png +0 -0
  1122. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-icon.png +0 -0
  1123. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-icon.svg +0 -0
  1124. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-list-icon-tiniest.png +0 -0
  1125. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-list-icon-tiny.png +0 -0
  1126. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/single-file-list-icon.png +0 -0
  1127. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/transparent-pixel.gif +0 -0
  1128. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/img/ui-anim_basic_16x16.gif +0 -0
  1129. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/js/copybutton.js +0 -0
  1130. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/accordion.less +0 -0
  1131. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/alerts.less +0 -0
  1132. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/bootstrap.less +0 -0
  1133. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/breadcrumbs.less +0 -0
  1134. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/button-groups.less +0 -0
  1135. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/buttons.less +0 -0
  1136. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/carousel.less +0 -0
  1137. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/close.less +0 -0
  1138. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/code.less +0 -0
  1139. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/component-animations.less +0 -0
  1140. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/dropdowns.less +0 -0
  1141. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/forms.less +0 -0
  1142. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/grid.less +0 -0
  1143. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/hero-unit.less +0 -0
  1144. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/labels-badges.less +0 -0
  1145. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/layouts.less +0 -0
  1146. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/media.less +0 -0
  1147. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/mixins.less +0 -0
  1148. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/modals.less +0 -0
  1149. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/navbar.less +0 -0
  1150. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/navs.less +0 -0
  1151. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/pager.less +0 -0
  1152. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/pagination.less +0 -0
  1153. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/popovers.less +0 -0
  1154. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/progress-bars.less +0 -0
  1155. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/reset.less +0 -0
  1156. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-1200px-min.less +0 -0
  1157. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-767px-max.less +0 -0
  1158. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-768px-979px.less +0 -0
  1159. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-navbar.less +0 -0
  1160. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive-utilities.less +0 -0
  1161. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/responsive.less +0 -0
  1162. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/scaffolding.less +0 -0
  1163. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/sprites.less +0 -0
  1164. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/tables.less +0 -0
  1165. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/thumbnails.less +0 -0
  1166. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/tooltip.less +0 -0
  1167. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/type.less +0 -0
  1168. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/utilities.less +0 -0
  1169. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/variables.less +0 -0
  1170. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/bootstrap/wells.less +0 -0
  1171. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-bootstrap.less +0 -0
  1172. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-content.less +0 -0
  1173. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-extend.less +0 -0
  1174. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-footer.less +0 -0
  1175. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-header.less +0 -0
  1176. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-rightsidebar.less +0 -0
  1177. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/less/spc-utils.less +0 -0
  1178. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/static/scipy.css_t +0 -0
  1179. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/_theme/scipy/theme.conf +0 -0
  1180. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/conf.py +0 -0
  1181. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/index.rst +0 -0
  1182. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc.rst +0 -0
  1183. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc_2.rst +0 -0
  1184. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc_3.rst +0 -0
  1185. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_autodoc_4.rst +0 -0
  1186. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/scipy-sphinx-theme/test_optimize.rst +0 -0
  1187. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/_templates/autosummary/class.rst +0 -0
  1188. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/_templates/indexcontent.html +0 -0
  1189. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/_templates/indexsidebar.html +0 -0
  1190. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/_templates/layout.html +0 -0
  1191. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/about.rst +0 -0
  1192. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/bugs.rst +0 -0
  1193. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/contents.rst +0 -0
  1194. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/configure_git.rst +0 -0
  1195. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/development_setup.rst +0 -0
  1196. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/dot2_dot3.rst +0 -0
  1197. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/following_latest.rst +0 -0
  1198. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/forking_button.png +0 -0
  1199. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/git_development.rst +0 -0
  1200. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/git_intro.rst +0 -0
  1201. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/git_resources.rst +0 -0
  1202. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash/pull_button.png +0 -0
  1203. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/dev/gitwash_links.txt +0 -0
  1204. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/advanced.rst +0 -0
  1205. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/allocarr.f90 +0 -0
  1206. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/allocarr_session.dat +0 -0
  1207. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/array.f +0 -0
  1208. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/array_session.dat +0 -0
  1209. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/calculate.f +0 -0
  1210. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/calculate_session.dat +0 -0
  1211. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/callback.f +0 -0
  1212. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/callback2.pyf +0 -0
  1213. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/callback_session.dat +0 -0
  1214. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/common.f +0 -0
  1215. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/common_session.dat +0 -0
  1216. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/compile_session.dat +0 -0
  1217. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/distutils.rst +0 -0
  1218. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/extcallback.f +0 -0
  1219. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/extcallback_session.dat +0 -0
  1220. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/fib1.f +0 -0
  1221. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/fib1.pyf +0 -0
  1222. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/fib2.pyf +0 -0
  1223. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/fib3.f +0 -0
  1224. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/ftype.f +0 -0
  1225. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/ftype_session.dat +0 -0
  1226. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/getting-started.rst +0 -0
  1227. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/index.rst +0 -0
  1228. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/moddata.f90 +0 -0
  1229. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/moddata_session.dat +0 -0
  1230. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/python-usage.rst +0 -0
  1231. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/run_main_session.dat +0 -0
  1232. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/scalar.f +0 -0
  1233. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/scalar_session.dat +0 -0
  1234. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/setup_example.py +0 -0
  1235. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/signature-file.rst +0 -0
  1236. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/spam.pyf +0 -0
  1237. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/spam_session.dat +0 -0
  1238. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/string.f +0 -0
  1239. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/string_session.dat +0 -0
  1240. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/usage.rst +0 -0
  1241. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/var.pyf +0 -0
  1242. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/f2py/var_session.dat +0 -0
  1243. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/glossary.rst +0 -0
  1244. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/license.rst +0 -0
  1245. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/datetime-proposal.rst +0 -0
  1246. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/datetime-proposal3.rst +0 -0
  1247. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/deferred-ufunc-evaluation.rst +0 -0
  1248. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/generalized-ufuncs.rst +0 -0
  1249. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/groupby_additions.rst +0 -0
  1250. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/index.rst +0 -0
  1251. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/math_config_clean.rst +0 -0
  1252. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/missing-data.rst +0 -0
  1253. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/new-iterator-ufunc.rst +0 -0
  1254. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/newbugtracker.rst +0 -0
  1255. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/npy-format.rst +0 -0
  1256. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/structured_array_extensions.rst +0 -0
  1257. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/ufunc-overrides.rst +0 -0
  1258. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/neps/warnfix.rst +0 -0
  1259. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/arrays.datetime.rst +0 -0
  1260. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/arrays.nditer.rst +0 -0
  1261. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/arrays.rst +0 -0
  1262. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/c-api.deprecations.rst +0 -0
  1263. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/c-api.rst +0 -0
  1264. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/distutils.rst +0 -0
  1265. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/figures/dtype-hierarchy.dia +0 -0
  1266. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/figures/dtype-hierarchy.pdf +0 -0
  1267. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/figures/dtype-hierarchy.png +0 -0
  1268. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/figures/threefundamental.fig +0 -0
  1269. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/figures/threefundamental.pdf +0 -0
  1270. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/figures/threefundamental.png +0 -0
  1271. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/internals.rst +0 -0
  1272. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/maskedarray.baseclass.rst +0 -0
  1273. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/maskedarray.generic.rst +0 -0
  1274. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/maskedarray.rst +0 -0
  1275. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.array-creation.rst +0 -0
  1276. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.bitwise.rst +0 -0
  1277. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.char.rst +0 -0
  1278. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.ctypeslib.rst +0 -0
  1279. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.datetime.rst +0 -0
  1280. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.dtype.rst +0 -0
  1281. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.dual.rst +0 -0
  1282. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.emath.rst +0 -0
  1283. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.err.rst +0 -0
  1284. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.fft.rst +0 -0
  1285. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.financial.rst +0 -0
  1286. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.functional.rst +0 -0
  1287. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.help.rst +0 -0
  1288. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.indexing.rst +0 -0
  1289. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.logic.rst +0 -0
  1290. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.math.rst +0 -0
  1291. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.matlib.rst +0 -0
  1292. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.numarray.rst +0 -0
  1293. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.oldnumeric.rst +0 -0
  1294. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.other.rst +0 -0
  1295. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.padding.rst +0 -0
  1296. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.chebyshev.rst +0 -0
  1297. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.classes.rst +0 -0
  1298. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.hermite.rst +0 -0
  1299. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.hermite_e.rst +0 -0
  1300. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.laguerre.rst +0 -0
  1301. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.legendre.rst +0 -0
  1302. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.package.rst +0 -0
  1303. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.poly1d.rst +0 -0
  1304. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.polynomial.rst +0 -0
  1305. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.polynomials.rst +0 -0
  1306. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.random.rst +0 -0
  1307. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.rst +0 -0
  1308. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.set.rst +0 -0
  1309. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.testing.rst +0 -0
  1310. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/routines.window.rst +0 -0
  1311. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/reference/swig.rst +0 -0
  1312. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.broadcasting.rst +0 -0
  1313. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.byteswapping.rst +0 -0
  1314. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.creation.rst +0 -0
  1315. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.indexing.rst +0 -0
  1316. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.io.rst +0 -0
  1317. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.rst +0 -0
  1318. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.subclassing.rst +0 -0
  1319. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/basics.types.rst +0 -0
  1320. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/c-info.rst +0 -0
  1321. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/howtofind.rst +0 -0
  1322. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/index.rst +0 -0
  1323. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/introduction.rst +0 -0
  1324. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/misc.rst +0 -0
  1325. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/performance.rst +0 -0
  1326. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/source/user/whatisnumpy.rst +0 -0
  1327. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/.git +0 -0
  1328. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/.gitignore +0 -0
  1329. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/.travis.yml +0 -0
  1330. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/LICENSE.txt +0 -0
  1331. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/MANIFEST.in +0 -0
  1332. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/README.rst +0 -0
  1333. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/__init__.py +0 -0
  1334. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/comment_eater.py +0 -0
  1335. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/compiler_unparse.py +0 -0
  1336. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/docscrape.py +0 -0
  1337. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/docscrape_sphinx.py +0 -0
  1338. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/linkcode.py +0 -0
  1339. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/numpydoc.py +0 -0
  1340. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/phantom_import.py +0 -0
  1341. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/plot_directive.py +0 -0
  1342. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_docscrape.py +0 -0
  1343. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_linkcode.py +0 -0
  1344. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_phantom_import.py +0 -0
  1345. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_plot_directive.py +0 -0
  1346. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/tests/test_traitsdoc.py +0 -0
  1347. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/numpydoc/traitsdoc.py +0 -0
  1348. {numpy-1.9.3 → numpy-1.10.0.post2}/doc/sphinxext/setup.py +0 -0
  1349. {numpy-1.9.3/numpy/core/code_generators → numpy-1.10.0.post2/numpy/_build_utils}/__init__.py +0 -0
  1350. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/compat/__init__.py +0 -0
  1351. {numpy-1.9.3/numpy/distutils/tests/f2py_ext → numpy-1.10.0.post2/numpy/core/code_generators}/__init__.py +0 -0
  1352. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/code_generators/genapi.py +0 -0
  1353. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/code_generators/generate_numpy_api.py +0 -0
  1354. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/cversions.py +0 -0
  1355. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/_neighborhood_iterator_imp.h +0 -0
  1356. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/_numpyconfig.h.in +0 -0
  1357. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/arrayobject.h +0 -0
  1358. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/arrayscalars.h +0 -0
  1359. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/halffloat.h +0 -0
  1360. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/noprefix.h +0 -0
  1361. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_1_7_deprecated_api.h +0 -0
  1362. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_interrupt.h +0 -0
  1363. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_no_deprecated_api.h +0 -0
  1364. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/npy_os.h +0 -0
  1365. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/old_defines.h +0 -0
  1366. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/oldnumeric.h +0 -0
  1367. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/ufuncobject.h +0 -0
  1368. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/include/numpy/utils.h +0 -0
  1369. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/info.py +0 -0
  1370. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/mlib.ini.in +0 -0
  1371. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/npymath.ini.in +0 -0
  1372. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/dummymodule.c +0 -0
  1373. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/_datetime.h +0 -0
  1374. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/alloc.h +0 -0
  1375. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign.c +0 -0
  1376. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign.h +0 -0
  1377. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign_array.c +0 -0
  1378. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/array_assign_scalar.c +0 -0
  1379. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/arrayobject.h +0 -0
  1380. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/buffer.h +0 -0
  1381. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/calculation.h +0 -0
  1382. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/conversion_utils.h +0 -0
  1383. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/convert.h +0 -0
  1384. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/convert_datatype.h +0 -0
  1385. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/ctors.h +0 -0
  1386. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/datetime_busday.h +0 -0
  1387. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/datetime_busdaycal.h +0 -0
  1388. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/datetime_strings.h +0 -0
  1389. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/descriptor.h +0 -0
  1390. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/flagsobject.c +0 -0
  1391. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/getset.h +0 -0
  1392. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/hashdescr.h +0 -0
  1393. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/item_selection.h +0 -0
  1394. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/iterators.h +0 -0
  1395. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/methods.h +0 -0
  1396. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/nditer_impl.h +0 -0
  1397. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/nditer_pywrap.h +0 -0
  1398. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/nditer_templ.c.src +0 -0
  1399. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/numpymemoryview.h +0 -0
  1400. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/numpyos.h +0 -0
  1401. {numpy-1.9.3/numpy/core/blasdot → numpy-1.10.0.post2/numpy/core/src/multiarray}/python_xerbla.c +0 -0
  1402. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/refcount.c +0 -0
  1403. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/refcount.h +0 -0
  1404. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/sequence.c +0 -0
  1405. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/sequence.h +0 -0
  1406. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/shape.h +0 -0
  1407. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/ucsnarrow.h +0 -0
  1408. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/usertypes.c +0 -0
  1409. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/multiarray/usertypes.h +0 -0
  1410. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/npymath/_signbit.c +0 -0
  1411. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/npymath/halffloat.c +0 -0
  1412. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/npymath/npy_math_common.h +0 -0
  1413. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/npysort/binsearch.c.src +0 -0
  1414. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/private/lowlevel_strided_loops.h +0 -0
  1415. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/private/npy_binsearch.h.src +0 -0
  1416. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/private/npy_fpmath.h +0 -0
  1417. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/private/npy_pycompat.h +0 -0
  1418. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/umath/reduction.c +0 -0
  1419. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/umath/reduction.h +0 -0
  1420. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/umath/struct_ufunc_test.c.src +0 -0
  1421. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/umath/ufunc_object.h +0 -0
  1422. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/src/umath/ufunc_type_resolution.h +0 -0
  1423. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/tests/data/astype_copy.pkl +0 -0
  1424. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/tests/data/recarray_from_file.fits +0 -0
  1425. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/core/tests/test_scalarprint.py +0 -0
  1426. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/ctypeslib.py +0 -0
  1427. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/__version__.py +0 -0
  1428. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/__init__.py +0 -0
  1429. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/bdist_rpm.py +0 -0
  1430. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/build_py.py +0 -0
  1431. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/build_scripts.py +0 -0
  1432. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/build_src.py +0 -0
  1433. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/config_compiler.py +0 -0
  1434. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/develop.py +0 -0
  1435. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/egg_info.py +0 -0
  1436. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/install.py +0 -0
  1437. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/install_clib.py +0 -0
  1438. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/install_data.py +0 -0
  1439. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/install_headers.py +0 -0
  1440. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/command/sdist.py +0 -0
  1441. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/compat.py +0 -0
  1442. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/conv_template.py +0 -0
  1443. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/core.py +0 -0
  1444. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/cpuinfo.py +0 -0
  1445. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/environment.py +0 -0
  1446. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/extension.py +0 -0
  1447. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/__init__.py +0 -0
  1448. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/absoft.py +0 -0
  1449. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/g95.py +0 -0
  1450. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/hpux.py +0 -0
  1451. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/ibm.py +0 -0
  1452. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/lahey.py +0 -0
  1453. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/mips.py +0 -0
  1454. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/nag.py +0 -0
  1455. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/none.py +0 -0
  1456. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/pathf95.py +0 -0
  1457. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/fcompiler/vast.py +0 -0
  1458. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/from_template.py +0 -0
  1459. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/info.py +0 -0
  1460. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/line_endings.py +0 -0
  1461. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/log.py +0 -0
  1462. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/mingw/gfortran_vs2003_hack.c +0 -0
  1463. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/numpy_distribution.py +0 -0
  1464. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/pathccompiler.py +0 -0
  1465. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/setup.py +0 -0
  1466. {numpy-1.9.3/numpy/distutils/tests/f2py_f90_ext → numpy-1.10.0.post2/numpy/distutils/tests/f2py_ext}/__init__.py +0 -0
  1467. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_ext/setup.py +0 -0
  1468. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_ext/src/fib1.f +0 -0
  1469. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_ext/src/fib2.pyf +0 -0
  1470. {numpy-1.9.3/numpy/distutils/tests/gen_ext → numpy-1.10.0.post2/numpy/distutils/tests/f2py_f90_ext}/__init__.py +0 -0
  1471. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_f90_ext/include/body.f90 +0 -0
  1472. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_f90_ext/setup.py +0 -0
  1473. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/f2py_f90_ext/src/foo_free.f90 +0 -0
  1474. {numpy-1.9.3/numpy/distutils/tests/pyrex_ext → numpy-1.10.0.post2/numpy/distutils/tests/gen_ext}/__init__.py +0 -0
  1475. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/gen_ext/setup.py +0 -0
  1476. {numpy-1.9.3/numpy/distutils/tests/swig_ext → numpy-1.10.0.post2/numpy/distutils/tests/pyrex_ext}/__init__.py +0 -0
  1477. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/pyrex_ext/primes.pyx +0 -0
  1478. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/pyrex_ext/setup.py +0 -0
  1479. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/setup.py +0 -0
  1480. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/setup.py +0 -0
  1481. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/example.c +0 -0
  1482. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/example.i +0 -0
  1483. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/zoo.cc +0 -0
  1484. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/zoo.h +0 -0
  1485. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/swig_ext/src/zoo.i +0 -0
  1486. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/distutils/tests/test_exec_command.py +0 -0
  1487. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/__init__.py +0 -0
  1488. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/basics.py +0 -0
  1489. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/broadcasting.py +0 -0
  1490. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/constants.py +0 -0
  1491. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/howtofind.py +0 -0
  1492. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/internals.py +0 -0
  1493. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/io.py +0 -0
  1494. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/jargon.py +0 -0
  1495. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/methods_vs_functions.py +0 -0
  1496. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/misc.py +0 -0
  1497. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/performance.py +0 -0
  1498. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/subclassing.py +0 -0
  1499. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/doc/ufuncs.py +0 -0
  1500. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/dual.py +0 -0
  1501. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/__version__.py +0 -0
  1502. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/info.py +0 -0
  1503. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/.f2py_f2cmap +0 -0
  1504. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/foo_free.f90 +0 -0
  1505. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/foo_mod.f90 +0 -0
  1506. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/foo_use.f90 +0 -0
  1507. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/assumed_shape/precision.f90 +0 -0
  1508. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/kind/foo.f90 +0 -0
  1509. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/mixed/foo.f +0 -0
  1510. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/mixed/foo_fixed.f90 +0 -0
  1511. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/mixed/foo_free.f90 +0 -0
  1512. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/regression/inout.f90 +0 -0
  1513. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/f2py/tests/src/size/foo.f90 +0 -0
  1514. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/fft/__init__.py +0 -0
  1515. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/fft/helper.py +0 -0
  1516. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/__init__.py +0 -0
  1517. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/_datasource.py +0 -0
  1518. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/_version.py +0 -0
  1519. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/scimath.py +0 -0
  1520. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/data/python3.npy +0 -0
  1521. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/data/win64python2.npy +0 -0
  1522. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/test__datasource.py +0 -0
  1523. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/test_arrayterator.py +0 -0
  1524. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/test_regression.py +0 -0
  1525. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/test_ufunclike.py +0 -0
  1526. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/tests/test_utils.py +0 -0
  1527. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/ufunclike.py +0 -0
  1528. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/lib/user_array.py +0 -0
  1529. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/__init__.py +0 -0
  1530. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/info.py +0 -0
  1531. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/blas_lite.c +0 -0
  1532. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/dlamch.c +0 -0
  1533. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/dlapack_lite.c +0 -0
  1534. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/f2c.h +0 -0
  1535. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/f2c_lite.c +0 -0
  1536. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/lapack_lite/zlapack_lite.c +0 -0
  1537. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/setup.py +0 -0
  1538. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/linalg/tests/test_deprecations.py +0 -0
  1539. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/ma/version.py +0 -0
  1540. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/matrixlib/__init__.py +0 -0
  1541. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/matrixlib/setup.py +0 -0
  1542. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/__init__.py +0 -0
  1543. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/polynomial.py +0 -0
  1544. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/setup.py +0 -0
  1545. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_chebyshev.py +0 -0
  1546. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_classes.py +0 -0
  1547. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_hermite.py +0 -0
  1548. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_hermite_e.py +0 -0
  1549. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_laguerre.py +0 -0
  1550. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_legendre.py +0 -0
  1551. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_polynomial.py +0 -0
  1552. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_polyutils.py +0 -0
  1553. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/polynomial/tests/test_printing.py +0 -0
  1554. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/__init__.py +0 -0
  1555. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/info.py +0 -0
  1556. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/Python.pxi +0 -0
  1557. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/distributions.h +0 -0
  1558. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/generate_mtrand_c.py +0 -0
  1559. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/initarray.c +0 -0
  1560. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/initarray.h +0 -0
  1561. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/mtrand_py_helper.h +0 -0
  1562. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/numpy.pxd +0 -0
  1563. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/randomkit.c +0 -0
  1564. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/random/mtrand/randomkit.h +0 -0
  1565. {numpy-1.9.3 → numpy-1.10.0.post2}/numpy/testing/tests/test_doctesting.py +0 -0
  1566. {numpy-1.9.3 → numpy-1.10.0.post2}/setupegg.py +0 -0
  1567. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/Makefile +0 -0
  1568. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/pyfragments.swg +0 -0
  1569. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Array1.cxx +0 -0
  1570. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Array1.h +0 -0
  1571. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Array2.cxx +0 -0
  1572. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Array2.h +0 -0
  1573. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Farray.cxx +0 -0
  1574. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Farray.h +0 -0
  1575. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Farray.i +0 -0
  1576. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Fortran.cxx +0 -0
  1577. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Fortran.h +0 -0
  1578. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Fortran.i +0 -0
  1579. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Matrix.cxx +0 -0
  1580. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Matrix.h +0 -0
  1581. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Matrix.i +0 -0
  1582. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/SuperTensor.cxx +0 -0
  1583. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/SuperTensor.h +0 -0
  1584. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/SuperTensor.i +0 -0
  1585. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Tensor.cxx +0 -0
  1586. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Tensor.h +0 -0
  1587. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Tensor.i +0 -0
  1588. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Vector.cxx +0 -0
  1589. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Vector.h +0 -0
  1590. {numpy-1.9.3 → numpy-1.10.0.post2}/tools/swig/test/Vector.i +0 -0
@@ -0,0 +1,2155 @@
1
+ #define PY_SSIZE_T_CLEAN
2
+ #include <Python.h>
3
+ #include "structmember.h"
4
+
5
+ #define NPY_NO_DEPRECATED_API NPY_API_VERSION
6
+ #define _MULTIARRAYMODULE
7
+ #include "numpy/arrayobject.h"
8
+ #include "numpy/arrayscalars.h"
9
+
10
+ #include "npy_config.h"
11
+
12
+ #include "npy_pycompat.h"
13
+ #include "numpy/npy_math.h"
14
+
15
+ #include "common.h"
16
+ #include "scalartypes.h"
17
+ #include "mapping.h"
18
+
19
+ #include "convert_datatype.h"
20
+ #include "_datetime.h"
21
+ #include "datetime_strings.h"
22
+
23
+
24
+ /*
25
+ * Required length of string when converting from unsigned integer type.
26
+ * Array index is integer size in bytes.
27
+ * - 3 chars needed for cast to max value of 255 or 127
28
+ * - 5 chars needed for cast to max value of 65535 or 32767
29
+ * - 10 chars needed for cast to max value of 4294967295 or 2147483647
30
+ * - 20 chars needed for cast to max value of 18446744073709551615
31
+ * or 9223372036854775807
32
+ */
33
+ NPY_NO_EXPORT npy_intp REQUIRED_STR_LEN[] = {0, 3, 5, 10, 10, 20, 20, 20, 20};
34
+
35
+ /*NUMPY_API
36
+ * For backward compatibility
37
+ *
38
+ * Cast an array using typecode structure.
39
+ * steals reference to dtype --- cannot be NULL
40
+ *
41
+ * This function always makes a copy of arr, even if the dtype
42
+ * doesn't change.
43
+ */
44
+ NPY_NO_EXPORT PyObject *
45
+ PyArray_CastToType(PyArrayObject *arr, PyArray_Descr *dtype, int is_f_order)
46
+ {
47
+ PyObject *out;
48
+
49
+ /* If the requested dtype is flexible, adapt it */
50
+ PyArray_AdaptFlexibleDType((PyObject *)arr, PyArray_DESCR(arr), &dtype);
51
+ if (dtype == NULL) {
52
+ return NULL;
53
+ }
54
+
55
+ out = PyArray_NewFromDescr(Py_TYPE(arr), dtype,
56
+ PyArray_NDIM(arr),
57
+ PyArray_DIMS(arr),
58
+ NULL, NULL,
59
+ is_f_order,
60
+ (PyObject *)arr);
61
+
62
+ if (out == NULL) {
63
+ return NULL;
64
+ }
65
+
66
+ if (PyArray_CopyInto((PyArrayObject *)out, arr) < 0) {
67
+ Py_DECREF(out);
68
+ return NULL;
69
+ }
70
+
71
+ return out;
72
+ }
73
+
74
+ /*NUMPY_API
75
+ * Get a cast function to cast from the input descriptor to the
76
+ * output type_number (must be a registered data-type).
77
+ * Returns NULL if un-successful.
78
+ */
79
+ NPY_NO_EXPORT PyArray_VectorUnaryFunc *
80
+ PyArray_GetCastFunc(PyArray_Descr *descr, int type_num)
81
+ {
82
+ PyArray_VectorUnaryFunc *castfunc = NULL;
83
+
84
+ if (type_num < NPY_NTYPES_ABI_COMPATIBLE) {
85
+ castfunc = descr->f->cast[type_num];
86
+ }
87
+ else {
88
+ PyObject *obj = descr->f->castdict;
89
+ if (obj && PyDict_Check(obj)) {
90
+ PyObject *key;
91
+ PyObject *cobj;
92
+
93
+ key = PyInt_FromLong(type_num);
94
+ cobj = PyDict_GetItem(obj, key);
95
+ Py_DECREF(key);
96
+ if (cobj && NpyCapsule_Check(cobj)) {
97
+ castfunc = NpyCapsule_AsVoidPtr(cobj);
98
+ }
99
+ }
100
+ }
101
+ if (PyTypeNum_ISCOMPLEX(descr->type_num) &&
102
+ !PyTypeNum_ISCOMPLEX(type_num) &&
103
+ PyTypeNum_ISNUMBER(type_num) &&
104
+ !PyTypeNum_ISBOOL(type_num)) {
105
+ PyObject *cls = NULL, *obj = NULL;
106
+ int ret;
107
+ obj = PyImport_ImportModule("numpy.core");
108
+
109
+ if (obj) {
110
+ cls = PyObject_GetAttrString(obj, "ComplexWarning");
111
+ Py_DECREF(obj);
112
+ }
113
+ ret = PyErr_WarnEx(cls,
114
+ "Casting complex values to real discards "
115
+ "the imaginary part", 1);
116
+ Py_XDECREF(cls);
117
+ if (ret < 0) {
118
+ return NULL;
119
+ }
120
+ }
121
+ if (castfunc) {
122
+ return castfunc;
123
+ }
124
+
125
+ PyErr_SetString(PyExc_ValueError,
126
+ "No cast function available.");
127
+ return NULL;
128
+ }
129
+
130
+ /*
131
+ * This function calls Py_DECREF on flex_dtype, and replaces it with
132
+ * a new dtype that has been adapted based on the values in data_dtype
133
+ * and data_obj. If the flex_dtype is not flexible, it leaves it as is.
134
+ *
135
+ * Usually, if data_obj is not an array, dtype should be the result
136
+ * given by the PyArray_GetArrayParamsFromObject function.
137
+ *
138
+ * The data_obj may be NULL if just a dtype is is known for the source.
139
+ *
140
+ * If *flex_dtype is NULL, returns immediately, without setting an
141
+ * exception. This basically assumes an error was already set previously.
142
+ *
143
+ * The current flexible dtypes include NPY_STRING, NPY_UNICODE, NPY_VOID,
144
+ * and NPY_DATETIME with generic units.
145
+ */
146
+ NPY_NO_EXPORT void
147
+ PyArray_AdaptFlexibleDType(PyObject *data_obj, PyArray_Descr *data_dtype,
148
+ PyArray_Descr **flex_dtype)
149
+ {
150
+ PyArray_DatetimeMetaData *meta;
151
+ int flex_type_num;
152
+ PyArrayObject *arr = NULL;
153
+ PyArray_Descr *dtype = NULL;
154
+ int ndim = 0;
155
+ npy_intp dims[NPY_MAXDIMS];
156
+ int result;
157
+
158
+ if (*flex_dtype == NULL) {
159
+ if (!PyErr_Occurred()) {
160
+ PyErr_SetString(PyExc_RuntimeError,
161
+ "NumPy AdaptFlexibleDType was called with NULL flex_dtype "
162
+ "but no error set");
163
+ }
164
+ return;
165
+ }
166
+
167
+ flex_type_num = (*flex_dtype)->type_num;
168
+
169
+ /* Flexible types with expandable size */
170
+ if ((*flex_dtype)->elsize == 0) {
171
+ /* First replace the flex dtype */
172
+ PyArray_DESCR_REPLACE(*flex_dtype);
173
+ if (*flex_dtype == NULL) {
174
+ return;
175
+ }
176
+
177
+ if (data_dtype->type_num == flex_type_num ||
178
+ flex_type_num == NPY_VOID) {
179
+ (*flex_dtype)->elsize = data_dtype->elsize;
180
+ }
181
+ else if (flex_type_num == NPY_STRING || flex_type_num == NPY_UNICODE) {
182
+ npy_intp size = 8;
183
+
184
+ /*
185
+ * Get a string-size estimate of the input. These
186
+ * are generallly the size needed, rounded up to
187
+ * a multiple of eight.
188
+ */
189
+ switch (data_dtype->type_num) {
190
+ case NPY_BOOL:
191
+ case NPY_UBYTE:
192
+ case NPY_BYTE:
193
+ case NPY_USHORT:
194
+ case NPY_SHORT:
195
+ case NPY_UINT:
196
+ case NPY_INT:
197
+ case NPY_ULONG:
198
+ case NPY_LONG:
199
+ case NPY_ULONGLONG:
200
+ case NPY_LONGLONG:
201
+ if (data_dtype->kind == 'b') {
202
+ /* 5 chars needed for cast to 'True' or 'False' */
203
+ size = 5;
204
+ }
205
+ else if (data_dtype->elsize > 8 ||
206
+ data_dtype->elsize < 0) {
207
+ /*
208
+ * Element size should never be greater than 8 or
209
+ * less than 0 for integer type, but just in case...
210
+ */
211
+ break;
212
+ }
213
+ else if (data_dtype->kind == 'u') {
214
+ size = REQUIRED_STR_LEN[data_dtype->elsize];
215
+ }
216
+ else if (data_dtype->kind == 'i') {
217
+ /* Add character for sign symbol */
218
+ size = REQUIRED_STR_LEN[data_dtype->elsize] + 1;
219
+ }
220
+ break;
221
+ case NPY_HALF:
222
+ case NPY_FLOAT:
223
+ case NPY_DOUBLE:
224
+ case NPY_LONGDOUBLE:
225
+ size = 32;
226
+ break;
227
+ case NPY_CFLOAT:
228
+ case NPY_CDOUBLE:
229
+ case NPY_CLONGDOUBLE:
230
+ size = 64;
231
+ break;
232
+ case NPY_OBJECT:
233
+ size = 64;
234
+ if ((flex_type_num == NPY_STRING ||
235
+ flex_type_num == NPY_UNICODE) &&
236
+ data_obj != NULL) {
237
+ PyObject *list;
238
+
239
+ if (PyArray_CheckScalar(data_obj)) {
240
+ list = PyArray_ToList((PyArrayObject *)data_obj);
241
+ if (list != NULL) {
242
+ PyObject *s = PyObject_Str(list);
243
+ if (s == NULL) {
244
+ Py_DECREF(list);
245
+ Py_DECREF(*flex_dtype);
246
+ *flex_dtype = NULL;
247
+ return;
248
+ }
249
+ else {
250
+ size = PyObject_Length(s);
251
+ Py_DECREF(s);
252
+ }
253
+ Py_DECREF(list);
254
+ }
255
+ }
256
+ else if (PyArray_Check(data_obj)) {
257
+ /*
258
+ * Convert data array to list of objects since
259
+ * GetArrayParamsFromObject won't iterate over
260
+ * array.
261
+ */
262
+ list = PyArray_ToList((PyArrayObject *)data_obj);
263
+ result = PyArray_GetArrayParamsFromObject(
264
+ list,
265
+ *flex_dtype,
266
+ 0, &dtype,
267
+ &ndim, dims, &arr, NULL);
268
+ if (result == 0 && dtype != NULL) {
269
+ if (flex_type_num == NPY_UNICODE) {
270
+ size = dtype->elsize / 4;
271
+ }
272
+ else {
273
+ size = dtype->elsize;
274
+ }
275
+ }
276
+ Py_DECREF(list);
277
+ }
278
+ else if (PyArray_IsPythonScalar(data_obj)) {
279
+ PyObject *s = PyObject_Str(data_obj);
280
+ if (s == NULL) {
281
+ Py_DECREF(*flex_dtype);
282
+ *flex_dtype = NULL;
283
+ return;
284
+ }
285
+ else {
286
+ size = PyObject_Length(s);
287
+ Py_DECREF(s);
288
+ }
289
+ }
290
+ }
291
+ break;
292
+ case NPY_STRING:
293
+ case NPY_VOID:
294
+ size = data_dtype->elsize;
295
+ break;
296
+ case NPY_UNICODE:
297
+ size = data_dtype->elsize / 4;
298
+ break;
299
+ case NPY_DATETIME:
300
+ meta = get_datetime_metadata_from_dtype(data_dtype);
301
+ if (meta == NULL) {
302
+ Py_DECREF(*flex_dtype);
303
+ *flex_dtype = NULL;
304
+ return;
305
+ }
306
+ size = get_datetime_iso_8601_strlen(0, meta->base);
307
+ break;
308
+ case NPY_TIMEDELTA:
309
+ size = 21;
310
+ break;
311
+ }
312
+
313
+ if (flex_type_num == NPY_STRING) {
314
+ (*flex_dtype)->elsize = size;
315
+ }
316
+ else if (flex_type_num == NPY_UNICODE) {
317
+ (*flex_dtype)->elsize = size * 4;
318
+ }
319
+ }
320
+ else {
321
+ /*
322
+ * We should never get here, but just in case someone adds
323
+ * a new flex dtype...
324
+ */
325
+ PyErr_SetString(PyExc_TypeError,
326
+ "don't know how to adapt flex dtype");
327
+ *flex_dtype = NULL;
328
+ return;
329
+ }
330
+ }
331
+ /* Flexible type with generic time unit that adapts */
332
+ else if (flex_type_num == NPY_DATETIME ||
333
+ flex_type_num == NPY_TIMEDELTA) {
334
+ meta = get_datetime_metadata_from_dtype(*flex_dtype);
335
+ if (meta == NULL) {
336
+ Py_DECREF(*flex_dtype);
337
+ *flex_dtype = NULL;
338
+ return;
339
+ }
340
+
341
+ if (meta->base == NPY_FR_GENERIC) {
342
+ if (data_dtype->type_num == NPY_DATETIME ||
343
+ data_dtype->type_num == NPY_TIMEDELTA) {
344
+ meta = get_datetime_metadata_from_dtype(data_dtype);
345
+ if (meta == NULL) {
346
+ Py_DECREF(*flex_dtype);
347
+ *flex_dtype = NULL;
348
+ return;
349
+ }
350
+
351
+ Py_DECREF(*flex_dtype);
352
+ *flex_dtype = create_datetime_dtype(flex_type_num, meta);
353
+ }
354
+ else if (data_obj != NULL) {
355
+ /* Detect the unit from the input's data */
356
+ Py_DECREF(*flex_dtype);
357
+ *flex_dtype = find_object_datetime_type(data_obj,
358
+ flex_type_num);
359
+ }
360
+ }
361
+ }
362
+ }
363
+
364
+ /*
365
+ * Must be broadcastable.
366
+ * This code is very similar to PyArray_CopyInto/PyArray_MoveInto
367
+ * except casting is done --- NPY_BUFSIZE is used
368
+ * as the size of the casting buffer.
369
+ */
370
+
371
+ /*NUMPY_API
372
+ * Cast to an already created array.
373
+ */
374
+ NPY_NO_EXPORT int
375
+ PyArray_CastTo(PyArrayObject *out, PyArrayObject *mp)
376
+ {
377
+ /* CopyInto handles the casting now */
378
+ return PyArray_CopyInto(out, mp);
379
+ }
380
+
381
+ /*NUMPY_API
382
+ * Cast to an already created array. Arrays don't have to be "broadcastable"
383
+ * Only requirement is they have the same number of elements.
384
+ */
385
+ NPY_NO_EXPORT int
386
+ PyArray_CastAnyTo(PyArrayObject *out, PyArrayObject *mp)
387
+ {
388
+ /* CopyAnyInto handles the casting now */
389
+ return PyArray_CopyAnyInto(out, mp);
390
+ }
391
+
392
+ /*NUMPY_API
393
+ *Check the type coercion rules.
394
+ */
395
+ NPY_NO_EXPORT int
396
+ PyArray_CanCastSafely(int fromtype, int totype)
397
+ {
398
+ PyArray_Descr *from;
399
+
400
+ /* Fast table lookup for small type numbers */
401
+ if ((unsigned int)fromtype < NPY_NTYPES &&
402
+ (unsigned int)totype < NPY_NTYPES) {
403
+ return _npy_can_cast_safely_table[fromtype][totype];
404
+ }
405
+
406
+ /* Identity */
407
+ if (fromtype == totype) {
408
+ return 1;
409
+ }
410
+ /* Special-cases for some types */
411
+ switch (fromtype) {
412
+ case NPY_DATETIME:
413
+ case NPY_TIMEDELTA:
414
+ case NPY_OBJECT:
415
+ case NPY_VOID:
416
+ return 0;
417
+ case NPY_BOOL:
418
+ return 1;
419
+ }
420
+ switch (totype) {
421
+ case NPY_BOOL:
422
+ case NPY_DATETIME:
423
+ case NPY_TIMEDELTA:
424
+ return 0;
425
+ case NPY_OBJECT:
426
+ case NPY_VOID:
427
+ return 1;
428
+ }
429
+
430
+ from = PyArray_DescrFromType(fromtype);
431
+ /*
432
+ * cancastto is a NPY_NOTYPE terminated C-int-array of types that
433
+ * the data-type can be cast to safely.
434
+ */
435
+ if (from->f->cancastto) {
436
+ int *curtype = from->f->cancastto;
437
+
438
+ while (*curtype != NPY_NOTYPE) {
439
+ if (*curtype++ == totype) {
440
+ return 1;
441
+ }
442
+ }
443
+ }
444
+ return 0;
445
+ }
446
+
447
+ /*NUMPY_API
448
+ * leaves reference count alone --- cannot be NULL
449
+ *
450
+ * PyArray_CanCastTypeTo is equivalent to this, but adds a 'casting'
451
+ * parameter.
452
+ */
453
+ NPY_NO_EXPORT npy_bool
454
+ PyArray_CanCastTo(PyArray_Descr *from, PyArray_Descr *to)
455
+ {
456
+ int from_type_num = from->type_num;
457
+ int to_type_num = to->type_num;
458
+ npy_bool ret;
459
+
460
+ ret = (npy_bool) PyArray_CanCastSafely(from_type_num, to_type_num);
461
+ if (ret) {
462
+ /* Check String and Unicode more closely */
463
+ if (from_type_num == NPY_STRING) {
464
+ if (to_type_num == NPY_STRING) {
465
+ ret = (from->elsize <= to->elsize);
466
+ }
467
+ else if (to_type_num == NPY_UNICODE) {
468
+ ret = (from->elsize << 2 <= to->elsize);
469
+ }
470
+ }
471
+ else if (from_type_num == NPY_UNICODE) {
472
+ if (to_type_num == NPY_UNICODE) {
473
+ ret = (from->elsize <= to->elsize);
474
+ }
475
+ }
476
+ /*
477
+ * For datetime/timedelta, only treat casts moving towards
478
+ * more precision as safe.
479
+ */
480
+ else if (from_type_num == NPY_DATETIME && to_type_num == NPY_DATETIME) {
481
+ PyArray_DatetimeMetaData *meta1, *meta2;
482
+ meta1 = get_datetime_metadata_from_dtype(from);
483
+ if (meta1 == NULL) {
484
+ PyErr_Clear();
485
+ return 0;
486
+ }
487
+ meta2 = get_datetime_metadata_from_dtype(to);
488
+ if (meta2 == NULL) {
489
+ PyErr_Clear();
490
+ return 0;
491
+ }
492
+
493
+ return can_cast_datetime64_metadata(meta1, meta2,
494
+ NPY_SAFE_CASTING);
495
+ }
496
+ else if (from_type_num == NPY_TIMEDELTA &&
497
+ to_type_num == NPY_TIMEDELTA) {
498
+ PyArray_DatetimeMetaData *meta1, *meta2;
499
+ meta1 = get_datetime_metadata_from_dtype(from);
500
+ if (meta1 == NULL) {
501
+ PyErr_Clear();
502
+ return 0;
503
+ }
504
+ meta2 = get_datetime_metadata_from_dtype(to);
505
+ if (meta2 == NULL) {
506
+ PyErr_Clear();
507
+ return 0;
508
+ }
509
+
510
+ return can_cast_timedelta64_metadata(meta1, meta2,
511
+ NPY_SAFE_CASTING);
512
+ }
513
+ /*
514
+ * If to_type_num is STRING or unicode
515
+ * see if the length is long enough to hold the
516
+ * stringified value of the object.
517
+ */
518
+ else if (to_type_num == NPY_STRING || to_type_num == NPY_UNICODE) {
519
+ /*
520
+ * Boolean value cast to string type is 5 characters max
521
+ * for string 'False'.
522
+ */
523
+ int char_size = 1;
524
+ if (to_type_num == NPY_UNICODE) {
525
+ char_size = 4;
526
+ }
527
+
528
+ ret = 0;
529
+ if (to->elsize == 0) {
530
+ ret = 1;
531
+ }
532
+ /*
533
+ * Need at least 5 characters to convert from boolean
534
+ * to 'True' or 'False'.
535
+ */
536
+ else if (from->kind == 'b' && to->elsize >= 5 * char_size) {
537
+ ret = 1;
538
+ }
539
+ else if (from->kind == 'u') {
540
+ /* Guard against unexpected integer size */
541
+ if (from->elsize > 8 || from->elsize < 0) {
542
+ ret = 0;
543
+ }
544
+ else if (to->elsize >=
545
+ REQUIRED_STR_LEN[from->elsize] * char_size) {
546
+ ret = 1;
547
+ }
548
+ }
549
+ else if (from->kind == 'i') {
550
+ /* Guard against unexpected integer size */
551
+ if (from->elsize > 8 || from->elsize < 0) {
552
+ ret = 0;
553
+ }
554
+ /* Extra character needed for sign */
555
+ else if (to->elsize >=
556
+ (REQUIRED_STR_LEN[from->elsize] + 1) * char_size) {
557
+ ret = 1;
558
+ }
559
+ }
560
+ }
561
+ }
562
+ return ret;
563
+ }
564
+
565
+ /* Provides an ordering for the dtype 'kind' character codes */
566
+ static int
567
+ dtype_kind_to_ordering(char kind)
568
+ {
569
+ switch (kind) {
570
+ /* Boolean kind */
571
+ case 'b':
572
+ return 0;
573
+ /* Unsigned int kind */
574
+ case 'u':
575
+ return 1;
576
+ /* Signed int kind */
577
+ case 'i':
578
+ return 2;
579
+ /* Float kind */
580
+ case 'f':
581
+ return 4;
582
+ /* Complex kind */
583
+ case 'c':
584
+ return 5;
585
+ /* String kind */
586
+ case 'S':
587
+ case 'a':
588
+ return 6;
589
+ /* Unicode kind */
590
+ case 'U':
591
+ return 7;
592
+ /* Void kind */
593
+ case 'V':
594
+ return 8;
595
+ /* Object kind */
596
+ case 'O':
597
+ return 9;
598
+ /*
599
+ * Anything else, like datetime, is special cased to
600
+ * not fit in this hierarchy
601
+ */
602
+ default:
603
+ return -1;
604
+ }
605
+ }
606
+
607
+ /* Converts a type number from unsigned to signed */
608
+ static int
609
+ type_num_unsigned_to_signed(int type_num)
610
+ {
611
+ switch (type_num) {
612
+ case NPY_UBYTE:
613
+ return NPY_BYTE;
614
+ case NPY_USHORT:
615
+ return NPY_SHORT;
616
+ case NPY_UINT:
617
+ return NPY_INT;
618
+ case NPY_ULONG:
619
+ return NPY_LONG;
620
+ case NPY_ULONGLONG:
621
+ return NPY_LONGLONG;
622
+ default:
623
+ return type_num;
624
+ }
625
+ }
626
+
627
+ /*
628
+ * Compare two field dictionaries for castability.
629
+ *
630
+ * Return 1 if 'field1' can be cast to 'field2' according to the rule
631
+ * 'casting', 0 if not.
632
+ *
633
+ * Castabiliy of field dictionaries is defined recursively: 'field1' and
634
+ * 'field2' must have the same field names (possibly in different
635
+ * orders), and the corresponding field types must be castable according
636
+ * to the given casting rule.
637
+ */
638
+ static int
639
+ can_cast_fields(PyObject *field1, PyObject *field2, NPY_CASTING casting)
640
+ {
641
+ Py_ssize_t ppos;
642
+ PyObject *key;
643
+ PyObject *tuple1, *tuple2;
644
+
645
+ if (field1 == field2) {
646
+ return 1;
647
+ }
648
+ if (field1 == NULL || field2 == NULL) {
649
+ return 0;
650
+ }
651
+ if (PyDict_Size(field1) != PyDict_Size(field2)) {
652
+ return 0;
653
+ }
654
+
655
+ /* Iterate over all the fields and compare for castability */
656
+ ppos = 0;
657
+ while (PyDict_Next(field1, &ppos, &key, &tuple1)) {
658
+ if ((tuple2 = PyDict_GetItem(field2, key)) == NULL) {
659
+ return 0;
660
+ }
661
+ /* Compare the dtype of the field for castability */
662
+ if (!PyArray_CanCastTypeTo(
663
+ (PyArray_Descr *)PyTuple_GET_ITEM(tuple1, 0),
664
+ (PyArray_Descr *)PyTuple_GET_ITEM(tuple2, 0),
665
+ casting)) {
666
+ return 0;
667
+ }
668
+ }
669
+
670
+ return 1;
671
+ }
672
+
673
+ /*NUMPY_API
674
+ * Returns true if data of type 'from' may be cast to data of type
675
+ * 'to' according to the rule 'casting'.
676
+ */
677
+ NPY_NO_EXPORT npy_bool
678
+ PyArray_CanCastTypeTo(PyArray_Descr *from, PyArray_Descr *to,
679
+ NPY_CASTING casting)
680
+ {
681
+ /* Fast path for unsafe casts or basic types */
682
+ if (casting == NPY_UNSAFE_CASTING ||
683
+ (NPY_LIKELY(from->type_num < NPY_OBJECT) &&
684
+ NPY_LIKELY(from->type_num == to->type_num) &&
685
+ NPY_LIKELY(from->byteorder == to->byteorder))) {
686
+ return 1;
687
+ }
688
+ /* Equivalent types can be cast with any value of 'casting' */
689
+ else if (PyArray_EquivTypenums(from->type_num, to->type_num)) {
690
+ /* For complicated case, use EquivTypes (for now) */
691
+ if (PyTypeNum_ISUSERDEF(from->type_num) ||
692
+ from->subarray != NULL) {
693
+ int ret;
694
+
695
+ /* Only NPY_NO_CASTING prevents byte order conversion */
696
+ if ((casting != NPY_NO_CASTING) &&
697
+ (!PyArray_ISNBO(from->byteorder) ||
698
+ !PyArray_ISNBO(to->byteorder))) {
699
+ PyArray_Descr *nbo_from, *nbo_to;
700
+
701
+ nbo_from = PyArray_DescrNewByteorder(from, NPY_NATIVE);
702
+ nbo_to = PyArray_DescrNewByteorder(to, NPY_NATIVE);
703
+ if (nbo_from == NULL || nbo_to == NULL) {
704
+ Py_XDECREF(nbo_from);
705
+ Py_XDECREF(nbo_to);
706
+ PyErr_Clear();
707
+ return 0;
708
+ }
709
+ ret = PyArray_EquivTypes(nbo_from, nbo_to);
710
+ Py_DECREF(nbo_from);
711
+ Py_DECREF(nbo_to);
712
+ }
713
+ else {
714
+ ret = PyArray_EquivTypes(from, to);
715
+ }
716
+ return ret;
717
+ }
718
+
719
+ if (PyDataType_HASFIELDS(from)) {
720
+ switch (casting) {
721
+ case NPY_EQUIV_CASTING:
722
+ case NPY_SAFE_CASTING:
723
+ case NPY_SAME_KIND_CASTING:
724
+ /*
725
+ * `from' and `to' must have the same fields, and
726
+ * corresponding fields must be (recursively) castable.
727
+ */
728
+ return can_cast_fields(from->fields, to->fields, casting);
729
+
730
+ case NPY_NO_CASTING:
731
+ default:
732
+ return PyArray_EquivTypes(from, to);
733
+ }
734
+ }
735
+
736
+ switch (from->type_num) {
737
+ case NPY_DATETIME: {
738
+ PyArray_DatetimeMetaData *meta1, *meta2;
739
+ meta1 = get_datetime_metadata_from_dtype(from);
740
+ if (meta1 == NULL) {
741
+ PyErr_Clear();
742
+ return 0;
743
+ }
744
+ meta2 = get_datetime_metadata_from_dtype(to);
745
+ if (meta2 == NULL) {
746
+ PyErr_Clear();
747
+ return 0;
748
+ }
749
+
750
+ if (casting == NPY_NO_CASTING) {
751
+ return PyArray_ISNBO(from->byteorder) ==
752
+ PyArray_ISNBO(to->byteorder) &&
753
+ can_cast_datetime64_metadata(meta1, meta2, casting);
754
+ }
755
+ else {
756
+ return can_cast_datetime64_metadata(meta1, meta2, casting);
757
+ }
758
+ }
759
+ case NPY_TIMEDELTA: {
760
+ PyArray_DatetimeMetaData *meta1, *meta2;
761
+ meta1 = get_datetime_metadata_from_dtype(from);
762
+ if (meta1 == NULL) {
763
+ PyErr_Clear();
764
+ return 0;
765
+ }
766
+ meta2 = get_datetime_metadata_from_dtype(to);
767
+ if (meta2 == NULL) {
768
+ PyErr_Clear();
769
+ return 0;
770
+ }
771
+
772
+ if (casting == NPY_NO_CASTING) {
773
+ return PyArray_ISNBO(from->byteorder) ==
774
+ PyArray_ISNBO(to->byteorder) &&
775
+ can_cast_timedelta64_metadata(meta1, meta2, casting);
776
+ }
777
+ else {
778
+ return can_cast_timedelta64_metadata(meta1, meta2, casting);
779
+ }
780
+ }
781
+ default:
782
+ switch (casting) {
783
+ case NPY_NO_CASTING:
784
+ return PyArray_EquivTypes(from, to);
785
+ case NPY_EQUIV_CASTING:
786
+ return (from->elsize == to->elsize);
787
+ case NPY_SAFE_CASTING:
788
+ return (from->elsize <= to->elsize);
789
+ default:
790
+ return 1;
791
+ }
792
+ break;
793
+ }
794
+ }
795
+ /* If safe or same-kind casts are allowed */
796
+ else if (casting == NPY_SAFE_CASTING || casting == NPY_SAME_KIND_CASTING) {
797
+ if (PyArray_CanCastTo(from, to)) {
798
+ return 1;
799
+ }
800
+ else if(casting == NPY_SAME_KIND_CASTING) {
801
+ /*
802
+ * Also allow casting from lower to higher kinds, according
803
+ * to the ordering provided by dtype_kind_to_ordering.
804
+ * Some kinds, like datetime, don't fit in the hierarchy,
805
+ * and are special cased as -1.
806
+ */
807
+ int from_order, to_order;
808
+
809
+ from_order = dtype_kind_to_ordering(from->kind);
810
+ to_order = dtype_kind_to_ordering(to->kind);
811
+
812
+ return from_order != -1 && from_order <= to_order;
813
+ }
814
+ else {
815
+ return 0;
816
+ }
817
+ }
818
+ /* NPY_NO_CASTING or NPY_EQUIV_CASTING was specified */
819
+ else {
820
+ return 0;
821
+ }
822
+ }
823
+
824
+ /* CanCastArrayTo needs this function */
825
+ static int min_scalar_type_num(char *valueptr, int type_num,
826
+ int *is_small_unsigned);
827
+
828
+ NPY_NO_EXPORT npy_bool
829
+ can_cast_scalar_to(PyArray_Descr *scal_type, char *scal_data,
830
+ PyArray_Descr *to, NPY_CASTING casting)
831
+ {
832
+ int swap;
833
+ int is_small_unsigned = 0, type_num;
834
+ npy_bool ret;
835
+ PyArray_Descr *dtype;
836
+
837
+ /* An aligned memory buffer large enough to hold any type */
838
+ npy_longlong value[4];
839
+
840
+ /*
841
+ * If the two dtypes are actually references to the same object
842
+ * or if casting type is forced unsafe then always OK.
843
+ */
844
+ if (scal_type == to || casting == NPY_UNSAFE_CASTING ) {
845
+ return 1;
846
+ }
847
+
848
+ /*
849
+ * If the scalar isn't a number, or the rule is stricter than
850
+ * NPY_SAFE_CASTING, use the straight type-based rules
851
+ */
852
+ if (!PyTypeNum_ISNUMBER(scal_type->type_num) ||
853
+ casting < NPY_SAFE_CASTING) {
854
+ return PyArray_CanCastTypeTo(scal_type, to, casting);
855
+ }
856
+
857
+ swap = !PyArray_ISNBO(scal_type->byteorder);
858
+ scal_type->f->copyswap(&value, scal_data, swap, NULL);
859
+
860
+ type_num = min_scalar_type_num((char *)&value, scal_type->type_num,
861
+ &is_small_unsigned);
862
+
863
+ /*
864
+ * If we've got a small unsigned scalar, and the 'to' type
865
+ * is not unsigned, then make it signed to allow the value
866
+ * to be cast more appropriately.
867
+ */
868
+ if (is_small_unsigned && !(PyTypeNum_ISUNSIGNED(to->type_num))) {
869
+ type_num = type_num_unsigned_to_signed(type_num);
870
+ }
871
+
872
+ dtype = PyArray_DescrFromType(type_num);
873
+ if (dtype == NULL) {
874
+ return 0;
875
+ }
876
+ #if 0
877
+ printf("min scalar cast ");
878
+ PyObject_Print(dtype, stdout, 0);
879
+ printf(" to ");
880
+ PyObject_Print(to, stdout, 0);
881
+ printf("\n");
882
+ #endif
883
+ ret = PyArray_CanCastTypeTo(dtype, to, casting);
884
+ Py_DECREF(dtype);
885
+ return ret;
886
+ }
887
+
888
+ /*NUMPY_API
889
+ * Returns 1 if the array object may be cast to the given data type using
890
+ * the casting rule, 0 otherwise. This differs from PyArray_CanCastTo in
891
+ * that it handles scalar arrays (0 dimensions) specially, by checking
892
+ * their value.
893
+ */
894
+ NPY_NO_EXPORT npy_bool
895
+ PyArray_CanCastArrayTo(PyArrayObject *arr, PyArray_Descr *to,
896
+ NPY_CASTING casting)
897
+ {
898
+ PyArray_Descr *from = PyArray_DESCR(arr);
899
+
900
+ /* If it's a scalar, check the value */
901
+ if (PyArray_NDIM(arr) == 0 && !PyArray_HASFIELDS(arr)) {
902
+ return can_cast_scalar_to(from, PyArray_DATA(arr), to, casting);
903
+ }
904
+
905
+ /* Otherwise, use the standard rules */
906
+ return PyArray_CanCastTypeTo(from, to, casting);
907
+ }
908
+
909
+ /*NUMPY_API
910
+ * See if array scalars can be cast.
911
+ *
912
+ * TODO: For NumPy 2.0, add a NPY_CASTING parameter.
913
+ */
914
+ NPY_NO_EXPORT npy_bool
915
+ PyArray_CanCastScalar(PyTypeObject *from, PyTypeObject *to)
916
+ {
917
+ int fromtype;
918
+ int totype;
919
+
920
+ fromtype = _typenum_fromtypeobj((PyObject *)from, 0);
921
+ totype = _typenum_fromtypeobj((PyObject *)to, 0);
922
+ if (fromtype == NPY_NOTYPE || totype == NPY_NOTYPE) {
923
+ return NPY_FALSE;
924
+ }
925
+ return (npy_bool) PyArray_CanCastSafely(fromtype, totype);
926
+ }
927
+
928
+ /*
929
+ * Internal promote types function which handles unsigned integers which
930
+ * fit in same-sized signed integers specially.
931
+ */
932
+ static PyArray_Descr *
933
+ promote_types(PyArray_Descr *type1, PyArray_Descr *type2,
934
+ int is_small_unsigned1, int is_small_unsigned2)
935
+ {
936
+ if (is_small_unsigned1) {
937
+ int type_num1 = type1->type_num;
938
+ int type_num2 = type2->type_num;
939
+ int ret_type_num;
940
+
941
+ if (type_num2 < NPY_NTYPES && !(PyTypeNum_ISBOOL(type_num2) ||
942
+ PyTypeNum_ISUNSIGNED(type_num2))) {
943
+ /* Convert to the equivalent-sized signed integer */
944
+ type_num1 = type_num_unsigned_to_signed(type_num1);
945
+
946
+ ret_type_num = _npy_type_promotion_table[type_num1][type_num2];
947
+ /* The table doesn't handle string/unicode/void, check the result */
948
+ if (ret_type_num >= 0) {
949
+ return PyArray_DescrFromType(ret_type_num);
950
+ }
951
+ }
952
+
953
+ return PyArray_PromoteTypes(type1, type2);
954
+ }
955
+ else if (is_small_unsigned2) {
956
+ int type_num1 = type1->type_num;
957
+ int type_num2 = type2->type_num;
958
+ int ret_type_num;
959
+
960
+ if (type_num1 < NPY_NTYPES && !(PyTypeNum_ISBOOL(type_num1) ||
961
+ PyTypeNum_ISUNSIGNED(type_num1))) {
962
+ /* Convert to the equivalent-sized signed integer */
963
+ type_num2 = type_num_unsigned_to_signed(type_num2);
964
+
965
+ ret_type_num = _npy_type_promotion_table[type_num1][type_num2];
966
+ /* The table doesn't handle string/unicode/void, check the result */
967
+ if (ret_type_num >= 0) {
968
+ return PyArray_DescrFromType(ret_type_num);
969
+ }
970
+ }
971
+
972
+ return PyArray_PromoteTypes(type1, type2);
973
+ }
974
+ else {
975
+ return PyArray_PromoteTypes(type1, type2);
976
+ }
977
+
978
+ }
979
+
980
+ /*
981
+ * Returns a new reference to type if it is already NBO, otherwise
982
+ * returns a copy converted to NBO.
983
+ */
984
+ static PyArray_Descr *
985
+ ensure_dtype_nbo(PyArray_Descr *type)
986
+ {
987
+ if (PyArray_ISNBO(type->byteorder)) {
988
+ Py_INCREF(type);
989
+ return type;
990
+ }
991
+ else {
992
+ return PyArray_DescrNewByteorder(type, NPY_NATIVE);
993
+ }
994
+ }
995
+
996
+ /*NUMPY_API
997
+ * Produces the smallest size and lowest kind type to which both
998
+ * input types can be cast.
999
+ */
1000
+ NPY_NO_EXPORT PyArray_Descr *
1001
+ PyArray_PromoteTypes(PyArray_Descr *type1, PyArray_Descr *type2)
1002
+ {
1003
+ int type_num1, type_num2, ret_type_num;
1004
+
1005
+ type_num1 = type1->type_num;
1006
+ type_num2 = type2->type_num;
1007
+
1008
+ /* If they're built-in types, use the promotion table */
1009
+ if (type_num1 < NPY_NTYPES && type_num2 < NPY_NTYPES) {
1010
+ ret_type_num = _npy_type_promotion_table[type_num1][type_num2];
1011
+ /*
1012
+ * The table doesn't handle string/unicode/void/datetime/timedelta,
1013
+ * so check the result
1014
+ */
1015
+ if (ret_type_num >= 0) {
1016
+ return PyArray_DescrFromType(ret_type_num);
1017
+ }
1018
+ }
1019
+ /* If one or both are user defined, calculate it */
1020
+ else {
1021
+ int skind1 = NPY_NOSCALAR, skind2 = NPY_NOSCALAR, skind;
1022
+
1023
+ if (PyArray_CanCastTo(type2, type1)) {
1024
+ /* Promoted types are always native byte order */
1025
+ return ensure_dtype_nbo(type1);
1026
+ }
1027
+ else if (PyArray_CanCastTo(type1, type2)) {
1028
+ /* Promoted types are always native byte order */
1029
+ return ensure_dtype_nbo(type2);
1030
+ }
1031
+
1032
+ /* Convert the 'kind' char into a scalar kind */
1033
+ switch (type1->kind) {
1034
+ case 'b':
1035
+ skind1 = NPY_BOOL_SCALAR;
1036
+ break;
1037
+ case 'u':
1038
+ skind1 = NPY_INTPOS_SCALAR;
1039
+ break;
1040
+ case 'i':
1041
+ skind1 = NPY_INTNEG_SCALAR;
1042
+ break;
1043
+ case 'f':
1044
+ skind1 = NPY_FLOAT_SCALAR;
1045
+ break;
1046
+ case 'c':
1047
+ skind1 = NPY_COMPLEX_SCALAR;
1048
+ break;
1049
+ }
1050
+ switch (type2->kind) {
1051
+ case 'b':
1052
+ skind2 = NPY_BOOL_SCALAR;
1053
+ break;
1054
+ case 'u':
1055
+ skind2 = NPY_INTPOS_SCALAR;
1056
+ break;
1057
+ case 'i':
1058
+ skind2 = NPY_INTNEG_SCALAR;
1059
+ break;
1060
+ case 'f':
1061
+ skind2 = NPY_FLOAT_SCALAR;
1062
+ break;
1063
+ case 'c':
1064
+ skind2 = NPY_COMPLEX_SCALAR;
1065
+ break;
1066
+ }
1067
+
1068
+ /* If both are scalars, there may be a promotion possible */
1069
+ if (skind1 != NPY_NOSCALAR && skind2 != NPY_NOSCALAR) {
1070
+
1071
+ /* Start with the larger scalar kind */
1072
+ skind = (skind1 > skind2) ? skind1 : skind2;
1073
+ ret_type_num = _npy_smallest_type_of_kind_table[skind];
1074
+
1075
+ for (;;) {
1076
+
1077
+ /* If there is no larger type of this kind, try a larger kind */
1078
+ if (ret_type_num < 0) {
1079
+ ++skind;
1080
+ /* Use -1 to signal no promoted type found */
1081
+ if (skind < NPY_NSCALARKINDS) {
1082
+ ret_type_num = _npy_smallest_type_of_kind_table[skind];
1083
+ }
1084
+ else {
1085
+ break;
1086
+ }
1087
+ }
1088
+
1089
+ /* If we found a type to which we can promote both, done! */
1090
+ if (PyArray_CanCastSafely(type_num1, ret_type_num) &&
1091
+ PyArray_CanCastSafely(type_num2, ret_type_num)) {
1092
+ return PyArray_DescrFromType(ret_type_num);
1093
+ }
1094
+
1095
+ /* Try the next larger type of this kind */
1096
+ ret_type_num = _npy_next_larger_type_table[ret_type_num];
1097
+ }
1098
+
1099
+ }
1100
+
1101
+ PyErr_SetString(PyExc_TypeError,
1102
+ "invalid type promotion with custom data type");
1103
+ return NULL;
1104
+ }
1105
+
1106
+ switch (type_num1) {
1107
+ /* BOOL can convert to anything except datetime/void */
1108
+ case NPY_BOOL:
1109
+ if (type_num2 == NPY_STRING || type_num2 == NPY_UNICODE) {
1110
+ int char_size = 1;
1111
+ if (type_num2 == NPY_UNICODE) {
1112
+ char_size = 4;
1113
+ }
1114
+ if (type2->elsize < 5 * char_size) {
1115
+ PyArray_Descr *ret = NULL;
1116
+ PyArray_Descr *temp = PyArray_DescrNew(type2);
1117
+ ret = ensure_dtype_nbo(temp);
1118
+ ret->elsize = 5 * char_size;
1119
+ Py_DECREF(temp);
1120
+ return ret;
1121
+ }
1122
+ return ensure_dtype_nbo(type2);
1123
+ }
1124
+ else if (type_num2 != NPY_DATETIME && type_num2 != NPY_VOID) {
1125
+ return ensure_dtype_nbo(type2);
1126
+ }
1127
+ break;
1128
+ /* For strings and unicodes, take the larger size */
1129
+ case NPY_STRING:
1130
+ if (type_num2 == NPY_STRING) {
1131
+ if (type1->elsize > type2->elsize) {
1132
+ return ensure_dtype_nbo(type1);
1133
+ }
1134
+ else {
1135
+ return ensure_dtype_nbo(type2);
1136
+ }
1137
+ }
1138
+ else if (type_num2 == NPY_UNICODE) {
1139
+ if (type2->elsize >= type1->elsize * 4) {
1140
+ return ensure_dtype_nbo(type2);
1141
+ }
1142
+ else {
1143
+ PyArray_Descr *d = PyArray_DescrNewFromType(NPY_UNICODE);
1144
+ if (d == NULL) {
1145
+ return NULL;
1146
+ }
1147
+ d->elsize = type1->elsize * 4;
1148
+ return d;
1149
+ }
1150
+ }
1151
+ /* Allow NUMBER -> STRING */
1152
+ else if (PyTypeNum_ISNUMBER(type_num2)) {
1153
+ PyArray_Descr *ret = NULL;
1154
+ PyArray_Descr *temp = PyArray_DescrNew(type1);
1155
+ temp->elsize = 0;
1156
+ PyArray_AdaptFlexibleDType(NULL, type2, &temp);
1157
+ if (temp->elsize > type1->elsize) {
1158
+ ret = ensure_dtype_nbo(temp);
1159
+ }
1160
+ else {
1161
+ ret = ensure_dtype_nbo(type1);
1162
+ }
1163
+ Py_DECREF(temp);
1164
+ return ret;
1165
+ }
1166
+ break;
1167
+ case NPY_UNICODE:
1168
+ if (type_num2 == NPY_UNICODE) {
1169
+ if (type1->elsize > type2->elsize) {
1170
+ return ensure_dtype_nbo(type1);
1171
+ }
1172
+ else {
1173
+ return ensure_dtype_nbo(type2);
1174
+ }
1175
+ }
1176
+ else if (type_num2 == NPY_STRING) {
1177
+ if (type1->elsize >= type2->elsize * 4) {
1178
+ return ensure_dtype_nbo(type1);
1179
+ }
1180
+ else {
1181
+ PyArray_Descr *d = PyArray_DescrNewFromType(NPY_UNICODE);
1182
+ if (d == NULL) {
1183
+ return NULL;
1184
+ }
1185
+ d->elsize = type2->elsize * 4;
1186
+ return d;
1187
+ }
1188
+ }
1189
+ /* Allow NUMBER -> UNICODE */
1190
+ else if (PyTypeNum_ISNUMBER(type_num2)) {
1191
+ PyArray_Descr *ret = NULL;
1192
+ PyArray_Descr *temp = PyArray_DescrNew(type1);
1193
+ temp->elsize = 0;
1194
+ PyArray_AdaptFlexibleDType(NULL, type2, &temp);
1195
+ if (temp->elsize > type1->elsize) {
1196
+ ret = ensure_dtype_nbo(temp);
1197
+ }
1198
+ else {
1199
+ ret = ensure_dtype_nbo(type1);
1200
+ }
1201
+ Py_DECREF(temp);
1202
+ return ret;
1203
+ }
1204
+ break;
1205
+ case NPY_DATETIME:
1206
+ case NPY_TIMEDELTA:
1207
+ if (type_num2 == NPY_DATETIME || type_num2 == NPY_TIMEDELTA) {
1208
+ return datetime_type_promotion(type1, type2);
1209
+ }
1210
+ break;
1211
+ }
1212
+
1213
+ switch (type_num2) {
1214
+ /* BOOL can convert to almost anything */
1215
+ case NPY_BOOL:
1216
+ if (type_num2 == NPY_STRING || type_num2 == NPY_UNICODE) {
1217
+ int char_size = 1;
1218
+ if (type_num2 == NPY_UNICODE) {
1219
+ char_size = 4;
1220
+ }
1221
+ if (type2->elsize < 5 * char_size) {
1222
+ PyArray_Descr *ret = NULL;
1223
+ PyArray_Descr *temp = PyArray_DescrNew(type2);
1224
+ ret = ensure_dtype_nbo(temp);
1225
+ ret->elsize = 5 * char_size;
1226
+ Py_DECREF(temp);
1227
+ return ret;
1228
+ }
1229
+ return ensure_dtype_nbo(type2);
1230
+ }
1231
+ else if (type_num1 != NPY_DATETIME && type_num1 != NPY_TIMEDELTA &&
1232
+ type_num1 != NPY_VOID) {
1233
+ return ensure_dtype_nbo(type1);
1234
+ }
1235
+ break;
1236
+ case NPY_STRING:
1237
+ /* Allow NUMBER -> STRING */
1238
+ if (PyTypeNum_ISNUMBER(type_num1)) {
1239
+ PyArray_Descr *ret = NULL;
1240
+ PyArray_Descr *temp = PyArray_DescrNew(type2);
1241
+ temp->elsize = 0;
1242
+ PyArray_AdaptFlexibleDType(NULL, type1, &temp);
1243
+ if (temp->elsize > type2->elsize) {
1244
+ ret = ensure_dtype_nbo(temp);
1245
+ }
1246
+ else {
1247
+ ret = ensure_dtype_nbo(type2);
1248
+ }
1249
+ Py_DECREF(temp);
1250
+ return ret;
1251
+ }
1252
+ break;
1253
+ case NPY_UNICODE:
1254
+ /* Allow NUMBER -> UNICODE */
1255
+ if (PyTypeNum_ISNUMBER(type_num1)) {
1256
+ PyArray_Descr *ret = NULL;
1257
+ PyArray_Descr *temp = PyArray_DescrNew(type2);
1258
+ temp->elsize = 0;
1259
+ PyArray_AdaptFlexibleDType(NULL, type1, &temp);
1260
+ if (temp->elsize > type2->elsize) {
1261
+ ret = ensure_dtype_nbo(temp);
1262
+ }
1263
+ else {
1264
+ ret = ensure_dtype_nbo(type2);
1265
+ }
1266
+ Py_DECREF(temp);
1267
+ return ret;
1268
+ }
1269
+ break;
1270
+ case NPY_TIMEDELTA:
1271
+ if (PyTypeNum_ISINTEGER(type_num1) ||
1272
+ PyTypeNum_ISFLOAT(type_num1)) {
1273
+ return ensure_dtype_nbo(type2);
1274
+ }
1275
+ break;
1276
+ }
1277
+
1278
+ /* For types equivalent up to endianness, can return either */
1279
+ if (PyArray_CanCastTypeTo(type1, type2, NPY_EQUIV_CASTING)) {
1280
+ return ensure_dtype_nbo(type1);
1281
+ }
1282
+
1283
+ /* TODO: Also combine fields, subarrays, strings, etc */
1284
+
1285
+ /*
1286
+ printf("invalid type promotion: ");
1287
+ PyObject_Print(type1, stdout, 0);
1288
+ printf(" ");
1289
+ PyObject_Print(type2, stdout, 0);
1290
+ printf("\n");
1291
+ */
1292
+ PyErr_SetString(PyExc_TypeError, "invalid type promotion");
1293
+ return NULL;
1294
+ }
1295
+
1296
+ /*
1297
+ * NOTE: While this is unlikely to be a performance problem, if
1298
+ * it is it could be reverted to a simple positive/negative
1299
+ * check as the previous system used.
1300
+ *
1301
+ * The is_small_unsigned output flag indicates whether it's an unsigned integer,
1302
+ * and would fit in a signed integer of the same bit size.
1303
+ */
1304
+ static int min_scalar_type_num(char *valueptr, int type_num,
1305
+ int *is_small_unsigned)
1306
+ {
1307
+ switch (type_num) {
1308
+ case NPY_BOOL: {
1309
+ return NPY_BOOL;
1310
+ }
1311
+ case NPY_UBYTE: {
1312
+ npy_ubyte value = *(npy_ubyte *)valueptr;
1313
+ if (value <= NPY_MAX_BYTE) {
1314
+ *is_small_unsigned = 1;
1315
+ }
1316
+ return NPY_UBYTE;
1317
+ }
1318
+ case NPY_BYTE: {
1319
+ npy_byte value = *(npy_byte *)valueptr;
1320
+ if (value >= 0) {
1321
+ *is_small_unsigned = 1;
1322
+ return NPY_UBYTE;
1323
+ }
1324
+ break;
1325
+ }
1326
+ case NPY_USHORT: {
1327
+ npy_ushort value = *(npy_ushort *)valueptr;
1328
+ if (value <= NPY_MAX_UBYTE) {
1329
+ if (value <= NPY_MAX_BYTE) {
1330
+ *is_small_unsigned = 1;
1331
+ }
1332
+ return NPY_UBYTE;
1333
+ }
1334
+
1335
+ if (value <= NPY_MAX_SHORT) {
1336
+ *is_small_unsigned = 1;
1337
+ }
1338
+ break;
1339
+ }
1340
+ case NPY_SHORT: {
1341
+ npy_short value = *(npy_short *)valueptr;
1342
+ if (value >= 0) {
1343
+ return min_scalar_type_num(valueptr, NPY_USHORT, is_small_unsigned);
1344
+ }
1345
+ else if (value >= NPY_MIN_BYTE) {
1346
+ return NPY_BYTE;
1347
+ }
1348
+ break;
1349
+ }
1350
+ #if NPY_SIZEOF_LONG == NPY_SIZEOF_INT
1351
+ case NPY_ULONG:
1352
+ #endif
1353
+ case NPY_UINT: {
1354
+ npy_uint value = *(npy_uint *)valueptr;
1355
+ if (value <= NPY_MAX_UBYTE) {
1356
+ if (value < NPY_MAX_BYTE) {
1357
+ *is_small_unsigned = 1;
1358
+ }
1359
+ return NPY_UBYTE;
1360
+ }
1361
+ else if (value <= NPY_MAX_USHORT) {
1362
+ if (value <= NPY_MAX_SHORT) {
1363
+ *is_small_unsigned = 1;
1364
+ }
1365
+ return NPY_USHORT;
1366
+ }
1367
+
1368
+ if (value <= NPY_MAX_INT) {
1369
+ *is_small_unsigned = 1;
1370
+ }
1371
+ break;
1372
+ }
1373
+ #if NPY_SIZEOF_LONG == NPY_SIZEOF_INT
1374
+ case NPY_LONG:
1375
+ #endif
1376
+ case NPY_INT: {
1377
+ npy_int value = *(npy_int *)valueptr;
1378
+ if (value >= 0) {
1379
+ return min_scalar_type_num(valueptr, NPY_UINT, is_small_unsigned);
1380
+ }
1381
+ else if (value >= NPY_MIN_BYTE) {
1382
+ return NPY_BYTE;
1383
+ }
1384
+ else if (value >= NPY_MIN_SHORT) {
1385
+ return NPY_SHORT;
1386
+ }
1387
+ break;
1388
+ }
1389
+ #if NPY_SIZEOF_LONG != NPY_SIZEOF_INT && NPY_SIZEOF_LONG != NPY_SIZEOF_LONGLONG
1390
+ case NPY_ULONG: {
1391
+ npy_ulong value = *(npy_ulong *)valueptr;
1392
+ if (value <= NPY_MAX_UBYTE) {
1393
+ if (value <= NPY_MAX_BYTE) {
1394
+ *is_small_unsigned = 1;
1395
+ }
1396
+ return NPY_UBYTE;
1397
+ }
1398
+ else if (value <= NPY_MAX_USHORT) {
1399
+ if (value <= NPY_MAX_SHORT) {
1400
+ *is_small_unsigned = 1;
1401
+ }
1402
+ return NPY_USHORT;
1403
+ }
1404
+ else if (value <= NPY_MAX_UINT) {
1405
+ if (value <= NPY_MAX_INT) {
1406
+ *is_small_unsigned = 1;
1407
+ }
1408
+ return NPY_UINT;
1409
+ }
1410
+
1411
+ if (value <= NPY_MAX_LONG) {
1412
+ *is_small_unsigned = 1;
1413
+ }
1414
+ break;
1415
+ }
1416
+ case NPY_LONG: {
1417
+ npy_long value = *(npy_long *)valueptr;
1418
+ if (value >= 0) {
1419
+ return min_scalar_type_num(valueptr, NPY_ULONG, is_small_unsigned);
1420
+ }
1421
+ else if (value >= NPY_MIN_BYTE) {
1422
+ return NPY_BYTE;
1423
+ }
1424
+ else if (value >= NPY_MIN_SHORT) {
1425
+ return NPY_SHORT;
1426
+ }
1427
+ else if (value >= NPY_MIN_INT) {
1428
+ return NPY_INT;
1429
+ }
1430
+ break;
1431
+ }
1432
+ #endif
1433
+ #if NPY_SIZEOF_LONG == NPY_SIZEOF_LONGLONG
1434
+ case NPY_ULONG:
1435
+ #endif
1436
+ case NPY_ULONGLONG: {
1437
+ npy_ulonglong value = *(npy_ulonglong *)valueptr;
1438
+ if (value <= NPY_MAX_UBYTE) {
1439
+ if (value <= NPY_MAX_BYTE) {
1440
+ *is_small_unsigned = 1;
1441
+ }
1442
+ return NPY_UBYTE;
1443
+ }
1444
+ else if (value <= NPY_MAX_USHORT) {
1445
+ if (value <= NPY_MAX_SHORT) {
1446
+ *is_small_unsigned = 1;
1447
+ }
1448
+ return NPY_USHORT;
1449
+ }
1450
+ else if (value <= NPY_MAX_UINT) {
1451
+ if (value <= NPY_MAX_INT) {
1452
+ *is_small_unsigned = 1;
1453
+ }
1454
+ return NPY_UINT;
1455
+ }
1456
+ #if NPY_SIZEOF_LONG != NPY_SIZEOF_INT && NPY_SIZEOF_LONG != NPY_SIZEOF_LONGLONG
1457
+ else if (value <= NPY_MAX_ULONG) {
1458
+ if (value <= NPY_MAX_LONG) {
1459
+ *is_small_unsigned = 1;
1460
+ }
1461
+ return NPY_ULONG;
1462
+ }
1463
+ #endif
1464
+
1465
+ if (value <= NPY_MAX_LONGLONG) {
1466
+ *is_small_unsigned = 1;
1467
+ }
1468
+ break;
1469
+ }
1470
+ #if NPY_SIZEOF_LONG == NPY_SIZEOF_LONGLONG
1471
+ case NPY_LONG:
1472
+ #endif
1473
+ case NPY_LONGLONG: {
1474
+ npy_longlong value = *(npy_longlong *)valueptr;
1475
+ if (value >= 0) {
1476
+ return min_scalar_type_num(valueptr, NPY_ULONGLONG, is_small_unsigned);
1477
+ }
1478
+ else if (value >= NPY_MIN_BYTE) {
1479
+ return NPY_BYTE;
1480
+ }
1481
+ else if (value >= NPY_MIN_SHORT) {
1482
+ return NPY_SHORT;
1483
+ }
1484
+ else if (value >= NPY_MIN_INT) {
1485
+ return NPY_INT;
1486
+ }
1487
+ #if NPY_SIZEOF_LONG != NPY_SIZEOF_INT && NPY_SIZEOF_LONG != NPY_SIZEOF_LONGLONG
1488
+ else if (value >= NPY_MIN_LONG) {
1489
+ return NPY_LONG;
1490
+ }
1491
+ #endif
1492
+ break;
1493
+ }
1494
+ /*
1495
+ * Float types aren't allowed to be demoted to integer types,
1496
+ * but precision loss is allowed.
1497
+ */
1498
+ case NPY_HALF: {
1499
+ return NPY_HALF;
1500
+ }
1501
+ case NPY_FLOAT: {
1502
+ float value = *(float *)valueptr;
1503
+ if ((value > -65000 && value < 65000) || !npy_isfinite(value)) {
1504
+ return NPY_HALF;
1505
+ }
1506
+ break;
1507
+ }
1508
+ case NPY_DOUBLE: {
1509
+ double value = *(double *)valueptr;
1510
+ if ((value > -65000 && value < 65000) || !npy_isfinite(value)) {
1511
+ return NPY_HALF;
1512
+ }
1513
+ else if (value > -3.4e38 && value < 3.4e38) {
1514
+ return NPY_FLOAT;
1515
+ }
1516
+ break;
1517
+ }
1518
+ case NPY_LONGDOUBLE: {
1519
+ npy_longdouble value = *(npy_longdouble *)valueptr;
1520
+ if ((value > -65000 && value < 65000) || !npy_isfinite(value)) {
1521
+ return NPY_HALF;
1522
+ }
1523
+ else if (value > -3.4e38 && value < 3.4e38) {
1524
+ return NPY_FLOAT;
1525
+ }
1526
+ else if (value > -1.7e308 && value < 1.7e308) {
1527
+ return NPY_DOUBLE;
1528
+ }
1529
+ break;
1530
+ }
1531
+ /*
1532
+ * The code to demote complex to float is disabled for now,
1533
+ * as forcing complex by adding 0j is probably desireable.
1534
+ */
1535
+ case NPY_CFLOAT: {
1536
+ /*
1537
+ npy_cfloat value = *(npy_cfloat *)valueptr;
1538
+ if (value.imag == 0) {
1539
+ return min_scalar_type_num((char *)&value.real,
1540
+ NPY_FLOAT, is_small_unsigned);
1541
+ }
1542
+ */
1543
+ break;
1544
+ }
1545
+ case NPY_CDOUBLE: {
1546
+ npy_cdouble value = *(npy_cdouble *)valueptr;
1547
+ /*
1548
+ if (value.imag == 0) {
1549
+ return min_scalar_type_num((char *)&value.real,
1550
+ NPY_DOUBLE, is_small_unsigned);
1551
+ }
1552
+ */
1553
+ if (value.real > -3.4e38 && value.real < 3.4e38 &&
1554
+ value.imag > -3.4e38 && value.imag < 3.4e38) {
1555
+ return NPY_CFLOAT;
1556
+ }
1557
+ break;
1558
+ }
1559
+ case NPY_CLONGDOUBLE: {
1560
+ npy_clongdouble value = *(npy_clongdouble *)valueptr;
1561
+ /*
1562
+ if (value.imag == 0) {
1563
+ return min_scalar_type_num((char *)&value.real,
1564
+ NPY_LONGDOUBLE, is_small_unsigned);
1565
+ }
1566
+ */
1567
+ if (value.real > -3.4e38 && value.real < 3.4e38 &&
1568
+ value.imag > -3.4e38 && value.imag < 3.4e38) {
1569
+ return NPY_CFLOAT;
1570
+ }
1571
+ else if (value.real > -1.7e308 && value.real < 1.7e308 &&
1572
+ value.imag > -1.7e308 && value.imag < 1.7e308) {
1573
+ return NPY_CDOUBLE;
1574
+ }
1575
+ break;
1576
+ }
1577
+ }
1578
+
1579
+ return type_num;
1580
+ }
1581
+
1582
+ /*NUMPY_API
1583
+ * If arr is a scalar (has 0 dimensions) with a built-in number data type,
1584
+ * finds the smallest type size/kind which can still represent its data.
1585
+ * Otherwise, returns the array's data type.
1586
+ *
1587
+ */
1588
+ NPY_NO_EXPORT PyArray_Descr *
1589
+ PyArray_MinScalarType(PyArrayObject *arr)
1590
+ {
1591
+ PyArray_Descr *dtype = PyArray_DESCR(arr);
1592
+ /*
1593
+ * If the array isn't a numeric scalar, just return the array's dtype.
1594
+ */
1595
+ if (PyArray_NDIM(arr) > 0 || !PyTypeNum_ISNUMBER(dtype->type_num)) {
1596
+ Py_INCREF(dtype);
1597
+ return dtype;
1598
+ }
1599
+ else {
1600
+ char *data = PyArray_BYTES(arr);
1601
+ int swap = !PyArray_ISNBO(dtype->byteorder);
1602
+ int is_small_unsigned = 0;
1603
+ /* An aligned memory buffer large enough to hold any type */
1604
+ npy_longlong value[4];
1605
+ dtype->f->copyswap(&value, data, swap, NULL);
1606
+
1607
+ return PyArray_DescrFromType(
1608
+ min_scalar_type_num((char *)&value,
1609
+ dtype->type_num, &is_small_unsigned));
1610
+
1611
+ }
1612
+ }
1613
+
1614
+ /*
1615
+ * Provides an ordering for the dtype 'kind' character codes, to help
1616
+ * determine when to use the min_scalar_type function. This groups
1617
+ * 'kind' into boolean, integer, floating point, and everything else.
1618
+ */
1619
+ static int
1620
+ dtype_kind_to_simplified_ordering(char kind)
1621
+ {
1622
+ switch (kind) {
1623
+ /* Boolean kind */
1624
+ case 'b':
1625
+ return 0;
1626
+ /* Unsigned int kind */
1627
+ case 'u':
1628
+ /* Signed int kind */
1629
+ case 'i':
1630
+ return 1;
1631
+ /* Float kind */
1632
+ case 'f':
1633
+ /* Complex kind */
1634
+ case 'c':
1635
+ return 2;
1636
+ /* Anything else */
1637
+ default:
1638
+ return 3;
1639
+ }
1640
+ }
1641
+
1642
+ /*NUMPY_API
1643
+ * Produces the result type of a bunch of inputs, using the UFunc
1644
+ * type promotion rules. Use this function when you have a set of
1645
+ * input arrays, and need to determine an output array dtype.
1646
+ *
1647
+ * If all the inputs are scalars (have 0 dimensions) or the maximum "kind"
1648
+ * of the scalars is greater than the maximum "kind" of the arrays, does
1649
+ * a regular type promotion.
1650
+ *
1651
+ * Otherwise, does a type promotion on the MinScalarType
1652
+ * of all the inputs. Data types passed directly are treated as array
1653
+ * types.
1654
+ *
1655
+ */
1656
+ NPY_NO_EXPORT PyArray_Descr *
1657
+ PyArray_ResultType(npy_intp narrs, PyArrayObject **arr,
1658
+ npy_intp ndtypes, PyArray_Descr **dtypes)
1659
+ {
1660
+ npy_intp i;
1661
+ int use_min_scalar = 0;
1662
+ PyArray_Descr *ret = NULL, *tmpret;
1663
+ int ret_is_small_unsigned = 0;
1664
+
1665
+ /* If there's just one type, pass it through */
1666
+ if (narrs + ndtypes == 1) {
1667
+ if (narrs == 1) {
1668
+ ret = PyArray_DESCR(arr[0]);
1669
+ }
1670
+ else {
1671
+ ret = dtypes[0];
1672
+ }
1673
+ Py_INCREF(ret);
1674
+ return ret;
1675
+ }
1676
+
1677
+ /*
1678
+ * Determine if there are any scalars, and if so, whether
1679
+ * the maximum "kind" of the scalars surpasses the maximum
1680
+ * "kind" of the arrays
1681
+ */
1682
+ if (narrs > 0) {
1683
+ int all_scalars, max_scalar_kind = -1, max_array_kind = -1;
1684
+ int kind;
1685
+
1686
+ all_scalars = (ndtypes > 0) ? 0 : 1;
1687
+
1688
+ /* Compute the maximum "kinds" and whether everything is scalar */
1689
+ for (i = 0; i < narrs; ++i) {
1690
+ if (PyArray_NDIM(arr[i]) == 0) {
1691
+ kind = dtype_kind_to_simplified_ordering(
1692
+ PyArray_DESCR(arr[i])->kind);
1693
+ if (kind > max_scalar_kind) {
1694
+ max_scalar_kind = kind;
1695
+ }
1696
+ }
1697
+ else {
1698
+ all_scalars = 0;
1699
+ kind = dtype_kind_to_simplified_ordering(
1700
+ PyArray_DESCR(arr[i])->kind);
1701
+ if (kind > max_array_kind) {
1702
+ max_array_kind = kind;
1703
+ }
1704
+ }
1705
+ }
1706
+ /*
1707
+ * If the max scalar kind is bigger than the max array kind,
1708
+ * finish computing the max array kind
1709
+ */
1710
+ for (i = 0; i < ndtypes; ++i) {
1711
+ kind = dtype_kind_to_simplified_ordering(dtypes[i]->kind);
1712
+ if (kind > max_array_kind) {
1713
+ max_array_kind = kind;
1714
+ }
1715
+ }
1716
+
1717
+ /* Indicate whether to use the min_scalar_type function */
1718
+ if (!all_scalars && max_array_kind >= max_scalar_kind) {
1719
+ use_min_scalar = 1;
1720
+ }
1721
+ }
1722
+
1723
+ /* Loop through all the types, promoting them */
1724
+ if (!use_min_scalar) {
1725
+ for (i = 0; i < narrs; ++i) {
1726
+ PyArray_Descr *tmp = PyArray_DESCR(arr[i]);
1727
+ /* Combine it with the existing type */
1728
+ if (ret == NULL) {
1729
+ ret = tmp;
1730
+ Py_INCREF(ret);
1731
+ }
1732
+ else {
1733
+ /* Only call promote if the types aren't the same dtype */
1734
+ if (tmp != ret || !PyArray_ISNBO(ret->byteorder)) {
1735
+ tmpret = PyArray_PromoteTypes(tmp, ret);
1736
+ Py_DECREF(ret);
1737
+ ret = tmpret;
1738
+ if (ret == NULL) {
1739
+ return NULL;
1740
+ }
1741
+ }
1742
+ }
1743
+ }
1744
+
1745
+ for (i = 0; i < ndtypes; ++i) {
1746
+ PyArray_Descr *tmp = dtypes[i];
1747
+ /* Combine it with the existing type */
1748
+ if (ret == NULL) {
1749
+ ret = tmp;
1750
+ Py_INCREF(ret);
1751
+ }
1752
+ else {
1753
+ /* Only call promote if the types aren't the same dtype */
1754
+ if (tmp != ret || !PyArray_ISNBO(tmp->byteorder)) {
1755
+ tmpret = PyArray_PromoteTypes(tmp, ret);
1756
+ Py_DECREF(ret);
1757
+ ret = tmpret;
1758
+ if (ret == NULL) {
1759
+ return NULL;
1760
+ }
1761
+ }
1762
+ }
1763
+ }
1764
+ }
1765
+ else {
1766
+ for (i = 0; i < narrs; ++i) {
1767
+ /* Get the min scalar type for the array */
1768
+ PyArray_Descr *tmp = PyArray_DESCR(arr[i]);
1769
+ int tmp_is_small_unsigned = 0;
1770
+ /*
1771
+ * If it's a scalar, find the min scalar type. The function
1772
+ * is expanded here so that we can flag whether we've got an
1773
+ * unsigned integer which would fit an a signed integer
1774
+ * of the same size, something not exposed in the public API.
1775
+ */
1776
+ if (PyArray_NDIM(arr[i]) == 0 &&
1777
+ PyTypeNum_ISNUMBER(tmp->type_num)) {
1778
+ char *data = PyArray_BYTES(arr[i]);
1779
+ int swap = !PyArray_ISNBO(tmp->byteorder);
1780
+ int type_num;
1781
+ /* An aligned memory buffer large enough to hold any type */
1782
+ npy_longlong value[4];
1783
+ tmp->f->copyswap(&value, data, swap, NULL);
1784
+ type_num = min_scalar_type_num((char *)&value,
1785
+ tmp->type_num, &tmp_is_small_unsigned);
1786
+ tmp = PyArray_DescrFromType(type_num);
1787
+ if (tmp == NULL) {
1788
+ Py_XDECREF(ret);
1789
+ return NULL;
1790
+ }
1791
+ }
1792
+ else {
1793
+ Py_INCREF(tmp);
1794
+ }
1795
+ /* Combine it with the existing type */
1796
+ if (ret == NULL) {
1797
+ ret = tmp;
1798
+ ret_is_small_unsigned = tmp_is_small_unsigned;
1799
+ }
1800
+ else {
1801
+ #if 0
1802
+ printf("promoting type ");
1803
+ PyObject_Print(tmp, stdout, 0);
1804
+ printf(" (%d) ", tmp_is_small_unsigned);
1805
+ PyObject_Print(ret, stdout, 0);
1806
+ printf(" (%d) ", ret_is_small_unsigned);
1807
+ printf("\n");
1808
+ #endif
1809
+ /* If they point to the same type, don't call promote */
1810
+ if (tmp == ret && PyArray_ISNBO(tmp->byteorder)) {
1811
+ Py_DECREF(tmp);
1812
+ }
1813
+ else {
1814
+ tmpret = promote_types(tmp, ret, tmp_is_small_unsigned,
1815
+ ret_is_small_unsigned);
1816
+ if (tmpret == NULL) {
1817
+ Py_DECREF(tmp);
1818
+ Py_DECREF(ret);
1819
+ return NULL;
1820
+ }
1821
+ Py_DECREF(tmp);
1822
+ Py_DECREF(ret);
1823
+ ret = tmpret;
1824
+ }
1825
+ ret_is_small_unsigned = tmp_is_small_unsigned &&
1826
+ ret_is_small_unsigned;
1827
+ }
1828
+ }
1829
+
1830
+ for (i = 0; i < ndtypes; ++i) {
1831
+ PyArray_Descr *tmp = dtypes[i];
1832
+ /* Combine it with the existing type */
1833
+ if (ret == NULL) {
1834
+ ret = tmp;
1835
+ Py_INCREF(ret);
1836
+ }
1837
+ else {
1838
+ /* Only call promote if the types aren't the same dtype */
1839
+ if (tmp != ret || !PyArray_ISNBO(tmp->byteorder)) {
1840
+ if (ret_is_small_unsigned) {
1841
+ tmpret = promote_types(tmp, ret, 0,
1842
+ ret_is_small_unsigned);
1843
+ if (tmpret == NULL) {
1844
+ Py_DECREF(tmp);
1845
+ Py_DECREF(ret);
1846
+ return NULL;
1847
+ }
1848
+ }
1849
+ else {
1850
+ tmpret = PyArray_PromoteTypes(tmp, ret);
1851
+ }
1852
+ Py_DECREF(ret);
1853
+ ret = tmpret;
1854
+ if (ret == NULL) {
1855
+ return NULL;
1856
+ }
1857
+ }
1858
+ }
1859
+ }
1860
+ }
1861
+
1862
+ if (ret == NULL) {
1863
+ PyErr_SetString(PyExc_TypeError,
1864
+ "no arrays or types available to calculate result type");
1865
+ }
1866
+
1867
+ return ret;
1868
+ }
1869
+
1870
+ /*NUMPY_API
1871
+ * Is the typenum valid?
1872
+ */
1873
+ NPY_NO_EXPORT int
1874
+ PyArray_ValidType(int type)
1875
+ {
1876
+ PyArray_Descr *descr;
1877
+ int res=NPY_TRUE;
1878
+
1879
+ descr = PyArray_DescrFromType(type);
1880
+ if (descr == NULL) {
1881
+ res = NPY_FALSE;
1882
+ }
1883
+ Py_DECREF(descr);
1884
+ return res;
1885
+ }
1886
+
1887
+ /* Backward compatibility only */
1888
+ /* In both Zero and One
1889
+
1890
+ ***You must free the memory once you are done with it
1891
+ using PyDataMem_FREE(ptr) or you create a memory leak***
1892
+
1893
+ If arr is an Object array you are getting a
1894
+ BORROWED reference to Zero or One.
1895
+ Do not DECREF.
1896
+ Please INCREF if you will be hanging on to it.
1897
+
1898
+ The memory for the ptr still must be freed in any case;
1899
+ */
1900
+
1901
+ static int
1902
+ _check_object_rec(PyArray_Descr *descr)
1903
+ {
1904
+ if (PyDataType_HASFIELDS(descr) && PyDataType_REFCHK(descr)) {
1905
+ PyErr_SetString(PyExc_TypeError, "Not supported for this data-type.");
1906
+ return -1;
1907
+ }
1908
+ return 0;
1909
+ }
1910
+
1911
+ /*NUMPY_API
1912
+ Get pointer to zero of correct type for array.
1913
+ */
1914
+ NPY_NO_EXPORT char *
1915
+ PyArray_Zero(PyArrayObject *arr)
1916
+ {
1917
+ char *zeroval;
1918
+ int ret, storeflags;
1919
+ PyObject *obj;
1920
+
1921
+ if (_check_object_rec(PyArray_DESCR(arr)) < 0) {
1922
+ return NULL;
1923
+ }
1924
+ zeroval = PyDataMem_NEW(PyArray_DESCR(arr)->elsize);
1925
+ if (zeroval == NULL) {
1926
+ PyErr_SetNone(PyExc_MemoryError);
1927
+ return NULL;
1928
+ }
1929
+
1930
+ obj=PyInt_FromLong((long) 0);
1931
+ if (PyArray_ISOBJECT(arr)) {
1932
+ memcpy(zeroval, &obj, sizeof(PyObject *));
1933
+ Py_DECREF(obj);
1934
+ return zeroval;
1935
+ }
1936
+ storeflags = PyArray_FLAGS(arr);
1937
+ PyArray_ENABLEFLAGS(arr, NPY_ARRAY_BEHAVED);
1938
+ ret = PyArray_DESCR(arr)->f->setitem(obj, zeroval, arr);
1939
+ ((PyArrayObject_fields *)arr)->flags = storeflags;
1940
+ Py_DECREF(obj);
1941
+ if (ret < 0) {
1942
+ PyDataMem_FREE(zeroval);
1943
+ return NULL;
1944
+ }
1945
+ return zeroval;
1946
+ }
1947
+
1948
+ /*NUMPY_API
1949
+ Get pointer to one of correct type for array
1950
+ */
1951
+ NPY_NO_EXPORT char *
1952
+ PyArray_One(PyArrayObject *arr)
1953
+ {
1954
+ char *oneval;
1955
+ int ret, storeflags;
1956
+ PyObject *obj;
1957
+
1958
+ if (_check_object_rec(PyArray_DESCR(arr)) < 0) {
1959
+ return NULL;
1960
+ }
1961
+ oneval = PyDataMem_NEW(PyArray_DESCR(arr)->elsize);
1962
+ if (oneval == NULL) {
1963
+ PyErr_SetNone(PyExc_MemoryError);
1964
+ return NULL;
1965
+ }
1966
+
1967
+ obj = PyInt_FromLong((long) 1);
1968
+ if (PyArray_ISOBJECT(arr)) {
1969
+ memcpy(oneval, &obj, sizeof(PyObject *));
1970
+ Py_DECREF(obj);
1971
+ return oneval;
1972
+ }
1973
+
1974
+ storeflags = PyArray_FLAGS(arr);
1975
+ PyArray_ENABLEFLAGS(arr, NPY_ARRAY_BEHAVED);
1976
+ ret = PyArray_DESCR(arr)->f->setitem(obj, oneval, arr);
1977
+ ((PyArrayObject_fields *)arr)->flags = storeflags;
1978
+ Py_DECREF(obj);
1979
+ if (ret < 0) {
1980
+ PyDataMem_FREE(oneval);
1981
+ return NULL;
1982
+ }
1983
+ return oneval;
1984
+ }
1985
+
1986
+ /* End deprecated */
1987
+
1988
+ /*NUMPY_API
1989
+ * Return the typecode of the array a Python object would be converted to
1990
+ *
1991
+ * Returns the type number the result should have, or NPY_NOTYPE on error.
1992
+ */
1993
+ NPY_NO_EXPORT int
1994
+ PyArray_ObjectType(PyObject *op, int minimum_type)
1995
+ {
1996
+ PyArray_Descr *dtype = NULL;
1997
+ int ret;
1998
+
1999
+ if (minimum_type != NPY_NOTYPE && minimum_type >= 0) {
2000
+ dtype = PyArray_DescrFromType(minimum_type);
2001
+ if (dtype == NULL) {
2002
+ return NPY_NOTYPE;
2003
+ }
2004
+ }
2005
+
2006
+ if (PyArray_DTypeFromObject(op, NPY_MAXDIMS, &dtype) < 0) {
2007
+ return NPY_NOTYPE;
2008
+ }
2009
+
2010
+ if (dtype == NULL) {
2011
+ ret = NPY_DEFAULT_TYPE;
2012
+ }
2013
+ else {
2014
+ ret = dtype->type_num;
2015
+ }
2016
+
2017
+ Py_XDECREF(dtype);
2018
+
2019
+ return ret;
2020
+ }
2021
+
2022
+ /* Raises error when len(op) == 0 */
2023
+
2024
+ /*NUMPY_API*/
2025
+ NPY_NO_EXPORT PyArrayObject **
2026
+ PyArray_ConvertToCommonType(PyObject *op, int *retn)
2027
+ {
2028
+ int i, n, allscalars = 0;
2029
+ PyArrayObject **mps = NULL;
2030
+ PyObject *otmp;
2031
+ PyArray_Descr *intype = NULL, *stype = NULL;
2032
+ PyArray_Descr *newtype = NULL;
2033
+ NPY_SCALARKIND scalarkind = NPY_NOSCALAR, intypekind = NPY_NOSCALAR;
2034
+
2035
+ *retn = n = PySequence_Length(op);
2036
+ if (n == 0) {
2037
+ PyErr_SetString(PyExc_ValueError, "0-length sequence.");
2038
+ }
2039
+ if (PyErr_Occurred()) {
2040
+ *retn = 0;
2041
+ return NULL;
2042
+ }
2043
+ mps = (PyArrayObject **)PyDataMem_NEW(n*sizeof(PyArrayObject *));
2044
+ if (mps == NULL) {
2045
+ *retn = 0;
2046
+ return (void*)PyErr_NoMemory();
2047
+ }
2048
+
2049
+ if (PyArray_Check(op)) {
2050
+ for (i = 0; i < n; i++) {
2051
+ mps[i] = (PyArrayObject *) array_item_asarray((PyArrayObject *)op, i);
2052
+ }
2053
+ if (!PyArray_ISCARRAY((PyArrayObject *)op)) {
2054
+ for (i = 0; i < n; i++) {
2055
+ PyObject *obj;
2056
+ obj = PyArray_NewCopy(mps[i], NPY_CORDER);
2057
+ Py_DECREF(mps[i]);
2058
+ mps[i] = (PyArrayObject *)obj;
2059
+ }
2060
+ }
2061
+ return mps;
2062
+ }
2063
+
2064
+ for (i = 0; i < n; i++) {
2065
+ mps[i] = NULL;
2066
+ }
2067
+
2068
+ for (i = 0; i < n; i++) {
2069
+ otmp = PySequence_GetItem(op, i);
2070
+ if (!PyArray_CheckAnyScalar(otmp)) {
2071
+ newtype = PyArray_DescrFromObject(otmp, intype);
2072
+ Py_XDECREF(intype);
2073
+ if (newtype == NULL) {
2074
+ goto fail;
2075
+ }
2076
+ intype = newtype;
2077
+ intypekind = PyArray_ScalarKind(intype->type_num, NULL);
2078
+ }
2079
+ else {
2080
+ newtype = PyArray_DescrFromObject(otmp, stype);
2081
+ Py_XDECREF(stype);
2082
+ if (newtype == NULL) {
2083
+ goto fail;
2084
+ }
2085
+ stype = newtype;
2086
+ scalarkind = PyArray_ScalarKind(newtype->type_num, NULL);
2087
+ mps[i] = (PyArrayObject *)Py_None;
2088
+ Py_INCREF(Py_None);
2089
+ }
2090
+ Py_XDECREF(otmp);
2091
+ }
2092
+ if (intype == NULL) {
2093
+ /* all scalars */
2094
+ allscalars = 1;
2095
+ intype = stype;
2096
+ Py_INCREF(intype);
2097
+ for (i = 0; i < n; i++) {
2098
+ Py_XDECREF(mps[i]);
2099
+ mps[i] = NULL;
2100
+ }
2101
+ }
2102
+ else if ((stype != NULL) && (intypekind != scalarkind)) {
2103
+ /*
2104
+ * we need to upconvert to type that
2105
+ * handles both intype and stype
2106
+ * also don't forcecast the scalars.
2107
+ */
2108
+ if (!PyArray_CanCoerceScalar(stype->type_num,
2109
+ intype->type_num,
2110
+ scalarkind)) {
2111
+ newtype = PyArray_PromoteTypes(intype, stype);
2112
+ Py_XDECREF(intype);
2113
+ intype = newtype;
2114
+ }
2115
+ for (i = 0; i < n; i++) {
2116
+ Py_XDECREF(mps[i]);
2117
+ mps[i] = NULL;
2118
+ }
2119
+ }
2120
+
2121
+
2122
+ /* Make sure all arrays are actual array objects. */
2123
+ for (i = 0; i < n; i++) {
2124
+ int flags = NPY_ARRAY_CARRAY;
2125
+
2126
+ if ((otmp = PySequence_GetItem(op, i)) == NULL) {
2127
+ goto fail;
2128
+ }
2129
+ if (!allscalars && ((PyObject *)(mps[i]) == Py_None)) {
2130
+ /* forcecast scalars */
2131
+ flags |= NPY_ARRAY_FORCECAST;
2132
+ Py_DECREF(Py_None);
2133
+ }
2134
+ Py_INCREF(intype);
2135
+ mps[i] = (PyArrayObject*)
2136
+ PyArray_FromAny(otmp, intype, 0, 0, flags, NULL);
2137
+ Py_DECREF(otmp);
2138
+ if (mps[i] == NULL) {
2139
+ goto fail;
2140
+ }
2141
+ }
2142
+ Py_DECREF(intype);
2143
+ Py_XDECREF(stype);
2144
+ return mps;
2145
+
2146
+ fail:
2147
+ Py_XDECREF(intype);
2148
+ Py_XDECREF(stype);
2149
+ *retn = 0;
2150
+ for (i = 0; i < n; i++) {
2151
+ Py_XDECREF(mps[i]);
2152
+ }
2153
+ PyDataMem_FREE(mps);
2154
+ return NULL;
2155
+ }