Re: [Numpy-discussion] 1.6.0b1 half float buffer bug?

2011-03-31 Thread Eli Stevens (Gmail)
On Thu, Mar 31, 2011 at 11:45 AM, Ralf Gommers wrote: > On Thu, Mar 31, 2011 at 8:37 PM, Eli Stevens (Gmail) > wrote: >> Next up for me is to get a patch onto the CPython issue tracker, but >> as soon as I have that done, I'll start working on adding unit tests >> to my numpy fork.  I anticipate

Re: [Numpy-discussion] loadtxt/savetxt tickets

2011-03-31 Thread Charles R Harris
On Thu, Mar 31, 2011 at 8:42 AM, Ralf Gommers wrote: > On Thu, Mar 31, 2011 at 4:53 AM, Charles R Harris > wrote: > > > > > > On Sun, Mar 27, 2011 at 4:09 AM, Paul Anton Letnes > > wrote: > >> > If you look in Trac under "All Tickets by Milestone" you'll find all > nine tickets together under

Re: [Numpy-discussion] ANN: Numpy 1.6.0 beta 1

2011-03-31 Thread Paul Ivanov
Ralf Gommers, on 2011-03-23 17:07, wrote: > Please test this beta and report any problems on the Numpy > mailing list. Hi, I reopened http://projects.scipy.org/numpy/ticket/1768, as 'test_chisquare' still fails for me on a 32 bit machine. Lowering the precision from 14 to 13 decimals makes the

