Re: [Numpy-discussion] Carriage returns in files.

2009-10-23 Thread David Warde-Farley
On 24-Oct-09, at 12:44 AM, Charles R Harris wrote: > Do we have a policy on this? IIRC, it is something that should be > handled by subversion. AFAIK you're right, the exception might be that sometimes, if there are files with mixed newlines, subversion will get confused and leave them ther

[Numpy-discussion] Carriage returns in files.

2009-10-23 Thread Charles R Harris
Hi All, I just fixed scipy ticket #1029, where the Sun Fortran compiler failed because nnls.f contained carriage returns (\r). Out of curiosity I decided to look as the numpy and scipy repositories to see how common \r was, with the results: numpy: 1232 instances scipy: 3315 instances Do we have

Re: [Numpy-discussion] numpy and C99

2009-10-23 Thread David Cournapeau
On Fri, Oct 23, 2009 at 11:41 PM, Sturla Molden wrote: > Except for automatic arrays, they do support some of the more important > parts of C99 as extensions to C89: > > inline functions > restrict qualifier > for (int i=0; i<; i++) No, it doesn't. The above only works in C++ mode, not in C mode

Re: [Numpy-discussion] numpydoc without autosummary

2009-10-23 Thread Michael Droettboom
Done. Issue #50. Thanks, Mike On 10/23/2009 02:56 PM, David Goldsmith wrote: The proper thing to do is file an "enhancement" ticket, at: http://code.google.com/p/pydocweb/issues/list Thanks. DG On Fri, Oct 23, 2009 at 9:13 AM, Michael Droettboom > wrote: On 10

Re: [Numpy-discussion] numpydoc without autosummary

2009-10-23 Thread David Goldsmith
The proper thing to do is file an "enhancement" ticket, at: http://code.google.com/p/pydocweb/issues/list Thanks. DG On Fri, Oct 23, 2009 at 9:13 AM, Michael Droettboom wrote: > On 10/23/2009 09:39 AM, Pauli Virtanen wrote: > > Fri, 23 Oct 2009 09:25:12 -0400, Michael Droettboom wrote: > > >

Re: [Numpy-discussion] numpydoc without autosummary

2009-10-23 Thread Michael Droettboom
On 10/23/2009 09:39 AM, Pauli Virtanen wrote: > Fri, 23 Oct 2009 09:25:12 -0400, Michael Droettboom wrote: > >> Is there a way to use numpydoc without putting an autosummary table at >> the head of each class? I'm using numpydoc primarily for the >> sectionized docstring support, but the autos

Re: [Numpy-discussion] numpy and C99

2009-10-23 Thread Gael Varoquaux
On Fri, Oct 23, 2009 at 09:47:58AM -0600, Charles R Harris wrote: >However, I think some code, say loops.c.src, looks better in C than it >would in cython. C is a rather nice language for that sort of thing. OTOH, >the ufunc_object.c code might look better in cython. In general, I think

Re: [Numpy-discussion] numpy and C99

