[sage-devel] Re: importing non-sage modules in doctests

2008-08-30 Thread David Ketcheson
Sounds good. However, I don't think that modifying sage-env, as the trac ticket suggests, will fix things for the issue I'm discussing here. I changed the appropriate line of sage-env to PYTHONPATH="$SAGE_PATH:$SAGE_ROOT/local/lib/python:$SAGE_PYTHONPATH" && export PYTHONPATH which works, mean

[sage-devel] Re: importing non-sage modules in doctests

2008-08-30 Thread mabshoff
On Aug 30, 8:51 pm, David Ketcheson <[EMAIL PROTECTED]> wrote: > Apparently the problem here (what I should have thought of first) is > that the directory containing foo.py is not in my sage python path. > The surprising (to me) part, and the reason I didn't think of it, is > that this breaks th

[sage-devel] Re: importing non-sage modules in doctests

2008-08-30 Thread David Ketcheson
Apparently the problem here (what I should have thought of first) is that the directory containing foo.py is not in my sage python path. The surprising (to me) part, and the reason I didn't think of it, is that this breaks things even if the file I'm testing is foo.py and I try 'from foo import *

[sage-devel] Re: colours in trac

2008-08-30 Thread mabshoff
Hi Chris, Mike Hansen and I changed the green to blue in the diff view for patches. Could you let us know if this is better for you? Cheers, Michael --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this gr

[sage-devel] Re: importing non-sage modules in doctests

2008-08-30 Thread David Ketcheson
Sorry for not being clear. myfoo.py is the file with the docstring examples I want to test. foo.py is the file with the modules I need to import. Let me add that sometimes they're the same file, and it doesn't work in that case either. On Aug 30, 8:08 pm, Robert Bradshaw <[EMAIL PROTECTED]> wr

[sage-devel] Re: Symbolic/Numeric interface thoughts

2008-08-30 Thread Tim Lahey
On Aug 30, 2008, at 10:41 PM, Jason Merrill wrote: * Please don't make me state the problem in terms of first order equations only. Turning this second order equation into a coupled set of first order equations is a simple (but boring) algebraic manipulation, and Sage should be able to do it.

[sage-devel] Re: importing non-sage modules in doctests

2008-08-30 Thread Robert Bradshaw
On Aug 30, 2008, at 3:33 PM, David Ketcheson wrote: > > I'm developing a package and trying to use sage -t to automatically > test examples I've put in the docstrings. On the documentation page > at http://www.sagemath.org/doc/prog/node29.html it says I can do > something like > > """ > EXAM

[sage-devel] Symbolic/Numeric interface thoughts

2008-08-30 Thread Jason Merrill
Where there is a choice, Sage should feel like traditional mathematics when posing mathematical problems, rather than a traditional programming language. The following interface ideas follow from that principle. Could this be a starting point for an SEP? Mathematicians are expected to be able t

[sage-devel] #4006: Remove unused code in sage/libs/pari/functional.py

2008-08-30 Thread mabshoff
Hi, while looking for code to doctest Mike Hansen came across sage/libs/ pari/functional.py It is a file with 191 one line functions that attempt to do things like the following: def FOO(x): return pari(x).FOO() There is no user of the code, the only file that imports it is bg.py which is an

[sage-devel] importing non-sage modules in doctests

2008-08-30 Thread David Ketcheson
I'm developing a package and trying to use sage -t to automatically test examples I've put in the docstrings. On the documentation page at http://www.sagemath.org/doc/prog/node29.html it says I can do something like """ EXAMPLES: sage: from foo import * """ where foo is not part of

[sage-devel] Re: Sage 3.1.2.alpha2 released

2008-08-30 Thread Jaap Spies
Nick Alexander wrote: > > On 30-Aug-08, at 8:09 AM, mabshoff wrote: > >> >> >> On Aug 30, 2:36 am, Jaap Spies <[EMAIL PROTECTED]> wrote: >>> mabshoff wrote: >> >> >> Hi Jaap, >> >>> Where have I seen this before? >> the same issue hit your box before and we ended up filtering some non- >> ascii

[sage-devel] Re: Creating large polynomials

2008-08-30 Thread John Cremona
2008/8/30 Martin Albrecht <[EMAIL PROTECTED]>: > > On Monday 11 August 2008, Bill Hart wrote: >> BTW, the result of this is that FLINT is probably incredibly >> inefficient as it is being used in SAGE at present. It'll be nice to >> get this fixed, as it may speed quite a few things up. >> >> Bill

[sage-devel] Re: Sage 3.1.2.alpha2 released

