On Sat, Aug 18, 2007 at 01:51:50AM -0600, Travis Oliphant wrote:
> > Not any more! See the revised PEP 007,
> > http://www.python.org/dev/peps/pep-0007/
> >
> > In Python 3000 (and in the 2.x series, in new source files),
> > we'll switch to a different indentation style: 4 spaces per i
On Sat, Aug 18, 2007 at 01:51:50AM -0600, Travis Oliphant wrote:
> I'm fine with this. Some information on how to make sure emacs (and
> other editors) does this would be helpful.
Under vim, put in your .vimrc:
autocmd FileType python set autoindent tabstop=4 shiftwidth=4 smarttab expandtab
Ga
> Not any more! See the revised PEP 007,
> http://www.python.org/dev/peps/pep-0007/
>
> In Python 3000 (and in the 2.x series, in new source files),
> we'll switch to a different indentation style: 4 spaces per indent,
> all spaces (no tabs in any file). The rest will remain the s
David M. Cooke wrote:
> On Thu, Aug 16, 2007 at 04:39:02PM -1000, Eric Firing wrote:
>> As far as I can see there is no way of using svn diff to deal with
>> this automatically, so in the attached revision I have manually removed
>> chunks resulting solely from whitespace.
>>
>> Is there a better
David M. Cooke wrote:
On Thu, Aug 16, 2007 at 04:39:02PM -1000, Eric Firing wrote:
As far as I can see there is no way of using svn diff to deal with
this automatically, so in the attached revision I have manually removed
chunks resulting solely from whitespace.
Is there a better way to handl
On Thu, Aug 16, 2007 at 04:39:02PM -1000, Eric Firing wrote:
> As far as I can see there is no way of using svn diff to deal with
> this automatically, so in the attached revision I have manually removed
> chunks resulting solely from whitespace.
>
> Is there a better way to handle this problem?
David Cournapeau wrote:
On 8/17/07, Eric Firing <[EMAIL PROTECTED]> wrote:
In looking at maskedarray performance, I found that the filled()
function or method is a bottleneck. I think it can be sped up by using
putmask instead of indexed assignment, but I found that putmask itself
is slower tha
On 8/17/07, Eric Firing <[EMAIL PROTECTED]> wrote:
> In looking at maskedarray performance, I found that the filled()
> function or method is a bottleneck. I think it can be sped up by using
> putmask instead of indexed assignment, but I found that putmask itself
> is slower than it needs to be.
In looking at maskedarray performance, I found that the filled()
function or method is a bottleneck. I think it can be sped up by using
putmask instead of indexed assignment, but I found that putmask itself
is slower than it needs to be. So I followed David Cournapeau's example
of fastclip an