[Numpy-discussion] How to debug reference counting errors

2012-08-31 Thread Ondřej Čertík
Hi, There is segfault reported here: http://projects.scipy.org/numpy/ticket/1588 I've managed to isolate the problem and even provide a simple patch, that fixes it here: https://github.com/numpy/numpy/issues/398 however the patch simply doesn't decrease the proper reference, so it might leak.

Re: [Numpy-discussion] How to debug reference counting errors

2012-08-31 Thread Richard Hattersley
Hi, re: valgrind - to get better results you might try the suggestions from: http://svn.python.org/projects/python/trunk/Misc/README.valgrind Richard On 31 August 2012 09:03, Ondřej Čertík ondrej.cer...@gmail.com wrote: Hi, There is segfault reported here:

[Numpy-discussion] how is y += x computed when y.strides = (0, 8) and x.strides=(16, 8) ?

2012-08-31 Thread Sebastian Walter
Hi, I'm using numpy 1.6.1 on Ubuntu 12.04.1 LTS. A code that used to work with an older version of numpy now fails with an error. Were there any changes in the way inplace operations like +=, *=, etc. work on arrays with non-standard strides? For the script: --- start of code ---

Re: [Numpy-discussion] How to debug reference counting errors

2012-08-31 Thread Dag Sverre Seljebotn
On 08/31/2012 09:03 AM, Ondřej Čertík wrote: Hi, There is segfault reported here: http://projects.scipy.org/numpy/ticket/1588 I've managed to isolate the problem and even provide a simple patch, that fixes it here: https://github.com/numpy/numpy/issues/398 however the patch simply

Re: [Numpy-discussion] view of recarray issue

2012-08-31 Thread Jay Bourque
Ondrej, Sorry for the delay in getting back to this. I have some free time today to get this resolved if you haven't already fixed it. -Jay On Wed, Aug 29, 2012 at 7:19 PM, Ondřej Čertík ondrej.cer...@gmail.comwrote: Jay, On Mon, Aug 20, 2012 at 12:40 PM, Ondřej Čertík

Re: [Numpy-discussion] ANN: NumPy 1.7.0b1 release

2012-08-31 Thread Sandro Tosi
Hello, On Tue, Aug 21, 2012 at 6:24 PM, Ondřej Čertík ondrej.cer...@gmail.com wrote: Hi, I'm pleased to announce the availability of the first beta release of NumPy 1.7.0b1. I've just uploaded it to Debian experimental, so we can give it a run while in freeze. Some of the buildds are already

Re: [Numpy-discussion] Issues for 1.7.0

2012-08-31 Thread Charles R Harris
On Thu, Aug 30, 2012 at 10:47 PM, Ondřej Čertík ondrej.cer...@gmail.comwrote: Hi, I am keeping track of all issues that need to be done for the 1.7.0 release here: https://github.com/numpy/numpy/issues/396 If you have trac and github push access, here is how you can help (by

Re: [Numpy-discussion] Temporary error accessing NumPy tickets

2012-08-31 Thread Pauli Virtanen
Ondřej Čertík ondrej.certik at gmail.com writes: When I access tickets, for example: http://projects.scipy.org/numpy/ticket/2185 then sometimes I get: Trac detected an internal error: OperationalError: database is locked For example yesterday. A refresh in about a minute fixed the

Re: [Numpy-discussion] view of recarray issue

2012-08-31 Thread Ondřej Čertík
On Fri, Aug 31, 2012 at 6:15 AM, Jay Bourque jay.bour...@continuum.io wrote: Ondrej, Sorry for the delay in getting back to this. I have some free time today to get this resolved if you haven't already fixed it. I haven't. If you can look at it, that would be absolutely awesome. If you don't

Re: [Numpy-discussion] Issues for 1.7.0

2012-08-31 Thread Ondřej Čertík
On Fri, Aug 31, 2012 at 9:27 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, Aug 30, 2012 at 10:47 PM, Ondřej Čertík ondrej.cer...@gmail.com wrote: Hi, I am keeping track of all issues that need to be done for the 1.7.0 release here:

Re: [Numpy-discussion] Temporary error accessing NumPy tickets

2012-08-31 Thread Ondřej Čertík
On Fri, Aug 31, 2012 at 9:35 AM, Pauli Virtanen p...@iki.fi wrote: Ondřej Čertík ondrej.certik at gmail.com writes: When I access tickets, for example: http://projects.scipy.org/numpy/ticket/2185 then sometimes I get: Trac detected an internal error: OperationalError: database is locked

Re: [Numpy-discussion] ANN: NumPy 1.7.0b1 release

2012-08-31 Thread Ondřej Čertík
Hi Sandro, On Fri, Aug 31, 2012 at 6:18 AM, Sandro Tosi mo...@debian.org wrote: Hello, On Tue, Aug 21, 2012 at 6:24 PM, Ondřej Čertík ondrej.cer...@gmail.com wrote: Hi, I'm pleased to announce the availability of the first beta release of NumPy 1.7.0b1. I've just uploaded it to Debian

