From noreply at github.com Mon Apr 1 15:53:39 2013 From: noreply at github.com (GitHub) Date: Mon, 01 Apr 2013 12:53:39 -0700 Subject: [Numpy-svn] [numpy/numpy] 2e8fcc: API: Make nditer support ndim == 0 for 0-d iterati... Message-ID: <5159e5c386818_3672b1f13499871@hookshot-fe5-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 2e8fcc0814486accb71aacb7d60ebcb3203f3b7a https://github.com/numpy/numpy/commit/2e8fcc0814486accb71aacb7d60ebcb3203f3b7a Author: Sebastian Berg Date: 2013-03-03 (Sun, 03 Mar 2013) Changed paths: M numpy/core/src/multiarray/nditer_api.c M numpy/core/src/multiarray/nditer_constr.c M numpy/core/src/multiarray/nditer_impl.h M numpy/core/src/private/lowlevel_strided_loops.h M numpy/core/src/umath/reduction.c M numpy/core/src/umath/ufunc_object.c Log Message: ----------- API: Make nditer support ndim == 0 for 0-d iterations. There are relatively few changes necessare here. However there is a conceptionally there are no axes for the 0-d case, and no axesdata needs to be used. This still uses the first axisdata. Which means that in a few places ndim == 0 is special cased or special cased to act like ndim == 1. It would probably be a little cleaner to to use the base pointers directly in the 0-d case and no axes iteration at all. That would require similar special cases though. This also makes oa_ndim == -1 the "correct" way to signal that no op_axes are given with oa_ndim == 0 being, for the time being, dual use. Either meaning that nothing may be given, or if something something was given enforcing a 0-d iteration. The necessary changes to the ufunc machinery are also done. Documented that the dtype transfer functions do not handle the scalar case unless even shape is set. Commit: acce195ad306529c7f083f48a48b51876168f421 https://github.com/numpy/numpy/commit/acce195ad306529c7f083f48a48b51876168f421 Author: Sebastian Berg Date: 2013-03-03 (Sun, 03 Mar 2013) Changed paths: M numpy/core/src/multiarray/nditer_pywrap.c Log Message: ----------- ENH: Allow np.nditer to support scalar op_axes Also uses oa_ndim == -1 to signal no op_axes were given. This is slightly cleaner inside pywrap itself and is a cleaner signal for the iterator. Commit: c11fa494fd8f7efcf70097d052b13d8b25caa1ab https://github.com/numpy/numpy/commit/c11fa494fd8f7efcf70097d052b13d8b25caa1ab Author: Sebastian Berg Date: 2013-03-03 (Sun, 03 Mar 2013) Changed paths: M numpy/core/tests/test_nditer.py Log Message: ----------- TST: Add basic tests for 0-d np.nditer/np.nested_iter support Commit: 610faef24ae57bfb9e9e7f95179e1e405f4c9f0d https://github.com/numpy/numpy/commit/610faef24ae57bfb9e9e7f95179e1e405f4c9f0d Author: Sebastian Berg Date: 2013-03-03 (Sun, 03 Mar 2013) Changed paths: M numpy/core/tests/test_einsum.py Log Message: ----------- TST: Add test that einsum multiplies scalars fine Commit: 22e1fe48db411b28530e2b289d509abc35346e52 https://github.com/numpy/numpy/commit/22e1fe48db411b28530e2b289d509abc35346e52 Author: Sebastian Berg Date: 2013-03-03 (Sun, 03 Mar 2013) Changed paths: M numpy/lib/index_tricks.py Log Message: ----------- MAINT: Remove np.ndindex 0-d hack. Commit: b66a15e0985eb809f735fb47e3d0ea6317f86406 https://github.com/numpy/numpy/commit/b66a15e0985eb809f735fb47e3d0ea6317f86406 Author: Sebastian Berg Date: 2013-03-03 (Sun, 03 Mar 2013) Changed paths: M doc/source/reference/c-api.iterator.rst Log Message: ----------- DOC: Add documentation clarifying the use of oa_ndim Commit: 20f44efee8eda236b222180f3c0964eb2ca6b5b2 https://github.com/numpy/numpy/commit/20f44efee8eda236b222180f3c0964eb2ca6b5b2 Author: Sebastian Berg Date: 2013-03-03 (Sun, 03 Mar 2013) Changed paths: M doc/release/1.8.0-notes.rst Log Message: ----------- DOC: mention AdvancedNew iterator change in the release notes. Commit: aa4d003598e66ff7c8392544d56ecdcc76493133 https://github.com/numpy/numpy/commit/aa4d003598e66ff7c8392544d56ecdcc76493133 Author: Sebastian Berg Date: 2013-03-03 (Sun, 03 Mar 2013) Changed paths: M numpy/core/src/umath/ufunc_object.c Log Message: ----------- MAINT: Remove 0-d iterator special case from ufunc_object.c Commit: d3edb4e84e3630320a3f577a83113f086cc1b563 https://github.com/numpy/numpy/commit/d3edb4e84e3630320a3f577a83113f086cc1b563 Author: Charles Harris Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: M doc/release/1.8.0-notes.rst M doc/source/reference/c-api.iterator.rst M numpy/core/src/multiarray/nditer_api.c M numpy/core/src/multiarray/nditer_constr.c M numpy/core/src/multiarray/nditer_impl.h M numpy/core/src/multiarray/nditer_pywrap.c M numpy/core/src/private/lowlevel_strided_loops.h M numpy/core/src/umath/reduction.c M numpy/core/src/umath/ufunc_object.c M numpy/core/tests/test_einsum.py M numpy/core/tests/test_nditer.py M numpy/lib/index_tricks.py Log Message: ----------- Merge pull request #3104 from seberg/nditer-allow-0d Make AdvancedNew iter more 0-d aware Compare: https://github.com/numpy/numpy/compare/fd6f038b2e00...d3edb4e84e36 From noreply at github.com Mon Apr 1 15:54:56 2013 From: noreply at github.com (GitHub) Date: Mon, 01 Apr 2013 12:54:56 -0700 Subject: [Numpy-svn] [numpy/numpy] 5e8b32: BUG: Do not reuse nditer buffers when not filled e... Message-ID: <5159e6109d05c_37397141341256@hookshot-fe5-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5e8b322ea4ac4acf33bb89d7bdc4f3397d047cb4 https://github.com/numpy/numpy/commit/5e8b322ea4ac4acf33bb89d7bdc4f3397d047cb4 Author: Sebastian Berg Date: 2013-03-18 (Mon, 18 Mar 2013) Changed paths: M numpy/core/src/multiarray/nditer_api.c Log Message: ----------- BUG: Do not reuse nditer buffers when not filled enough. This checks if the previous time around, the buffers were filled with as much data as they would be filled this time around. Since This is difficult for the initial loop before reusing is activated because in that case the buffer may be larger then just the first outer reduce dimension. In that case do not allow reuse unless the index along that dimension was 0. When the inner reduce index is not 0, then also the reusing of the buffer is dangerous. Commit: 12dce71414f546bdad87bf8eb2a7f802e315b235 https://github.com/numpy/numpy/commit/12dce71414f546bdad87bf8eb2a7f802e315b235 Author: Sebastian Berg Date: 2013-03-18 (Mon, 18 Mar 2013) Changed paths: M numpy/core/tests/test_nditer.py Log Message: ----------- TST: Add (slow) nditer reduce buffer reuse test Commit: 793e83d06b2c23cdfe9a1b3abc5e16eeab3203c9 https://github.com/numpy/numpy/commit/793e83d06b2c23cdfe9a1b3abc5e16eeab3203c9 Author: Sebastian Berg Date: 2013-03-18 (Mon, 18 Mar 2013) Changed paths: M numpy/core/src/multiarray/nditer_api.c Log Message: ----------- BUG: no buffer reuse in nditer, if there was no buffer previously If the buffer is used or not can possible change during iteration. In this case, the buffer cannot be reused if it never existed... Commit: 1e6d6e6272a1ca83c8e45d33c50268cfa4b32511 https://github.com/numpy/numpy/commit/1e6d6e6272a1ca83c8e45d33c50268cfa4b32511 Author: Sebastian Berg Date: 2013-03-18 (Mon, 18 Mar 2013) Changed paths: M numpy/core/tests/test_nditer.py Log Message: ----------- TST: test no reuse of non-existing buffers in nditer This slightly changes the test to cover more cases including the one where buffers are sometimes used and sometimes not. Commit: 0563ebf44c3d333a9abdc6530cd74514455f99c9 https://github.com/numpy/numpy/commit/0563ebf44c3d333a9abdc6530cd74514455f99c9 Author: Charles Harris Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: M numpy/core/src/multiarray/nditer_api.c M numpy/core/tests/test_nditer.py Log Message: ----------- Merge pull request #3153 from seberg/issue-3142 BUG: Do not reuse nditer buffers when not filled enough. Compare: https://github.com/numpy/numpy/compare/d3edb4e84e36...0563ebf44c3d From noreply at github.com Mon Apr 1 17:42:35 2013 From: noreply at github.com (GitHub) Date: Mon, 01 Apr 2013 14:42:35 -0700 Subject: [Numpy-svn] [numpy/numpy] 5ad97e: Allow threads for FFT calculations Message-ID: <5159ff4b7c569_53ddf5413c661ce@hookshot-fe1-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5ad97ea70b126a1a13abc4d7500f0281ba4ddd50 https://github.com/numpy/numpy/commit/5ad97ea70b126a1a13abc4d7500f0281ba4ddd50 Author: Martin Teichmann Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: M numpy/fft/fftpack_litemodule.c Log Message: ----------- Allow threads for FFT calculations This patch adds lines to release the Global Interpreter Lock while calculating an FFT with fftpack. From noreply at github.com Mon Apr 1 18:25:29 2013 From: noreply at github.com (GitHub) Date: Mon, 01 Apr 2013 15:25:29 -0700 Subject: [Numpy-svn] [numpy/numpy] 5bc0a8: TST: add tests for roll function Message-ID: <515a0959af249_1a44cc713036618@hookshot-fe1-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5bc0a84022c2c65addf306f50eef6f37244ae595 https://github.com/numpy/numpy/commit/5bc0a84022c2c65addf306f50eef6f37244ae595 Author: Denis Laxalde Date: 2012-05-08 (Tue, 08 May 2012) Changed paths: M numpy/core/tests/test_numeric.py Log Message: ----------- TST: add tests for roll function Commit: 37fab7a8fcf72653289a3a3453130696977eb0f7 https://github.com/numpy/numpy/commit/37fab7a8fcf72653289a3a3453130696977eb0f7 Author: Denis Laxalde Date: 2012-05-08 (Tue, 08 May 2012) Changed paths: M numpy/core/numeric.py Log Message: ----------- FIX: roll raises a ValueError is axis > ndim Commit: be90de8e31b76db8154e8ab9cefc21c1d25d0f45 https://github.com/numpy/numpy/commit/be90de8e31b76db8154e8ab9cefc21c1d25d0f45 Author: Denis Laxalde Date: 2012-05-08 (Tue, 08 May 2012) Changed paths: M numpy/core/numeric.py Log Message: ----------- FIX: handle empty arrays in roll Commit: 8d83ae93706d3486447a9b40908995b406178111 https://github.com/numpy/numpy/commit/8d83ae93706d3486447a9b40908995b406178111 Author: Denis Laxalde Date: 2012-10-13 (Sat, 13 Oct 2012) Changed paths: M numpy/core/numeric.py Log Message: ----------- STY: drop some else clauses in roll Commit: a6385b3a99e508e0d2ed5a6397da29d05da27ceb https://github.com/numpy/numpy/commit/a6385b3a99e508e0d2ed5a6397da29d05da27ceb Author: Charles Harris Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: M numpy/core/numeric.py M numpy/core/tests/test_numeric.py Log Message: ----------- Merge pull request #273 from dlax/fix/roll somes fixes for the roll function Compare: https://github.com/numpy/numpy/compare/5ad97ea70b12...a6385b3a99e5 From noreply at github.com Mon Apr 1 20:32:41 2013 From: noreply at github.com (GitHub) Date: Mon, 01 Apr 2013 17:32:41 -0700 Subject: [Numpy-svn] [numpy/numpy] a77a7c: First attempt at BF for 2028 and added better test... Message-ID: <515a2729ce03f_74d6eea13847129@hookshot-fe2-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a77a7cd5ed6bc12772ba33c151f40fbe73e9d212 https://github.com/numpy/numpy/commit/a77a7cd5ed6bc12772ba33c151f40fbe73e9d212 Author: Eric Fode Date: 2012-07-12 (Thu, 12 Jul 2012) Changed paths: M numpy/core/src/scalarmathmodule.c.src M numpy/core/tests/test_scalarmath.py Log Message: ----------- First attempt at BF for 2028 and added better tests for scalarmath pow function Commit: 61236250c3cc1153b233deb0ce83c6cebbc24c64 https://github.com/numpy/numpy/commit/61236250c3cc1153b233deb0ce83c6cebbc24c64 Author: Eric Fode Date: 2012-07-13 (Fri, 13 Jul 2012) Changed paths: M numpy/core/src/scalarmathmodule.c.src M numpy/core/tests/test_scalarmath.py Log Message: ----------- fixed some style problems Commit: 8b42156e8171802dda128cb23f7a0ce52c085e5a https://github.com/numpy/numpy/commit/8b42156e8171802dda128cb23f7a0ce52c085e5a Author: Eric Fode Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: M numpy/core/src/scalarmathmodule.c.src Log Message: ----------- Update scalarmathmodule.c.src Got rid of some white space in scalarmathmodule.c.src Commit: 134bcb0057007c4d821b911eb7b0df1797b054bd https://github.com/numpy/numpy/commit/134bcb0057007c4d821b911eb7b0df1797b054bd Author: Charles Harris Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: M numpy/core/src/scalarmathmodule.c.src M numpy/core/tests/test_scalarmath.py Log Message: ----------- Merge pull request #349 from ericfode/float16pow First attempt at BF for 2165 and added better tests for scalarmath pow function Compare: https://github.com/numpy/numpy/compare/a6385b3a99e5...134bcb005700 From noreply at github.com Tue Apr 2 10:14:52 2013 From: noreply at github.com (GitHub) Date: Tue, 02 Apr 2013 07:14:52 -0700 Subject: [Numpy-svn] [numpy/numpy] 5819d2: BUG: Raise immediate error in ctypes.load_library ... Message-ID: <515ae7dc3401c_558368a13c35944@hookshot-fe4-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5819d28c02e4331318ac05824921d457e48d3c00 https://github.com/numpy/numpy/commit/5819d28c02e4331318ac05824921d457e48d3c00 Author: Charles Harris Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: M numpy/ctypeslib.py Log Message: ----------- BUG: Raise immediate error in ctypes.load_library when library is bad. This is a fixup of PR #475 due to JeromeRoy. The problem addressed is that when multiple errors were encountered attempting to import a library file, only the last one was preserved. The proposed fix is to raise an error immediately when a file of the correct name fails to import, and raise a later error if no file is found but no errors are raised in the search. Closes #474, #475. Commit: 5b74363e020f90f09dd41916dfc749d56421b3fa https://github.com/numpy/numpy/commit/5b74363e020f90f09dd41916dfc749d56421b3fa Author: njsmith Date: 2013-04-02 (Tue, 02 Apr 2013) Changed paths: M numpy/ctypeslib.py Log Message: ----------- Merge pull request #3185 from charris/fix-pull-475 BUG: Raise immediate error in ctypes.load_library when library is bad. Compare: https://github.com/numpy/numpy/compare/134bcb005700...5b74363e020f From noreply at github.com Tue Apr 2 11:53:49 2013 From: noreply at github.com (GitHub) Date: Tue, 02 Apr 2013 08:53:49 -0700 Subject: [Numpy-svn] [numpy/numpy] d4b88c: 2to3: Use absolute imports. Message-ID: <515aff0d44a22_7d2e5b213866080@hookshot-fe4-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d4b88c1dbd6898fb6fcebc97f36b421999340f71 https://github.com/numpy/numpy/commit/d4b88c1dbd6898fb6fcebc97f36b421999340f71 Author: Charles Harris Date: 2013-03-28 (Thu, 28 Mar 2013) Changed paths: M doc/cdoc/numpyfilter.py M doc/cython/run_test.py M doc/example.py M doc/newdtype_example/example.py M doc/newdtype_example/floatint/__init__.py M doc/numpybook/comparison/ctypes/filter.py M doc/numpybook/comparison/ctypes/interface.py M doc/numpybook/comparison/timing.py M doc/numpybook/comparison/weave/filter.py M doc/numpybook/comparison/weave/inline.py M doc/numpybook/runcode.py M doc/postprocess.py M doc/pyrex/run_test.py M doc/source/conf.py M doc/sphinxext/numpydoc/comment_eater.py M doc/sphinxext/numpydoc/compiler_unparse.py M doc/sphinxext/numpydoc/docscrape.py M doc/sphinxext/numpydoc/docscrape_sphinx.py M doc/sphinxext/numpydoc/linkcode.py M doc/sphinxext/numpydoc/numpydoc.py M doc/sphinxext/numpydoc/phantom_import.py M doc/sphinxext/numpydoc/plot_directive.py M doc/sphinxext/numpydoc/tests/test_docscrape.py M doc/sphinxext/numpydoc/traitsdoc.py M doc/summarize.py M doc/swig/test/testArray.py M doc/swig/test/testFarray.py M doc/swig/test/testFortran.py M doc/swig/test/testMatrix.py M doc/swig/test/testTensor.py M doc/swig/test/testVector.py M numpy/__init__.py M numpy/_import_tools.py M numpy/add_newdocs.py M numpy/build_utils/__init__.py M numpy/build_utils/common.py M numpy/build_utils/waf.py M numpy/compat/__init__.py M numpy/compat/_inspect.py M numpy/compat/py3k.py M numpy/core/__init__.py M numpy/core/_internal.py M numpy/core/_methods.py M numpy/core/arrayprint.py M numpy/core/code_generators/__init__.py M numpy/core/code_generators/cversions.py M numpy/core/code_generators/genapi.py M numpy/core/code_generators/numpy_api.py M numpy/core/code_generators/ufunc_docstrings.py M numpy/core/defchararray.py M numpy/core/fromnumeric.py M numpy/core/function_base.py M numpy/core/getlimits.py M numpy/core/info.py M numpy/core/machar.py M numpy/core/memmap.py M numpy/core/numeric.py M numpy/core/numerictypes.py M numpy/core/records.py M numpy/core/setup_common.py M numpy/core/shape_base.py M numpy/core/src/multiarray/testcalcs.py M numpy/core/tests/test_api.py M numpy/core/tests/test_arrayprint.py M numpy/core/tests/test_blasdot.py M numpy/core/tests/test_datetime.py M numpy/core/tests/test_defchararray.py M numpy/core/tests/test_deprecations.py M numpy/core/tests/test_dtype.py M numpy/core/tests/test_einsum.py M numpy/core/tests/test_errstate.py M numpy/core/tests/test_function_base.py M numpy/core/tests/test_getlimits.py M numpy/core/tests/test_half.py M numpy/core/tests/test_indexerrors.py M numpy/core/tests/test_indexing.py M numpy/core/tests/test_item_selection.py M numpy/core/tests/test_machar.py M numpy/core/tests/test_memmap.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_multiarray_assignment.py M numpy/core/tests/test_nditer.py M numpy/core/tests/test_numeric.py M numpy/core/tests/test_numerictypes.py M numpy/core/tests/test_print.py M numpy/core/tests/test_records.py M numpy/core/tests/test_regression.py M numpy/core/tests/test_scalarmath.py M numpy/core/tests/test_scalarprint.py M numpy/core/tests/test_shape_base.py M numpy/core/tests/test_ufunc.py M numpy/core/tests/test_umath.py M numpy/core/tests/test_umath_complex.py M numpy/core/tests/test_unicode.py M numpy/ctypeslib.py M numpy/distutils/__init__.py M numpy/distutils/__version__.py M numpy/distutils/ccompiler.py M numpy/distutils/command/__init__.py M numpy/distutils/command/autodist.py M numpy/distutils/command/bdist_rpm.py M numpy/distutils/command/build.py M numpy/distutils/command/build_clib.py M numpy/distutils/command/build_ext.py M numpy/distutils/command/build_py.py M numpy/distutils/command/build_scripts.py M numpy/distutils/command/build_src.py M numpy/distutils/command/config.py M numpy/distutils/command/config_compiler.py M numpy/distutils/command/develop.py M numpy/distutils/command/egg_info.py M numpy/distutils/command/install.py M numpy/distutils/command/install_clib.py M numpy/distutils/command/install_data.py M numpy/distutils/command/install_headers.py M numpy/distutils/command/sdist.py M numpy/distutils/compat.py M numpy/distutils/conv_template.py M numpy/distutils/core.py M numpy/distutils/cpuinfo.py M numpy/distutils/environment.py M numpy/distutils/exec_command.py M numpy/distutils/extension.py M numpy/distutils/fcompiler/__init__.py M numpy/distutils/fcompiler/absoft.py M numpy/distutils/fcompiler/compaq.py M numpy/distutils/fcompiler/g95.py M numpy/distutils/fcompiler/gnu.py M numpy/distutils/fcompiler/hpux.py M numpy/distutils/fcompiler/ibm.py M numpy/distutils/fcompiler/intel.py M numpy/distutils/fcompiler/lahey.py M numpy/distutils/fcompiler/mips.py M numpy/distutils/fcompiler/nag.py M numpy/distutils/fcompiler/none.py M numpy/distutils/fcompiler/pathf95.py M numpy/distutils/fcompiler/pg.py M numpy/distutils/fcompiler/sun.py M numpy/distutils/fcompiler/vast.py M numpy/distutils/from_template.py M numpy/distutils/info.py M numpy/distutils/intelccompiler.py M numpy/distutils/lib2def.py M numpy/distutils/line_endings.py M numpy/distutils/log.py M numpy/distutils/mingw32ccompiler.py M numpy/distutils/misc_util.py M numpy/distutils/npy_pkg_config.py M numpy/distutils/numpy_distribution.py M numpy/distutils/pathccompiler.py M numpy/distutils/system_info.py M numpy/distutils/tests/f2py_ext/__init__.py M numpy/distutils/tests/f2py_ext/tests/test_fib2.py M numpy/distutils/tests/f2py_f90_ext/__init__.py M numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py M numpy/distutils/tests/gen_ext/__init__.py M numpy/distutils/tests/gen_ext/tests/test_fib3.py M numpy/distutils/tests/pyrex_ext/__init__.py M numpy/distutils/tests/pyrex_ext/tests/test_primes.py M numpy/distutils/tests/swig_ext/__init__.py M numpy/distutils/tests/swig_ext/tests/test_example.py M numpy/distutils/tests/swig_ext/tests/test_example2.py M numpy/distutils/tests/test_fcompiler_gnu.py M numpy/distutils/tests/test_fcompiler_intel.py M numpy/distutils/tests/test_misc_util.py M numpy/distutils/tests/test_npy_pkg_config.py M numpy/distutils/unixccompiler.py M numpy/doc/__init__.py M numpy/doc/basics.py M numpy/doc/broadcasting.py M numpy/doc/byteswapping.py M numpy/doc/constants.py M numpy/doc/creation.py M numpy/doc/glossary.py M numpy/doc/howtofind.py M numpy/doc/indexing.py M numpy/doc/internals.py M numpy/doc/io.py M numpy/doc/jargon.py M numpy/doc/methods_vs_functions.py M numpy/doc/misc.py M numpy/doc/performance.py M numpy/doc/structured_arrays.py M numpy/doc/subclassing.py M numpy/doc/ufuncs.py M numpy/dual.py M numpy/f2py/__init__.py M numpy/f2py/__version__.py M numpy/f2py/auxfuncs.py M numpy/f2py/capi_maps.py M numpy/f2py/cb_rules.py M numpy/f2py/cfuncs.py M numpy/f2py/common_rules.py M numpy/f2py/crackfortran.py M numpy/f2py/diagnose.py M numpy/f2py/doc/collectinput.py M numpy/f2py/docs/pytest.py M numpy/f2py/docs/usersguide/setup_example.py M numpy/f2py/f2py2e.py M numpy/f2py/f2py_testing.py M numpy/f2py/f90mod_rules.py M numpy/f2py/func2subr.py M numpy/f2py/info.py M numpy/f2py/rules.py M numpy/f2py/tests/test_array_from_pyobj.py M numpy/f2py/tests/test_assumed_shape.py M numpy/f2py/tests/test_callback.py M numpy/f2py/tests/test_kind.py M numpy/f2py/tests/test_mixed.py M numpy/f2py/tests/test_return_character.py M numpy/f2py/tests/test_return_complex.py M numpy/f2py/tests/test_return_integer.py M numpy/f2py/tests/test_return_logical.py M numpy/f2py/tests/test_return_real.py M numpy/f2py/tests/test_size.py M numpy/f2py/tests/util.py M numpy/f2py/use_rules.py M numpy/fft/__init__.py M numpy/fft/fftpack.py M numpy/fft/helper.py M numpy/fft/info.py M numpy/fft/tests/test_fftpack.py M numpy/fft/tests/test_helper.py M numpy/lib/__init__.py M numpy/lib/_datasource.py M numpy/lib/_iotools.py M numpy/lib/arraypad.py M numpy/lib/arraysetops.py M numpy/lib/arrayterator.py M numpy/lib/financial.py M numpy/lib/format.py M numpy/lib/function_base.py M numpy/lib/index_tricks.py M numpy/lib/info.py M numpy/lib/npyio.py M numpy/lib/polynomial.py M numpy/lib/recfunctions.py M numpy/lib/scimath.py M numpy/lib/shape_base.py M numpy/lib/stride_tricks.py M numpy/lib/tests/test__datasource.py M numpy/lib/tests/test__iotools.py M numpy/lib/tests/test_arraypad.py M numpy/lib/tests/test_arraysetops.py M numpy/lib/tests/test_arrayterator.py M numpy/lib/tests/test_financial.py M numpy/lib/tests/test_format.py M numpy/lib/tests/test_function_base.py M numpy/lib/tests/test_index_tricks.py M numpy/lib/tests/test_io.py M numpy/lib/tests/test_polynomial.py M numpy/lib/tests/test_recfunctions.py M numpy/lib/tests/test_regression.py M numpy/lib/tests/test_shape_base.py M numpy/lib/tests/test_stride_tricks.py M numpy/lib/tests/test_twodim_base.py M numpy/lib/tests/test_type_check.py M numpy/lib/tests/test_ufunclike.py M numpy/lib/tests/test_utils.py M numpy/lib/twodim_base.py M numpy/lib/type_check.py M numpy/lib/ufunclike.py M numpy/lib/user_array.py M numpy/lib/utils.py M numpy/linalg/__init__.py M numpy/linalg/info.py M numpy/linalg/lapack_lite/clapack_scrub.py M numpy/linalg/lapack_lite/fortran.py M numpy/linalg/lapack_lite/make_lite.py M numpy/linalg/linalg.py M numpy/linalg/tests/test_build.py M numpy/linalg/tests/test_linalg.py M numpy/linalg/tests/test_regression.py M numpy/ma/__init__.py M numpy/ma/bench.py M numpy/ma/core.py M numpy/ma/extras.py M numpy/ma/mrecords.py M numpy/ma/tests/test_core.py M numpy/ma/tests/test_extras.py M numpy/ma/tests/test_mrecords.py M numpy/ma/tests/test_old_ma.py M numpy/ma/tests/test_regression.py M numpy/ma/tests/test_subclassing.py M numpy/ma/testutils.py M numpy/ma/timer_comparison.py M numpy/ma/version.py M numpy/matlib.py M numpy/matrixlib/__init__.py M numpy/matrixlib/defmatrix.py M numpy/matrixlib/tests/test_defmatrix.py M numpy/matrixlib/tests/test_multiarray.py M numpy/matrixlib/tests/test_numeric.py M numpy/matrixlib/tests/test_regression.py M numpy/numarray/__init__.py M numpy/numarray/alter_code1.py M numpy/numarray/alter_code2.py M numpy/numarray/compat.py M numpy/numarray/convolve.py M numpy/numarray/fft.py M numpy/numarray/functions.py M numpy/numarray/image.py M numpy/numarray/linear_algebra.py M numpy/numarray/ma.py M numpy/numarray/matrix.py M numpy/numarray/mlab.py M numpy/numarray/nd_image.py M numpy/numarray/numerictypes.py M numpy/numarray/random_array.py M numpy/numarray/session.py M numpy/numarray/ufuncs.py M numpy/numarray/util.py M numpy/oldnumeric/__init__.py M numpy/oldnumeric/alter_code1.py M numpy/oldnumeric/alter_code2.py M numpy/oldnumeric/array_printer.py M numpy/oldnumeric/arrayfns.py M numpy/oldnumeric/compat.py M numpy/oldnumeric/fft.py M numpy/oldnumeric/fix_default_axis.py M numpy/oldnumeric/functions.py M numpy/oldnumeric/linear_algebra.py M numpy/oldnumeric/ma.py M numpy/oldnumeric/matrix.py M numpy/oldnumeric/misc.py M numpy/oldnumeric/mlab.py M numpy/oldnumeric/precision.py M numpy/oldnumeric/random_array.py M numpy/oldnumeric/rng.py M numpy/oldnumeric/rng_stats.py M numpy/oldnumeric/tests/test_oldnumeric.py M numpy/oldnumeric/tests/test_regression.py M numpy/oldnumeric/typeconv.py M numpy/oldnumeric/ufuncs.py M numpy/oldnumeric/user_array.py M numpy/polynomial/__init__.py M numpy/polynomial/chebyshev.py M numpy/polynomial/hermite.py M numpy/polynomial/hermite_e.py M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py M numpy/polynomial/polynomial.py M numpy/polynomial/polytemplate.py M numpy/polynomial/polyutils.py M numpy/polynomial/tests/test_chebyshev.py M numpy/polynomial/tests/test_classes.py M numpy/polynomial/tests/test_hermite.py M numpy/polynomial/tests/test_hermite_e.py M numpy/polynomial/tests/test_laguerre.py M numpy/polynomial/tests/test_legendre.py M numpy/polynomial/tests/test_polynomial.py M numpy/polynomial/tests/test_polyutils.py M numpy/polynomial/tests/test_printing.py M numpy/random/__init__.py M numpy/random/info.py M numpy/random/mtrand/generate_mtrand_c.py M numpy/random/tests/test_random.py M numpy/random/tests/test_regression.py M numpy/testing/__init__.py M numpy/testing/decorators.py M numpy/testing/noseclasses.py M numpy/testing/nosetester.py M numpy/testing/nulltester.py M numpy/testing/numpytest.py M numpy/testing/print_coercion_tables.py M numpy/testing/tests/test_decorators.py M numpy/testing/tests/test_doctesting.py M numpy/testing/tests/test_utils.py M numpy/testing/utils.py M numpy/tests/test_ctypeslib.py M numpy/tests/test_matlib.py M pavement.py M setupegg.py M tools/allocation_tracking/track_allocations.py M tools/c_coverage/c_coverage_report.py M tools/commitstats.py M tools/py3tool.py M tools/test-installed-numpy.py Log Message: ----------- 2to3: Use absolute imports. The new import `absolute_import` is added the `from __future__ import` statement and The 2to3 `import` fixer is run to make the imports compatible. There are several things that need to be dealt with to make this work. 1) Files meant to be run as scripts run in a different environment than files imported as part of a package, and so changes to those files need to be skipped. The affected script files are: * all setup.py files * numpy/core/code_generators/generate_umath.py * numpy/core/code_generators/generate_numpy_api.py * numpy/core/code_generators/generate_ufunc_api.py 2) Some imported modules are not available as they are created during the build process and consequently 2to3 is unable to handle them correctly. Files that import those modules need a bit of extra work. The affected files are: * core/__init__.py, * core/numeric.py, * core/_internal.py, * core/arrayprint.py, * core/fromnumeric.py, * numpy/__init__.py, * lib/npyio.py, * lib/function_base.py, * fft/fftpack.py, * random/__init__.py Closes #3172 Commit: 25ec6853e17e96448ce7d8f18eda2ef5290c2acf https://github.com/numpy/numpy/commit/25ec6853e17e96448ce7d8f18eda2ef5290c2acf Author: Charles Harris Date: 2013-03-28 (Thu, 28 Mar 2013) Changed paths: M doc/sphinxext/numpydoc/__init__.py M doc/sphinxext/numpydoc/tests/test_linkcode.py M doc/sphinxext/numpydoc/tests/test_phantom_import.py M doc/sphinxext/numpydoc/tests/test_plot_directive.py M doc/sphinxext/numpydoc/tests/test_traitsdoc.py Log Message: ----------- 2to3: Add `from __future__ import ...` to new files. The new files that came in when doc/sphinxext/numpydoc was restructured as a package with test stubs did not have `from __future__ import ...`. This fixes that omission. Commit: 670b12649e34164514fc4981d8fbacfadf1f389e https://github.com/numpy/numpy/commit/670b12649e34164514fc4981d8fbacfadf1f389e Author: Charles Harris Date: 2013-03-28 (Thu, 28 Mar 2013) Changed paths: M numpy/distutils/tests/test_exec_command.py M tools/osxbuild/build.py M tools/osxbuild/install_and_test.py M tools/win32build/build.py M tools/win32build/doall.py M tools/win32build/misc/x86analysis.py M tools/win32build/prepare_bootstrap.py Log Message: ----------- 2to3: Add `from __future__ import ...` to some files that were missed. With the exception of numpy/distutils/tests/test_exec_command.py, all of these files are script files in tools/osxbuild and tools/win32build. The import in the script files omits `absolute_import` as they are not part of a package. Commit: a939f2aa83e7d37d5e35e7c2a8c539c59f682598 https://github.com/numpy/numpy/commit/a939f2aa83e7d37d5e35e7c2a8c539c59f682598 Author: njsmith Date: 2013-04-02 (Tue, 02 Apr 2013) Changed paths: M doc/cdoc/numpyfilter.py M doc/cython/run_test.py M doc/example.py M doc/newdtype_example/example.py M doc/newdtype_example/floatint/__init__.py M doc/numpybook/comparison/ctypes/filter.py M doc/numpybook/comparison/ctypes/interface.py M doc/numpybook/comparison/timing.py M doc/numpybook/comparison/weave/filter.py M doc/numpybook/comparison/weave/inline.py M doc/numpybook/runcode.py M doc/postprocess.py M doc/pyrex/run_test.py M doc/source/conf.py M doc/sphinxext/numpydoc/__init__.py M doc/sphinxext/numpydoc/comment_eater.py M doc/sphinxext/numpydoc/compiler_unparse.py M doc/sphinxext/numpydoc/docscrape.py M doc/sphinxext/numpydoc/docscrape_sphinx.py M doc/sphinxext/numpydoc/linkcode.py M doc/sphinxext/numpydoc/numpydoc.py M doc/sphinxext/numpydoc/phantom_import.py M doc/sphinxext/numpydoc/plot_directive.py M doc/sphinxext/numpydoc/tests/test_docscrape.py M doc/sphinxext/numpydoc/tests/test_linkcode.py M doc/sphinxext/numpydoc/tests/test_phantom_import.py M doc/sphinxext/numpydoc/tests/test_plot_directive.py M doc/sphinxext/numpydoc/tests/test_traitsdoc.py M doc/sphinxext/numpydoc/traitsdoc.py M doc/summarize.py M doc/swig/test/testArray.py M doc/swig/test/testFarray.py M doc/swig/test/testFortran.py M doc/swig/test/testMatrix.py M doc/swig/test/testTensor.py M doc/swig/test/testVector.py M numpy/__init__.py M numpy/_import_tools.py M numpy/add_newdocs.py M numpy/build_utils/__init__.py M numpy/build_utils/common.py M numpy/build_utils/waf.py M numpy/compat/__init__.py M numpy/compat/_inspect.py M numpy/compat/py3k.py M numpy/core/__init__.py M numpy/core/_internal.py M numpy/core/_methods.py M numpy/core/arrayprint.py M numpy/core/code_generators/__init__.py M numpy/core/code_generators/cversions.py M numpy/core/code_generators/genapi.py M numpy/core/code_generators/numpy_api.py M numpy/core/code_generators/ufunc_docstrings.py M numpy/core/defchararray.py M numpy/core/fromnumeric.py M numpy/core/function_base.py M numpy/core/getlimits.py M numpy/core/info.py M numpy/core/machar.py M numpy/core/memmap.py M numpy/core/numeric.py M numpy/core/numerictypes.py M numpy/core/records.py M numpy/core/setup_common.py M numpy/core/shape_base.py M numpy/core/src/multiarray/testcalcs.py M numpy/core/tests/test_api.py M numpy/core/tests/test_arrayprint.py M numpy/core/tests/test_blasdot.py M numpy/core/tests/test_datetime.py M numpy/core/tests/test_defchararray.py M numpy/core/tests/test_deprecations.py M numpy/core/tests/test_dtype.py M numpy/core/tests/test_einsum.py M numpy/core/tests/test_errstate.py M numpy/core/tests/test_function_base.py M numpy/core/tests/test_getlimits.py M numpy/core/tests/test_half.py M numpy/core/tests/test_indexerrors.py M numpy/core/tests/test_indexing.py M numpy/core/tests/test_item_selection.py M numpy/core/tests/test_machar.py M numpy/core/tests/test_memmap.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_multiarray_assignment.py M numpy/core/tests/test_nditer.py M numpy/core/tests/test_numeric.py M numpy/core/tests/test_numerictypes.py M numpy/core/tests/test_print.py M numpy/core/tests/test_records.py M numpy/core/tests/test_regression.py M numpy/core/tests/test_scalarmath.py M numpy/core/tests/test_scalarprint.py M numpy/core/tests/test_shape_base.py M numpy/core/tests/test_ufunc.py M numpy/core/tests/test_umath.py M numpy/core/tests/test_umath_complex.py M numpy/core/tests/test_unicode.py M numpy/ctypeslib.py M numpy/distutils/__init__.py M numpy/distutils/__version__.py M numpy/distutils/ccompiler.py M numpy/distutils/command/__init__.py M numpy/distutils/command/autodist.py M numpy/distutils/command/bdist_rpm.py M numpy/distutils/command/build.py M numpy/distutils/command/build_clib.py M numpy/distutils/command/build_ext.py M numpy/distutils/command/build_py.py M numpy/distutils/command/build_scripts.py M numpy/distutils/command/build_src.py M numpy/distutils/command/config.py M numpy/distutils/command/config_compiler.py M numpy/distutils/command/develop.py M numpy/distutils/command/egg_info.py M numpy/distutils/command/install.py M numpy/distutils/command/install_clib.py M numpy/distutils/command/install_data.py M numpy/distutils/command/install_headers.py M numpy/distutils/command/sdist.py M numpy/distutils/compat.py M numpy/distutils/conv_template.py M numpy/distutils/core.py M numpy/distutils/cpuinfo.py M numpy/distutils/environment.py M numpy/distutils/exec_command.py M numpy/distutils/extension.py M numpy/distutils/fcompiler/__init__.py M numpy/distutils/fcompiler/absoft.py M numpy/distutils/fcompiler/compaq.py M numpy/distutils/fcompiler/g95.py M numpy/distutils/fcompiler/gnu.py M numpy/distutils/fcompiler/hpux.py M numpy/distutils/fcompiler/ibm.py M numpy/distutils/fcompiler/intel.py M numpy/distutils/fcompiler/lahey.py M numpy/distutils/fcompiler/mips.py M numpy/distutils/fcompiler/nag.py M numpy/distutils/fcompiler/none.py M numpy/distutils/fcompiler/pathf95.py M numpy/distutils/fcompiler/pg.py M numpy/distutils/fcompiler/sun.py M numpy/distutils/fcompiler/vast.py M numpy/distutils/from_template.py M numpy/distutils/info.py M numpy/distutils/intelccompiler.py M numpy/distutils/lib2def.py M numpy/distutils/line_endings.py M numpy/distutils/log.py M numpy/distutils/mingw32ccompiler.py M numpy/distutils/misc_util.py M numpy/distutils/npy_pkg_config.py M numpy/distutils/numpy_distribution.py M numpy/distutils/pathccompiler.py M numpy/distutils/system_info.py M numpy/distutils/tests/f2py_ext/__init__.py M numpy/distutils/tests/f2py_ext/tests/test_fib2.py M numpy/distutils/tests/f2py_f90_ext/__init__.py M numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py M numpy/distutils/tests/gen_ext/__init__.py M numpy/distutils/tests/gen_ext/tests/test_fib3.py M numpy/distutils/tests/pyrex_ext/__init__.py M numpy/distutils/tests/pyrex_ext/tests/test_primes.py M numpy/distutils/tests/swig_ext/__init__.py M numpy/distutils/tests/swig_ext/tests/test_example.py M numpy/distutils/tests/swig_ext/tests/test_example2.py M numpy/distutils/tests/test_exec_command.py M numpy/distutils/tests/test_fcompiler_gnu.py M numpy/distutils/tests/test_fcompiler_intel.py M numpy/distutils/tests/test_misc_util.py M numpy/distutils/tests/test_npy_pkg_config.py M numpy/distutils/unixccompiler.py M numpy/doc/__init__.py M numpy/doc/basics.py M numpy/doc/broadcasting.py M numpy/doc/byteswapping.py M numpy/doc/constants.py M numpy/doc/creation.py M numpy/doc/glossary.py M numpy/doc/howtofind.py M numpy/doc/indexing.py M numpy/doc/internals.py M numpy/doc/io.py M numpy/doc/jargon.py M numpy/doc/methods_vs_functions.py M numpy/doc/misc.py M numpy/doc/performance.py M numpy/doc/structured_arrays.py M numpy/doc/subclassing.py M numpy/doc/ufuncs.py M numpy/dual.py M numpy/f2py/__init__.py M numpy/f2py/__version__.py M numpy/f2py/auxfuncs.py M numpy/f2py/capi_maps.py M numpy/f2py/cb_rules.py M numpy/f2py/cfuncs.py M numpy/f2py/common_rules.py M numpy/f2py/crackfortran.py M numpy/f2py/diagnose.py M numpy/f2py/doc/collectinput.py M numpy/f2py/docs/pytest.py M numpy/f2py/docs/usersguide/setup_example.py M numpy/f2py/f2py2e.py M numpy/f2py/f2py_testing.py M numpy/f2py/f90mod_rules.py M numpy/f2py/func2subr.py M numpy/f2py/info.py M numpy/f2py/rules.py M numpy/f2py/tests/test_array_from_pyobj.py M numpy/f2py/tests/test_assumed_shape.py M numpy/f2py/tests/test_callback.py M numpy/f2py/tests/test_kind.py M numpy/f2py/tests/test_mixed.py M numpy/f2py/tests/test_return_character.py M numpy/f2py/tests/test_return_complex.py M numpy/f2py/tests/test_return_integer.py M numpy/f2py/tests/test_return_logical.py M numpy/f2py/tests/test_return_real.py M numpy/f2py/tests/test_size.py M numpy/f2py/tests/util.py M numpy/f2py/use_rules.py M numpy/fft/__init__.py M numpy/fft/fftpack.py M numpy/fft/helper.py M numpy/fft/info.py M numpy/fft/tests/test_fftpack.py M numpy/fft/tests/test_helper.py M numpy/lib/__init__.py M numpy/lib/_datasource.py M numpy/lib/_iotools.py M numpy/lib/arraypad.py M numpy/lib/arraysetops.py M numpy/lib/arrayterator.py M numpy/lib/financial.py M numpy/lib/format.py M numpy/lib/function_base.py M numpy/lib/index_tricks.py M numpy/lib/info.py M numpy/lib/npyio.py M numpy/lib/polynomial.py M numpy/lib/recfunctions.py M numpy/lib/scimath.py M numpy/lib/shape_base.py M numpy/lib/stride_tricks.py M numpy/lib/tests/test__datasource.py M numpy/lib/tests/test__iotools.py M numpy/lib/tests/test_arraypad.py M numpy/lib/tests/test_arraysetops.py M numpy/lib/tests/test_arrayterator.py M numpy/lib/tests/test_financial.py M numpy/lib/tests/test_format.py M numpy/lib/tests/test_function_base.py M numpy/lib/tests/test_index_tricks.py M numpy/lib/tests/test_io.py M numpy/lib/tests/test_polynomial.py M numpy/lib/tests/test_recfunctions.py M numpy/lib/tests/test_regression.py M numpy/lib/tests/test_shape_base.py M numpy/lib/tests/test_stride_tricks.py M numpy/lib/tests/test_twodim_base.py M numpy/lib/tests/test_type_check.py M numpy/lib/tests/test_ufunclike.py M numpy/lib/tests/test_utils.py M numpy/lib/twodim_base.py M numpy/lib/type_check.py M numpy/lib/ufunclike.py M numpy/lib/user_array.py M numpy/lib/utils.py M numpy/linalg/__init__.py M numpy/linalg/info.py M numpy/linalg/lapack_lite/clapack_scrub.py M numpy/linalg/lapack_lite/fortran.py M numpy/linalg/lapack_lite/make_lite.py M numpy/linalg/linalg.py M numpy/linalg/tests/test_build.py M numpy/linalg/tests/test_linalg.py M numpy/linalg/tests/test_regression.py M numpy/ma/__init__.py M numpy/ma/bench.py M numpy/ma/core.py M numpy/ma/extras.py M numpy/ma/mrecords.py M numpy/ma/tests/test_core.py M numpy/ma/tests/test_extras.py M numpy/ma/tests/test_mrecords.py M numpy/ma/tests/test_old_ma.py M numpy/ma/tests/test_regression.py M numpy/ma/tests/test_subclassing.py M numpy/ma/testutils.py M numpy/ma/timer_comparison.py M numpy/ma/version.py M numpy/matlib.py M numpy/matrixlib/__init__.py M numpy/matrixlib/defmatrix.py M numpy/matrixlib/tests/test_defmatrix.py M numpy/matrixlib/tests/test_multiarray.py M numpy/matrixlib/tests/test_numeric.py M numpy/matrixlib/tests/test_regression.py M numpy/numarray/__init__.py M numpy/numarray/alter_code1.py M numpy/numarray/alter_code2.py M numpy/numarray/compat.py M numpy/numarray/convolve.py M numpy/numarray/fft.py M numpy/numarray/functions.py M numpy/numarray/image.py M numpy/numarray/linear_algebra.py M numpy/numarray/ma.py M numpy/numarray/matrix.py M numpy/numarray/mlab.py M numpy/numarray/nd_image.py M numpy/numarray/numerictypes.py M numpy/numarray/random_array.py M numpy/numarray/session.py M numpy/numarray/ufuncs.py M numpy/numarray/util.py M numpy/oldnumeric/__init__.py M numpy/oldnumeric/alter_code1.py M numpy/oldnumeric/alter_code2.py M numpy/oldnumeric/array_printer.py M numpy/oldnumeric/arrayfns.py M numpy/oldnumeric/compat.py M numpy/oldnumeric/fft.py M numpy/oldnumeric/fix_default_axis.py M numpy/oldnumeric/functions.py M numpy/oldnumeric/linear_algebra.py M numpy/oldnumeric/ma.py M numpy/oldnumeric/matrix.py M numpy/oldnumeric/misc.py M numpy/oldnumeric/mlab.py M numpy/oldnumeric/precision.py M numpy/oldnumeric/random_array.py M numpy/oldnumeric/rng.py M numpy/oldnumeric/rng_stats.py M numpy/oldnumeric/tests/test_oldnumeric.py M numpy/oldnumeric/tests/test_regression.py M numpy/oldnumeric/typeconv.py M numpy/oldnumeric/ufuncs.py M numpy/oldnumeric/user_array.py M numpy/polynomial/__init__.py M numpy/polynomial/chebyshev.py M numpy/polynomial/hermite.py M numpy/polynomial/hermite_e.py M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py M numpy/polynomial/polynomial.py M numpy/polynomial/polytemplate.py M numpy/polynomial/polyutils.py M numpy/polynomial/tests/test_chebyshev.py M numpy/polynomial/tests/test_classes.py M numpy/polynomial/tests/test_hermite.py M numpy/polynomial/tests/test_hermite_e.py M numpy/polynomial/tests/test_laguerre.py M numpy/polynomial/tests/test_legendre.py M numpy/polynomial/tests/test_polynomial.py M numpy/polynomial/tests/test_polyutils.py M numpy/polynomial/tests/test_printing.py M numpy/random/__init__.py M numpy/random/info.py M numpy/random/mtrand/generate_mtrand_c.py M numpy/random/tests/test_random.py M numpy/random/tests/test_regression.py M numpy/testing/__init__.py M numpy/testing/decorators.py M numpy/testing/noseclasses.py M numpy/testing/nosetester.py M numpy/testing/nulltester.py M numpy/testing/numpytest.py M numpy/testing/print_coercion_tables.py M numpy/testing/tests/test_decorators.py M numpy/testing/tests/test_doctesting.py M numpy/testing/tests/test_utils.py M numpy/testing/utils.py M numpy/tests/test_ctypeslib.py M numpy/tests/test_matlib.py M pavement.py M setupegg.py M tools/allocation_tracking/track_allocations.py M tools/c_coverage/c_coverage_report.py M tools/commitstats.py M tools/osxbuild/build.py M tools/osxbuild/install_and_test.py M tools/py3tool.py M tools/test-installed-numpy.py M tools/win32build/build.py M tools/win32build/doall.py M tools/win32build/misc/x86analysis.py M tools/win32build/prepare_bootstrap.py Log Message: ----------- Merge pull request #3178 from charris/2to3-apply-import-fixer 2to3 apply import fixer Compare: https://github.com/numpy/numpy/compare/5b74363e020f...a939f2aa83e7 From noreply at github.com Wed Apr 3 15:05:36 2013 From: noreply at github.com (GitHub) Date: Wed, 03 Apr 2013 12:05:36 -0700 Subject: [Numpy-svn] [numpy/numpy] 79d22d: BLD: Add NPY_RELAXED_STRIDES_CHECKING flag Message-ID: <515c7d805d1a4_624247912c42763@hookshot-fe3-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 79d22dcef7947347660cbb953cb54ee3b38822f5 https://github.com/numpy/numpy/commit/79d22dcef7947347660cbb953cb54ee3b38822f5 Author: Sebastian Berg Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: M numpy/core/bscript M numpy/core/setup.py Log Message: ----------- BLD: Add NPY_RELAXED_STRIDES_CHECKING flag This flag will toggle to a new definition for the contiguous flags where only the memory layout is forced to be correct. As a particular example this means that np.ones((3,1)) can be both C and F-Contiguous and its stride[-1] can be arbitrary but the array still contiguous. The flag will also make most new arrays be created with MAX_INTP as stride so that unsafe usage of the stride will surface more commonly. Commit: 3a4ed02bca07d0995aedc8846b7aeac7af3bf310 https://github.com/numpy/numpy/commit/3a4ed02bca07d0995aedc8846b7aeac7af3bf310 Author: Sebastian Berg Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: M numpy/core/src/multiarray/common.c Log Message: ----------- ENH: Relax aligned flag for shape[i] <= 1 In this case, either the dimensions stride will never be used to access an element, so that it does not matter to the data alignment, or the array has a size of 0 and is thus never unaligned. Relaxed align flag is only active if NPY_RELAXED_STRIDES_CHECKING was set during compile time. Commit: 7af1c6701673187b7d895b7646204d774bffc557 https://github.com/numpy/numpy/commit/7af1c6701673187b7d895b7646204d774bffc557 Author: Sebastian Berg Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/flagsobject.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/shape.c M numpy/core/tests/test_api.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_regression.py Log Message: ----------- API: Implement new flags API with NPY_RELAXED_STRIDES_CHECKING This largly reverts the changes to the flags setting api making the newer preferable unsafe flags setting available through the NPY_RELAXED_STRIDES_CHECKING eviroment variable. This variable is meant for testing if code will stop working when the flags definition is changed. The old definition is modified in some details to previously to enforce safer strides (which was not the case before). This means that ndim==1 size==1 arrays are not necessarily considered contiguous. Also empty arrays are not considered contiguous in some cases that were contiguous before, and the rule that an array can only be both C and F-contiguous if it is one (or zero) dimensional is relaxed, as it is incorrect for size <= 1 arrays. Commit: 507b09e523e11610ea7f9bf3350b2258120ab0d2 https://github.com/numpy/numpy/commit/507b09e523e11610ea7f9bf3350b2258120ab0d2 Author: Sebastian Berg Date: 2013-04-02 (Tue, 02 Apr 2013) Changed paths: M .travis.yml M tools/test-installed-numpy.py Log Message: ----------- TST: Add NPY_RELAXED_STRIDES_CHECKING to Travis Commit: 961a28f828fd7075af1e548a294c1443fdf4a215 https://github.com/numpy/numpy/commit/961a28f828fd7075af1e548a294c1443fdf4a215 Author: njsmith Date: 2013-04-03 (Wed, 03 Apr 2013) Changed paths: M .travis.yml M numpy/core/bscript M numpy/core/include/numpy/ndarraytypes.h M numpy/core/setup.py M numpy/core/src/multiarray/common.c M numpy/core/src/multiarray/ctors.c M numpy/core/src/multiarray/flagsobject.c M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/src/multiarray/shape.c M numpy/core/tests/test_api.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_regression.py M tools/test-installed-numpy.py Log Message: ----------- Merge pull request #3162 from seberg/unsafe-strides Revert changes to contiguous flags definition while creating NPY_TEST_UNSAFE_STRIDES Compare: https://github.com/numpy/numpy/compare/a939f2aa83e7...961a28f828fd From noreply at github.com Wed Apr 3 19:02:40 2013 From: noreply at github.com (GitHub) Date: Wed, 03 Apr 2013 16:02:40 -0700 Subject: [Numpy-svn] [numpy/numpy] a3e883: DOC: Used regex to find colons missing spaces whic... Message-ID: <515cb510e0a5e_2d58aa512c490d0@hookshot-fe6-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a3e883ac7a3ae5de88455d782752045464fe9f07 https://github.com/numpy/numpy/commit/a3e883ac7a3ae5de88455d782752045464fe9f07 Author: endolith Date: 2012-09-26 (Wed, 26 Sep 2012) Changed paths: M doc/sphinxext/tests/test_docscrape.py M numpy/add_newdocs.py M numpy/build_utils/common.py M numpy/core/code_generators/generate_umath.py M numpy/core/code_generators/ufunc_docstrings.py M numpy/core/fromnumeric.py M numpy/core/numeric.py M numpy/core/setup_common.py M numpy/distutils/command/config.py M numpy/distutils/mingw32ccompiler.py M numpy/distutils/misc_util.py M numpy/lib/arraypad.py M numpy/lib/function_base.py M numpy/lib/index_tricks.py M numpy/lib/shape_base.py M numpy/lib/utils.py M numpy/ma/core.py M numpy/matrixlib/defmatrix.py M numpy/polynomial/chebyshev.py M numpy/polynomial/hermite.py M numpy/polynomial/hermite_e.py M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py M numpy/polynomial/polynomial.py M numpy/random/mtrand/mtrand.pyx M numpy/testing/utils.py Log Message: ----------- DOC: Used regex to find colons missing spaces which render wrong online, also other spacing or formatting mistakes Commit: 653a6fd443c237842d7a7069d929fb2892dbfe85 https://github.com/numpy/numpy/commit/653a6fd443c237842d7a7069d929fb2892dbfe85 Author: endolith Date: 2013-03-19 (Tue, 19 Mar 2013) Changed paths: M doc/sphinxext/numpydoc/tests/test_docscrape.py M numpy/add_newdocs.py M numpy/build_utils/common.py M numpy/core/code_generators/generate_umath.py M numpy/core/code_generators/ufunc_docstrings.py M numpy/core/fromnumeric.py M numpy/core/setup_common.py M numpy/distutils/command/config.py M numpy/distutils/mingw32ccompiler.py M numpy/distutils/misc_util.py M numpy/lib/arraypad.py M numpy/lib/function_base.py M numpy/lib/index_tricks.py M numpy/lib/shape_base.py M numpy/lib/utils.py M numpy/ma/core.py M numpy/matrixlib/defmatrix.py M numpy/polynomial/chebyshev.py M numpy/polynomial/hermite.py M numpy/polynomial/hermite_e.py M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py M numpy/polynomial/polynomial.py M numpy/random/mtrand/mtrand.pyx M numpy/testing/utils.py Log Message: ----------- DOC: Used regex to find colons missing spaces which render wrong online, also other spacing or formatting mistakes Commit: 0d35127755ba6812e722a311bfab5e6523c444bb https://github.com/numpy/numpy/commit/0d35127755ba6812e722a311bfab5e6523c444bb Author: endolith Date: 2013-03-19 (Tue, 19 Mar 2013) Changed paths: M numpy/core/arrayprint.py M numpy/lib/_iotools.py M numpy/lib/format.py M numpy/lib/npyio.py M numpy/lib/polynomial.py M numpy/ma/core.py M numpy/ma/extras.py M numpy/polynomial/polyutils.py Log Message: ----------- DOC: regex-assisted fixes of definition list formatting Commit: 3830fcc99443cd479d4dd3fea5217c75396f9f3f https://github.com/numpy/numpy/commit/3830fcc99443cd479d4dd3fea5217c75396f9f3f Author: endolith Date: 2013-03-19 (Tue, 19 Mar 2013) Log Message: ----------- merge conflict Commit: ca77e31947b74feded3d69a282e638fa2e9ebf7c https://github.com/numpy/numpy/commit/ca77e31947b74feded3d69a282e638fa2e9ebf7c Author: Charles Harris Date: 2013-04-03 (Wed, 03 Apr 2013) Changed paths: M doc/sphinxext/numpydoc/tests/test_docscrape.py M numpy/add_newdocs.py M numpy/build_utils/common.py M numpy/core/arrayprint.py M numpy/core/code_generators/generate_umath.py M numpy/core/code_generators/ufunc_docstrings.py M numpy/core/fromnumeric.py M numpy/core/setup_common.py M numpy/distutils/command/config.py M numpy/distutils/mingw32ccompiler.py M numpy/distutils/misc_util.py M numpy/lib/_iotools.py M numpy/lib/arraypad.py M numpy/lib/format.py M numpy/lib/function_base.py M numpy/lib/index_tricks.py M numpy/lib/npyio.py M numpy/lib/polynomial.py M numpy/lib/shape_base.py M numpy/lib/utils.py M numpy/ma/core.py M numpy/ma/extras.py M numpy/matrixlib/defmatrix.py M numpy/polynomial/chebyshev.py M numpy/polynomial/hermite.py M numpy/polynomial/hermite_e.py M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py M numpy/polynomial/polynomial.py M numpy/polynomial/polyutils.py M numpy/random/mtrand/mtrand.pyx M numpy/testing/utils.py Log Message: ----------- Merge pull request #460 from endolith/regex_formatting DOC: Formatting fixes using regex Compare: https://github.com/numpy/numpy/compare/961a28f828fd...ca77e31947b7 From noreply at github.com Thu Apr 4 14:27:02 2013 From: noreply at github.com (GitHub) Date: Thu, 04 Apr 2013 11:27:02 -0700 Subject: [Numpy-svn] [numpy/numpy] e9dfb3: ENH: Add `raw`, `reduced`, `complete` modes to qr ... Message-ID: <515dc5f6af3d3_7041121013c36799@hookshot-fe5-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: e9dfb3bc760088fa50e14aed363041a7aac6aa29 https://github.com/numpy/numpy/commit/e9dfb3bc760088fa50e14aed363041a7aac6aa29 Author: Charles Harris Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- ENH: Add `raw`, `reduced`, `complete` modes to qr factorization. If K = min(M, N) where the matrix to be factored has dimensions MxN, then 'reduced' : returns q, r with dimensions (M, K), (K, N) (default) 'complete' : returns q, r with dimensions (M, M), (M, N) 'r' : returns r only with dimensions (K, N) 'raw' : returns h, tau with dimensions (N, M), (K,) 'full' : alias of 'reduced', deprecated 'economic' : returns h from 'raw', deprecated. The options 'reduced', 'complete, and 'raw' are new. The default is 'reduced' and to maintain backward compatibility with earlier versions of numpy both it and the old default 'full' can be omitted. Note that array `h` returned in 'raw' mode is transposed for calling Fortran. Both the 'full' and 'economic' modes are deprecated. For backwards compatibility the modes 'full', 'economic' may be passed using only the first letter but all others must be spelled out. Commit: d0b6a7a48e4662b3c2788d541b06ad5d46a2f177 https://github.com/numpy/numpy/commit/d0b6a7a48e4662b3c2788d541b06ad5d46a2f177 Author: Charles Harris Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: A numpy/linalg/tests/test_deprecations.py M numpy/linalg/tests/test_linalg.py Log Message: ----------- TST: Add more tests for qr factorization. The new tests cover the new modes 'complete' and 'raw'. The testing of the 'reduced', aka 'full' mode is improved and tests are added for the deprecation of the 'full' and 'economic' modes. A new file `numpy/linalg/tests/test_deprecations.py` was added for the deprecation tests. Commit: 7394fa6344aeea1bf941af0869f9a78c9e017c7c https://github.com/numpy/numpy/commit/7394fa6344aeea1bf941af0869f9a78c9e017c7c Author: Charles Harris Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: M doc/release/1.8.0-notes.rst Log Message: ----------- DOC: Document the new qr modes in the 1.8 release notes. Commit: d31067827d01966c3923ed140b997f6796424f93 https://github.com/numpy/numpy/commit/d31067827d01966c3923ed140b997f6796424f93 Author: Charles Harris Date: 2013-04-04 (Thu, 04 Apr 2013) Changed paths: M doc/release/1.8.0-notes.rst M numpy/linalg/linalg.py A numpy/linalg/tests/test_deprecations.py M numpy/linalg/tests/test_linalg.py Log Message: ----------- Merge pull request #2965 from charris/fix-qr-mode Fix qr mode Compare: https://github.com/numpy/numpy/compare/ca77e31947b7...d31067827d01 From noreply at github.com Fri Apr 5 18:00:10 2013 From: noreply at github.com (GitHub) Date: Fri, 05 Apr 2013 15:00:10 -0700 Subject: [Numpy-svn] [numpy/numpy] 686905: MAINT: Fix release notes formatting. Message-ID: <515f496a81620_1a92d6c130498df@hookshot-fe6-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 686905399753267f4447daa5a0bff8ff49098fa0 https://github.com/numpy/numpy/commit/686905399753267f4447daa5a0bff8ff49098fa0 Author: Charles Harris Date: 2013-04-04 (Thu, 04 Apr 2013) Changed paths: M doc/release/1.3.0-notes.rst M doc/release/1.4.0-notes.rst M doc/release/1.5.0-notes.rst M doc/release/1.6.0-notes.rst M doc/release/1.6.1-notes.rst M doc/release/1.6.2-notes.rst M doc/release/1.7.0-notes.rst M doc/release/1.8.0-notes.rst Log Message: ----------- MAINT: Fix release notes formatting. Sphinx was complaining about the title/heading hierarchy. This fixes those complaints. Commit: 6d2665626e40f346bb5af8d780579f5a429ff9ba https://github.com/numpy/numpy/commit/6d2665626e40f346bb5af8d780579f5a429ff9ba Author: njsmith Date: 2013-04-05 (Fri, 05 Apr 2013) Changed paths: M doc/release/1.3.0-notes.rst M doc/release/1.4.0-notes.rst M doc/release/1.5.0-notes.rst M doc/release/1.6.0-notes.rst M doc/release/1.6.1-notes.rst M doc/release/1.6.2-notes.rst M doc/release/1.7.0-notes.rst M doc/release/1.8.0-notes.rst Log Message: ----------- Merge pull request #3197 from charris/fix-release-notes-formatting MAINT: Fix release notes formatting. Compare: https://github.com/numpy/numpy/compare/d31067827d01...6d2665626e40 From noreply at github.com Sat Apr 6 10:17:46 2013 From: noreply at github.com (GitHub) Date: Sat, 06 Apr 2013 07:17:46 -0700 Subject: [Numpy-svn] [numpy/numpy] 190f7d: MAINT: Replace xrange by range. Message-ID: <51602e8a19716_55f1110812c1311b@hookshot-fe6-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 190f7df6dff4f06b5d61e04ab375185089fc91dd https://github.com/numpy/numpy/commit/190f7df6dff4f06b5d61e04ab375185089fc91dd Author: Charles Harris Date: 2013-04-06 (Sat, 06 Apr 2013) Changed paths: M numpy/core/tests/test_nditer.py Log Message: ----------- MAINT: Replace xrange by range. A new use of xrange wriggled it's way in, this replaces it with range for python3 compatibility. From noreply at github.com Sat Apr 6 10:40:30 2013 From: noreply at github.com (GitHub) Date: Sat, 06 Apr 2013 07:40:30 -0700 Subject: [Numpy-svn] [numpy/numpy] 129ae0: [BLD] Run 'full' test suite on Travis, including '... Message-ID: <516033deaf29f_d06812130926d0@hookshot-fe1-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 129ae08a8a0ea7393963a5f221832ad1de8bd49f https://github.com/numpy/numpy/commit/129ae08a8a0ea7393963a5f221832ad1de8bd49f Author: Nathaniel J. Smith Date: 2013-04-06 (Sat, 06 Apr 2013) Changed paths: M .travis.yml Log Message: ----------- [BLD] Run 'full' test suite on Travis, including 'slow' tests There's no reason *not* to run the full test suite on Travis, so long as we fit in under the time limit. And no way to find out if we fit under the time limit except to try ;-). Commit: 3c8fc14665548c71a9cd144b2e16d9309a92e255 https://github.com/numpy/numpy/commit/3c8fc14665548c71a9cd144b2e16d9309a92e255 Author: Charles Harris Date: 2013-04-06 (Sat, 06 Apr 2013) Changed paths: M .travis.yml Log Message: ----------- Merge pull request #3200 from njsmith/travis-full-tests [BLD] Run 'full' test suite on Travis, including 'slow' tests Compare: https://github.com/numpy/numpy/compare/190f7df6dff4...3c8fc1466554 From noreply at github.com Sat Apr 6 10:42:11 2013 From: noreply at github.com (GitHub) Date: Sat, 06 Apr 2013 07:42:11 -0700 Subject: [Numpy-svn] [numpy/numpy] 09a52e: 2to3: Apply `imports` fixer. Message-ID: <5160344346444_11108121309260@hookshot-fe1-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 09a52ed47bb26498c97a579ce1147861df696d84 https://github.com/numpy/numpy/commit/09a52ed47bb26498c97a579ce1147861df696d84 Author: Charles Harris Date: 2013-04-02 (Tue, 02 Apr 2013) Changed paths: M doc/cdoc/numpyfilter.py M doc/numpybook/runcode.py M doc/sphinxext/numpydoc/comment_eater.py M doc/sphinxext/numpydoc/compiler_unparse.py M doc/sphinxext/numpydoc/docscrape.py M doc/sphinxext/numpydoc/plot_directive.py M numpy/__init__.py M numpy/core/__init__.py M numpy/core/numeric.py M numpy/core/numerictypes.py M numpy/core/records.py M numpy/core/setup.py M numpy/core/tests/test_print.py M numpy/core/tests/test_regression.py M numpy/distutils/cpuinfo.py M numpy/distutils/mingw32ccompiler.py M numpy/distutils/misc_util.py M numpy/distutils/npy_pkg_config.py M numpy/distutils/system_info.py M numpy/distutils/tests/test_exec_command.py M numpy/f2py/__init__.py M numpy/f2py/doc/collectinput.py M numpy/lib/_datasource.py M numpy/lib/_iotools.py M numpy/lib/format.py M numpy/lib/npyio.py M numpy/lib/tests/test__datasource.py M numpy/lib/tests/test__iotools.py M numpy/lib/tests/test_format.py M numpy/lib/tests/test_io.py M numpy/lib/tests/test_regression.py M numpy/lib/tests/test_utils.py M numpy/lib/utils.py M numpy/linalg/lapack_lite/clapack_scrub.py M numpy/ma/core.py M numpy/ma/tests/test_core.py M numpy/ma/tests/test_mrecords.py M numpy/numarray/functions.py M numpy/oldnumeric/compat.py M numpy/oldnumeric/misc.py M numpy/testing/utils.py M setup.py M tools/py3tool.py M tools/win32build/build.py Log Message: ----------- 2to3: Apply `imports` fixer. The `imports` fixer deals with the standard packages that have been renamed, removed, or methods that have moved. cPickle -- removed, use pickle commands -- removed, getoutput, getstatusoutput moved to subprocess urlparse -- removed, urlparse moved to urllib.parse cStringIO -- removed, use StringIO or io.StringIO copy_reg -- renamed copyreg _winreg -- renamed winreg ConfigParser -- renamed configparser __builtin__ -- renamed builtins In the case of `cPickle`, it is imported as `pickle` when python < 3 and performance may be a consideration, but otherwise plain old `pickle` is used. Dealing with `StringIO` is a bit tricky. There is an `io.StringIO` function in the `io` module, available since Python 2.6, but it expects unicode whereas `StringIO.StringIO` expects ascii. The Python 3 equivalent is then `io.BytesIO`. What I have done here is used BytesIO for anything that is emulating a file for testing purposes. That is more explicit than using a redefined StringIO as was done before we dropped support for Python 2.4 and 2.5. Closes #3180. Commit: 4394515cd5632a7f110993ff75033d407d10861d https://github.com/numpy/numpy/commit/4394515cd5632a7f110993ff75033d407d10861d Author: Charles Harris Date: 2013-04-02 (Tue, 02 Apr 2013) Changed paths: M doc/cdoc/numpyfilter.py Log Message: ----------- BUG: Fix stray '.' in import statement. There was a stray period at the end of an import statement in `doc/cdoc/numpyfilter.py`. Looks like a cut and paste error that was fixed elsewhere but escaped there because the module isn't tested. A search shows that this was the only spot in which the error was still present. Commit: 49a8902a673d6fb2ba9ca446fc652aa9d2e55e1b https://github.com/numpy/numpy/commit/49a8902a673d6fb2ba9ca446fc652aa9d2e55e1b Author: Charles Harris Date: 2013-04-06 (Sat, 06 Apr 2013) Changed paths: M doc/cdoc/numpyfilter.py M doc/numpybook/runcode.py M doc/sphinxext/numpydoc/comment_eater.py M doc/sphinxext/numpydoc/compiler_unparse.py M doc/sphinxext/numpydoc/docscrape.py M doc/sphinxext/numpydoc/plot_directive.py M numpy/__init__.py M numpy/core/__init__.py M numpy/core/numeric.py M numpy/core/numerictypes.py M numpy/core/records.py M numpy/core/setup.py M numpy/core/tests/test_print.py M numpy/core/tests/test_regression.py M numpy/distutils/cpuinfo.py M numpy/distutils/mingw32ccompiler.py M numpy/distutils/misc_util.py M numpy/distutils/npy_pkg_config.py M numpy/distutils/system_info.py M numpy/distutils/tests/test_exec_command.py M numpy/f2py/__init__.py M numpy/f2py/doc/collectinput.py M numpy/lib/_datasource.py M numpy/lib/_iotools.py M numpy/lib/format.py M numpy/lib/npyio.py M numpy/lib/tests/test__datasource.py M numpy/lib/tests/test__iotools.py M numpy/lib/tests/test_format.py M numpy/lib/tests/test_io.py M numpy/lib/tests/test_regression.py M numpy/lib/tests/test_utils.py M numpy/lib/utils.py M numpy/linalg/lapack_lite/clapack_scrub.py M numpy/ma/core.py M numpy/ma/tests/test_core.py M numpy/ma/tests/test_mrecords.py M numpy/numarray/functions.py M numpy/oldnumeric/compat.py M numpy/oldnumeric/misc.py M numpy/testing/utils.py M setup.py M tools/py3tool.py M tools/win32build/build.py Log Message: ----------- Merge pull request #3191 from charris/2to3-apply-imports-fixer 2to3: Apply `imports` fixer. Compare: https://github.com/numpy/numpy/compare/3c8fc1466554...49a8902a673d From noreply at github.com Sat Apr 6 11:18:06 2013 From: noreply at github.com (GitHub) Date: Sat, 06 Apr 2013 08:18:06 -0700 Subject: [Numpy-svn] [numpy/numpy] 8d48c8: 2to3: Apply `imports2` fixer. Message-ID: <51603caee5c94_79ef70a134420a@hookshot-fe5-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 8d48c8f201be60748b83cf62a233c46033dcba47 https://github.com/numpy/numpy/commit/8d48c8f201be60748b83cf62a233c46033dcba47 Author: Charles Harris Date: 2013-04-06 (Sat, 06 Apr 2013) Changed paths: M tools/py3tool.py Log Message: ----------- 2to3: Apply `imports2` fixer. No files were changed by this fixer, so add it to the list of fixers to be skipped by 2to3. Closes #3181. Commit: 37d6468d953703f9918b7d1ff01db10ece4a545c https://github.com/numpy/numpy/commit/37d6468d953703f9918b7d1ff01db10ece4a545c Author: Charles Harris Date: 2013-04-06 (Sat, 06 Apr 2013) Changed paths: M tools/py3tool.py Log Message: ----------- MAINT: Append comma to last item tools/py3tool.py skipped fixers. Makes it easier to put in the next fixer. Commit: 7441fa50523f5b4a16c854bf004d675e5bd86ab8 https://github.com/numpy/numpy/commit/7441fa50523f5b4a16c854bf004d675e5bd86ab8 Author: njsmith Date: 2013-04-06 (Sat, 06 Apr 2013) Changed paths: M tools/py3tool.py Log Message: ----------- Merge pull request #3201 from charris/2to3-apply-imports2-fixer 2to3: Apply `imports2` fixer. Compare: https://github.com/numpy/numpy/compare/49a8902a673d...7441fa50523f From noreply at github.com Sat Apr 6 17:14:33 2013 From: noreply at github.com (GitHub) Date: Sat, 06 Apr 2013 14:14:33 -0700 Subject: [Numpy-svn] [numpy/numpy] bb726c: 2to3: Apply `print` fixer. Message-ID: <516090398c2db_61aa12cd138424dc@hookshot-fe3-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: bb726ca19f434f5055c0efceefe48d89469fcbbe https://github.com/numpy/numpy/commit/bb726ca19f434f5055c0efceefe48d89469fcbbe Author: Charles Harris Date: 2013-04-06 (Sat, 06 Apr 2013) Changed paths: M doc/cdoc/numpyfilter.py M doc/cython/run_test.py M doc/cython/setup.py M doc/example.py M doc/newdtype_example/example.py M doc/newdtype_example/floatint/__init__.py M doc/newdtype_example/setup.py M doc/numpybook/comparison/ctypes/filter.py M doc/numpybook/comparison/ctypes/interface.py M doc/numpybook/comparison/pyrex/setup.py M doc/numpybook/comparison/timing.py M doc/numpybook/comparison/weave/filter.py M doc/numpybook/comparison/weave/inline.py M doc/numpybook/runcode.py M doc/postprocess.py M doc/pyrex/run_test.py M doc/pyrex/setup.py M doc/source/conf.py M doc/sphinxext/numpydoc/__init__.py M doc/sphinxext/numpydoc/comment_eater.py M doc/sphinxext/numpydoc/compiler_unparse.py M doc/sphinxext/numpydoc/docscrape.py M doc/sphinxext/numpydoc/docscrape_sphinx.py M doc/sphinxext/numpydoc/linkcode.py M doc/sphinxext/numpydoc/numpydoc.py M doc/sphinxext/numpydoc/phantom_import.py M doc/sphinxext/numpydoc/plot_directive.py M doc/sphinxext/numpydoc/tests/test_docscrape.py M doc/sphinxext/numpydoc/tests/test_linkcode.py M doc/sphinxext/numpydoc/tests/test_phantom_import.py M doc/sphinxext/numpydoc/tests/test_plot_directive.py M doc/sphinxext/numpydoc/tests/test_traitsdoc.py M doc/sphinxext/numpydoc/traitsdoc.py M doc/sphinxext/setup.py M doc/summarize.py M doc/swig/test/setup.py M doc/swig/test/testArray.py M doc/swig/test/testFarray.py M doc/swig/test/testFortran.py M doc/swig/test/testMatrix.py M doc/swig/test/testTensor.py M doc/swig/test/testVector.py M numpy/__init__.py M numpy/_import_tools.py M numpy/add_newdocs.py M numpy/build_utils/__init__.py M numpy/build_utils/common.py M numpy/build_utils/waf.py M numpy/compat/__init__.py M numpy/compat/_inspect.py M numpy/compat/py3k.py M numpy/compat/setup.py M numpy/core/__init__.py M numpy/core/_internal.py M numpy/core/_methods.py M numpy/core/arrayprint.py M numpy/core/code_generators/__init__.py M numpy/core/code_generators/cversions.py M numpy/core/code_generators/genapi.py M numpy/core/code_generators/generate_numpy_api.py M numpy/core/code_generators/generate_ufunc_api.py M numpy/core/code_generators/generate_umath.py M numpy/core/code_generators/numpy_api.py M numpy/core/code_generators/ufunc_docstrings.py M numpy/core/defchararray.py M numpy/core/fromnumeric.py M numpy/core/function_base.py M numpy/core/getlimits.py M numpy/core/info.py M numpy/core/machar.py M numpy/core/memmap.py M numpy/core/numeric.py M numpy/core/numerictypes.py M numpy/core/records.py M numpy/core/setup.py M numpy/core/setup_common.py M numpy/core/shape_base.py M numpy/core/src/multiarray/testcalcs.py M numpy/core/tests/test_api.py M numpy/core/tests/test_arrayprint.py M numpy/core/tests/test_blasdot.py M numpy/core/tests/test_datetime.py M numpy/core/tests/test_defchararray.py M numpy/core/tests/test_deprecations.py M numpy/core/tests/test_dtype.py M numpy/core/tests/test_einsum.py M numpy/core/tests/test_errstate.py M numpy/core/tests/test_function_base.py M numpy/core/tests/test_getlimits.py M numpy/core/tests/test_half.py M numpy/core/tests/test_indexerrors.py M numpy/core/tests/test_indexing.py M numpy/core/tests/test_item_selection.py M numpy/core/tests/test_machar.py M numpy/core/tests/test_memmap.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_multiarray_assignment.py M numpy/core/tests/test_nditer.py M numpy/core/tests/test_numeric.py M numpy/core/tests/test_numerictypes.py M numpy/core/tests/test_print.py M numpy/core/tests/test_records.py M numpy/core/tests/test_regression.py M numpy/core/tests/test_scalarmath.py M numpy/core/tests/test_scalarprint.py M numpy/core/tests/test_shape_base.py M numpy/core/tests/test_ufunc.py M numpy/core/tests/test_umath.py M numpy/core/tests/test_umath_complex.py M numpy/core/tests/test_unicode.py M numpy/ctypeslib.py M numpy/distutils/__init__.py M numpy/distutils/__version__.py M numpy/distutils/ccompiler.py M numpy/distutils/command/__init__.py M numpy/distutils/command/autodist.py M numpy/distutils/command/bdist_rpm.py M numpy/distutils/command/build.py M numpy/distutils/command/build_clib.py M numpy/distutils/command/build_ext.py M numpy/distutils/command/build_py.py M numpy/distutils/command/build_scripts.py M numpy/distutils/command/build_src.py M numpy/distutils/command/config.py M numpy/distutils/command/config_compiler.py M numpy/distutils/command/develop.py M numpy/distutils/command/egg_info.py M numpy/distutils/command/install.py M numpy/distutils/command/install_clib.py M numpy/distutils/command/install_data.py M numpy/distutils/command/install_headers.py M numpy/distutils/command/sdist.py M numpy/distutils/compat.py M numpy/distutils/conv_template.py M numpy/distutils/core.py M numpy/distutils/cpuinfo.py M numpy/distutils/environment.py M numpy/distutils/exec_command.py M numpy/distutils/extension.py M numpy/distutils/fcompiler/__init__.py M numpy/distutils/fcompiler/absoft.py M numpy/distutils/fcompiler/compaq.py M numpy/distutils/fcompiler/g95.py M numpy/distutils/fcompiler/gnu.py M numpy/distutils/fcompiler/hpux.py M numpy/distutils/fcompiler/ibm.py M numpy/distutils/fcompiler/intel.py M numpy/distutils/fcompiler/lahey.py M numpy/distutils/fcompiler/mips.py M numpy/distutils/fcompiler/nag.py M numpy/distutils/fcompiler/none.py M numpy/distutils/fcompiler/pathf95.py M numpy/distutils/fcompiler/pg.py M numpy/distutils/fcompiler/sun.py M numpy/distutils/fcompiler/vast.py M numpy/distutils/from_template.py M numpy/distutils/info.py M numpy/distutils/intelccompiler.py M numpy/distutils/lib2def.py M numpy/distutils/line_endings.py M numpy/distutils/log.py M numpy/distutils/mingw32ccompiler.py M numpy/distutils/misc_util.py M numpy/distutils/npy_pkg_config.py M numpy/distutils/numpy_distribution.py M numpy/distutils/pathccompiler.py M numpy/distutils/setup.py M numpy/distutils/system_info.py M numpy/distutils/tests/f2py_ext/__init__.py M numpy/distutils/tests/f2py_ext/setup.py M numpy/distutils/tests/f2py_ext/tests/test_fib2.py M numpy/distutils/tests/f2py_f90_ext/__init__.py M numpy/distutils/tests/f2py_f90_ext/setup.py M numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py M numpy/distutils/tests/gen_ext/__init__.py M numpy/distutils/tests/gen_ext/setup.py M numpy/distutils/tests/gen_ext/tests/test_fib3.py M numpy/distutils/tests/pyrex_ext/__init__.py M numpy/distutils/tests/pyrex_ext/setup.py M numpy/distutils/tests/pyrex_ext/tests/test_primes.py M numpy/distutils/tests/setup.py M numpy/distutils/tests/swig_ext/__init__.py M numpy/distutils/tests/swig_ext/setup.py M numpy/distutils/tests/swig_ext/tests/test_example.py M numpy/distutils/tests/swig_ext/tests/test_example2.py M numpy/distutils/tests/test_exec_command.py M numpy/distutils/tests/test_fcompiler_gnu.py M numpy/distutils/tests/test_fcompiler_intel.py M numpy/distutils/tests/test_misc_util.py M numpy/distutils/tests/test_npy_pkg_config.py M numpy/distutils/unixccompiler.py M numpy/doc/__init__.py M numpy/doc/basics.py M numpy/doc/broadcasting.py M numpy/doc/byteswapping.py M numpy/doc/constants.py M numpy/doc/creation.py M numpy/doc/glossary.py M numpy/doc/howtofind.py M numpy/doc/indexing.py M numpy/doc/internals.py M numpy/doc/io.py M numpy/doc/jargon.py M numpy/doc/methods_vs_functions.py M numpy/doc/misc.py M numpy/doc/performance.py M numpy/doc/structured_arrays.py M numpy/doc/subclassing.py M numpy/doc/ufuncs.py M numpy/dual.py M numpy/f2py/__init__.py M numpy/f2py/__version__.py M numpy/f2py/auxfuncs.py M numpy/f2py/capi_maps.py M numpy/f2py/cb_rules.py M numpy/f2py/cfuncs.py M numpy/f2py/common_rules.py M numpy/f2py/crackfortran.py M numpy/f2py/diagnose.py M numpy/f2py/doc/collectinput.py M numpy/f2py/docs/pytest.py M numpy/f2py/docs/usersguide/setup_example.py M numpy/f2py/f2py2e.py M numpy/f2py/f2py_testing.py M numpy/f2py/f90mod_rules.py M numpy/f2py/func2subr.py M numpy/f2py/info.py M numpy/f2py/rules.py M numpy/f2py/setup.py M numpy/f2py/tests/test_array_from_pyobj.py M numpy/f2py/tests/test_assumed_shape.py M numpy/f2py/tests/test_callback.py M numpy/f2py/tests/test_kind.py M numpy/f2py/tests/test_mixed.py M numpy/f2py/tests/test_return_character.py M numpy/f2py/tests/test_return_complex.py M numpy/f2py/tests/test_return_integer.py M numpy/f2py/tests/test_return_logical.py M numpy/f2py/tests/test_return_real.py M numpy/f2py/tests/test_size.py M numpy/f2py/tests/util.py M numpy/f2py/use_rules.py M numpy/fft/__init__.py M numpy/fft/fftpack.py M numpy/fft/helper.py M numpy/fft/info.py M numpy/fft/setup.py M numpy/fft/tests/test_fftpack.py M numpy/fft/tests/test_helper.py M numpy/lib/__init__.py M numpy/lib/_datasource.py M numpy/lib/_iotools.py M numpy/lib/arraypad.py M numpy/lib/arraysetops.py M numpy/lib/arrayterator.py M numpy/lib/financial.py M numpy/lib/format.py M numpy/lib/function_base.py M numpy/lib/index_tricks.py M numpy/lib/info.py M numpy/lib/npyio.py M numpy/lib/polynomial.py M numpy/lib/recfunctions.py M numpy/lib/scimath.py M numpy/lib/setup.py M numpy/lib/shape_base.py M numpy/lib/stride_tricks.py M numpy/lib/tests/test__datasource.py M numpy/lib/tests/test__iotools.py M numpy/lib/tests/test_arraypad.py M numpy/lib/tests/test_arraysetops.py M numpy/lib/tests/test_arrayterator.py M numpy/lib/tests/test_financial.py M numpy/lib/tests/test_format.py M numpy/lib/tests/test_function_base.py M numpy/lib/tests/test_index_tricks.py M numpy/lib/tests/test_io.py M numpy/lib/tests/test_polynomial.py M numpy/lib/tests/test_recfunctions.py M numpy/lib/tests/test_regression.py M numpy/lib/tests/test_shape_base.py M numpy/lib/tests/test_stride_tricks.py M numpy/lib/tests/test_twodim_base.py M numpy/lib/tests/test_type_check.py M numpy/lib/tests/test_ufunclike.py M numpy/lib/tests/test_utils.py M numpy/lib/twodim_base.py M numpy/lib/type_check.py M numpy/lib/ufunclike.py M numpy/lib/user_array.py M numpy/lib/utils.py M numpy/linalg/__init__.py M numpy/linalg/info.py M numpy/linalg/lapack_lite/clapack_scrub.py M numpy/linalg/lapack_lite/fortran.py M numpy/linalg/lapack_lite/make_lite.py M numpy/linalg/linalg.py M numpy/linalg/setup.py M numpy/linalg/tests/test_build.py M numpy/linalg/tests/test_linalg.py M numpy/linalg/tests/test_regression.py M numpy/ma/__init__.py M numpy/ma/bench.py M numpy/ma/core.py M numpy/ma/extras.py M numpy/ma/mrecords.py M numpy/ma/setup.py M numpy/ma/tests/test_core.py M numpy/ma/tests/test_extras.py M numpy/ma/tests/test_mrecords.py M numpy/ma/tests/test_old_ma.py M numpy/ma/tests/test_regression.py M numpy/ma/tests/test_subclassing.py M numpy/ma/testutils.py M numpy/ma/timer_comparison.py M numpy/ma/version.py M numpy/matlib.py M numpy/matrixlib/__init__.py M numpy/matrixlib/defmatrix.py M numpy/matrixlib/setup.py M numpy/matrixlib/tests/test_defmatrix.py M numpy/matrixlib/tests/test_multiarray.py M numpy/matrixlib/tests/test_numeric.py M numpy/matrixlib/tests/test_regression.py M numpy/numarray/__init__.py M numpy/numarray/alter_code1.py M numpy/numarray/alter_code2.py M numpy/numarray/compat.py M numpy/numarray/convolve.py M numpy/numarray/fft.py M numpy/numarray/functions.py M numpy/numarray/image.py M numpy/numarray/linear_algebra.py M numpy/numarray/ma.py M numpy/numarray/matrix.py M numpy/numarray/mlab.py M numpy/numarray/nd_image.py M numpy/numarray/numerictypes.py M numpy/numarray/random_array.py M numpy/numarray/session.py M numpy/numarray/setup.py M numpy/numarray/ufuncs.py M numpy/numarray/util.py M numpy/oldnumeric/__init__.py M numpy/oldnumeric/alter_code1.py M numpy/oldnumeric/alter_code2.py M numpy/oldnumeric/array_printer.py M numpy/oldnumeric/arrayfns.py M numpy/oldnumeric/compat.py M numpy/oldnumeric/fft.py M numpy/oldnumeric/fix_default_axis.py M numpy/oldnumeric/functions.py M numpy/oldnumeric/linear_algebra.py M numpy/oldnumeric/ma.py M numpy/oldnumeric/matrix.py M numpy/oldnumeric/misc.py M numpy/oldnumeric/mlab.py M numpy/oldnumeric/precision.py M numpy/oldnumeric/random_array.py M numpy/oldnumeric/rng.py M numpy/oldnumeric/rng_stats.py M numpy/oldnumeric/setup.py M numpy/oldnumeric/tests/test_oldnumeric.py M numpy/oldnumeric/tests/test_regression.py M numpy/oldnumeric/typeconv.py M numpy/oldnumeric/ufuncs.py M numpy/oldnumeric/user_array.py M numpy/polynomial/__init__.py M numpy/polynomial/chebyshev.py M numpy/polynomial/hermite.py M numpy/polynomial/hermite_e.py M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py M numpy/polynomial/polynomial.py M numpy/polynomial/polytemplate.py M numpy/polynomial/polyutils.py M numpy/polynomial/setup.py M numpy/polynomial/tests/test_chebyshev.py M numpy/polynomial/tests/test_classes.py M numpy/polynomial/tests/test_hermite.py M numpy/polynomial/tests/test_hermite_e.py M numpy/polynomial/tests/test_laguerre.py M numpy/polynomial/tests/test_legendre.py M numpy/polynomial/tests/test_polynomial.py M numpy/polynomial/tests/test_polyutils.py M numpy/polynomial/tests/test_printing.py M numpy/random/__init__.py M numpy/random/info.py M numpy/random/mtrand/generate_mtrand_c.py M numpy/random/setup.py M numpy/random/tests/test_random.py M numpy/random/tests/test_regression.py M numpy/setup.py M numpy/testing/__init__.py M numpy/testing/decorators.py M numpy/testing/noseclasses.py M numpy/testing/nosetester.py M numpy/testing/nulltester.py M numpy/testing/numpytest.py M numpy/testing/print_coercion_tables.py M numpy/testing/setup.py M numpy/testing/tests/test_decorators.py M numpy/testing/tests/test_doctesting.py M numpy/testing/tests/test_utils.py M numpy/testing/utils.py M numpy/tests/test_ctypeslib.py M numpy/tests/test_matlib.py M pavement.py M setup.py M setupegg.py M tools/allocation_tracking/setup.py M tools/allocation_tracking/track_allocations.py M tools/c_coverage/c_coverage_report.py M tools/commitstats.py M tools/osxbuild/build.py M tools/osxbuild/install_and_test.py M tools/py3tool.py M tools/test-installed-numpy.py M tools/win32build/build.py M tools/win32build/doall.py M tools/win32build/misc/x86analysis.py M tools/win32build/prepare_bootstrap.py Log Message: ----------- 2to3: Apply `print` fixer. Add `print_function` to all `from __future__ import ...` statements and use the python3 print function syntax everywhere. Closes #3078. Commit: 3c70e20a5f1aed4098ba66d21e6a1f60edc6fddd https://github.com/numpy/numpy/commit/3c70e20a5f1aed4098ba66d21e6a1f60edc6fddd Author: njsmith Date: 2013-04-06 (Sat, 06 Apr 2013) Changed paths: M doc/cdoc/numpyfilter.py M doc/cython/run_test.py M doc/cython/setup.py M doc/example.py M doc/newdtype_example/example.py M doc/newdtype_example/floatint/__init__.py M doc/newdtype_example/setup.py M doc/numpybook/comparison/ctypes/filter.py M doc/numpybook/comparison/ctypes/interface.py M doc/numpybook/comparison/pyrex/setup.py M doc/numpybook/comparison/timing.py M doc/numpybook/comparison/weave/filter.py M doc/numpybook/comparison/weave/inline.py M doc/numpybook/runcode.py M doc/postprocess.py M doc/pyrex/run_test.py M doc/pyrex/setup.py M doc/source/conf.py M doc/sphinxext/numpydoc/__init__.py M doc/sphinxext/numpydoc/comment_eater.py M doc/sphinxext/numpydoc/compiler_unparse.py M doc/sphinxext/numpydoc/docscrape.py M doc/sphinxext/numpydoc/docscrape_sphinx.py M doc/sphinxext/numpydoc/linkcode.py M doc/sphinxext/numpydoc/numpydoc.py M doc/sphinxext/numpydoc/phantom_import.py M doc/sphinxext/numpydoc/plot_directive.py M doc/sphinxext/numpydoc/tests/test_docscrape.py M doc/sphinxext/numpydoc/tests/test_linkcode.py M doc/sphinxext/numpydoc/tests/test_phantom_import.py M doc/sphinxext/numpydoc/tests/test_plot_directive.py M doc/sphinxext/numpydoc/tests/test_traitsdoc.py M doc/sphinxext/numpydoc/traitsdoc.py M doc/sphinxext/setup.py M doc/summarize.py M doc/swig/test/setup.py M doc/swig/test/testArray.py M doc/swig/test/testFarray.py M doc/swig/test/testFortran.py M doc/swig/test/testMatrix.py M doc/swig/test/testTensor.py M doc/swig/test/testVector.py M numpy/__init__.py M numpy/_import_tools.py M numpy/add_newdocs.py M numpy/build_utils/__init__.py M numpy/build_utils/common.py M numpy/build_utils/waf.py M numpy/compat/__init__.py M numpy/compat/_inspect.py M numpy/compat/py3k.py M numpy/compat/setup.py M numpy/core/__init__.py M numpy/core/_internal.py M numpy/core/_methods.py M numpy/core/arrayprint.py M numpy/core/code_generators/__init__.py M numpy/core/code_generators/cversions.py M numpy/core/code_generators/genapi.py M numpy/core/code_generators/generate_numpy_api.py M numpy/core/code_generators/generate_ufunc_api.py M numpy/core/code_generators/generate_umath.py M numpy/core/code_generators/numpy_api.py M numpy/core/code_generators/ufunc_docstrings.py M numpy/core/defchararray.py M numpy/core/fromnumeric.py M numpy/core/function_base.py M numpy/core/getlimits.py M numpy/core/info.py M numpy/core/machar.py M numpy/core/memmap.py M numpy/core/numeric.py M numpy/core/numerictypes.py M numpy/core/records.py M numpy/core/setup.py M numpy/core/setup_common.py M numpy/core/shape_base.py M numpy/core/src/multiarray/testcalcs.py M numpy/core/tests/test_api.py M numpy/core/tests/test_arrayprint.py M numpy/core/tests/test_blasdot.py M numpy/core/tests/test_datetime.py M numpy/core/tests/test_defchararray.py M numpy/core/tests/test_deprecations.py M numpy/core/tests/test_dtype.py M numpy/core/tests/test_einsum.py M numpy/core/tests/test_errstate.py M numpy/core/tests/test_function_base.py M numpy/core/tests/test_getlimits.py M numpy/core/tests/test_half.py M numpy/core/tests/test_indexerrors.py M numpy/core/tests/test_indexing.py M numpy/core/tests/test_item_selection.py M numpy/core/tests/test_machar.py M numpy/core/tests/test_memmap.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_multiarray_assignment.py M numpy/core/tests/test_nditer.py M numpy/core/tests/test_numeric.py M numpy/core/tests/test_numerictypes.py M numpy/core/tests/test_print.py M numpy/core/tests/test_records.py M numpy/core/tests/test_regression.py M numpy/core/tests/test_scalarmath.py M numpy/core/tests/test_scalarprint.py M numpy/core/tests/test_shape_base.py M numpy/core/tests/test_ufunc.py M numpy/core/tests/test_umath.py M numpy/core/tests/test_umath_complex.py M numpy/core/tests/test_unicode.py M numpy/ctypeslib.py M numpy/distutils/__init__.py M numpy/distutils/__version__.py M numpy/distutils/ccompiler.py M numpy/distutils/command/__init__.py M numpy/distutils/command/autodist.py M numpy/distutils/command/bdist_rpm.py M numpy/distutils/command/build.py M numpy/distutils/command/build_clib.py M numpy/distutils/command/build_ext.py M numpy/distutils/command/build_py.py M numpy/distutils/command/build_scripts.py M numpy/distutils/command/build_src.py M numpy/distutils/command/config.py M numpy/distutils/command/config_compiler.py M numpy/distutils/command/develop.py M numpy/distutils/command/egg_info.py M numpy/distutils/command/install.py M numpy/distutils/command/install_clib.py M numpy/distutils/command/install_data.py M numpy/distutils/command/install_headers.py M numpy/distutils/command/sdist.py M numpy/distutils/compat.py M numpy/distutils/conv_template.py M numpy/distutils/core.py M numpy/distutils/cpuinfo.py M numpy/distutils/environment.py M numpy/distutils/exec_command.py M numpy/distutils/extension.py M numpy/distutils/fcompiler/__init__.py M numpy/distutils/fcompiler/absoft.py M numpy/distutils/fcompiler/compaq.py M numpy/distutils/fcompiler/g95.py M numpy/distutils/fcompiler/gnu.py M numpy/distutils/fcompiler/hpux.py M numpy/distutils/fcompiler/ibm.py M numpy/distutils/fcompiler/intel.py M numpy/distutils/fcompiler/lahey.py M numpy/distutils/fcompiler/mips.py M numpy/distutils/fcompiler/nag.py M numpy/distutils/fcompiler/none.py M numpy/distutils/fcompiler/pathf95.py M numpy/distutils/fcompiler/pg.py M numpy/distutils/fcompiler/sun.py M numpy/distutils/fcompiler/vast.py M numpy/distutils/from_template.py M numpy/distutils/info.py M numpy/distutils/intelccompiler.py M numpy/distutils/lib2def.py M numpy/distutils/line_endings.py M numpy/distutils/log.py M numpy/distutils/mingw32ccompiler.py M numpy/distutils/misc_util.py M numpy/distutils/npy_pkg_config.py M numpy/distutils/numpy_distribution.py M numpy/distutils/pathccompiler.py M numpy/distutils/setup.py M numpy/distutils/system_info.py M numpy/distutils/tests/f2py_ext/__init__.py M numpy/distutils/tests/f2py_ext/setup.py M numpy/distutils/tests/f2py_ext/tests/test_fib2.py M numpy/distutils/tests/f2py_f90_ext/__init__.py M numpy/distutils/tests/f2py_f90_ext/setup.py M numpy/distutils/tests/f2py_f90_ext/tests/test_foo.py M numpy/distutils/tests/gen_ext/__init__.py M numpy/distutils/tests/gen_ext/setup.py M numpy/distutils/tests/gen_ext/tests/test_fib3.py M numpy/distutils/tests/pyrex_ext/__init__.py M numpy/distutils/tests/pyrex_ext/setup.py M numpy/distutils/tests/pyrex_ext/tests/test_primes.py M numpy/distutils/tests/setup.py M numpy/distutils/tests/swig_ext/__init__.py M numpy/distutils/tests/swig_ext/setup.py M numpy/distutils/tests/swig_ext/tests/test_example.py M numpy/distutils/tests/swig_ext/tests/test_example2.py M numpy/distutils/tests/test_exec_command.py M numpy/distutils/tests/test_fcompiler_gnu.py M numpy/distutils/tests/test_fcompiler_intel.py M numpy/distutils/tests/test_misc_util.py M numpy/distutils/tests/test_npy_pkg_config.py M numpy/distutils/unixccompiler.py M numpy/doc/__init__.py M numpy/doc/basics.py M numpy/doc/broadcasting.py M numpy/doc/byteswapping.py M numpy/doc/constants.py M numpy/doc/creation.py M numpy/doc/glossary.py M numpy/doc/howtofind.py M numpy/doc/indexing.py M numpy/doc/internals.py M numpy/doc/io.py M numpy/doc/jargon.py M numpy/doc/methods_vs_functions.py M numpy/doc/misc.py M numpy/doc/performance.py M numpy/doc/structured_arrays.py M numpy/doc/subclassing.py M numpy/doc/ufuncs.py M numpy/dual.py M numpy/f2py/__init__.py M numpy/f2py/__version__.py M numpy/f2py/auxfuncs.py M numpy/f2py/capi_maps.py M numpy/f2py/cb_rules.py M numpy/f2py/cfuncs.py M numpy/f2py/common_rules.py M numpy/f2py/crackfortran.py M numpy/f2py/diagnose.py M numpy/f2py/doc/collectinput.py M numpy/f2py/docs/pytest.py M numpy/f2py/docs/usersguide/setup_example.py M numpy/f2py/f2py2e.py M numpy/f2py/f2py_testing.py M numpy/f2py/f90mod_rules.py M numpy/f2py/func2subr.py M numpy/f2py/info.py M numpy/f2py/rules.py M numpy/f2py/setup.py M numpy/f2py/tests/test_array_from_pyobj.py M numpy/f2py/tests/test_assumed_shape.py M numpy/f2py/tests/test_callback.py M numpy/f2py/tests/test_kind.py M numpy/f2py/tests/test_mixed.py M numpy/f2py/tests/test_return_character.py M numpy/f2py/tests/test_return_complex.py M numpy/f2py/tests/test_return_integer.py M numpy/f2py/tests/test_return_logical.py M numpy/f2py/tests/test_return_real.py M numpy/f2py/tests/test_size.py M numpy/f2py/tests/util.py M numpy/f2py/use_rules.py M numpy/fft/__init__.py M numpy/fft/fftpack.py M numpy/fft/helper.py M numpy/fft/info.py M numpy/fft/setup.py M numpy/fft/tests/test_fftpack.py M numpy/fft/tests/test_helper.py M numpy/lib/__init__.py M numpy/lib/_datasource.py M numpy/lib/_iotools.py M numpy/lib/arraypad.py M numpy/lib/arraysetops.py M numpy/lib/arrayterator.py M numpy/lib/financial.py M numpy/lib/format.py M numpy/lib/function_base.py M numpy/lib/index_tricks.py M numpy/lib/info.py M numpy/lib/npyio.py M numpy/lib/polynomial.py M numpy/lib/recfunctions.py M numpy/lib/scimath.py M numpy/lib/setup.py M numpy/lib/shape_base.py M numpy/lib/stride_tricks.py M numpy/lib/tests/test__datasource.py M numpy/lib/tests/test__iotools.py M numpy/lib/tests/test_arraypad.py M numpy/lib/tests/test_arraysetops.py M numpy/lib/tests/test_arrayterator.py M numpy/lib/tests/test_financial.py M numpy/lib/tests/test_format.py M numpy/lib/tests/test_function_base.py M numpy/lib/tests/test_index_tricks.py M numpy/lib/tests/test_io.py M numpy/lib/tests/test_polynomial.py M numpy/lib/tests/test_recfunctions.py M numpy/lib/tests/test_regression.py M numpy/lib/tests/test_shape_base.py M numpy/lib/tests/test_stride_tricks.py M numpy/lib/tests/test_twodim_base.py M numpy/lib/tests/test_type_check.py M numpy/lib/tests/test_ufunclike.py M numpy/lib/tests/test_utils.py M numpy/lib/twodim_base.py M numpy/lib/type_check.py M numpy/lib/ufunclike.py M numpy/lib/user_array.py M numpy/lib/utils.py M numpy/linalg/__init__.py M numpy/linalg/info.py M numpy/linalg/lapack_lite/clapack_scrub.py M numpy/linalg/lapack_lite/fortran.py M numpy/linalg/lapack_lite/make_lite.py M numpy/linalg/linalg.py M numpy/linalg/setup.py M numpy/linalg/tests/test_build.py M numpy/linalg/tests/test_linalg.py M numpy/linalg/tests/test_regression.py M numpy/ma/__init__.py M numpy/ma/bench.py M numpy/ma/core.py M numpy/ma/extras.py M numpy/ma/mrecords.py M numpy/ma/setup.py M numpy/ma/tests/test_core.py M numpy/ma/tests/test_extras.py M numpy/ma/tests/test_mrecords.py M numpy/ma/tests/test_old_ma.py M numpy/ma/tests/test_regression.py M numpy/ma/tests/test_subclassing.py M numpy/ma/testutils.py M numpy/ma/timer_comparison.py M numpy/ma/version.py M numpy/matlib.py M numpy/matrixlib/__init__.py M numpy/matrixlib/defmatrix.py M numpy/matrixlib/setup.py M numpy/matrixlib/tests/test_defmatrix.py M numpy/matrixlib/tests/test_multiarray.py M numpy/matrixlib/tests/test_numeric.py M numpy/matrixlib/tests/test_regression.py M numpy/numarray/__init__.py M numpy/numarray/alter_code1.py M numpy/numarray/alter_code2.py M numpy/numarray/compat.py M numpy/numarray/convolve.py M numpy/numarray/fft.py M numpy/numarray/functions.py M numpy/numarray/image.py M numpy/numarray/linear_algebra.py M numpy/numarray/ma.py M numpy/numarray/matrix.py M numpy/numarray/mlab.py M numpy/numarray/nd_image.py M numpy/numarray/numerictypes.py M numpy/numarray/random_array.py M numpy/numarray/session.py M numpy/numarray/setup.py M numpy/numarray/ufuncs.py M numpy/numarray/util.py M numpy/oldnumeric/__init__.py M numpy/oldnumeric/alter_code1.py M numpy/oldnumeric/alter_code2.py M numpy/oldnumeric/array_printer.py M numpy/oldnumeric/arrayfns.py M numpy/oldnumeric/compat.py M numpy/oldnumeric/fft.py M numpy/oldnumeric/fix_default_axis.py M numpy/oldnumeric/functions.py M numpy/oldnumeric/linear_algebra.py M numpy/oldnumeric/ma.py M numpy/oldnumeric/matrix.py M numpy/oldnumeric/misc.py M numpy/oldnumeric/mlab.py M numpy/oldnumeric/precision.py M numpy/oldnumeric/random_array.py M numpy/oldnumeric/rng.py M numpy/oldnumeric/rng_stats.py M numpy/oldnumeric/setup.py M numpy/oldnumeric/tests/test_oldnumeric.py M numpy/oldnumeric/tests/test_regression.py M numpy/oldnumeric/typeconv.py M numpy/oldnumeric/ufuncs.py M numpy/oldnumeric/user_array.py M numpy/polynomial/__init__.py M numpy/polynomial/chebyshev.py M numpy/polynomial/hermite.py M numpy/polynomial/hermite_e.py M numpy/polynomial/laguerre.py M numpy/polynomial/legendre.py M numpy/polynomial/polynomial.py M numpy/polynomial/polytemplate.py M numpy/polynomial/polyutils.py M numpy/polynomial/setup.py M numpy/polynomial/tests/test_chebyshev.py M numpy/polynomial/tests/test_classes.py M numpy/polynomial/tests/test_hermite.py M numpy/polynomial/tests/test_hermite_e.py M numpy/polynomial/tests/test_laguerre.py M numpy/polynomial/tests/test_legendre.py M numpy/polynomial/tests/test_polynomial.py M numpy/polynomial/tests/test_polyutils.py M numpy/polynomial/tests/test_printing.py M numpy/random/__init__.py M numpy/random/info.py M numpy/random/mtrand/generate_mtrand_c.py M numpy/random/setup.py M numpy/random/tests/test_random.py M numpy/random/tests/test_regression.py M numpy/setup.py M numpy/testing/__init__.py M numpy/testing/decorators.py M numpy/testing/noseclasses.py M numpy/testing/nosetester.py M numpy/testing/nulltester.py M numpy/testing/numpytest.py M numpy/testing/print_coercion_tables.py M numpy/testing/setup.py M numpy/testing/tests/test_decorators.py M numpy/testing/tests/test_doctesting.py M numpy/testing/tests/test_utils.py M numpy/testing/utils.py M numpy/tests/test_ctypeslib.py M numpy/tests/test_matlib.py M pavement.py M setup.py M setupegg.py M tools/allocation_tracking/setup.py M tools/allocation_tracking/track_allocations.py M tools/c_coverage/c_coverage_report.py M tools/commitstats.py M tools/osxbuild/build.py M tools/osxbuild/install_and_test.py M tools/py3tool.py M tools/test-installed-numpy.py M tools/win32build/build.py M tools/win32build/doall.py M tools/win32build/misc/x86analysis.py M tools/win32build/prepare_bootstrap.py Log Message: ----------- Merge pull request #3203 from charris/2to3-apply-print-fixer 2to3: Apply `print` fixer. Compare: https://github.com/numpy/numpy/compare/7441fa50523f...3c70e20a5f1a From noreply at github.com Sun Apr 7 00:45:51 2013 From: noreply at github.com (GitHub) Date: Sat, 06 Apr 2013 21:45:51 -0700 Subject: [Numpy-svn] [numpy/numpy] a77a7c: First attempt at BF for 2028 and added better test... Message-ID: <5160f9ffd8055_7a3855813877958@hookshot-fe3-pe1-prd.aws.github.net.mail> Branch: refs/heads/maintenance/1.7.x Home: https://github.com/numpy/numpy Commit: a77a7cd5ed6bc12772ba33c151f40fbe73e9d212 https://github.com/numpy/numpy/commit/a77a7cd5ed6bc12772ba33c151f40fbe73e9d212 Author: Eric Fode Date: 2012-07-12 (Thu, 12 Jul 2012) Changed paths: M numpy/core/src/scalarmathmodule.c.src M numpy/core/tests/test_scalarmath.py Log Message: ----------- First attempt at BF for 2028 and added better tests for scalarmath pow function Commit: 61236250c3cc1153b233deb0ce83c6cebbc24c64 https://github.com/numpy/numpy/commit/61236250c3cc1153b233deb0ce83c6cebbc24c64 Author: Eric Fode Date: 2012-07-13 (Fri, 13 Jul 2012) Changed paths: M numpy/core/src/scalarmathmodule.c.src M numpy/core/tests/test_scalarmath.py Log Message: ----------- fixed some style problems Commit: 8b42156e8171802dda128cb23f7a0ce52c085e5a https://github.com/numpy/numpy/commit/8b42156e8171802dda128cb23f7a0ce52c085e5a Author: Eric Fode Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: M numpy/core/src/scalarmathmodule.c.src Log Message: ----------- Update scalarmathmodule.c.src Got rid of some white space in scalarmathmodule.c.src Commit: 8d76cebcbf889baf6d86ea6a49d666bce302de6f https://github.com/numpy/numpy/commit/8d76cebcbf889baf6d86ea6a49d666bce302de6f Author: Ond?ej ?ert?k Date: 2013-04-06 (Sat, 06 Apr 2013) Changed paths: M numpy/core/src/scalarmathmodule.c.src M numpy/core/tests/test_scalarmath.py Log Message: ----------- Merge pull request #3187 from ericfode/float16pow Float16pow Compare: https://github.com/numpy/numpy/compare/3fd6b62c1db9...8d76cebcbf88 From noreply at github.com Sun Apr 7 03:36:23 2013 From: noreply at github.com (GitHub) Date: Sun, 07 Apr 2013 00:36:23 -0700 Subject: [Numpy-svn] [numpy/numpy] 697316: REL: Release 1.7.1 Message-ID: <516121f77182e_2fc9f8a138252e2@hookshot-fe2-pe1-prd.aws.github.net.mail> Branch: refs/heads/maintenance/1.7.x Home: https://github.com/numpy/numpy Commit: 697316a867a32e9f72778a29226c9febbf867ee8 https://github.com/numpy/numpy/commit/697316a867a32e9f72778a29226c9febbf867ee8 Author: Ondrej Certik Date: 2013-04-06 (Sat, 06 Apr 2013) Changed paths: M setup.py Log Message: ----------- REL: Release 1.7.1 From noreply at github.com Sun Apr 7 03:36:25 2013 From: noreply at github.com (GitHub) Date: Sun, 07 Apr 2013 00:36:25 -0700 Subject: [Numpy-svn] [numpy/numpy] Message-ID: <516121f9aa61c_41ca72a13c256a2@hookshot-fe4-pe1-prd.aws.github.net.mail> Branch: refs/tags/v1.7.1 Home: https://github.com/numpy/numpy From noreply at github.com Sun Apr 7 06:39:36 2013 From: noreply at github.com (GitHub) Date: Sun, 07 Apr 2013 03:39:36 -0700 Subject: [Numpy-svn] [numpy/numpy] 77e09f: MAINT: Cleanup some imports involving reduce. Message-ID: <51614ce85c0ed_77d0c15138767bc@hookshot-fe5-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 77e09f14bdf9eeebbd20ca861cb51da3e570bb72 https://github.com/numpy/numpy/commit/77e09f14bdf9eeebbd20ca861cb51da3e570bb72 Author: Charles Harris Date: 2013-04-06 (Sat, 06 Apr 2013) Changed paths: M numpy/core/arrayprint.py M numpy/distutils/system_info.py M numpy/f2py/auxfuncs.py M numpy/lib/arrayterator.py M numpy/lib/tests/test_arrayterator.py M numpy/ma/core.py M numpy/ma/tests/test_core.py M numpy/ma/tests/test_old_ma.py M numpy/ma/timer_comparison.py M numpy/oldnumeric/ma.py M tools/py3tool.py Log Message: ----------- MAINT: Cleanup some imports involving reduce. Because reduce has been available in functools since Python 2.6 we can get rid of the version checks we currently have before we import it. Also removes some reduce related skips in tools/py3tool.py. We were already skipping the reduce fixer so this has no effect other than cleaning up the code. Commit: ef76d4928ea1591d382fceaa416678907ea76098 https://github.com/numpy/numpy/commit/ef76d4928ea1591d382fceaa416678907ea76098 Author: njsmith Date: 2013-04-07 (Sun, 07 Apr 2013) Changed paths: M numpy/core/arrayprint.py M numpy/distutils/system_info.py M numpy/f2py/auxfuncs.py M numpy/lib/arrayterator.py M numpy/lib/tests/test_arrayterator.py M numpy/ma/core.py M numpy/ma/tests/test_core.py M numpy/ma/tests/test_old_ma.py M numpy/ma/timer_comparison.py M numpy/oldnumeric/ma.py M tools/py3tool.py Log Message: ----------- Merge pull request #3202 from charris/2to3-reduce-fixups MAINT: Cleanup some imports involving reduce. Compare: https://github.com/numpy/numpy/compare/3c70e20a5f1a...ef76d4928ea1 From noreply at github.com Sun Apr 7 15:20:34 2013 From: noreply at github.com (GitHub) Date: Sun, 07 Apr 2013 12:20:34 -0700 Subject: [Numpy-svn] [numpy/numpy] 7dad2d: Fixing void scalar PyArray_Scalar constructor when... Message-ID: <5161c7028bd16_1d2ef98134365da@hookshot-fe2-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 7dad2d3596ff09ef7a7e33c3dfb593a0ba6321f6 https://github.com/numpy/numpy/commit/7dad2d3596ff09ef7a7e33c3dfb593a0ba6321f6 Author: Alex Ford Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: M numpy/core/src/multiarray/scalarapi.c M numpy/core/tests/test_regression.py Log Message: ----------- Fixing void scalar PyArray_Scalar constructor when *base==null. During call to `PyArray_scalar` a `PyVoidScalarObject` is created, and it's `obval` field set to a newly allocated block of memory of the correct item size. With a null `base` member, the subsequent call to `copyswap` can not determine an item size and returns without copying. Adding direct copy of input data if no `base` is provided, as no swap is required. Adding regression test for constructor and original pickle repro case. Resolves numpy/numpy#1550. Commit: a0a2e3cda794d3119f8534c13d031e0de5130b3f https://github.com/numpy/numpy/commit/a0a2e3cda794d3119f8534c13d031e0de5130b3f Author: Alex Ford Date: 2013-04-06 (Sat, 06 Apr 2013) Changed paths: M numpy/core/src/multiarray/scalarapi.c M numpy/core/tests/test_regression.py Log Message: ----------- Resolving void scalar PyArray_Scalar constructor style issues. Commit: 756d13449aa3d0b6be4439e87c5cb520c419d30b https://github.com/numpy/numpy/commit/756d13449aa3d0b6be4439e87c5cb520c419d30b Author: Charles Harris Date: 2013-04-07 (Sun, 07 Apr 2013) Changed paths: M numpy/core/src/multiarray/scalarapi.c M numpy/core/tests/test_regression.py Log Message: ----------- Merge pull request #3188 from asford/master Fixing numpy.void pickling. Compare: https://github.com/numpy/numpy/compare/ef76d4928ea1...756d13449aa3 From noreply at github.com Sun Apr 7 15:52:45 2013 From: noreply at github.com (GitHub) Date: Sun, 07 Apr 2013 12:52:45 -0700 Subject: [Numpy-svn] [numpy/numpy] 971bab: BUG: Backport #3188, Fix numpy.void pickling. Message-ID: <5161ce8df17fd_436272b12c21d6@hookshot-fe6-pe1-prd.aws.github.net.mail> Branch: refs/heads/maintenance/1.7.x Home: https://github.com/numpy/numpy Commit: 971bab3d51726b95f5afe0c22cbbd7983023f626 https://github.com/numpy/numpy/commit/971bab3d51726b95f5afe0c22cbbd7983023f626 Author: Alex Ford Date: 2013-04-07 (Sun, 07 Apr 2013) Changed paths: M numpy/core/src/multiarray/scalarapi.c M numpy/core/tests/test_regression.py Log Message: ----------- BUG: Backport #3188, Fix numpy.void pickling. During call to PyArray_scalar a PyVoidScalarObject is created, and it's obval field set to a newly allocated block of memory of the correct item size. With a null base member, the subsequent call to copyswap can not determine an item size and returns without copying. Adding direct copy of input data if no base is provided, as no swap is required. Adding regression test for constructor and original pickle repro case. From noreply at github.com Sun Apr 7 18:33:48 2013 From: noreply at github.com (GitHub) Date: Sun, 07 Apr 2013 15:33:48 -0700 Subject: [Numpy-svn] [numpy/numpy] aab46a: 2to3: apply `dict` fixer. Message-ID: <5161f44ca8bee_dbaa71138589d2@hookshot-fe5-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: aab46a78cefe9fbd46104496ffad17667784a3f5 https://github.com/numpy/numpy/commit/aab46a78cefe9fbd46104496ffad17667784a3f5 Author: Charles Harris Date: 2013-04-06 (Sat, 06 Apr 2013) Changed paths: M doc/summarize.py M numpy/core/_internal.py M numpy/core/code_generators/genapi.py M numpy/core/memmap.py M numpy/core/numerictypes.py M numpy/core/tests/test_blasdot.py M numpy/core/tests/test_multiarray.py M numpy/distutils/ccompiler.py M numpy/distutils/command/build_py.py M numpy/distutils/conv_template.py M numpy/distutils/exec_command.py M numpy/distutils/fcompiler/__init__.py M numpy/distutils/from_template.py M numpy/distutils/misc_util.py M numpy/distutils/npy_pkg_config.py M numpy/distutils/system_info.py M numpy/f2py/auxfuncs.py M numpy/f2py/capi_maps.py M numpy/f2py/crackfortran.py M numpy/f2py/f2py2e.py M numpy/lib/_datasource.py M numpy/lib/arraypad.py M numpy/lib/format.py M numpy/lib/npyio.py M numpy/lib/recfunctions.py M numpy/lib/tests/test_io.py M numpy/lib/utils.py M numpy/linalg/lapack_lite/make_lite.py M numpy/ma/core.py M numpy/numarray/session.py M tools/c_coverage/c_coverage_report.py M tools/py3tool.py Log Message: ----------- 2to3: apply `dict` fixer. In Python3 `dict.items()`, `dict.keys()`, and `dict.values()` are iterators. This causes problems when a list is needed so the 2to3 fixer explicitly constructs a list when is finds on of those functions. However, that is usually not necessary, so a lot of the work here has been cleaning up those places where the fix is not needed. The big exception to that is the `numpy/f2py/crackfortran.py` file. The code there makes extensive use of loops that modify the contents of the dictionary being looped through, which raises an error. That together with the obscurity of the code in that file made it safest to let the `dict` fixer do its worst. Closes #3050. Commit: 6339930ff42f52259e898b18eb6e9dd7d1be4f86 https://github.com/numpy/numpy/commit/6339930ff42f52259e898b18eb6e9dd7d1be4f86 Author: Charles Harris Date: 2013-04-07 (Sun, 07 Apr 2013) Changed paths: M numpy/core/_internal.py M numpy/core/code_generators/genapi.py M numpy/core/numerictypes.py M numpy/distutils/fcompiler/__init__.py M numpy/distutils/misc_util.py Log Message: ----------- MAINT: Fixup more dictionary fixer fixes. Most of these are places where an iterator will work as well as a list, but two fix places where `iterkeys` was introduced which is a bug. Commit: 1340fa646d414b49856314bad339b4ae8ea4c4d8 https://github.com/numpy/numpy/commit/1340fa646d414b49856314bad339b4ae8ea4c4d8 Author: Charles Harris Date: 2013-04-07 (Sun, 07 Apr 2013) Changed paths: M doc/summarize.py M numpy/core/_internal.py M numpy/core/code_generators/genapi.py M numpy/core/memmap.py M numpy/core/numerictypes.py M numpy/core/tests/test_blasdot.py M numpy/core/tests/test_multiarray.py M numpy/distutils/ccompiler.py M numpy/distutils/command/build_py.py M numpy/distutils/conv_template.py M numpy/distutils/exec_command.py M numpy/distutils/fcompiler/__init__.py M numpy/distutils/from_template.py M numpy/distutils/npy_pkg_config.py M numpy/distutils/system_info.py M numpy/f2py/auxfuncs.py M numpy/f2py/capi_maps.py M numpy/f2py/crackfortran.py M numpy/f2py/f2py2e.py M numpy/lib/_datasource.py M numpy/lib/arraypad.py M numpy/lib/format.py M numpy/lib/npyio.py M numpy/lib/recfunctions.py M numpy/lib/tests/test_io.py M numpy/lib/utils.py M numpy/linalg/lapack_lite/make_lite.py M numpy/ma/core.py M numpy/numarray/session.py M tools/c_coverage/c_coverage_report.py M tools/py3tool.py Log Message: ----------- Merge pull request #3205 from charris/2to3-apply-dict-fixer 2to3: apply `dict` fixer. Compare: https://github.com/numpy/numpy/compare/756d13449aa3...1340fa646d41 From noreply at github.com Mon Apr 8 06:24:01 2013 From: noreply at github.com (GitHub) Date: Mon, 08 Apr 2013 03:24:01 -0700 Subject: [Numpy-svn] [numpy/numpy] 4a669b: ENH: Forward port `1.7.1` release notes. Message-ID: <51629ac19e5c9_162881112c794ad@hookshot-fe3-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 4a669b12e78d085f1449fdc08be3dbf9a5f5dffe https://github.com/numpy/numpy/commit/4a669b12e78d085f1449fdc08be3dbf9a5f5dffe Author: Charles Harris Date: 2013-04-07 (Sun, 07 Apr 2013) Changed paths: A doc/release/1.7.1-notes.rst Log Message: ----------- ENH: Forward port `1.7.1` release notes. Commit: 01aa27a436476d87c4d986a80225d23179eebb44 https://github.com/numpy/numpy/commit/01aa27a436476d87c4d986a80225d23179eebb44 Author: njsmith Date: 2013-04-08 (Mon, 08 Apr 2013) Changed paths: A doc/release/1.7.1-notes.rst Log Message: ----------- Merge pull request #3206 from charris/forward-port-1.7.1-notes ENH: Forward port `1.7.1` release notes. Compare: https://github.com/numpy/numpy/compare/1340fa646d41...01aa27a43647 From noreply at github.com Mon Apr 8 15:04:12 2013 From: noreply at github.com (GitHub) Date: Mon, 08 Apr 2013 12:04:12 -0700 Subject: [Numpy-svn] [numpy/numpy] 011f8a: 2to3: Apply `repr` fixer. Message-ID: <516314ac6187e_5b6dccb12c34d2@hookshot-fe6-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 011f8a20044a3982b2441cb53876e9689a3f6d0c https://github.com/numpy/numpy/commit/011f8a20044a3982b2441cb53876e9689a3f6d0c Author: Charles Harris Date: 2013-04-08 (Mon, 08 Apr 2013) Changed paths: M numpy/_import_tools.py M numpy/core/records.py M numpy/distutils/tests/test_misc_util.py M numpy/f2py/auxfuncs.py M numpy/f2py/capi_maps.py M numpy/f2py/cfuncs.py M numpy/f2py/crackfortran.py M numpy/f2py/f2py2e.py M numpy/f2py/rules.py M numpy/f2py/tests/test_array_from_pyobj.py M numpy/f2py/tests/test_assumed_shape.py M numpy/f2py/tests/test_callback.py M numpy/f2py/tests/test_return_character.py M numpy/f2py/tests/test_return_complex.py M numpy/f2py/tests/test_return_integer.py M numpy/f2py/tests/test_return_logical.py M numpy/f2py/tests/test_return_real.py M numpy/f2py/tests/test_size.py M numpy/f2py/use_rules.py M numpy/ma/mrecords.py M numpy/testing/utils.py M tools/py3tool.py Log Message: ----------- 2to3: Apply `repr` fixer. This replaces python backtics with repr(...). The backtics were mostly used to generate strings for printing with a string format and it is tempting to replace `'%s' % repr(x)` with `'%r' % x`. That would work except where `x` happened to be a tuple or a dictionary but, because it would be significant work to guarantee that and because there are not many places where backtics are used, the safe path is to let the repr replacements stand. Closes #3083. Commit: f85bdf48aadf7b5a5f575370b589805fed190a6c https://github.com/numpy/numpy/commit/f85bdf48aadf7b5a5f575370b589805fed190a6c Author: njsmith Date: 2013-04-08 (Mon, 08 Apr 2013) Changed paths: M numpy/_import_tools.py M numpy/core/records.py M numpy/distutils/tests/test_misc_util.py M numpy/f2py/auxfuncs.py M numpy/f2py/capi_maps.py M numpy/f2py/cfuncs.py M numpy/f2py/crackfortran.py M numpy/f2py/f2py2e.py M numpy/f2py/rules.py M numpy/f2py/tests/test_array_from_pyobj.py M numpy/f2py/tests/test_assumed_shape.py M numpy/f2py/tests/test_callback.py M numpy/f2py/tests/test_return_character.py M numpy/f2py/tests/test_return_complex.py M numpy/f2py/tests/test_return_integer.py M numpy/f2py/tests/test_return_logical.py M numpy/f2py/tests/test_return_real.py M numpy/f2py/tests/test_size.py M numpy/f2py/use_rules.py M numpy/ma/mrecords.py M numpy/testing/utils.py M tools/py3tool.py Log Message: ----------- Merge pull request #3208 from charris/2to3-apply-repr-fixer 2to3: Apply `repr` fixer. Compare: https://github.com/numpy/numpy/compare/01aa27a43647...f85bdf48aadf From noreply at github.com Mon Apr 8 21:40:36 2013 From: noreply at github.com (GitHub) Date: Mon, 08 Apr 2013 18:40:36 -0700 Subject: [Numpy-svn] [numpy/numpy] 7fe071: DOC: point to the github issues page Message-ID: <5163719434534_17b46b51342809@hookshot-fe3-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 7fe071ceed336b0e118c384c8ae6e469faa50102 https://github.com/numpy/numpy/commit/7fe071ceed336b0e118c384c8ae6e469faa50102 Author: Paul Ivanov Date: 2013-04-08 (Mon, 08 Apr 2013) Changed paths: M doc/source/about.rst M doc/source/bugs.rst Log Message: ----------- DOC: point to the github issues page Commit: 2f7de030d5029ccc8fbdf261c51ce50920ccd032 https://github.com/numpy/numpy/commit/2f7de030d5029ccc8fbdf261c51ce50920ccd032 Author: Paul Ivanov Date: 2013-04-08 (Mon, 08 Apr 2013) Changed paths: M doc/source/about.rst M doc/source/bugs.rst Log Message: ----------- DOC: incorporate @charris' suggestions * Trac no longer used * Openining "new issue" on GitHub Commit: d1b195d943da80cafd42f935fa9ec920eb18c7e5 https://github.com/numpy/numpy/commit/d1b195d943da80cafd42f935fa9ec920eb18c7e5 Author: Charles Harris Date: 2013-04-08 (Mon, 08 Apr 2013) Changed paths: M doc/source/about.rst M doc/source/bugs.rst Log Message: ----------- Merge pull request #3210 from ivanov/github-issues-linked DOC: point to the github issues page Compare: https://github.com/numpy/numpy/compare/f85bdf48aadf...d1b195d943da From noreply at github.com Tue Apr 9 10:02:08 2013 From: noreply at github.com (GitHub) Date: Tue, 09 Apr 2013 07:02:08 -0700 Subject: [Numpy-svn] [numpy/numpy] a3f2e0: ENH: add `invert` parameter to numpy.in1d(). Message-ID: <51641f60483bd_3c3ed0b13c336c6@hookshot-fe2-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a3f2e0461eeec2077e7ed1f71bf1e0756e893257 https://github.com/numpy/numpy/commit/a3f2e0461eeec2077e7ed1f71bf1e0756e893257 Author: Julien Phalip Date: 2013-04-08 (Mon, 08 Apr 2013) Changed paths: M doc/release/1.8.0-notes.rst M numpy/lib/arraysetops.py M numpy/lib/tests/test_arraysetops.py M numpy/ma/extras.py M numpy/ma/tests/test_extras.py Log Message: ----------- ENH: add `invert` parameter to numpy.in1d(). Commit: 230db778beaca454a95b0fb706330b6dcbd4a8f8 https://github.com/numpy/numpy/commit/230db778beaca454a95b0fb706330b6dcbd4a8f8 Author: Charles Harris Date: 2013-04-09 (Tue, 09 Apr 2013) Changed paths: M doc/release/1.8.0-notes.rst M numpy/lib/arraysetops.py M numpy/lib/tests/test_arraysetops.py M numpy/ma/extras.py M numpy/ma/tests/test_extras.py Log Message: ----------- Merge pull request #3005 from jphalip/in1d-inverse ENH: add `inverse` parameter to numpy.in1d(). Compare: https://github.com/numpy/numpy/compare/d1b195d943da...230db778beac From noreply at github.com Wed Apr 10 20:06:31 2013 From: noreply at github.com (GitHub) Date: Wed, 10 Apr 2013 17:06:31 -0700 Subject: [Numpy-svn] [numpy/numpy] a61647: 2to3: Apply `map` fixer. Message-ID: <5165fe871c254_649749c12c51728@hookshot-fe1-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a6164794a63215e23fa28432d9acec4727c68d02 https://github.com/numpy/numpy/commit/a6164794a63215e23fa28432d9acec4727c68d02 Author: Charles Harris Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M doc/summarize.py M numpy/compat/_inspect.py M numpy/core/numerictypes.py M numpy/core/shape_base.py M numpy/core/tests/test_scalarmath.py M numpy/core/tests/test_shape_base.py M numpy/f2py/auxfuncs.py M numpy/f2py/cfuncs.py M numpy/f2py/common_rules.py M numpy/f2py/crackfortran.py M numpy/f2py/f2py2e.py M numpy/f2py/f90mod_rules.py M numpy/f2py/tests/test_array_from_pyobj.py M numpy/lib/_iotools.py M numpy/lib/financial.py M numpy/lib/index_tricks.py M numpy/lib/npyio.py M numpy/lib/recfunctions.py M numpy/lib/shape_base.py M numpy/lib/stride_tricks.py M numpy/matrixlib/defmatrix.py M numpy/oldnumeric/matrix.py M numpy/testing/utils.py M tools/py3tool.py Log Message: ----------- 2to3: Apply `map` fixer. In Python 3 `map` is an iterator while in Python 2 it returns a list. The simple fix applied by the fixer is to inclose all instances of map with `list(...)`. This is not needed in all cases, and even where appropriate list comprehensions may be preferred for their clarity. Consequently, this patch attempts to use list comprehensions where it makes sense. When the mapped function has two arguments there is another problem that can arise. In Python 3 map stops execution when the shortest argument list is exhausted, while in Python 2 it stops when the longest argument list is exhausted. Consequently the two argument case might need special care. However, we have been running Python3 converted versions of numpy since 1.5 without problems, so it is probably not something that affects us. Closes #3068 Commit: 25d55b8f0ea74f7c8a700a14ef8c256a51dd1376 https://github.com/numpy/numpy/commit/25d55b8f0ea74f7c8a700a14ef8c256a51dd1376 Author: Charles Harris Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M doc/summarize.py M numpy/compat/_inspect.py M numpy/core/numerictypes.py M numpy/core/shape_base.py M numpy/core/tests/test_scalarmath.py M numpy/core/tests/test_shape_base.py M numpy/f2py/auxfuncs.py M numpy/f2py/cfuncs.py M numpy/f2py/common_rules.py M numpy/f2py/crackfortran.py M numpy/f2py/f2py2e.py M numpy/f2py/f90mod_rules.py M numpy/f2py/tests/test_array_from_pyobj.py M numpy/lib/_iotools.py M numpy/lib/financial.py M numpy/lib/index_tricks.py M numpy/lib/npyio.py M numpy/lib/recfunctions.py M numpy/lib/shape_base.py M numpy/lib/stride_tricks.py M numpy/matrixlib/defmatrix.py M numpy/oldnumeric/matrix.py M numpy/testing/utils.py M tools/py3tool.py Log Message: ----------- Merge pull request #3216 from charris/2to3-apply-map-fixer 2to3: Apply `map` fixer. Compare: https://github.com/numpy/numpy/compare/230db778beac...25d55b8f0ea7 From noreply at github.com Wed Apr 10 21:48:26 2013 From: noreply at github.com (GitHub) Date: Wed, 10 Apr 2013 18:48:26 -0700 Subject: [Numpy-svn] [numpy/numpy] 16f976: 2to3: Skip `future` fixer. Message-ID: <5166166a22286_21661b138216ac@hookshot-fe2-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 16f97614acd12b85619f8a2a52114ecc955787a6 https://github.com/numpy/numpy/commit/16f97614acd12b85619f8a2a52114ecc955787a6 Author: Charles Harris Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M tools/py3tool.py Log Message: ----------- 2to3: Skip `future` fixer. The `future` fixer removes the `from __future__ import ...` statements. That is fine for Python 3, but we need to keep that statement if we are shooting for a common code base for both Python 2 and Python 3. Commit: 79126f1c6084c56348b71e1b91fb4b6bc9de86b2 https://github.com/numpy/numpy/commit/79126f1c6084c56348b71e1b91fb4b6bc9de86b2 Author: Charles Harris Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M tools/py3tool.py Log Message: ----------- Merge pull request #3223 from charris/2to3-skip-future-fixer 2to3: Skip `future` fixer. Compare: https://github.com/numpy/numpy/compare/25d55b8f0ea7...79126f1c6084 From noreply at github.com Thu Apr 11 08:59:13 2013 From: noreply at github.com (GitHub) Date: Thu, 11 Apr 2013 05:59:13 -0700 Subject: [Numpy-svn] [numpy/numpy] 9899d2: BUG: Do not reuse nditer buffers when not filled e... Message-ID: <5166b3a1a2ce5_351095d1342724@hookshot-fe6-pe1-prd.aws.github.net.mail> Branch: refs/heads/maintenance/1.7.x Home: https://github.com/numpy/numpy Commit: 9899d23f422abb83f84e637400fc2ce23ed0a322 https://github.com/numpy/numpy/commit/9899d23f422abb83f84e637400fc2ce23ed0a322 Author: Sebastian Berg Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: M numpy/core/src/multiarray/nditer_api.c Log Message: ----------- BUG: Do not reuse nditer buffers when not filled enough. This checks if the previous time around, the buffers were filled with as much data as they would be filled this time around. Since This is difficult for the initial loop before reusing is activated because in that case the buffer may be larger then just the first outer reduce dimension. In that case do not allow reuse unless the index along that dimension was 0. When the inner reduce index is not 0, then also the reusing of the buffer is dangerous. Commit: 5c154dfdde7e143a24fa6849cf7a47f4cc2ecf56 https://github.com/numpy/numpy/commit/5c154dfdde7e143a24fa6849cf7a47f4cc2ecf56 Author: Sebastian Berg Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: M numpy/core/tests/test_nditer.py Log Message: ----------- TST: Add (slow) nditer reduce buffer reuse test Commit: 4c2469ab6bb0bbb29e0b21b6f5f1abf53d8968d3 https://github.com/numpy/numpy/commit/4c2469ab6bb0bbb29e0b21b6f5f1abf53d8968d3 Author: Sebastian Berg Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: M numpy/core/src/multiarray/nditer_api.c Log Message: ----------- BUG: no buffer reuse in nditer, if there was no buffer previously If the buffer is used or not can possible change during iteration. In this case, the buffer cannot be reused if it never existed... Commit: dccfdbd1e8ee44925e702d850c3663daaa54d927 https://github.com/numpy/numpy/commit/dccfdbd1e8ee44925e702d850c3663daaa54d927 Author: Sebastian Berg Date: 2013-04-01 (Mon, 01 Apr 2013) Changed paths: M numpy/core/tests/test_nditer.py Log Message: ----------- TST: test no reuse of non-existing buffers in nditer This slightly changes the test to cover more cases including the one where buffers are sometimes used and sometimes not. Commit: 9131d8c75e9bf1fa21fd7a31bb8e2b8a1c8759f9 https://github.com/numpy/numpy/commit/9131d8c75e9bf1fa21fd7a31bb8e2b8a1c8759f9 Author: njsmith Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/nditer_api.c M numpy/core/tests/test_nditer.py Log Message: ----------- Merge pull request #3186 from seberg/backport-issue-3142 Backport nditer buffer reuse fixes Compare: https://github.com/numpy/numpy/compare/971bab3d5172...9131d8c75e9b From noreply at github.com Thu Apr 11 15:29:20 2013 From: noreply at github.com (GitHub) Date: Thu, 11 Apr 2013 12:29:20 -0700 Subject: [Numpy-svn] [numpy/numpy] 0cbe59: 2to3: Skip buffer fixer. Message-ID: <51670f10ab213_265b11b413428d0@hookshot-fe5-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0cbe590b9bd4a1b8e862334406ef271f4bb6adaf https://github.com/numpy/numpy/commit/0cbe590b9bd4a1b8e862334406ef271f4bb6adaf Author: Charles Harris Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M tools/py3tool.py Log Message: ----------- 2to3: Skip buffer fixer. The buffer object is replaced by memoryview in Python >= 3. The memory view object has also been backported to Python 2.7. However, the only use of `buffer1/1memoryview1 is in `numpy/core/tests/test_unicode.py` and there it is already version dependent: `memoryview` is used if the Python version is >= 3 and `buffer` is used otherwise. Closes #3043. Commit: b7053e8d065f820a6c2b3db7e8df3feaf5adbd71 https://github.com/numpy/numpy/commit/b7053e8d065f820a6c2b3db7e8df3feaf5adbd71 Author: Charles Harris Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M tools/py3tool.py Log Message: ----------- Merge pull request #3226 from charris/2to3-apply-buffer-fixer 2to3: Skip buffer fixer. Compare: https://github.com/numpy/numpy/compare/79126f1c6084...b7053e8d065f From noreply at github.com Thu Apr 11 15:31:26 2013 From: noreply at github.com (GitHub) Date: Thu, 11 Apr 2013 12:31:26 -0700 Subject: [Numpy-svn] [numpy/numpy] 908e06: ENH: larger fixes for np.delete and np.insert func... Message-ID: <51670f8eb2ee9_61be6c513822837@hookshot-fe3-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 908e06c3c465434023649b0ca522836580c5cfdc https://github.com/numpy/numpy/commit/908e06c3c465434023649b0ca522836580c5cfdc Author: Sebastian Berg Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M doc/release/1.8.0-notes.rst M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- ENH: larger fixes for np.delete and np.insert functions There were several smaller to larger problems for these two functions, that this addresses: * delete did not handle out of bound values graciously (ignoring negative ones) * both were unnecessarily slow due to use of sets * insert did not handle unsorted indices correctly Further changes: * Add FutureWarning for boolean obj, so it can be handled similar to a boolean mask with indexing. * Add FutureWarning to remove inconsistent special cases for 0-d arrays (neither insertion nor deletion along an axis make sense for a scalar) * Allow insertion of an array with more then one element along axis when obj is a sequence with a single item. (i.e. array([1])). * Reintroduce speed optimization for scalar in insert that existed in 1.6. Commit: b3836868e81c04973c7527beb1c32d19d97a8a29 https://github.com/numpy/numpy/commit/b3836868e81c04973c7527beb1c32d19d97a8a29 Author: Sebastian Berg Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/lib/function_base.py Log Message: ----------- FIX: insert/delete fixes and warnings for non-integer indices Commit: f17e55ddefe0e3c730be8220476b1a7ae8dc7a43 https://github.com/numpy/numpy/commit/f17e55ddefe0e3c730be8220476b1a7ae8dc7a43 Author: Sebastian Berg Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/lib/tests/test_function_base.py Log Message: ----------- TST: New tests for insert/delete covering warnings and corner cases Commit: 6d305e49c155b744a699e9d09ca9132ee663018a https://github.com/numpy/numpy/commit/6d305e49c155b744a699e9d09ca9132ee663018a Author: Sebastian Berg Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- MAINT: np.delete keep old out of bound/negative index behavior Commit: 0350d5e2194494dc1bd8bb10759557e30980fef0 https://github.com/numpy/numpy/commit/0350d5e2194494dc1bd8bb10759557e30980fef0 Author: Sebastian Berg Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M doc/release/1.8.0-notes.rst Log Message: ----------- DOC: Fixup of delete/insert changes in release notes Commit: 1675ad9e5b95605a851337f407e1fad33cf10c9c https://github.com/numpy/numpy/commit/1675ad9e5b95605a851337f407e1fad33cf10c9c Author: Sebastian Berg Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/lib/function_base.py Log Message: ----------- FIX: rename xrange to range in python 2 np.delete abuses range to calculate start/stop/step and len. This would create potentially large intermediates if it was a list, so for numpy/lib/function_base.py and python < 3, use range = xrange. Commit: b9232f34bfb53bf7c574bfa350dd981f58d6a2d4 https://github.com/numpy/numpy/commit/b9232f34bfb53bf7c574bfa350dd981f58d6a2d4 Author: njsmith Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M doc/release/1.8.0-notes.rst M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- Merge pull request #452 from seberg/enhdel ENH: delete and insert generalization and speed improvements Compare: https://github.com/numpy/numpy/compare/b7053e8d065f...b9232f34bfb5 From noreply at github.com Thu Apr 11 15:59:45 2013 From: noreply at github.com (GitHub) Date: Thu, 11 Apr 2013 12:59:45 -0700 Subject: [Numpy-svn] [numpy/numpy] d083c2: 2to3: Skip `funcattrs` fixer. Message-ID: <516716311c4a6_56fc13991343755f@hookshot-fe5-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d083c2992c170972cc4623d5d4e00ade90cf344b https://github.com/numpy/numpy/commit/d083c2992c170972cc4623d5d4e00ade90cf344b Author: Charles Harris Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M tools/py3tool.py Log Message: ----------- 2to3: Skip `funcattrs` fixer. In Python 3 the func.func_name attribute is replaced by the func.__name__ attribute. The only file affected by this is doc/sphinxext/numpydoc/phantom_import.py, and there its use is already version dependent. Closes #3054. Commit: 2e4ad6e2029669202ef0563f14de6eed9bd695a7 https://github.com/numpy/numpy/commit/2e4ad6e2029669202ef0563f14de6eed9bd695a7 Author: Charles Harris Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M tools/py3tool.py Log Message: ----------- Merge pull request #3227 from charris/2to3-apply-funcattrs 2to3: Skip `funcattrs` fixer. Compare: https://github.com/numpy/numpy/compare/b9232f34bfb5...2e4ad6e20296 From noreply at github.com Fri Apr 12 08:07:14 2013 From: noreply at github.com (GitHub) Date: Fri, 12 Apr 2013 05:07:14 -0700 Subject: [Numpy-svn] [numpy/numpy] f31f0f: replace exec by eval to ensure the c variable is d... Message-ID: <5167f8f2a6b9d_20898fe13496056@hookshot-fe1-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: f31f0fbe453179a2cc8be63e7f07786eb94c2578 https://github.com/numpy/numpy/commit/f31f0fbe453179a2cc8be63e7f07786eb94c2578 Author: Jos de Kloe Date: 2013-04-12 (Fri, 12 Apr 2013) Changed paths: M numpy/f2py/crackfortran.py Log Message: ----------- replace exec by eval to ensure the c variable is defined for all relevant python versions Commit: f1b20f92f8a959359d01de5cf05f3d6babe8e145 https://github.com/numpy/numpy/commit/f1b20f92f8a959359d01de5cf05f3d6babe8e145 Author: njsmith Date: 2013-04-12 (Fri, 12 Apr 2013) Changed paths: M numpy/f2py/crackfortran.py Log Message: ----------- Merge pull request #3229 from jdkloe/master Fix for issue 3192 Compare: https://github.com/numpy/numpy/compare/2e4ad6e20296...f1b20f92f8a9 From noreply at github.com Fri Apr 12 10:09:28 2013 From: noreply at github.com (GitHub) Date: Fri, 12 Apr 2013 07:09:28 -0700 Subject: [Numpy-svn] [numpy/numpy] 8e7c6a: replace exec by eval to ensure the c variable is d... Message-ID: <516815987c00_1a6c5713c95773@hookshot-fe1-pe1-prd.aws.github.net.mail> Branch: refs/heads/maintenance/1.7.x Home: https://github.com/numpy/numpy Commit: 8e7c6a77df290742071b6499ceafa9f6a9ded571 https://github.com/numpy/numpy/commit/8e7c6a77df290742071b6499ceafa9f6a9ded571 Author: Jos de Kloe Date: 2013-04-12 (Fri, 12 Apr 2013) Changed paths: M numpy/f2py/crackfortran.py Log Message: ----------- replace exec by eval to ensure the c variable is defined for all relevant python versions Commit: e006b43c8d06d041bd0f54c4f892458d44266a49 https://github.com/numpy/numpy/commit/e006b43c8d06d041bd0f54c4f892458d44266a49 Author: Ralf Gommers Date: 2013-04-12 (Fri, 12 Apr 2013) Changed paths: M numpy/f2py/crackfortran.py Log Message: ----------- Merge pull request #3230 from jdkloe/1.7.x Fix for issue 3192 - backport of f31f0fbe45 Compare: https://github.com/numpy/numpy/compare/9131d8c75e9b...e006b43c8d06 From noreply at github.com Fri Apr 12 10:12:32 2013 From: noreply at github.com (GitHub) Date: Fri, 12 Apr 2013 07:12:32 -0700 Subject: [Numpy-svn] [numpy/numpy] bde1a0: ENH: Cleanup and simplify array_item code. Message-ID: <516816503c574_74e5211388767b@hookshot-fe1-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: bde1a064bda6269c06d34ace67899d7d1c73ffba https://github.com/numpy/numpy/commit/bde1a064bda6269c06d34ace67899d7d1c73ffba Author: 87 Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/convert_datatype.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/mapping.h M numpy/core/src/multiarray/sequence.c Log Message: ----------- ENH: Cleanup and simplify array_item code. Rename array_big_item to array_item_asarray and move special case for array_item_nice into array_item_asscalar. Also remove redundant PyArray_Return and rename array_item_nice to array_item. Conflicts: numpy/core/src/multiarray/mapping.c Commit: 4fae90dd81c9abca631727f918b3c5d684984bf2 https://github.com/numpy/numpy/commit/4fae90dd81c9abca631727f918b3c5d684984bf2 Author: 87 Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- ENH: Move fancy indexing code and ellipse check code into own functions. Conflicts: numpy/core/src/multiarray/mapping.c Commit: 796c274551a633e40fac051e47840ac77a5a738a https://github.com/numpy/numpy/commit/796c274551a633e40fac051e47840ac77a5a738a Author: 87 Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/arrayobject.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/mapping.h Log Message: ----------- ENH: Use array_subscript_asarray to ensure an array type return value Commit: 818e3ebc61b485465412251e86d3b4f95c75deb8 https://github.com/numpy/numpy/commit/818e3ebc61b485465412251e86d3b4f95c75deb8 Author: 87 Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- ENH: Move Python related subscript code into array_subscript Commit: 793595279432e3f4627bf713ca3554c8caa3419e https://github.com/numpy/numpy/commit/793595279432e3f4627bf713ca3554c8caa3419e Author: 87 Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/mapping.h Log Message: ----------- ENH: Rename array_subscript to array_subscipt_fromobject and refactor array_subscript_nice to array_subscript Conflicts: numpy/core/src/multiarray/mapping.c Commit: eab77ae891eaf08301de0c69f5b68021cd1d3ac9 https://github.com/numpy/numpy/commit/eab77ae891eaf08301de0c69f5b68021cd1d3ac9 Author: 87 Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- ENH: Change silent integer conversion failure into index error. Commit: 4b8ef7270aa20d1be6c807284a15646fcf1a1677 https://github.com/numpy/numpy/commit/4b8ef7270aa20d1be6c807284a15646fcf1a1677 Author: Han Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- ENH: Optimization in subscript_simple for arrays with size > 1 Commit: 38c070d1e717d84c962255097649684acf9c1af9 https://github.com/numpy/numpy/commit/38c070d1e717d84c962255097649684acf9c1af9 Author: Han Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- ENH: Rename array_ass_big_item to array_ass_item_object Commit: 9ae9872a69e7c46cfdbe98ba3ac5f14deea7dc9a https://github.com/numpy/numpy/commit/9ae9872a69e7c46cfdbe98ba3ac5f14deea7dc9a Author: Han Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- ENH: Cleanup subscript assignment code. Conflicts: numpy/core/src/multiarray/mapping.c Commit: fd5ae9938a690832e72218033aa4ca4e54bc626c https://github.com/numpy/numpy/commit/fd5ae9938a690832e72218033aa4ca4e54bc626c Author: 87 Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- BLD: Declare array_ass_item_object before use. Commit: e813dae46054e7ef5ba4fe8a6db4597a202c3afb https://github.com/numpy/numpy/commit/e813dae46054e7ef5ba4fe8a6db4597a202c3afb Author: 87 Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- ENH: Small optimization for redundant PyArray_Check Conflicts: numpy/core/src/multiarray/mapping.c Commit: 2fc6673edce84bf5d7dd745964ba9dab2144d03b https://github.com/numpy/numpy/commit/2fc6673edce84bf5d7dd745964ba9dab2144d03b Author: 87 Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- BUG: Tuple conversion may not propagate errors from int conversion. Conflicts: numpy/core/src/multiarray/mapping.c Commit: 9442b91d13803a2862d7bbb29f8da50200df333b https://github.com/numpy/numpy/commit/9442b91d13803a2862d7bbb29f8da50200df333b Author: 87 Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- ENH: Optimize array_subscript by removing redundant error check. Commit: bc925023af236fa02702afd1a11dd0342ad77e5d https://github.com/numpy/numpy/commit/bc925023af236fa02702afd1a11dd0342ad77e5d Author: Han Genuit Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- ENH: Change IndexError to ValueError for integer conversion errors. Conflicts: numpy/core/src/multiarray/mapping.c Commit: 8a836c53d85f63831e51e7aac9a2f77fdf25ef9f https://github.com/numpy/numpy/commit/8a836c53d85f63831e51e7aac9a2f77fdf25ef9f Author: Han Genuit Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/tests/test_indexing.py Log Message: ----------- TST: Add more indexing tests. Commit: 62dc28a2691d28e0a5dffea6ab285aee7bf1e3bf https://github.com/numpy/numpy/commit/62dc28a2691d28e0a5dffea6ab285aee7bf1e3bf Author: Han Genuit Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- BUG: Multiple fixes from merging. Commit: e3f01df89db94886c75718f1ead7c084f9e71905 https://github.com/numpy/numpy/commit/e3f01df89db94886c75718f1ead7c084f9e71905 Author: Han Genuit Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- STY: Text changes. Conflicts: numpy/core/src/multiarray/mapping.c Commit: fc52c2887d854bce389cc5185704b35a509aae07 https://github.com/numpy/numpy/commit/fc52c2887d854bce389cc5185704b35a509aae07 Author: Han Genuit Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- BUG: Fix old case for boolean subscripts with non-matching shape. Conflicts: numpy/core/src/multiarray/mapping.c Commit: 698f57fb2d0c20f7ce7f37267a6e9a1463add0e6 https://github.com/numpy/numpy/commit/698f57fb2d0c20f7ce7f37267a6e9a1463add0e6 Author: Han Genuit Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- DOC: Re-insert comment Commit: 7e28af952cec5cb985b2a56d01e9acae48486b03 https://github.com/numpy/numpy/commit/7e28af952cec5cb985b2a56d01e9acae48486b03 Author: Han Genuit Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c M numpy/core/tests/test_indexing.py Log Message: ----------- BUG: Fix failing subscript test cases This fixes indexing with NumPy boolean scalar values, which caused crashes before. Both Python and NumPy boolean scalars now behave the same. This contains a few small changes to PyArrayMapIterNew, where the PyArrayMapIterObject is memset to zero and a fix for the crash, which was caused by _nonzero_indices, which did not initialize any iterators because ndim is zero for scalars. *IterNew will now check for scalars before running that part of the code. Commit: e7db8c0f5ef7a302e05be767ebe9cfa81d953a6d https://github.com/numpy/numpy/commit/e7db8c0f5ef7a302e05be767ebe9cfa81d953a6d Author: Han Genuit Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/tests/test_indexing.py Log Message: ----------- BUG: Repair tests Oops.. Commit: d128fcb4c292a27fb22befe3b2016808d79054b0 https://github.com/numpy/numpy/commit/d128fcb4c292a27fb22befe3b2016808d79054b0 Author: Han Genuit Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- ENH: Add exception to _nonzero_indices for zero-dim arrays This function causes a crash otherwise, because it loops over the number of dimensions to construct sub-iterators. If the number of dimensions is zero, the sub-iterators will not be initialized, causing problems later on. Commit: 5cfd384d4e92d7ce01478ead6e5f6af3ab0f72f4 https://github.com/numpy/numpy/commit/5cfd384d4e92d7ce01478ead6e5f6af3ab0f72f4 Author: Sebastian Berg Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- MAINT: Fixup merge mistakes Commit: 8468a7580e9c87d31921881e54965ac7a4aeef7c https://github.com/numpy/numpy/commit/8468a7580e9c87d31921881e54965ac7a4aeef7c Author: Sebastian Berg Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- MAINT: Add lost code to array_subscript_fromobject Commit: 07ed3a2defe68738ec89daf88e0a0e2e697a9182 https://github.com/numpy/numpy/commit/07ed3a2defe68738ec89daf88e0a0e2e697a9182 Author: Sebastian Berg Date: 2013-04-12 (Fri, 12 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c Log Message: ----------- STY: Use PyArray_BYTES to get char* Commit: 9466880fc907ddf864aab47aff0642a4cb57aaf6 https://github.com/numpy/numpy/commit/9466880fc907ddf864aab47aff0642a4cb57aaf6 Author: Sebastian Berg Date: 2013-04-12 (Fri, 12 Apr 2013) Changed paths: M numpy/core/src/multiarray/mapping.c M numpy/core/tests/test_indexing.py Log Message: ----------- MAINT: Error type fixup and clearer error message The first error types were changed to ValueError (or introduced) newly. Python seems to normally use IndexError or TypeError here, so changing back to IndexError. The second is just a clarification to say when the error actually occurs for the user. Commit: 1f8443764550ec4626469f6afd8e78de10e62b2e https://github.com/numpy/numpy/commit/1f8443764550ec4626469f6afd8e78de10e62b2e Author: Sebastian Berg Date: 2013-04-12 (Fri, 12 Apr 2013) Changed paths: M numpy/core/tests/test_indexing.py Log Message: ----------- TST: Clarify empty fancy index test Commit: 6ffa2ea9744e01129382b902649edfd50e848401 https://github.com/numpy/numpy/commit/6ffa2ea9744e01129382b902649edfd50e848401 Author: njsmith Date: 2013-04-12 (Fri, 12 Apr 2013) Changed paths: M numpy/core/src/multiarray/arrayobject.c M numpy/core/src/multiarray/convert_datatype.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/mapping.h M numpy/core/src/multiarray/sequence.c M numpy/core/tests/test_indexing.py Log Message: ----------- Merge pull request #3225 from seberg/cleanup_subscript-merge Cleanup subscript rebased Compare: https://github.com/numpy/numpy/compare/f1b20f92f8a9...6ffa2ea9744e From noreply at github.com Fri Apr 12 11:41:22 2013 From: noreply at github.com (GitHub) Date: Fri, 12 Apr 2013 08:41:22 -0700 Subject: [Numpy-svn] [numpy/numpy] d5bf8a: 2to3: Skip `setliteral` fixer. Message-ID: <51682b2213cf7_3aaf7b5138766c0@hookshot-fe1-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: d5bf8ac099b0204365d1df73f21ed905c5adbcb3 https://github.com/numpy/numpy/commit/d5bf8ac099b0204365d1df73f21ed905c5adbcb3 Author: Charles Harris Date: 2013-04-12 (Fri, 12 Apr 2013) Changed paths: M tools/py3tool.py Log Message: ----------- 2to3: Skip `setliteral` fixer. Setliterals are not available in Python 2.6. Because the current usage in numpy is forward compatible with Python 3 there is no need to run the fixer. When Python 2.6 support is dropped the fixer can be run, but that looks to be several years off. RHEL 6 with Python 2.6 was released in 2010 and will run for ten years. Commit: 5daaef775933983bff87dbe8e9b3df15f40d279b https://github.com/numpy/numpy/commit/5daaef775933983bff87dbe8e9b3df15f40d279b Author: Charles Harris Date: 2013-04-12 (Fri, 12 Apr 2013) Changed paths: M tools/py3tool.py Log Message: ----------- Merge pull request #3231 from charris/2to3-skip-setliteral-fixer 2to3: Skip `setliteral` fixer. Compare: https://github.com/numpy/numpy/compare/6ffa2ea9744e...5daaef775933 From noreply at github.com Fri Apr 12 23:19:28 2013 From: noreply at github.com (GitHub) Date: Fri, 12 Apr 2013 20:19:28 -0700 Subject: [Numpy-svn] [numpy/numpy] 7e6c3e: 2to3: Skip itertools_imports fixer. Message-ID: <5168cec06fbca_1714bc013892083@hookshot-fe3-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 7e6c3eb5693c712241fb4f6cbbe855857f8f21bc https://github.com/numpy/numpy/commit/7e6c3eb5693c712241fb4f6cbbe855857f8f21bc Author: Charles Harris Date: 2013-04-12 (Fri, 12 Apr 2013) Changed paths: M tools/py3tool.py Log Message: ----------- 2to3: Skip itertools_imports fixer. No files are changed by the itertools_imports fixer so skip it. What the fixer does is rename imports of imap, ifilter, and izip to map, filter, and zip since the latter are iterators in Python 3. Closes #3234 Commit: 06066cb01962819c9590d87ea57c77db2a306266 https://github.com/numpy/numpy/commit/06066cb01962819c9590d87ea57c77db2a306266 Author: Charles Harris Date: 2013-04-12 (Fri, 12 Apr 2013) Changed paths: M tools/py3tool.py Log Message: ----------- Merge pull request #3235 from charris/2to3-apply-itertools_imports 2to3: Skip itertools_imports fixer. Compare: https://github.com/numpy/numpy/compare/5daaef775933...06066cb01962 From noreply at github.com Sat Apr 13 04:12:06 2013 From: noreply at github.com (GitHub) Date: Sat, 13 Apr 2013 01:12:06 -0700 Subject: [Numpy-svn] [numpy/numpy] 5de56e: 2to3: Apply itertools fixer. Message-ID: <51691356334e9_24875e813486973@hookshot-fe4-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5de56efaad908f2b731a7eda2b9ca2a9196f820a https://github.com/numpy/numpy/commit/5de56efaad908f2b731a7eda2b9ca2a9196f820a Author: Charles Harris Date: 2013-04-12 (Fri, 12 Apr 2013) Changed paths: M numpy/lib/npyio.py M numpy/lib/recfunctions.py M tools/py3tool.py Log Message: ----------- 2to3: Apply itertools fixer. In Python 3 zip, map, and filter are all iterators, consequently the itertools variants izip, imap, and ifilter have been removed and the itertools fixer replaces them with the unprefixed names. Because the places where the iterator variants are used in current look like places where the iterator version might be useful, the approach taken here is to define the prefixed versions to the unprefixed versions for Python 3, but otherwise import them from itertools. Closes #3233. Commit: 74b08b3f0284d9d2dd55a15dd98a3846913b1b51 https://github.com/numpy/numpy/commit/74b08b3f0284d9d2dd55a15dd98a3846913b1b51 Author: njsmith Date: 2013-04-13 (Sat, 13 Apr 2013) Changed paths: M numpy/lib/npyio.py M numpy/lib/recfunctions.py M tools/py3tool.py Log Message: ----------- Merge pull request #3236 from charris/2to3-apply-itertools 2to3: Apply itertools fixer. Compare: https://github.com/numpy/numpy/compare/06066cb01962...74b08b3f0284 From noreply at github.com Sat Apr 13 10:00:14 2013 From: noreply at github.com (GitHub) Date: Sat, 13 Apr 2013 07:00:14 -0700 Subject: [Numpy-svn] [numpy/numpy] 7f5af3: 2to3: Apply the `numliterals` fixer and skip the `... Message-ID: <516964ee84639_2bd772b12c988f3@hookshot-fe4-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 7f5af37e26ba2e99ad3ee6928b78437f601e96e0 https://github.com/numpy/numpy/commit/7f5af37e26ba2e99ad3ee6928b78437f601e96e0 Author: Charles Harris Date: 2013-04-13 (Sat, 13 Apr 2013) Changed paths: M numpy/__init__.py M numpy/compat/py3k.py M numpy/core/defchararray.py M numpy/core/getlimits.py M numpy/core/memmap.py M numpy/core/numerictypes.py M numpy/core/records.py M numpy/core/tests/test_regression.py M numpy/core/tests/test_shape_base.py M numpy/f2py/tests/test_return_complex.py M numpy/f2py/tests/test_return_integer.py M numpy/f2py/tests/test_return_logical.py M numpy/f2py/tests/test_return_real.py M numpy/lib/_iotools.py M numpy/lib/arraypad.py M numpy/lib/arrayterator.py M numpy/lib/format.py M numpy/lib/function_base.py M numpy/lib/tests/test__datasource.py M numpy/lib/tests/test__iotools.py M numpy/lib/tests/test_function_base.py M numpy/lib/tests/test_type_check.py M numpy/lib/user_array.py M numpy/linalg/tests/test_linalg.py M numpy/ma/core.py M numpy/numarray/functions.py M numpy/numarray/numerictypes.py M numpy/random/tests/test_regression.py M tools/py3tool.py Log Message: ----------- 2to3: Apply the `numliterals` fixer and skip the `long` fixer. The numliterals fixer replaces the old style octal number like '01' by '0o1' removes the 'L' suffix. Octal values were previously mistakenly specified in some dates, those uses have been corrected by removing the leading zeros. Simply Removing the 'L' suffix should not be a problem, but in some testing code it looks neccesary, so in those places the Python long constructor is used instead. The 'long' type is no longer defined in Python 3. Because we need to have it defined for Python 2 it is added to numpy/compat/np3k.py where it is defined as 'int' for Python 3 and 'long' for Python 2. The `long` fixer then needs to be skipped so that it doesn't undo the good work. Closes #3074, #3067. Commit: 688bc60658b391524c6b641e0a5e5ecd73322d02 https://github.com/numpy/numpy/commit/688bc60658b391524c6b641e0a5e5ecd73322d02 Author: Charles Harris Date: 2013-04-13 (Sat, 13 Apr 2013) Changed paths: M numpy/__init__.py M numpy/compat/py3k.py M numpy/core/defchararray.py M numpy/core/getlimits.py M numpy/core/memmap.py M numpy/core/numerictypes.py M numpy/core/records.py M numpy/core/tests/test_regression.py M numpy/core/tests/test_shape_base.py M numpy/f2py/tests/test_return_complex.py M numpy/f2py/tests/test_return_integer.py M numpy/f2py/tests/test_return_logical.py M numpy/f2py/tests/test_return_real.py M numpy/lib/_iotools.py M numpy/lib/arraypad.py M numpy/lib/arrayterator.py M numpy/lib/format.py M numpy/lib/function_base.py M numpy/lib/tests/test__datasource.py M numpy/lib/tests/test__iotools.py M numpy/lib/tests/test_function_base.py M numpy/lib/tests/test_type_check.py M numpy/lib/user_array.py M numpy/linalg/tests/test_linalg.py M numpy/ma/core.py M numpy/numarray/functions.py M numpy/numarray/numerictypes.py M numpy/random/tests/test_regression.py M tools/py3tool.py Log Message: ----------- Merge pull request #3232 from charris/2to3-apply-numliterals-fixer 2to3: Apply the `numliterals` fixer and skip the `long` fixer. Compare: https://github.com/numpy/numpy/compare/74b08b3f0284...688bc60658b3 From noreply at github.com Sat Apr 13 12:44:12 2013 From: noreply at github.com (GitHub) Date: Sat, 13 Apr 2013 09:44:12 -0700 Subject: [Numpy-svn] [numpy/numpy] 9d849e: ENH: testing: remove an annoying line feed from sk... Message-ID: <51698b5cb5ad3_26511358134510af@hookshot-fe4-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 9d849ede86cdb156a124722ce14abf1e985e6d0b https://github.com/numpy/numpy/commit/9d849ede86cdb156a124722ce14abf1e985e6d0b Author: Pauli Virtanen Date: 2013-04-13 (Sat, 13 Apr 2013) Changed paths: M numpy/testing/decorators.py Log Message: ----------- ENH: testing: remove an annoying line feed from skipif decorator The line feed is annoying as it makes Nose's verbose test output not print one line per one test. Commit: e589c6ed1dac7755bb7bd9e181a43ebeff62dcec https://github.com/numpy/numpy/commit/e589c6ed1dac7755bb7bd9e181a43ebeff62dcec Author: Charles Harris Date: 2013-04-13 (Sat, 13 Apr 2013) Changed paths: M numpy/testing/decorators.py Log Message: ----------- Merge pull request #3239 from pv/skipif-lf ENH: testing: remove an annoying line feed from skipif decorator Compare: https://github.com/numpy/numpy/compare/688bc60658b3...e589c6ed1dac From noreply at github.com Sun Apr 14 10:15:28 2013 From: noreply at github.com (GitHub) Date: Sun, 14 Apr 2013 07:15:28 -0700 Subject: [Numpy-svn] [numpy/numpy] 68338e: 2to3: Apply basestring fixer. Message-ID: <516aba00515eb_21f510ab13469210@hookshot-fe6-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 68338eed3ae91c9846142e088c16b63635e58178 https://github.com/numpy/numpy/commit/68338eed3ae91c9846142e088c16b63635e58178 Author: Charles Harris Date: 2013-04-13 (Sat, 13 Apr 2013) Changed paths: M numpy/compat/py3k.py M numpy/core/memmap.py M numpy/core/numeric.py M numpy/distutils/extension.py M numpy/lib/_iotools.py M numpy/lib/format.py M numpy/lib/npyio.py M numpy/lib/recfunctions.py M numpy/ma/core.py M numpy/ma/mrecords.py M numpy/testing/nosetester.py M tools/py3tool.py Log Message: ----------- 2to3: Apply basestring fixer. The basestring class is not defined in Python 3 and the fixer replaces it with str. In order to have a common code base we define basestring in numpy/compat/py3k.py to be str when the Python version is >= 3, otherwise basestring and import it where needed. That works for most cases, but there are a few files where the version dependent define needs to be in the file. Closes #3042. Commit: 01ed88af5b784d52f4fcf383e319cde67c8a22fb https://github.com/numpy/numpy/commit/01ed88af5b784d52f4fcf383e319cde67c8a22fb Author: Charles Harris Date: 2013-04-14 (Sun, 14 Apr 2013) Changed paths: M numpy/compat/py3k.py M numpy/core/memmap.py M numpy/core/numeric.py M numpy/distutils/extension.py M numpy/lib/_iotools.py M numpy/lib/format.py M numpy/lib/npyio.py M numpy/lib/recfunctions.py M numpy/ma/core.py M numpy/ma/mrecords.py M numpy/testing/nosetester.py M tools/py3tool.py Log Message: ----------- Merge pull request #3237 from charris/2to3-apply-basestring 2to3: Apply basestring fixer. Compare: https://github.com/numpy/numpy/compare/e589c6ed1dac...01ed88af5b78 From noreply at github.com Sun Apr 14 10:23:54 2013 From: noreply at github.com (GitHub) Date: Sun, 14 Apr 2013 07:23:54 -0700 Subject: [Numpy-svn] [numpy/numpy] 5c8b89: DOC: Document NPY_RELAXED_STRIDES_CHECKING changes Message-ID: <516abbfa9a0b7_6c4b11c81345b@hookshot-fe5-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5c8b89c5bec14727b1cfb710494e0889d8c6568a https://github.com/numpy/numpy/commit/5c8b89c5bec14727b1cfb710494e0889d8c6568a Author: Sebastian Berg Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M doc/release/1.8.0-notes.rst M doc/source/reference/arrays.ndarray.rst M doc/source/reference/c-api.array.rst M doc/source/reference/ufuncs.rst Log Message: ----------- DOC: Document NPY_RELAXED_STRIDES_CHECKING changes This includes documentation in the release notes, as well as the reference guide and smaller corrections. Thanks to Nathaniel for major rewriting this. Commit: 5cdf8410fc4d2ed05d22e6831023c40a30d9ebe7 https://github.com/numpy/numpy/commit/5cdf8410fc4d2ed05d22e6831023c40a30d9ebe7 Author: Sebastian Berg Date: 2013-04-11 (Thu, 11 Apr 2013) Changed paths: M numpy/add_newdocs.py Log Message: ----------- DOC: Add NPY_RELAXED_STRIDES_DOCUMENTATION doc to ndarry.flags Commit: f62bc39d25eb827b4245ddfeb25b2ff6afbb838d https://github.com/numpy/numpy/commit/f62bc39d25eb827b4245ddfeb25b2ff6afbb838d Author: Charles Harris Date: 2013-04-14 (Sun, 14 Apr 2013) Changed paths: M doc/release/1.8.0-notes.rst M doc/source/reference/arrays.ndarray.rst M doc/source/reference/c-api.array.rst M doc/source/reference/ufuncs.rst M numpy/add_newdocs.py Log Message: ----------- Merge pull request #3221 from seberg/document-relaxed-strides DOC: Document NPY_RELAXED_STRIDES_CHECKING changes Compare: https://github.com/numpy/numpy/compare/01ed88af5b78...f62bc39d25eb From noreply at github.com Sun Apr 14 10:29:26 2013 From: noreply at github.com (GitHub) Date: Sun, 14 Apr 2013 07:29:26 -0700 Subject: [Numpy-svn] [numpy/numpy] ffdad1: 2to3: Apply renames fixer. Message-ID: <516abd46548bf_384b10411308782b@hookshot-fe2-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: ffdad17d0db1d55d39911d637c650ea0acada78b https://github.com/numpy/numpy/commit/ffdad17d0db1d55d39911d637c650ea0acada78b Author: Charles Harris Date: 2013-04-13 (Sat, 13 Apr 2013) Changed paths: M numpy/core/arrayprint.py M numpy/oldnumeric/ma.py M tools/py3tool.py Log Message: ----------- 2to3: Apply renames fixer. Rename sys.maxint to sys.maxsize when the Python version is >= 3. This change was made in Python 3 because all integers are 'long' integers and their maximum value bears no relationship to the C type that int used to represent. The new sys.maxsize value is the maximum value of Py_ssize_t. This change has not led to any reported problems since the numpy 1.5 release. Closes #3082 Commit: ff464ef985cb4d3bca82cc0e7867e02ca47482dc https://github.com/numpy/numpy/commit/ff464ef985cb4d3bca82cc0e7867e02ca47482dc Author: Charles Harris Date: 2013-04-14 (Sun, 14 Apr 2013) Changed paths: M numpy/core/arrayprint.py M numpy/oldnumeric/ma.py M tools/py3tool.py Log Message: ----------- Merge pull request #3238 from charris/2to3-apply-renames-fixer 2to3: Apply renames fixer. Compare: https://github.com/numpy/numpy/compare/f62bc39d25eb...ff464ef985cb From noreply at github.com Sun Apr 14 10:33:33 2013 From: noreply at github.com (GitHub) Date: Sun, 14 Apr 2013 07:33:33 -0700 Subject: [Numpy-svn] [numpy/numpy] 54ca3f: 2to3: Apply nonzero fixer. Message-ID: <516abe3dd3840_20dde2412c389ea@hookshot-fe3-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 54ca3f28ada715a0c84686f74f3b5a7ba4aa2c95 https://github.com/numpy/numpy/commit/54ca3f28ada715a0c84686f74f3b5a7ba4aa2c95 Author: Charles Harris Date: 2013-04-13 (Sat, 13 Apr 2013) Changed paths: M numpy/oldnumeric/ma.py M tools/py3tool.py Log Message: ----------- 2to3: Apply nonzero fixer. In Python 3 the `__nonzero__` class method is replaced by `__bool__`. This only affects the MaskedArray class in numpy/oldnumeric/ma.py file and the simplest solution is to provide both methods. I have my doubts that the fixed up Python 3 version was correct or even tested, but I think the current solution should work for as long as oldnumeric stays in numpy. Closes #3073. Commit: 61c5ac6758d05da6cf49b7247eca850d9db83a7a https://github.com/numpy/numpy/commit/61c5ac6758d05da6cf49b7247eca850d9db83a7a Author: Charles Harris Date: 2013-04-14 (Sun, 14 Apr 2013) Changed paths: M numpy/oldnumeric/ma.py M tools/py3tool.py Log Message: ----------- Merge pull request #3241 from charris/2to3-apply-nonzero-fixer 2to3: Apply nonzero fixer. Compare: https://github.com/numpy/numpy/compare/ff464ef985cb...61c5ac6758d0 From noreply at github.com Sun Apr 14 10:41:46 2013 From: noreply at github.com (GitHub) Date: Sun, 14 Apr 2013 07:41:46 -0700 Subject: [Numpy-svn] [numpy/numpy] 0dfe67: 2to3: Apply zip fixer. Message-ID: <516ac02a263f5_2af579912c70aa@hookshot-fe3-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0dfe67afd1ee9e4c905bf119673f6e634221f21b https://github.com/numpy/numpy/commit/0dfe67afd1ee9e4c905bf119673f6e634221f21b Author: Charles Harris Date: 2013-04-13 (Sat, 13 Apr 2013) Changed paths: M doc/sphinxext/numpydoc/compiler_unparse.py M numpy/core/tests/test_getlimits.py M numpy/core/tests/test_nditer.py M numpy/core/tests/test_ufunc.py M numpy/lib/_iotools.py M numpy/lib/npyio.py M numpy/lib/tests/test_arraysetops.py M numpy/lib/tests/test_io.py M numpy/lib/tests/test_recfunctions.py M numpy/ma/mrecords.py M numpy/ma/tests/test_core.py M numpy/ma/tests/test_mrecords.py M tools/py3tool.py Log Message: ----------- 2to3: Apply zip fixer. In Python 3 zip returns an iterator instead of a list. Consequently, in places where an iterator won't do it must be enclosed in list(...). Lists instead of iterators are also used in array constructors as using iterators there usually results in an object array containing an iterator object. Closes #3094 Commit: 3f2c789ffd0d2e05596b15ea6cd644262f96200e https://github.com/numpy/numpy/commit/3f2c789ffd0d2e05596b15ea6cd644262f96200e Author: Charles Harris Date: 2013-04-14 (Sun, 14 Apr 2013) Changed paths: M doc/sphinxext/numpydoc/compiler_unparse.py M numpy/core/tests/test_getlimits.py M numpy/core/tests/test_nditer.py M numpy/core/tests/test_ufunc.py M numpy/lib/_iotools.py M numpy/lib/npyio.py M numpy/lib/tests/test_arraysetops.py M numpy/lib/tests/test_io.py M numpy/lib/tests/test_recfunctions.py M numpy/ma/mrecords.py M numpy/ma/tests/test_core.py M numpy/ma/tests/test_mrecords.py M tools/py3tool.py Log Message: ----------- Merge pull request #3244 from charris/2to3-apply-zip-fixer 2to3: Apply zip fixer. Compare: https://github.com/numpy/numpy/compare/61c5ac6758d0...3f2c789ffd0d From noreply at github.com Sun Apr 14 12:59:04 2013 From: noreply at github.com (GitHub) Date: Sun, 14 Apr 2013 09:59:04 -0700 Subject: [Numpy-svn] [numpy/numpy] 3a3150: 2to3: Skip isinstance fixer. Message-ID: <516ae05825e17_469c1311130394e4@hookshot-fe3-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 3a315030822ea08a8f563fc037a708716ce5be77 https://github.com/numpy/numpy/commit/3a315030822ea08a8f563fc037a708716ce5be77 Author: Charles Harris Date: 2013-04-14 (Sun, 14 Apr 2013) Changed paths: M tools/py3tool.py Log Message: ----------- 2to3: Skip isinstance fixer. The isinstance fixer removes duplicate types in the second argument of isinstance(). For example, isinstance(x, (int, int)) is converted to isinstance(x, (int)). This would certainly apply if we let the long fixer replace long by int, but as is it does nothing. Duplicate entries are supposedly deprecated in Python 3, I'm not sure why or how, but it does not seem to be a problem at this point. If it ever becomes so, we can deal with it then. Closes #3085 Commit: 6c47259eec0ec20c1150c2b29994de59a3158964 https://github.com/numpy/numpy/commit/6c47259eec0ec20c1150c2b29994de59a3158964 Author: Charles Harris Date: 2013-04-14 (Sun, 14 Apr 2013) Changed paths: M tools/py3tool.py Log Message: ----------- Merge pull request #3245 from charris/2to3-apply-isinstance-fixer 2to3: Skip isinstance fixer. Compare: https://github.com/numpy/numpy/compare/3f2c789ffd0d...6c47259eec0e From noreply at github.com Mon Apr 15 05:45:50 2013 From: noreply at github.com (GitHub) Date: Mon, 15 Apr 2013 02:45:50 -0700 Subject: [Numpy-svn] [numpy/numpy] c70025: 2to3: Apply urllib fixer. Message-ID: <516bcc4e23b64_312105613431157@hookshot-fe1-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: c70025a46d655a19c6c7d64dbbf96849093afb18 https://github.com/numpy/numpy/commit/c70025a46d655a19c6c7d64dbbf96849093afb18 Author: Charles Harris Date: 2013-04-14 (Sun, 14 Apr 2013) Changed paths: M numpy/lib/_datasource.py M numpy/lib/tests/test__datasource.py M tools/py3tool.py Log Message: ----------- 2to3: Apply urllib fixer. Various functions have been moved around in the stdlib for Python 3, this fixes that up so that the code is valid in both Python 2 and Python 3. Note: monkey patching the stlib urlopen for testing looks a bit hokey to me, but I don't see an easier, more reliable way to do the test. Closes #3090. Commit: a196d789fbb8e72672c73ffcf99c687b5fd3ec3d https://github.com/numpy/numpy/commit/a196d789fbb8e72672c73ffcf99c687b5fd3ec3d Author: njsmith Date: 2013-04-15 (Mon, 15 Apr 2013) Changed paths: M numpy/lib/_datasource.py M numpy/lib/tests/test__datasource.py M tools/py3tool.py Log Message: ----------- Merge pull request #3248 from charris/2to3-apply-urllib-fixer 2to3: Apply urllib fixer. Compare: https://github.com/numpy/numpy/compare/6c47259eec0e...a196d789fbb8 From noreply at github.com Mon Apr 15 11:35:15 2013 From: noreply at github.com (GitHub) Date: Mon, 15 Apr 2013 08:35:15 -0700 Subject: [Numpy-svn] [numpy/numpy] c6de09: 2to3: Apply next fixer. Message-ID: <516c1e33c5956_1ae176f13864da@hookshot-fe6-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: c6de09799decbb22bb2d7a44036f53c30356edda https://github.com/numpy/numpy/commit/c6de09799decbb22bb2d7a44036f53c30356edda Author: Charles Harris Date: 2013-04-15 (Mon, 15 Apr 2013) Changed paths: M doc/sphinxext/numpydoc/comment_eater.py M numpy/core/tests/test_nditer.py M numpy/lib/index_tricks.py M numpy/lib/npyio.py M numpy/linalg/lapack_lite/fortran.py M numpy/ma/core.py M tools/py3tool.py Log Message: ----------- 2to3: Apply next fixer. The next builtin has been available since Python 2.6 and allows `it.next()` to be replaced by `next(it)`. In Python 3 the `next` method is gone entirely, replaced entirely by the `__next__` method. The next fixer changes all the `it.next()` calls to the new form and renames the `next` methods to `__next__`. In order to keep Numpy code backwards compatible with Python 2, a `next` method was readded to all the Numpy iterators after the fixer was run so they all contain both methods. The presence of the appropriate method could have been made version dependent, but that looked unduly complicated. Closes #3072. Commit: 9361471ebf49d31761e8ed9d7dc6512abe3241a9 https://github.com/numpy/numpy/commit/9361471ebf49d31761e8ed9d7dc6512abe3241a9 Author: Charles Harris Date: 2013-04-15 (Mon, 15 Apr 2013) Changed paths: M doc/sphinxext/numpydoc/comment_eater.py M numpy/core/tests/test_nditer.py M numpy/lib/index_tricks.py M numpy/lib/npyio.py M numpy/linalg/lapack_lite/fortran.py M numpy/ma/core.py M tools/py3tool.py Log Message: ----------- Merge pull request #3249 from charris/2to3-apply-next-fixer 2to3: Apply next fixer. Compare: https://github.com/numpy/numpy/compare/a196d789fbb8...9361471ebf49 From noreply at github.com Mon Apr 15 12:17:33 2013 From: noreply at github.com (GitHub) Date: Mon, 15 Apr 2013 09:17:33 -0700 Subject: [Numpy-svn] [numpy/numpy] 724f08: MAINT: Style cleanup of numpy/core/src/multiarray/... Message-ID: <516c281cf41aa_2d15101d12c190b@hookshot-fe5-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 724f081ed0807c01c706113c89b1cf24a81ada15 https://github.com/numpy/numpy/commit/724f081ed0807c01c706113c89b1cf24a81ada15 Author: Charles Harris Date: 2013-04-15 (Mon, 15 Apr 2013) Changed paths: M numpy/core/src/multiarray/nditer_pywrap.c Log Message: ----------- MAINT: Style cleanup of numpy/core/src/multiarray/nditer_pywrap.c. Small indentation cleanup bringing the method list into standard Numpy form. Commit: 1a9aa5ac15df13028e52d0a1d01fbcec9bbb687e https://github.com/numpy/numpy/commit/1a9aa5ac15df13028e52d0a1d01fbcec9bbb687e Author: Charles Harris Date: 2013-04-15 (Mon, 15 Apr 2013) Changed paths: M numpy/core/src/multiarray/nditer_pywrap.c Log Message: ----------- Merge pull request #3250 from charris/small-nditer-cleanup MAINT: Style cleanup of numpy/core/src/multiarray/nditer_pywrap.c. Compare: https://github.com/numpy/numpy/compare/9361471ebf49...1a9aa5ac15df From noreply at github.com Wed Apr 17 11:50:28 2013 From: noreply at github.com (GitHub) Date: Wed, 17 Apr 2013 08:50:28 -0700 Subject: [Numpy-svn] [numpy/numpy] 3ce193: created a new module to hold linalg ufuncs. Message-ID: <516ec4c4da51a_62527ade106315@hookshot-fe2-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 3ce193b332bab73810376ee304308f81ff3e9afb https://github.com/numpy/numpy/commit/3ce193b332bab73810376ee304308f81ff3e9afb Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/bento.info M numpy/core/bscript M numpy/core/setup.py A numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- created a new module to hold linalg ufuncs. Commit: 07c02371ef1c032decea7952578c5120ac6340c9 https://github.com/numpy/numpy/commit/07c02371ef1c032decea7952578c5120ac6340c9 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/setup.py M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- inner1d and mat_mult implemented using blas. Commit: 65bb3e78398e1bb702e71e5c12536848d9e1c7ca https://github.com/numpy/numpy/commit/65bb3e78398e1bb702e71e5c12536848d9e1c7ca Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- refactored some code, make it cleaner overall and ready to reuse some code from the matrix_multiply in other gufuncs Commit: 1db3f9b6fb3e83a9a80fad9046408cd548295d65 https://github.com/numpy/numpy/commit/1db3f9b6fb3e83a9a80fad9046408cd548295d65 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- det and slogdet working Commit: cf9494197867ad80d69a6fdff85be3e32943ba67 https://github.com/numpy/numpy/commit/cf9494197867ad80d69a6fdff85be3e32943ba67 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- eigh and eigvalsh working Commit: 2a6d450230c5f4bf78e2a0e0f3cd38ef2f0bf3e4 https://github.com/numpy/numpy/commit/2a6d450230c5f4bf78e2a0e0f3cd38ef2f0bf3e4 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- solve gufunc working Commit: 67820dd267a6b4533242c6d40c4796d48e21bbe2 https://github.com/numpy/numpy/commit/67820dd267a6b4533242c6d40c4796d48e21bbe2 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- solve1 and inv working Commit: c1efc4813b2cc4a21c5688d728a7085831992480 https://github.com/numpy/numpy/commit/c1efc4813b2cc4a21c5688d728a7085831992480 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- fixed possible issues with BLAS _copy (0 is not a valid incx/incy value and the functions are not guaranteed to work with them). also got cholesky working. Commit: 234523c10405144747951104e4355dcc0839eddc https://github.com/numpy/numpy/commit/234523c10405144747951104e4355dcc0839eddc Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- working eig and eigvals priority 2 functions. Commit: 4c9f2865d3151d24369b8ff033265b33b6559ea2 https://github.com/numpy/numpy/commit/4c9f2865d3151d24369b8ff033265b33b6559ea2 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- svd implemented. Single output working. Multiple options not functional due to a bug in the harness. Commit: 7f3afca2c977fe68bc7c02a58cbe5af4a4dba0e6 https://github.com/numpy/numpy/commit/7f3afca2c977fe68bc7c02a58cbe5af4a4dba0e6 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- modified the code so it just used external definitions of blas/lapack functions (as is made in linalg module). Changed some code so that it uses BLAS instead of cblas (the fortran functions) also in line with what it is done on linalg. Modified the matrix multiply code, made it simpler and adapted to use blas (it was using cblas with CblasRowMajor, that is not available in the fortran function. Commit: c679f7b91c6bb49603aec432b7a92879e8818437 https://github.com/numpy/numpy/commit/c679f7b91c6bb49603aec432b7a92879e8818437 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/setup.py A numpy/core/src/umath/lapack_lite/blas_lite.c A numpy/core/src/umath/lapack_lite/dlamch.c A numpy/core/src/umath/lapack_lite/dlapack_lite.c A numpy/core/src/umath/lapack_lite/f2c.h A numpy/core/src/umath/lapack_lite/f2c_lite.c A numpy/core/src/umath/lapack_lite/python_xerbla.c A numpy/core/src/umath/lapack_lite/zlapack_lite.c M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- lapack_lite for builds of umath_linalg without an optimized lapack in the system. Commit: c85e83390e57de517deabf033f1e69d9102b5dd1 https://github.com/numpy/numpy/commit/c85e83390e57de517deabf033f1e69d9102b5dd1 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/setup.py M numpy/core/src/umath/lapack_lite/f2c_lite.c Log Message: ----------- added some single precision functions to f2c_lite.c that were missing and needed by out library. It seems to work now on Linux. Commit: 26d6bef5156399e8819dde396f4ffbe170df8e4e https://github.com/numpy/numpy/commit/26d6bef5156399e8819dde396f4ffbe170df8e4e Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- added plenty of simple functions (quadratic_form plus all the "inspired from PDL" ufuncs). Only missing from "inspired from PDL" is matrix_multiply3. Commit: c47ee064940e674dace17fba46ab8f8e2aa38308 https://github.com/numpy/numpy/commit/c47ee064940e674dace17fba46ab8f8e2aa38308 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: A numpy/core/src/umath/umath_linalg_content.txt Log Message: ----------- added information about the contents of umath-linalg module Commit: 05f9401a646953a44a4ecdbcc09525590e977474 https://github.com/numpy/numpy/commit/05f9401a646953a44a4ecdbcc09525590e977474 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- fixed gufuncs so that they use the proper signature (mwiebe fix present) Commit: 95eef39e8bcad65f4f8e49fe1ab20a97ca48cee6 https://github.com/numpy/numpy/commit/95eef39e8bcad65f4f8e49fe1ab20a97ca48cee6 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/lapack_lite/f2c_lite.c M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- fixed a warning in f2c_lite.c for umath/lapack_lite added chosolve and poinv, they need testing. Commit: 2bb6c8eb1823b3b18fcc4240e8ebdf3fdf2ccc7d https://github.com/numpy/numpy/commit/2bb6c8eb1823b3b18fcc4240e8ebdf3fdf2ccc7d Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/lapack_lite/blas_lite.c M numpy/core/src/umath/lapack_lite/dlapack_lite.c M numpy/core/src/umath/lapack_lite/zlapack_lite.c M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- poinv and chosolve working. Rebuilt lapack_lite to support them. Used also a patched f2c to remove warnings. Commit: 861e694d12a86ed61bddf59abb9a3a2dc02fcc54 https://github.com/numpy/numpy/commit/861e694d12a86ed61bddf59abb9a3a2dc02fcc54 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg_content.txt Log Message: ----------- updated umath_linalg_content.txt Commit: 747cd46d6b07003990cbdbb38bc5ccf993d7ae75 https://github.com/numpy/numpy/commit/747cd46d6b07003990cbdbb38bc5ccf993d7ae75 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/setup.py A numpy/core/src/umath/gufuncs_linalg.py M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- wrote a wrapper module for umath_linalg. Named gufuncs_linalg (in python). Commit: ecfb93c733f014a36c972593efd57ddfe56263dd https://github.com/numpy/numpy/commit/ecfb93c733f014a36c972593efd57ddfe56263dd Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py M numpy/core/src/umath/umath_linalg.c.src A numpy/core/tests/test_gufuncs_linalg.py Log Message: ----------- first iteration with tests. Incomplete and some failing. Just a start. Some bugs already fixed. Commit: 814add803e1895bf0bad68484f2fd926937b5c31 https://github.com/numpy/numpy/commit/814add803e1895bf0bad68484f2fd926937b5c31 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py M numpy/core/src/umath/umath_linalg.c.src M numpy/core/tests/test_gufuncs_linalg.py Log Message: ----------- work on tests and related fixes. Getting things in shape to commit to de-shaw patch Commit: f74546dee82146c22474e008668e82ef87522d06 https://github.com/numpy/numpy/commit/f74546dee82146c22474e008668e82ef87522d06 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py Log Message: ----------- removed some wrappers that weren't needed with the harness fix, just changed to assignment Commit: a0c09b88cd0fb2825f8ed8bff993af16ba76f4d8 https://github.com/numpy/numpy/commit/a0c09b88cd0fb2825f8ed8bff993af16ba76f4d8 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg_content.txt Log Message: ----------- modified umath_linalg_content.txt to reflect changes. Commit: 8817773dd3d849c3107ee6fe6084812fa530ee41 https://github.com/numpy/numpy/commit/8817773dd3d849c3107ee6fe6084812fa530ee41 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg_content.txt Log Message: ----------- updated the umath_linalg_content.txt adding a mention to the wrapper code. Commit: f6aaecbc41c9466855654c209e23fd4d43048c40 https://github.com/numpy/numpy/commit/f6aaecbc41c9466855654c209e23fd4d43048c40 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src M numpy/core/src/umath/umath_linalg_content.txt M numpy/core/tests/test_gufuncs_linalg.py Log Message: ----------- fixed bug in matrix_multiply when using cdoubles Commit: c355550dd80224698cb3e495753963171098d60a https://github.com/numpy/numpy/commit/c355550dd80224698cb3e495753963171098d60a Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src M numpy/core/src/umath/umath_linalg_content.txt M numpy/core/tests/test_gufuncs_linalg.py Log Message: ----------- fixed the problem in eigvals (apparently) Commit: 2276eaac7c206f2398934ff586f802777eaefcfb https://github.com/numpy/numpy/commit/2276eaac7c206f2398934ff586f802777eaefcfb Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src M numpy/core/tests/test_gufuncs_linalg.py Log Message: ----------- work in progress: proper tests for eig. Commit: a75fb9ea8bc231e0f547336de4688ce4be27e825 https://github.com/numpy/numpy/commit/a75fb9ea8bc231e0f547336de4688ce4be27e825 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py M numpy/core/tests/test_gufuncs_linalg.py Log Message: ----------- added tests for ufuncs in gufuncs_linalg (the ones based on pdl). Added multiply4 in the wrapper, as it was missing Commit: 3e7707654ab031937baef82237d1011f929e277a https://github.com/numpy/numpy/commit/3e7707654ab031937baef82237d1011f929e277a Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py M numpy/core/src/umath/umath_linalg.c.src M numpy/core/tests/test_gufuncs_linalg.py Log Message: ----------- reverted matrix_dot in umath_gufuncs to matrix_multiply. added some type-tests on test_gufuncs_linalg.py Commit: 01327555202b30f9b7e3fd72a2c69686ee0c1804 https://github.com/numpy/numpy/commit/01327555202b30f9b7e3fd72a2c69686ee0c1804 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- updated documentation Commit: 367f33351599e776a75a7c7303013e00727ddc16 https://github.com/numpy/numpy/commit/367f33351599e776a75a7c7303013e00727ddc16 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- BLD: Windows build fixes + some tabs removed Commit: d4945eac952be1d9a0d9e7f20ae2465dd7f61129 https://github.com/numpy/numpy/commit/d4945eac952be1d9a0d9e7f20ae2465dd7f61129 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- STY: made sure that split strings had \ at the end Commit: 866d230675d1c901a90b73d4266cdbd76235f3f1 https://github.com/numpy/numpy/commit/866d230675d1c901a90b73d4266cdbd76235f3f1 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/code_generators/cversions.txt M numpy/core/setup_common.py Log Message: ----------- updated api version, as one merge changed it. Commit: 76a19631d1fc8af8bc753d54fe810651726ea1a9 https://github.com/numpy/numpy/commit/76a19631d1fc8af8bc753d54fe810651726ea1a9 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/tests/test_gufuncs_linalg.py Log Message: ----------- fixed testdet test. It failed due to eigvails failing in single precision and notifying the failure as nans. Commit: e41e42637943f54cde596c2e15489c73421e9814 https://github.com/numpy/numpy/commit/e41e42637943f54cde596c2e15489c73421e9814 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/tests/test_gufuncs_linalg.py Log Message: ----------- TST: fixed test for gufuncs_linalg Det Commit: 2cc6fb459a2171225b7e37fabf2c90cbdf76c16f https://github.com/numpy/numpy/commit/2cc6fb459a2171225b7e37fabf2c90cbdf76c16f Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- ENH: cholesky handling of _potrf failures (set result to nan) Commit: f2b0bdd9790ee3d8b8a19839cebb7260eb024c5b https://github.com/numpy/numpy/commit/f2b0bdd9790ee3d8b8a19839cebb7260eb024c5b Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- ENH: eigh, eigvalsh set result to nan on LAPACK error (_ssyevd, _heevd) Commit: fb2270d95119d19e13dc85f5a3206afc622e9959 https://github.com/numpy/numpy/commit/fb2270d95119d19e13dc85f5a3206afc622e9959 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- ENH: solve sets result to nan on LAPACK error (_gesv) Commit: 7aa26c3e66f35cdc0981459687b1cd244c40ff6b https://github.com/numpy/numpy/commit/7aa26c3e66f35cdc0981459687b1cd244c40ff6b Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- ENH: inv sets result to nan on LAPACK error (_gesv) Commit: ec5020cfb11b0acba38373dc89328e14ae31db1a https://github.com/numpy/numpy/commit/ec5020cfb11b0acba38373dc89328e14ae31db1a Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- ENH: svd sets results to nan on LAPACK error (_gesdd) Commit: 170726cb0f04fff398e304c31f70189a3ff4062e https://github.com/numpy/numpy/commit/170726cb0f04fff398e304c31f70189a3ff4062e Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- ENH: chosolve sets result to nan on LAPACK error (_potrf, _potrs) Commit: 43c25bb28bba61688ba4bf8e87d8157694cec9ae https://github.com/numpy/numpy/commit/43c25bb28bba61688ba4bf8e87d8157694cec9ae Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py Log Message: ----------- DOC: Added docstring for eigh Commit: 82976c065bca9244ef2da7f1f0c2f0817413e24e https://github.com/numpy/numpy/commit/82976c065bca9244ef2da7f1f0c2f0817413e24e Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py Log Message: ----------- DOC: Added docstring to eigvalsh Commit: b75a0cb957d82a1d1d20a6b0d27db40024066ce2 https://github.com/numpy/numpy/commit/b75a0cb957d82a1d1d20a6b0d27db40024066ce2 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py Log Message: ----------- DOC: added docstring to solve Commit: 87cd05f5492a21d79c25532d227984e9669cb954 https://github.com/numpy/numpy/commit/87cd05f5492a21d79c25532d227984e9669cb954 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py Log Message: ----------- DOC: added docstring for svd Commit: 1f79b6907da2acb10443e2b894e1b6594cedb258 https://github.com/numpy/numpy/commit/1f79b6907da2acb10443e2b894e1b6594cedb258 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py Log Message: ----------- DOC: Added docstring to chosolve Commit: bca1bbe344e65d2d465f954e72a7a6c5bd9a374c https://github.com/numpy/numpy/commit/bca1bbe344e65d2d465f954e72a7a6c5bd9a374c Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py Log Message: ----------- DOC: added docstring for poinv Commit: 6e352adb808b3f0effa3b88b8acea4d5d6794b72 https://github.com/numpy/numpy/commit/6e352adb808b3f0effa3b88b8acea4d5d6794b72 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py Log Message: ----------- DOC: Added notes on error handling. Commit: 24b727b13564fc069240e5f76fdfa83d0393236f https://github.com/numpy/numpy/commit/24b727b13564fc069240e5f76fdfa83d0393236f Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/setup.py M numpy/core/src/umath/gufuncs_linalg.py M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- MAINT: renamed umath_linalg module to _umath_linalg as it is internal. Commit: e1c7ed44fd3f63ea716e1184fc9b5715258d525a https://github.com/numpy/numpy/commit/e1c7ed44fd3f63ea716e1184fc9b5715258d525a Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: A numpy/core/src/umath/gufuncs_linalg_contents.rst R numpy/core/src/umath/umath_linalg_content.txt Log Message: ----------- MAINT: renamed the file describing the gufuncs_linalg module Commit: bbd674dda53d1d09532e19ffc9fa5c07e9985f16 https://github.com/numpy/numpy/commit/bbd674dda53d1d09532e19ffc9fa5c07e9985f16 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg_contents.rst Log Message: ----------- MAINT: Rewrote the gufuncs_linalg_contents as a rst file and updated it. Commit: 1ec2024a639e31fbea3e507e9369a71365246d53 https://github.com/numpy/numpy/commit/1ec2024a639e31fbea3e507e9369a71365246d53 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py Log Message: ----------- STY: PEP8 Commit: a2afc8523a36038e4c72e37778a3956954dc5e8a https://github.com/numpy/numpy/commit/a2afc8523a36038e4c72e37778a3956954dc5e8a Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py Log Message: ----------- DOC: corrected documentation - arrays of functions -> arrays of matrices Commit: f48c1342026f1c2b1b2b6a9be2438ce869a879d5 https://github.com/numpy/numpy/commit/f48c1342026f1c2b1b2b6a9be2438ce869a879d5 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- ENH: Added np.seterr handling of errors Commit: 2eeddab2a1b82622ebbfe3bb9b10864bb437657a https://github.com/numpy/numpy/commit/2eeddab2a1b82622ebbfe3bb9b10864bb437657a Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- BLD: python 3.x compile fix Commit: fd435bc75ae86fbbda0abd12df2ba6dbb13756b2 https://github.com/numpy/numpy/commit/fd435bc75ae86fbbda0abd12df2ba6dbb13756b2 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- BLD: Python3 build problem fixed Commit: 8556374b6313587d4afe8e5dc36f5aba7a076230 https://github.com/numpy/numpy/commit/8556374b6313587d4afe8e5dc36f5aba7a076230 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py Log Message: ----------- DOC: Added doctests to docstring for fused operations Commit: cd6c20b5a434e4de522ef11a211ed71d440485f9 https://github.com/numpy/numpy/commit/cd6c20b5a434e4de522ef11a211ed71d440485f9 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py Log Message: ----------- DOC: added more doctests Commit: 05ceb126a0b2107f60037f5176e2a65eebe01aad https://github.com/numpy/numpy/commit/05ceb126a0b2107f60037f5176e2a65eebe01aad Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py Log Message: ----------- DOC: changed doctests for eig and eigh to be more robust Commit: 8e8f247756e054578c0d5001a0c07d86eea450de https://github.com/numpy/numpy/commit/8e8f247756e054578c0d5001a0c07d86eea450de Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py Log Message: ----------- DOC: fixed doctest in poinv so that the example matrix is positive-definite. Commit: 7e3176f6e7f7295a4125e17489994e89a5c119b8 https://github.com/numpy/numpy/commit/7e3176f6e7f7295a4125e17489994e89a5c119b8 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- BUG: fixed a bug in eig for complex numbers. Eigenvector results are computed properly now. Commit: ad8b29b7fb23a24b3451509ab34d4f28e5e174ad https://github.com/numpy/numpy/commit/ad8b29b7fb23a24b3451509ab34d4f28e5e174ad Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src M numpy/core/tests/test_gufuncs_linalg.py Log Message: ----------- FIX: problems with eig and eigvals. Enhanced tests. Commit: 60f54b6c1585d022428b3bb57f638536cd1e639e https://github.com/numpy/numpy/commit/60f54b6c1585d022428b3bb57f638536cd1e639e Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- ENH: added complex version for inner1d. Also added dotc1d Commit: 5dc27acdafa572e12d693ca926498c7a5681f548 https://github.com/numpy/numpy/commit/5dc27acdafa572e12d693ca926498c7a5681f548 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src M numpy/core/tests/test_gufuncs_linalg.py Log Message: ----------- FIX: matrix_multiply now works when given a column matrix Commit: 0afe2765c8bee728e00d47c4db5c7d2da88f61af https://github.com/numpy/numpy/commit/0afe2765c8bee728e00d47c4db5c7d2da88f61af Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py Log Message: ----------- DOC: changed to ? in shape descriptions in docstrings Commit: 1f8efc0573b61a5526d03cd30610e71148f32e16 https://github.com/numpy/numpy/commit/1f8efc0573b61a5526d03cd30610e71148f32e16 Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/gufuncs_linalg.py Log Message: ----------- MAINT: added from __future__ as suggested by charris Commit: e7a54dae03facf904b670e0619e429290b65051e https://github.com/numpy/numpy/commit/e7a54dae03facf904b670e0619e429290b65051e Author: ovillellas Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/code_generators/cversions.txt M numpy/core/setup_common.py Log Message: ----------- BLD: reverted api version back to 8 Commit: 35f4b174ff4fd2ea02052a697e5354408aa99e81 https://github.com/numpy/numpy/commit/35f4b174ff4fd2ea02052a697e5354408aa99e81 Author: Pauli Virtanen Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/setup.py A numpy/core/src/umath/_gufuncs_linalg.py R numpy/core/src/umath/gufuncs_linalg.py M numpy/core/tests/test_gufuncs_linalg.py Log Message: ----------- MAINT: mark gufuncs_linalg.py as a internal testing-only module Commit: f0a78c76e1fffdc222e527423871d8adfe7433f6 https://github.com/numpy/numpy/commit/f0a78c76e1fffdc222e527423871d8adfe7433f6 Author: Pauli Virtanen Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M doc/source/reference/routines.linalg.rst Log Message: ----------- DOC: document the behavior of generalized N-dim linear algebra functions Commit: 2e8b24e30345c75eb9101ea29e96c9fde48add7f https://github.com/numpy/numpy/commit/2e8b24e30345c75eb9101ea29e96c9fde48add7f Author: Pauli Virtanen Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- ENH: linalg: add helper routines for gufuncs Commit: 5b0fead2d4e3cc6c82761aba09f330147435a0cf https://github.com/numpy/numpy/commit/5b0fead2d4e3cc6c82761aba09f330147435a0cf Author: Pauli Virtanen Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- ENH: linalg: use _umath_linalg for det() Commit: 87dc3f6b66465d80d8fe36aeb40a33546f979e67 https://github.com/numpy/numpy/commit/87dc3f6b66465d80d8fe36aeb40a33546f979e67 Author: Pauli Virtanen Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- ENH: linalg: use _umath_linalg for slogdet() Commit: 7d2fed67c3479a2f5c2e8fb25036ea2c8003f439 https://github.com/numpy/numpy/commit/7d2fed67c3479a2f5c2e8fb25036ea2c8003f439 Author: Pauli Virtanen Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- ENH: linalg: use _umath_linalg for inv() Commit: 04ad33ed7b6b6a0eee2a0a6e98fc8d598db487ad https://github.com/numpy/numpy/commit/04ad33ed7b6b6a0eee2a0a6e98fc8d598db487ad Author: Pauli Virtanen Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- ENH: linalg: use _umath_linalg for solve() Commit: 2dd64051fa3f81bea0f9fe5098f7e1c24aa3f2f8 https://github.com/numpy/numpy/commit/2dd64051fa3f81bea0f9fe5098f7e1c24aa3f2f8 Author: Pauli Virtanen Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- ENH: linalg: use _umath_linalg for cholesky() Commit: 15a9c3b25c0aff2799c927ea9e602fc3c134d3fc https://github.com/numpy/numpy/commit/15a9c3b25c0aff2799c927ea9e602fc3c134d3fc Author: Pauli Virtanen Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- ENH: linalg: use _umath_linalg for eigvals() Commit: 74e14775a1447942e9fede448958810d479c836b https://github.com/numpy/numpy/commit/74e14775a1447942e9fede448958810d479c836b Author: Pauli Virtanen Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- ENH: linalg: use _umath_linalg for eigvalsh() Commit: 1253d571a48f3100865e0b38895c0cceb8336aa3 https://github.com/numpy/numpy/commit/1253d571a48f3100865e0b38895c0cceb8336aa3 Author: Pauli Virtanen Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- ENH: linalg: use _umath_linalg for eig() Commit: cc7b048fafeb93150f118651438faf06aefe807b https://github.com/numpy/numpy/commit/cc7b048fafeb93150f118651438faf06aefe807b Author: Pauli Virtanen Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- ENH: linalg: use _umath_linalg for eigh() Commit: bbdca51cac02a9f9352f671229037afa139ac7b5 https://github.com/numpy/numpy/commit/bbdca51cac02a9f9352f671229037afa139ac7b5 Author: Pauli Virtanen Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- ENH: linalg: use _umath_linalg for svd() Commit: 63a8aef815fdb2526493311b89b4d15afbb4a38d https://github.com/numpy/numpy/commit/63a8aef815fdb2526493311b89b4d15afbb4a38d Author: Pauli Virtanen Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/src/umath/umath_linalg.c.src Log Message: ----------- BUG: core/umath_linalg: ensure FP error status reflects LAPACK error status Commit: 9bfa19b11f38b5fe710d872db6a8628fc6a72359 https://github.com/numpy/numpy/commit/9bfa19b11f38b5fe710d872db6a8628fc6a72359 Author: Pauli Virtanen Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/linalg/tests/test_linalg.py Log Message: ----------- TST: linalg: add tests for generalized linalg functions Commit: 9c00887ba60c0c3c4ae7ad349c6f43831c3ae353 https://github.com/numpy/numpy/commit/9c00887ba60c0c3c4ae7ad349c6f43831c3ae353 Author: Pauli Virtanen Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/core/bento.info M numpy/core/bscript M numpy/core/setup.py R numpy/core/src/umath/_gufuncs_linalg.py R numpy/core/src/umath/gufuncs_linalg_contents.rst R numpy/core/src/umath/lapack_lite/blas_lite.c R numpy/core/src/umath/lapack_lite/dlamch.c R numpy/core/src/umath/lapack_lite/dlapack_lite.c R numpy/core/src/umath/lapack_lite/f2c.h R numpy/core/src/umath/lapack_lite/f2c_lite.c R numpy/core/src/umath/lapack_lite/python_xerbla.c R numpy/core/src/umath/lapack_lite/zlapack_lite.c R numpy/core/src/umath/umath_linalg.c.src R numpy/core/tests/test_gufuncs_linalg.py A numpy/linalg/_gufuncs_linalg.py M numpy/linalg/bento.info R numpy/linalg/blas_lite.c M numpy/linalg/bscript R numpy/linalg/dlamch.c R numpy/linalg/dlapack_lite.c R numpy/linalg/f2c.h R numpy/linalg/f2c_lite.c A numpy/linalg/gufuncs_linalg_contents.rst A numpy/linalg/lapack_lite/blas_lite.c A numpy/linalg/lapack_lite/dlamch.c A numpy/linalg/lapack_lite/dlapack_lite.c A numpy/linalg/lapack_lite/f2c.h A numpy/linalg/lapack_lite/f2c_lite.c A numpy/linalg/lapack_lite/python_xerbla.c A numpy/linalg/lapack_lite/zlapack_lite.c M numpy/linalg/linalg.py R numpy/linalg/python_xerbla.c M numpy/linalg/setup.py A numpy/linalg/tests/test_gufuncs_linalg.py A numpy/linalg/umath_linalg.c.src R numpy/linalg/zlapack_lite.c Log Message: ----------- MAINT: move umath_linalg under numpy/linalg and use the same lapack_lite Also, link umath_linalg against the system BLAS/LAPACK if available. Commit: 1b27cb0bcce363ac223a89dbce48b2eb3f7f05b4 https://github.com/numpy/numpy/commit/1b27cb0bcce363ac223a89dbce48b2eb3f7f05b4 Author: Pauli Virtanen Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/linalg/_gufuncs_linalg.py R numpy/linalg/gufuncs_linalg_contents.rst Log Message: ----------- MAINT: move gufuncs_linalg_contents.rst to the docstring of the module Commit: 20cc77a1a466192fb2ea11f61f6cbf678f266b87 https://github.com/numpy/numpy/commit/20cc77a1a466192fb2ea11f61f6cbf678f266b87 Author: Pauli Virtanen Date: 2013-04-10 (Wed, 10 Apr 2013) Changed paths: M numpy/linalg/_gufuncs_linalg.py M numpy/linalg/tests/test_gufuncs_linalg.py Log Message: ----------- BUG: linalg: fix Py3 syntax Commit: 1b3834d7b59da2e809d320992c632697355d63b6 https://github.com/numpy/numpy/commit/1b3834d7b59da2e809d320992c632697355d63b6 Author: Pauli Virtanen Date: 2013-04-12 (Fri, 12 Apr 2013) Changed paths: M numpy/linalg/tests/test_linalg.py M numpy/linalg/umath_linalg.c.src Log Message: ----------- BUG: linalg: make umath_linalg to track errors from all inner loop iterations This ensures that the FP invalid flag always reflects the return code from LAPACK. Fixes a bug in 63a8aef81 where umath_linalg raises a warning only if the error occurs in the last iteration of the ufunc inner loop. Commit: aa8fde0f62a133319cfac8e8da208fcd8e224ef1 https://github.com/numpy/numpy/commit/aa8fde0f62a133319cfac8e8da208fcd8e224ef1 Author: Pauli Virtanen Date: 2013-04-12 (Fri, 12 Apr 2013) Changed paths: M numpy/linalg/linalg.py Log Message: ----------- ENH: linalg: use signature= for internal casting rather than astype in linalg ufuncs Commit: fb9b5bd2d71c92f64f151f812b4cee08a971eb2e https://github.com/numpy/numpy/commit/fb9b5bd2d71c92f64f151f812b4cee08a971eb2e Author: Pauli Virtanen Date: 2013-04-12 (Fri, 12 Apr 2013) Changed paths: M numpy/linalg/tests/test_linalg.py Log Message: ----------- TST: linalg: test return types of generalized linalg routines Commit: 68c186d1e8413b8049128624746f29851d560f1a https://github.com/numpy/numpy/commit/68c186d1e8413b8049128624746f29851d560f1a Author: Pauli Virtanen Date: 2013-04-13 (Sat, 13 Apr 2013) Changed paths: M numpy/linalg/lapack_lite/python_xerbla.c Log Message: ----------- BUG: linalg: do not assume that GIL is enabled in xerbla_ With the new ufunc-based linalg, GIL is released in ufuncs, and needs to be reacquired when raising errors in xerbla_. Commit: 374e0b4d2c6f44fdccccfefe0546b607e5291e64 https://github.com/numpy/numpy/commit/374e0b4d2c6f44fdccccfefe0546b607e5291e64 Author: Pauli Virtanen Date: 2013-04-13 (Sat, 13 Apr 2013) Changed paths: M numpy/linalg/lapack_litemodule.c Log Message: ----------- BUG: linalg: fix LAPACK error handling in lapack_litemodule If an exception is pending (raised from xerbla), the routines must return NULL. Commit: 8eebee82b88f26f40c75422f5f655dea9f86f4b6 https://github.com/numpy/numpy/commit/8eebee82b88f26f40c75422f5f655dea9f86f4b6 Author: Pauli Virtanen Date: 2013-04-13 (Sat, 13 Apr 2013) Changed paths: M numpy/linalg/lapack_litemodule.c M numpy/linalg/tests/test_linalg.py Log Message: ----------- TST: linalg: add tests for xerbla functionality (with and without GIL) Commit: 1975606394d577421c4b4e21abb8fdadbdc572c0 https://github.com/numpy/numpy/commit/1975606394d577421c4b4e21abb8fdadbdc572c0 Author: Charles Harris Date: 2013-04-17 (Wed, 17 Apr 2013) Changed paths: M doc/source/reference/routines.linalg.rst A numpy/linalg/_gufuncs_linalg.py M numpy/linalg/bento.info R numpy/linalg/blas_lite.c M numpy/linalg/bscript R numpy/linalg/dlamch.c R numpy/linalg/dlapack_lite.c R numpy/linalg/f2c.h R numpy/linalg/f2c_lite.c A numpy/linalg/lapack_lite/blas_lite.c A numpy/linalg/lapack_lite/dlamch.c A numpy/linalg/lapack_lite/dlapack_lite.c A numpy/linalg/lapack_lite/f2c.h A numpy/linalg/lapack_lite/f2c_lite.c A numpy/linalg/lapack_lite/python_xerbla.c A numpy/linalg/lapack_lite/zlapack_lite.c M numpy/linalg/lapack_litemodule.c M numpy/linalg/linalg.py R numpy/linalg/python_xerbla.c M numpy/linalg/setup.py A numpy/linalg/tests/test_gufuncs_linalg.py M numpy/linalg/tests/test_linalg.py A numpy/linalg/umath_linalg.c.src R numpy/linalg/zlapack_lite.c Log Message: ----------- Merge pull request #3220 from pv/linalg-gu Add generalized ufunc linalg functions and make numpy.linalg use them Compare: https://github.com/numpy/numpy/compare/1a9aa5ac15df...1975606394d5 From noreply at github.com Sun Apr 21 22:46:04 2013 From: noreply at github.com (GitHub) Date: Sun, 21 Apr 2013 19:46:04 -0700 Subject: [Numpy-svn] [numpy/numpy] c879ad: 2to3: Apply types fixer. Message-ID: <5174a46cebe12_254ea75e18100193@hookshot-fe6-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: c879ad8a39f2b74edcdaa05a2f2f854fb235537d https://github.com/numpy/numpy/commit/c879ad8a39f2b74edcdaa05a2f2f854fb235537d Author: Charles Harris Date: 2013-04-14 (Sun, 14 Apr 2013) Changed paths: M numpy/compat/_inspect.py M numpy/core/fromnumeric.py M numpy/core/records.py M numpy/f2py/auxfuncs.py M numpy/f2py/cb_rules.py M numpy/f2py/cfuncs.py M numpy/f2py/crackfortran.py M numpy/f2py/f2py2e.py M numpy/f2py/rules.py M numpy/fft/helper.py M numpy/ma/tests/test_core.py M numpy/ma/tests/test_old_ma.py M numpy/oldnumeric/ma.py M numpy/testing/utils.py M tools/py3tool.py Log Message: ----------- 2to3: Apply types fixer. Python 3 removes the builtin types from the types module. The types fixer replaces such references with the builtin types where possible and also takes care of some special cases: types.TypeNone <- type(None) types.NotImplementedType <- type(NotImplemented) types.EllipsisType <- type(Ellipsis) The only two tricky substitutions are types.StringType <- bytes types.LongType <- int These are fixed up to support both Python 3 and Python 2 code by importing the long and bytes types from numpy.compat. Closes #3240. Commit: 56e806abb78ac03a5f45090a3b9bf7a6c9964026 https://github.com/numpy/numpy/commit/56e806abb78ac03a5f45090a3b9bf7a6c9964026 Author: Charles Harris Date: 2013-04-21 (Sun, 21 Apr 2013) Changed paths: M numpy/compat/_inspect.py M numpy/core/fromnumeric.py M numpy/core/records.py M numpy/f2py/auxfuncs.py M numpy/f2py/cb_rules.py M numpy/f2py/cfuncs.py M numpy/f2py/crackfortran.py M numpy/f2py/f2py2e.py M numpy/f2py/rules.py M numpy/fft/helper.py M numpy/ma/tests/test_core.py M numpy/ma/tests/test_old_ma.py M numpy/oldnumeric/ma.py M numpy/testing/utils.py M tools/py3tool.py Log Message: ----------- Merge pull request #3242 from charris/2to3-apply-types-fixer 2to3: Apply types fixer. Compare: https://github.com/numpy/numpy/compare/1975606394d5...56e806abb78a From noreply at github.com Sun Apr 21 23:25:37 2013 From: noreply at github.com (GitHub) Date: Sun, 21 Apr 2013 20:25:37 -0700 Subject: [Numpy-svn] [numpy/numpy] 3a5c54: 2to3: Apply unicode fixer. Message-ID: <5174adb1ae441_70a2a09e207657@hookshot-fe1-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 3a5c5475b5c2043dbe6791d3a5100a45d491546e https://github.com/numpy/numpy/commit/3a5c5475b5c2043dbe6791d3a5100a45d491546e Author: Charles Harris Date: 2013-04-21 (Sun, 21 Apr 2013) Changed paths: M doc/sphinxext/numpydoc/docscrape_sphinx.py M doc/sphinxext/numpydoc/numpydoc.py M doc/sphinxext/numpydoc/tests/test_docscrape.py M numpy/__init__.py M numpy/compat/py3k.py M numpy/core/numerictypes.py M numpy/core/tests/test_arrayprint.py M numpy/core/tests/test_defchararray.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_nditer.py M numpy/core/tests/test_regression.py M numpy/core/tests/test_unicode.py M numpy/lib/_iotools.py M numpy/lib/npyio.py M numpy/lib/tests/test_regression.py M numpy/ma/tests/test_regression.py M tools/py3tool.py Log Message: ----------- 2to3: Apply unicode fixer. The unicode fixer strips the u from u'hi' and converts the unicode type to str. The first won't work for Python 2 and instead we replace the u prefix with the sixu function borrowed from the six compatibility package. That function calls the unicode constructor with the 'unicode_escape' encoder so that the many tests using escaped unicode characters like u'\u0900' will be handled correctly. That makes the sixu function a bit different from the asunicode function currently in numpy.compat and also provides a target that can be converted back to the u prefix when support for Python 3.2 is dropped. Python 3.3 reintroduced the u prefix for compatibility. The unicode fixer also replaces 'unicode' with 'str' as 'unicode' is no longer a builtin in Python 3. For code compatibility, 'unicode' is defined either as 'str' or 'unicode' in numpy.compat so that checks like if isinstance(x, unicode): ... will work properly for all python versions. Closes #3089. Commit: 211154eb336f5314b33e2486fa79953c90be8a11 https://github.com/numpy/numpy/commit/211154eb336f5314b33e2486fa79953c90be8a11 Author: Charles Harris Date: 2013-04-21 (Sun, 21 Apr 2013) Changed paths: M doc/sphinxext/numpydoc/docscrape_sphinx.py Log Message: ----------- BUG: Fix typo in docscrape_sphinx.py import. Commit: ee19043127784e579a45ceb2f02ff350ec8b6019 https://github.com/numpy/numpy/commit/ee19043127784e579a45ceb2f02ff350ec8b6019 Author: Charles Harris Date: 2013-04-21 (Sun, 21 Apr 2013) Changed paths: M doc/sphinxext/numpydoc/docscrape_sphinx.py M doc/sphinxext/numpydoc/numpydoc.py M doc/sphinxext/numpydoc/tests/test_docscrape.py M numpy/__init__.py M numpy/compat/py3k.py M numpy/core/numerictypes.py M numpy/core/tests/test_arrayprint.py M numpy/core/tests/test_defchararray.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_nditer.py M numpy/core/tests/test_regression.py M numpy/core/tests/test_unicode.py M numpy/lib/_iotools.py M numpy/lib/npyio.py M numpy/lib/tests/test_regression.py M numpy/ma/tests/test_regression.py M tools/py3tool.py Log Message: ----------- Merge pull request #3257 from charris/2to3-apply-unicode-fixer 2to3: Apply unicode fixer. Compare: https://github.com/numpy/numpy/compare/56e806abb78a...ee1904312778 From noreply at github.com Wed Apr 24 21:26:50 2013 From: noreply at github.com (GitHub) Date: Wed, 24 Apr 2013 18:26:50 -0700 Subject: [Numpy-svn] [numpy/numpy] b4180e: 2to3: Stop using 2to3 and remove the tools/py3tool... Message-ID: <5178865a8a027_2c1ccb3e14405f@hookshot-fe3-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: b4180e3a3a3a85f0835019d4cb7d10357c78b76c https://github.com/numpy/numpy/commit/b4180e3a3a3a85f0835019d4cb7d10357c78b76c Author: Charles Harris Date: 2013-04-21 (Sun, 21 Apr 2013) Changed paths: M setup.py Log Message: ----------- 2to3: Stop using 2to3 and remove the tools/py3tool.py file. The same code base now supports python versions 2.6-2.7 and 3.2-3.3. Closes #3247. Commit: ede7dc46ee115687582b7013002415933244f1c7 https://github.com/numpy/numpy/commit/ede7dc46ee115687582b7013002415933244f1c7 Author: Charles Harris Date: 2013-04-21 (Sun, 21 Apr 2013) Changed paths: M doc/release/1.8.0-notes.rst Log Message: ----------- DOC: Document that the 2to3 fixer is no longer used. Commit: d6f62682483448adc8724345bad42a4740710a48 https://github.com/numpy/numpy/commit/d6f62682483448adc8724345bad42a4740710a48 Author: Charles Harris Date: 2013-04-21 (Sun, 21 Apr 2013) Changed paths: M numpy/lib/npyio.py M numpy/lib/recfunctions.py Log Message: ----------- MAINT: Use from future_builtins zip and map. For Python versions 2.6 and 2.7 the iterator forms of zip and map can be imported from future_builtins. That is done here so as to avoid using itertools.{izip, imap}. Commit: d0d8d1c1deb28fb2b43c7180cd0e293608b6964e https://github.com/numpy/numpy/commit/d0d8d1c1deb28fb2b43c7180cd0e293608b6964e Author: Charles Harris Date: 2013-04-24 (Wed, 24 Apr 2013) Changed paths: M doc/release/1.8.0-notes.rst M numpy/lib/npyio.py M numpy/lib/recfunctions.py M setup.py Log Message: ----------- Merge pull request #3266 from charris/2to3-remove-2to3-fixer 2to3 remove 2to3 fixer Compare: https://github.com/numpy/numpy/compare/ee1904312778...d0d8d1c1deb2 From noreply at github.com Thu Apr 25 09:15:26 2013 From: noreply at github.com (GitHub) Date: Thu, 25 Apr 2013 06:15:26 -0700 Subject: [Numpy-svn] [numpy/numpy] 11b2fc: MAINT: Remove the tools/py3tool.py file. Message-ID: <51792c6e11377_6345ab5e14111820@hookshot-fe4-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 11b2fcf470a5c467d8ed222e7a9e6da1d70e00fb https://github.com/numpy/numpy/commit/11b2fcf470a5c467d8ed222e7a9e6da1d70e00fb Author: Charles Harris Date: 2013-04-24 (Wed, 24 Apr 2013) Changed paths: R tools/py3tool.py Log Message: ----------- MAINT: Remove the tools/py3tool.py file. The tools/py3tool.py file was responsible for running 2to3. Now that 2to3 is no longer run it is not needed and can be removed. Commit: 65c172fda22c330773bac59fb7cf5e82a0938a63 https://github.com/numpy/numpy/commit/65c172fda22c330773bac59fb7cf5e82a0938a63 Author: njsmith Date: 2013-04-25 (Thu, 25 Apr 2013) Changed paths: R tools/py3tool.py Log Message: ----------- Merge pull request #3269 from charris/maint-remove-py3tool-file MAINT: Remove the tools/py3tool.py file. Compare: https://github.com/numpy/numpy/compare/d0d8d1c1deb2...65c172fda22c From noreply at github.com Thu Apr 25 09:20:11 2013 From: noreply at github.com (GitHub) Date: Thu, 25 Apr 2013 06:20:11 -0700 Subject: [Numpy-svn] [numpy/numpy] c92d92: MAINT: Remove unneeded version checks. Message-ID: <51792d8b73531_69ac68be10887e0@hookshot-fe2-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: c92d924dd3dfa9eb97f65848e04ec9391709bc09 https://github.com/numpy/numpy/commit/c92d924dd3dfa9eb97f65848e04ec9391709bc09 Author: Charles Harris Date: 2013-04-24 (Wed, 24 Apr 2013) Changed paths: M numpy/core/code_generators/genapi.py M numpy/core/defchararray.py M numpy/core/memmap.py M numpy/core/setup.py M numpy/core/tests/test_defchararray.py M numpy/core/tests/test_deprecations.py M numpy/core/tests/test_dtype.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_print.py M numpy/core/tests/test_umath.py M numpy/lib/npyio.py M numpy/lib/utils.py M numpy/polynomial/polyutils.py Log Message: ----------- MAINT: Remove unneeded version checks. Now that only Python versions 2.6-2.7 and 3.2-3.3 are supported some version checks are no longer needed. This patch removes them so as to clean up the code. Commit: 0291896c63201f56279c8835c59ed73fee4e1916 https://github.com/numpy/numpy/commit/0291896c63201f56279c8835c59ed73fee4e1916 Author: njsmith Date: 2013-04-25 (Thu, 25 Apr 2013) Changed paths: M numpy/core/code_generators/genapi.py M numpy/core/defchararray.py M numpy/core/memmap.py M numpy/core/setup.py M numpy/core/tests/test_defchararray.py M numpy/core/tests/test_deprecations.py M numpy/core/tests/test_dtype.py M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_print.py M numpy/core/tests/test_umath.py M numpy/lib/npyio.py M numpy/lib/utils.py M numpy/polynomial/polyutils.py Log Message: ----------- Merge pull request #3268 from charris/maint-remove-unneeded-version-checks MAINT: Remove unneeded version checks. Compare: https://github.com/numpy/numpy/compare/65c172fda22c...0291896c6320 From noreply at github.com Thu Apr 25 18:24:49 2013 From: noreply at github.com (GitHub) Date: Thu, 25 Apr 2013 15:24:49 -0700 Subject: [Numpy-svn] [numpy/numpy] 5866d0: MAINT: Update INSTALL.txt after dropping Python 2.... Message-ID: <5179ad313a58b_aacbede1c137909a@hookshot-fe3-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 5866d03ad8f06e9faea17a7e0204cbb94941744c https://github.com/numpy/numpy/commit/5866d03ad8f06e9faea17a7e0204cbb94941744c Author: Charles Harris Date: 2013-04-25 (Thu, 25 Apr 2013) Changed paths: M INSTALL.txt Log Message: ----------- MAINT: Update INSTALL.txt after dropping Python 2.4, 2.5. Make the required Python versions >= 2.6 or 3.2. Remove text specific to earlier Python versions. Commit: 7019591fa19aa0eb1a459c1e0d21b191931b1cd0 https://github.com/numpy/numpy/commit/7019591fa19aa0eb1a459c1e0d21b191931b1cd0 Author: Charles Harris Date: 2013-04-25 (Thu, 25 Apr 2013) Changed paths: M INSTALL.txt Log Message: ----------- MAINT: Improve INSTALL.txt wording and wrap lines at 75 characters. Commit: 1be5e624ba50ddf9e4d570479188e3d111522738 https://github.com/numpy/numpy/commit/1be5e624ba50ddf9e4d570479188e3d111522738 Author: njsmith Date: 2013-04-25 (Thu, 25 Apr 2013) Changed paths: M INSTALL.txt Log Message: ----------- Merge pull request #3271 from charris/maint-update-install-txt MAINT: Update INSTALL.txt after dropping Python 2.4, 2.5. Compare: https://github.com/numpy/numpy/compare/0291896c6320...1be5e624ba50 From noreply at github.com Thu Apr 25 19:23:35 2013 From: noreply at github.com (GitHub) Date: Thu, 25 Apr 2013 16:23:35 -0700 Subject: [Numpy-svn] [numpy/numpy] f23155: Fix for astype('S') string truncate issue Message-ID: <5179baf71355a_685a1285e14683cf@hookshot-fe2-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: f231558bab5be194f3a7e57ba4c9738056d3a04d https://github.com/numpy/numpy/commit/f231558bab5be194f3a7e57ba4c9738056d3a04d Author: Jay Bourque Date: 2013-04-24 (Wed, 24 Apr 2013) Changed paths: M numpy/core/src/multiarray/convert_datatype.c M numpy/core/tests/test_api.py Log Message: ----------- Fix for astype('S') string truncate issue Calling astype('S') for an array of string objects results in a string array where dtype='S64', even if the original string objects are longer than 64 characters. Add call to GetParamsFromObject() to determine maximum string object length, and use that as string dtype size. Commit: c6df6b1071fb1077dc0e116cdcd20a604221a9c6 https://github.com/numpy/numpy/commit/c6df6b1071fb1077dc0e116cdcd20a604221a9c6 Author: Jay Bourque Date: 2013-04-25 (Thu, 25 Apr 2013) Changed paths: M numpy/core/src/multiarray/convert_datatype.c M numpy/core/tests/test_api.py Log Message: ----------- Add support for unicode strings Commit: 496f68336f8a434062f61725ca22025895185cd4 https://github.com/numpy/numpy/commit/496f68336f8a434062f61725ca22025895185cd4 Author: Jay Bourque Date: 2013-04-25 (Thu, 25 Apr 2013) Changed paths: M numpy/core/src/multiarray/convert_datatype.c M numpy/core/tests/test_api.py Log Message: ----------- Add tests for strings shorter than 64 characters Commit: 1d6ced7d9be4fe3a91f3411d09c4a22309dcb719 https://github.com/numpy/numpy/commit/1d6ced7d9be4fe3a91f3411d09c4a22309dcb719 Author: Charles Harris Date: 2013-04-25 (Thu, 25 Apr 2013) Changed paths: M numpy/core/src/multiarray/convert_datatype.c M numpy/core/tests/test_api.py Log Message: ----------- Merge pull request #3270 from ContinuumIO/astype_fix Fix for astype('S') string truncate issue Compare: https://github.com/numpy/numpy/compare/1be5e624ba50...1d6ced7d9be4 From noreply at github.com Fri Apr 26 10:13:27 2013 From: noreply at github.com (GitHub) Date: Fri, 26 Apr 2013 07:13:27 -0700 Subject: [Numpy-svn] [numpy/numpy] a09fc3: ENH: remove obsolete ifort flags, ensure generated... Message-ID: <517a8b8766551_267bd5be203121b@hookshot-fe2-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a09fc3341860b9ea376c7f5769feb653414e2b67 https://github.com/numpy/numpy/commit/a09fc3341860b9ea376c7f5769feb653414e2b67 Author: David Cournapeau Date: 2013-04-23 (Tue, 23 Apr 2013) Changed paths: M numpy/distutils/fcompiler/intel.py Log Message: ----------- ENH: remove obsolete ifort flags, ensure generated binaries work everywhere. Commit: f8a21eff6a93022f31e995b41d6fe28f16e39a12 https://github.com/numpy/numpy/commit/f8a21eff6a93022f31e995b41d6fe28f16e39a12 Author: David Cournapeau Date: 2013-04-26 (Fri, 26 Apr 2013) Changed paths: M numpy/distutils/fcompiler/intel.py Log Message: ----------- Merge pull request #3272 from cournape/remove_obsolete_ifort_flags ENH: remove obsolete ifort flags Compare: https://github.com/numpy/numpy/compare/1d6ced7d9be4...f8a21eff6a93 From noreply at github.com Fri Apr 26 11:22:23 2013 From: noreply at github.com (GitHub) Date: Fri, 26 Apr 2013 08:22:23 -0700 Subject: [Numpy-svn] [numpy/numpy] f24502: BUG: Concatenate with axis None should work regard... Message-ID: <517a9baf11_27d6114fe142951@hookshot-fe2-pe1-prd.aws.github.net.mail> Branch: refs/heads/maintenance/1.7.x Home: https://github.com/numpy/numpy Commit: f2450236670389bbbf6288bd6b9515d7b6baf3ca https://github.com/numpy/numpy/commit/f2450236670389bbbf6288bd6b9515d7b6baf3ca Author: Han Genuit Date: 2013-04-25 (Thu, 25 Apr 2013) Changed paths: M numpy/core/src/multiarray/multiarraymodule.c Log Message: ----------- BUG: Concatenate with axis None should work regardless of matching array shapes Commit: bd869d0e16c96f9cfdbf3db297bbf84737f4b9a6 https://github.com/numpy/numpy/commit/bd869d0e16c96f9cfdbf3db297bbf84737f4b9a6 Author: Han Genuit Date: 2013-04-25 (Thu, 25 Apr 2013) Changed paths: M numpy/core/tests/test_shape_base.py Log Message: ----------- TST: Add test for concatenate with None-axis Conflicts: numpy/core/tests/test_shape_base.py Commit: ad08645793161d3bb61de8bdd53fda1fdf27c3ef https://github.com/numpy/numpy/commit/ad08645793161d3bb61de8bdd53fda1fdf27c3ef Author: Charles Harris Date: 2013-04-26 (Fri, 26 Apr 2013) Changed paths: M numpy/core/src/multiarray/multiarraymodule.c M numpy/core/tests/test_shape_base.py Log Message: ----------- Merge pull request #3275 from dieterv77/fix-concat-1.7.x Backport fix for np.concatenate with axis=None Compare: https://github.com/numpy/numpy/compare/e006b43c8d06...ad0864579316 From noreply at github.com Sat Apr 27 06:05:18 2013 From: noreply at github.com (GitHub) Date: Sat, 27 Apr 2013 03:05:18 -0700 Subject: [Numpy-svn] [numpy/numpy] 0a9da0: BUG: np.insert must copy index array Message-ID: <517ba2deef59_1e396f1e18457c0@hookshot-fe1-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 0a9da01121b0f13d4e87fa44fbff7ba04472e314 https://github.com/numpy/numpy/commit/0a9da01121b0f13d4e87fa44fbff7ba04472e314 Author: Sebastian Berg Date: 2013-04-27 (Sat, 27 Apr 2013) Changed paths: M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- BUG: np.insert must copy index array Otherwise it would do in-place changes to it. Fixes gh-3279. Commit: 0d9eac4bb25d43f3908efc54fd59348345e06c54 https://github.com/numpy/numpy/commit/0d9eac4bb25d43f3908efc54fd59348345e06c54 Author: seberg Date: 2013-04-27 (Sat, 27 Apr 2013) Changed paths: M numpy/lib/function_base.py M numpy/lib/tests/test_function_base.py Log Message: ----------- Merge pull request #3280 from seberg/issue-3279 BUG: np.insert must copy index array Compare: https://github.com/numpy/numpy/compare/f8a21eff6a93...0d9eac4bb25d From noreply at github.com Sat Apr 27 20:13:04 2013 From: noreply at github.com (GitHub) Date: Sat, 27 Apr 2013 17:13:04 -0700 Subject: [Numpy-svn] [numpy/numpy] 4e6b48: Update masked array copy to preserve array order Message-ID: <517c69904dbe4_17f7da9e1812628@hookshot-fe2-pe1-prd.aws.github.net.mail> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 4e6b48e65ed839ab57eb66e38f9b08f3f43163be https://github.com/numpy/numpy/commit/4e6b48e65ed839ab57eb66e38f9b08f3f43163be Author: jamestwebber Date: 2013-04-20 (Sat, 20 Apr 2013) Changed paths: M numpy/ma/core.py Log Message: ----------- Update masked array copy to preserve array order Using 'K' to try to match array order, fixes https://github.com/numpy/numpy/issues/3156 Commit: abaf953637e92a622c1b0d797ec77f05a7c6e600 https://github.com/numpy/numpy/commit/abaf953637e92a622c1b0d797ec77f05a7c6e600 Author: jamestwebber Date: 2013-04-20 (Sat, 20 Apr 2013) Changed paths: M numpy/ma/tests/test_core.py Log Message: ----------- Adding a test for #3265 Test to ensure that MaskedArray.filled() doesn't change the order of the array. This test is a little messy because there are problems constructing an F-contiguous masked array in the first place. I had to explicitly pass in F-contiguous arrays for data and mask. Commit: a8805f65d25e7268a722da47d490167d99e1559f https://github.com/numpy/numpy/commit/a8805f65d25e7268a722da47d490167d99e1559f Author: Charles Harris Date: 2013-04-27 (Sat, 27 Apr 2013) Changed paths: M numpy/ma/core.py M numpy/ma/tests/test_core.py Log Message: ----------- Merge pull request #3265 from jamestwebber/patch-2 Update masked array copy to preserve array order Compare: https://github.com/numpy/numpy/compare/0d9eac4bb25d...a8805f65d25e