2008-08-30 Thread Nick Alexander
On 30-Aug-08, at 8:09 AM, mabshoff wrote: > > > > On Aug 30, 2:36 am, Jaap Spies <[EMAIL PROTECTED]> wrote: >> mabshoff wrote: > > > > Hi Jaap, > >> Where have I seen this before? > > the same issue hit your box before and we ended up filtering some non- > ascii characters out of the stream. I

[sage-devel] Re: Sage 3.1.2.alpha2 released

2008-08-30 Thread mabshoff
On Aug 30, 2:36 am, Jaap Spies <[EMAIL PROTECTED]> wrote: > mabshoff wrote: Hi Jaap, > Where have I seen this before? the same issue hit your box before and we ended up filtering some non- ascii characters out of the stream. I will dig for the ticket and see what is turning up. > Jaap Che

[sage-devel] Re: Sage 3.1.2.alpha2 released

2008-08-30 Thread mhampton
I had 3 failures on OS X 10.5: sage -t devel/sage/sage/interfaces/octave.py sage -t devel/sage/sage/interfaces/sage0.py sage -t devel/sage/sage/matrix/matrix_mod2_dense.pyx I guess the octave one is now fixed and the matrix_mod2_dense.pyx is being worked on. sage0.py

[sage-devel] Re: Creating large polynomials

2008-08-30 Thread Martin Albrecht
On Monday 11 August 2008, Bill Hart wrote: > BTW, the result of this is that FLINT is probably incredibly > inefficient as it is being used in SAGE at present. It'll be nice to > get this fixed, as it may speed quite a few things up. > > Bill. A patch is up at: http://trac.sagemath.org/sage_t

[sage-devel] Re: virtual box

2008-08-30 Thread ahmet alper parker
Also there are some more open source virtualization projects like Qemu http://bellard.org/qemu/ Bochs http://bochs.sourceforge.net/ which are used for virtual machine versions of Reactos... Can they also be good alternatives for Vmware? Regards AAP On Sat, Aug 30, 2008 at 1:26 AM, mabshoff <[EMAI

[sage-devel] Re: Additive Groups

2008-08-30 Thread Robert Bradshaw
On Aug 29, 2008, at 5:07 AM, Robert Bradshaw wrote: > On Aug 29, 2008, at 5:01 AM, John Cremona wrote: > >> The trouble was that I wanted common code for both additive and >> multiplicative groups, which I can -- almost-- implement. Your way, >> we have one type of element derived from some Mult

[sage-devel] trivial typos in tut.tex

2008-08-30 Thread Minh Nguyen
--- a/sage-3.1.1/devel/doc-main/tut/tut.tex 2008-08-30 20:52:45.0 +1000 +++ b/sage-3.1.1/devel/doc-main/tut/tut.tex 2008-08-30 20:46:40.0 +1000 @@ -183,14 +183,14 @@ \end{itemize}%two are needed for some weird reason -\section{Longterm Goals for \SAGE} +\section{Long-T

[sage-devel] Re: About my presentation in France

2008-08-30 Thread John Cremona
Would you like me to give my talk in French? I think it is 10 years since I last lectured in French, but it has the advantage of stopping me speaking too fast... John 2008/8/30 Martin Albrecht <[EMAIL PROTECTED]>: > > On Saturday 30 August 2008, John Cremona wrote: >> Perhaps the issue of docum

[sage-devel] Re: About my presentation in France

2008-08-30 Thread Martin Albrecht
On Saturday 30 August 2008, John Cremona wrote: > Perhaps the issue of documentation in French would be a suitable topic > for the Sage Days in Nancy in October? Will we have French lessons for the non-french speaking part of the audience :-) It sounds like a good idea to kick things off. Then

[sage-devel] Re: About my presentation in France

2008-08-30 Thread John Cremona
Perhaps the issue of documentation in French would be a suitable topic for the Sage Days in Nancy in October? John 2008/8/30 Philippe Saade <[EMAIL PROTECTED]>: > > Hi again, > > to sum up the two days i spent at the Maths' Teachers' Summer School, > i must say that my presentation of Sage produ

[sage-devel] Re: Sage 3.1.2.alpha2 released

2008-08-30 Thread Jaap Spies
mabshoff wrote: > Hello folks, > > here is alpha2. We fixed another boatload of small and not so small > issues. The performance regression with plotting is fixed, but there > are still doctesting issues with the ghmm code. We will tackle that in > alpha3 which hopefully will be done before Doc D

[sage-devel] Re: Sage on french TV

2008-08-30 Thread [EMAIL PROTECTED]
> > Mplayer plug-in didn't like it but copying the url and feeding it to mplayer > on the command line worked fine: > mms://a988.v101995.c10199.e.vm.akamaistream.net/7/988/10199/3f97c7e6/ftvigrp.download.akamai.com/10199/horsgv/regions/raa/HD_1900_clermont_jtregional_290808.wmv Confirmed. Inte