2009-10-23 Thread Charles R Harris
On Fri, Oct 23, 2009 at 8:41 AM, Sturla Molden wrote: > Dag Sverre Seljebotn skrev: > > > > > Microsoft's compilers don't support C99 (or, at least, versions that > > still has to be used doesn't). > > > > > Except for automatic arrays, they do support some of the more important > parts of C99 as

Re: [Numpy-discussion] recommended way to run numpy on snow leopard

2009-10-23 Thread Gael Varoquaux
On Fri, Oct 23, 2009 at 09:46:47AM -0500, Ryan May wrote: > On Fri, Oct 23, 2009 at 4:02 AM, David Warde-Farley > wrote: > > On 21-Oct-09, at 11:01 AM, Ryan May wrote: > >> ~/.local was added to *be the standard* for easily installing python > >> packages in your user account.  And it works perf

Re: [Numpy-discussion] recommended way to run numpy on snow leopard

2009-10-23 Thread Ryan May
On Fri, Oct 23, 2009 at 4:02 AM, David Warde-Farley wrote: > On 21-Oct-09, at 11:01 AM, Ryan May wrote: > >> ~/.local was added to *be the standard* for easily installing python >> packages in your user account.  And it works perfectly on the other >> major OSes, no twiddling of paths anymore. > >

Re: [Numpy-discussion] numpy and C99

2009-10-23 Thread Sturla Molden
Dag Sverre Seljebotn skrev: > Microsoft's compilers don't support C99 (or, at least, versions that > still has to be used doesn't). > > Except for automatic arrays, they do support some of the more important parts of C99 as extensions to C89: inline functions restrict qualifier for (int i

Re: [Numpy-discussion] numpy and C99

2009-10-23 Thread Charles R Harris
On Fri, Oct 23, 2009 at 7:48 AM, Darren Dale wrote: > On Fri, Oct 23, 2009 at 9:29 AM, Pauli Virtanen > > > wrote: > > Fri, 23 Oct 2009 09:21:17 -0400, Darren Dale wrote: > >> Can we use features of C99 in numpy? For example, can we use "//" style > >> comments, and C99 for statements "for (int

Re: [Numpy-discussion] numpy and C99

2009-10-23 Thread David Cournapeau
On Fri, Oct 23, 2009 at 10:21 PM, Darren Dale wrote: > Can we use features of C99 in numpy? For example, can we use "//" > style comments, and C99 for statements "for (int i=0, ...) "? No, and most likely never will. Even Visual Studio 2010 does not handle basic C99. David __

Re: [Numpy-discussion] numpy and C99

2009-10-23 Thread Dag Sverre Seljebotn
Darren Dale wrote: > On Fri, Oct 23, 2009 at 9:29 AM, Pauli Virtanen wrote: > >> Fri, 23 Oct 2009 09:21:17 -0400, Darren Dale wrote: >> >>> Can we use features of C99 in numpy? For example, can we use "//" style >>> comments, and C99 for statements "for (int i=0, ...) "? >>> >> It w

Re: [Numpy-discussion] numpy and C99

2009-10-23 Thread Darren Dale
On Fri, Oct 23, 2009 at 9:29 AM, Pauli Virtanen wrote: > Fri, 23 Oct 2009 09:21:17 -0400, Darren Dale wrote: >> Can we use features of C99 in numpy? For example, can we use "//" style >> comments, and C99 for statements "for (int i=0, ...) "? > > It would be much easier if we could, but so far we

Re: [Numpy-discussion] numpydoc without autosummary

2009-10-23 Thread Pauli Virtanen
Fri, 23 Oct 2009 09:25:12 -0400, Michael Droettboom wrote: > Is there a way to use numpydoc without putting an autosummary table at > the head of each class? I'm using numpydoc primarily for the > sectionized docstring support, but the autosummaries are somewhat > overkill for my project. Ah, you

Re: [Numpy-discussion] numpydoc without autosummary

2009-10-23 Thread Pauli Virtanen
Fri, 23 Oct 2009 09:25:12 -0400, Michael Droettboom wrote: > Is there a way to use numpydoc without putting an autosummary table at > the head of each class? I'm using numpydoc primarily for the > sectionized docstring support, but the autosummaries are somewhat > overkill for my project. Numpydo

Re: [Numpy-discussion] numpy and C99

2009-10-23 Thread Pauli Virtanen
Fri, 23 Oct 2009 09:21:17 -0400, Darren Dale wrote: > Can we use features of C99 in numpy? For example, can we use "//" style > comments, and C99 for statements "for (int i=0, ...) "? It would be much easier if we could, but so far we have strived for C89 compliance. So I guess the answer is "no"

[Numpy-discussion] numpydoc without autosummary

2009-10-23 Thread Michael Droettboom
Is there a way to use numpydoc without putting an autosummary table at the head of each class? I'm using numpydoc primarily for the sectionized docstring support, but the autosummaries are somewhat overkill for my project. Mike ___ NumPy-Discussion m

[Numpy-discussion] numpy and C99

2009-10-23 Thread Darren Dale
Can we use features of C99 in numpy? For example, can we use "//" style comments, and C99 for statements "for (int i=0, ...) "? Darren ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] recommended way to run numpy on snow leopard

2009-10-23 Thread David Cournapeau
On Fri, Oct 23, 2009 at 6:02 PM, David Warde-Farley wrote: > > Packaging is still more pain than it should be on *any* platform, I > think, and I doubt we'll have it all sorted out until somewhere in the > mid-to-upper 3.x's. :( I think numpy and scipy on py3k will happen before that :) David _

Re: [Numpy-discussion] recommended way to run numpy on snow leopard

2009-10-23 Thread David Warde-Farley
On 21-Oct-09, at 6:58 AM, Robin wrote: > My only worry is with installer packages - I'm thinking mainly of > wxpython. Is there a way I can get that package to install in > $HOME/.local. (The installer only seems to let you choose a drive). > Also - if I build for example vim against the system py

Re: [Numpy-discussion] recommended way to run numpy on snow leopard

2009-10-23 Thread David Warde-Farley
On 21-Oct-09, at 11:01 AM, Ryan May wrote: > ~/.local was added to *be the standard* for easily installing python > packages in your user account. And it works perfectly on the other > major OSes, no twiddling of paths anymore. I've had a lot of headaches with ~/.local on Ubuntu, actually. App