Re: [Numpy-discussion] Issues for 1.7.0

2012-08-31 Thread Charles R Harris
On Fri, Aug 31, 2012 at 11:10 AM, Ondřej Čertík ondrej.cer...@gmail.comwrote: On Fri, Aug 31, 2012 at 9:27 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, Aug 30, 2012 at 10:47 PM, Ondřej Čertík ondrej.cer...@gmail.com wrote: Hi, I am keeping track of all issues

Re: [Numpy-discussion] Issues for 1.7.0

2012-08-31 Thread Ondřej Čertík
On Fri, Aug 31, 2012 at 10:26 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Fri, Aug 31, 2012 at 11:10 AM, Ondřej Čertík ondrej.cer...@gmail.com [...] Yes, I don't have commit rights nor the rights to close tickets. OK, I gave commit rights to you. Someone else (Pauli) will need

Re: [Numpy-discussion] ANN: NumPy 1.7.0b1 release

2012-08-31 Thread Stefan Krah
Ond??ej ??ert??k ondrej.cer...@gmail.com wrote: python3.2-dbg: numpy/core/src/multiarray/common.c:161: PyArray_DTypeFromObjectHelper: Assertion `((PyObject*)(temp))-ob_type))-tp_flags ((1L27))) != 0)' If you could create issues at github: https://github.com/numpy/numpy/issues that

Re: [Numpy-discussion] view of recarray issue

2012-08-31 Thread Jay Bourque
Ondrej, Just submitted the following pull request for this: https://github.com/numpy/numpy/pull/401 -Jay On Fri, Aug 31, 2012 at 12:09 PM, Ondřej Čertík ondrej.cer...@gmail.comwrote: On Fri, Aug 31, 2012 at 6:15 AM, Jay Bourque jay.bour...@continuum.io wrote: Ondrej, Sorry for the

Re: [Numpy-discussion] ANN: NumPy 1.7.0b1 release

2012-08-31 Thread Sandro Tosi
On Fri, Aug 31, 2012 at 7:17 PM, Ondřej Čertík ondrej.cer...@gmail.com wrote: If you could create issues at github: https://github.com/numpy/numpy/issues that would be great. If you have time, also with some info about the platform and how to reproduce it. Or at least a link to the build logs.

Re: [Numpy-discussion] Temporary error accessing NumPy tickets

2012-08-31 Thread Ognen Duzlevski
On Fri, Aug 31, 2012 at 11:35 AM, Pauli Virtanen p...@iki.fi wrote: Ondřej Čertík ondrej.certik at gmail.com writes: When I access tickets, for example: http://projects.scipy.org/numpy/ticket/2185 then sometimes I get: Trac detected an internal error: OperationalError: database is locked

Re: [Numpy-discussion] Temporary error accessing NumPy tickets

2012-08-31 Thread Pauli Virtanen
01.09.2012 00:08, Ognen Duzlevski kirjoitti: [clip] I personally think moving away from Trac (which IMHO is bloated and awkward in addition to having a very weird way of being administered) would be a better idea. Yes, moving away from Trac is planned, both for Numpy and Scipy. Also agreed on

Re: [Numpy-discussion] How to debug reference counting errors

2012-08-31 Thread Ondřej Čertík
Hi Dag, On Fri, Aug 31, 2012 at 4:22 AM, Dag Sverre Seljebotn d.s.seljeb...@astro.uio.no wrote: On 08/31/2012 09:03 AM, Ondřej Čertík wrote: Hi, There is segfault reported here: http://projects.scipy.org/numpy/ticket/1588 I've managed to isolate the problem and even provide a simple

Re: [Numpy-discussion] How to debug reference counting errors

2012-08-31 Thread Mark Wiebe
On Fri, Aug 31, 2012 at 5:35 PM, Ondřej Čertík ondrej.cer...@gmail.comwrote: Hi Dag, On Fri, Aug 31, 2012 at 4:22 AM, Dag Sverre Seljebotn d.s.seljeb...@astro.uio.no wrote: On 08/31/2012 09:03 AM, Ondřej Čertík wrote: Hi, There is segfault reported here:

Re: [Numpy-discussion] How to debug reference counting errors

2012-08-31 Thread Ondřej Čertík
On Fri, Aug 31, 2012 at 5:56 PM, Mark Wiebe mwwi...@gmail.com wrote: On Fri, Aug 31, 2012 at 5:35 PM, Ondřej Čertík ondrej.cer...@gmail.com wrote: Hi Dag, On Fri, Aug 31, 2012 at 4:22 AM, Dag Sverre Seljebotn d.s.seljeb...@astro.uio.no wrote: On 08/31/2012 09:03 AM, Ondřej Čertík wrote: