[sage-combinat-devel] Sage try to start MuPad

2010-07-26 Thread Vincent Delecroix
Hello, I made an error while correcting the series file (relative to the patch that appeared at the end of the file). My first attempt was to correct it but while starting Sage I get RuntimeError: Unable to start MuPAD because the command 'mupkern -P e -U SAGE=TRUE' failed. In order to use the

[sage-combinat-devel] Re: Sage try to start MuPad

2010-07-26 Thread Vincent Delecroix
Hello, I made an error while correcting the series file (relative to the patch that appeared at the end of the file). My first attempt was to correct it but while starting Sage I get I decided to disabling mupad-interface which seems to resolve the problem. -- You received this message

Re: [sage-combinat-devel] Python, Sage, categories

2010-07-26 Thread Nicolas M. Thiery
On Fri, Jul 23, 2010 at 01:05:00PM -0700, William Stein wrote: During the last few weeks I've spent time optimizing code, among other things. Great! A surprising number of random things I look at in Sage are too slow by a factor of 10-100, usually due to programming style. One way to help

Re: [sage-combinat-devel] Python, Sage, categories

2010-07-26 Thread William Stein
On Mon, Jul 26, 2010 at 11:31 AM, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote: On Fri, Jul 23, 2010 at 01:05:00PM -0700, William Stein wrote: During the last few weeks I've spent time optimizing code, among other things. Great! A surprising number of random things I look at in Sage are

Re: [sage-combinat-devel] Python, Sage, categories

2010-07-26 Thread Carl Witty
On Mon, Jul 26, 2010 at 11:53 AM, William Stein wst...@gmail.com wrote: Ironically, extension types are far less affected, if at all: Without:    sage: timeit('ZZ._list',number=10^6)    sage: timeit('ZZ.gens',number=10^6)    sage: timeit('ZZ.an_element',number=10^6)    100 loops, best

Re: [sage-combinat-devel] Python, Sage, categories

2010-07-26 Thread Nicolas M. Thiery
William, grumpy o' pa There is a strong technical issue that needs to be resolved, and for which I explicitly take the blame. And I understand your frustration when fighting with zillions of technical points. However I perceived your e-mail as unfairly bashing the sage-combinat

Re: [sage-combinat-devel] Re: Sage try to start MuPad

2010-07-26 Thread Nicolas M. Thiery
On Mon, Jul 26, 2010 at 03:04:22PM +0200, Vincent Delecroix wrote: I made an error while correcting the series file (relative to the patch that appeared at the end of the file). My first attempt was to correct it but while starting Sage I get I decided to disabling mupad-interface which

Re: [sage-combinat-devel] Python, Sage, categories

2010-07-26 Thread William Stein
On Mon, Jul 26, 2010 at 3:36 PM, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote:        William, grumpy o' pa  There is a strong technical issue that needs to be resolved, and for  which I explicitly take the blame. And I understand your frustration  when fighting with zillions of

Re: [sage-combinat-devel] Python, Sage, categories

2010-07-26 Thread Carl Witty
On Mon, Jul 26, 2010 at 3:36 PM, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote: I just had a look at the Python sources (in Object/typeobject.c), and it's all about the difference between slot_tp_getattro and slot_tp_getattr_hook, the later being a bit more complicated than the former. I