Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #3122 from charris/2to3-apply-xrange-fixer | Charles Harris | 2013-03-28 | 1 | -3/+3 |
|\ | | | | | 2to3: Replace xrange by range and use list(range(...)) where needed | ||||
| * | 2to3: Replace xrange by range and use list(range(...)) where needed | Charles Harris | 2013-03-27 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In python3 range is an iterator and `xrange` has been removed. This has two consequence for code: 1) Where a list is needed `list(range(...))` must be used. 2) `xrange` must be replaced by `range` Both of these changes also work in python2 and this patch makes both. There are three places fixed that do not need it, but I left them in so that the result would be `xrange` clean. Closes #3092 | ||||
* | | fix undefined function and add integer divisions | Julian Taylor | 2013-03-26 | 1 | -5/+18 |
|/ | |||||
* | 2to3: Put `from __future__ import division in every python file. | Charles Harris | 2013-03-01 | 1 | -14/+2 |
| | | | | | | | | 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. | ||||
* | 3K: ENH: make numpy.numarray to import | Pauli Virtanen | 2010-02-21 | 1 | -0/+3 |
| | |||||
* | Removed unused/duplicate imports. | Alan McIntyre | 2008-09-13 | 1 | -9/+9 |
| | | | | | | | | Removed repeated members of __all__. Fixed reference to undefined "out" in functions.py:take function. Fixed references to undefined "N" in functions.py. Rewrapped lines to conform to PEP8. Fixed references to undefined FPE_* constants (from numpy) in util.py. | ||||
* | typo | Jarrod Millman | 2007-12-29 | 1 | -1/+1 |
| | |||||
* | typo | Jarrod Millman | 2007-12-29 | 1 | -1/+1 |
| | |||||
* | janitorial work | Jarrod Millman | 2007-12-29 | 1 | -50/+55 |
| | |||||
* | Small fix for numpy.info(), which was unconditionally broken | Fernando Perez | 2007-06-20 | 1 | -1/+1 |
| | |||||
* | Fix numarray.fromstring | Travis Oliphant | 2007-02-28 | 1 | -2/+2 |
| | |||||
* | Whitespace cleanup. | Stefan van der Walt | 2007-01-08 | 1 | -13/+12 |
| | |||||
* | Fix the fromfunction routine to use float as default. Update oldnumeric and ↵ | Travis Oliphant | 2006-09-28 | 1 | -3/+6 |
| | | | | numarray compatibility modules. | ||||
* | Fix ticket #188 by returning the name of the dtype objects for data-type ↵ | Travis Oliphant | 2006-09-16 | 1 | -17/+47 |
| | | | | objects without fields or sub-arrays that are in correct byte-order | ||||
* | Fix numarray.info function | Travis Oliphant | 2006-09-15 | 1 | -4/+4 |
| | |||||
* | Clean-up some un-needed default axes. Fix default axes of ma.sum and ma.product | Travis Oliphant | 2006-08-29 | 1 | -2/+2 |
| | |||||
* | Add axis arguments to various functions so as not to rely on the defaults. | Travis Oliphant | 2006-08-29 | 1 | -2/+2 |
| | |||||
* | Change default axis argument of average and several masked array functions. ↵ | Travis Oliphant | 2006-08-13 | 1 | -1/+4 |
| | | | | Move old behaviors to compatibility layer. | ||||
* | Finished up numpy.numarray.alter_code1 | Travis Oliphant | 2006-08-10 | 1 | -1/+10 |
| | |||||
* | Add output arguments to a few more functions for consistency | Travis Oliphant | 2006-08-10 | 1 | -1/+7 |
| | |||||
* | Update C-API to add features needed for numarray compatibility. Output ↵ | Travis Oliphant | 2006-08-10 | 1 | -55/+408 |
| | | | | argument added for several functions and clipmode argument added for a few others. | ||||
* | Fix numarray compatibility layer so it at least imports. It's not finished ↵ | Travis Oliphant | 2006-08-08 | 1 | -1/+2 |
| | | | | yet, but some functionality is there. | ||||
* | Fix import problem | Travis Oliphant | 2006-08-08 | 1 | -1/+1 |
| | |||||
* | Add numarray compatibility. | Travis Oliphant | 2006-08-08 | 1 | -0/+86 |