Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #460 from endolith/regex_formatting | Charles Harris | 2013-04-03 | 1 | -1/+2 |
|\ | | | | | DOC: Formatting fixes using regex | ||||
| * | DOC: Used regex to find colons missing spaces which render wrong online, ↵ | endolith | 2013-03-19 | 1 | -1/+2 |
| | | | | | | | | also other spacing or formatting mistakes | ||||
* | | Merge pull request #3178 from charris/2to3-apply-import-fixer | njsmith | 2013-04-02 | 1 | -3/+3 |
|\ \ | | | | | | | 2to3 apply import fixer | ||||
| * | | 2to3: Use absolute imports. | Charles Harris | 2013-03-28 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | | Merge pull request #3104 from seberg/nditer-allow-0d | Charles Harris | 2013-04-01 | 1 | -24/+1 |
|\ \ \ | |/ / |/| | | Make AdvancedNew iter more 0-d aware | ||||
| * | | MAINT: Remove np.ndindex 0-d hack. | Sebastian Berg | 2013-03-03 | 1 | -24/+1 |
| |/ | |||||
* | | 2to3: Replace xrange by range and use list(range(...)) where needed | Charles Harris | 2013-03-27 | 1 | -1/+1 |
|/ | | | | | | | | | | | | | | | 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 | ||||
* | 2to3: Put `from __future__ import division in every python file. | Charles Harris | 2013-03-01 | 1 | -0/+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. | ||||
* | Fix-up logic for checking for zero-d arrays. | Travis E. Oliphant | 2013-01-21 | 1 | -1/+3 |
| | |||||
* | Fix 0-d ndincr to have correct return value. | Travis E. Oliphant | 2013-01-11 | 1 | -1/+1 |
| | |||||
* | Fix the test for numpy.ndindex() | Travis E. Oliphant | 2013-01-11 | 1 | -5/+18 |
| | | | | | Fix ndindex for 0-d arrays. Add tests for tuple arguments to ndindex | ||||
* | Use super instead of direct access to inheritance. | Travis E. Oliphant | 2013-01-10 | 1 | -1/+1 |
| | |||||
* | Fix the 0-d patch so it doesn't change the non 0-d iterator | Travis E. Oliphant | 2013-01-10 | 1 | -11/+11 |
| | |||||
* | Fix ndindex for 0-d arrays. | Travis E. Oliphant | 2013-01-10 | 1 | -1/+10 |
| | |||||
* | Retain backward compatibility. Enforce C order. | Stefan van der Walt | 2012-09-02 | 1 | -1/+9 |
| | |||||
* | Improve ndindex execution speed. | Stefan van der Walt | 2012-09-02 | 1 | -41/+8 |
| | |||||
* | add the warp parameter to fill_diagonal for people that could want the old ↵ | Frederic | 2012-06-11 | 1 | -4/+33 |
| | | | | behavior. | ||||
* | fix the wrapping problem of fill_diagonal with tall matrix. | Frederic | 2012-06-11 | 1 | -1/+4 |
| | |||||
* | STY: Fix up some two line old-style exceptions. | Charles Harris | 2011-04-05 | 1 | -2/+2 |
| | |||||
* | STY: Update exception style, easy ones. | Charles Harris | 2011-04-05 | 1 | -3/+3 |
| | |||||
* | API: Rename 'coords' to 'multi-index' in ravel_coords and iterator API | Mark Wiebe | 2011-03-14 | 1 | -2/+2 |
| | |||||
* | BUG: Fix python3k import problem. | Charles Harris | 2011-02-11 | 1 | -1/+1 |
| | |||||
* | ENH: index_tricks: Implement unravel_index and ravel_coords functions in C | Mark Wiebe | 2011-02-10 | 1 | -63/+3 |
| | |||||
* | BUG: lib: clean up ancient-Python era stuff from IndexExpression (#1196) | Pauli Virtanen | 2010-10-11 | 1 | -10/+1 |
| | |||||
* | 3K: BUG: fix unravel_index integer division | Pauli Virtanen | 2010-02-21 | 1 | -1/+1 |
| | |||||
* | fixed a whole bunch of doctests | Paul Ivanov | 2009-12-28 | 1 | -4/+5 |
| | |||||
* | Docstring update: lib | Pauli Virtanen | 2009-10-02 | 1 | -55/+121 |
| | |||||
* | Rename matrx to matrixlib. | David Cournapeau | 2009-09-18 | 1 | -1/+1 |
| | | | | | I forgot to commit the name change suggested by Stefan. You need to clean build/install directory when updating to this version. | ||||
* | Move matrix class into its own module. | David Cournapeau | 2009-09-16 | 1 | -1/+1 |
| | |||||
* | Improvement to fill_diagonal suggested by Anand Patil. | Stefan van der Walt | 2009-07-08 | 1 | -1/+1 |
| | |||||
* | Fix versioning and inclusion to ref. guide in docs for #1132 | Pauli Virtanen | 2009-07-04 | 1 | -8/+21 |
| | |||||
* | Fix diag_indices_from and add test. | Stefan van der Walt | 2009-07-04 | 1 | -10/+11 |
| | |||||
* | Add indexing functions by Fernando Perez. | Stefan van der Walt | 2009-07-04 | 1 | -2/+155 |
| | |||||
* | Merge from doc wiki | Pauli Virtanen | 2009-06-19 | 1 | -27/+191 |
| | |||||
* | Merge from the doc wiki | Pauli Virtanen | 2009-03-24 | 1 | -6/+14 |
| | |||||
* | More add_newdocs entries, and make add_newdoc capable of adding docs also to ↵ | Pauli Virtanen | 2009-02-14 | 1 | -0/+2 |
| | | | | normal Python objects. | ||||
* | Import documentation from doc wiki (part 2, work-in-progress docstrings, but ↵ | Pauli Virtanen | 2008-10-28 | 1 | -10/+9 |
| | | | | they are still an improvement) | ||||
* | Removed unused imports. | Alan McIntyre | 2008-09-18 | 1 | -1/+1 |
| | |||||
* | Merge from documentation editor. | Stefan van der Walt | 2008-08-05 | 1 | -11/+42 |
| | |||||
* | Fix doctests to run properly under new execution context. | Alan McIntyre | 2008-07-13 | 1 | -4/+4 |
| | |||||
* | Make doctests pass under new execution context. | Alan McIntyre | 2008-07-09 | 1 | -6/+6 |
| | |||||
* | Merge documentation changes from wiki. | Stefan van der Walt | 2008-05-19 | 1 | -41/+41 |
| | |||||
* | ran reindent in preparation for the 1.1 release | Jarrod Millman | 2008-04-20 | 1 | -1/+1 |
| | |||||
* | Fixed #728 scalar coercion problem with mixed types and r_ | Travis Oliphant | 2008-04-11 | 1 | -9/+13 |
| | |||||
* | Convert some internal classes in index_tricks.py to CamelCase | cookedm | 2007-12-26 | 1 | -16/+18 |
| | |||||
* | ran reindent.py to clean up whitespace | Jarrod Millman | 2007-10-29 | 1 | -2/+2 |
| | |||||
* | Fix mgrid inconsistency ticket #467 | Travis Oliphant | 2007-03-29 | 1 | -1/+2 |
| | |||||
* | Remove invalid part of r_ docstring. | Stefan van der Walt | 2007-03-16 | 1 | -2/+0 |
| | |||||
* | Fix doctests. | Stefan van der Walt | 2007-02-18 | 1 | -10/+15 |
| | |||||
* | Fix docstrings for loading with DocFileSuite. | Stefan van der Walt | 2007-02-18 | 1 | -0/+2 |
| |