[Numpy-svn] [numpy/numpy] a1b9a1: BUG: datetime: Make datetime_as_string produce a U...

noreply@githu... noreply@githu...
Sat Oct 1 10:50:23 CDT 2011


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy

  Commit: a1b9a1aa76a76570224161316d7b20e7fc8464a2
      https://github.com/numpy/numpy/commit/a1b9a1aa76a76570224161316d7b20e7fc8464a2
  Author: Mark Wiebe <mwwiebe@gmail.com>
  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 <mwwiebe@gmail.com>
  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 <mwwiebe@gmail.com>
  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 <mwwiebe@gmail.com>
  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 <mwwiebe@gmail.com>
  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 <mwwiebe@gmail.com>
  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 <mwwiebe@gmail.com>
  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 <mwwiebe@gmail.com>
  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 <mwwiebe@gmail.com>
  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 <mwwiebe@gmail.com>
  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 <mwwiebe@gmail.com>
  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 <mwwiebe@gmail.com>
  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 <charlesr.harris@gmail.com>
  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


More information about the Numpy-svn mailing list