#4653: Merge sage-words code into Sage
---------------------------+------------------------------------------------
 Reporter:  saliola        |        Owner:  saliola   
     Type:  enhancement    |       Status:  assigned  
 Priority:  major          |    Milestone:  sage-3.2.2
Component:  combinatorics  |   Resolution:            
 Keywords:  sage-combinat  |  
---------------------------+------------------------------------------------
Comment (by saliola):

 Hello Michael,

 Replying to [comment:4 mabshoff]:
 > one issue that might be worth considering now before merging is "name
 space pollution", i.e. there was some discussion at SD 11 that it would be
 better to have most of the functionality of certain packages like
 quadratic forms not in the global namespace. I am not sure what the
 situation with words is (sorry, no time to apply the patch and play :)),
 but it would be nice if most of the functionality would be in
 > {{{
 > words.$FOO
 > }}}
 The all.py file imports only a few things into the global namespace:
 {{{
 Alphabet
 Word
 WordMorphism
 WordOptions
 Words
 words
 }}}
 Should we merge them all into the new "words" class? I assume then that a
 user should be able to do something like the following to load all the
 commands into the global namespace easily:
 {{{
 from words import *
 }}}
 or
 {{{
 LoadPackage(words)
 }}}
 Is there a standard way of doing this? I.e. a standard way of naming the
 class that gets imported as words, a standard way of naming the file that
 contains this class, etc. I think it would be nice if these are decided
 upon soon because it would make finding them in the source code easy.

 Franco

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4653#comment:5>
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