summaryrefslogtreecommitdiff
path: root/numpy/lib/ufunclike.py
Commit message (Collapse)AuthorAgeFilesLines
* 2to3: Apply `print` fixer.Charles Harris2013-04-061-1/+1
| | | | | | | Add `print_function` to all `from __future__ import ...` statements and use the python3 print function syntax everywhere. Closes #3078.
* 2to3: Use absolute imports.Charles Harris2013-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 2to3: Put `from __future__ import division in every python file.Charles Harris2013-03-011-0/+3
| | | | | | | | This should be harmless, as we already are division clean. However, placement of this import takes some care. In the future a script can be used to append new features without worry, at least until such time as it exceeds a single line. Having that ability will make it easier to deal with absolute imports and printing updates.
* DEP: remove deprecated np.lib.ufunclike.log2 function.rgommers2011-03-111-42/+0
|
* correct a bug in fix() that was introduced in r8293Darren Dale2010-04-181-1/+1
|
* BUG: Use deprecated decorator in testing ufunclike.log2.Charles Harris2010-04-141-1/+2
|
* 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.
* minor change to ufunclike.fix, one less array to build and make compatibleDarren Dale2010-03-141-2/+2
| | | | with subclasses of ndarray
* fixed a whole bunch of doctestsPaul Ivanov2009-12-281-2/+2
|
* Merge from doc wikiPauli Virtanen2009-06-191-3/+3
|
* Merge from the doc wikiPauli Virtanen2009-03-241-35/+59
|
* docs: remove invalid informationPauli Virtanen2009-03-211-4/+0
|
* Import documentation from doc wiki (part 2, work-in-progress docstrings, but ↵Pauli Virtanen2008-10-281-7/+78
| | | | they are still an improvement)
* reindenting prior to releaseJarrod Millman2008-09-021-2/+2
|
* Revert r5698, r5699, and r5702 until build problems are fixed.Charles Harris2008-08-271-14/+17
| | | | Fix ticket #878 differently.
* Use trunc as fix implementation.David Cournapeau2008-08-251-11/+2
|
* Merge from documentation editor.Stefan van der Walt2008-08-051-6/+71
|
* Fix some bugs with isposinf and isneginf as well as with how allclose dealt ↵Travis Oliphant2007-05-171-0/+2
| | | | with infinities. See ticket #519
* Allow matrices to pass through more functions.Travis Oliphant2007-02-011-3/+3
|
* remove unused importsTim Leslie2006-03-131-1/+1
|
* Run reindent.py (script distributed with Python) over the source to remove ↵cookedm2006-03-101-1/+0
| | | | extraneous whitespace
* More fixes...Travis Oliphant2006-01-041-20/+2
|
* Fixed libTravis Oliphant2006-01-041-2/+2
|
* Moving things..Travis Oliphant2006-01-041-0/+77