[sage-devel] Re: sage lite

2008-04-03 Thread Ondrej Certik
Hi, On Tue, Apr 1, 2008 at 7:21 PM, Gary Furnish <[EMAIL PROTECTED]> wrote: > Maybe. I see two real issues. > 1) Sage right now has really bad global namespace pollution issues that make > it very hard to import just one or two files. I don't see why this > shouldn't be fixable, it just needs s

[sage-devel] Re: sage lite

2008-04-01 Thread Gary Furnish
I think it is entirely possible that fixing import problems may have to come at the expense of ease of use. I don't see rings.basic helping much. I envision grand discussions about what constitutes a basic ring and what should and should not be included. What happens if we still have issues afte

[sage-devel] Re: sage lite

2008-04-01 Thread Robert Bradshaw
On Apr 1, 2008, at 2:08 PM, Gary Furnish wrote: > Why not use import sage.rings.integer_ring as module_integer_ring. > If the location changes, just change what it is imported as. I think the point is that re-arranging the rings directory should have minimal impact outside of it. This is one

[sage-devel] Re: sage lite

2008-04-01 Thread Gary Furnish
Why not use import sage.rings.integer_ring as module_integer_ring. If the location changes, just change what it is imported as. On Tue, Apr 1, 2008 at 3:01 PM, Robert Bradshaw < [EMAIL PROTECTED]> wrote: > > On Apr 1, 2008, at 1:50 PM, William Stein wrote: > > > > On Tue, Apr 1, 2008 at 1:36 PM,

[sage-devel] Re: sage lite

2008-04-01 Thread Robert Bradshaw
On Apr 1, 2008, at 1:50 PM, William Stein wrote: > > On Tue, Apr 1, 2008 at 1:36 PM, Robert Bradshaw > <[EMAIL PROTECTED]> wrote: >> >> On Apr 1, 2008, at 1:23 PM, Gary Furnish wrote: >>> Wierd circular import issues can (should) be solved with circular >>> cdef imports. I think the easiest fix

[sage-devel] Re: sage lite

2008-04-01 Thread William Stein
On Tue, Apr 1, 2008 at 1:36 PM, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > > On Apr 1, 2008, at 1:23 PM, Gary Furnish wrote: > > Wierd circular import issues can (should) be solved with circular > > cdef imports. I think the easiest fix to crazy deps (group theory > > on calculus) might be

[sage-devel] Re: sage lite

2008-04-01 Thread Robert Bradshaw
On Apr 1, 2008, at 1:23 PM, Gary Furnish wrote: > Wierd circular import issues can (should) be solved with circular > cdef imports. I think the easiest fix to crazy deps (group theory > on calculus) might be to do something alone the lines of > foo = None > def importcrazydeps(): > global

[sage-devel] Re: sage lite

2008-04-01 Thread Gary Furnish
Wierd circular import issues can (should) be solved with circular cdef imports. I think the easiest fix to crazy deps (group theory on calculus) might be to do something alone the lines of foo = None def importcrazydeps(): import sage.foo as localfoo foo = localfoo Then have sage.x.package

[sage-devel] Re: sage lite

2008-04-01 Thread Carl Witty
On Apr 1, 11:23 am, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > On Apr 1, 2008, at 10:45 AM, Nick Alexander wrote: > > > On 1-Apr-08, at 10:36 AM, Gary Furnish wrote: > > >> Right now pulling in group theory may end up pulling in calculus. > >> There are similar issues all over with really tight

[sage-devel] Re: sage lite

2008-04-01 Thread Robert Bradshaw
On Apr 1, 2008, at 10:45 AM, Nick Alexander wrote: > On 1-Apr-08, at 10:36 AM, Gary Furnish wrote: > >> Right now pulling in group theory may end up pulling in calculus. >> There are similar issues all over with really tight coupling >> between subsystems. It ought to be possible to use group th

[sage-devel] Re: sage lite

2008-04-01 Thread mabshoff
On Apr 1, 7:21 pm, "Gary Furnish" <[EMAIL PROTECTED]> wrote: > 2) Every cython file compiles to an separate dll, dramatically increasing > used space.  This would require a change to cython to fix, but ought to be > doable.  Maybe space is not as big of an issue as ease of use though. Are you s

[sage-devel] Re: sage lite

2008-04-01 Thread Nick Alexander
On 1-Apr-08, at 10:36 AM, Gary Furnish wrote: > Right now pulling in group theory may end up pulling in calculus. > There are similar issues all over with really tight coupling > between subsystems. It ought to be possible to use group theory > (maybe without a feature or two) without ca

[sage-devel] Re: sage lite

2008-04-01 Thread Gary Furnish
Right now pulling in group theory may end up pulling in calculus. There are similar issues all over with really tight coupling between subsystems. It ought to be possible to use group theory (maybe without a feature or two) without calculus and vice versa. On Tue, Apr 1, 2008 at 11:33 AM, Nick A

[sage-devel] Re: sage lite

2008-04-01 Thread Nick Alexander
On 1-Apr-08, at 10:21 AM, Gary Furnish wrote: > Maybe. I see two real issues. > 1) Sage right now has really bad global namespace pollution issues > that make it very hard to import just one or two files. I don't > see why this shouldn't be fixable, it just needs someone to work on > it.

[sage-devel] Re: sage lite

2008-04-01 Thread William Stein
On Tue, Apr 1, 2008 at 9:30 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > > Hi, > > Sage motivation is to create a viable alternative to Ma*. > > There are also people, who don't need an alternative to Ma*, but > rather a good library, read for example this email from Gael: > > http://groups

[sage-devel] Re: sage lite

2008-04-01 Thread Gary Furnish
Maybe. I see two real issues. 1) Sage right now has really bad global namespace pollution issues that make it very hard to import just one or two files. I don't see why this shouldn't be fixable, it just needs someone to work on it. This would not be that hard, and would probably catch some subt