#4408: magma interface -- change _magma_init_ to take non-optional magma 
argument
-------------------------+--------------------------------------------------
 Reporter:  was          |       Owner:  was     
     Type:  enhancement  |      Status:  new     
 Priority:  major        |   Milestone:  sage-3.2
Component:  interfaces   |    Keywords:          
-------------------------+--------------------------------------------------
 This patch touches a lot of files in a trivial automatic way.  They main
 point is it changes the _magma_init_ signature from

 _magma_init_(self)

 to

 _magma_init_(self, magma)

 where magma is a magma interface.  Also, it introduces some caching for
 the magma interface itself.  This means that _magma_init_ has access to
 and can impact the full state of the magma interpreter.   This makes
 creating a string representation of an element valid for that interpreter
 dramatically more powerful and flexible, is conceptually very easy to
 understand, and works.  The caching helps mediate potential efficiency
 issues.

 Note, whether caching should be on or off by default is unclear, and I
 think can only be answered by implementing a lot more of this framework
 and doing some profiling.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4408>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to