Re: [Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.6.0 beta 1

2011-03-31 Thread David
On 03/31/2011 06:37 PM, Pearu Peterson wrote: > > > On Thu, Mar 31, 2011 at 12:19 PM, David Cournapeau > wrote: > > On Wed, Mar 30, 2011 at 7:22 AM, Russell E. Owen > wrote: > > In article > >

Re: [Numpy-discussion] Willing to contribute to SciPy & NumPy ...

2011-03-31 Thread Benjamin Root
On Thu, Mar 31, 2011 at 3:29 PM, Christopher Barker wrote: > On 3/31/11 12:04 PM, Anthony Scopatz wrote: > > > (with which I am inclined to agree), documentation is probably not the > > best way to get started. > > I agree as well. However, I think newbies can be a great help in > identifying hole

Re: [Numpy-discussion] Willing to contribute to SciPy & NumPy ...

2011-03-31 Thread Christopher Barker
On 3/31/11 12:04 PM, Anthony Scopatz wrote: > A good place to get started is helping out with documentation (see > http://docs.scipy.org/numpy/Front%20Page/). > > > Actually, according to the Jacob Kaplan-Moss's talk at PyCon this year > (http://pycon.blip.tv/file/4881071/) Nice talk -- th

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Orion Poplawski
On 03/31/2011 01:21 PM, Robert Kern wrote: > On Thu, Mar 31, 2011 at 14:16, Orion Poplawski wrote: >> On 03/31/2011 01:12 PM, Robert Kern wrote: >>> Well, they're meant to be copied into your own code, which is why they >>> end up under a doc/ directory. Lots of things like this tend to end up >>>

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Robert Kern
On Thu, Mar 31, 2011 at 14:16, Orion Poplawski wrote: > On 03/31/2011 01:12 PM, Robert Kern wrote: >> Well, they're meant to be copied into your own code, which is why they >> end up under a doc/ directory. Lots of things like this tend to end up >> in doc/ directories. > > perhaps /usr/share/doc/

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Orion Poplawski
On 03/31/2011 01:12 PM, Robert Kern wrote: > Well, they're meant to be copied into your own code, which is why they > end up under a doc/ directory. Lots of things like this tend to end up > in doc/ directories. > perhaps /usr/share/doc/numpy then. -- Orion Poplawski Technical Manager

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Orion Poplawski
On 03/31/2011 01:08 PM, Ralf Gommers wrote: > But they're not documentation files. The line is a bit blurry, but > something like the numpy.i SWIG interface face is meant for using > numpy, not documenting usage of SWIG and numpy (maybe most similar to > what's in core/include/ ?). The actual docum

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Robert Kern
On Thu, Mar 31, 2011 at 14:08, Ralf Gommers wrote: > On Thu, Mar 31, 2011 at 8:52 PM, Robert Kern wrote: >> Linux distributions start to complain when data files (especially >> documentation data files not used at runtime) are placed into the >> Python packages. I would argue that it's the wrong

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Ralf Gommers
On Thu, Mar 31, 2011 at 8:52 PM, Robert Kern wrote: > On Thu, Mar 31, 2011 at 13:39, Ralf Gommers > wrote: >> On Thu, Mar 31, 2011 at 8:32 PM, Robert Kern wrote: >>> On Thu, Mar 31, 2011 at 12:00, Ralf Gommers >>> wrote: On Thu, Mar 31, 2011 at 6:33 PM, Orion Poplawski wrote:

Re: [Numpy-discussion] Willing to contribute to SciPy & NumPy ...

2011-03-31 Thread Anthony Scopatz
On Thu, Mar 31, 2011 at 3:04 AM, Scott Sinclair wrote: > On 31 March 2011 07:27, Sylvain Bellemare wrote: > > I would like to seriously start contributing to NumPy and/or SciPy, as > much as I possibly can. > > I'm sure that your help will be welcomed! > > A good place to get started is helping

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Robert Kern
On Thu, Mar 31, 2011 at 13:39, Ralf Gommers wrote: > On Thu, Mar 31, 2011 at 8:32 PM, Robert Kern wrote: >> On Thu, Mar 31, 2011 at 12:00, Ralf Gommers >> wrote: >>> On Thu, Mar 31, 2011 at 6:33 PM, Orion Poplawski >>> wrote: I'm looking at updating the numpy package in Fedora rawhide to

Re: [Numpy-discussion] 1.6.0b1 half float buffer bug?

2011-03-31 Thread Ralf Gommers
On Thu, Mar 31, 2011 at 8:37 PM, Eli Stevens (Gmail) wrote: > On Thu, Mar 31, 2011 at 10:40 AM, Ralf Gommers > wrote: >> It would definitely need to get into beta 2, and even then I'm a >> little hesitant to push in such a change at the last moment. > > If I miss the 1.6.0b2 cutoff, would a chang

Re: [Numpy-discussion] loadtxt/savetxt tickets

2011-03-31 Thread Bruce Southey
On 03/31/2011 12:02 PM, Derek Homeier wrote: > On 31 Mar 2011, at 17:03, Bruce Southey wrote: > >> This is an invalid ticket because the docstring clearly states that in >> 3 different, yet critical places, that missing values are not handled >> here: >> >> "Each row in the text file must have the

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Ralf Gommers
On Thu, Mar 31, 2011 at 8:32 PM, Robert Kern wrote: > On Thu, Mar 31, 2011 at 12:00, Ralf Gommers > wrote: >> On Thu, Mar 31, 2011 at 6:33 PM, Orion Poplawski wrote: >>> I'm looking at updating the numpy package in Fedora rawhide to 1.6.0b1.  It >>> appears to install a bunch of suff in /usr/li

Re: [Numpy-discussion] 1.6.0b1 half float buffer bug?

2011-03-31 Thread Eli Stevens (Gmail)
On Thu, Mar 31, 2011 at 10:40 AM, Ralf Gommers wrote: > It would definitely need to get into beta 2, and even then I'm a > little hesitant to push in such a change at the last moment. If I miss the 1.6.0b2 cutoff, would a change like this be appropriate for 1.6.1, or will it need to wait until 1.

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Robert Kern
On Thu, Mar 31, 2011 at 12:00, Ralf Gommers wrote: > On Thu, Mar 31, 2011 at 6:33 PM, Orion Poplawski wrote: >> I'm looking at updating the numpy package in Fedora rawhide to 1.6.0b1.  It >> appears to install a bunch of suff in /usr/lib64/python2.7/site-packages/doc >> (see below for examples).

Re: [Numpy-discussion] 1.6.0b1 half float buffer bug?

2011-03-31 Thread Mark Wiebe
On Thu, Mar 31, 2011 at 10:40 AM, Ralf Gommers wrote: > On Thu, Mar 31, 2011 at 7:06 PM, Mark Wiebe wrote: > > On Wed, Mar 30, 2011 at 4:42 PM, Eli Stevens (Gmail) < > wickedg...@gmail.com> > > wrote: > >> > >> On Fri, Mar 25, 2011 at 10:00 AM, Eli Stevens (Gmail) > >> wrote: > >> > Can anyone p

Re: [Numpy-discussion] np.histogramdd of empty data

2011-03-31 Thread Benjamin Root
On Thu, Mar 31, 2011 at 12:32 PM, Ralf Gommers wrote: > -- Forwarded message -- > From: Ralf Gommers > Date: Thu, Mar 31, 2011 at 7:31 PM > Subject: Re: [Numpy-discussion] np.histogramdd of empty data > To: Nils Becker > > > On Thu, Mar 31, 2011 at 12:33 PM, Nils Becker wrote: >

Re: [Numpy-discussion] 1.6.0b1 half float buffer bug?

2011-03-31 Thread Ralf Gommers
On Thu, Mar 31, 2011 at 7:06 PM, Mark Wiebe wrote: > On Wed, Mar 30, 2011 at 4:42 PM, Eli Stevens (Gmail) > wrote: >> >> On Fri, Mar 25, 2011 at 10:00 AM, Eli Stevens (Gmail) >> wrote: >> > Can anyone please give me some suggestions on how to go about writing >> > a unit test for this?  Or shoul

Re: [Numpy-discussion] np.histogramdd of empty data

2011-03-31 Thread Ralf Gommers
-- Forwarded message -- From: Ralf Gommers Date: Thu, Mar 31, 2011 at 7:31 PM Subject: Re: [Numpy-discussion] np.histogramdd of empty data To: Nils Becker On Thu, Mar 31, 2011 at 12:33 PM, Nils Becker wrote: > Hi Ralf, > > I cloned numpy/master and played around a little. > > w

Re: [Numpy-discussion] 1.6.0b1 half float buffer bug?

2011-03-31 Thread Mark Wiebe
On Wed, Mar 30, 2011 at 4:42 PM, Eli Stevens (Gmail) wrote: > On Fri, Mar 25, 2011 at 10:00 AM, Eli Stevens (Gmail) > wrote: > > Can anyone please give me some suggestions on how to go about writing > > a unit test for this? Or should I just submit a pull request? > > I've gotten a bit of positi

Re: [Numpy-discussion] loadtxt/savetxt tickets

2011-03-31 Thread Derek Homeier
On 31 Mar 2011, at 17:03, Bruce Southey wrote: > This is an invalid ticket because the docstring clearly states that in > 3 different, yet critical places, that missing values are not handled > here: > > "Each row in the text file must have the same number of values." > "genfromtxt : Load data wit

Re: [Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Ralf Gommers
On Thu, Mar 31, 2011 at 6:33 PM, Orion Poplawski wrote: > I'm looking at updating the numpy package in Fedora rawhide to 1.6.0b1.  It > appears to install a bunch of suff in /usr/lib64/python2.7/site-packages/doc > (see below for examples).  This seems wrong.  Thoughts? That is indeed wrong. It's

[Numpy-discussion] 1.6.0b1 installs stuff in /usr/lib/python2.7/site-packages/doc

2011-03-31 Thread Orion Poplawski
I'm looking at updating the numpy package in Fedora rawhide to 1.6.0b1. It appears to install a bunch of suff in /usr/lib64/python2.7/site-packages/doc (see below for examples). This seems wrong. Thoughts? /usr/lib64/python2.7/site-packages/doc/cython/MANIFEST /usr/lib64/python2.7/sit

Re: [Numpy-discussion] Old tickets

2011-03-31 Thread Christopher Barker
On 3/31/11 8:41 AM, Benjamin Root wrote: > The ticket is about the functions np.divide and np.power, not / and > **. This currently does not work the same, unlike what's said above: > Hmm, I didn't notice that distinction. So long as there is a consistent > difference between the function

Re: [Numpy-discussion] Old tickets

2011-03-31 Thread Charles R Harris
On Thu, Mar 31, 2011 at 9:00 AM, Ralf Gommers wrote: > On Wed, Mar 30, 2011 at 11:52 PM, Derek Homeier > wrote: > > > > On 30 Mar 2011, at 23:26, Benjamin Root wrote: > > > >> Ticket 301: 'Make power and divide return floats from int inputs (like > >> true_divide)' > >> http://projects.scipy.org/

Re: [Numpy-discussion] Old tickets

2011-03-31 Thread Benjamin Root
On Thu, Mar 31, 2011 at 10:00 AM, Ralf Gommers wrote: > On Wed, Mar 30, 2011 at 11:52 PM, Derek Homeier > wrote: > > > > On 30 Mar 2011, at 23:26, Benjamin Root wrote: > > > >> Ticket 301: 'Make power and divide return floats from int inputs (like > >> true_divide)' > >> http://projects.scipy.org

Re: [Numpy-discussion] loadtxt/savetxt tickets

2011-03-31 Thread Bruce Southey
On 03/31/2011 10:08 AM, Ralf Gommers wrote: > On Thu, Mar 31, 2011 at 5:03 PM, Bruce Southey wrote: >> On Wed, Mar 30, 2011 at 9:53 PM, Charles R Harris >> wrote: >>> >>> On Sun, Mar 27, 2011 at 4:09 AM, Paul Anton Letnes >>> wrote: On 26. mars 2011, at 21.44, Derek Homeier wrote: >>

Re: [Numpy-discussion] loadtxt/savetxt tickets

2011-03-31 Thread Ralf Gommers
On Thu, Mar 31, 2011 at 5:03 PM, Bruce Southey wrote: > On Wed, Mar 30, 2011 at 9:53 PM, Charles R Harris > wrote: >> >> >> On Sun, Mar 27, 2011 at 4:09 AM, Paul Anton Letnes >> wrote: >>> >>> On 26. mars 2011, at 21.44, Derek Homeier wrote: >>> >>> > Hi Paul, >>> > >>> > having had a look at th

Re: [Numpy-discussion] loadtxt/savetxt tickets

2011-03-31 Thread Bruce Southey
On Wed, Mar 30, 2011 at 9:53 PM, Charles R Harris wrote: > > > On Sun, Mar 27, 2011 at 4:09 AM, Paul Anton Letnes > wrote: >> >> On 26. mars 2011, at 21.44, Derek Homeier wrote: >> >> > Hi Paul, >> > >> > having had a look at the other tickets you dug up, >> > [snip] >> >> >> 1071: >> >>      It

Re: [Numpy-discussion] Old tickets

2011-03-31 Thread Ralf Gommers
On Wed, Mar 30, 2011 at 11:52 PM, Derek Homeier wrote: > > On 30 Mar 2011, at 23:26, Benjamin Root wrote: > >> Ticket 301: 'Make power and divide return floats from int inputs (like >> true_divide)' >> http://projects.scipy.org/numpy/ticket/301 >> Invalid because the output dtype is the same as th

Re: [Numpy-discussion] loadtxt/savetxt tickets

2011-03-31 Thread Ralf Gommers
On Thu, Mar 31, 2011 at 4:53 AM, Charles R Harris wrote: > > > On Sun, Mar 27, 2011 at 4:09 AM, Paul Anton Letnes > wrote: >> >> On 26. mars 2011, at 21.44, Derek Homeier wrote: >> >> > Hi Paul, >> > >> > having had a look at the other tickets you dug up, >> > >> >> My opinions are my own, and in

[Numpy-discussion] EuroPython 2011: call for paper is ending - Please spread the word

2011-03-31 Thread Palla
Hi all, I'm Francesco and I am writing on behalf of "Python Italia APS", a no-profit association promoting EuroPython conference. (www.europython.eu) Europython End of Call for Presentations is April 6th. I'd like to ask to you to forward this mail to anyone that you feel may be interested. We're

Re: [Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.6.0 beta 1

2011-03-31 Thread Scott Sinclair
On 31 March 2011 12:18, Pearu Peterson wrote: > > > On Thu, Mar 31, 2011 at 1:00 PM, Scott Sinclair > wrote: >> >> For what it's worth, the maintenance/1.6.x branch works for me on 64-bit >> Ubuntu: >> >> (numpy-1.6.x)scott@godzilla:~$ python -c "import numpy; numpy.test()" > > You might want to

Re: [Numpy-discussion] np.histogramdd of empty data

2011-03-31 Thread Nils Becker
Hi Ralf, I cloned numpy/master and played around a little. when giving the bins explicitely, now histogram2d and histogramdd work as expected in all tests i tried. However, some of the cases with missing bin specification appear somewhat inconsistent. The first question is if creating arbitrar

Re: [Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.6.0 beta 1

2011-03-31 Thread Pearu Peterson
On Thu, Mar 31, 2011 at 1:00 PM, Scott Sinclair wrote: > On 31 March 2011 11:37, Pearu Peterson wrote: > > > > > > On Thu, Mar 31, 2011 at 12:19 PM, David Cournapeau > > wrote: > >> > >> On Wed, Mar 30, 2011 at 7:22 AM, Russell E. Owen wrote: > >> > In article > >> > , > >> > Ralf Gommers wr

Re: [Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.6.0 beta 1

2011-03-31 Thread Scott Sinclair
On 31 March 2011 11:37, Pearu Peterson wrote: > > > On Thu, Mar 31, 2011 at 12:19 PM, David Cournapeau > wrote: >> >> On Wed, Mar 30, 2011 at 7:22 AM, Russell E. Owen wrote: >> > In article >> > , >> >  Ralf Gommers wrote: >> > >> >> Hi, >> >> >> >> I am pleased to announce the availability of

Re: [Numpy-discussion] [SciPy-Dev] ANN: Numpy 1.6.0 beta 1

2011-03-31 Thread Pearu Peterson
On Thu, Mar 31, 2011 at 12:19 PM, David Cournapeau wrote: > On Wed, Mar 30, 2011 at 7:22 AM, Russell E. Owen wrote: > > In article > > , > > Ralf Gommers wrote: > > > >> Hi, > >> > >> I am pleased to announce the availability of the first beta of NumPy > >> 1.6.0. Due to the extensive changes i

[Numpy-discussion] random number genration

2011-03-31 Thread Alex Ter-Sarkissov
thanks Sturl, your second code works well although I had to divide the vector elements through 128 to get just the binaries ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] np.histogram on arrays.

2011-03-31 Thread eat
Hi, On Wed, Mar 30, 2011 at 1:44 PM, Éric Depagne wrote: > > > > Well I guess, for a slight performance improvement, you could create your > > own streamlined histogrammer. > > > > But, in order to better grasp your situation it would be beneficial to > know > > how the counts and bounds are use

Re: [Numpy-discussion] ANN: Numpy 1.6.0 beta 1

2011-03-31 Thread David Cournapeau
On Wed, Mar 30, 2011 at 7:22 AM, Russell E. Owen wrote: > In article > , >  Ralf Gommers wrote: > >> Hi, >> >> I am pleased to announce the availability of the first beta of NumPy >> 1.6.0. Due to the extensive changes in the Numpy core for this >> release, the beta testing phase will last at lea

Re: [Numpy-discussion] Willing to contribute to SciPy & NumPy ...

2011-03-31 Thread Scott Sinclair
On 31 March 2011 07:27, Sylvain Bellemare wrote: >  I would like to seriously start contributing to NumPy and/or SciPy, as much > as I possibly can. I'm sure that your help will be welcomed! A good place to get started is helping out with documentation (see http://docs.scipy.org/numpy/Front%20P