From noreply at github.com Sat Oct 1 11:50:23 2011 From: noreply at github.com (noreply at github.com) Date: Sat, 1 Oct 2011 08:50:23 -0700 Subject: [Numpy-svn] [numpy/numpy] a1b9a1: BUG: datetime: Make datetime_as_string produce a U... Message-ID: <20111001155026.54CD642876@smtp1.rs.github.com> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: a1b9a1aa76a76570224161316d7b20e7fc8464a2 https://github.com/numpy/numpy/commit/a1b9a1aa76a76570224161316d7b20e7fc8464a2 Author: Mark Wiebe Date: 2011-10-01 (Sat, 01 Oct 2011) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/datetime.c M numpy/core/src/multiarray/datetime_busdaycal.c M numpy/core/src/multiarray/datetime_strings.c M numpy/core/src/multiarray/shape.c Log Message: ----------- BUG: datetime: Make datetime_as_string produce a UNICODE array instead of STRING array on Python3 Commit: f0d8fede3ae93c5e07257d176d275393fc66abd7 https://github.com/numpy/numpy/commit/f0d8fede3ae93c5e07257d176d275393fc66abd7 Author: Mark Wiebe Date: 2011-10-01 (Sat, 01 Oct 2011) Changed paths: M numpy/core/src/multiarray/datetime.c Log Message: ----------- BUG: datetime: Fix str() function of datetime arrays Done by making the unit given by datetime_data be a string instead of bytes in Python 3. Commit: e1a66b674e4f1f04a94b4bfc412d58045d64406a https://github.com/numpy/numpy/commit/e1a66b674e4f1f04a94b4bfc412d58045d64406a Author: Mark Wiebe Date: 2011-10-01 (Sat, 01 Oct 2011) Changed paths: M numpy/core/code_generators/generate_umath.py M numpy/core/src/umath/loops.h M numpy/core/src/umath/loops.h.src Log Message: ----------- BUG: datetime: Fix timedelta / timedelta -> float64 on Python 3 Commit: 231b96a460b86f6f8867be6f5b8261fbd3784ebe https://github.com/numpy/numpy/commit/231b96a460b86f6f8867be6f5b8261fbd3784ebe Author: Mark Wiebe Date: 2011-10-01 (Sat, 01 Oct 2011) Changed paths: M numpy/core/include/numpy/npy_3kcompat.h M numpy/core/src/multiarray/arrayobject.c M numpy/core/src/multiarray/buffer.c M numpy/core/src/multiarray/calculation.c M numpy/core/src/multiarray/common.c M numpy/core/src/multiarray/convert.c M numpy/core/src/multiarray/datetime_strings.c M numpy/core/src/multiarray/getset.c M numpy/core/src/multiarray/item_selection.c M numpy/core/src/multiarray/iterators.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/methods.c M numpy/core/src/multiarray/nditer_pywrap.c M numpy/core/src/multiarray/number.c M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/src/multiarray/sequence.c M numpy/core/src/multiarray/shape.c M numpy/core/tests/test_datetime.py Log Message: ----------- WRN: Remove many warnings when building at a higher warning level This includes warnings about shadowed variables, some bad casts, and others. Fixing these warnings also fixed a memory leak in one instance. Commit: d81a85cbdbd8d59df8b8166badaf369cb2f03ff9 https://github.com/numpy/numpy/commit/d81a85cbdbd8d59df8b8166badaf369cb2f03ff9 Author: Mark Wiebe Date: 2011-10-01 (Sat, 01 Oct 2011) Changed paths: M numpy/core/src/multiarray/scalartypes.c.src Log Message: ----------- BUG: Add %lld exception for Python 3.1 as well Commit: ee33440f2b9e553228aed83bdbd8d61e63316c00 https://github.com/numpy/numpy/commit/ee33440f2b9e553228aed83bdbd8d61e63316c00 Author: Mark Wiebe Date: 2011-10-01 (Sat, 01 Oct 2011) Changed paths: M numpy/core/src/multiarray/number.c M numpy/core/src/multiarray/sequence.c Log Message: ----------- STY: Fix a few cases of spaces not following conventions Commit: 0d231984bb867eb1634f3b92a76dcd9c4958c7f3 https://github.com/numpy/numpy/commit/0d231984bb867eb1634f3b92a76dcd9c4958c7f3 Author: Mark Wiebe Date: 2011-10-01 (Sat, 01 Oct 2011) Changed paths: M numpy/core/tests/test_datetime.py Log Message: ----------- TST: Add true_divide and floor_divide tests for the mm_d timedelta case Commit: d4160e319acf29c383285f89818500a1fa900613 https://github.com/numpy/numpy/commit/d4160e319acf29c383285f89818500a1fa900613 Author: Mark Wiebe Date: 2011-10-01 (Sat, 01 Oct 2011) Changed paths: M LICENSE.txt Log Message: ----------- DOC: Update year range in LICENSE.txt copyright Commit: 90a54f4683926ffbe158f0d0ace76cf6a6a3bee3 https://github.com/numpy/numpy/commit/90a54f4683926ffbe158f0d0ace76cf6a6a3bee3 Author: Mark Wiebe Date: 2011-10-01 (Sat, 01 Oct 2011) Changed paths: M numpy/core/code_generators/generate_umath.py M numpy/core/src/umath/loops.h.src M numpy/core/tests/test_datetime.py Log Message: ----------- BUG: Remove floor_divide support for timedelta64 // timedelta64 Commit: 6a3ca96df7179e745c76dc09a67bf37af3d818ce https://github.com/numpy/numpy/commit/6a3ca96df7179e745c76dc09a67bf37af3d818ce Author: Mark Wiebe Date: 2011-10-01 (Sat, 01 Oct 2011) Changed paths: M numpy/core/tests/test_datetime.py Log Message: ----------- TST: Add tests for the Y2038 problem This only seems to be cropping up on 32-bit Linux, where time_t is 32 bits, and there appears to be no 64-bit time_t extension like on Windows. Commit: b1e5fa05ad4803856ec3272a900707eaf4a7f92e https://github.com/numpy/numpy/commit/b1e5fa05ad4803856ec3272a900707eaf4a7f92e Author: Mark Wiebe Date: 2011-10-01 (Sat, 01 Oct 2011) Changed paths: M numpy/core/src/multiarray/datetime_strings.c Log Message: ----------- BUG: Attempt to fix the Y2038 problem parsing dates >= 2038 Also incorporated part of Han Genuit's pull request #23, to try and reduce the difficulty dealing with the merge conflict that will result from these concurrent changes Commit: 55df3c69a986423b0c1839395d3f385f0d5e236a https://github.com/numpy/numpy/commit/55df3c69a986423b0c1839395d3f385f0d5e236a Author: Mark Wiebe Date: 2011-10-01 (Sat, 01 Oct 2011) Changed paths: M numpy/core/src/multiarray/datetime_strings.c Log Message: ----------- BUG: Attempt Y2038 fix, and restrict local timezone parsing to 1970 and later, because of Win32 On MS Windows, dates earlier than 1970 cause mktime to error. This patch also applies to parsing the same Y2038 hack that was done for printing. Commit: 10ed90c3424a7621188f5b4736c08692836cdf5a https://github.com/numpy/numpy/commit/10ed90c3424a7621188f5b4736c08692836cdf5a Author: Charles Harris Date: 2011-10-01 (Sat, 01 Oct 2011) Changed paths: M LICENSE.txt M numpy/core/code_generators/generate_umath.py M numpy/core/include/numpy/npy_3kcompat.h M numpy/core/src/multiarray/arrayobject.c M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/buffer.c M numpy/core/src/multiarray/calculation.c M numpy/core/src/multiarray/common.c M numpy/core/src/multiarray/convert.c M numpy/core/src/multiarray/datetime.c M numpy/core/src/multiarray/datetime_busdaycal.c M numpy/core/src/multiarray/datetime_strings.c M numpy/core/src/multiarray/getset.c M numpy/core/src/multiarray/item_selection.c M numpy/core/src/multiarray/iterators.c M numpy/core/src/multiarray/mapping.c M numpy/core/src/multiarray/methods.c M numpy/core/src/multiarray/nditer_pywrap.c M numpy/core/src/multiarray/number.c M numpy/core/src/multiarray/scalartypes.c.src M numpy/core/src/multiarray/sequence.c M numpy/core/src/multiarray/shape.c M numpy/core/src/umath/loops.h M numpy/core/src/umath/loops.h.src M numpy/core/tests/test_datetime.py Log Message: ----------- Merge branch 'pull-161' * pull-161: BUG: Attempt Y2038 fix, and restrict local timezone parsing to 1970 and later, because of Win32 BUG: Attempt to fix the Y2038 problem parsing dates >= 2038 TST: Add tests for the Y2038 problem BUG: Remove floor_divide support for timedelta64 // timedelta64 DOC: Update year range in LICENSE.txt copyright TST: Add true_divide and floor_divide tests for the mm_d timedelta case STY: Fix a few cases of spaces not following conventions BUG: Add %lld exception for Python 3.1 as well WRN: Remove many warnings when building at a higher warning level BUG: datetime: Fix timedelta / timedelta -> float64 on Python 3 BUG: datetime: Fix str() function of datetime arrays BUG: datetime: Make datetime_as_string produce a UNICODE array instead of STRING array on Python3 Compare: https://github.com/numpy/numpy/compare/fac8674...10ed90c From noreply at github.com Sat Oct 1 12:18:35 2011 From: noreply at github.com (noreply at github.com) Date: Sat, 1 Oct 2011 09:18:35 -0700 Subject: [Numpy-svn] [numpy/numpy] dadf7e: PyArray_FromBuffer: Allow creating arrays from emp... Message-ID: <20111001161835.9EAC94285F@smtp1.rs.github.com> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: dadf7ed8b3bfb10ee3249918a9d48e4a3e3f0e7c https://github.com/numpy/numpy/commit/dadf7ed8b3bfb10ee3249918a9d48e4a3e3f0e7c Author: Hrvoje Niksic Date: 2011-10-01 (Sat, 01 Oct 2011) Changed paths: M numpy/core/src/multiarray/ctors.c M numpy/core/tests/test_multiarray.py Log Message: ----------- PyArray_FromBuffer: Allow creating arrays from empty buffers or empty slices. From noreply at github.com Sun Oct 2 12:43:26 2011 From: noreply at github.com (noreply at github.com) Date: Sun, 2 Oct 2011 09:43:26 -0700 Subject: [Numpy-svn] [numpy/numpy] 943f2b: BUG: fixing reference leak in OBJECT_fill Message-ID: <20111002164326.E369F42666@smtp1.rs.github.com> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 943f2b19591a93fe8385a2ed437bf5eafe4aefec https://github.com/numpy/numpy/commit/943f2b19591a93fe8385a2ed437bf5eafe4aefec Author: Christopher L. Farrow Date: 2011-10-02 (Sun, 02 Oct 2011) Changed paths: M numpy/core/src/multiarray/arraytypes.c.src Log Message: ----------- BUG: fixing reference leak in OBJECT_fill Commit: b331af180ce13dded190045f2ecccc4b1ce12464 https://github.com/numpy/numpy/commit/b331af180ce13dded190045f2ecccc4b1ce12464 Author: Christopher L. Farrow Date: 2011-10-02 (Sun, 02 Oct 2011) Changed paths: M numpy/core/src/multiarray/scalartypes.c.src Log Message: ----------- BUG: Fixed reference leak when gen_arraytype_subscript fails Commit: 63dff6b50eeb090fac208ac09cd7e2e977a531ae https://github.com/numpy/numpy/commit/63dff6b50eeb090fac208ac09cd7e2e977a531ae Author: Christopher L. Farrow Date: 2011-10-02 (Sun, 02 Oct 2011) Changed paths: M numpy/core/src/multiarray/scalarapi.c Log Message: ----------- BUG: fixed reference counting bug in PyArray_FromScalar that occurs when using an extended dtype Commit: 1f20595a834712e2e8451cd10a2b04b638bef72a https://github.com/numpy/numpy/commit/1f20595a834712e2e8451cd10a2b04b638bef72a Author: Christopher L. Farrow Date: 2011-10-02 (Sun, 02 Oct 2011) Changed paths: M numpy/core/src/multiarray/methods.c Log Message: ----------- BUG: fixed reference leak when new record dtype squashed old one in sort Commit: be52978667fd10d26c9c0013385513eaece78dd3 https://github.com/numpy/numpy/commit/be52978667fd10d26c9c0013385513eaece78dd3 Author: Christopher L. Farrow Date: 2011-10-02 (Sun, 02 Oct 2011) Changed paths: M numpy/core/src/multiarray/datetime.c Log Message: ----------- BUG: Fixing reference leak in datetime metadata retrieval Commit: 3a7e61c7d55be9a84929747c38cd71e62593129d https://github.com/numpy/numpy/commit/3a7e61c7d55be9a84929747c38cd71e62593129d Author: Christopher L. Farrow Date: 2011-10-02 (Sun, 02 Oct 2011) Changed paths: M numpy/core/src/multiarray/arrayobject.c Log Message: ----------- BUG: Fixed reference count bug where scalar value assignment by field to an array would increment the reference count of the scalar. Commit: 3927c3aa28ea2ed8dbb5228de3e69928972da412 https://github.com/numpy/numpy/commit/3927c3aa28ea2ed8dbb5228de3e69928972da412 Author: Christopher L. Farrow Date: 2011-10-02 (Sun, 02 Oct 2011) Changed paths: M numpy/core/src/multiarray/ctors.c Log Message: ----------- BUG: porting bugfix from refactor @ 3da77df Commit: 7471adc81aa9312d80ce62bee4485221682d12ef https://github.com/numpy/numpy/commit/7471adc81aa9312d80ce62bee4485221682d12ef Author: Christopher L. Farrow Date: 2011-10-02 (Sun, 02 Oct 2011) Changed paths: M numpy/core/src/multiarray/iterators.c Log Message: ----------- BUG: porting bugfix from refactor @ 708d6be Commit: 8e606173b3436c641adc07b826866542e7ce5ff7 https://github.com/numpy/numpy/commit/8e606173b3436c641adc07b826866542e7ce5ff7 Author: Christopher L. Farrow Date: 2011-10-02 (Sun, 02 Oct 2011) Changed paths: M numpy/core/src/multiarray/ctors.c Log Message: ----------- BUG: fixing reference leak from the numpy refactor @ 4c21144 Commit: 2e899dd23bc36ffad5590c8bc11de22d51a16966 https://github.com/numpy/numpy/commit/2e899dd23bc36ffad5590c8bc11de22d51a16966 Author: Christopher L. Farrow Date: 2011-10-02 (Sun, 02 Oct 2011) Changed paths: M numpy/core/src/multiarray/arrayobject.c Log Message: ----------- BUG: Fixing reference counting bug in array comparison Compare: https://github.com/numpy/numpy/compare/dadf7ed...2e899dd From noreply at github.com Tue Oct 4 16:46:58 2011 From: noreply at github.com (noreply at github.com) Date: Tue, 4 Oct 2011 13:46:58 -0700 Subject: [Numpy-svn] [numpy/numpy] 35952a: DOC: describe required version of GCC in MinGW on ... Message-ID: <20111004204658.CD086426FA@smtp1.rs.github.com> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 35952aaed7caa1307a7551c053d0ac57fef047d4 https://github.com/numpy/numpy/commit/35952aaed7caa1307a7551c053d0ac57fef047d4 Author: Ralf Gommers Date: 2011-10-04 (Tue, 04 Oct 2011) Changed paths: M doc/HOWTO_RELEASE.rst.txt Log Message: ----------- DOC: describe required version of GCC in MinGW on Windows in release doc. From noreply at github.com Sat Oct 8 09:17:31 2011 From: noreply at github.com (noreply at github.com) Date: Sat, 8 Oct 2011 06:17:31 -0700 Subject: [Numpy-svn] [numpy/numpy] fcae1e: BUG: core: fix compilation for UCS-narrow Message-ID: <20111008131731.28D14427E5@smtp1.rs.github.com> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: fcae1eda38cfe8daba63d79356c2d231ef311721 https://github.com/numpy/numpy/commit/fcae1eda38cfe8daba63d79356c2d231ef311721 Author: Pauli Virtanen Date: 2011-10-08 (Sat, 08 Oct 2011) Changed paths: M numpy/core/include/numpy/noprefix.h M numpy/core/include/numpy/old_defines.h Log Message: ----------- BUG: core: fix compilation for UCS-narrow From noreply at github.com Mon Oct 10 04:16:38 2011 From: noreply at github.com (noreply at github.com) Date: Mon, 10 Oct 2011 01:16:38 -0700 Subject: [Numpy-svn] [numpy/numpy] efe04c: DOC: mention that NpzFile instances must be closed... Message-ID: <20111010081638.858AC426C4@smtp1.rs.github.com> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: efe04c8205e39d1edfe206df1c865c99bbd3af66 https://github.com/numpy/numpy/commit/efe04c8205e39d1edfe206df1c865c99bbd3af66 Author: David Cournapeau Date: 2011-10-10 (Mon, 10 Oct 2011) Changed paths: M numpy/lib/npyio.py Log Message: ----------- DOC: mention that NpzFile instances must be closed. Commit: 1dc1877493312eb5fe107729a9309e8636968891 https://github.com/numpy/numpy/commit/1dc1877493312eb5fe107729a9309e8636968891 Author: David Cournapeau Date: 2011-10-10 (Mon, 10 Oct 2011) Changed paths: M numpy/lib/npyio.py Log Message: ----------- ENH: add context manager for NpzFile class. Compare: https://github.com/numpy/numpy/compare/fcae1ed...1dc1877 From noreply at github.com Mon Oct 17 17:18:23 2011 From: noreply at github.com (noreply at github.com) Date: Mon, 17 Oct 2011 14:18:23 -0700 Subject: [Numpy-svn] [numpy/numpy] ec56ee: BLD: fix up detection of Intel CPU on OS X in syst... Message-ID: <20111017211823.3C63742528@smtp1.rs.github.com> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: ec56ee1c4ef750c9db7b2ab6ab4bf1658971a070 https://github.com/numpy/numpy/commit/ec56ee1c4ef750c9db7b2ab6ab4bf1658971a070 Author: Ralf Gommers Date: 2011-10-17 (Mon, 17 Oct 2011) Changed paths: M numpy/distutils/system_info.py Log Message: ----------- BLD: fix up detection of Intel CPU on OS X in system_info.py. From noreply at github.com Sun Oct 23 12:08:01 2011 From: noreply at github.com (noreply at github.com) Date: Sun, 23 Oct 2011 09:08:01 -0700 Subject: [Numpy-svn] [numpy/numpy] 31c290: ENH: Add 'pgfortran' as a valid compiler in the Po... Message-ID: <20111023160801.600D842635@smtp1.rs.github.com> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 31c29026bdde0735aceeebeb2e050f0c52fb1146 https://github.com/numpy/numpy/commit/31c29026bdde0735aceeebeb2e050f0c52fb1146 Author: tim cera Date: 2011-10-23 (Sun, 23 Oct 2011) Changed paths: M numpy/distutils/fcompiler/pg.py Log Message: ----------- ENH: Add 'pgfortran' as a valid compiler in the Portland Group suite of fortran compilers. Adjust the version string command. From noreply at github.com Sun Oct 23 15:41:22 2011 From: noreply at github.com (noreply at github.com) Date: Sun, 23 Oct 2011 12:41:22 -0700 Subject: [Numpy-svn] [numpy/numpy] 6fc073: ENH: Explicitly coded argmin for timedelta Message-ID: <20111023194122.1318842588@smtp1.rs.github.com> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 6fc0737d623f3065eb6fe720ce13cf1ef07cfdfe https://github.com/numpy/numpy/commit/6fc0737d623f3065eb6fe720ce13cf1ef07cfdfe Author: Ben Root Date: 2011-10-23 (Sun, 23 Oct 2011) Changed paths: M numpy/core/include/numpy/ndarraytypes.h M numpy/core/src/multiarray/arraytypes.c.src M numpy/core/src/multiarray/calculation.c M numpy/core/src/multiarray/usertypes.c M numpy/core/tests/test_multiarray.py Log Message: ----------- ENH: Explicitly coded argmin for timedelta Commit: d7b59fec39103bdce756f223e8a0267d749bd58d https://github.com/numpy/numpy/commit/d7b59fec39103bdce756f223e8a0267d749bd58d Author: Charles Harris Date: 2011-10-23 (Sun, 23 Oct 2011) Changed paths: M numpy/core/src/multiarray/calculation.c Log Message: ----------- STY: Some coding style fixups. Commit: 4daf94998a2d69c8039cdc883d76ee340e31880b https://github.com/numpy/numpy/commit/4daf94998a2d69c8039cdc883d76ee340e31880b Author: Charles Harris Date: 2011-10-23 (Sun, 23 Oct 2011) Changed paths: M numpy/core/src/umath/funcs.inc.src M numpy/core/tests/test_multiarray.py M numpy/core/tests/test_umath.py Log Message: ----------- BUG: Fix maximum/minimum for object arrays in Python 3. Use PyObject_RichCompareBool instead of PyObject_Cmp. Compare: https://github.com/numpy/numpy/compare/31c2902...4daf949 From noreply at github.com Sat Oct 29 12:01:18 2011 From: noreply at github.com (noreply at github.com) Date: Sat, 29 Oct 2011 09:01:18 -0700 Subject: [Numpy-svn] [numpy/numpy] 729778: BLD: add support for the new X11 directory structu... Message-ID: <20111029160118.23D9142937@smtp1.rs.github.com> Branch: refs/heads/master Home: https://github.com/numpy/numpy Commit: 729778534afcfd54008020cfeb9c39c37d9e429b https://github.com/numpy/numpy/commit/729778534afcfd54008020cfeb9c39c37d9e429b Author: Raymond Roberts Date: 2011-10-29 (Sat, 29 Oct 2011) Changed paths: M numpy/distutils/system_info.py Log Message: ----------- BLD: add support for the new X11 directory structure on Ubuntu & co.