Ondrej Certik wrote:
On Mon, Mar 10, 2008 at 3:10 PM, Manuel Metz <[EMAIL PROTECTED]> wrote:
Package: python-numpy
Version: 1:1.0.4-6
Severity: important
Tags: patch
There is a bug in site-packages/numpy/lib/function_base.py, line 154
The line is
if(any(bins[1:]-bins[:-1] < 0)):
which causes an error
NameError: global name 'any' is not defined
It should be:
if(bins[1:]-bins[:-1] < 0).any():
see also
http://www.mail-archive.com/[EMAIL PROTECTED]/msg06746.html
Thanks for the bugreport. This is fixed in the upstream svn. Upstream
should release a new version of numpy soon, so then it will be fixed.
If you want to have it fixed earlier, feel free to commit a patch with
this into the numpy debian svn (see the Vcs-svn field) and I'll upload
a new revision. Add it to debian/patches.
Ondrej
Hi,
okay, I've seen that there are plans to release numpy 1.0.5 on Wednesday
(tomorrow). So I think a patch is not needed.
Manuel
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]