summaryrefslogtreecommitdiff
path: root/numpy/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* BUG: Python 2.4 doesn't support "with" statement, use try instead.Charles Harris2010-04-131-1/+3
|
* BUG: Deprecate ufunclike.log2 and take it off the __all__ list. It was shadowingCharles Harris2010-04-131-1/+6
| | | | the ufunc of the same name.
* ENH: Rewrite doctest in test_ufunclike.py as normal nose tests. Remove test ofCharles Harris2010-04-131-74/+60
| | | | sign ufunc, it belongs elsewhere.
* ENH: get rid of #warning directives, either by fixing the issue or changing ↵Pauli Virtanen2010-04-041-3/+3
| | | | them to comments
* BUG: fix div by zero handling in nper.David Cournapeau2010-03-312-9/+19
|
* BUG: move test from core to lib, mark it as deprected.David Cournapeau2010-03-311-0/+11
|
* BUG: fix kaiser for M=1.David Cournapeau2010-03-312-1/+3
|
* BUG: Should be using StringIO, not BytesIO. The 2to3 script takes careCharles Harris2010-03-271-6/+3
| | | | of changing the module to import from to io.
* * Fixed merge_arrays for arrays of size 1 (bug #1407)pierregm2010-03-262-90/+130
| | | | * merge_arrays now accepts sequences of lists/tuples as inputs
* BUG: Update StringIO in _lookfor_generate_cache for Python3.x.Charles Harris2010-03-251-8/+10
| | | | Make small cleanup.
* CLN: Small cleanups. Fix docstring examples.Charles Harris2010-03-251-11/+6
|
* Rename numpy/lib/io.py to numpy/lib/npyio.py. The py3tool can probably beCharles Harris2010-03-242-2/+2
| | | | cleaned up a bit more with this change, but that is for later.
* * Use putmask instead of fancy indexing in _nanop (bug #1421)pierregm2010-03-222-383/+395
|
* BUG: lib: fix #1435, np.gradient should use zeros_likePauli Virtanen2010-03-182-1/+6
| | | | Thanks to Ryan May for the patch.
* minor change to ufunclike.fix, one less array to build and make compatibleDarren Dale2010-03-142-2/+20
| | | | with subclasses of ndarray
* DOC - fix doc errorMatthew Brett2010-03-111-1/+1
|
* BUG: Replace deprecated PyCObject by PyCapsule for Python >= 3.1.Charles Harris2010-02-231-7/+12
|
* BUG: Workarounds for isfinite/isinf invalid values.Charles Harris2010-02-211-6/+6
|
* BUG: Fix possibly unbalanced seterr pairs. Fixes change in state of invalidCharles Harris2010-02-211-36/+124
| | | | after running test().
* STY: Use explicit itertools namespace for all itertools functions.Charles Harris2010-02-211-6/+4
|
* STY: Remove unneeded import.Charles Harris2010-02-211-5/+0
|
* PY3: The izip function is no longer available in itertools. Be explicit aboutCharles Harris2010-02-211-16/+17
| | | | using itertools.izip to 2to3 can make the fix.
* WHT: Whitespace removal.Charles Harris2010-02-211-2/+1
|
* 3K: lib: implement __rtruediv__ for poly1dPauli Virtanen2010-02-211-0/+2
|
* 3K: lib: fix bytes vs str issues in testsPauli Virtanen2010-02-212-8/+11
|
* 3K: lib: zip is izip on Py3Pauli Virtanen2010-02-211-0/+4
|
* 3K: lib: missing_values in genfromtxt is never a basestring on Py3Pauli Virtanen2010-02-212-2/+2
|
* 3K: lib: fix sort(key=) issuePauli Virtanen2010-02-211-5/+3
|
* 3K: lib: poly1d __div__ -> __truediv__, and fix its doctestsPauli Virtanen2010-02-212-7/+9
|
* 3K: BUG: fix unravel_index integer divisionPauli Virtanen2010-02-211-1/+1
|
* DEP: Fix more files for unittest deprecated functions. It isn't clear why theseCharles Harris2010-02-211-6/+6
| | | | tests didn't issue deprecation warnings. Are they being run?
* DEP: Fix deprecation warnings in Python 3.1. The warnings come from the unittestCharles Harris2010-02-204-11/+11
| | | | | | | | | module. The fix should be good for Python >= 2.4 and used the following sed script: s/\<failUnless\>/assertTrue/g s/\<failIf\>/assertFalse/g s/\<failUnlessEqual\>/assertEqual/g s/\<failUnlessRaises\>/assertRaises/g
* 3K: BUG: work around bugs in Python 3.1.1 2to3 by not using fixes_reducePauli Virtanen2010-02-202-0/+8
| | | | Instead, manually import reduce where necessary.
* BUG: lib: ensure 'bytes' is imported in io.pyPauli Virtanen2010-02-201-1/+1
|
* 3K: lib: more str vs bytes issues in the lib/io loadtxt, savetxt and genfromtxtPauli Virtanen2010-02-204-66/+103
|
* 3K: lib: fix savetxtPauli Virtanen2010-02-201-9/+23
| | | | | | This will make savetxt open files in the 'wb' mode on Python 3. To allow using any sort of newlines (which are different e.g. on Windows), add a new 'newline' keyword.
* 3K: lib: fix some bytes vs. str issues in _iotools.py and io.py -- mainly ↵Pauli Virtanen2010-02-205-88/+143
| | | | genfromtxt
* 3K: lib: even more bytes/str fixes in format.py testsPauli Virtanen2010-02-201-6/+8
|
* 3K: lib: use BytesIO in test_ioPauli Virtanen2010-02-201-109/+115
|
* 3K: lib: fix some bytes/str issues in _format.py and its testsPauli Virtanen2010-02-202-7/+22
|
* ENH: lib: write fortran-contiguous data to files using arr.T.tofile instead ↵Pauli Virtanen2010-02-201-4/+5
| | | | | | | | | of arr.data (required for Py3 compatibility) The issue is that when passing a buffer object to Python's io.BufferedWriter.write, it will try to obtain the buffer using PyBUF_ND | PyBUF_C_CONTIGUOUS. This will fail for strided arrays -- seems to be an issue in Python, as it probably should try to obtain a SIMPLE buffer.
* 3K: lib: adapt safe_eval for Py3 ast modulePauli Virtanen2010-02-201-32/+88
|
* 3K: lib: do not slice range() in _iotools needlesslyPauli Virtanen2010-02-201-1/+1
|
* 3K: lib: Make _datasource and its tests Py3 compatible + slight cleanup of ↵Pauli Virtanen2010-02-202-9/+12
| | | | the code
* 3K: lib: bytes vs. str fixes in lib.format and lib.ioPauli Virtanen2010-02-202-5/+7
|
* more docstring updates from pydoc website (thanks to everyone who contributed!)Jarrod Millman2010-02-174-55/+71
|
* removed old behavior for the histogram function.dhuard2010-02-163-158/+67
|
* BUG: Check input to poly for zero-dimensional arrays.Stefan van der Walt2010-02-082-2/+8
|
* BUG: fix #1387. Raise ValueError for empty input to bincount.David Cournapeau2010-02-022-0/+8
|
* TST: add a couple of simple unit-tests for bincount.David Cournapeau2010-02-021-0/+23
|