[sage-devel] Re: doc testing

2013-08-01 Thread John H Palmieri
On Thursday, August 1, 2013 5:49:06 PM UTC-7, davidp wrote: > > I have a file called hyperplane_arrangement.py in my home directory, and > when I run > > sage -t hyperplane_arrangement.py > > from my home directory, all tests pass. The same file appears in the > directory SAGEHOME/devel/sage-te

Re: [sage-devel] doc testing

2013-08-01 Thread William Stein
On Thu, Aug 1, 2013 at 5:49 PM, davidp wrote: > I have a file called hyperplane_arrangement.py in my home directory, and > when I run > > sage -t hyperplane_arrangement.py > Here, probably the full sage library is imported first, e.g., "from sage.all import *". > from my home directory, all test

[sage-devel] doc testing

2013-08-01 Thread davidp
I have a file called hyperplane_arrangement.py in my home directory, and when I run sage -t hyperplane_arrangement.py from my home directory, all tests pass. The same file appears in the directory SAGEHOME/devel/sage-test/sage/geometry. If I cd into that directory and run sage -t hyperplane

Re: [sage-devel] need help making a patch

2013-08-01 Thread davidp
Thanks! That works. I have now posted the correct patch to trac. On Thursday, August 1, 2013 2:13:47 PM UTC-7, kcrisman wrote: > > > > On Thursday, August 1, 2013 4:55:07 PM UTC-4, William wrote: >> >> On Thu, Aug 1, 2013 at 1:40 PM, davidp wrote: >> > I am trying to post a patch to trac. I h

Re: [sage-devel] need help making a patch

2013-08-01 Thread kcrisman
On Thursday, August 1, 2013 4:55:07 PM UTC-4, William wrote: > > On Thu, Aug 1, 2013 at 1:40 PM, davidp > > wrote: > > I am trying to post a patch to trac. I have modified one file > > (sage/geometry/all.py) and added a new file > > (sage/geometry/hyperplane_arrangement.py). I have followed

Re: [sage-devel] need help making a patch

2013-08-01 Thread William Stein
On Thu, Aug 1, 2013 at 1:40 PM, davidp wrote: > I am trying to post a patch to trac. I have modified one file > (sage/geometry/all.py) and added a new file > (sage/geometry/hyperplane_arrangement.py). I have followed the directions > at http://sagemath.org/doc/developer/walk_through.html#creatin

[sage-devel] need help making a patch

2013-08-01 Thread davidp
I am trying to post a patch to trac. I have modified one file (sage/geometry/all.py) and added a new file (sage/geometry/hyperplane_arrangement.py). I have followed the directions at http://sagemath.org/doc/developer/walk_through.html#creating-a-sandbox carefully. When I get to the part where

[sage-devel] Re: should bool(x > 0) be False or an exception?

2013-08-01 Thread Eviatar
Maxima does have an unknown answer for comparisons. I'm in favour of the exception. On Wednesday, 9 April 2008 19:18:48 UTC-7, Carl Witty wrote: > > I'd like to reopen discussion of #2781, "bool() for SymbolicEquation > should raise an error when it doesn't know the answer". Jason created > a

[sage-devel] Re: Trying to build 5.11.beta3 using cygwin64

2013-08-01 Thread Jean-Pierre Flori
As far as MPIR is concerned I've put a (dirty) spkg at http://boxen.math.washington.edu/home/jpflori/spkg/mpir-2.6.0.p3.spkg which should work both on Cygwin 32 and 64 (and MinGW with a little help when configuring Yasm). -- You received this message because you are subscribed to the Google G

Re: [sage-devel] Re: should bool(x > 0) be False or an exception?

2013-08-01 Thread Jesus Torrado
+1 to the exception. With respect to "pythonism", I would say that this is more pythonic than creating a 3-state boolean type. And I would like to raise attention this current, related sage-support discussion: https://groups.google.com/forum/#!topic/sage-support/JOA8JqgXJQA -- You received th

[sage-devel] Re: Trying to build 5.11.beta3 using cygwin64

2013-08-01 Thread Jean-Pierre Flori
On Thursday, August 1, 2013 10:16:45 AM UTC+2, Travis Scrimshaw wrote: > > Also I just tried using the 5.9 source on cygwin32 and got the same error > when building python. Sorry I'm posting more questions and no solutions and > thank you for the help. > > Good, that's what I first suggested.

[sage-devel] Re: Trying to build 5.11.beta3 using cygwin64

2013-08-01 Thread Travis Scrimshaw
Also I just tried using the 5.9 source on cygwin32 and got the same error when building python. Sorry I'm posting more questions and no solutions and thank you for the help. Thanks, Travis On Thursday, August 1, 2013 4:44:46 PM UTC+9, Jean-Pierre Flori wrote: > > > > On Thursday, August 1, 201

[sage-devel] Re: Benchmark in Sage

2013-08-01 Thread Harald Schilly
Hi, it's better to use timeit, or in a sage cell, e.g. "%timeit function(arg)" The question you were asking deals more specifically what the computer is doing between start and end of the invocation. "wall time" is like an absolute clock on the wall, "sys time" the amount of computation the sys

[sage-devel] Re: Trying to build 5.11.beta3 using cygwin64

2013-08-01 Thread Jean-Pierre Flori
On Thursday, August 1, 2013 4:20:00 AM UTC+2, Travis Scrimshaw wrote: > > Hey Jean-Pierre, >I have been trying to do it on Cygwin32 and with zlib-1.2.6.p0 (I had > to make my own from zlib-1.2.6 since the link on the trac ticket is no > longer there) and now python-2.7.5.p1 fails to build (