| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Adds missing `Programming Language :: Python :: 3` to bento.info
Adds new `Programming Language :: Python :: {2..,3..,CPython..}` to both
These versions are correct for the 1.10.x and 1.11.x releases.
They reflect the commit b06dbc15d9db0e224d338c84ac98a925a7945d4c
|
|
|
|
|
|
|
|
| |
Create 1.11.0-notes.rst template.
Update version number in setup.py.
Update version number in numpyconfig.h.
Update version number in pavement.py.
Update version number in bento.info.
|
| |
|
| |
|
|
|
|
| |
e.g. 1.10.0.dev-243ab56 to 1.10.0.dev+243ab56
|
|\
| |
| | |
MAINT: start 1.10-devel.
|
| |
| |
| |
| |
| |
| | |
* Create 1.10.0-notes.
* Add 1.10.-notes to the generated documentation.
* Update version number in setup.py
|
|/
|
|
|
| |
Wheel build was not cythonizing sources, giving a compile error because
needed `numpy/random/mtrand/mtrand.c` was missing.
|
|
|
|
|
|
|
| |
Instead generate at build time. The generated sources are still part of
the sdist.
tools/cythonize.py is copied from SciPy with small changes to the
configuration.
|
|
|
|
| |
prevents broken source distributions due to not up to date submodules.
|
| |
|
|
|
|
| |
Numpy 1.9.0-devel opens.
|
|
|
|
|
|
|
|
|
|
| |
Because Numpy 1.8.0 will no longer supports Python versions < 2.6 we
no longer need to check for that and can also remove the code that is
specific to those earlier versions.
To make this a bit safer, the toplevel setup.py file now contains a
check of the Python version number and raises an error when run by an
unsupported version.
|
|
|
|
|
|
| |
The same code base now supports python versions 2.6-2.7 and 3.2-3.3.
Closes #3247.
|
|
|
|
|
|
|
| |
Add `print_function` to all `from __future__ import ...` statements
and use the python3 print function syntax everywhere.
Closes #3078.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The `imports` fixer deals with the standard packages that have been
renamed, removed, or methods that have moved.
cPickle -- removed, use pickle
commands -- removed, getoutput, getstatusoutput moved to subprocess
urlparse -- removed, urlparse moved to urllib.parse
cStringIO -- removed, use StringIO or io.StringIO
copy_reg -- renamed copyreg
_winreg -- renamed winreg
ConfigParser -- renamed configparser
__builtin__ -- renamed builtins
In the case of `cPickle`, it is imported as `pickle` when python < 3 and
performance may be a consideration, but otherwise plain old `pickle` is
used.
Dealing with `StringIO` is a bit tricky. There is an `io.StringIO`
function in the `io` module, available since Python 2.6, but it expects
unicode whereas `StringIO.StringIO` expects ascii. The Python 3
equivalent is then `io.BytesIO`. What I have done here is used BytesIO
for anything that is emulating a file for testing purposes. That is more
explicit than using a redefined StringIO as was done before we dropped
support for Python 2.4 and 2.5.
Closes #3180.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Generally, this involves using list comprehension, or explicit list
construction as `filter` is an iterator in Python 3.
|
| |
|
| |
|
|
|
|
| |
Closes Trac ticket 2243.
|
| |
|
| |
|
|
|
|
| |
Also works inside a virtualenv.
|
|
|
|
|
| |
Occurs only on Python 3.x when a version.py file is already present, due to
copying the whole tree into build/pyk3/.
|
|
|
|
|
| |
This is not a complete fix yet. Should be handled correctly in binary
installers.
|
|
|
|
|
| |
This was first fixed in commit 0131218 (but that broke the paver script), and
broken again in commit 13212a5d. Should now work in both cases.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
New Iterator - Read doc/neps/new-iterator-ufunc.rst.
UFunc Update - Change all ufunc functions to use the new iterator. This
replaces the inline buffering with iterator buffering, except
for the reductions and generalized ufunc which use updateifcopy
at the moment. Also adds out= and order= parameters to
all ufuncs.
Restore 1.5 ABI - This was done by moving the new type numbers to the end
of the type enumeration, and replacing all type promotion
code with a table-based approach. The ArrFuncs was
restored by putting the new type cast functions into the
cast dictionary, originally designed just for custom
types.
Conflicts:
numpy/core/src/multiarray/ctors.c
numpy/core/tests/test_regression.py
|
| | |
|
|/ |
|
|
|
|
|
|
| |
This prevents importing non-2to3'ed numpy in Python 3 build, if
numpy/version.py exists for some reason but .git does not (e.g building
multiple Numpy versions from same source tree).
|
| |
|
| |
|
| |
|
|
|
|
| |
- Also correct spelling of 'Unknown'
|
|
|
|
|
|
|
| |
- Appends the first 6 characters of the Git revision used to build
Numpy
- Adds an additional attribute to easily obtain the full Git revision
|
| |
|
| |
|
| |
|
|
|
|
| |
produces 1.3-compatible pickle unless it cannot.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|