summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* FIX: handle empty arrays in rollDenis Laxalde2012-05-081-6/+9
|
* FIX: roll raises a ValueError is axis > ndimDenis Laxalde2012-05-081-1/+4
|
* TST: add tests for roll functionDenis Laxalde2012-05-081-0/+22
|
* BUG: ufunc: The refactored reduction code didn't work with object arraysMark Wiebe2012-05-082-6/+36
|
* Merge pull request #272 from mwiebe/datetime64_compareStefan van der Walt2012-05-072-1/+17
|\ | | | | BUG: umath: greater_equal ufunc was using the wrong type resolver
| * BUG: umath: greater_equal ufunc was using the wrong type resolver, failed ↵Mark Wiebe2012-05-072-1/+17
|/ | | | | | with datetime64 This bug was found by running the pandas master against numpy master.
* REL: change Sphinx version in release script to 1.1.3.Ralf Gommers2012-05-042-2/+2
| | | | | | | | Version 1.0.4 was used till now, but has become too old. New version gives far fewer warnings and thereby increases the reference guide with O(100) pages that previously got lost. Also update current Cython version number.
* BUG: Fix some test bugs.Charles Harris2012-05-022-7/+7
| | | | | Fix incorrect python version checks in test_print.py. Fix missing build_err_msg import and wrong variable in test_io.py.
* DOC: Add datetime to the changed items in the release notes.Charles Harris2012-05-011-0/+7
|
* DOC: Add a section documenting 1.6/1.7 datetime64 differencesMark Wiebe2012-05-011-0/+127
|
* REF: simplify top bscript file.David Cournapeau2012-04-231-89/+20
|
* STY: Whitespace cleanups.Charles Harris2012-04-213-4/+3
|
* WRN: Remove unused function prototype from ctors.h.Charles Harris2012-04-211-4/+0
|
* WRN: Fix unused variable compiler warnings in scalarmathmodule.c.src.Charles Harris2012-04-211-84/+227
| | | | | | | | Two templates were broken up and specialized. The corresponding substitution loops could also be specialized, but this wasn't done this time through. Breaking up the templates clarifies the code at the expense of extra text, but I think the improved clarity is a good tradeoff.
* WRN: Fixed some unused variable compiler warnings in arraytypes.c.src.Charles Harris2012-04-211-2/+29
| | | | | Also break templated @from@_to_@to@ functions into two templates to simplify the code a bit.
* STY: Remove unused functions.Charles Harris2012-04-212-46/+0
| | | | MyPyUnicode_Resize and MyPyUnicode_New are no longer used, so remove them.
* BUG: ticket #1578, fix PyArray_Scalar.Charles Harris2012-04-211-17/+28
| | | | | | | | PyArray_Scalar needed to use PyObject_* memory management since the numpy unicode object inherits tp_alloc from PyUnicode_Type. Observation: realloc returns null on error and that isn't always checked in Numpy.
* BUG: ticket #1578, fix UNICODE_getitem.Charles Harris2012-04-211-49/+4
| | | | | Use PyUnicode_FromUCS4 in UNICODE_getitime so that the same memory management is used for all parts of the returned PyUnicodeObject.
* ENH: Add PyUnicode_FromUCS4 to ucsnarrow.Charles Harris2012-04-212-0/+87
|
* ENH: Always include ucsnarray.h and ucsnarray.cCharles Harris2012-04-215-16/+4
| | | | | This removes the include dependency on PY_UNICODE_WIDE in preparation for defining more general unicode functions in the ucsnarray.c file.
* ENH: Fix bento script to always include ucsnarray.h and ucsnarrow.c.Charles Harris2012-04-211-28/+27
| | | | This fix is kept separate to facilitate cherry picking for a backport.
* DOC: fix link and add explanation on how to run examples.Ralf Gommers2012-04-181-2/+16
|
* Merge pull request #253 from charris/fix-filter-importwarningsRalf Gommers2012-04-151-15/+15
|\ | | | | | | | | Fix filter importwarnings This PR fixes the issue left over from merging PR-251.
| * FIX: Implement Ralph's suggestion of removing category.Charles Harris2012-04-151-6/+2
| |
| * BUG: Fix testing failure on missing ImportWarning in Python 2.4.Charles Harris2012-04-151-14/+18
| |
* | BLD: fix build error on Windows with MSVC9. Thanks to Christoph Gohlke.Ralf Gommers2012-04-151-1/+1
|/
* BUG: Find only platform-specific dlls in winsxs directory.Han Genuit2012-04-151-1/+5
|
* ENH: Use get_mktime as wrapper for mktime.Han Genuit2012-04-151-3/+1
|
* ENH: Add get_mktime function to support multiple platforms.hangenuit@gmail.com2012-04-151-0/+31
|
* BUG: Force MinGW to use 64-bits time type.Han Genuit2012-04-151-3/+7
|
* Merge pull request #251 from rgommers/no-importwarningsCharles Harris2012-04-151-0/+3
|\ | | | | TST: filter ImportWarnings in NoseTester.
| * TST: filter ImportWarnings in NoseTester.Ralf Gommers2012-04-141-0/+3
| | | | | | | | | | | | | | | | | | | | Warnings show up when a directory with the same name as a Python file or compiled extension is seen which doesn't have an __init__.py file in it. This situation is very common, for example in SciPy where many extensions are created from source files located under a directory with the same name. This filter is located within a context manager, so only filters when running tests.
* | Merge pull request #252 from rgommers/ticket-2103-cython-warningCharles Harris2012-04-152-34/+46
|\ \ | | | | | | Fix some test warnings
| * | TST: remove spurious warning for optional dependency pytz.Ralf Gommers2012-04-151-33/+35
| | |
| * | TST: filter Cython warning on import of random module. Closes #2103.Ralf Gommers2012-04-151-1/+11
| |/
* | Revert "BUG: ticket #1578, Fix python-debug warning for python >= 2.7."Charles Harris2012-04-142-18/+4
|/ | | | | | | | | | | This reverts commit 0a3a954c3750419552c076aa444563ac20def14a. The fix caused segfaults for python built using the default ucs2 unicode size. It looks like the cause is memory corruption in the PyObject pooled memory. In particular, the routines in ucsnarrow.c lack the checks and fallbacks present in the original Python source code in Objects/unicodeobject.c. I think the best fix is to rewrite the relevant bits of numpy code so that they don't use the MyPyUnicode_* routines at all, but rather the routines present in Python.
* FEAT: update to last bento+waf.David Cournapeau2012-04-133-14/+2
|
* Merge pull request #250 from charris/fix-debug-crashTravis E. Oliphant2012-04-112-1/+6
|\ | | | | BUG: Fix segfault when tests are run with python 2.7 debug.
| * BUG: Fix segfault when tests are run with python 2.7 debug.Charles Harris2012-04-112-1/+6
|/ | | | | | I don't know that the crash is python2.7 specific, it may also occur in earlier versions of python. The cause was mismatched memory allocation/deallocation of maskna data.
* TST: Add test for ticket #1578Charles Harris2012-04-111-0/+7
| | | | | | | The usefullness of this test is questionable, as it only shows up as a core dump when run under python-debug for python versions >= 2.7, and then it will only fail if run before other failing tests. It is included as it may be useful as a record.
* STY: Small style fixes.Charles Harris2012-04-111-14/+16
|
* BUG: ticket #1578, Fix python-debug warning for python >= 2.7.Charles Harris2012-04-112-4/+18
| | | | | | | | In Python >= 2.7 the memory management of unicode objects changed from PyMem_* to PyObject_*. Numpy had its own modified copy of some of the Python code for handling unicode objects and it needed to be updated to deal with the change. Thanks to Joseph Miessner for tracking this down and finding the fix.
* Merge pull request #249 from tonysyu/fix-split-docRalf Gommers2012-04-101-5/+5
|\ | | | | DOC: Fix outdated docstring for `split` and `array_split`.
| * DOC: Fix outdated docstring.Tony S Yu2012-04-091-5/+5
|/ | | | Equal and nearly-equal size requirement is not true when passing a 1-D array of indices.
* BUG: fix regression for indexing chararrays with empty list. Closes #1948.Ralf Gommers2012-04-072-1/+8
|
* WRN: Fix some compiler warnings.Charles Harris2012-04-066-27/+38
|
* BUG: old_defines.h needs a guard.Charles Harris2012-04-061-0/+5
|
* ENH: Check that npy_no_deprecated_api.h is included before it is needed.Charles Harris2012-04-061-3/+12
|
* STY: Remove trailing whitespace.Charles Harris2012-04-061-1/+1
|
* UPD: Regenerate mtrand.cCharles Harris2012-04-061-3252/+3253
|