On May 14, 9:46 am, Craig Citro <craigci...@gmail.com> wrote:
<SNIP>
> > I don't think they would rename "sum" to please us!
>
> And I really really don't think they should. After all, the issue is
> that python and pari both use the same name for something -- we might
> as well be asking python to rename their sum function. (I don't think
> Guido would go for it. :P) I think it's actually our fault for letting
> one name accidentally override the other, not their fault for both
> using the only natural name for that function.
Well, sum() in python is not a library function, while it is in pari.
Who knows how many potential name collisions exist in Sage and it just
depends on pure luck what the linker does. I.e. the recent problem
with 64 bit OSX libSingular as well as the symmertrica issue here on
Solaris only were all caused by linker problem. The one on Solaris
even with the GNU ld linker.
In the end I don't expect that anything will change, but if anyone
writes a library $FOO and not use
$FOO_sum
as prefix is asking for long term trouble. Note that the Symmetrica
author declared *every* function as *extern* in one global header to
avoid having to deal with more than one header. Pathetic to say the
least ....
> -cc
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---