Re: [sage-devel] Re: Indexing of symbolic expressions

2012-11-10 Thread Jean-Pierre Flori
IIRC there was some work about this done (but not merged?). No time to search myself now, but searching trac and the pynac-devel list should give some hints, or contacting Burcin and or Florent Hivert. On Wednesday, November 7, 2012 8:25:24 AM UTC-6, Michael Orlitzky wrote: > > On 11/06/2012 10:5

[sage-devel] Re: achieving 90% coverage

2012-11-10 Thread kcrisman
On Saturday, November 10, 2012 7:36:43 PM UTC-5, Volker Braun wrote: > > I don't really care about whether the coverage is a percent more or less. > But if you want to have the nodoctest.py functionality then the marked > directories should not be counted. > > Incidentally, about the legacy cod

[sage-devel] Sage 5.3 sympy compile failure on Ubuntu 10.04

2012-11-10 Thread Kevin Horton
I'm trying to build sage 5.3 from source on Ubuntu 10.04. Sympy fails to compile: ... package init file 'sympy/solvers/tests/__init__.py' not found (or not a regular file) package init file 'sympy/statistics/tests/__init__.py' not found (or not a regular file) package init file 'sympy/tensor/t

[sage-devel] Re: achieving 90% coverage

2012-11-10 Thread Volker Braun
I don't really care about whether the coverage is a percent more or less. But if you want to have the nodoctest.py functionality then the marked directories should not be counted. Incidentally, about the legacy code for loading old notebooks: here is one lesson to be learned about long-term sup

Re: [sage-devel] pickling question

2012-11-10 Thread David Roe
No problem. Want to help me figure out what's wrong with interrupt.pyx in #12415? ;-) David On Sat, Nov 10, 2012 at 5:20 PM, John H Palmieri wrote: > Oh, right. Fixed now. Thanks. > > John > > > > On Saturday, November 10, 2012 4:09:25 PM UTC-8, David Roe wrote: > >> You don't define compari

Re: [sage-devel] pickling question

2012-11-10 Thread John H Palmieri
Oh, right. Fixed now. Thanks. John On Saturday, November 10, 2012 4:09:25 PM UTC-8, David Roe wrote: > > You don't define comparison, so it defaults to comparing id(self). > David > > > On Sat, Nov 10, 2012 at 1:18 PM, John H Palmieri > > > wrote: > >> I wrote what I think is a simple class

Re: [sage-devel] pickling question

2012-11-10 Thread David Roe
You don't define comparison, so it defaults to comparing id(self). David On Sat, Nov 10, 2012 at 1:18 PM, John H Palmieri wrote: > I wrote what I think is a simple class (see > http://trac.sagemath.org/sage_trac/ticket/13131), but it fails pickling > tests: > >sage: loads(dumps(T)) == T # f

Re: [sage-devel] Re: achieving 90% coverage

2012-11-10 Thread David Kirkby
On 10 November 2012 21:49, John H Palmieri wrote: > > > On Saturday, November 10, 2012 1:41:01 PM UTC-8, Nils Bruin wrote: >> >> On Nov 10, 1:35 pm, John H Palmieri wrote: >> >> > By the way, to clarify: this will only affect the 'server' directory. >> > which >> > consists of unused code (old no

[sage-devel] Re: achieving 90% coverage

2012-11-10 Thread John H Palmieri
On Saturday, November 10, 2012 1:41:01 PM UTC-8, Nils Bruin wrote: > > On Nov 10, 1:35 pm, John H Palmieri wrote: > > > By the way, to clarify: this will only affect the 'server' directory. > which > > consists of unused code (old notebook code, superseded by sagenb), since > > that's the on

[sage-devel] Re: achieving 90% coverage

2012-11-10 Thread Nils Bruin
On Nov 10, 1:35 pm, John H Palmieri wrote: > By the way, to clarify: this will only affect the 'server' directory. which > consists of unused code (old notebook code, superseded by sagenb), since > that's the only place there are files called 'nodoctest.py'. Do we have a good reason to carry aro

Re: [sage-devel] achieving 90% coverage

2012-11-10 Thread John H Palmieri
On Saturday, November 10, 2012 1:11:44 PM UTC-8, Dr. David Kirkby wrote: > > On 10 November 2012 20:22, John H Palmieri > > wrote: > > With sage-5.4.rc4, I see > > > > Overall weighted coverage score: 88.9% > > > > If we change the coverage script to ignore directories containing > > 'n

Re: [sage-devel] achieving 90% coverage

2012-11-10 Thread David Kirkby
On 10 November 2012 20:22, John H Palmieri wrote: > With sage-5.4.rc4, I see > > Overall weighted coverage score: 88.9% > > If we change the coverage script to ignore directories containing > 'nodoctest.py', then we get > > Overall weighted coverage score: 90.5% > > It's a simple patch, just

[sage-devel] achieving 90% coverage

2012-11-10 Thread John H Palmieri
With sage-5.4.rc4, I see Overall weighted coverage score: 88.9% If we change the coverage script to ignore directories containing 'nodoctest.py', then we get Overall weighted coverage score: 90.5% It's a simple patch, just adding two lines to sage-coverage. Should we apply it or is it c

[sage-devel] pickling question

2012-11-10 Thread John H Palmieri
I wrote what I think is a simple class (see http://trac.sagemath.org/sage_trac/ticket/13131), but it fails pickling tests: sage: loads(dumps(T)) == T # fails and sage: Testsuite(T).run() # fails _test_pickling Any suggestions on how to figure out why this is failing? -- John -- Yo

Re: [sage-devel] Re: Vector space sum very slow

2012-11-10 Thread Florent Hivert
On Fri, Nov 09, 2012 at 09:41:01AM -0800, Volker Braun wrote: > Thanks, looks good. > > Maybe one could factor out the Enumerated (=canonical enumeration) part? Or > is every parent with __iter__ supposed to be in EnumeratedSets and, > therefore, have a rank() methods etc? The element order is o

Re: [sage-devel] Re: Vector space sum very slow

2012-11-10 Thread Florent Hivert
On Fri, Nov 09, 2012 at 09:53:49AM -0800, John H Palmieri wrote: > > > On Friday, November 9, 2012 4:42:42 AM UTC-8, Nicolas M. Thiéry wrote: > > > > More precisely: QQ^3 should be in the category of finite dimensional > > modules with basis, and a finite dimensional module with basis over an